:root {
  --text-main-color: #333333;
  --text-sub-color: #555555;
  --text-section-color: #4B3A2F;
  --text-yellow-color: #FFA94D;
  --main-color: #FFB865;
  --pink-color: #F8B2AA;
  --blue-color: #57D3EC;
  --merit-list1-color: #FFF3E0;
  --merit-list2-color: #FFE8C6;
  --reviews-li1-color: #FFE3E8;
  --reviews-li2-color: #FFFAD0;
  --reviews-li3-color: #F3FFE3;
  --question-color: #B7EAE1;
  --answer-color: #FFBFB6;
  --price-subtitle-color: #FAECD1;
  --yellow-color: #FFA94D;
  --background-color: #FFF8E1;
  --background-pink-color: #FAE9E8;
  --background-price-color: #FFFAEB;
  --background-faq-color: #EDF8F6;
  --base-color: #ffffff;
  --box-shadow: #00000040;
  --ff-main: "Noto Sans JP", sans-serif;
  --vw-max: 1280px;
  --vw-tb: 768px;
  --vw-sp: 500px;
  --vw-min: 320px;
}

html {
  font-size: 100%;
  font-family: var(--ff-main);
  color: var(--text-main-color);
}

img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

h1 {
  width: 157px;
}
h1 a {
  display: inline-block;
  line-height: 1;
}

h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 40px;
}
@media (max-width: 500px) {
  h2 {
    font-size: 1.5rem;
  }
}
h2 span {
  position: relative;
}
h2 span::before {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  background-size: contain;
  width: 600px;
  height: 100%;
}
@media (max-width: 768px) {
  h2 span::before {
    max-width: 600px;
    width: clamp(500px, 500px + 100 * (100vw - 500px) / 268, 600px);
  }
}
@media (max-width: 500px) {
  h2 span::before {
    bottom: -30px;
    max-width: 320px;
  }
}

.wrapper {
  max-width: 1250px;
  margin-inline: auto;
  padding-inline: 3%;
}

.mv-line {
  width: 263px;
  text-align: center;
  padding-block: 10px;
  box-shadow: 0px 4px 4px var(--box-shadow);
  color: var(--base-color);
  background-color: #14CA52;
  border-radius: 10px;
  transition: all 0.5s;
}
.mv-line:hover {
  transform: scale(1.2);
  background-color: var(--base-color);
  color: #14CA52;
  border: 3px solid #14CA52;
}
.mv-line .bi-line {
  margin-right: 10px;
}

.line-btn {
  text-align: center;
}
.line-btn a {
  display: inline-block;
  width: 100%;
  background-color: #14CA52;
  border-radius: 30px;
  color: var(--base-color);
  font-size: clamp(1.5rem, 24px + 8 * (100vw - 768px) / 512, 2rem);
  font-weight: 350;
  padding-block: 16px;
  filter: drop-shadow(0px 4px 4px var(--box-shadow));
  transition: all 0.5s;
}
.line-btn a:hover {
  transform: scale(1.2);
  background-color: var(--base-color);
  color: #14CA52;
  border: 3px solid #14CA52;
}
@media (max-width: 768px) {
  .line-btn a {
    width: 80%;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 6px;
  }
}
@media (max-width: 500px) {
  .line-btn a {
    width: auto;
    font-size: 1rem;
  }
}
.line-btn a .bi-line {
  margin-right: 16px;
}

.garland li {
  width: 40%;
  position: absolute;
  z-index: 2;
}
.garland li:last-of-type {
  transform: scaleX(-1);
}

.bg-pink {
  margin-top: 108px;
  padding-top: 32px;
  text-align: center;
  position: relative;
  background-color: var(--background-pink-color);
  z-index: 1;
}
.bg-pink::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/26631947.png);
  background-size: contain;
  background-repeat: repeat;
  z-index: -2;
}
.bg-pink .wrapper {
  display: flex;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .bg-pink .wrapper {
    flex-direction: column;
  }
}
.bg-pink .left {
  width: 50%;
}
@media (max-width: 768px) {
  .bg-pink .left {
    width: 100%;
  }
}
.bg-pink .right {
  width: 50%;
}
@media (max-width: 768px) {
  .bg-pink .right {
    width: 100%;
  }
}
.bg-pink .right p {
  font-size: 1.25rem;
  margin-top: 16px;
}
@media (max-width: 500px) {
  .bg-pink .right p {
    font-size: clamp(1rem, 16px + 4 * (100vw - 320px) / 180, 1.25rem);
  }
}
.bg-pink h2 {
  display: inline-block;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--base-color);
  padding: 16px 36px;
  background-color: var(--main-color);
  border-radius: 70px;
  filter: drop-shadow(0px 4px 4px var(--box-shadow));
}
@media (max-width: 500px) {
  .bg-pink h2 {
    font-size: 1.5rem;
  }
}
.bg-pink h2::before {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 24px solid var(--main-color);
  border-bottom: 0;
}

.bg {
  position: relative;
}
.bg::before {
  background-image: url(../img/27042178.jpg);
  background-size: contain;
  background-repeat: repeat;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: -10;
}

.wave {
  background-color: var(--base-color);
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -2;
}

.ltb-br {
  display: none;
}
@media (max-width: 1000px) {
  .ltb-br {
    display: block;
    height: 0;
  }
}

.pc-br {
  display: block;
  height: 0;
}
@media (max-width: 500px) {
  .pc-br {
    display: none;
  }
}

.tb-br {
  display: none;
}
@media (max-width: 768px) {
  .tb-br {
    display: block;
    height: 0;
  }
}

.sp-br {
  display: none;
}
@media (max-width: 500px) {
  .sp-br {
    display: block;
    height: 0;
  }
}

.header {
  background-color: var(--main-color);
  box-shadow: 0px 4px 4px var(--box-shadow);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
}
.header .wrapper {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .header .wrapper {
    height: 56px;
  }
}
.header ul {
  display: flex;
  gap: 32px;
}
.header ul a {
  color: var(--base-color);
}
.header nav {
  display: block;
}
@media (max-width: 1000px) {
  .header nav {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
  }
}
@media (max-width: 1000px) {
  .header nav li {
    display: flex;
    align-items: center;
  }
}
.header nav li a {
  position: relative;
}
.header nav li a::before {
  position: absolute;
  left: 0;
  bottom: -3px;
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--base-color);
  border-radius: 5px;
  transform: translateY(5px);
  opacity: 0;
  transition: all 0.5s;
}
.header nav li a:hover::before {
  transform: translateY(0);
  opacity: 1;
}
.header .teeth {
  display: none;
}
.header .sp {
  display: none;
  width: 50%;
}
@media (max-width: 768px) {
  .header .sp {
    width: 100%;
  }
}
.header .toggle {
  display: none;
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
}
@media (max-width: 1000px) {
  .header .toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .header .toggle {
    width: 31px;
    height: 31px;
  }
}
.header .toggle span {
  position: absolute;
}
.header .toggle span:not(:nth-child(4)) {
  width: 100%;
  height: 3px;
  background-color: var(--base-color);
  border-radius: 10px;
  transition: all 0.5s;
}
.header .toggle span:nth-child(1) {
  top: 20%;
}
.header .toggle span:nth-child(2) {
  top: 50%;
}
.header .toggle span:nth-child(3) {
  top: 80%;
  opacity: 1;
}
.header .toggle span:nth-child(4) {
  top: 50%;
  color: var(--base-color);
  opacity: 0;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  opacity: 0;
  background-color: var(--base-color);
  transition: all 0.5s;
}
.mask::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background-image: url(../img/27042178.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 800;
  opacity: 0;
}

.open .header nav {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  width: 70%;
}
.open .header nav ul {
  flex-direction: column;
}
.open .header nav li {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
}
.open .header nav li a {
  color: var(--text-main-color);
}
.open .header nav .teeth {
  display: block;
  width: 24px;
  position: relative;
  z-index: 0;
  margin-right: 16px;
}
.open .header nav .teeth::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 33px;
  height: 33px;
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
}
.open .header nav .sp {
  display: block;
}
.open .header .toggle {
  width: 45px;
  height: 45px;
}
.open .header .toggle span:nth-child(1) {
  top: 30%;
  transform: rotate(30deg);
}
.open .header .toggle span:nth-child(2) {
  top: 30%;
  transform: rotate(-30deg);
}
.open .header .toggle span:nth-child(3) {
  opacity: 0;
}
.open .header .toggle span:nth-child(4) {
  opacity: 1;
}
.open .mask {
  display: block;
  opacity: 1;
  z-index: 900;
}
.open .mask::before {
  opacity: 0.3;
}

footer {
  background-color: var(--price-subtitle-color);
  padding-block: 40px 16px;
  text-align: center;
}
footer h3 {
  font-size: 2rem;
  font-weight: normal;
  width: 248px;
  border-top: 1px solid var(--text-yellow-color);
  border-bottom: 1px solid var(--text-yellow-color);
  text-align: center;
  margin-inline: auto;
  margin-bottom: 24px;
}
@media (max-width: 500px) {
  footer h3 {
    font-size: 1.25rem;
  }
}
footer h4 {
  font-size: 1rem;
  font-weight: normal;
}
footer .content {
  margin-inline: auto;
  max-width: 1000px;
  display: flex;
  gap: 80px;
}
@media (max-width: 768px) {
  footer .content {
    gap: 40px;
  }
}
@media (max-width: 500px) {
  footer .content {
    gap: 16px;
  }
}
footer .text {
  font-size: 1.5rem;
  text-align: left;
}
@media (max-width: 500px) {
  footer .text {
    font-size: 1rem;
  }
}
footer .footer-logo {
  width: 209px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  footer .footer-logo {
    width: 129px;
  }
}
@media (max-width: 500px) {
  footer .footer-logo {
    width: 79px;
  }
}
footer .offer {
  margin-top: 32px;
}
footer .offer .text p:last-of-type {
  font-size: 1.25rem;
  line-height: 2;
}
@media (max-width: 500px) {
  footer .offer .text p:last-of-type {
    font-size: 1rem;
  }
}
footer .hospital-name {
  margin-bottom: 16px;
}
footer nav {
  max-width: 500px;
  padding-block: 40px;
  margin-left: auto;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 500px) {
  footer nav {
    width: 320px;
    flex-direction: column;
    gap: 32px;
  }
}
footer nav li {
  display: flex;
  align-items: center;
}
footer nav li:not(:first-of-type) {
  margin-top: 32px;
}
footer nav a {
  position: relative;
}
footer nav a::before {
  position: absolute;
  left: 0;
  bottom: -3px;
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--base-color);
  border-radius: 5px;
  transform: translateY(5px);
  opacity: 0;
  transition: all 0.5s;
}
footer nav a:hover::before {
  transform: translateY(0);
  opacity: 1;
}
footer .teeth {
  width: 24px;
  position: relative;
  z-index: 0;
  margin-right: 16px;
}
footer .teeth::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 33px;
  height: 33px;
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
}

.precautions {
  text-align: left;
  line-height: 2;
  margin-top: 40px;
}
.precautions li {
  list-style: inside;
  list-style-position: outside;
  margin-left: 30px;
}

.banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #54e284;
  border-radius: 16px;
  width: 100px;
  z-index: 10;
}
@media (max-width: 768px) {
  .banner {
    width: 70px;
  }
}
@media (max-width: 500px) {
  .banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    border-radius: initial;
  }
}
.banner a {
  padding-top: 16px;
  display: inline-block;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (max-width: 500px) {
  .banner a {
    flex-direction: row;
    justify-content: center;
    padding-top: initial;
    font-size: 1.25rem;
  }
}
.banner .icon {
  display: inline-block;
  width: 50%;
}
@media (max-width: 500px) {
  .banner .icon {
    width: 40px;
  }
}
.banner .text {
  display: inline-block;
  writing-mode: vertical-rl;
  line-height: 0.7;
  color: var(--base-color);
}
@media (max-width: 768px) {
  .banner .text {
    font-size: clamp(1.25rem, 16px + 4 * (100vw - 500px) / 268, 1.5rem);
  }
}
@media (max-width: 500px) {
  .banner .text {
    writing-mode: initial;
    font-size: clamp(1rem, 16px + 4 * (100vw - 320px) / 180, 1.25rem);
  }
}
.banner .arrow {
  display: none;
}
@media (max-width: 500px) {
  .banner .arrow {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background-color: var(--base-color);
    border-radius: 50%;
  }
}
@media (max-width: 500px) {
  .banner .arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0px 6px 9px;
    border-color: transparent transparent transparent #54e284;
  }
}
.banner .line-image {
  width: 100%;
}
@media (max-width: 500px) {
  .banner .line-image {
    width: 20%;
  }
}
.banner .line-image img {
  border-radius: 16px;
}
@media (max-width: 500px) {
  .banner .line-image img {
    border-radius: initial;
  }
}
.banner .line-image .pc {
  display: block;
}
@media (max-width: 500px) {
  .banner .line-image .pc {
    display: none;
  }
}
.banner .line-image .sp {
  display: none;
}
@media (max-width: 500px) {
  .banner .line-image .sp {
    display: block;
  }
}

#mv {
  margin-top: 105px;
  background-image: url(../img/FV_2.jpg);
  background-size: cover;
  background-position: center;
  height: calc(100vh - 105px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  #mv {
    margin-top: 56px;
    height: calc(100vh - 56px);
    background-image: url(../img/FV_sp.jpg);
    background-position: 20%;
  }
}
#mv .wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 2;
}
@media (max-width: 768px) {
  #mv .wrapper {
    padding-block: 40px;
    justify-content: space-between;
  }
}
#mv .wrapper ul {
  display: flex;
  font-size: 1.5rem;
  font-weight: bold;
  gap: 32px;
}
@media (max-width: 500px) {
  #mv .wrapper ul {
    font-size: 1rem;
    gap: clamp(8px, 8px + 16 * (100vw - 320px) / 180, 24px);
  }
}
#mv .wrapper li {
  width: 263px;
  text-align: center;
  padding-block: 10px;
  box-shadow: 0px 4px 4px var(--box-shadow);
  position: relative;
  z-index: 10;
  transition: all 0.5s;
}
@media (max-width: 768px) {
  #mv .wrapper li {
    width: clamp(220px, 220px + 43 * (100vw - 500px) / 268, 263px);
  }
}
@media (max-width: 500px) {
  #mv .wrapper li {
    width: clamp(144px, 144px + 20 * (100vw - 320px) / 180, 164px);
  }
}
#mv .wrapper li:first-of-type {
  color: var(--pink-color);
  background-color: var(--base-color);
  border: 3px solid var(--pink-color);
  border-radius: 10px;
}
#mv .wrapper li:first-of-type:hover {
  transform: scale(1.2);
  color: var(--base-color);
  background-color: var(--pink-color);
}
#mv .wrapper li a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
#mv .lead {
  color: var(--text-sub-color);
  font-size: 2.5rem;
  background-color: var(--base-color);
  box-shadow: 0px 4px 4px var(--main-color);
  padding-inline: 15px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  #mv .lead {
    margin-bottom: 8px;
  }
}
@media (max-width: 500px) {
  #mv .lead {
    font-size: 1.5rem;
    display: inline-block;
  }
}
#mv .lead-sub {
  color: var(--text-sub-color);
  font-size: 2rem;
  margin-bottom: 42px;
}
@media (max-width: 500px) {
  #mv .lead-sub {
    font-size: 1.25rem;
  }
}
#mv .lead-sub span {
  position: relative;
  z-index: 1;
}
#mv .lead-sub span::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -25px;
  content: "";
  background-image: url(../img/marker.png);
  background-size: contain;
  width: 120%;
  height: 100%;
  z-index: -1;
}
@media (max-width: 500px) {
  #mv .lead-sub span::before {
    bottom: -13px;
  }
}
@media (max-width: 500px) {
  #mv .bottom {
    margin-inline: auto;
  }
}
#mv .dot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.5rem;
  margin-bottom: 42px;
}
@media (max-width: 768px) {
  #mv .dot {
    margin-bottom: 8px;
    text-shadow: 0 4px 4px var(--base-color);
  }
}
@media (max-width: 500px) {
  #mv .dot {
    font-size: clamp(0.875rem, 14px + 2 * (100vw - 320px) / 180, 1rem);
    align-items: center;
    margin-bottom: 24px;
  }
}
#mv .dot p {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  overflow: hidden;
}
@media (max-width: 500px) {
  #mv .dot p {
    overflow: visible;
  }
}
#mv .dot p::before {
  position: absolute;
  left: -20px;
  bottom: -20px;
  content: "";
  background-image: url(../img/dot-yellow-orange.png);
  background-size: cover;
  width: 110%;
  height: 100%;
}
@media (max-width: 500px) {
  #mv .dot p::before {
    bottom: -13px;
  }
}
#mv .bi-line {
  margin-right: 10px;
}
#mv .img li {
  position: absolute;
  z-index: -1;
}
#mv .img .cloud:nth-of-type(1) {
  width: clamp(200px, 200px + 56 * (100vw - 768px) / 512, 256px);
  top: 0;
  left: -40px;
}
@media (max-width: 768px) {
  #mv .img .cloud:nth-of-type(1) {
    width: 200px;
  }
}
@media (max-width: 500px) {
  #mv .img .cloud:nth-of-type(1) {
    width: 107px;
  }
}
#mv .img .cloud:nth-of-type(2) {
  width: 187px;
  top: 50%;
  left: -100px;
}
@media (max-width: 500px) {
  #mv .img .cloud:nth-of-type(2) {
    display: none;
  }
}
#mv .img .cloud:nth-of-type(3) {
  width: clamp(161px, 161px + 60 * (100vw - 768px) / 512, 221px);
  top: clamp(1px, 1px + 29 * (100vw - 768px) / 512, 30px);
  right: clamp(-100px, -100px + 160 * (100vw - 768px) / 512, 60px);
}
@media (max-width: 768px) {
  #mv .img .cloud:nth-of-type(3) {
    width: 161px;
    top: 10px;
    right: 60px;
  }
}
@media (max-width: 500px) {
  #mv .img .cloud:nth-of-type(3) {
    width: 93px;
    top: 30px;
  }
}
#mv .img .cloud:nth-of-type(4) {
  width: clamp(127px, 127px + 60 * (100vw - 768px) / 512, 187px);
  top: 170px;
  right: clamp(-127px, -127px + 127 * (100vw - 768px) / 512, 0px);
}
@media (max-width: 768px) {
  #mv .img .cloud:nth-of-type(4) {
    width: 127px;
    top: 130px;
    right: 0;
  }
}
@media (max-width: 500px) {
  #mv .img .cloud:nth-of-type(4) {
    width: 78px;
    top: 105px;
  }
}
#mv .img .balloon:nth-of-type(5) {
  width: 135px;
  bottom: 0;
  left: 20px;
  transform: rotate(-20deg);
  -webkit-animation: balloon1 5s infinite ease-in-out;
          animation: balloon1 5s infinite ease-in-out;
}
@media (max-width: 500px) {
  #mv .img .balloon:nth-of-type(5) {
    width: 60px;
    bottom: 160px;
  }
}
#mv .img .balloon:nth-of-type(6) {
  width: 129px;
  top: clamp(-40px, -40px + 150 * (100vw - 768px) / 512, 90px);
  right: clamp(-20px, -20px + 120 * (100vw - 768px) / 512, 100px);
  transform: rotate(7deg);
  -webkit-animation: balloon2 5s infinite ease-in-out;
          animation: balloon2 5s infinite ease-in-out;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}
@media (max-width: 500px) {
  #mv .img .balloon:nth-of-type(6) {
    width: 94px;
    top: 30px;
    right: 60px;
  }
}
#mv .img .balloon:nth-of-type(7) {
  width: 102px;
  top: 250px;
  right: clamp(-102px, -102px + 132 * (100vw - 768px) / 512, 30px);
  transform: rotate(5.6deg);
  -webkit-animation: balloon3 5s infinite ease-in-out;
          animation: balloon3 5s infinite ease-in-out;
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
}
@media (max-width: 768px) {
  #mv .img .balloon:nth-of-type(7) {
    right: 8px;
  }
}
@media (max-width: 500px) {
  #mv .img .balloon:nth-of-type(7) {
    width: 73px;
    top: 110px;
    right: 30px;
  }
}
@-webkit-keyframes balloon1 {
  0% {
    transform: translateY(0) rotate(-20deg);
  }
  50% {
    transform: translateY(30px) rotate(-20deg);
  }
  100% {
    transform: translateY(0) rotate(-20deg);
  }
}
@keyframes balloon1 {
  0% {
    transform: translateY(0) rotate(-20deg);
  }
  50% {
    transform: translateY(30px) rotate(-20deg);
  }
  100% {
    transform: translateY(0) rotate(-20deg);
  }
}
@-webkit-keyframes balloon2 {
  0% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(30px) rotate(7deg);
  }
  100% {
    transform: translateY(0) rotate(7deg);
  }
}
@keyframes balloon2 {
  0% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(30px) rotate(7deg);
  }
  100% {
    transform: translateY(0) rotate(7deg);
  }
}
@-webkit-keyframes balloon3 {
  0% {
    transform: translateY(0) rotate(5.6deg);
  }
  50% {
    transform: translateY(30px) rotate(5.6deg);
  }
  100% {
    transform: translateY(0) rotate(5.6deg);
  }
}
@keyframes balloon3 {
  0% {
    transform: translateY(0) rotate(5.6deg);
  }
  50% {
    transform: translateY(30px) rotate(5.6deg);
  }
  100% {
    transform: translateY(0) rotate(5.6deg);
  }
}

#top {
  max-width: 1300px;
  margin-inline: auto;
  padding: 40px 3%;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
#top li {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
@media (max-width: 768px) {
  #top li:first-child {
    flex-direction: column-reverse;
  }
}
#top li:last-child {
  margin-top: 16px;
}
@media (max-width: 768px) {
  #top li:last-child {
    flex-direction: column;
  }
}
#top li:last-child .goods {
  margin-left: auto;
}
#top li:last-child .right {
  display: flex;
}
#top li:last-child p {
  width: 75%;
}
@media (max-width: 768px) {
  #top li:last-child p {
    width: 100%;
  }
}
#top li .left {
  width: clamp(350px, 350px + 50 * (100vw - 780px) / 512, 400px);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #top li .left {
    width: 100%;
  }
}
#top li .right {
  width: calc(100% - 432px);
}
@media (max-width: 768px) {
  #top li .right {
    width: 100%;
  }
}
#top li .goods {
  width: 80%;
}
@media (max-width: 768px) {
  #top li .goods {
    width: 400px;
  }
}
@media (max-width: 500px) {
  #top li .goods {
    width: clamp(240px, 240px + 160 * (100vw - 320px) / 180, 400px);
  }
}
#top li .goods img {
  height: 214px;
  border-radius: 50px;
  border: 2px solid #D9D9D9;
}
@media (max-width: 768px) {
  #top li .goods img {
    height: clamp(165px, 165px + 59 * (100vw - 320px) / 180, 214px);
  }
}
#top li p {
  line-height: 2;
}
@media (max-width: 500px) {
  #top li p {
    line-height: 1.6;
  }
}
#top .lead {
  display: inline-block;
  background-color: var(--background-color);
  font-size: 1.25rem;
  font-weight: 350;
  padding: 20px;
}
@media (max-width: 500px) {
  #top .lead {
    font-size: clamp(1rem, 16px + 4 * (100vw - 320px) / 180, 1.25rem);
  }
}
#top .doctor {
  width: 25%;
  margin-top: 30px;
}
@media (max-width: 768px) {
  #top .doctor {
    display: none;
  }
}

#about {
  padding-bottom: 80px;
}
#about.wrapper {
  display: flex;
  align-items: flex-start;
}
@media (max-width: 500px) {
  #about.wrapper {
    flex-direction: column;
  }
}
#about.wrapper .pct {
  max-width: 758px;
}
@media (max-width: 500px) {
  #about.wrapper .pct {
    max-width: initial;
    width: 100%;
  }
}
#about.wrapper img {
  border-radius: 50px;
}
#about.wrapper .text {
  margin-left: -24px;
}
@media (max-width: 500px) {
  #about.wrapper .text {
    width: 100%;
    margin-left: initial;
    margin-top: -48px;
  }
}
#about.wrapper h2 {
  font-size: 6.25rem;
  font-weight: normal;
  color: var(--text-section-color);
  text-align: left;
}
@media (max-width: 768px) {
  #about.wrapper h2 {
    font-size: clamp(4rem, 64px + 36 * (100vw - 500px) / 268, 6.25rem);
  }
}
@media (max-width: 500px) {
  #about.wrapper h2 {
    margin-bottom: initial;
    font-size: 4rem;
    text-align: left;
  }
}
#about.wrapper p:first-of-type {
  font-size: 1.25rem;
  margin-block: 24px 32px;
}
@media (max-width: 500px) {
  #about.wrapper p:first-of-type {
    margin-block: 0px 16px;
  }
}
#about.wrapper .btn {
  text-align: center;
  margin-top: 32px;
}
#about.wrapper .btn a {
  display: inline-block;
  width: 263px;
  background-color: var(--main-color);
  color: #fff;
  padding-block: 16px;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(156, 156, 156, 0.7019607843);
  transition: all 0.5s;
}
#about.wrapper .btn a:hover {
  transform: scale(1.2);
  background-color: var(--base-color);
  color: var(--main-color);
  border: 3px solid var(--main-color);
}

#worries {
  padding-bottom: 54px;
}
#worries .inner {
  width: 100%;
  background-color: var(--background-color);
  padding: 40px 3% 140px;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
@media (max-width: 768px) {
  #worries .inner {
    padding: 56px 3% 260px;
  }
}
#worries .inner h2 {
  font-size: 2rem;
  font-weight: 350;
  color: var(--base-color);
  max-width: 780px;
  background-color: var(--main-color);
  border-radius: 40px;
  margin-inline: auto;
  padding-block: 12px;
  position: relative;
}
@media (max-width: 500px) {
  #worries .inner h2 {
    font-size: clamp(1.25rem, 20px + 4 * (100vw - 320px) / 180, 1.5rem);
  }
}
#worries .inner h2::before {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 40px solid transparent;
  border-left: 40px solid transparent;
  border-top: 32px solid var(--main-color);
  border-bottom: 0;
}
#worries .inner .content {
  max-width: 992px;
  margin: 32px auto;
  padding: 64px 24px;
  background-color: var(--base-color);
  border-radius: 40px;
  position: relative;
  z-index: 0;
}
@media (max-width: 500px) {
  #worries .inner .content {
    padding: 32px 8px 64px;
  }
}
#worries .inner .content .teeth {
  position: absolute;
  top: -37px;
  left: -10px;
  width: clamp(86px, 86px + 110 * (100vw - 500px) / 780, 196px);
}
@media (max-width: 500px) {
  #worries .inner .content .teeth {
    width: 86px;
  }
}
#worries .inner .content ul {
  margin-inline: auto;
  max-width: 660px;
}
#worries .inner .content li {
  font-size: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
}
#worries .inner .content li:not(:first-of-type) {
  margin-top: 24px;
}
#worries .inner .content li .virus {
  width: 30px;
}
#worries .inner .content li p {
  width: calc(100% - 35px);
}
#worries .inner .text {
  display: inline-block;
  position: relative;
}
#worries .inner .lead {
  font-size: clamp(1.5rem, 24px + 8 * (100vw - 500px) / 780, 2rem);
  text-align: center;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}
@media (max-width: 500px) {
  #worries .inner .lead {
    font-size: clamp(1.25rem, 20px + 4 * (100vw - 320px) / 180, 1.5rem);
  }
}
#worries .inner .lead .blue,
#worries .inner .lead .yellow {
  font-size: 2.25rem;
}
@media (max-width: 768px) {
  #worries .inner .lead .blue,
#worries .inner .lead .yellow {
    font-size: clamp(1.65rem, 26.4px + 9.6 * (100vw - 500px) / 268, 2.25rem);
  }
}
@media (max-width: 500px) {
  #worries .inner .lead .blue,
#worries .inner .lead .yellow {
    font-size: clamp(1.5rem, 24px + 4 * (100vw - 320px) / 180, 1.75rem);
  }
}
#worries .inner .lead .blue {
  color: var(--blue-color);
}
#worries .inner .lead .yellow {
  color: var(--yellow-color);
}
#worries .inner .doctor {
  width: clamp(180px, 180px + 20 * (100vw - 768px) / 512, 200px);
  position: absolute;
  top: -50px;
  left: clamp(490px, 490px + 160 * (100vw - 768px) / 512, 640px);
}
@media (max-width: 768px) {
  #worries .inner .doctor {
    width: 140px;
    top: initial;
    bottom: -160px;
    right: initial;
    left: 50%;
    transform: translateX(-50%);
  }
}
#worries .inner .img li {
  position: absolute;
  z-index: -1;
}
#worries .inner .img .cloud {
  width: 140px;
}
@media (max-width: 500px) {
  #worries .inner .img .cloud {
    width: 90px;
  }
}
#worries .inner .img .cloud:nth-of-type(1) {
  bottom: 250px;
  left: 10px;
}
@media (max-width: 500px) {
  #worries .inner .img .cloud:nth-of-type(1) {
    bottom: 400px;
  }
}
#worries .inner .img .cloud:nth-of-type(2) {
  bottom: 160px;
  left: 110px;
}
@media (max-width: 500px) {
  #worries .inner .img .cloud:nth-of-type(2) {
    bottom: 350px;
    left: 60px;
  }
}
#worries .inner .img .cloud:nth-of-type(3) {
  top: 30px;
  right: 60px;
}
@media (max-width: 500px) {
  #worries .inner .img .cloud:nth-of-type(3) {
    top: 0;
    right: 90px;
  }
}
#worries .inner .img .cloud:nth-of-type(4) {
  top: 110px;
  right: 0;
}
@media (max-width: 500px) {
  #worries .inner .img .cloud:nth-of-type(4) {
    top: 20px;
  }
}
#worries .inner .img .balloon:nth-of-type(5) {
  width: 135px;
  bottom: 120px;
  left: 20px;
  transform: rotate(-20deg);
  -webkit-animation: balloon1 5s infinite ease-in-out;
          animation: balloon1 5s infinite ease-in-out;
}
@media (max-width: 500px) {
  #worries .inner .img .balloon:nth-of-type(5) {
    width: 50px;
    bottom: 320px;
  }
}
#worries .bg-pink {
  margin-top: initial;
}
#worries .bg-pink::before {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  content: "";
  z-index: -1;
  display: block;
  width: 100%;
  height: 55px;
  background-size: 55px 100%;
  background-repeat: repeat-x;
  background-image: linear-gradient(155deg, var(--background-color) 25%, transparent 25%), linear-gradient(205deg, var(--background-color) 25%, transparent 25%);
  background-position: 0 0;
  background-color: var(--base-color);
}
#worries .bg-pink .wrapper {
  margin-top: 56px;
}

.merit {
  position: relative;
}
.merit::before {
  position: absolute;
  top: -100px;
  right: 0;
  content: "";
  width: 50vw;
  height: 100px;
  background: var(--base-color);
  border-bottom-right-radius: 100%;
  transform: rotate(180deg);
}
@media (max-width: 500px) {
  .merit::before {
    top: -60px;
    height: 60px;
  }
}
.merit::after {
  position: absolute;
  top: -100px;
  left: 0;
  content: "";
  width: 50vw;
  height: 100px;
  background: var(--base-color);
  border-bottom-left-radius: 100%;
  transform: rotate(180deg);
}
@media (max-width: 500px) {
  .merit::after {
    top: -60px;
    height: 60px;
  }
}
.merit .garland li:first-of-type {
  top: -70px;
  left: 0;
}
@media (max-width: 500px) {
  .merit .garland li:first-of-type {
    top: -40px;
  }
}
.merit .garland li:last-of-type {
  top: -70px;
  right: 0;
}
@media (max-width: 500px) {
  .merit .garland li:last-of-type {
    top: -40px;
  }
}
.merit .content {
  padding-block: 145px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}
@media (max-width: 500px) {
  .merit .content {
    padding-block: 65px 40px;
    grid-template-columns: repeat(1, 1fr);
  }
}
.merit .content li {
  border-radius: 20px;
  padding: 24px;
  position: relative;
}
.merit .content li .part {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  text-align: center;
  color: var(--base-color);
  font-size: 3rem;
  font-weight: bold;
}
@media (max-width: 1000px) {
  .merit .content li .part {
    left: -10px;
    width: 96px;
    height: 96px;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.1;
  }
}
.merit .content li .part span {
  font-size: 1.5rem;
}
@media (max-width: 1000px) {
  .merit .content li .part span {
    font-size: 1rem;
  }
}
.merit .content li .part::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 95%;
  height: 3px;
  background-color: var(--base-color);
}
.merit .content li:nth-of-type(1), .merit .content li:nth-of-type(4) {
  background-color: var(--merit-list1-color);
}
.merit .content li:nth-of-type(1) .part, .merit .content li:nth-of-type(4) .part {
  background-color: var(--yellow-color);
}
.merit .content li:nth-of-type(2), .merit .content li:nth-of-type(3) {
  background-color: var(--merit-list2-color);
}
.merit .content li:nth-of-type(2) .part, .merit .content li:nth-of-type(3) .part {
  background-color: var(--main-color);
}
.merit .content li .thumb img {
  border-radius: 10px;
  height: 327px;
}
.merit .content li .heading {
  margin-block: 16px;
  display: flex;
  align-items: center;
}
.merit .content li .check {
  width: 50px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .merit .content li .check {
    width: 30px;
  }
}
@media (max-width: 500px) {
  .merit .content li .check {
    width: 50px;
  }
}
.merit .content li h3 {
  font-size: 1.5rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  .merit .content li h3 {
    font-size: 1.25rem;
  }
}
.merit .content li .text {
  line-height: 1.6;
}
@media (max-width: 500px) {
  .merit .content li .text {
    line-height: 2;
  }
}
.merit .content li:nth-of-type(4) .thumb img {
  -o-object-position: 0 -100px;
     object-position: 0 -100px;
}
@media (max-width: 1000px) {
  .merit .content li:nth-of-type(4) .thumb img {
    -o-object-position: initial;
       object-position: initial;
  }
}

.consultation {
  background-color: var(--background-color);
  text-align: center;
  padding-bottom: 55px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.consultation::before {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  content: "";
  z-index: -1;
  display: block;
  width: 100%;
  height: 215px;
  background-size: 55px 100%;
  background-repeat: repeat-x;
  background-image: linear-gradient(155deg, var(--base-color) 25%, transparent 25%), linear-gradient(205deg, var(--base-color) 25%, transparent 25%);
  background-position: 0 0;
}
.consultation .lead {
  max-width: 780px;
  font-size: 2rem;
  color: var(--base-color);
  margin-inline: auto;
  padding-block: 16px;
  background-color: var(--main-color);
  border-radius: 40px;
  filter: drop-shadow(0px 4px 4px var(--box-shadow));
}
@media (max-width: 768px) {
  .consultation .lead {
    font-size: clamp(1.75rem, 28px + 4 * (100vw - 500px) / 268, 2rem);
  }
}
@media (max-width: 500px) {
  .consultation .lead {
    font-size: clamp(1.15rem, 18.4px + 1.6 * (100vw - 320px) / 180, 1.25rem);
  }
}
.consultation .lead::before {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 40px solid transparent;
  border-left: 40px solid transparent;
  border-top: 32px solid var(--main-color);
  border-bottom: 0;
}
.consultation .lead span {
  position: relative;
  z-index: 0;
}
.consultation .lead span::before {
  position: absolute;
  top: 85%;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/marker-sp.png);
  background-size: contain;
  z-index: -1;
}
.consultation .text {
  margin-block: 64px 32px;
  line-height: 2;
}
.consultation .items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .consultation .items {
    grid-template-columns: repeat(2, 1fr);
  }
}
.consultation .items li {
  position: relative;
}
.consultation .items li:nth-of-type(3) .hygienist {
  top: 57%;
}
.consultation .items p {
  aspect-ratio: 1/1;
  font-size: clamp(0.875rem, 14px + 6 * (100vw - 768px) / 512, 1.25rem);
  line-height: 1.7;
  background-color: var(--base-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .consultation .items p {
    font-size: clamp(1rem, 16px + 4 * (100vw - 500px) / 268, 1.25rem);
  }
}
@media (max-width: 500px) {
  .consultation .items p {
    font-size: clamp(0.875rem, 14px + 2 * (100vw - 320px) / 180, 1rem);
  }
}
.consultation .items p span {
  font-size: 1.5rem;
}
@media (max-width: 500px) {
  .consultation .items p span {
    font-size: 1.25rem;
  }
}
.consultation .items .hygienist {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 140px;
}
@media (max-width: 500px) {
  .consultation .items .hygienist {
    width: 104px;
    right: -30px;
  }
}
@media (max-width: 500px) {
  .consultation .img {
    display: none;
  }
}
.consultation .img li {
  position: absolute;
  z-index: 0;
}
.consultation .img .cloud {
  width: 140px;
  z-index: -1;
}
.consultation .img .cloud:nth-of-type(1) {
  top: 80px;
  right: 100px;
}
.consultation .img .cloud:nth-of-type(2) {
  top: 160px;
  right: 0;
}

#flow {
  background-color: var(--background-color);
  padding-block: 120px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
@media (max-width: 500px) {
  #flow {
    padding-block: 80px;
  }
}
#flow h2 span::before {
  background-image: url(../img/dot-wave.png);
}
#flow .wave-top {
  top: 0;
}
#flow .wave-bottom {
  bottom: 0;
}
#flow .flow-outer {
  padding-inline: 3%;
}
#flow .human-pc {
  width: 300px;
  position: absolute;
  bottom: -24px;
  right: -40px;
}
@media (max-width: 768px) {
  #flow .human-pc {
    display: none;
  }
}
#flow .human-sp {
  display: none;
  width: 80%;
  margin: 16px auto 0;
}
@media (max-width: 768px) {
  #flow .human-sp {
    display: block;
  }
}
#flow .img li {
  position: absolute;
  z-index: -1;
}
#flow .img .cloud {
  width: clamp(100px, 100px + 40 * (100vw - 500px) / 780, 140px);
}
@media (max-width: 500px) {
  #flow .img .cloud {
    width: 100px;
  }
}
#flow .img .cloud:nth-of-type(1) {
  top: 50%;
  left: 0;
}
#flow .img .cloud:nth-of-type(2) {
  top: 55%;
  left: 90px;
}
@media (max-width: 500px) {
  #flow .img .cloud:nth-of-type(2) {
    top: 52%;
    left: 40px;
  }
}
#flow .img .cloud:nth-of-type(3) {
  top: 45px;
  right: 100px;
}
@media (max-width: 500px) {
  #flow .img .cloud:nth-of-type(3) {
    top: 24px;
  }
}
#flow .img .cloud:nth-of-type(4) {
  top: clamp(120px, 120px + 50 * (100vw - 768px) / 512, 170px);
  right: 0;
}
@media (max-width: 500px) {
  #flow .img .cloud:nth-of-type(4) {
    top: 60px;
  }
}
#flow .img .balloon:nth-of-type(5) {
  width: clamp(75px, 75px + 60 * (100vw - 500px) / 780, 135px);
  top: 57%;
  left: 20px;
  transform: rotate(-20deg);
  -webkit-animation: balloon1 5s infinite ease-in-out;
          animation: balloon1 5s infinite ease-in-out;
}
@media (max-width: 768px) {
  #flow .img .balloon:nth-of-type(5) {
    top: 53%;
  }
}
@media (max-width: 500px) {
  #flow .img .balloon:nth-of-type(5) {
    width: 75px;
    top: 55%;
    left: 10px;
  }
}
#flow .img .balloon:nth-of-type(6) {
  width: clamp(90px, 90px + 39 * (100vw - 500px) / 780, 129px);
  top: clamp(48px, 48px + 192 * (100vw - 768px) / 512, 240px);
  right: clamp(25px, 25px + 50 * (100vw - 768px) / 512, 75px);
  transform: rotate(7deg);
  -webkit-animation: balloon2 5s infinite ease-in-out;
          animation: balloon2 5s infinite ease-in-out;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}
@media (max-width: 768px) {
  #flow .img .balloon:nth-of-type(6) {
    top: 150px;
  }
}
@media (max-width: 500px) {
  #flow .img .balloon:nth-of-type(6) {
    width: 90px;
    top: 111px;
    right: 5px;
  }
}

.medical-treatment {
  max-width: 800px;
  margin-inline: auto;
}
.medical-treatment li {
  display: flex;
  position: relative;
  gap: 20px;
}
.medical-treatment li::before {
  display: inline-block;
  font-size: 2rem;
  text-align: center;
  color: var(--base-color);
  background-color: var(--main-color);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  line-height: 52px;
}
@media (max-width: 500px) {
  .medical-treatment li::before {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}
.medical-treatment li::after {
  position: absolute;
  top: -44px;
  content: "";
  background-image: url(../img/dot-yellow.png);
  background-size: contain;
  background-repeat: repeat-x;
  width: 100%;
  height: 100%;
}
.medical-treatment li:nth-of-type(1)::before {
  content: "1";
}
.medical-treatment li:nth-of-type(1)::after {
  display: none;
}
.medical-treatment li:nth-of-type(2)::before {
  content: "2";
}
.medical-treatment li:nth-of-type(3)::before {
  content: "3";
}
.medical-treatment li:nth-of-type(4)::before {
  content: "4";
}
.medical-treatment li:not(:first-of-type) {
  margin-top: 80px;
}
.medical-treatment li .outer {
  width: calc(100% - 72px);
  margin-top: 8px;
}
.medical-treatment .heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 768px) {
  .medical-treatment .heading {
    flex-direction: column;
  }
}
.medical-treatment .heading .text {
  width: calc(100% - 245px);
}
@media (max-width: 768px) {
  .medical-treatment .heading .text {
    width: 100%;
  }
}
.medical-treatment .heading .text p {
  line-height: 2;
}
.medical-treatment .heading h3 {
  font-size: clamp(1.25rem, 20px + 4 * (100vw - 768px) / 512, 1.5rem);
  font-weight: normal;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .medical-treatment .heading h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}
@media (max-width: 500px) {
  .medical-treatment .heading h3 {
    font-size: 1.25rem;
  }
}
.medical-treatment .heading .thumb {
  width: 336px;
}
@media (max-width: 768px) {
  .medical-treatment .heading .thumb {
    width: 100%;
  }
}
.medical-treatment .heading .thumb img {
  height: 213px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .medical-treatment .heading .thumb img {
    height: clamp(250px, 250px + 110 * (100vw - 500px) / 268, 360px);
  }
}
@media (max-width: 500px) {
  .medical-treatment .heading .thumb img {
    height: 250px;
  }
}
.medical-treatment .inner {
  background-color: var(--base-color);
  border-radius: 20px;
  padding: 40px;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .medical-treatment .inner {
    padding: clamp(8px, 8px + 32 * (100vw - 500px) / 780, 40px);
  }
}
.medical-treatment .inner .number,
.medical-treatment .inner .num {
  display: inline-block;
  font-size: 2rem;
  background-color: var(--base-color);
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 50%;
  text-align: center;
  width: 54px;
  height: 54px;
  line-height: 45px;
}
@media (max-width: 768px) {
  .medical-treatment .inner .number,
.medical-treatment .inner .num {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 35px;
  }
}
.medical-treatment .inner dt {
  font-size: clamp(1.25rem, 20px + 4 * (100vw - 768px) / 512, 1.5rem);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 500px) {
  .medical-treatment .inner dt {
    font-size: clamp(1rem, 16px + 4 * (100vw - 320px) / 180, 1.25rem);
    gap: 8px;
  }
}
.medical-treatment .inner dt .text {
  width: calc(100% - 56px);
}
.medical-treatment .inner dd {
  margin: 0 0 32px 74px;
}
@media (max-width: 500px) {
  .medical-treatment .inner dd {
    margin-left: clamp(8px, 8px + 48 * (100vw - 320px) / 180, 56px);
    font-size: clamp(0.875rem, 14px + 2 * (100vw - 320px) / 180, 1rem);
  }
}
.medical-treatment .inner .num {
  background-color: var(--main-color);
  color: var(--base-color);
  margin-right: initial;
  margin-left: 20px;
}

#reviews {
  padding-block: 112px 80px;
  position: relative;
}
@media (max-width: 500px) {
  #reviews {
    padding-block: 72px 80px;
  }
}
#reviews .garland li:first-of-type {
  top: -24px;
  left: 0;
}
@media (max-width: 500px) {
  #reviews .garland li:first-of-type {
    top: -14px;
  }
}
#reviews .garland li:last-of-type {
  top: -24px;
  right: 0;
}
@media (max-width: 500px) {
  #reviews .garland li:last-of-type {
    top: -14px;
  }
}
#reviews h2 span::before {
  background-image: url(../img/dot-color.png);
}
#reviews .items {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  #reviews .items {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 500px) {
  #reviews .items {
    margin-top: 40px;
  }
}
#reviews .items li {
  border-radius: 20px;
  padding: 24px 8px 8px 8px;
  display: flex;
  flex-direction: column;
}
#reviews .items li:nth-of-type(1) {
  background-color: var(--reviews-li1-color);
}
#reviews .items li:nth-of-type(2) {
  background-color: var(--reviews-li2-color);
}
#reviews .items li:nth-of-type(3) {
  background-color: var(--reviews-li3-color);
}
#reviews .thumb {
  width: 183px;
  margin-inline: auto;
}
#reviews .thumb img {
  border-radius: 50%;
  height: 183px;
}
#reviews .name {
  margin-block: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 1000px) {
  #reviews .name {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  #reviews .name {
    flex-direction: row;
  }
}
#reviews .text {
  line-height: 2;
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  background-color: var(--base-color);
}

#price {
  padding-block: 120px 48px;
  background-color: var(--background-price-color);
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  #price {
    padding-block: 72px 158px;
  }
}
#price h2 span::before {
  background-image: url(../img/dot-wave.png);
}
#price h3 {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: normal;
  padding: 8px 24px;
  background-color: var(--price-subtitle-color);
  border-radius: 15px;
}
#price p {
  line-height: 1.7;
}
@media (max-width: 500px) {
  #price p {
    line-height: 1.5;
  }
}
#price .lead {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  #price .lead {
    font-size: clamp(1.4rem, 22.4px + 1.6 * (100vw - 500px) / 268, 1.5rem);
  }
}
@media (max-width: 500px) {
  #price .lead {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
}
#price .lead .color {
  color: var(--text-yellow-color);
}
#price .lead .big {
  font-size: 2rem;
}
@media (max-width: 500px) {
  #price .lead .big {
    font-size: 1.5rem;
  }
}
#price li {
  margin-inline: auto;
}
#price .plan {
  position: relative;
  margin-block: 40px 200px;
}
@media (max-width: 768px) {
  #price .plan {
    margin-block: 40px 180px;
  }
}
@media (max-width: 500px) {
  #price .plan {
    margin-block: 24px 136px;
  }
}
#price .plan .pc {
  display: block;
}
@media (max-width: 500px) {
  #price .plan .pc {
    display: none;
  }
}
#price .plan .sp {
  display: none;
}
@media (max-width: 500px) {
  #price .plan .sp {
    display: block;
  }
}
#price .plan .hygienist {
  position: absolute;
  bottom: -170px;
  left: clamp(350px, 350px + 680 * (100vw - 500px) / 780, 1030px);
  width: clamp(130px, 130px + 50 * (100vw - 500px) / 780, 180px);
}
@media (max-width: 768px) {
  #price .plan .hygienist {
    bottom: -140px;
  }
}
@media (max-width: 500px) {
  #price .plan .hygienist {
    width: 130px;
    right: 10px;
    bottom: -110px;
    left: initial;
  }
}
#price .total-amount {
  margin: 16px auto 32px;
  max-width: 941px;
}
#price .bottom-text {
  position: relative;
  z-index: 1;
}
#price .bottom-text p {
  line-height: 2;
}
@media (max-width: 768px) {
  #price .bottom-text p {
    font-size: clamp(0.875rem, 14px + 2 * (100vw - 500px) / 168, 1rem);
  }
}
@media (max-width: 500px) {
  #price .bottom-text p {
    font-size: 1rem;
  }
}
#price .bottom-text p:first-of-type {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}
@media (max-width: 500px) {
  #price .bottom-text p:first-of-type {
    font-size: 1.25rem;
  }
}
#price .bottom-text .hygienist {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  transform: translateY(-60%);
  width: clamp(120px, 120px + 60 * (100vw - 768px) / 512, 180px);
}
@media (max-width: 768px) {
  #price .bottom-text .hygienist {
    top: 100%;
    transform: initial;
    width: 120px;
  }
}

#doctor-introduction {
  padding-block: 80px;
}
#doctor-introduction h2 {
  border-bottom: 8px dotted #f0aa42;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
#doctor-introduction h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: normal;
}
@media (max-width: 500px) {
  #doctor-introduction h3 {
    font-size: 1.25rem;
  }
}
#doctor-introduction h4 {
  font-size: clamp(1.25rem, 20px + 4 * (100vw - 768px) / 512, 1.5rem);
  font-weight: bold;
  border-bottom: 1px solid var(--text-yellow-color);
}
@media (max-width: 768px) {
  #doctor-introduction h4 {
    font-size: 1.5rem;
  }
}
@media (max-width: 500px) {
  #doctor-introduction h4 {
    font-size: 1.25rem;
  }
}
#doctor-introduction h4 .name {
  font-weight: normal;
}
#doctor-introduction .name-wrapper .flex {
  display: flex;
  justify-content: space-between;
}
#doctor-introduction .name-wrapper .flex .name {
  width: initial;
}
#doctor-introduction h5 {
  font-size: 1rem;
  font-weight: normal;
}
#doctor-introduction .post {
  font-size: 1.25rem;
}
#doctor-introduction .doctor {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  #doctor-introduction .doctor {
    flex-direction: column;
    gap: 16px;
  }
}
#doctor-introduction .doctor:last-of-type {
  margin-top: 80px;
}
#doctor-introduction .portrait {
  width: 50%;
}
@media (max-width: 768px) {
  #doctor-introduction .portrait {
    width: 100%;
  }
}
#doctor-introduction .portrait img {
  border-radius: 50px;
}
#doctor-introduction .inner {
  width: 50%;
}
@media (max-width: 768px) {
  #doctor-introduction .inner {
    width: 100%;
  }
}
#doctor-introduction .inner .text {
  margin-top: 16px;
  line-height: 2;
}
#doctor-introduction .inner .career {
  background-color: var(--background-color);
  padding: 24px;
  margin-top: 16px;
}
#doctor-introduction .inner .career li {
  margin-left: 24px;
  list-style: inside;
  list-style-position: outside;
}

#faq {
  position: relative;
  background-color: var(--background-faq-color);
  padding-bottom: 48px;
}
#faq .wave-top {
  top: -50px;
}
@media (max-width: 768px) {
  #faq .wave-top {
    top: -30px;
  }
}
@media (max-width: 500px) {
  #faq .wave-top {
    top: -20px;
  }
}
#faq .wave-bottom {
  bottom: -50px;
}
@media (max-width: 768px) {
  #faq .wave-bottom {
    bottom: -30px;
  }
}
@media (max-width: 500px) {
  #faq .wave-bottom {
    bottom: -20px;
  }
}

.accordion {
  background-color: var(--base-color);
  border-radius: 20px;
  padding: 16px 24px;
}
.accordion:not(:first-of-type) {
  margin-top: 24px;
}
.accordion .question {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion .question .text {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 500px) {
  .accordion .question .text {
    font-size: 1rem;
    gap: 16px;
  }
}
.accordion .question .text::before {
  display: inline-block;
  content: "Q";
  font-size: 2rem;
  color: var(--base-color);
  background-color: var(--question-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  flex-shrink: 0;
}
@media (max-width: 500px) {
  .accordion .question .text::before {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
}
.accordion .question .btn {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.accordion .question .btn::before, .accordion .question .btn::after {
  display: inline-block;
  top: 50%;
  left: 0;
  position: absolute;
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--question-color);
  transition: all 0.5s;
}
.accordion .question .btn::before {
  transform: rotate(90deg);
}
.accordion .question.close .btn::before {
  transform: rotate(180deg);
}
.accordion .question.close .btn::after {
  opacity: 0;
}
.accordion .box {
  display: none;
}
.accordion .answer {
  border-top: 1px solid var(--question-color);
  display: flex;
  align-items: center;
  padding-top: 16px;
  margin-top: 16px;
}
.accordion .answer::before {
  display: inline-block;
  content: "A";
  font-size: 2rem;
  color: var(--base-color);
  background-color: var(--answer-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin-right: 24px;
  flex-shrink: 0;
}
@media (max-width: 500px) {
  .accordion .answer::before {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
}

#contact {
  margin-top: 40px;
  padding-bottom: 80px;
  position: relative;
}
#contact::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/dot-bg.jpg);
  background-size: contain;
  background-repeat: repeat;
  z-index: -1;
}
#contact .title {
  background-color: var(--main-color);
  height: 87px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact h2 {
  color: var(--base-color);
  display: inline-block;
  margin-bottom: initial;
}
#contact .teeth {
  width: 48px;
}
#contact table {
  margin-block: 32px 24px;
  width: 100%;
  border: 1px solid #333333;
  border-radius: 20px;
  background-color: var(--base-color);
  border-collapse: separate;
  border-spacing: 0;
}
#contact table th,
#contact table td {
  border-bottom: 1px solid #333333;
}
#contact table th {
  width: 30%;
  padding-inline: 24px;
  font-weight: normal;
  text-align: left;
  border-right: 1px solid #333333;
}
@media (max-width: 768px) {
  #contact table th {
    width: 30%;
    line-height: initial;
    padding: 16px;
  }
}
#contact table td {
  width: 70%;
  padding: 24px;
}
@media (max-width: 768px) {
  #contact table td {
    width: 70%;
    padding: 16px;
  }
}
#contact table tr {
  height: 96px;
}
#contact table tr:last-of-type {
  vertical-align: top;
}
#contact table tr:last-of-type th,
#contact table tr:last-of-type td {
  border-bottom: none;
}
#contact table input,
#contact table textarea {
  border: 1px solid #A4A4A4;
  padding: 8px 16px;
}
@media (max-width: 768px) {
  #contact table input {
    width: 100%;
  }
}
#contact table textarea {
  width: 100%;
}
#contact .required {
  color: #BF3131;
}
#contact .submit {
  text-align: center;
  position: relative;
}
#contact .submit input {
  padding: 16px 32px;
  font-weight: bold;
  color: var(--base-color);
  background-color: var(--text-yellow-color);
  border-radius: 84px;
  filter: drop-shadow(0px 4px 4px var(--box-shadow));
  transition: all 0.5s;
}
#contact .submit input:hover {
  transform: scale(1.2);
  color: var(--text-yellow-color);
  background-color: var(--base-color);
  border: 3px solid var(--text-yellow-color);
}
#contact .submit .wpcf7-spinner {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: initial;
}
#contact .wpcf7-list-item input {
  padding: 8px 24px;
}
@media (max-width: 500px) {
  #contact .wpcf7-list-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.lower .mv {
  margin-top: 105px;
  background-image: url(../img/Fv_page2.jpg);
  background-size: cover;
  text-align: center;
  color: var(--text-sub-color);
}
@media (max-width: 768px) {
  .lower .mv {
    margin-top: 56px;
    background-image: url(../img/FV_page2_sp.jpg);
    background-position: right;
    height: calc(100vh - 56px);
  }
}
.lower .mv .wrapper {
  max-width: initial;
  display: inline-block;
  padding-block: 24px;
  position: relative;
  z-index: 1;
  height: 100%;
}
@media (max-width: 768px) {
  .lower .mv .wrapper {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 768px) {
  .lower .mv .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
  }
}
.lower .mv .parent {
  display: block;
  width: clamp(240px, 240px + 160 * (100vw - 768px) / 512, 400px);
  position: absolute;
  bottom: 0;
  right: 80%;
  z-index: -1;
}
@media (max-width: 768px) {
  .lower .mv .parent {
    display: none;
  }
}
.lower .mv .subject {
  display: inline-block;
  color: var(--text-sub-color);
  font-size: 1.5rem;
  background-color: var(--base-color);
  box-shadow: 0px 4px 4px var(--main-color);
  padding-inline: 15px;
  margin-bottom: 24px;
}
@media (max-width: 500px) {
  .lower .mv .subject {
    margin-bottom: 8px;
  }
}
.lower .mv .lead {
  font-size: clamp(1.75rem, 28px + 12 * (100vw - 768px) / 512, 2.5rem);
  font-weight: 600;
}
@media (max-width: 768px) {
  .lower .mv .lead {
    font-size: 2.5rem;
  }
}
@media (max-width: 500px) {
  .lower .mv .lead {
    font-size: clamp(1.5rem, 24px + 16 * (100vw - 320px) / 180, 2.5rem);
  }
}
.lower .mv .lead span {
  color: var(--base-color);
  background-color: var(--pink-color);
  border-radius: 50px;
  padding-inline: 16px;
}
.lower .mv .p-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}
.lower .mv .paragraph {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-block: 24px;
}
@media (max-width: 768px) {
  .lower .mv .paragraph {
    font-size: 1.5rem;
    text-shadow: 0 4px 4px var(--base-color);
  }
}
@media (max-width: 500px) {
  .lower .mv .paragraph {
    font-size: clamp(1rem, 16px + 8 * (100vw - 320px) / 180, 1.5rem);
  }
}
.lower .mv-line {
  margin-inline: auto;
  line-height: 2;
  font-size: 1.5rem;
}
.lower .mv ul li {
  position: absolute;
  width: clamp(134px, 134px + 114 * (100vw - 768px) / 512, 248px);
}
@media (max-width: 768px) {
  .lower .mv ul li {
    width: clamp(130px, 130px + 70 * (100vw - 500px) / 268, 200px);
  }
}
@media (max-width: 500px) {
  .lower .mv ul li {
    width: clamp(105px, 105px + 25 * (100vw - 320px) / 180, 130px);
  }
}
.lower .mv ul li:first-of-type {
  top: clamp(10px, 10px + 30 * (100vw - 768px) / 512, 40px);
  left: clamp(470px, 470px + 230 * (100vw - 768px) / 512, 700px);
}
@media (max-width: 768px) {
  .lower .mv ul li:first-of-type {
    top: initial;
    bottom: clamp(200px, 200px + 50 * (100vw - 500px) / 268, 250px);
    left: 20px;
  }
}
@media (max-width: 500px) {
  .lower .mv ul li:first-of-type {
    bottom: clamp(175px, 175px + 25 * (100vw - 320px) / 180, 200px);
    left: clamp(10px, 10px + 10 * (100vw - 320px) / 180, 20px);
  }
}
.lower .mv ul li:last-of-type {
  top: clamp(98px, 98px + 112 * (100vw - 768px) / 512, 210px);
  left: clamp(510px, 510px + 240 * (100vw - 768px) / 512, 750px);
}
@media (max-width: 768px) {
  .lower .mv ul li:last-of-type {
    top: initial;
    bottom: 100px;
    left: 60px;
  }
}
@media (max-width: 500px) {
  .lower .mv ul li:last-of-type {
    left: clamp(10px, 10px + 50 * (100vw - 320px) / 180, 60px);
  }
}
.lower .mv ul li img {
  height: clamp(81px, 81px + 79 * (100vw - 768px) / 512, 160px);
  border-radius: clamp(25px, 25px + 25 * (100vw - 768px) / 512, 50px);
  border: 2px solid #D9D9D9;
}
@media (max-width: 768px) {
  .lower .mv ul li img {
    height: clamp(90px, 90px + 40 * (100vw - 500px) / 268, 130px);
  }
}
@media (max-width: 500px) {
  .lower .mv ul li img {
    height: clamp(70px, 70px + 20 * (100vw - 320px) / 180, 90px);
  }
}
.lower #worries {
  padding-bottom: 54px;
}
@media (max-width: 768px) {
  .lower #worries .inner {
    padding: 56px 3% 140px;
  }
}
.lower #worries .inner h2 {
  font-size: clamp(1.5rem, 24px + 8 * (100vw - 768px) / 512, 2rem);
  display: inline-block;
  padding-inline: 16px;
}
@media (max-width: 768px) {
  .lower #worries .inner h2 {
    font-size: 2rem;
  }
}
@media (max-width: 500px) {
  .lower #worries .inner h2 {
    font-size: clamp(1.25rem, 20px + 12 * (100vw - 320px) / 180, 2rem);
  }
}
.lower #worries .inner .content {
  max-width: 570px;
  margin: 0 auto 32px;
}
.lower #worries .inner .content .woman {
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 130px;
  z-index: -1;
}
@media (max-width: 500px) {
  .lower #worries .inner .content .woman {
    width: clamp(85px, 85px + 45 * (100vw - 320px) / 180, 130px);
  }
}
.lower #worries .inner .content ul {
  max-width: 400px;
}
@media (max-width: 500px) {
  .lower #worries .inner .content li {
    font-size: clamp(1rem, 16px + 4 * (100vw - 320px) / 180, 1.25rem);
  }
}
.lower #worries .inner .img .cloud:nth-of-type(1) {
  top: 90px;
  bottom: initial;
}
@media (max-width: 500px) {
  .lower #worries .inner .img .cloud:nth-of-type(1) {
    top: 150px;
  }
}
.lower #worries .inner .img .cloud:nth-of-type(2) {
  bottom: initial;
  top: 180px;
  left: -20px;
}
@media (max-width: 768px) {
  .lower #worries .inner .img .cloud:nth-of-type(2) {
    left: -50px;
  }
}
@media (max-width: 500px) {
  .lower #worries .inner .img .cloud:nth-of-type(2) {
    top: 200px;
  }
}
.lower #worries .inner .img .cloud:nth-of-type(3) {
  top: 30px;
  right: 60px;
}
@media (max-width: 500px) {
  .lower #worries .inner .img .cloud:nth-of-type(3) {
    top: 0;
    right: 90px;
  }
}
.lower #worries .inner .img .cloud:nth-of-type(4) {
  top: 110px;
  right: 0;
}
@media (max-width: 500px) {
  .lower #worries .inner .img .cloud:nth-of-type(4) {
    top: 20px;
  }
}
.lower #recommendation {
  position: relative;
  text-align: center;
  line-height: 2;
}
.lower #recommendation::before {
  position: absolute;
  top: -100px;
  right: 0;
  content: "";
  width: 50vw;
  height: 100px;
  background: var(--base-color);
  border-bottom-right-radius: 100%;
  transform: rotate(180deg);
}
.lower #recommendation::after {
  position: absolute;
  top: -100px;
  left: 0;
  content: "";
  width: 50vw;
  height: 100px;
  background: var(--base-color);
  border-bottom-left-radius: 100%;
  transform: rotate(180deg);
}
.lower #recommendation .garland li:first-of-type {
  top: -90px;
  left: 0;
}
.lower #recommendation .garland li:last-of-type {
  top: -90px;
  right: 0;
}
.lower #recommendation h2 {
  padding-top: 32px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .lower #recommendation h2 {
    margin-bottom: 24px;
  }
}
.lower #recommendation h2 span {
  color: var(--text-yellow-color);
}
.lower #recommendation h2 span::before {
  display: none;
}
.lower #recommendation h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}
@media (max-width: 500px) {
  .lower #recommendation h3 {
    font-size: clamp(1.25rem, 20px + 4 * (100vw - 320px) / 180, 1.5rem);
  }
}
.lower #recommendation .lead {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--base-color);
  background-color: var(--pink-color);
  border-radius: 30px;
}
@media (max-width: 768px) {
  .lower #recommendation .lead {
    padding: 8px 24px;
  }
}
@media (max-width: 500px) {
  .lower #recommendation .lead {
    padding: 8px 32px;
  }
}
.lower #recommendation .text {
  margin-bottom: 16px;
}
@media (max-width: 500px) {
  .lower #recommendation .text {
    text-align: left;
  }
}
.lower #recommendation .imagination {
  background-color: var(--background-faq-color);
  border-radius: 50px;
  max-width: 850px;
  padding: 24px 24px 40px;
  margin: 0 auto 116px;
  position: relative;
}
@media (max-width: 500px) {
  .lower #recommendation .imagination {
    padding: 24px 16px 40px;
  }
}
.lower #recommendation .imagination::before, .lower #recommendation .imagination::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 200px solid transparent;
  border-left: 200px solid transparent;
  border-bottom: 0;
}
@media (max-width: 768px) {
  .lower #recommendation .imagination::before, .lower #recommendation .imagination::after {
    border-right: 160px solid transparent;
    border-left: 160px solid transparent;
  }
}
@media (max-width: 500px) {
  .lower #recommendation .imagination::before, .lower #recommendation .imagination::after {
    border-right: 100px solid transparent;
    border-left: 100px solid transparent;
  }
}
.lower #recommendation .imagination::before {
  bottom: -110px;
  border-top: 90px solid var(--reviews-li2-color);
}
@media (max-width: 768px) {
  .lower #recommendation .imagination::before {
    bottom: -100px;
    border-top: 80px solid var(--reviews-li2-color);
  }
}
@media (max-width: 500px) {
  .lower #recommendation .imagination::before {
    bottom: -80px;
    border-top: 70px solid var(--reviews-li2-color);
  }
}
.lower #recommendation .imagination::after {
  bottom: -70px;
  border-top: 90px solid var(--question-color);
}
@media (max-width: 768px) {
  .lower #recommendation .imagination::after {
    bottom: -60px;
    border-top: 80px solid var(--question-color);
  }
}
@media (max-width: 500px) {
  .lower #recommendation .imagination::after {
    bottom: -50px;
    border-top: 70px solid var(--question-color);
  }
}
.lower #recommendation .imagination ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 16px;
}
@media (max-width: 768px) {
  .lower #recommendation .imagination ul {
    grid-template-columns: repeat(1, 1fr);
    max-width: initial;
    width: 240px;
  }
}
.lower #recommendation .imagination li {
  display: flex;
  align-items: center;
}
.lower #recommendation .imagination .icon {
  width: 32px;
  margin-right: 8px;
}
.lower #recommendation .imagination .woman {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  z-index: 2;
}
@media (max-width: 768px) {
  .lower #recommendation .imagination .woman {
    width: clamp(100px, 100px + 40 * (100vw - 500px) / 268, 140px);
  }
}
@media (max-width: 500px) {
  .lower #recommendation .imagination .woman {
    bottom: -70px;
  }
}
.lower #recommendation .bottom {
  font-size: 1.25rem;
}
.lower #recommendation .goods {
  margin-top: 24px;
  display: flex;
  gap: 40px;
}
@media (max-width: 768px) {
  .lower #recommendation .goods {
    gap: 24px;
  }
}
@media (max-width: 500px) {
  .lower #recommendation .goods {
    flex-direction: column;
  }
}
.lower #recommendation .goods li {
  width: 50%;
}
@media (max-width: 500px) {
  .lower #recommendation .goods li {
    width: 100%;
  }
}
.lower #recommendation .goods li img {
  height: clamp(240px, 240px + 80 * (100vw - 768px) / 512, 320px);
  border-radius: 50px;
  border: 2px solid #D9D9D9;
}
@media (max-width: 768px) {
  .lower #recommendation .goods li img {
    height: clamp(140px, 140px + 100 * (100vw - 500px) / 268, 240px);
  }
}
@media (max-width: 500px) {
  .lower #recommendation .goods li img {
    height: clamp(200px, 200px + 60 * (100vw - 320px) / 180, 260px);
  }
}
.lower #correction {
  background-color: var(--background-color);
  padding-block: 48px 200px;
  position: relative;
  overflow: hidden;
  z-index: -2;
}
.lower #correction .wave-top {
  top: 0;
}
.lower #correction .wave-bottom {
  bottom: 0;
}
.lower #correction h2 {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .lower #correction h2 {
    margin-bottom: 100px;
  }
}
@media (max-width: 500px) {
  .lower #correction h2 {
    margin-bottom: 70px;
    font-size: clamp(1.25rem, 20px + 4 * (100vw - 320px) / 180, 1.5rem);
  }
}
.lower #correction .outer {
  max-width: 1000px;
  background-color: var(--base-color);
  border-radius: 60px;
  padding: 24px 40px 40px;
  margin-inline: auto;
  position: relative;
}
@media (max-width: 500px) {
  .lower #correction .outer {
    padding: 24px 16px 40px;
  }
}
.lower #correction .outer h3 {
  font-size: 1.25rem;
  font-weight: normal;
  text-align: center;
}
.lower #correction .outer h4 {
  font-size: 1.25rem;
  font-weight: normal;
  background-color: var(--merit-list2-color);
  line-height: 2;
  width: 300px;
  text-align: center;
}
@media (max-width: 768px) {
  .lower #correction .outer h4 {
    width: 100%;
  }
}
.lower #correction .outer .goods {
  margin-top: 24px;
}
.lower #correction .outer .goods li:first-of-type {
  margin-bottom: 40px;
}
.lower #correction .outer .goods .inner {
  margin-top: 16px;
  display: flex;
  gap: 24px;
}
@media (max-width: 768px) {
  .lower #correction .outer .goods .inner {
    flex-direction: column;
  }
}
.lower #correction .outer .pct {
  width: 300px;
}
@media (max-width: 768px) {
  .lower #correction .outer .pct {
    width: 100%;
  }
}
.lower #correction .outer .pct img {
  height: 226px;
  border-radius: 50px;
  border: 2px solid #D9D9D9;
}
@media (max-width: 768px) {
  .lower #correction .outer .pct img {
    height: clamp(176px, 176px + 180 * (100vw - 320px) / 448, 356px);
  }
}
.lower #correction .outer .text {
  width: calc(100% - 324px);
  line-height: 2;
}
@media (max-width: 768px) {
  .lower #correction .outer .text {
    width: 100%;
  }
}
.lower #correction .outer .text .emphasis {
  margin-top: 16px;
  padding: 16px;
  border: 3px solid var(--merit-list2-color);
}
.lower #correction .outer .illustration li {
  position: absolute;
}
.lower #correction .outer .illustration li:first-of-type {
  top: -80px;
  left: -20px;
  width: clamp(150px, 150px + 20 * (100vw - 768px) / 512, 170px);
}
@media (max-width: 768px) {
  .lower #correction .outer .illustration li:first-of-type {
    top: -100px;
  }
}
@media (max-width: 500px) {
  .lower #correction .outer .illustration li:first-of-type {
    width: 100px;
    top: -60px;
    left: -10px;
  }
}
.lower #correction .outer .illustration li:last-of-type {
  bottom: -150px;
  left: clamp(590px, 590px + 280 * (100vw - 768px) / 512, 870px);
  width: clamp(136px, 136px + 40 * (100vw - 768px) / 512, 176px);
}
@media (max-width: 768px) {
  .lower #correction .outer .illustration li:last-of-type {
    left: clamp(170px, 170px + 420 * (100vw - 320px) / 448, 590px);
  }
}
.lower #correction .img li {
  position: absolute;
  z-index: 0;
}
.lower #correction .img .cloud {
  width: 140px;
}
@media (max-width: 500px) {
  .lower #correction .img .cloud {
    width: 100px;
  }
}
.lower #correction .img .cloud:nth-of-type(1) {
  bottom: 100px;
  left: -50px;
}
.lower #correction .img .cloud:nth-of-type(2) {
  bottom: 30px;
  left: 50px;
}
.lower #correction .img .cloud:nth-of-type(3) {
  top: 45px;
  right: 100px;
}
@media (max-width: 768px) {
  .lower #correction .img .cloud:nth-of-type(3) {
    right: 60px;
  }
}
@media (max-width: 500px) {
  .lower #correction .img .cloud:nth-of-type(3) {
    top: 80px;
    right: 0;
  }
}
.lower #correction .img .cloud:nth-of-type(4) {
  top: 170px;
  right: 0;
}
@media (max-width: 768px) {
  .lower #correction .img .cloud:nth-of-type(4) {
    display: none;
  }
}
.lower #correction .img .balloon:nth-of-type(5) {
  width: 135px;
  bottom: 0;
  left: 20px;
  transform: rotate(-20deg);
  -webkit-animation: balloon1 5s infinite ease-in-out;
          animation: balloon1 5s infinite ease-in-out;
}
@media (max-width: 768px) {
  .lower #correction .img .balloon:nth-of-type(5) {
    width: 105px;
  }
}
.lower #correction .img .balloon:nth-of-type(6) {
  width: 129px;
  top: 20px;
  right: 5px;
  transform: rotate(7deg);
  -webkit-animation: balloon2 5s infinite ease-in-out;
          animation: balloon2 5s infinite ease-in-out;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}
@media (max-width: 768px) {
  .lower #correction .img .balloon:nth-of-type(6) {
    width: clamp(94px, 94px + 35 * (100vw - 500px) / 268, 129px);
  }
}
.lower #merit {
  margin-top: 40px;
  padding-bottom: 160px;
  position: relative;
}
.lower #merit::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/26502341.jpg);
  background-size: contain;
  background-repeat: repeat;
  opacity: 0.3;
  z-index: -3;
}
.lower #merit h2 {
  background-color: var(--main-color);
  height: 87px;
  line-height: 87px;
  color: var(--base-color);
  margin-bottom: initial;
  position: relative;
  z-index: -1;
}
.lower #merit .items {
  max-width: 1000px;
  margin: 98px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 24px + 16 * (100vw - 768px) / 512, 40px);
}
@media (max-width: 768px) {
  .lower #merit .items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .lower #merit .items {
    grid-template-columns: repeat(1, 1fr);
  }
}
.lower #merit .items li {
  border-radius: 40px;
  padding: 16px;
}
.lower #merit .items li:first-of-type {
  position: relative;
}
.lower #merit .items li:nth-child(5) .thumb img {
  -o-object-position: 0 15%;
     object-position: 0 15%;
}
.lower #merit .items li:nth-child(2n+1) {
  background-color: var(--merit-list1-color);
  color: var(--main-color);
}
.lower #merit .items li:nth-child(2n+2) {
  background-color: var(--merit-list2-color);
  color: var(--text-yellow-color);
}
.lower #merit .items li h3 {
  text-align: center;
  font-size: clamp(1rem, 16px + 4 * (100vw - 768px) / 512, 1.25rem);
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .lower #merit .items li h3 {
    font-size: clamp(1rem, 16px + 4 * (100vw - 500px) / 268, 1.25rem);
  }
}
@media (max-width: 500px) {
  .lower #merit .items li h3 {
    font-size: 1.25rem;
  }
}
.lower #merit .items li h3 .num {
  font-size: 2rem;
}
.lower #merit .items li .thumb img {
  height: 200px;
}
@media (max-width: 500px) {
  .lower #merit .items li .thumb img {
    height: 250px;
  }
}
.lower #merit .items li p {
  color: var(--text-main-color);
  line-height: 2;
}
.lower #merit .items li .illustration {
  width: clamp(210px, 210px + 90 * (100vw - 768px) / 512, 300px);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .lower #merit .items li .illustration {
    transform: initial;
    left: 0;
    width: clamp(180px, 180px + 30 * (100vw - 500px) / 268, 210px);
  }
}
.lower #merit .img li {
  position: absolute;
  z-index: 0;
}
.lower #merit .img .balloon:nth-of-type(1) {
  width: clamp(95px, 95px + 40 * (100vw - 768px) / 512, 135px);
  bottom: -40px;
  left: 20px;
  transform: rotate(-20deg);
  -webkit-animation: balloon1 5s infinite ease-in-out;
          animation: balloon1 5s infinite ease-in-out;
}
@media (max-width: 768px) {
  .lower #merit .img .balloon:nth-of-type(1) {
    bottom: 0;
  }
}
.lower #merit .img .balloon:nth-of-type(2) {
  width: clamp(119px, 119px + 10 * (100vw - 768px) / 512, 129px);
  top: clamp(10px, 10px + 10 * (100vw - 768px) / 512, 20px);
  right: clamp(10px, 10px + 20 * (100vw - 768px) / 512, 30px);
  transform: rotate(7deg);
  -webkit-animation: balloon2 5s infinite ease-in-out;
          animation: balloon2 5s infinite ease-in-out;
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}
.lower #merit .img .balloon:nth-of-type(3) {
  width: clamp(72px, 72px + 30 * (100vw - 768px) / 512, 102px);
  top: 620px;
  right: 30px;
  transform: rotate(5.6deg);
  -webkit-animation: balloon3 5s infinite ease-in-out;
          animation: balloon3 5s infinite ease-in-out;
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
}
@media (max-width: 768px) {
  .lower #merit .img .balloon:nth-of-type(3) {
    top: 600px;
  }
}
@media (max-width: 500px) {
  .lower #merit .img .balloon:nth-of-type(3) {
    top: 1160px;
  }
}
.lower #change {
  background-color: var(--background-color);
  position: relative;
  text-align: center;
  padding-block: 40px;
  margin-bottom: 80px;
  z-index: -2;
}
.lower #change .wave-top {
  background-color: initial;
  top: -50px;
}
@media (max-width: 768px) {
  .lower #change .wave-top {
    top: -20px;
  }
}
.lower #change .wave-bottom {
  bottom: -40px;
}
@media (max-width: 768px) {
  .lower #change .wave-bottom {
    bottom: -20px;
  }
}
.lower #change .lead {
  display: inline-block;
  color: var(--text-sub-color);
  font-size: clamp(1.5rem, 24px + 8 * (100vw - 768px) / 512, 2rem);
  position: relative;
}
@media (max-width: 768px) {
  .lower #change .lead {
    font-size: 2rem;
  }
}
@media (max-width: 500px) {
  .lower #change .lead {
    font-size: clamp(1.25rem, 20px + 12 * (100vw - 320px) / 180, 2rem);
    margin-bottom: 160px;
  }
}
.lower #change .lead span {
  font-size: clamp(1.5rem, 24px + 12 * (100vw - 768px) / 512, 2.25rem);
  font-weight: 500;
}
@media (max-width: 768px) {
  .lower #change .lead span {
    font-size: 2rem;
  }
}
@media (max-width: 500px) {
  .lower #change .lead span {
    font-size: clamp(1.25rem, 20px + 12 * (100vw - 320px) / 180, 2rem);
  }
}
.lower #change .lead .color {
  color: var(--text-yellow-color);
}
.lower #change .lead .marker {
  position: relative;
  z-index: 1;
}
.lower #change .lead .marker::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  content: "";
  background-image: url(../img/marker.png);
  background-size: cover;
  opacity: 0.8;
  width: 108%;
  height: 100%;
  z-index: -1;
}
.lower #change .lead .woman {
  position: absolute;
  top: 50%;
  left: clamp(550px, 550px + 250 * (100vw - 768px) / 512, 800px);
  transform: translateY(-50%);
  width: clamp(108px, 108px + 52 * (100vw - 768px) / 512, 160px);
}
@media (max-width: 768px) {
  .lower #change .lead .woman {
    left: clamp(380px, 380px + 70 * (100vw - 500px) / 268, 450px);
    width: clamp(88px, 88px + 60 * (100vw - 500px) / 268, 148px);
  }
}
@media (max-width: 500px) {
  .lower #change .lead .woman {
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
  }
}
.lower #change .bottom span {
  color: var(--text-yellow-color);
}
.lower #change .img li {
  position: absolute;
  z-index: -1;
}
.lower #change .img .cloud {
  width: 140px;
}
@media (max-width: 500px) {
  .lower #change .img .cloud {
    width: 110px;
  }
}
.lower #change .img .cloud:nth-of-type(1) {
  top: 20px;
  left: -50px;
}
@media (max-width: 500px) {
  .lower #change .img .cloud:nth-of-type(1) {
    top: 200px;
  }
}
.lower #change .img .cloud:nth-of-type(2) {
  top: 90px;
  left: 80px;
}
@media (max-width: 500px) {
  .lower #change .img .cloud:nth-of-type(2) {
    top: 280px;
  }
}
.lower #change .img .cloud:nth-of-type(3) {
  top: 170px;
  right: 100px;
}
@media (max-width: 500px) {
  .lower #change .img .cloud:nth-of-type(3) {
    top: 270px;
  }
}
.lower #change .img .cloud:nth-of-type(4) {
  top: 300px;
  right: 0;
}
@media (max-width: 500px) {
  .lower #change .img .cloud:nth-of-type(4) {
    top: 350px;
  }
}
.lower .ba {
  display: flex;
  text-align: left;
  margin-block: 40px;
}
@media (max-width: 768px) {
  .lower .ba {
    flex-direction: column;
  }
}
.lower .ba h3 {
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
  width: 144px;
}
.lower .ba .before,
.lower .ba .after {
  width: 40%;
}
@media (max-width: 768px) {
  .lower .ba .before,
.lower .ba .after {
    width: 100%;
  }
}
.lower .ba .before h3 {
  border: 3px solid var(--text-yellow-color);
  background-color: var(--base-color);
}
.lower .ba .after h3 {
  color: var(--base-color);
  background-color: var(--text-yellow-color);
}
.lower .ba .inner {
  margin-top: 24px;
}
.lower .ba .inner .mouth img {
  border-radius: 20px 20px 0 0;
  height: 322px;
}
.lower .ba .inner ul {
  background-color: var(--base-color);
  border-radius: 0 0 20px 20px;
  padding: 16px 16px 16px 0;
}
.lower .ba .inner li {
  list-style: inside;
  list-style-position: outside;
  margin-left: 35px;
  line-height: 2;
  font-size: 1.25rem;
}
.lower .ba .arrow {
  width: 20%;
  position: relative;
}
@media (max-width: 768px) {
  .lower .ba .arrow {
    width: 20%;
    height: 100px;
    transform: rotate(90deg);
    margin-inline: auto;
  }
}
.lower .ba .arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 50%;
  height: 50px;
  -webkit-clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
          clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
  background-color: var(--text-yellow-color);
}

article {
  margin-top: 105px;
}
@media (max-width: 768px) {
  article {
    margin-top: 56px;
  }
}
article .wrapper {
  padding-block: 40px;
  text-align: center;
}
article h2 {
  position: relative;
  display: inline-block;
}
article h2::before {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 30%;
  height: 3px;
  background-color: var(--main-color);
}
article ol {
  text-align: left;
}
article ol li:not(:first-child) {
  margin-top: 80px;
}
article ol h3 {
  font-size: 1.75rem;
  font-weight: normal;
  border-bottom: 1px solid var(--text-main-color);
  margin-bottom: 24px;
}
@media (max-width: 500px) {
  article ol h3 {
    font-size: 1.25rem;
  }
}
/*# sourceMappingURL=main.css.map */