* {
  margin: 0;
  padding: 0;
  font-family: system-ui !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: system-ui;
}

section {
  width: 90%;
  padding: 5%;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

div.full {
  width: 100%;
}

picture img {
  width: 100%;
}

h2 {
  margin: auto;
  margin-bottom: 16px;
}

h2 img {
  width: 90%;
  margin: auto;
}

a.cta {
  display: block;
  width: 95%;
  margin: 0px 2.5%;
}

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;
  display: none;
}

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;
}

#fv .cta-area {
  margin-top: -80px;
}

/* about */
#about {
  background-image: url(image/BG_1.webp);
  background-position-y: -40px;
}

#about h2 {
  /* width: 50%; */
  /* margin: auto 25% 40px; */
}

#about h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #E8F5FC;
  border-radius: 45px;
}

#about h3 img {
  width: 20%;
}

#about h3 p {
  font-size: 18px;
  line-height: 24px;
  font-family: system-ui;
  font-weight: 400;
}

#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 0;
}

#about ul li p.point02 {
  padding-left: 24%;
}

#about ul li p.notice {
  font-weight: 500;
  text-align: end;
  margin-top: 24px;
}

/* meets */
#meets {
  background-image: url(image/BG_2.webp);
  background-color: #e8f5fc;
}

#meets ul {
  margin-bottom: 16px;
}

#meets ul li {
  font-weight: 500;
  padding: 24px 0;
  border-bottom: 2px dotted #2E9DE2;
}

#meets h3 {
  color: #58C27D;
  font-size: 20px;
  text-align: center;
}

#meets h4 {
  color: #F9A826;
  font-size: 14px;
  margin-top: 32px;
}

#meets p {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
}

#meets p.center {
  text-align: center;
  padding-bottom: 24px;
}

/* services */
#services {
  background-image: url(image/BG_3.webp);
  background-position-y: bottom;
}

#services ul {
  margin-bottom: 100px;
}

#services ul li {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  border: 1px solid #03a9f4;
  padding: 8px 12px;
  border-radius: 4px;
  align-items: center;
  margin-bottom: 12px;
  background-color: #fff;
}

#services ul li .icon {
  background: linear-gradient(135deg, rgb(3 169 244) 0.000%, rgb(84 194 227) 50.000%, rgb(186 226 204) 100.000%);
  padding: 12px;
  border-radius: 4px;
}

#services ul li .content h3 {
  color: #58C27D;
  font-weight: 500;
  font-size: 16px;
}

#services ul li .content p {
  font-size: 14px;
}

/* nearby */
#nearby {
  background-image: url(image/BG_4.webp);
  background-position-y: bottom;

}

#nearby picture img {
  margin-bottom: 24px;
}

/* fee */
#fee {
  background-image: url(image/BG_5.webp);
}

#fee .feeBox {
  border-radius: 4px;
}

#fee .feeBox h3 {
  background-color: #2E9DE2;
  color: #fff;
  font-size: 16px;
  padding: 16px;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

#fee .feeBox .feeBox-content {
  padding: 24px 16px;
  background-color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 0 8px gray;
  border-radius: 0 0 8px 8px;
}

#fee .feeBox .feeBox-content ul li h4 {
  margin-bottom: 4px;
}

#fee .feeBox .feeBox-content ul li .fee {
  color: #58C27D;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 18px;
}

#fee .feeBox02 .feeBox-content ul li {
  border-bottom: 1px dotted #7C7C7C;
  padding: 16px 0;
}

#fee .feeBox .feeBox-content ul li .text {
  line-height: 26px;
}

#fee p.notice {
  width: 90%;
  margin: 30px 5% 5%;
  line-height: 26px;
}

/* risks */
#risks {
  background-image: url(image/BG_6.webp);
}

#risks ul {
  margin-bottom: 32px;
}

#risks ul li {
  border-bottom: 1px dotted #123E6B;
  padding: 12px;
}

#risks ul li h3 {
  color: #F9A826;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

#risks ul li p {
  line-height: 26px;
  font-size: 14px;
}

/* faq */
#faq {
  background-image: url(image/BG_7.webp);
  padding-bottom: 48px;
}

#faq .faqBox {
  border: 1px solid #03A9F4;
  border-radius: 4px;
  margin-bottom: 16px;
  background-color: #fff;
  box-shadow: 0 0 2px gray;
}

#faq .faqBox .question {
  display: flex;
  gap: 6px;
  align-items: center;
}

#faq .faqBox .question .bubble {
  background-image: url(image/bubbles.png);
  color: #fff;
  width: 16%;
  height: 42px;
  background-repeat: no-repeat;
  font-size: 26px;
  padding: 2px 6px;
}

#faq .faqBox .question h3 {
  color: #2E9DE2;
  font-size: 17px;
}

#faq .faqBox .answer {
  padding: 16px;
  line-height: 26px;
}

/* フォーム */

#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: 10px;
  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;
}

#form.form-section{
  background-color: #fdf9ec;
}

#form.form-section form{
  padding: 3%;
}
#confirm #form.form-section form{
  margin-top: 5%;
}

#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;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#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;
  gap: 16px;
}

#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;
  border-radius: 42px;
}

#confirm .submit .syusei:hover {
  background: #f5f5f5;
}

#confirm #form form input[type="submit"] {
  margin: 0;
  border-radius: 42px;
}

@media (max-width: 768px) {
  #confirm {
    /* margin-top: 60px; */
  }

  #confirm .submit {
    flex-direction: column-reverse;
    gap: 0;
  }

  #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: 0px;
  }

  #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; */
}