*{
  margin: 0;
  padding: 0;
  font-family: serif !important;
}
html{
  scroll-behavior: smooth;
}
img{
  display: block;
}
ul,li{
  list-style: none !important;
}
a:hover{
  opacity: 0.7;
}
body{
  /* background-color: #c9e8ff; */
}
header, main, footer{
  max-width: 470px;
  background-color: #fff;
  margin: auto;
  font-family: serif;
}
section{
  width: 90%;
  padding: 5%;
}
picture img{
  width: 100%;
}
h2{
  margin: auto;
  margin-bottom: 40px;
}
h2 img{
  width: 100%;
}
a.cta{
  display: block;
  width: 70%;
  margin: 24px 15%;
}
a.cta img{
  width: 100%;
}
.content_flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.center{
  text-align: center;
}
/* header */
header{
  padding: 16px 0;
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
}
header .content_flex{
  width: 90%;
  margin: auto;
}
header .content_flex a{
  display: inline-block;
  width: 40%;
}
header .content_flex a img{
  width: 100%;
}
/* fv */
#fv{
  width: 100%;
  padding: 0;
}
/* about */
#about h2{
  width: 50%;
  /* margin: auto 25% 40px; */
}
#about h3{
  display: flex;
  align-items: center;
  gap: 16px;
}
#about h3 img{
  width: 20%;
}
#about h3 p{
  font-size: 24px;
  line-height: 32px;
}
#about ul li{
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 2px solid #ABD8E9;
}
#about ul li:last-child{
  border-bottom: none;
}
#about ul li picture img{
  margin: 24px 0;
}
#about ul li p.point02{
  padding-left: 24%;
}
/* offer */
#offer{
  background-image: url(img/bg01.webp);
  margin: 2.5%;
  padding: 5% 0%;
  width: 95%;
}
#offer h2{
  width: 70%;
  margin-top: 16px;
}
#offer .content_flex{
  width: 80%;
  margin: auto;
}
#offer .content_flex picture{
  width: 45%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#offer .content_flex picture img{
  padding-bottom: 16px;
}
/* find */
#find h2{
  margin-top: 24px;
}
#find h3{
  color: #1090C0;
  font-weight: 400;
  margin-bottom: 8px;
  font-size: 24px;
}
#find h3 b{
  font-weight: bold;
}
#find p.station{
  color: #231916;
  font-size: 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#find p.station img{
  width: 20px;
  margin-right: 8px;
}
/* #find p.station::before{
  content: url(img/train.webp);
  width: 40px;
  margin-left: 16px;
} */
#find ul li{
  border-top: 2px solid #ABD8E9;
  padding-top: 40px;
  margin-top: 40px;
}
#find a.cta,
#find details summary img{
  display: block;
  width: 50%;
  margin: 8px 25%;
  cursor: pointer;
}
#find details{
  position: relative;
  display: flex;
  flex-direction: column-reverse;
}
#find details[open] .content {
  display: block;
  position: absolute;
  bottom: 100%; /* summaryの上に表示 */
  left: 0;
  background: #f2f2f2;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 10;
}
#find details .details-content{
  /* display: none; */
}
#find details summary,
#faq details summary{
  list-style: none;
}
#find details summary::-webkit-details-marker,
#find details summary::marker{
  display: none !important;
}
#find details .details-content picture img{
  margin: 24px 0;
}
#find details .details-content .open-hour{
  color: #1093D0;
  padding: 8px;
  margin-bottom: 16px;
  border: 2px solid #1093D0;
  border-radius: 8px;
  margin-bottom: 16px;
  display: inline-block;
}
#find details .details-content b{
  font-size: 18px;
  line-height: 24px;
}
@media screen and (max-width: 400px){
  #find h3{
    font-size: 22px;
  }
  #find p.station{
    font-size: 16px;
  }
  #find p.station img{
    width: 18px;
  }
}
/* notice */
#notice .noticeBox{
  border: 2px solid #1090c0;
  padding: 32px 24px;
}
#notice .noticeBox h2{
  color: #1090c0;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 24px;
}
#notice .noticeBox ul{
  margin: 24px 0;
}
#notice .noticeBox p,
#notice .noticeBox ul li{
  font-size: 18px;
  margin-bottom: 16px;
}
#notice .noticeBox ul li{
  text-indent: -2em;
  padding-left: 2em;
}
/* fees */
#fees h2{
  width: 75%;
  margin-top: 16px;
}
#fees .tableBox{
  margin-bottom: 40px;
}
#fees table{
  border: 2px solid #EEEFEF !important;
  margin-bottom: 16px;
  width: 100%;
  border-collapse: collapse;
}
#fees table tr th,
#fees table tr td{
  padding: 8px;
  font-weight: 400;
  text-align: center;
  margin: 0;
}
#fees table thead tr td{
  width: 50% !important;
  font-weight: 600;
  background-color: #BCE0ED;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#fees table thead tr th{
  width: 25% !important; 
  background-color: #D4EBF3;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#fees table tbody tr td{
  background-color: #D4EBF3;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
#fees table tbody tr th{
  border-right: 1px solid #EEEFEF;
  border-bottom: 1px solid #EEEFEF;
}
#fees table tbody tr th small{
  font-size: 11px;
}
/* faq */
#faq{
  background-image: url(img/bg02.webp);
  margin: 2.5%;
  padding: 5% 0%;
  width: 95%;
}
#faq h2{
  width: 20%;
  margin-top: 16px;
}
#faq details{
  margin: auto;
  margin-bottom: 16px;
  width: 90%;
  font-size: 18px;
}
#faq details summary{
  background-color: #1090C0;
  color: #fff;
  padding: 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  position: relative;
}

.faq-details summary::after {
  content: '＋';
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 20px;
  transition: 0.2s ease;
  color: #fff;
}

.faq-details[open] summary::after {
  content: '－';
}
/* フォーム */
#form form{
  background: white;
  border-radius: 20px;
}
#form form .formpart{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  /* border-bottom: 1px solid #c5c5c5; */
  padding-bottom: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
#form form .content_flex{
  width: 96%;
}
#form form .content_flex .formpart{
  width: 48%;
}
#form form .formpart .formname{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  font-size: 18px;
  align-items: center;
  position: relative;
  top: 5px;
  margin-bottom: 4px;
}
#form form .formpart .formname .require{
  color: #e83929;
  width: 4em;
  font-size: 12px;
  text-align: center;
  padding: 4px 0;
}
#form form .formpart .forminput{
  width: 100%;
}
#form form .formpart .forminput input,
#form form .formpart .forminput textarea,
#form form .formpart .forminput select{
  width: 95%;
  font-size: 16px;
  padding: 8px;
  border-radius: 8px;
  font-family: ui-monospace;
}
#form form .formpart .forminput select.location{
  width: 100%;
}
#form form .formpart .forminput textarea{
  height: 6em;
}
#form form .formpart .forminput > p{
  font-size: 14px;
  line-height: 1.5;
  margin-top: 15px;
  width: 100%;
}
#form form .formpart .forminput.hope{
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#form form .formpart .forminput.hope input,
#form form .formpart .forminput.hope select{
  width: 47%;
}
#form form .formpart .gender-radio .content_flex,
#form form .formpart .visit-type .content_flex,
#form form .formpart .insurance-type .content_flex{
  justify-content: flex-start;
  gap: 16px;
}
#form form .formpart .gender-radio .content_flex input,
#form form .formpart .visit-type .content_flex input,
#form form .formpart .insurance-type .content_flex input{
  width: 10%;
}
#form form .formpart .forminput.birth-select{
  display: flex; 
  gap: 8px;
}
#form form > p{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
#form form .policy{
  text-align: center;
  margin: 30px 0;
  font-size: 20px;
}
#form form .policy label{
  display: flex;
  align-items: flex-start;
}
#form form .policy input{
  transform: scale(1.5);
  margin-right: 1.5em !important;
  margin-top: 7px;
}
#form form .policy .agreeText{
  width: 100%;
  text-align: start;
}
#form form input[type="submit"]{
  cursor: pointer;
  text-align: center;
  width: 10em;
  display: block;
  margin: 20px auto;
  font-size: 24px;
  padding: 15px 0;
  color: white;
  background: #71513e;
  /* border: 1px solid #71513e; */
  background-color: #fdd129;
  background-image: linear-gradient(90deg, #fdd129 0%, #f08700 50%);
}
#form form input[type="submit"]:hover{
  color: #71513e;
  background: #fff;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #fdd129 0%, #f08700 50%);
  -webkit-text-fill-color: transparent;
}
#form form .submit-btn{
  width: 80%;
  margin: 0 10%;
}
#form table{
  border: 2px solid #EEEFEF;
  margin-bottom: 16px;
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
#form table thead tr td{
  border: none;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  width: 20%;
}
#form table thead tr th,
#form table tbody tr td{
  background-color: #D4EBF3;
  width: 20%;
  text-align: center;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
#form table tbody tr th{
  border-right: 2px solid #EEEFEF;
  border-bottom: 2px solid #EEEFEF;
  padding: 4px;
}
#form table thead tr th.table-head{
  background-color: #BCE0ED;
  border-right: 2px solid #EEEFEF;
  padding: 4px;
}
#form table thead tr th:last-child{
  border-right: 2px solid #EEEFEF;
}
#form table tbody tr:last-child td{
  border-bottom: 2px solid #EEEFEF;
}
#find a.cta{
  margin-top: 0;
}
/* フッター */
footer{
  background: #1090c0;
  color: white;
  text-align: center;
  font-size: 16px;
  padding: 16px 0;
  font-family: none;
}
@media (max-width: 768px){
  .pconly{
    display: none !important;
  }
  .sp-cta{
    margin: 30px auto;
  }
  .sp-cta a{
    display: block;
    width: 100%;
  }
  .sp-cta a img{
    width: 100%;
  }
  #fv{
    margin-top: 0px;
  }
  .first-cta{
    padding: 20px 0;
  }
  .first-cta .inner{
    border: 2px solid #71513e;
    border-radius: 10px;
  }
  .first-cta .inner .p-midashi{
    text-align: center;
    color: #71513e;
    font-family: serif;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
  }
  .first-cta .inner .p-midashi span{
    font-family: serif;
    font-size: 28px;
    margin: 0 4px;
    position: relative;
    top: 2px;
  }
  .first-cta .inner a{
    width: 90%;
    display: block;
    margin: 0 auto 15px;
  }
  .first-cta .inner a img{
    width: 100%;
  }
  .first-cta .inner .chui{
    text-align: center;
    font-size: 14px;
    color: #725340;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  #faq ul li h3{
    text-align: center;
    font-size: 16px;
    padding: 15px 10px 35px;
    line-height: 1.5;
  }
  #faq ul li h3 img{
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 10px;
  }
  #faq ul li.open img{
    transform: translateX(-50%) rotate(180deg);
  }
  #faq ul li p{
    padding: 10px;
  }
  #form form{
    /* padding: 30px 20px;
    width: 80%; */
  }
  #form form .formpart .formname{
    width: 100%;
    position: static;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 10px;
    font-size: 16px;
  }
  #form form .formpart .forminput{
    width: 100%;
  }
  #form form .formpart .forminput.hope input,
  #form form .formpart .forminput.hope select{
    width: 46%;
  }
  #form form > p{
    font-size: 18px;
    line-height: 1.5;
    margin-top: -20px;
  }
  #form form .policy{
    font-size: 16px;
  }
  #form form .policy input{
    transform: scale(1.2);
    margin-right: 0.5em;
  }
}

@media (min-width: 769px){
  .sponly{
    display: none !important;
  }
}

/* 確認画面 */
#confirm{
  /* margin-top: 80px; */
}
#confirm #form form .formpart .forminput{
  font-size: 18px;
  position: relative;
  top: 8px;
  font-family: none;
}
#confirm #form form .formpart .forminput.hope{
  /* margin-bottom: 25px; */
}
#confirm .submit{
  display: flex;
  justify-content: center;
  column-gap: 30px;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
#confirm .submit .syusei{
  cursor: pointer;
  text-align: center;
  width: 10em;
  display: block;
  font-size: 24px;
  padding: 15px 0;
  border: 1px solid #cbcbcb;
  background: white;
  color: black;
}
#confirm .submit .syusei:hover{
  background: #f5f5f5;
}
#confirm  #form form input[type="submit"]{
  margin: 0;
}

@media (max-width: 768px){
  #confirm{
    margin-top: 60px;
  }
  #confirm .submit{
    flex-direction: column-reverse;
  }
  #confirm #form form input[type="submit"]{
    margin-bottom: 20px;
  }
}

/* サンクス */
#thanks{
  /* margin-top: 80px; */
}
#thanks .thanks{
  padding: 60px 0;
  width: 90%;
  margin: auto;
}
#thanks .thanks h1{
  text-align: center;
  font-size: 32px;
  font-family: serif;
  margin-bottom: 20px;
}
#thanks .thanks p{
  text-align: center;
  font-size: 18px;
  font-family: serif;
  line-height: 1.5;
}
#thanks .thanks p a{
  cursor: pointer;
  text-align: center;
  width: 10em;
  display: block;
  margin: 20px auto;
  font-size: 24px;
  padding: 15px 0;
  color: white;
  background: #71513e;
  /* border: 1px solid #71513e; */
  text-decoration: none;
  /* border-radius: 20px; */
  background-color: #fdd129;
  background-image: linear-gradient(90deg, #fdd129 0%, #f08700 50%);

}
#thanks .thanks p a:hover{
  color: #71513e;
  background: #fff;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #fdd129 0%, #f08700 50%);
  -webkit-text-fill-color: transparent;
}
.thanks-footer{
  /* position: ; */
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 470px;
  margin: auto;
  margin-top: 24%;
}
@media (max-width: 768px){
  #thanks{
    margin-top: 60px;
  }
  #thanks .thanks{
    padding: 20px 0;
    max-width: 450px;
  }
  #thanks .thanks h1{
    font-size: 18px;
  }
  #thanks .thanks p{
    font-size: 14px;
    text-align: left;
  }
  #thanks .thanks p a{
    font-size: 18px;
    padding: 10px 0;
  }
}
small.note{
    padding-top: 8px;
    /* color: #e83929; */
}