@charset "utf-8";

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

:target {
  scroll-margin-top: 50px;
}

body {
  font-family: Rufina;
  color: #706e6b;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  background-color: #F2B1B6;
}

ul {
  list-style: none;
}

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

a:hover {
  opacity: 0.6;
}

.w-container {
  width: min(90%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー */
.header {
  height: 80px;
}

.header-container img {
  display: block;
  width: clamp(30px, 7.81vw, 60px);
  height: auto;
}


.header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 2em;
  font-size: 16px;
}


/* ここからナビボタン */
.navbtn {
  height: 100%;
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #FEF7E2;
  font-size: 30px;
}

.open .navbtn {
  z-index: 110;
  color: #FEF7E2;
}

.navbtn .fa-bars {
  display: revert;
}

.open .navbtn .fa-bars {
  display: none;
}

.navbtn .fa-xmark {
  display: none;
}

.open .navbtn .fa-xmark {
  display: revert;
}


@media (min-width: 768px) {
  .navbtn {
    display: none;
  }
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 767.9px) {
  .header-site-menu {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 100;
    background-color: #a57b5b;
    transition: transform 0.3s;
  }

  .open .header-site-menu {
    display: block;
  }

  .open .nav {
    transform: translate(-100%, 0);
  }

  .open body {
    position: fixed;
    overflow: hidden;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    color: #FEF7E2;
  }
}

.nav ul {
  display: flex;
  margin-left: 20px;
  margin-right: 20px;
  gap: 32px;
}


/* ラインタグ */
.title h1 {  
  border-top: solid 1px;
  border-bottom: solid 1px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.contact {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
}

.form-area {
  background-color: #f8f8f8;
  border: 1px solid #aaaaaa;
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.select-box {
  width: 200px;
  height: 40px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.confirm-text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
}

.submit-button {
  background-color: #79a3c3;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  border: none;
  margin-bottom: 40px;
}

.submit-button:hover {
  background-color: #8eb4d5;
}

.footer {
  margin-top: 100px;
}



@media (max-width: 768px) {
  .contact {
    width: 500px;
    margin-top: 45px;
  }

  .form-area dt,
  .form-area dd {
    width: 100%;
  }

  .form-area dt {
    padding-bottom: 0;
  }

  .submit-button {
    width: 100%;
  }
}