@charset "UTF-8";

/* ======================================
   MV
   ====================================== */
.mv {
  background: url(../img/mv-bg.jpg) no-repeat center / cover;
}

.mv__content {
  padding: 12% 10% 12% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv__title {
  position: relative;
  z-index: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 40px;
  font-weight: 400;
}

.mv__title-inner {
  background: linear-gradient(92.17deg, #6C7357 -0.54%, #4F6266 18.73%, #909790 92.67%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

/* 「一人ひとりに」直後の改行は狭幅（450px以下）でのみ有効にする */
.mv__title-br-narrow {
  display: none;
}
@media (max-width: 450px) {
  .mv__title-br-narrow {
    display: inline;
  }
}

.mv__title::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 120px;
  width: 238px;
  height: 225px;
  background: url(../img/mv-R.svg) no-repeat center / contain;
  z-index: -1;
}

.mv__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mv__text {
  font-family: var(--font-serif);
}

.mv__badges {
  display: flex;
  gap: 16px;
}

.mv__badges-feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 0.5px solid #bec5c8;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
  box-shadow: 3px 4px 4px rgba(152, 163, 168, 0.38);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.2;
}

.mv__first-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--color-text-secondary);
  font-family: var(--font-serif);
  font-weight: 600;
  border-bottom: 1px solid #615D69;
  align-self: flex-start;
  padding-bottom: 3px;
}

.mv__first-link::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(../img/icon-arrow-circle.svg) no-repeat center;
}

/* --- MV：レスポンシブ --- */
@media (max-width: 1300px) {
  .mv {
    background-position: right 20% center;
  }
}

@media (max-width: 768px) {
  .mv {
    background-image: url(../img/mv-bg-sp.jpg);
    background-position: center top 15%;
  }

  .mv__content {
    padding: 60% 24px 24px;
  }

  .mv__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .mv__title::before {
    top: -20px;
    left: 60px;
    width: 160px;
    height: 150px;
  }

  .mv__body {
    gap: 16px;
  }

  .mv__text {
    font-size: 14px;
  }

  .mv__badges {
    /* flex-direction: column; */
    flex-wrap: wrap;
    /* align-items: flex-start; */
    gap: 8px;
  }

  .mv__badges-feature {
    font-size: 14px;
    padding: 8px 12px;
  }

  .mv__first-link {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .mv {
    background-position: right 40% top;
    /* background-size: cover; */
  }
}

@media (min-width: 1400px) {
  .mv__content {
    padding: 10% 10% 10% 5%;
  }

  .mv__title {
    margin-bottom: 48px;
  }

  .mv__body {
    gap: 32px;
  }

  .mv__first-link {
    margin-top: 40px;
  }
}

/* ======================================
   Message
   ====================================== */
.message {
  background: url('../img/bg-message.png') center bottom / 100% auto no-repeat;
  padding-top: 100px;
}

.message__body {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  font-family: var(--font-serif);
  padding-bottom: 100px;
}

.message__portrait {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  isolation: isolate;
}

.message__portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg-case);
  transform: rotate(3.23deg);
  z-index: 0;
}

.message__portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .message {
    padding-top: 50px;
    background-image: url('../img/bg-message-sp.png');
  }

  .message__body {
    font-size: 14px;
    padding-bottom: 50px;
    gap: 20px;
  }

  .message__portrait {
    width: 200px;
    height: 200px;
  }
}

/* ======================================
   Monthly Picks
   ====================================== */
.monthly-picks__lead {
  text-align: center;
}

.monthly-picks__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  justify-content: center;
  margin: 24px auto 0;
  gap: 0 20px;
  justify-items: center;
}

.monthly-picks__item {
  display: block;
}

/* 診療のアイキャッチ（1000×600＝5:3）に比率を合わせる */
.monthly-picks__img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

.monthly-picks__item:nth-child(n+4) {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.monthly-picks__list.is-open .monthly-picks__item:nth-child(n+4) {
  max-height: 500px;
  opacity: 1;
  margin-top: 40px;
}

.monthly-picks .btn-primary::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background: url(../img/icon-plus.svg) no-repeat center / contain;
}

.monthly-picks .btn-primary.is-open::after {
  background-image: url(../img/icon-minus.svg);
}

@media (max-width: 768px) {

  .monthly-picks__list {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }

  .monthly-picks__item:nth-child(2),
  .monthly-picks__item:nth-child(3) {
    margin-top: 10px;
  }

  .monthly-picks__list.is-open .monthly-picks__item:nth-child(n+4) {
    margin-top: 10px;
  }
}

/* ======================================
   Service
   ====================================== */

.service__lead {
  text-align: center;
  margin-bottom: 20px;
}

.service__content {
  position: relative;
  background-image: url('../img/service-bg-light.png');
  background-size: cover;
  background-position: center;
  padding: 50px 30px;
}

.service__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service__column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  color: inherit;
  font: inherit;
  cursor: default;
}

.service__column-heading {
  position: relative;
  text-align: center;
  margin-bottom: 0;
}

.service__column-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: #e8e8e8;
  opacity: 0.5;
  mix-blend-mode: multiply;
  text-transform: capitalize;
}

.service__column-ja {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  color: #564849;
  line-height: 1;
  margin-top: -34px;
  position: relative;
  z-index: 1;
}

.service__column-icon {
  margin-top: 15px;
}

.service__column-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service__list {
  width: 100%;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service__item {
  display: flex;
  align-items: center;
  padding: 8px 18px 8px 8px;
  background: rgb(255 255 255 / 80%) url(../img/icon-arrow-right.svg) no-repeat right 8px center / 6px 11px;
  border: 0.5px solid #9c9c9c;
  color: var(--color-text-secondary);
}

.service__item-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service__item-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
}

.service__item-desc {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.4;
}

/* --- Service：レスポンシブ --- */
@media (max-width: 768px) {
  .service__content {
    padding: 30px 16px;
  }

  .service__columns {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .service__column {
    display: contents;
  }

  .service__tab {
    grid-row: 1;
    align-self: stretch;
    flex-direction: column-reverse;
    padding: 16px 4px 12px;
    background: rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
  }

  .service__column:last-child .service__tab {
    border-right: none;
  }

  .service__column.is-active .service__tab {
    background: #fff;
  }

  .service__tab .service__column-en {
    display: none;
  }

  .service__column-icon {
    width: 48px;
    height: 48px;
    margin-top: 0;
  }

  .service__column-ja {
    margin-top: 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .service__list {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 20px 16px;
    background: #fff;
    display: none;
  }

  .service__column.is-active .service__list {
    display: flex;
  }
}

/* ======================================
   Cases 症例
   ====================================== */
.cases {
  position: relative;
  padding-bottom: 100px;
}

.cases::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 150%;
  background: url('../img/cases-bg.jpg') center / cover no-repeat;
  z-index: -1;
  filter: blur(25px);
}

.cases__content {
  position: relative;
  display: grid;
  max-width: 1120px;
  grid-template-columns: 1fr 380px;
  margin: auto;
  gap: 20px;
}

.cases__images {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.cases__images--left {
  position: relative;
}

.cases__img--01 {
  width: 40%;
  position: absolute;
  z-index: -1;
}

.cases__img--02 {
  width: 65%;
  margin: 35% 0 0 35%;
}

.cases__img--03 {
  margin-top: 10%;
}

.cases__info {
  display: flex;
  flex-direction: column;
  gap: 52px;
  flex-shrink: 0;
  justify-content: center;
}

.cases__info .btn-primary {
  max-width: 200px;
}

@media (max-width: 768px) {

  .cases {
    padding-bottom: 30px;
  }

  .cases__content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cases__info {
    gap: 20px;
  }

  .cases__info .btn-primary {
    align-self: center;
  }
}

/* ======================================
   CTA
   ====================================== */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  overflow: hidden;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bg--right {
  right: 0;
  top: 0;
  width: 629px;
  height: 351px;
}

.cta__bg--left {
  left: 0;
  bottom: 0;
  width: 446px;
  height: 352px;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px 82px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 352px;
  height: 87px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-serif);
}

.cta__btn--web {
  background-color: var(--color-btn-primary);
}

.cta__btn--line {
  background-color: var(--color-btn-secondary);
}

@media (max-width: 768px) {

  .cta__btn {
    width: 100%;
    max-width: 300px;
    height: auto;
    font-size: 16px;
    padding: 15px;
  }

  .cta__inner {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* ======================================
   Reason 選ばれる理由
   ====================================== */
.reason>.inner {
  position: relative;
  z-index: 1;
}

.reason__lead {
  text-align: center;
}

.reason__points {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  justify-content: center;
  position: relative;
}

.reason__points::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  margin-left: calc(calc(100% - 100vw) * 0.5);
  height: 100%;
  background: linear-gradient(181deg, #E1E3EB 0%, #afb0b400 98%);
  pointer-events: none;
  z-index: -1;
}

.reason__point {
  flex: 1;
  position: relative;
  max-width: 310px;
}

.reason__point-img {
  display: block;
  margin: 0 0 0 auto;
  max-width: 300px;
  width: 95%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  padding-bottom: 30px;
}

.reason__point-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  background: #fff;
  padding: 5%;
}

.reason__point-number {
  font-family: var(--font-en);
  font-size: 22px;
  line-height: 1;
  color: var(--color-heading);
}

.reason__point-text {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
}

.reason__desc {
  margin-top: 60px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reason .btn-wrap {
  margin-top: 52px;
}

@media (max-width: 768px) {

  .reason__points {
    flex-direction: column;
    align-items: center;
  }

  .reason__point {
    width: 100%;
  }

  .reason__points::before {
    top: 10%;
  }
}

/* ======================================
   Doctor
   ====================================== */
.doctor-section .section-heading {
  margin-bottom: 56px;
}

.doctor-section__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  justify-content: center;
}

.doctor-card__upper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doctor-card__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
  object-position: top;
}

.doctor-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-card__name {
  font-weight: bold;
}

.doctor-card__desc {
  font-size: 14px;
}

.doctor-card__links {
  display: flex;
  gap: 16px;
}

.doctor-card__follow,
.doctor-card__schedule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.doctor-card .btn-wrap {
  margin-top: 20px;
}

@media (max-width: 768px) {

  .doctor-section__list {
    grid-template-columns: 1fr;
  }

  .doctor-card__upper {
    grid-template-columns: 1fr;
  }
}

/* ======================================
   Campaign キャンペーン情報
   ====================================== */
.campaign .section-heading {
  margin-bottom: 0;
}

/* --- Campaign：バナー（3列×2行） --- */
/* .campaign__banners 本体は common.css（複数テンプレートで共通利用） */
.campaign .campaign__banners {
  margin-top: 40px;
}

.campaign__bg {
  background-color: #f0f0f0;
  padding: 80px 0;
  margin-top: -30px;
}

.campaign__media {
  display: flex;
  gap: 60px;
}

.campaign__youtube,
.campaign__line {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.campaign__media-title {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.campaign__youtube-thumb {
  margin-top: 16px;
}

.campaign__youtube-thumb img {
  width: 100%;
  height: auto;
}

.campaign__media-sub {
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

.campaign__media-link {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 8px 52px;
  background-color: #d9d9d9;
  border-radius: 4px;
}

.campaign__line-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.campaign__line-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.campaign__line-desc {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 0;
}

.campaign__line-merits {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.campaign__line-merit {
  flex: 1;
  background-color: #f5f3f0;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.campaign__line-merit-title {
  font-weight: 500;
  margin-bottom: 8px;
}

.campaign__cards {
  display: flex;
  gap: 24px;
  margin-top: 56px;
}

.campaign__card {
  flex: 1;
}

.campaign__card-label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-text-primary);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.campaign__card-text {
  font-size: 14px;
  line-height: 1.57;
  margin-bottom: 16px;
}

.campaign__card-img {
  width: 100%;
  height: auto;
}

/* ======================================
   Blog
   ====================================== */
.blog-section .section-heading {
  margin-bottom: 24px;
}

.blog-section__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 20px;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  position: relative;
}

.blog-section__list::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  width: 100vw;
  margin-left: calc(calc(100% - 100vw) * 0.5);
  height: 300%;
  background: linear-gradient(181deg, #E1E3EB 0%, #afb0b400 98%);
  pointer-events: none;
  z-index: -1;
}

.blog-card {
  flex: 1;
}

.blog-card__link {
  display: block;
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card__date {
  display: block;
  color: var(--color-heading);
  background-color: #fff;
  padding: 1px 10px 2px 30px;
  background-image: url(../img/icon-date.svg);
  background-repeat: no-repeat;
  background-position: left 5px center;
}

.blog-card__cat {
  display: inline-block;
  /* margin-top: 8px; */
  text-decoration: underline;
  color: #4E5798;
  background-color: #fff;
  padding: 0 8px 3px;
}

.blog-card__title {
  font-size: 16px;
  font-weight: 400;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 768px) {

  .blog-section__list {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* ======================================
   SNS
   ====================================== */
.sns-section {
  background-color: var(--color-bg-gray);
  padding-block: 64px;
}

.sns-section__lead {
  text-align: center;
}

.sns-section__list {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin: 24px auto 0;
  padding: 27px 80px;
  border-radius: 8px;
  background-color: #fff;
  flex-wrap: wrap;
  max-width: 900px;
}

.sns-section__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- SNS：レスポンシブ --- */
@media (max-width: 768px) {
  .sns-section__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
    padding: 20px;
  }
}

/* ======================================
   Schedule 予約空き状況
   ====================================== */

.schedule-section {
  position: relative;
}

/* ======================================
   Access Map
   ====================================== */
.access-map {
  height: 540px;
  width: 100%;
}

.access-map__map {
  background-color: #eee;
  width: 100%;
  height: 100%;
}

.access-map__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======================================
   Calendar
   ====================================== */
.calendar-section__bg {
  position: relative;
  z-index: 1;
  background-color: var(--color-bg-gray);
  padding: 80px;
  margin: -90px auto 0;
  max-width: 1200px;
  border-radius: 10px;
}

.calendar-section__content {
  text-align: center;
}

.calendar-section__content iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {

  .access-map {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .calendar-section__bg {
    margin-top: -50px;
    padding: 50px 20px;
  }

  .calendar-section__content iframe {
    aspect-ratio: 1 / 1;
  }
}

/* ======================================
   News
   ====================================== */
.news-section .section-heading {
  margin-bottom: 60px;
}

.news-section__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.news-item {
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
}

.news-item__link {
  display: flex;
  align-items: center;
  gap: 10px 24px;
}

.news-item__date {
  font-size: 16px;
  color: #777;
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: 132px;
  flex-shrink: 0;
}

.news-item__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 28px;
  background-color: #c2b175;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.news-section__btn-wrap {
  text-align: center;
  margin-top: 60px;
}

.news-section__btn {
  display: inline-flex;
  padding: 14px 70px;
  border: 0.5px solid var(--color-btn-secondary);
  font-weight: 500;
  align-items: center;
  gap: 12px;
}

.news-section__btn::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(../img/icon-arrow-right.svg) no-repeat center / contain;

}

@media (max-width: 768px) {

  .news-item__link {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .news-item__title {
    flex-basis: 100%;
    min-width: 0;
  }
}

/* ======================================
   Footer Banners
   ====================================== */
.footer-banners {
  padding: 40px 0 60px;
}

.footer-banners__list {
  display: flex;
  gap: 24px;
}

.footer-banners__item {
  flex: 1;
  overflow: hidden;
}

.footer-banners__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-banners__item--faq {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #98a3a8;
  min-height: 170px;
}

.footer-banners__item--faq .footer-banners__item-en {
  font-family: var(--font-en);
  font-size: 80px;
  color: #fff;
  opacity: 0.25;
  text-transform: uppercase;
  line-height: 1;
  mix-blend-mode: soft-light;
  position: absolute;
}

.footer-banners__item--faq .footer-banners__item-ja {
  font-size: 24px;
  color: #fff;
  position: relative;
  z-index: 1;
}