/* ------------------------------------
// common
------------------------------------ */
header::after {
  mask-image: url(../img/cmn/bg_wave_01.svg);
  aspect-ratio: 1440/57;
}

#contact_fixed {
  display: none;
}

main > section:first-child,
main .section:first-child {
  padding-block: clamp(5rem, 11.7vw, 14.5rem) clamp(5rem, 11.3vw, 14rem);
  background: var(--color-beige6);
}
main > section:first-child::before, main > section:first-child::after,
main .section:first-child::before,
main .section:first-child::after {
  mask-image: url(../img/cmn/bg_wave_01.svg);
  background: var(--color-beige6);
  aspect-ratio: 1440/57;
}
main > section:first-child::after,
main .section:first-child::after {
  display: block;
}

/* ------------------------------------
// mv
------------------------------------ */
#mv {
  background: var(--color-beige6);
}
#mv .swiper-wrapper {
  transition-timing-function: linear !important;
}
#mv .swiper-wrapper .swiper-slide {
  --space: 0.9rem;
  width: calc((100% - var(--space)) / 3);
}
@media screen and (max-width: 1024px) {
  #mv .swiper-wrapper .swiper-slide {
    --space: 0.3rem;
  }
}

/* ------------------------------------
// relief
------------------------------------ */
#relief {
  z-index: 2;
}
#relief .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}
@media screen and (max-width: 768px) {
  #relief .inner {
    flex-wrap: wrap;
    gap: 5rem;
  }
}
#relief .inner .text {
  flex: 1;
  white-space: nowrap;
}
@media screen and (max-width: 1024px) {
  #relief .inner .text {
    text-align: center;
  }
}
#relief .inner .text p {
  font-size: clamp(2rem, 2.6vw, 3.2rem);
  line-height: 1.5;
}
#relief .inner .text p span {
  margin-bottom: clamp(1rem, 1.6vw, 2rem);
  display: block;
  font-size: clamp(1.4rem, 1.5vw, 1.8rem);
}
#relief .inner .time {
  flex-basis: 64rem;
  display: flex;
}
@media screen and (max-width: 1024px) {
  #relief .inner .time {
    flex-basis: auto;
  }
}
@media screen and (max-width: 768px) {
  #relief .inner .time {
    display: block;
    margin: 0 auto;
  }
}
#relief .inner .time h2 {
  border-radius: 1rem 0 0 1rem;
  background: var(--color-brown1);
  color: #fff;
  writing-mode: vertical-rl;
  letter-spacing: 0.5em;
  display: grid;
  place-content: center;
  padding: 1em;
}
@media screen and (max-width: 768px) {
  #relief .inner .time h2 {
    font-size: 1.6rem;
    writing-mode: horizontal-tb;
    border-radius: 1rem 1rem 0 0;
  }
}
#relief .inner .time .detail {
  flex: 1;
  border-radius: 0 1rem 1rem 0;
  background: var(--color-white_op);
  padding: 3rem 1.5rem 2.5rem;
}
@media screen and (max-width: 768px) {
  #relief .inner .time .detail {
    border-radius: 0 0 1rem 1rem;
    background: #fff;
    padding: 2rem;
  }
}
#relief .inner .time .detail > div {
  max-width: 460px;
  margin: 0 auto;
}
#relief .inner .time .detail > div table {
  width: 100%;
}
#relief .inner .time .detail > div table th,
#relief .inner .time .detail > div table td {
  font-weight: 400;
  padding: 0.8em;
  text-align: center;
  border-bottom: solid 1px var(--color-gray1);
}
@media screen and (max-width: 768px) {
  #relief .inner .time .detail > div table th,
  #relief .inner .time .detail > div table td {
    padding: 0.3em;
    font-size: 1.4rem;
  }
}
#relief .inner .time .detail > div table thead th {
  padding-top: 0;
}
#relief .inner .time .detail > div table tbody th {
  text-align: left;
  width: 8.5em;
}
@media screen and (max-width: 768px) {
  #relief .inner .time .detail > div table tbody th {
    width: 4em;
  }
}
#relief .inner .time .detail > div table tbody td {
  font-size: clamp(1.4rem, 1.3vw, 1.6rem);
  color: var(--color-brown1);
}
#relief .inner .time .detail > div table tbody td.off {
  color: var(--color-base);
}
#relief .inner .time .detail > div .note {
  display: flex;
  margin: 2rem -1rem 0 0;
}
#relief .inner .time .detail > div .note span {
  flex-shrink: 0;
  color: var(--color-brown1);
}
#relief .inner .time .detail > div .util {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "reserve tel";
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  #relief .inner .time .detail > div .util {
    display: none;
  }
}
#relief .inner .time .detail > div .util .btn a {
  background: var(--color-beige4);
  border-radius: 50vh;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#relief .inner .time .detail > div .util .btn a::before {
  content: "";
  width: 3rem;
  background-size: contain;
  background-repeat: no-repeat;
}
#relief .inner .time .detail > div .util .btn a:hover {
  background: var(--color-beige2);
}
#relief .inner .time .detail > div .util .btn.reserve {
  grid-area: reserve;
}
#relief .inner .time .detail > div .util .btn.reserve a::before {
  content: "";
  aspect-ratio: 60/44;
  background-image: url(../img/cmn/icon_pc.webp);
}
#relief .inner .time .detail > div .util .btn.monshin {
  grid-area: monshin;
}
#relief .inner .time .detail > div .util .btn.monshin a::before {
  content: "";
  aspect-ratio: 60/48;
  background-image: url(../img/cmn/icon_monshin.webp);
}
#relief .inner .time .detail > div .util .tel {
  grid-area: tel;
  justify-self: center;
  font-family: "Jost", sans-serif;
  margin-right: -2rem;
}
#relief .inner .time .detail > div .util .tel a {
  font-size: clamp(2rem, 2.3vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  letter-spacing: 0.05em;
}
#relief .inner .time .detail > div .util .tel a::before {
  content: "";
  aspect-ratio: 17/30;
  width: 1.7rem;
  background: url(../img/cmn/icon_mobile.webp) no-repeat 0 0/contain;
}

/* ------------------------------------
// news
------------------------------------ */
#news {
  background: var(--color-beige7);
  padding-block: clamp(5rem, 9.7vw, 12rem);
}
#news .inner {
  display: grid;
  grid-template-columns: 30% 1fr;
  grid-template-rows: 1fr max-content;
  grid-template-areas: "heading news" "btn news";
  gap: 0 2rem;
}
#news .inner .htype01 {
  grid-area: heading;
  text-align: left;
  margin-bottom: 0;
}
#news .inner .news {
  grid-area: news;
}
#news .inner .news > div {
  border-bottom: solid 1px var(--color-gray1);
  padding: clamp(1.8rem, 2vw, 2.5rem) 0;
}
#news .inner .news > div:first-child {
  border-top: solid 1px var(--color-gray1);
}
#news .inner .news > div {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 3rem;
}
@media screen and (max-width: 768px) {
  #news .inner .news > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
#news .inner .news > div dd a {
  text-decoration: underline;
}
#news .inner .news > div dd a::after {
  content: "";
  aspect-ratio: 42/15;
  width: 2.1rem;
  mask: url(../img/cmn/icon_arrow_01.svg) no-repeat 0 0/contain;
  background: var(--color-base);
  margin-left: 1rem;
  display: inline-block;
}
#news .inner .btn01 {
  grid-area: btn;
}
#news .inner .btn01 a {
  max-width: 16rem;
}
@media screen and (max-width: 768px) {
  #news .inner {
    display: block;
  }
  #news .inner .htype01 {
    text-align: center;
    margin-bottom: 2rem;
  }
  #news .inner .news li a,
  #news .inner .news li div {
    display: block;
  }
  #news .inner .news li a span.date,
  #news .inner .news li div span.date {
    display: block;
    margin: 0 0 0.5rem 0;
  }
  #news .inner .btn01 {
    margin-top: 4rem;
  }
  #news .inner .btn01 a {
    max-width: none;
  }
}

/* ------------------------------------
// about
------------------------------------ */
#about {
  background: var(--color-beige8);
  padding-block: clamp(5rem, 10.9vw, 13.5rem) clamp(5rem, 15.3vw, 19rem);
}
#about::before {
  background: var(--color-beige8);
}
#about .inner > .image {
  margin-bottom: clamp(2rem, 8.1vw, 10rem);
}
#about .inner .about {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
#about .inner .about .htype01 {
  flex-basis: 47rem;
  text-align: left;
}
#about .inner .about .text {
  flex-basis: 60rem;
}
#about .inner .about .text .btn01 {
  margin-top: clamp(4rem, 5.6vw, 7rem);
}
@media screen and (max-width: 768px) {
  #about .inner .about {
    display: block;
  }
  #about .inner .about .htype01 {
    text-align: center;
  }
}

/* ------------------------------------
// treatment
------------------------------------ */
#treatment {
  background: var(--color-beige5);
  padding-bottom: clamp(9rem, 14.9vw, 18.5rem);
}
#treatment::before {
  background: var(--color-beige5);
}
#treatment > .image {
  position: relative;
  margin: 0 calc(-1 * clamp(3rem, 5.1vw, 6.3rem)) clamp(5rem, 8.1vw, 10rem);
}
#treatment > .image::before, #treatment > .image::after {
  content: "";
  mask: url(../img/cmn/bg_wave_02.svg) no-repeat 0 0/100% 100%;
  background: var(--color-beige5);
  position: absolute;
  width: 100%;
  aspect-ratio: 1440/33;
  left: 0;
}
#treatment > .image::before {
  top: 0;
  transform: scale(-1, 1);
}
#treatment > .image::after {
  bottom: -1px;
  transform: scale(-1, -1);
}
#treatment .inner .list_treatment + .btn01 {
  margin-top: clamp(3rem, 4.8vw, 6rem);
}
#treatment .inner .list_treatment + .btn01 a {
  max-width: 40rem;
  margin-inline: auto;
}
#treatment .inner .type_treatment {
  margin-top: clamp(5rem, 8.1vw, 10rem);
}

/* ------------------------------------
// feature
------------------------------------ */
#feature {
  background: var(--color-beige9);
  padding-inline: 0;
}
#feature::before, #feature::after {
  background: var(--color-beige9);
}
#feature::before {
  transform: translateY(-100%) scale(-1, -1);
}
#feature .htype01 {
  margin-bottom: clamp(3rem, 4.8vw, 6rem);
}
#feature .lead {
  font-size: clamp(2.5rem, 3.2vw, 4rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: clamp(6rem, 9.7vw, 12rem);
  line-height: 1.7;
}
#feature .feature > section {
  display: grid;
  grid-template-columns: min(40%, 420px) 1fr;
  grid-template-rows: 1fr max-content max-content;
  grid-template-areas: "image hgroup" "image detail" "image btn";
  gap: 0 8rem;
  max-width: 1200px;
  margin-inline: max(5rem, (100% - 1200px) / 2);
}
#feature .feature > section:nth-child(even) {
  grid-template-columns: 1fr min(40%, 420px);
  grid-template-areas: "hgroup image" "detail image" "btn image";
}
#feature .feature > section + * {
  margin-top: clamp(5rem, 4vw, 5rem);
}
@media screen and (max-width: 1024px) {
  #feature .feature > section {
    gap: 0 6rem;
  }
}
@media screen and (max-width: 768px) {
  #feature .feature > section {
    display: block;
    margin-inline: 3rem;
  }
  #feature .feature > section:nth-child(even) {
    margin-inline: 3rem;
  }
}
#feature .feature > section hgroup {
  grid-area: hgroup;
  align-self: end;
}
#feature .feature > section hgroup p {
  aspect-ratio: 1;
  width: clamp(4.5rem, 7.3vw, 9rem);
  border-radius: 50%;
  background: var(--color-brown3);
  color: #fff;
  display: grid;
  place-content: center;
  place-items: center;
  position: relative;
  font-family: "Outfit", sans-serif;
  padding-top: clamp(0.5rem, 0.8vw, 1rem);
}
#feature .feature > section hgroup p span {
  line-height: 1;
}
#feature .feature > section hgroup p span:nth-child(1) {
  font-size: clamp(0.6rem, 1vw, 1.2rem);
  text-transform: uppercase;
}
#feature .feature > section hgroup p span:nth-child(2) {
  font-size: clamp(2rem, 3.2vw, 4rem);
}
#feature .feature > section hgroup p::after {
  content: "";
  aspect-ratio: 44/40;
  width: clamp(1.1rem, 1.8vw, 2.2rem);
  background: url(../img/top/icon_arrow_point.webp) no-repeat 0 0/contain;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(0, -20%);
}
#feature .feature > section hgroup h3 {
  margin-top: clamp(1.5rem, 2vw, 2.5rem);
  font-size: clamp(1.5rem, 1.9vw, 2.4rem);
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  #feature .feature > section hgroup {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  #feature .feature > section hgroup h3 {
    margin-top: 0;
  }
}
#feature .feature > section .image {
  grid-area: image;
  align-self: end;
}
@media screen and (max-width: 768px) {
  #feature .feature > section .image {
    max-width: clamp(120px, 60%, 370px);
    margin: 0;
  }
}
#feature .feature > section > p {
  grid-area: detail;
  margin-top: clamp(2rem, 3.2vw, 4rem);
}
#feature .feature > section .btn01 {
  grid-area: btn;
  margin-top: clamp(2rem, 3.2vw, 4rem);
}