@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  background: url(../img/background_img.png) no-repeat center center;
  background-attachment: fixed;
}

img {
  max-width: 100%;
}

nav a,
h1,
h2,
label,
option,
button,
small
{
  font-family: "Kaisei Opti", serif;
  font-weight: 700;
  font-style: normal;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px auto;
}

.header_logo img {
  max-width: 250px;
}

header nav ul {
  display: flex;
  padding: 15px;

}

nav a {
  justify-content: center;
  font-size: 1em;
  padding: 15px;
}

header nav ul li:hover {
  color: #d8b500;
}

header,
footer {
  color: #fff;
  background-color: #000;
}


/* メインここから */

h1 {
  font-size: 48px;
  color: #fff;
  text-shadow: 2px 2px 10px #ff3730, -2px 2px 10px #ff3730, 2px -2px 10px #ff3730, -2px -2px 10px #ff3730;;
  text-align: center;
}

form {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  width: 90%;
  max-width: 400px;
  margin: 220px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
  font-weight: bold;
}

label span {
  display: block;
  color: #fff;
  background-color: #ed462f;
  padding: 4px 10px;
  font-size: 12px;
  margin-left: 10px;
  border-radius: 10px;

}

input, textarea,select {
  width: 100%; 
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}


textarea {
  resize: vertical;
  height: 120px;
}

button {
  background-color: #f1d100;
  color: #000;
  border: none;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}


button:hover {
  background-color: #d8b500;
}


/* フッター */
footer {
  padding: 50px auto;
  font-size: 20px;
  width: 100%;
}
.footer-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

footer img {
  max-width: 250px;
}

.footer_logo {
  width: 100px;
  margin-top: 20px;
}

.footer_nav {
  margin-top: 20px;
}

footer a {
margin: 10px auto;
}

footer nav ul li:hover {
  color: #d8b500;
}

.copy {
  text-align: center;
  padding-top: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* 開いたときのアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

#nav-menu {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  body {
    background-size: auto;
  }
  
  main {
    margin-top: 100px;
  }

  .header_area {
    position: relative;
  }

  .header_area nav {
    padding: 20px;
    max-height: 130px;
  }

  .header_logo img  {
    width: 150px;
  }

  header nav a {
    display: block;
    justify-content: center;
    font-size: 24px;
  }

  #nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 auto;
  }

  #nav-menu.active {
    display: block;
    text-align: center;
  }

  .hamburger {
    display: flex;
    cursor: pointer;
  }

  form {
    width: 90%;
    padding: 15px;
    margin-top: 60px;
    margin-bottom: 60px;
  }

  h1 {
    font-size: 36px;
    margin-top: 20px;
  }

  .contact {
    width: 90%;
    margin: 0 auto;                    
  }
  
select {
  font-size: 30px;
}

.footer-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.footer_logo {
  width: 100px;
  margin-top: 20px;
}

.footer_nav {
  margin-top: 20px;
}

footer a {
  font-size: 16px;
  }
    
}