@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", "Noto Sans JP", "游ゴシック体", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.1em;
  width: 100%;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

p {
  line-height: 2.5em;
}

h4 {
  color: #00479d;
  font-size: 24px;
  margin: 0;
}

h5 {
  font-size: 16px;
  margin: 0;
  font-size: 20px;
}

h6 {
  font-weight: normal;
  color: #00479d;
  margin: 0;
  font-size: 16px;
}

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

button {
  margin: 32px;
}


/* グローバルナビゲーション */

.navigation {
  display: flex;
  position: sticky;
  align-items: center;
  height: 80px;
  top: 0;
  background-color: white;
  z-index: 3;
  justify-content: space-between;
}

.navigation .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;

}

.navigation .logo img {
  height: auto;
  /* width:fit-content;
  min-width: 121px; */
  max-width: 100%;
  object-fit: cover;
  margin-left: 8%;
}

nav ul {
  display: flex;
  /* background-color: rgb(92, 226, 43); */
  margin-left: auto;
  margin-right: 0;
  list-style: none;
  padding-left: 0;
}

nav li {
  padding: 0 32px;
  cursor: pointer;
  color: black;
  font-size: 14px;
  /* background-color: blueviolet; */
}

/*スマホナビメニュー */
.sp-menu {
  display: none;
}

.sp-menu #open {
  font-size: 32px;
  line-height: 64px;
  cursor: pointer;
}

.sp-menu #open.hide {
  display: none;
}

.sp-menu img {
  width: 30px;
  height: auto;
}

/*スマホナビメニューオーバーレイ */

/*スマホナビメニューオーバーレイ */
.overlay {
  /* display: none; */
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .10s;

}

.overlay .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;
  position: absolute;
  top: 24px;
  left: 9px;
  height: auto;
  cursor: pointer;
}

.overlay .logo img {
  height: auto;
  object-fit: cover;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.overlay ul {
  text-align: center;
  list-style-type: none;
  margin: 0;
  margin-top: 80px;
  padding: 0;
  display: inline-block;
  height: 100%;
  width: 100%;
}

.overlay li {
  text-align: center;
  margin: 0;
  padding: 0;
  opacity: 0;
  font-size: 20px;
  transition: opacity .5s, transform .5s;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  border-bottom: 0.75px solid;
}


.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}

.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}

.overlay.show li:nth-child(5) {
  transition-delay: .5s;
}


/* 問い合わせ*/

.contact {
  width: 75%;
  margin: auto;
  max-width: 1200px;
  text-align: center;
  margin-top: 5%;

}

.contact_top {
  margin: 40px;
  height: fit-content;
}


/*問い合わせ内容*/
.formLabel {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


label {
align-items: center;
display: flex;
width: 40%;
margin-right: 24px;
justify-content: flex-end;

}

.must {
  background-color: rgb(255, 50, 50);
  border-radius: 5px;
  color: white;
  width: 40px;
  padding: 0px 8px;
  margin-left: 8px;
  font-size: 12px;
  height: 18px;
  display: block;
}

form input {
  width: 60%;
  height: 36px;
  border-radius: 5px;
  border-width: 1px;
padding: 0 8px;
}

form textarea {
  width: 60%;
  resize: none;
  border-radius: 5px;
  border-width: 1px;
  height: 120px;
  padding: 8px;
}

form button {
  width: 200px;
  height: 36px;
  border-radius: 5px;
  border-width: 1px;
  cursor: pointer;
  color: black;
  background-color: white;
}


/* その他の問い合わせ */
.contact_other {
  background-color: #2e6db9;
  color: white;
  text-align: center;
  margin: 6% auto 0;
  padding: 40px 0;
  width: 100%
}

.contact_other h6 {
  color: white;
  font-size: 24px;
  font-weight: 600
}

.contact_other p {
  font-size: 12px;
}

.contact_other dl {
  display: flex;
  width: 75%;
  margin: auto;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
}

.contact_other dt {
  width: 48%;
  margin-top: 20px;
  text-align: right;
}

.contact_other dd {
  width: 50%;
  margin-top: 20px;
  text-align: left;
}

/* プライバシーポリシー */
.privacy {
  border-bottom: 0.75px solid;
  padding-bottom: 4px;
}

/*フッター*/
.footer_main {
  display: flex;
  justify-content: space-between
    /* background-color: brown; */
}

footer img {
  width: 80%;
  height: auto;
  object-fit: cover;
  min-width: 121px;
  max-width: 200px;
  /* background-color: aqua; */
}

.footer_img ul {
  list-style: none;
  padding-left: 0;
}

.footer_img li {
  margin: 0.8em;
}

.footer_other {
  font-size: 12px;
  text-align: center
}


/*パソコンフッター*/
.pc-footer {
  width: 87%;
  max-width: 1200px;
  margin: 40px auto 27px;
}

.pc-footer dl {
  display: flex;
}

.pc-footer dl div {
  margin: 0 0 0 32px;
  line-height: 1.5em;
}

.pc-footer dt {
  font-size: 16px;
  margin-top: 0;
  cursor: pointer;
}

.pc-footer dd {
  margin: 8px;
  font-size: 12px;
  cursor: pointer;
  transform: translateX(-8px);
}


/*スマホフッター*/

/*スマホフッター*/
.sp-footer {
  margin-top: 40px;
  display: none;
}

.sp-footer dl {
  margin-bottom: 20px;
}

.sp-footer dt {
  padding: 16px 24px;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-bottom: 1px solid white;
  background-color: #2e6db9;
  color: white;
}

.sp-footer dt::after {
  content: '+';
  font-size: 24px;
  position: absolute;
  top: 12px;
  right: 24px;
  transition: transform .3s;
}

dl>div.appear dt::after {
  transform: rotate(45deg);
}

.sp-footer dd {
  padding: 10px 24px;
  margin: 0;
  display: none;
  font-size: 14px;
  border-bottom: 1px solid gray
}

dl>div.appear dd {
  display: block;
  animation: .3s fadeIn;
}

.sp-footer .footer_img {
  /* width: 89%; */
  margin: auto;
  justify-content: center;
  text-align: center;
}

.sp-footer .footer_img ul {
  margin-top: 8px
}

.sp-footer .footer_other {
  text-align: center;
  width: 92%;
  margin: 20px auto;
}

.sp-footer .footer_other p {
  line-height: 1.5;
}

@media (max-width:972px) {

  /*フッター*/
  .sp-footer {
    display: block;
  }

  .pc-footer {
    display: none;
  }
}

@media (max-width:768px) {
  h2 {
    text-align: center;
    margin-bottom: 3%;
  }

  p {
    line-height: 1.5em;
  }

  /*グローバルナビゲーション*/
  .sp-menu {
    display: block;
    margin-right: 3%;
  }

  .pc-menu {
    display: none;
  }

  /* 問い合わせ*/
  .contact {
    width: 90%;
  }

  /*問い合わせ内容*/
  .error {
  background-color: #ffcccc; /* 薄い赤 */
}
  .formLabel {
    display: block;
    margin: 32px auto;
    
  }

  .contact p {
    font-size: 14px;
  }

  .contact input {
    width: 90%;
    margin-top: 8px;
  }

  .contact textarea {
    width: 90%;
    margin-top: 8px;
  }

label{
  width: fit-content;
  margin-right:0;
margin: auto;
}


  /* その他の問い合わせ */
  .contact_other dl {
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
  }

  .contact_other dt {
    width: 40%;
    margin-top: 20px;
    text-align: right;
  }

  .contact_other dd {
    width: 60%;
    margin-top: 20px;
    text-align: left;
  }

  .contact_other h6 {
    font-size: 20px;
  }

  /* プライバシーポリシー */
  .privacy {
    padding-bottom: 2px;
  }


}