@charset "utf-8";



/* =========================
   ファーストビュー
========================= */
.fv {
  position: relative;
  overflow: hidden;
  font-family: "Shippori Mincho";
}

/* FV全体の比率を固定 */
.fv__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 960;
  max-height: 960px;
  margin: 0 auto;
}

/* 背景画像 */
.fv__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.fv__bg--sp {
  display: none;
}

/* 前面要素 */
.fv__copy,
.fv__item {
  position: absolute;
  z-index: 2;
}

/* PC配置はpxではなく割合ベースにする */
.fv__copy {
  top: 35.25%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 1.25%;
}

.fv__item--pc {
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  width: 83.125%;
}

.fv__item--pc img,
.fv__item--sp img {
  display: block;
  width: 100%;
  height: auto;
}

.fv__item--sp {
  display: none;
}

/* コピー */
.fv__lead {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.fv__lead-gold {
  color: #A8964C;
  text-align: center;
  text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.80);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  line-height: normal;
}

.fv__lead-gold--small {
  font-size: clamp(20px, 2.5vw, 40px);
}

.fv__lead-white {
  color: #FFF;
  text-shadow: 2px 2px 3px #312D2C;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  line-height: normal;
}

.fv__lead-white--small {
  font-size: clamp(20px, 2.5vw, 40px);
}

.fv__maincopy {
  position: relative;
  display: inline-block;
  margin: 2.125% 0 0;
  padding: 0 0 10px;
  color: #FFF;
  text-align: center;
  text-shadow: 2px 2px 3px #312D2C;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  z-index: 1;
  isolation: isolate;
}

.fv__maincopy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 102%;
  height: 18px;
  background: linear-gradient(90deg,
      rgba(146, 112, 58, 0.72) 0%,
      rgba(255, 242, 219, 0.72) 100%);
  z-index: -1;
}

.fv__sub {
  display: flex;
  width: fit-content;
  margin: 2% auto 0;
  padding: 10px 18px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.70);
  color: #312D2C;
  text-align: center;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.7;
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  .fv__inner {
    aspect-ratio: 375 / 551;
  }

  .fv__bg--pc {
    display: none;
  }

  .fv__bg--sp {
    display: block;
  }

  .fv__copy {
    top: 29.5%;
  }

  .fv__lead-gold {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.80);
    font-size: 28px;
  }

  .fv__lead-gold--small {
    font-size: 20px;
  }

  .fv__lead-white {
    font-size: 28px;
  }

  .fv__lead-white--small {
    font-size: 20px;
  }

  .fv__maincopy {
    margin-top: 5px;
    font-size: 40px;
    padding-bottom: 8px;
  }

  .fv__maincopy::after {
    height: 12px;
    bottom: 5px;
  }

  .fv__sub {
    display: none;
  }

  .fv__item--pc {
    display: none;
  }

  .fv__item--sp {
    display: block;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
  }
}

/* ========================================
   超ワイド対策
======================================== */
@media screen and (min-width: 1921px) {
  .fv {
    background: #312D2C;
  }

  .fv__inner {
    width: 1920px;
    margin: 0 auto;
  }

  .fv__media {
    left: 50%;
    right: auto;
    width: 1920px;
    transform: translateX(-50%);
  }

  .fv__item--pc {
    width: 83.125%;
  }
}

/* =========================
   アクセスブロック
========================= */
#access-block {
  position: relative;
  overflow: hidden;
  padding: 35px 20px 48px;
  background: url("../images/top-access-back.png") no-repeat center center / cover;
}

#access-block * {
  box-sizing: border-box;
  font-family: "Shippori Mincho";
}

.access-block__panel {
  width: min(980px, 100%);
  margin: 0 auto;
}

.access-block__panel-inner {
  text-align: center;
  background: transparent;
}

.access-block__title {
  line-height: 1;
  text-align: center;
}

.access-block__title-accent {
  color: rgba(194, 146, 67, 0.70);
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.access-block__title-main {
  color: #312D2C;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.access-block__list {
  width: 720px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* 行の基本レイアウト */
.access-block__item {
  display: grid;
  grid-template-columns: 50px auto auto;
  align-items: center;
  justify-content: start;
  width: max-content;
  margin-bottom: 24px;
}

/* カンプ寄せ：1行目→2行目→3行目で少しずつ左へ */
.access-block__item:nth-child(1) {
  transform: translateX(157px);
}

.access-block__item:nth-child(2) {
  transform: translateX(114px);
}

.access-block__item:nth-child(3) {
  transform: translateX(63px);
}

.access-block__item:last-child {
  margin-bottom: 0;
}

.access-block__icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.access-block__text {
  color: #575757;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.access-block__highlight {
  display: inline-block;
  margin-left: 35px;
  font-family: "Shippori Mincho";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  background: linear-gradient(180deg, #BF9A54 0%, #DDBD74 24.52%, #C0A266 50%, #DDBD74 72.12%, #BF9A54 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.access-block__btn {
  margin: 42px auto 0;
}


/* =================================
   SP
================================= */
@media screen and (max-width: 767px) {
  #access-block {
    padding: 0 0 20px 0;
  }

  .access-block__panel {
    width: 100%;
  }


  .access-block__title {
    margin-bottom: 18px;
  }

  .access-block__title-accent,
  .access-block__title-main {
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 6.4px;
  }

  .access-block__list {
    width: 286px;
    max-width: 100%;
  }

  .access-block__item {
    grid-template-columns: 18px auto auto;
    column-gap: 8px;
    width: max-content;
    margin-bottom: 10px;
  }

  .access-block__item:nth-child(1) {
    transform: translateX(24px);
  }

  .access-block__item:nth-child(2) {
    transform: translateX(14px);
  }

  .access-block__item:nth-child(3) {
    transform: translateX(0);
  }

  .access-block__icon {
    width: 18px;
    height: 18px;
  }

  .access-block__text {
    color: #575757;
    font-family: "Shippori Mincho";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .access-block__highlight {
    margin-left: 6px;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

}


/* =========================
   権威性アピールブロック（上部）
========================= */
#authority-block {
  position: relative;
  overflow: hidden;
  background: url("../images/top-authority-back-pc.png") no-repeat center center / cover;
  aspect-ratio: 1440 / 1046;
}

#authority-block * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

.authority-block__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 縦書きコピー全体 */
.authority-block__copy {
  position: absolute;
  top: 54px;
  right: 190px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 16px;
}

/* 帯の共通 */
.authority-block__label {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* 世界で最も歴史ある */
.authority-block__label--history {
  margin-top: 0;
  padding: 18px 12px;
  background: rgba(213, 179, 124, 0.75);
  color: #FFF;
  text-align: center;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.60);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
}

/* インプラント学会が認めた */
.authority-block__label--academy {
  margin-top: 66px;
  padding: 18px 12px;
	background: rgba(226, 226, 226, 0.71);
  color: #FFF;
  text-align: center;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.60);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
}

/* 高レベルなインプラント治療 */
.authority-block__label--main {
  margin-top: 132px;
  padding: 18px 12px;
  background: rgba(226, 226, 226, 0.71);
  text-align: center;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.60);
  line-height: 60px;
}

.authority-block__gold {
  color: #D5B37C;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
}

.authority-block__small {
  color: #FFF;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
}

.authority-block__white {
  color: #FFF;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #authority-block {
    background: url("../images/top-authority-back-sp.png") no-repeat center center / cover;
    aspect-ratio: 375 / 597;
  }

  .authority-block__en {
    top: 20px;
    left: 18px;
    font-size: 82px;
  }

  .authority-block__copy {
    top: 52px;
    right: 18px;
    gap: 10px;
  }

  .authority-block__label--history {
    margin-top: 0;
    padding: 10px 7px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .authority-block__label--academy {
    margin-top: 28px;
    padding: 10px 7px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .authority-block__label--main {
    margin-top: 58px;
    padding: 10px 7px;
    line-height: 30px;
  }

  .authority-block__gold {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .authority-block__small {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }

  .authority-block__white {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
  }
}

/* =========================
   権威性アピールブロック：3カラムカード
========================= */
#authority-cards {
  background: linear-gradient(180deg, #3C3837 0%, #A1A1A1 100%);
  padding: 56px 28px 42px;
}

#authority-cards * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

.authority-cards__inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* H2 */
.authority-cards__heading {
  margin: 0 0 34px;
  text-align: center;
  line-height: 1.5;
}

.authority-cards__heading-lg,
.authority-cards__heading-sm {
  display: inline-block;
  background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.authority-cards__heading-lg {
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.authority-cards__heading-sm {
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* 3カラム */
.authority-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.authority-card {
  min-width: 0;
  background: #F8F8F8;
  padding: 20px 20px 18px;
}

.authority-card__image {
  margin: 0 0 18px;
}

.authority-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* H3 */
.authority-card__title {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(49, 45, 44, 0.35);
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}

.authority-card__title-lg {
  color: #D5B37C;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.authority-card__title-sm {
  color: #D5B37C;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.authority-card__text {
  margin: 14px 0 0;
  color: #312D2C;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

.authority-card__u {
  color: #312D2C;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: rgba(213, 179, 124, 0.40);
  text-decoration-thickness: 45%;
  text-underline-offset: -15%;
  text-underline-position: from-font;
}

/* =========================
   1106px〜1334px付近の崩れ対策
========================= */
@media screen and (min-width: 1101px) and (max-width: 1334px) {
  #authority-cards {
    padding: 48px 20px 38px;
  }

  .authority-cards__grid {
    gap: 14px;
  }

  .authority-card {
    padding: 16px 16px 18px;
  }

  .authority-card__title {
    white-space: normal;
  }

  .authority-card__title-lg {
    font-size: 26px;
  }

  .authority-card__title-sm {
    font-size: 20px;
  }

  .authority-card__text,
  .authority-card__u {
    font-size: 18px;
    line-height: 1.7;
  }
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1100px) {
  #authority-cards {
    padding: 44px 20px 36px;
  }

  .authority-cards__inner {
    max-width: 1040px;
  }

  .authority-cards__heading {
    margin: 0 0 28px;
    line-height: 1.45;
  }

  .authority-cards__heading-lg {
    font-size: 34px;
  }

  .authority-cards__heading-sm {
    font-size: 26px;
  }

  .authority-cards__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .authority-card {
    min-width: 0;
    padding: 14px 14px 16px;
  }

  .authority-card__image {
    margin: 0 0 14px;
  }

  .authority-card__title {
    padding-bottom: 10px;
    white-space: normal;
    line-height: 1.45;
  }

  .authority-card__title-lg {
    font-size: 21px;
  }

  .authority-card__title-sm {
    font-size: 18px;
  }

  .authority-card__text {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.7;
  }

  .authority-card__u {
    font-size: 16px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #authority-cards {
    padding: 34px 27px 54px;
  }

  .authority-cards__heading {
    margin-bottom: 26px;
    line-height: 1.55;
  }

  .authority-cards__heading-lg {
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .authority-cards__heading-sm {
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .authority-cards__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .authority-card {
    min-width: 0;
    padding: 16px 18px 18px;
  }

  .authority-card__image {
    margin-bottom: 16px;
  }

  .authority-card__title {
    padding-bottom: 10px;
    white-space: normal;
    line-height: 1.5;
  }

  .authority-card__title-lg {
    color: #D5B37C;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .authority-card__title-sm {
    color: #D5B37C;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .authority-card__text {
    margin-top: 12px;
    color: #312D2C;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75;
  }

  .authority-card__u {
    color: #312D2C;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: rgba(213, 179, 124, 0.40);
    text-decoration-thickness: 45%;
    text-underline-offset: -15%;
    text-underline-position: from-font;
  }
}

/* =========================
   院長挨拶ブロック
========================= */
#director-greeting * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

.director-greeting__heading {
  background: #3C3837;
  padding: 28px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  text-align: center;
}

.director-greeting__eyebrow {
  margin: 0;
  line-height: 1;
}

.director-greeting__eyebrow-accent {
  color: #A18838;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.director-greeting__eyebrow-main {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.director-greeting__title {
  margin: 10px 0 0;
  color: #A8964C;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
}

/* 挨拶部分は白背景 */
.director-greeting__intro {
  background: #fff;
  padding: 46px 20px 40px;
}

.director-greeting__inner {
  max-width: 1269px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: start;
}

.director-greeting__content {
  padding-top: 8px;
}

.director-greeting__profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.director-greeting__photo-wrap {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.director-greeting__photo {
  display: block;
  width: 100%;
  height: auto;
  background: lightgray 50% / cover no-repeat;
  box-shadow: 20px 20px 0 0 #A18838;
}

/* 名前情報は左カラムに配置 */
.director-greeting__meta {
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.director-greeting__role {
  display: inline-flex;
  height: 44px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #A18838;
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.director-greeting__name-ja {
  margin: 0;
  color: #000;
  text-align: left;
  font-family: "Shippori Mincho";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.director-greeting__name-en {
  color: #000;
  text-align: left;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.director-greeting__text p {
  margin: 0;
  color: #000;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

.director-greeting__button {
  margin-top: 42px;
}

.director-greeting__button .button {
  text-align: center;
}

/* 賞状部分だけ大理石背景 */
.director-greeting__awards {
  background: url("../images/top-director-back.png") no-repeat center top / cover;
  padding: 34px 20px 44px;
  overflow: hidden;
}

/* =========================
   賞状 自動横スクロール
========================= */
#director-awards {
  position: relative;
  overflow: hidden;
}

.director-awards__track {
  width: max-content;
  max-width: none;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 20px 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.director-awards__item {
  flex: 0 0 auto;
  width: 176px;
  display: block;
  background: #efefef;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.director-awards__item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.director-awards__item img {
  display: block;
  width: 100%;
  height: auto;
}

.director-awards__item.is-clone {
  user-select: none;
}

/* =========================
   Lightbox（CSS only）
========================= */
.director-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.director-lightbox:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.director-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.director-lightbox__dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.director-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  text-decoration: none;
}

.director-lightbox__image {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .director-greeting__heading {
    padding: 24px 20px 18px;
  }

  .director-greeting__eyebrow-accent,
  .director-greeting__eyebrow-main {
    font-size: 48px;
    letter-spacing: 9px;
  }

  .director-greeting__title {
    font-size: 22px;
  }

  .director-greeting__intro {
    padding: 40px 65px 32px;
  }

  .director-greeting__inner {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin: 0 auto;
    gap: 0;
  }

  .director-greeting__profile {
    order: 1;
    align-items: center;
    margin: 0 auto;
  }

  .director-greeting__photo-wrap {
    width: 340px;
    max-width: none;
    margin: 0 auto;
  }

  .director-greeting__photo {
    box-shadow: 16px 16px 0 0 #A18838;
  }

  .director-greeting__content {
    order: 2;
    width: 100%;
    margin-top: 30px;
    padding: 0;
  }

  .director-greeting__meta {
    width: 465px;
    margin: 22px auto 0;
  }

  .director-greeting__role {
    height: 38px;
    font-size: 20px;
    padding: 0 16px;
  }

  .director-greeting__name-ja {
    font-size: 32px;
    text-align: left;
  }

  .director-greeting__name-en {
    font-size: 20px;
    text-align: left;
  }

  .director-greeting__text p {
    font-size: 18px;
    line-height: 1.8;
  }

  .director-greeting__button {
    margin-top: 30px;
    text-align: center;
  }

  .director-greeting__button .button {
    text-align: center;
  }

  .director-greeting__awards {
    padding: 28px 20px 36px;
  }

  .director-awards__track {
    gap: 14px;
    padding: 16px 0;
  }

  .director-awards__item {
    width: 150px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  .director-greeting__heading {
    padding: 18px 12px 16px;
  }

  .director-greeting__eyebrow-accent {
    color: #A18838;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 6.4px;
  }

  .director-greeting__eyebrow-main {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 6.4px;
  }

  .director-greeting__title {
    margin-top: 8px;
    color: #A8964C;
    text-align: center;
    text-shadow: 0 1.929px 1.929px rgba(0, 0, 0, 0.25);
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
  }

  .director-greeting__intro {
    padding: 28px 0 24px;
  }

  .director-greeting__inner {
    display: flex;
    flex-direction: column;
    max-width: 375px;
    margin: 0 auto;
    padding: 0 28px;
    gap: 20px;
  }

  .director-greeting__profile {
    order: 1;
    align-items: center;
    margin: 0 auto;
  }

  .director-greeting__photo-wrap {
    width: 250px;
    max-width: none;
    margin: 0 auto;
  }

  .director-greeting__photo {
    box-shadow: 10px 10px 0 0 #A18838;
  }

  .director-greeting__content {
    order: 2;
    margin-top: 22px;
    padding: 0;
  }

  .director-greeting__meta {
    margin: 0 0 18px;
  }

  .director-greeting__role {
    display: inline-flex;
    height: 21.221px;
    padding: 0 9.646px;
    justify-content: center;
    align-items: center;
    gap: 4.823px;
    background: #A18838;
    color: #FFF;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .director-greeting__name-ja {
    text-align: left;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .director-greeting__name-en {
    text-align: left;
    font-family: "Shippori Mincho";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .director-greeting__text p {
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.85;
  }

  .director-greeting__button {
    margin-top: 26px;
    text-align: center;
  }

  .director-greeting__button .button {
    text-align: center;
  }

  .director-greeting__awards {
    background: url("../images/top-director-back.png") no-repeat center top / cover;
    padding: 22px 0 28px;
    overflow: hidden;
  }

  .director-awards__track {
    gap: 8px;
    padding: 14px 0;
  }

  .director-awards__item {
    width: 118px;
  }

  .director-lightbox__dialog {
    padding: 20px;
  }

  .director-lightbox__close {
    top: 12px;
    right: 16px;
    font-size: 34px;
  }

  .director-lightbox__image {
    max-width: 92vw;
    max-height: 78vh;
  }
}

/* =========================
   動きを減らしたい設定
========================= */
@media (prefers-reduced-motion: reduce) {
  .director-awards__track {
    transform: none !important;
  }

  .director-awards__item {
    transition: none;
  }
}

/* =========================
   症例ブロック
========================= */
#top-case * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

#top-case {
  padding: 100px 5.1%;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%),
    url("../images/top-case-back.png") lightgray 50% / cover no-repeat;
}

.top-case__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.top-case__heading {
  text-align: center;
}

.top-case__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.top-case__title-sub {
  color: #FFF;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.top-case__title-main {
  background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.top-case__lead {
  margin: 26px 0 0;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
}

/* =========================
   スライダー
========================= */
.case-slider {
  position: relative;
  margin-top: 48px;
  padding: 0 24px;
}

.case-slider__viewport {
  overflow: hidden;
}

.case-slider__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  transition: transform .35s ease;
  will-change: transform;
}

.case-card {
  flex: 0 0 calc((100% - 24px) / 2);
  background: #fff;
  padding: 26px 26px 28px;
}

/* =========================
   Before / After 画像
========================= */
.case-card__images {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
}

.case-card__images--compare {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
}

.case-card__compare {
  width: 100%;
  line-height: 0;
}

.case-card__compare img {
  display: block;
  width: 100%;
  height: auto;
}

/* BEFORE / AFTER バッジ */
.case-card__badge {
  position: absolute;
  top: 0;
  z-index: 20;
  color: #000;
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: inline-flex;
  padding: 5px 8px;
  justify-content: center;
  align-items: center;
  background: #FFF;
  pointer-events: none;
}

.case-card__badge--before {
  left: 0;
}

.case-card__badge--after {
  right: 0;
}

/* twentytwenty 調整 */
.case-card__compare.twentytwenty-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.case-card__compare .twentytwenty-wrapper,
.case-card__compare .twentytwenty-before,
.case-card__compare .twentytwenty-after {
  width: 100%;
  height: auto;
}

.case-card__compare .twentytwenty-overlay {
  background: transparent;
}

.case-card__compare .twentytwenty-before-label:before,
.case-card__compare .twentytwenty-after-label:before {
  display: none;
}

/* 中央ハンドル */
.case-card__compare .twentytwenty-handle {
  margin-left: -22px;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  background: rgba(213, 179, 124, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.case-card__compare .twentytwenty-left-arrow {
  border-right-color: #fff;
}

.case-card__compare .twentytwenty-right-arrow {
  border-left-color: #fff;
}

.case-card__compare .twentytwenty-up-arrow {
  border-bottom-color: #fff;
}

.case-card__compare .twentytwenty-down-arrow {
  border-top-color: #fff;
}

.case-card__section {
  margin-top: 18px;
}

.case-card__label {
  margin: 0;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  padding: 10px;
  justify-content: start;
  align-items: center;
  background: #D5B37C;
}

.case-card__body {
  padding: 16px 10px 0;
}

.case-card__body p {
  margin: 0;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

.case-card__body p+p {
  margin-top: 6px;
}

.case-card__title {
  margin: 0;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.7;
}

/* =========================
   左右矢印
========================= */
.case-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2;
}

.case-slider__arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.case-slider__arrow.is-disabled {
  opacity: .35;
  cursor: default;
}

.case-slider__arrow--prev {
  left: -8px;
}

.case-slider__arrow--next {
  right: -8px;
}

.case-slider__arrow span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #312D2C;
  border-right: 2px solid #312D2C;
}

.case-slider__arrow--prev span {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.case-slider__arrow--next span {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* =========================
   症例一覧ボタン
========================= */
#top-case .button {
  margin-top: 40px;
  text-align: center;
}

#top-case .button .btn__link {
  margin-top: 0;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #top-case {
    padding: 48px 20px 56px;
  }

  .top-case__title-sub {
    font-size: 28px;
  }

  .top-case__title-main {
    font-size: 40px;
  }

  .top-case__lead {
    font-size: 18px;
  }

  .case-slider {
    margin-top: 38px;
    padding: 0 20px;
  }

  .case-slider__track {
    gap: 18px;
  }

  .case-card {
    flex: 0 0 calc((100% - 18px) / 2);
    padding: 18px 18px 22px;
  }

  .case-card__badge {
    font-size: 9px;
    padding: 4px 7px;
  }

  .case-card__compare .twentytwenty-handle {
    margin-left: -20px;
    width: 40px;
    height: 40px;
  }

  .case-card__label {
    font-size: 18px;
    padding: 8px;
  }

  .case-card__body p {
    font-size: 18px;
  }

  .case-card__title {
    font-size: 18px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #top-case {
    padding: 40px 0;
  }

  .top-case__inner {
    max-width: none;
  }

  .top-case__heading {
    padding: 0 7%;
    text-align: left;
  }

  .top-case__title {
    gap: 2px;
    align-items: flex-start;
  }

  .top-case__title-sub {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .top-case__title-main {
    background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .top-case__lead {
    margin-top: 22px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
  }

  .case-slider {
    margin-top: 34px;
    padding: 0 18px;
  }

  .case-slider__track {
    gap: 16px;
  }

  .case-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 14px 14px 18px;
  }

  .case-card__badge {
    font-size: 6px;
    padding: 3px 5px;
  }

  .case-card__compare .twentytwenty-handle {
    margin-left: -18px;
    width: 36px;
    height: 36px;
  }

  .case-card__section {
    margin-top: 12px;
  }

  .case-card__label {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    padding: 5.766px;
    justify-content: center;
    align-items: center;
    background: #D5B37C;
  }

  .case-card__body {
    padding: 12px 8px 0;
  }

  .case-card__body p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
  }

  .case-card__title {
    font-size: 16px;
  }

  .case-slider__arrow {
    width: 32px;
    height: 32px;
    top: 34%;
  }

  .case-slider__arrow--prev {
    left: 2px;
  }

  .case-slider__arrow--next {
    right: 2px;
  }

  .case-slider__arrow span {
    width: 10px;
    height: 10px;
  }
	
	#top-case .button {
    margin-top: 28px;
    text-align: center;
  }
}

/* =========================
   こだわりブロック
========================= */
#top-commitment * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

#top-commitment {
  padding: 112px 4.65% 104px;
  background: #3C3837;
}

.top-commitment__inner {
  max-width: 1310px;
  margin: 0 auto;
}

.top-commitment__heading {
  text-align: center;
}

.top-commitment__title {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}

.top-commitment__title-main {
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top-commitment__title-sub {
  background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Shippori Mincho";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.top-commitment__lead {
  max-width: 1080px;
  margin: 42px auto 0;
  color: #FFF;
  text-align: left;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  line-height: 1.75;
}

.top-commitment__cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

/* =========================
   カード
========================= */
.commitment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 26px;
  background-color: #FFF;
  overflow: hidden;
  background-image:
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C),
    linear-gradient(#D5B37C, #D5B37C);
  background-repeat: no-repeat;
  background-size:
    40px 4px,
    4px 40px,
    40px 4px,
    4px 40px,
    40px 4px,
    4px 40px,
    40px 4px,
    4px 40px;
  background-position:
    left top,
    left top,
    right top,
    right top,
    left bottom,
    left bottom,
    right bottom,
    right bottom;
}

.commitment-card__image {
  width: 100%;
}

.commitment-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 370 / 184;
  object-fit: cover;
}

.commitment-card__body {
  padding: 14px 4px 0;
}

.commitment-card__title {
  margin: 0;
  color: #C29243;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 35px;
}

.commitment-card__text {
  margin: 18px 0 0;
  color: #000;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1100px) {
  #top-commitment {
    padding: 80px 24px 84px;
  }

  .top-commitment__title-main {
    font-size: 34px;
  }

  .top-commitment__title-sub {
    font-size: 30px;
  }

  .top-commitment__lead {
    font-size: 18px;
    line-height: 1.7;
  }

  .top-commitment__cards {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .commitment-card__text {
    font-size: 18px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #top-commitment {
    padding: 72px 23px 70px;
  }

  .top-commitment__title {
    gap: 0 3px;
  }

  .top-commitment__title-main {
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .top-commitment__title-sub {
    background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .top-commitment__lead {
    margin-top: 28px;
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    line-height: 1.75;
    text-align: left;
  }

  .top-commitment__cards {
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .commitment-card {
    padding: 18px 18px 22px;
    background-size:
      36px 4px,
      4px 36px,
      36px 4px,
      4px 36px,
      36px 4px,
      4px 36px,
      36px 4px,
      4px 36px;
  }

  .commitment-card__body {
    padding: 14px 0 0;
  }

  .commitment-card__title {
    color: #C29243;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 35px;
  }

  .commitment-card__text {
    margin-top: 16px;
    color: #000;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
  }
}


/* =========================
   選ばれる理由
========================= */
#top-reason * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

#top-reason {
  background: #f4f4f4;
  overflow: hidden;
}

/* =========================
   H2ビジュアル
========================= */
.reason-hero {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%),
    url("../images/top-reason-back.png") lightgray center center / cover no-repeat;
}

.reason-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px 20px 84px;
}

.reason-hero__title {
  margin: 0 auto;
  max-width: 1140px;
}

.reason-hero__line {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  align-items: flex-end;
}

.reason-hero__line--1 {
  justify-content: flex-start;
  margin-left: 31px;
}

.reason-hero__line--2 {
  justify-content: center;
  margin-top: 14px;
}

.reason-hero__line--3 {
  justify-content: flex-end;
  margin-top: 14px;
  margin-right: 24px;
}

.reason-hero__char {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 2px 4px 4px 0 rgba(0, 0, 0, 0.10);
  text-align: center;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

/* 大きい文字 */
.reason-hero__char--gold {
  color: #C29243;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.10);
  font-size: 64px;
  letter-spacing: 3.2px;
  width: 103px;
  height: 103px;
  padding: 0;
}

/* 小さい文字 */
.reason-hero__char--dark {
  color: #312D2C;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.10);
  font-size: 48px;
  letter-spacing: 2.4px;
  width: 80px;
  height: 80px;
  padding: 0;
}

/* =========================
   理由リスト
========================= */
.reason-list {
  padding: 0 0 56px;
  background: #f4f4f4;
}

.reason-list__inner {
  width: 100%;
}

.reason-item {
  position: relative;
  min-height: 540px;
  background: #fff;
}

.reason-item+.reason-item {
  margin-top: 0;
}

.reason-item.reason-item--consult {
  max-width: 2000px;
  margin: 0 auto;
}

.reason-item.reason-item--reverse.reason-item--private {
  max-width: 2000px;
  margin: 0 auto;
}

.reason-item.reason-item--tech {
  max-width: 2000px;
  margin: 0 auto;
}

/* 大画像 */
.reason-item__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.reason-item--reverse .reason-item__visual {
  right: auto;
  left: 0;
}

/* 各画像 */
.reason-item--consult .reason-item__visual {
  background-image: url("../images/top-reason-big1.png");
  background-position: right center;
}

.reason-item--private .reason-item__visual {
  background-image: url("../images/top-reason-big2.png");
  background-position: left center;
}

.reason-item--tech .reason-item__visual {
  background-image: url("../images/top-reason-big3.png");
  background-position: right center;
}

/* =========================
   キャッチコピー
========================= */
/* PC */
.reason-item__catch-pc {
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 2px 10px;
  background: #575757;
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.reason-item__catch-sp {
  display: none;
}

/* =========================
   コンテンツ
========================= */
.reason-item__content {
  position: relative;
  z-index: 3;
  width: 58%;
}

.reason-item--reverse .reason-item__content {
  margin-left: auto;
}

.reason-item__panel {
  width: 100%;
  min-height: 442px;
  padding: 135px 64px 28px 66px;
  background: linear-gradient(90deg, rgba(244, 244, 244, 0.985) 0%, rgba(244, 244, 244, 0.92) 72%, rgba(244, 244, 244, 0.25) 100%);
}

.reason-item--reverse .reason-item__panel {
  padding: 135px 66px 28px 64px;
  background: linear-gradient(270deg, rgba(244, 244, 244, 0.985) 0%, rgba(244, 244, 244, 0.92) 72%, rgba(244, 244, 244, 0.25) 100%);
}

.reason-item__title {
  margin: 0;
  text-align: center;
  color: #312D2C;
}

.reason-item__title-em {
  color: #312D2C;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.8px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: rgba(194, 146, 67, 0.40);
  text-decoration-thickness: 45%;
  text-underline-offset: -10%;
  text-underline-position: from-font;
}

.reason-item__title-sub {
  color: #312D2C;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.6px;
}

.reason-item__divider {
  width: 100%;
  height: 1px;
  margin: 28px 0 18px;
  background: #312D2C;
  opacity: 0.8;
}

.reason-item__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reason-item__thumb {
  flex: 0 0 150px;
  max-width: 150px;
}

.reason-item__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.reason-item__text {
  margin: 0;
  color: #312D2C;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 1px;
}

.reason-item__mark {
  color: #312D2C;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-skip-ink: auto;
  text-decoration-color: #D5B37C;
  text-decoration-thickness: 15%;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1180px) {
  .reason-hero__inner {
    padding: 62px 16px 72px;
  }

  .reason-hero__char--gold {
    width: 74px;
    height: 74px;
    font-size: 44px;
    letter-spacing: 2px;
  }

  .reason-hero__char--dark {
    width: 58px;
    height: 58px;
    font-size: 34px;
    letter-spacing: 1.6px;
  }

  .reason-item {
    min-height: 460px;
  }

  .reason-item__visual {
    width: 56%;
  }

  .reason-item__content {
    width: 60%;
  }

  .reason-item__catch-pc {
    width: 100%;
    font-size: 20px;
    line-height: 28px;
  }

  .reason-item__panel,
  .reason-item--reverse .reason-item__panel {
    min-height: auto;
    padding: 130px 34px 26px;
  }

  .reason-item__title-em {
    font-size: 30px;
  }

  .reason-item__title-sub {
    font-size: 26px;
  }

  .reason-item__text,
  .reason-item__mark {
    font-size: 18px;
    letter-spacing: 0.8px;
  }

  .reason-item__thumb {
    flex: 0 0 120px;
    max-width: 120px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  .reason-hero__inner {
    padding: 18px 10px 20px;
  }

  .reason-hero__line {
    gap: 0 1px;
  }

  .reason-hero__line--1 {
    margin-left: 0;
  }

  .reason-hero__line--2 {
    margin-top: 8px;
  }

  .reason-hero__line--3 {
    margin-top: 8px;
    margin-right: 0;
  }

  .reason-hero__title {
    max-width: 450px;
  }

  .reason-hero__char--gold {
    color: #C29243;
    text-shadow: 0 1.103px 1.103px rgba(0, 0, 0, 0.10);
    font-size: 17.65px;
    letter-spacing: 0.882px;
    width: 28px;
    height: 28px;
    padding: 1.379px 0;
    box-shadow: 0.552px 1.103px 1.103px 0 rgba(0, 0, 0, 0.10);
  }

  .reason-hero__char--dark {
    color: #312D2C;
    text-shadow: 0 1.103px 1.103px rgba(0, 0, 0, 0.10);
    font-size: 13.238px;
    letter-spacing: 0.662px;
    width: 22px;
    height: 22px;
    padding: 1.379px 0;
    box-shadow: 0.552px 1.103px 1.103px 0 rgba(0, 0, 0, 0.10);
  }

  .reason-list {
    padding: 0 0 34px;
  }

  .reason-item {
    min-height: 0;
    padding-bottom: 32px;
  }

  .reason-item__visual,
  .reason-item--reverse .reason-item__visual {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 246;
  }

  .reason-item__content,
  .reason-item--reverse .reason-item__content {
    width: 100%;
  }

  /* PC帯は消す */
  .reason-item__catch-pc {
    display: none;
  }

  /* SP帯は画像に重ねる */
  .reason-item__catch-sp {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 4;
    display: block;
    margin: 0;
  }

  .reason-item__catch-sp span {
    display: inline-block;
    width: fit-content;
    background: #575757;
    color: #FFF;
    padding: 6px 14px 7px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.8px;
    white-space: nowrap;
  }

  .reason-item__catch-sp span+span {
    display: block;
    margin-left: 28px;
  }

  .reason-item__panel,
  .reason-item--reverse .reason-item__panel {
    min-height: auto;
    padding: 34px 16px 0;
    background: transparent;
  }

  .reason-item__title-em {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.2px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: rgba(194, 146, 67, 0.40);
    text-decoration-thickness: 45%;
    text-underline-offset: -10%;
    text-underline-position: from-font;
  }

  .reason-item__title-sub {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 1px;
  }

  .reason-item__divider {
    margin: 18px 0 18px;
  }

  .reason-item__detail {
    gap: 12px;
    align-items: center;
  }

  .reason-item__thumb {
    flex: 0 0 118px;
    max-width: 118px;
	  display:none;
  }

  .reason-item__text {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.8px;
  }

  .reason-item__mark {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: auto;
    text-decoration-color: #D5B37C;
    text-decoration-thickness: 15%;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
}

/* =========================
   数字で見る
   当院のインプラント治療
========================= */
#achievement-block {
  background:
    url("../images/top-numbers-back.png") no-repeat right top / cover;
  background-color: #3C3837;
  box-sizing: border-box;
  width: 100%;
  padding: 70px 9.3%;
}

.achievement-header h2 {
  color: #fff;
  font-weight: 500;
  font-size: 40px;
  line-height: normal;
}

.achievement-header h2 span {
  color: #C29243;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  font-size: 64px;
  font-weight: 700;
  line-height: normal;
}

.achievement-header p {
  color: #FFF;
  font-size: 36px;
  line-height: normal;
  margin-top: 18px;
  letter-spacing: 3px;
}

.numbers-txt-small {
  color: #FFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.achievement-header .gold-grd {
  background: radial-gradient(50% 50% at 50% 50%, #E5DED7 0%, #C29243 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: normal;
}

.achievement-header .highlight::before,
.achievement-header .highlight::after {
  content: "―";
}

.achievement-stats.new-style {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
	margin-top: 110px;
}


.stat-box {
  border: 1px solid #C29243;
  background: linear-gradient(0deg, #FFF -4.61%, #FFEBD0 100%);
  box-shadow: 2px 4px 8px 0 #FFF;
  padding: 30px;
  width: 30%;
  text-align: center;
}

.stat-label {
  font-size: 24px;
  background: #C29243;
  color: #fff;
  padding: 15px 0;
  margin-bottom: 20px;
}

.icon-circle {
  margin: 0 auto 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.stat-number .count {
  background: radial-gradient(50% 50% at 50% 50%, #A49463 0%, #C2A95C 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 64px;
  line-height: normal;
  letter-spacing: 3px;
}

.stat-number .unit {
  color: #000;
  font-size: 24px;
  line-height: normal;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #achievement-block {
    padding: 85px 4.5%;
  }

  .achievement-header h2 {
    font-size: 32px;
  }

  .achievement-header h2 span {
    font-size: 40px;
  }

  .achievement-header p {
    font-size: 24px;
    margin-top: 10px;
    letter-spacing: 2px;
  }

  .achievement-header .gold-grd {
    font-size: 30px;
  }

  /* 数字ブロック */
  .achievement-stats.new-style {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
	  margin-top: 75px;
  }

  .stat-box {
    padding: 8px;
    width: 30%;
    text-align: center;
  }

  .stat-label {
    font-size: 16px;
    padding: 2px 0;
    margin-bottom: 20px;
  }


  .icon-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .stat-number .count {
    background: radial-gradient(50% 50% at 50% 50%, #A49463 0%, #C2A95C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.0rem;
    line-height: normal;
    letter-spacing: 1.5px;
  }

  .stat-number .unit {
    color: #000;
    font-size: 16px;
    line-height: normal;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {
  #achievement-block {
    padding-bottom: 20px;
    padding: 5px 4.6% 25px;
  }

  .achievement-header h2 {
    font-size: 16px;
    margin: 0;
  }

  .achievement-header h2 span {
    font-size: 32px;
  }

  .achievement-header p {
    font-size: 11px;
    margin-top: 10px;
    letter-spacing: 2px;
  }

  .numbers-txt-small {
    font-size: 7px;
  }

  .achievement-header .gold-grd {
    font-size: 16px;
  }

  .achievement-header .highlight::before,
  .achievement-header .highlight::after {
    content: "―";
  }

  /* 数字ブロック */
  .achievement-stats.new-style {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .stat-box {
    padding: 8px;
    width: 30%;
    text-align: center;
  }

  .stat-label {
    font-size: 8px;
    padding: 2px 0;
    margin-bottom: 7px;
  }


  .icon-circle img {
    width: 34px;
    height: 34px;
    object-fit: contain;
  }

  .stat-number .count {
    background: radial-gradient(50% 50% at 50% 50%, #A49463 0%, #C2A95C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 1.5px;
  }

  .stat-number .unit {
    color: #000;
    font-size: 7px;
    line-height: normal;
  }

  .stat-number {
    margin: 0;
  }
}

/* =========================
   このようなお悩みは
   ありませんか？
========================= */

#problem-section {
  text-align: center;
  padding: 0 0 10px 0;
  background-color: #F5F5F5;
}

.problem-link {
  display: block;
  text-decoration: none;
}

/* 見出し */
.problem-ttlbloc {
  background-color: #222;
  position: relative;
  padding: 80px 0;

}

.problem-ttlbloc::after {
  content: "";
  position: absolute;
  bottom: -58px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-top: 60px solid #222;
}

#problem-section h2 {
  font-size: 36px;
  color: #FFFEFE;
  line-height: 1.4;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
  margin: 0 0 30px 0;
}

.problemspan {
  font-size: 64px;
  color: #C2A95C;
}

.problem-ttlbloc p {
  color: #E4EDF5;
  text-align: center;
  font-size: 20px;
  line-height: normal;
  letter-spacing: 0.8px;
  font-weight: 400;
}

.problem-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  margin: 10rem auto;
  max-width: 1176px;
}

.problem-item {
  background-color: #fff;
  padding: 0 0 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}


.problem-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.problembox {
  width: 100%;
}

.problembox h3 {
  color: #997962;
  font-size: 25px;
  margin: 10px 0 20px;
  position: relative;
}


.problem-item img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1230px) {
  #problem-section h2 {
    font-size: 32px;
  }

  .problemspan {
    font-size: 40px;
  }

  .problemspan1 {
    font-size: 2rem;
  }

  .problem-ttlbloc {
    padding: 40px 10px;
  }

  .problem-ttlbloc::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #222;
  }

  .problem-ttlbloc p {
    text-align: left;
    font-size: 18px;
    margin: 0 auto;
    padding: 0 10%;
  }

  .problem-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: min(100%, 980px);
    margin: 5rem auto 0;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .problem-item {
    padding: 0;
    min-width: 0;
  }

  .problem-inner {
    height: 100%;
  }

  .problem-item img {
    display: block;
    width: 100%;
    margin-bottom: 0;
  }

  .problembox h3 {
    font-size: 24px;
    padding: 0 5px;
    margin: 10px 0;
  }

  #problem-section .problem-item .button {
    padding: 0 12px 20px;
  }

  #problem-section .problem-item .button .btn__link {
    min-height: 38px;
    padding: 9px 38px 9px 16px;
    font-size: 16px;
    letter-spacing: 0.24em;
    margin-top: 0;
  }


  #problem-section {
    padding-bottom: 70px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {
  #problem-section h2 {
    font-size: 16px;
  }

  .problemspan {
    font-size: 32px;
  }

  .problemspan1 {
    font-size: 2rem;
  }

  .problem-ttlbloc {
    padding: 40px 10px;
  }

  .problem-ttlbloc::after {
    content: "";
    position: absolute;
    bottom: -29px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #222;
  }

  .problem-ttlbloc p {
    text-align: left;
    font-size: 16px;
    margin: 0 auto;
    padding: 0 5%;
  }

  .problem-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 3%;
    width: 100%;
    max-width: 100%;
    padding: 0 6.4% 70px;
    margin: 5rem auto 0;
    box-sizing: border-box;
  }

  .problem-item {
    min-width: 0;
    padding: 0;
  }

  .problem-inner {
    height: 100%;
  }

  .problembox {
    width: 100%;
  }

  .problembox h3 {
    font-size: 14px;
    padding: 0 5px;
    margin: 10px 0 0 0;
  }

  .problem-item p {
    font-size: 0.8rem;
  }

  .problem-item img {
    display: block;
    width: 100%;
    margin-bottom: 0;
  }

  #problem-section .problem-item .button {
    padding: 0 12px 12px;
  }

  #problem-section .problem-item .button .btn__link {
    min-height: 38px;
    padding: 9px 38px 9px 16px;
    font-size: 10px;
    letter-spacing: 0.24em;
    margin-top: 10px;
  }

  #problem-section .problem-item .button .btn__link::after {
    right: 16px;
    width: 8px;
    height: 8px;
  }

  #problem-section .problem-item .button .btn__link:hover::after {
    right: 12px;
  }

}

/* =========================
   部位や本数から探す
========================= */
#top-parts-search {
  background: #3C3837;
  padding: 100px 0;
}

#top-parts-search * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

.parts-search__inner {
  width: min(100%, 1420px);
  margin: 0 auto;
}

.parts-search__head {
  text-align: center;
}

.parts-search__title {
  margin: 0;
  line-height: 1.2;
}

.parts-search__title-accent {
  background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.parts-search__title-base {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.parts-search__lead {
  margin: 34px 0 0;
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  line-height: 1.7;
}

.parts-search__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 98px;
}

.parts-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #F8F8F8;
  border-radius: 16px;
  overflow: visible;
}

/* 数字 */
.parts-card::before {
  content: attr(data-num);
  position: absolute;
  top: -66px;
  left: 50%;
  transform: translateX(-50%);
  color: #D5B37C;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 96px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  z-index: 2;
}

.parts-card__top {
  padding: 58px 5px 32px;
  text-align: center;
}

.parts-card__title {
  margin: 0;
  color: #C29243;
  font-family: "Shippori Mincho";
  font-size: 23px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

.part-h3-small {
  font-size: 18px;
}

.parts-card__image {
  margin: 0;
  width: 100%;
}

.parts-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.parts-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 22px 24px;
}

.parts-card__text {
  margin: 0;
  color: #312D2C;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
}

.parts-card__button {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: center;
}

/* common.css の btn__link をこのセクション用に上書き */
#top-parts-search .btn__link {
  font-size: 16px;
  padding: 1.0rem 3.5rem 1.0rem 2rem;
}


/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1100px) {
  .parts-search__inner {
    padding: 0 20px;
  }

  .parts-search__title-accent {
    font-size: 40px;
  }

  .parts-search__title-base {
    font-size: 30px;
  }

  .parts-search__lead {
    font-size: 18px;
  }

  .parts-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 74px 24px;
    margin-top: 90px;
  }

  .parts-card__top {
    padding: 56px 16px 26px;
  }

  .parts-card__text {
    font-size: 18px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #top-parts-search {
    padding: 40px 0;
  }

  .parts-search__inner {
    padding: 0 6.9%;
  }

  .parts-search__title {
    text-align: center;
  }

  .parts-search__title-accent {
    background: radial-gradient(78.94% 78.94% at 11.39% 52.59%, #BF9A54 0%, rgba(235, 210, 153, 0.95) 25%, #C0A266 50%, #EBD299 75%, #A18838 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .parts-search__title-base {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .parts-search__lead {
    margin-top: 40px;
    color: #FFF;
    text-align: start;
    font-size: 16px;
    line-height: 1.5;
  }

  .parts-search__grid {
    grid-template-columns: 1fr;
    gap: 68px;
    margin-top: 86px;
  }

  .parts-card {
    border-radius: 12px;
  }

  .parts-card::before {
    top: -58px;
    font-size: 96px;
  }

  .parts-card__top {
    padding: 52px 14px 22px;
  }

  .parts-card__title {
    font-size: 23px;
    line-height: 1.55;
  }

  .parts-card__body {
    padding: 24px 18px 22px;
  }

  .parts-card__text {
    font-size: 16px;
    line-height: 1.8;
  }

}

/* =========================
   他院で断られた方
   セカンドオピニオン
========================= */
#top-rejected {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.70) 100%),
    url("../images/top-rejected-back.png") lightgray 50% / cover no-repeat;
  padding: 100px 0;
}

#top-rejected * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}

.rejected__inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================
   head
========================= */
.rejected__head {
  text-align: center;
}

.rejected__en {
  margin: 0;
  line-height: 1;
}

.rejected__en-r {
  color: #C29243;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.rejected__en-rest {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

.rejected__title {
  margin: 22px 0 0;
  line-height: 1.6;
}

.rejected__title-accent {
  color: #C29243;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.6px;
}

.rejected__title-base {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
}

.rejected__lead {
  margin: 28px 0 0;
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  line-height: 1.7;
}

/* =========================
   content
========================= */
.rejected__content {
  margin-top: 120px;
  --rejected-side-gap: 20px;
  --rejected-image-width: 455px;
  --rejected-panel-width: 900px;
}

.rejected__row {
  position: relative;
}

.rejected__row--top {
  min-height: 520px;
}

.rejected__row--bottom {
  margin-top: 36px;
}

.rejected__panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #3C3837 0%, #8F8582 100%);
}

.rejected__panel--left {
  width: var(--rejected-panel-width);
  margin-left: var(--rejected-side-gap);
}

.rejected__panel--right {
  width: var(--rejected-panel-width);
  margin-left: auto;
  margin-right: var(--rejected-side-gap);
}

.rejected__panel-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 43px;
}

.rejected__panel-inner--left {
  padding: 30px 129px 60px 40px;
}

.rejected__panel-inner--right {
  padding: 30px 40px 60px 129px;
}

.rejected__panel-title {
  margin: 0;
  width: 100%;
  text-align: center;
  line-height: 1.6;
}

.rejected__panel-title-base {
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.rejected__panel-title-small {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.rejected__panel-title-underline {
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-color: #D5B37C;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.rejected__panel-text {
  margin: 0;
  width: 100%;
  color: #FFF;
  font-family: "Shippori Mincho";
  font-size: 20px;
  font-style: normal;
  line-height: 1.7;
}

.rejected__image {
  position: absolute;
  z-index: 3;
  margin: 0;
  width: var(--rejected-image-width);
}

.rejected__image img {
  display: block;
  width: 100%;
  height: auto;
}

.rejected__image--top {
  right: var(--rejected-side-gap);
  top: -56px;
}

.rejected__image--bottom {
  left: var(--rejected-side-gap);
  top: -54px;
}

/* =========================
   タブレット
   ※フォントサイズは現状維持
   ※レイアウトはSP寄りの縦積み
========================= */
@media screen and (min-width: 768px) and (max-width: 1180px) {
  .rejected__inner {
    padding: 0 24px;
  }

  .rejected__en-r,
  .rejected__en-rest {
    font-size: 50px;
    letter-spacing: 8px;
  }

  .rejected__title-accent {
    font-size: 28px;
  }

  .rejected__title-base {
    font-size: 22px;
  }

  .rejected__lead {
    font-size: 18px;
    text-align: center;
  }

  .rejected__content {
    margin-top: 56px;
  }

  .rejected__row {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .rejected__row--top {
    margin-top: 0;
  }

  .rejected__row--bottom {
    margin-top: 40px;
  }

  /* 1段目も2段目も画像 → パネルの順に統一 */
  .rejected__row--top .rejected__image {
    order: 1;
  }

  .rejected__row--top .rejected__panel {
    order: 2;
  }

  .rejected__row--bottom .rejected__image {
    order: 1;
  }

  .rejected__row--bottom .rejected__panel {
    order: 2;
  }

  .rejected__image,
  .rejected__image--top,
  .rejected__image--bottom {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: calc(100% - 48px);
    margin: 0 auto;
    z-index: 3;
  }

  .rejected__image img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* SP寄りに、少し重ねる */
  .rejected__panel,
  .rejected__panel--left,
  .rejected__panel--right {
    position: relative;
    width: 100%;
    margin: -36px 0 0;
    z-index: 2;
    background: linear-gradient(180deg, #3C3837 0%, #8F8582 100%);
  }

  .rejected__panel-inner,
  .rejected__panel-inner--left,
  .rejected__panel-inner--right {
    display: flex;
    width: 100%;
    padding: 82px 30px 56px 30px;
    flex-direction: column;
    align-items: center;
    gap: 43px;
  }

  .rejected__panel-title {
    margin: 0;
    text-align: center;
    line-height: 1.7;
  }

  .rejected__panel-title-base {
    font-size: 23px;
  }

  .rejected__panel-title-small {
    font-size: 20px;
  }

  .rejected__panel-title-underline {
    font-size: 28px;
  }

  .rejected__panel-text {
    font-size: 16px;
    text-align: left;
    line-height: 1.7;
    margin: 0;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #top-rejected {
    padding: 40px 0;
  }

  #top-rejected .rejected__inner {
    width: 100%;
    padding: 0;
  }

  /* -------------------------
     head
  ------------------------- */
  #top-rejected .rejected__head {
    padding: 0 20px;
    text-align: center;
  }

  #top-rejected .rejected__en {
    margin: 0;
    text-align: center;
    line-height: 1;
  }

  #top-rejected .rejected__en-r {
    color: #C29243;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 6.4px;
  }

  #top-rejected .rejected__en-rest {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 6.4px;
  }

  #top-rejected .rejected__title {
    margin: 0;
    text-align: center;
    line-height: 1.75;
  }

  #top-rejected .rejected__title-accent {
    color: #C29243;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.2px;
  }

  #top-rejected .rejected__title-base {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1px;
  }

  #top-rejected .rejected__lead {
    margin: 28px 0 0;
    color: #FFF;
    text-align: left;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
  }

  /* -------------------------
     content
  ------------------------- */
  #top-rejected .rejected__content {
    margin-top: 48px;
  }

  #top-rejected .rejected__row {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  #top-rejected .rejected__row--top {
    margin-top: 0;
  }

  #top-rejected .rejected__row--bottom {
    margin-top: 40px;
  }

  /* 1段目だけ画像→説明の順 */
  #top-rejected .rejected__row--top .rejected__image {
    order: 1;
  }

  #top-rejected .rejected__row--top .rejected__panel {
    order: 2;
  }

  /* 2段目は元の順のまま画像→説明 */
  #top-rejected .rejected__row--bottom .rejected__image {
    order: 1;
  }

  #top-rejected .rejected__row--bottom .rejected__panel {
    order: 2;
  }

  #top-rejected .rejected__image,
  #top-rejected .rejected__image--top,
  #top-rejected .rejected__image--bottom {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: calc(100% - 40px);
    margin: 0 auto;
    z-index: 3;
  }

  #top-rejected .rejected__image img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* 画像と説明ブロックを少し重ねる */
  #top-rejected .rejected__panel,
  #top-rejected .rejected__panel--left,
  #top-rejected .rejected__panel--right {
    position: relative;
    width: 100%;
    margin: -45px 0 0;
    z-index: 2;
    background: linear-gradient(180deg, #3C3837 0%, #8F8582 100%);
  }

  #top-rejected .rejected__panel-inner,
  #top-rejected .rejected__panel-inner--left,
  #top-rejected .rejected__panel-inner--right {
    display: flex;
    width: 100%;
    padding: 78px 20px 60px 20px;
    flex-direction: column;
    align-items: center;
    gap: 43px;
  }

  #top-rejected .rejected__panel-title {
    margin: 0;
    text-align: center;
    line-height: 1.8;
  }

  #top-rejected .rejected__panel-title-base {
    color: #FFF;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  #top-rejected .rejected__panel-title-small {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  #top-rejected .rejected__panel-title-underline {
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: #D5B37C;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }

  #top-rejected .rejected__panel-text {
    margin: 0;
    color: #FFF;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
  }
}

/* =========================
   ご予約・無料相談 CTA
========================= */
#top-cta-contact {
  position: relative;
  overflow: hidden;
  background: #222222;
}

#top-cta-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  width: min(100%, 1540px);
  margin: 0 auto;
  background: url("../images/top-cta-back.png") center / cover no-repeat;
  z-index: 0;
}

/* PC版の右下三角 */
#top-cta-contact::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(180px, 22vw, 420px);
  height: clamp(120px, 14vw, 280px);
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

#top-cta-contact .cta-contact__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 78px 20px 64px;
}


#top-cta-contact * {
  box-sizing: border-box;
  font-family: "Shippori Mincho", serif;
}


.cta-contact__head {
  text-align: center;
}

.cta-contact__title {
  margin: 0;
  line-height: 1.5;
}

.cta-contact__title-base {
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.cta-contact__title-small {
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.cta-contact__title-accent {
  color: #D5B37C;
  font-family: "Shippori Mincho";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.cta-contact__lead {
  margin: 24px 0 0;
  color: #FFF;
  text-align: center;
  text-shadow: 4px 0 12px #C29243;
  font-family: "Shippori Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

.cta-contact__cards {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 52px;
}

.cta-contact__card {
  position: relative;
  display: flex;
  width: 439px;
  height: 252px;
  padding: 50px 30px;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  will-change: transform;
}

.cta-contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.cta-contact__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.cta-contact__card:hover::before {
  opacity: 1;
}

.cta-contact__card--tel {
  border: 1px solid #D5B37C;
  background: var(--white, #FFFEFE);
}

.cta-contact__card--tel::before {
  background: linear-gradient(180deg, rgba(213, 179, 124, 0.08) 0%, rgba(213, 179, 124, 0.18) 100%);
}

.cta-contact__card--web {
  background: linear-gradient(180deg, #D5B37C 0%, #FFF7F0 100%);
}

.cta-contact__card--web::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.22) 100%);
}

.cta-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
}

.cta-contact__icon img {
  display: block;
  width: auto;
  height: 48px;
  transition: transform .3s ease;
}

.cta-contact__card:hover .cta-contact__icon img {
  transform: scale(1.08);
}

.cta-contact__label {
  margin: 0;
  color: #091B2C;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.96px;
}

.cta-contact__main {
  margin: 0;
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.28px;
}

.cta-contact__card--web .cta-contact__main {
  margin-top: 4px;
}

/* =========================
   タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1100px) {
  .cta-contact__inner {
    padding: 70px 24px 56px;
  }

  .cta-contact__title-base {
    font-size: 28px;
  }

  .cta-contact__title-accent {
    font-size: 36px;
  }

  .cta-contact__lead {
    font-size: 20px;
  }

  .cta-contact__cards {
    gap: 24px;
  }

  .cta-contact__card {
    width: calc((100% - 24px) / 2);
    min-width: 0;
    height: 220px;
    padding: 36px 20px;
  }

  .cta-contact__label {
    font-size: 21px;
  }

  .cta-contact__main {
    font-size: 28px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  #top-cta-contact {
    background: #1f1f1f;
  }

  #top-cta-contact::before {
    width: 100%;
    background: url("../images/top-cta-back-sp.png") top center / 100% auto no-repeat;
  }

  #top-cta-contact::after {
    display: none;
  }

  .cta-contact__inner {
    padding: 40px 20px 36px;
  }

  .cta-contact__head {
    position: relative;
    z-index: 2;
  }

  .cta-contact__title {
    text-align: center;
    line-height: 1.7;
  }

  .cta-contact__title-base {
    color: #FFF;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .cta-contact__title-small {
    color: #FFF;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .cta-contact__title-accent {
    color: #D5B37C;
    font-family: "Shippori Mincho";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .cta-contact__lead {
    margin-top: 22px;
    color: #FFF;
    text-shadow: 4px 0 12px #C29243;
    font-family: "Shippori Mincho";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
  }

  .cta-contact__cards {
    flex-direction: column;
    gap: 30px;
    margin-top: 38px;
  }

  .cta-contact__card {
    display: flex;
    width: 100%;
    height: auto;
    padding: 20px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 11px;
    align-self: stretch;
  }

  .cta-contact__icon {
    min-height: 54px;
  }

  .cta-contact__icon img {
    height: 42px;
  }

  .cta-contact__label {
    font-size: 20px;
    font-style: normal;
    letter-spacing: 0.8px;
  }

  .cta-contact__main {
    color: #312D2C;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.96px;
  }

  .cta-contact__card:hover {
    transform: translateY(-3px);
  }
}

/* ========================================
   カレンダーブロック
======================================== */
#top-calendar {
  background: #312D2C;
  padding: 40px 20px 41px;
}

#top-calendar .top-calendar__inner {
	max-width: 1252px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}

#top-calendar .top-calendar__calendar {
  flex: 0 0 342px;
}

#top-calendar .top-calendar__calendar-box {
  width: 342px;
  aspect-ratio: 342 / 229;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
}

#top-calendar .top-calendar__calendar-placeholder {
  color: #000;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}

/* カレンダー差し込み時の保険 */
#top-calendar .top-calendar__calendar-box iframe,
#top-calendar .top-calendar__calendar-box .calendar_wrap,
#top-calendar .top-calendar__calendar-box .wp-block-calendar,
#top-calendar .top-calendar__calendar-box table {
  width: 100%;
  height: 100%;
}

/* 右カラム */
#top-calendar .top-calendar__info {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

#top-calendar .top-calendar__logo {
  max-width: 538px;
  margin-bottom: 35px;
}

#top-calendar .top-calendar__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 情報 */
#top-calendar .top-calendar__detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#top-calendar .top-calendar__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

#top-calendar .top-calendar__item--tel {
  margin-top: 4px;
}

#top-calendar .top-calendar__icon {
  flex: 0 0 auto;
  width: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
}

#top-calendar .top-calendar__item--tel .top-calendar__icon {
  width: 30px;
}

#top-calendar .top-calendar__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* 指定テキスト */
#top-calendar .top-calendar__text {
  margin: 0;
  color: #FFF;
  text-align: left;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.64px;
}
/* カレンダーの外枠の調整 */
.google-calendar-wrapper {
    width: 100%;
	max-width: 780px; /* 以前の添付画像のサイズ感に合わせる */
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.top-calendar__note {
	color:#fff;
	margin-top:40px;
}

/* スマホ対応：画面幅に合わせて高さを調整 */
@media (max-width: 768px) {
    .google-calendar-wrapper iframe {
        height: 350px; /* スマホでは少し高さを抑える */
    }
}

/* ========================================
   Tablet (768px - 1024px)
======================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #top-calendar {
    padding: 60px 40px; /* 少しゆとりを持たせる */
  }

  #top-calendar .top-calendar__inner {
    max-width: 800px; /* 広がりすぎないよう制限 */
    display: block;   /* SP同様に縦並び */
    margin: 0 auto;
  }

  /* カレンダー部分 */
  #top-calendar .top-calendar__calendar {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-bottom: 40px; /* 情報との間隔 */
  }

  #top-calendar .top-calendar__calendar-box {
    width: 100%;
    aspect-ratio: 16 / 9; /* タブレットで見やすいアスペクト比 */
    height: auto;
  }

  /* 右カラム（情報エリア） */
  #top-calendar .top-calendar__info {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    text-align: center;
	  margin-top:40px;
  }

  #top-calendar .top-calendar__logo {
    max-width: 400px; /* タブレットに適したサイズ */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  #top-calendar .top-calendar__detail {
    align-items: flex-start; /* テキストの行頭は揃える */
    display: inline-flex;    /* 中央に寄せるための指定 */
    text-align: left;
  }

  #top-calendar .top-calendar__text {
    font-size: 18px; /* 少しだけ視認性を上げる */
  }
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 767px) {
  #top-calendar {
    padding: 40px 24px 43px;
  }

  #top-calendar .top-calendar__inner {
    max-width: 327px;
    display: block;
  }

  #top-calendar .top-calendar__calendar {
    width: 100%;
    margin-bottom: 20px;
  }

  #top-calendar .top-calendar__calendar-box {
    width: 100%;
    aspect-ratio: 327 / 239;
  }

  #top-calendar .top-calendar__calendar-placeholder {
    font-size: 32px;
  }

  #top-calendar .top-calendar__info {
    padding: 20px 4px;
  }

  #top-calendar .top-calendar__logo {
    max-width: 267px;
    margin-bottom: 25px;
  }

  #top-calendar .top-calendar__detail {
    gap: 10px;
  }

  #top-calendar .top-calendar__item {
    gap: 12px;
  }

  #top-calendar .top-calendar__icon {
    width: 22px;
    padding-top: 2px;
  }

  #top-calendar .top-calendar__item--tel .top-calendar__icon {
    width: 28px;
  }

  #top-calendar .top-calendar__text {
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.64px;
  }
}

/* =========================================
   一生ものの治療
========================================= */
#top-lifelong-treatment {
  background: #F5F5F5;
  padding: 0 0 60px;
  overflow: hidden;
}

/* -----------------------------------------
   HERO
----------------------------------------- */
#top-lifelong-treatment .top-lifelong-treatment__hero {
  position: relative;
  width: 100%;
  height: 900px;
  background: url("../images/top-lifelong-treatment-back.png") center top / cover no-repeat;
}

#top-lifelong-treatment .top-lifelong-treatment__hero-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
}

/* PC/TB 見出し */
#top-lifelong-treatment .top-lifelong-treatment__hero-copy--pc {
  position: absolute;
  top: 104px;
  left: 145px;
  width: 610px;
  z-index: 2;
}

#top-lifelong-treatment .top-lifelong-treatment__hero-copy--sp {
  display: none;
}

/* リード */
#top-lifelong-treatment .top-lifelong-treatment__lead--pc {
  position: absolute;
  top: 425px;
  left: 130px;
  width: 643px;
  z-index: 2;
}

#top-lifelong-treatment .top-lifelong-treatment__lead--sp {
  display: none;
}

/* タイトル */
#top-lifelong-treatment .top-lifelong-treatment__title {
  margin: 0;
  text-align: center;
  color: #312D2C;
  text-shadow: 4px 4px 6px #FFF;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-lifelong-treatment .top-lifelong-treatment__title .line {
  display: block;
  white-space: nowrap;
}

#top-lifelong-treatment .top-lifelong-treatment__title .line1 {
  line-height: 1.45;
}

#top-lifelong-treatment .top-lifelong-treatment__title .line2 {
  margin-top: 8px;
  line-height: 1.45;
}

#top-lifelong-treatment .top-lifelong-treatment__title .line3 {
  margin-top: 16px;
  line-height: 1.2;
}

#top-lifelong-treatment .top-lifelong-treatment__title .main {
  font-size: 48px;
  letter-spacing: 2.4px;
}

#top-lifelong-treatment .top-lifelong-treatment__title .sub {
  font-size: 40px;
  letter-spacing: 2px;
}

#top-lifelong-treatment .top-lifelong-treatment__title .bracket {
  color: #312D2C;
  font-size: 64px;
  letter-spacing: 3.2px;
}

#top-lifelong-treatment .top-lifelong-treatment__title .accent {
  color: #A18838;
  font-size: 64px;
  letter-spacing: 3.2px;
  text-decoration: underline;
  text-decoration-color: #A18838;
  text-decoration-thickness: 2px;
  text-underline-offset: 14px;
}

/* lead text */
#top-lifelong-treatment .top-lifelong-treatment__lead p {
  margin: 0;
  color: #000;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 1px;
}

/* 1440px超えは見え方優先 */
@media screen and (min-width: 1601px) {
  #top-lifelong-treatment .top-lifelong-treatment__hero {
    background-size: contain;
    background-color: #F5F5F5;
  }
}

#top-lifelong-treatment .top-lifelong-treatment__hero {
  position: relative;
  overflow: hidden;
}

/* PC時：左側だけ白っぽいグラデーションを重ねる */
#top-lifelong-treatment .top-lifelong-treatment__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.76) 28%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 62%
  );
}

/* テキストはグラデーションより前面に */
#top-lifelong-treatment .top-lifelong-treatment__hero-inner {
  position: relative;
  z-index: 2;
}

#top-lifelong-treatment .top-lifelong-treatment__lead--pc {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* -----------------------------------------
   TABLET
----------------------------------------- */
@media screen and (max-width: 1199px) {
  #top-lifelong-treatment {
    padding: 0 0 90px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero {
    height: 760px;
    background-position: 66% top;
    background-size: cover;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero-inner {
    max-width: 100%;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero-copy--pc {
    top: 108px;
    left: 42px;
    width: 500px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead--pc {
    top: 375px;
    left: 38px;
    width: 520px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .main {
    font-size: 40px;
    letter-spacing: 2px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .sub {
    font-size: 34px;
    letter-spacing: 1.7px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .bracket,
  #top-lifelong-treatment .top-lifelong-treatment__title .accent {
    font-size: 54px;
    letter-spacing: 2.7px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead p {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.8px;
  }
}

@media screen and (max-width: 900px) {
  #top-lifelong-treatment .top-lifelong-treatment__hero {
    height: 640px;
    background-position: 69% top;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero-copy--pc {
    top: 74px;
    left: 26px;
    width: 410px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead--pc {
    top: 300px;
    left: 26px;
    width: 430px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .main {
    font-size: 32px;
    letter-spacing: 1.6px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .sub {
    font-size: 27px;
    letter-spacing: 1.35px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .bracket,
  #top-lifelong-treatment .top-lifelong-treatment__title .accent {
    font-size: 44px;
    letter-spacing: 2.2px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead p {
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.64px;
  }
}

/* -----------------------------------------
   SP
----------------------------------------- */
@media screen and (max-width: 767px) {
  #top-lifelong-treatment {
    padding: 0 0 34px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero {
    height: 343px;
    background: url("../images/top-lifelong-treatment-back.png") 69% top / cover no-repeat;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero-copy--pc,
  #top-lifelong-treatment .top-lifelong-treatment__lead--pc {
    display: none;
  }

  #top-lifelong-treatment .top-lifelong-treatment__hero-copy--sp {
    display: block;
    position: absolute;
    top: 106px;
    left: -14px;
    width: 335px;
    z-index: 2;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead--sp {
    display: block;
    width: 326px;
    margin: 0 auto 15px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title {
    text-shadow: 1.039px 1.039px 1.559px #FFF;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .line1 {
    line-height: 1.45;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .line2 {
    margin-top: 6px;
    line-height: 1.45;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .line3 {
    margin-top: 12px;
    line-height: 1.2;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .main {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .sub {
    font-size: 20px;
    letter-spacing: 1px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .bracket {
    color: #312D2C;
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__title .accent {
    color: #A18838;
    font-size: 32px;
    letter-spacing: 1.6px;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 8px;
	  font-weight:700;
  }

  #top-lifelong-treatment .top-lifelong-treatment__lead--sp p {
    color: #000;
    font-family: "Shippori Mincho", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.8px;
  }
}

/* =========================================
   H3 blocks
========================================= */
#top-lifelong-treatment .top-lifelong-treatment__blocks {
  width: 100%;
  margin-top: -71px;
}

#top-lifelong-treatment .top-lifelong-treatment__block {
  position: relative;
}

#top-lifelong-treatment .top-lifelong-treatment__block+.top-lifelong-treatment__block {
  margin-top: 0;
}

/* -----------------------------------------
   PC
----------------------------------------- */
#top-lifelong-treatment .top-lifelong-treatment__block-pc {
  display: block;
}

#top-lifelong-treatment .top-lifelong-treatment__block-sp {
  display: none;
}

#top-lifelong-treatment .top-lifelong-treatment__stage {
  position: relative;
  width: 1227px;
  margin: 0 auto;
  background: #3C3837;
  box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.25);
}

/* 各ブロックごとの黒背景高さ */
#top-lifelong-treatment .top-lifelong-treatment__block--01 .top-lifelong-treatment__stage {
  height: 690px;
}

#top-lifelong-treatment .top-lifelong-treatment__block--02 .top-lifelong-treatment__stage {
  height: 628px;
}

#top-lifelong-treatment .top-lifelong-treatment__block--03 .top-lifelong-treatment__stage {
  height: 750px;
}

/* 写真 */
#top-lifelong-treatment .top-lifelong-treatment__photo {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

/* 1枚目 */
#top-lifelong-treatment .top-lifelong-treatment__block--01 .top-lifelong-treatment__photo {
  left: 0;
  top: 61px;
  width: 1214px;
  height: 500px;
  background-image: url("../images/top-lifelong-treatment1.png");
}

/* 2枚目 */
#top-lifelong-treatment .top-lifelong-treatment__block--02 .top-lifelong-treatment__photo {
  right: 0;
  top: 90px;
  width: 1170px;
  height: 500px;
  background-image: url("../images/top-lifelong-treatment2.png");
}

/* 3枚目 */
#top-lifelong-treatment .top-lifelong-treatment__block--03 .top-lifelong-treatment__photo {
  left: 0;
  top: 100px;
  width: 1214px;
  height: 500px;
  background-image: url("../images/top-lifelong-treatment3.png");
}

/* -----------------------------------------
   白パネル共通
----------------------------------------- */
#top-lifelong-treatment .top-lifelong-treatment__panel {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#top-lifelong-treatment .top-lifelong-treatment__panel-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* 1枚目 panel */
#top-lifelong-treatment .top-lifelong-treatment__block--01 .top-lifelong-treatment__panel {
  top: 141px;
  right: 0;
  width: 705px;
  min-height: 376px;
  padding: 34px 42px 38px 44px;
  background-image: url("../images/top-lifelong-treatment-txt-back1.png");
}

/* 2枚目 panel */
#top-lifelong-treatment .top-lifelong-treatment__block--02 .top-lifelong-treatment__panel {
  top: 180px;
  left: 0;
  width: 725px;
  min-height: 383px;
  padding: 33px 46px 36px 48px;
  background-image: url("../images/top-lifelong-treatment-txt-back2.png");
}

/* 3枚目 panel */
#top-lifelong-treatment .top-lifelong-treatment__block--03 .top-lifelong-treatment__panel {
  top: 220px;
  right: 0;
  width: 730px;
  min-height: 356px;
  padding: 31px 45px 38px 47px;
  background-image: url("../images/top-lifelong-treatment-txt-back3.png");
}

/* 見出し */
#top-lifelong-treatment .top-lifelong-treatment__heading {
  margin: 0;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;

}

#top-lifelong-treatment .top-lifelong-treatment__heading .gold {
  color: #C29243;
  text-shadow: 0 4px 4px rgba(194, 146, 67, 0.25);
  font-size: 36px;
  letter-spacing: 1.8px;
}

#top-lifelong-treatment .top-lifelong-treatment__heading .small {
  color: #312D2C;
  font-size: 24px;
  letter-spacing: 1.2px;
  text-shadow: 0 4px 4px rgba(194, 146, 67, 0.25);
}

#top-lifelong-treatment .top-lifelong-treatment__heading .main {
  color: #312D2C;
  font-size: 36px;
  letter-spacing: 1.8px;
  text-shadow: 0 4px 4px rgba(194, 146, 67, 0.25);
}

#top-lifelong-treatment .top-lifelong-treatment__heading-line {
  width: 100%;
  height: 1px;
  background: #B3B3B3;
  margin: 18px 0 24px;
}

/* 本文 */
#top-lifelong-treatment .top-lifelong-treatment__text p {
  margin: 0;
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 1px;
}

#top-lifelong-treatment .top-lifelong-treatment__text .mark {
  color: #C29243;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: rgba(194, 146, 67, 14%);
  text-decoration-thickness: 45%;
  text-underline-offset: -20%;
  text-underline-position: from-font;
}

/* -----------------------------------------
   Tablet / SP
----------------------------------------- */
@media screen and (max-width: 1100px) {
  #top-lifelong-treatment .top-lifelong-treatment__blocks {
    margin-top: 0;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block+.top-lifelong-treatment__block {
    margin-top: 0;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block-pc {
    display: none;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block-sp {
    display: block;
  }

  /* カード間の余白は黒背景で見せる */
  #top-lifelong-treatment .top-lifelong-treatment__stage-sp {
    position: relative;
    width: min(640px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 18px 24px;
    background: #3C3837;
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.25);
  }

  #top-lifelong-treatment .top-lifelong-treatment__block+.top-lifelong-treatment__block .top-lifelong-treatment__stage-sp {
    margin-top: 0px;
  }

  /* 白背景の中に画像→見出し→本文 */
  #top-lifelong-treatment .top-lifelong-treatment__panel-sp {
    position: relative;
    width: 100%;
    padding: 16px 18px 22px;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  /* 1枚目 */
  #top-lifelong-treatment .top-lifelong-treatment__panel-sp--01 {
    background-image: url("../images/top-lifelong-treatment-txt-back1-sp.png");
    background-size: 100% auto;
    background-position: center top;
  }

  /* 2枚目 */
  #top-lifelong-treatment .top-lifelong-treatment__panel-sp--02 {
    background-image: url("../images/top-lifelong-treatment-txt-back2-sp.png");
    background-size: 100% auto;
    background-position: center top;
  }

  /* 3枚目 */
  #top-lifelong-treatment .top-lifelong-treatment__panel-sp--03 {
    background-image: url("../images/top-lifelong-treatment-txt-back3-sp.png");
    background-size: 100% auto;
    background-position: center top;
  }

  #top-lifelong-treatment .top-lifelong-treatment__photo-sp {
    width: 100%;
    margin: 0 0 20px;
    text-align: center;
  }

  #top-lifelong-treatment .top-lifelong-treatment__photo-sp img {
    display: inline-block;
    vertical-align: top;
    height: auto;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block--01 .top-lifelong-treatment__photo-sp img {
    width: 184px;
    max-width: 100%;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block--02 .top-lifelong-treatment__photo-sp img,
  #top-lifelong-treatment .top-lifelong-treatment__block--03 .top-lifelong-treatment__photo-sp img {
    width: 180px;
    max-width: 100%;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading {
    text-align: center;
    line-height: 1.5;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading .gold,
  #top-lifelong-treatment .top-lifelong-treatment__heading .main {
    font-size: 30px;
    letter-spacing: 1.5px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading .small {
    font-size: 22px;
    letter-spacing: 1.1px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading-line {
    margin: 18px 0 22px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__text p {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.8px;
  }
}

@media screen and (max-width: 767px) {
  #top-lifelong-treatment .top-lifelong-treatment__stage-sp {
    width: 327px;
    padding: 14px 9px 18px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block+.top-lifelong-treatment__block .top-lifelong-treatment__stage-sp {
    margin-top: 0px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__panel-sp {
    padding: 16px 18px 22px;
    background-position: center;
    background-size: 100% 100%;
  }

  #top-lifelong-treatment .top-lifelong-treatment__photo-sp {
    margin-bottom: 16px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block--01 .top-lifelong-treatment__photo-sp img {
    width: 206px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__block--02 .top-lifelong-treatment__photo-sp img,
  #top-lifelong-treatment .top-lifelong-treatment__block--03 .top-lifelong-treatment__photo-sp img {
    width: 180px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading {
    line-height: 1.55;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading .gold {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading .small {
    font-size: 20px;
    letter-spacing: 1px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading .main {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__heading-line {
    margin: 16px 0 18px;
  }

  #top-lifelong-treatment .top-lifelong-treatment__text p {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 1.85;
  }
}

/* ========================================
   お支払い方法
======================================== */
#top-payment {
  width: 100%;
  background: #f5f5f5;
}

/* -------------------------
   head
------------------------- */
#top-payment .top-payment__head {
  background: #ebebeb;
  padding: 100px 20px 40px;
}

#top-payment .top-payment__head-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

#top-payment .top-payment__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-payment .top-payment__title-line {
  display: block;
}

#top-payment .top-payment__title-line--01 {
  margin-bottom: 10px;
}

#top-payment .clinic {
  color: #A39A7F;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Shippori Mincho", serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2px;
}

#top-payment .sub {
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
}

#top-payment .payment {
  color: #A39A7F;
  font-family: "Shippori Mincho", serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2.4px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

#top-payment .about {
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
}

#top-payment .top-payment__lead {
  margin: 48px 0 0;
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* -------------------------
   body
------------------------- */
#top-payment .top-payment__body {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.49) 0%, rgba(0, 0, 0, 0.49) 100%),
    url("../images/top-payment-back.png") lightgray 50% / cover no-repeat;
  padding: 56px 20px 70px;
}

#top-payment .top-payment__body-inner {
  max-width: 1048px;
  margin: 0 auto;
}

/* -------------------------
   methods
------------------------- */
#top-payment .top-payment__methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
  align-items: stretch;
  margin-bottom: 56px;
}

#top-payment .top-payment__method-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 38px 20px 34px;
  text-align: center;
  min-height: 390px;
}

#top-payment .top-payment__method-icon {
  width: 188px;
  margin: 0 auto 24px;
}

#top-payment .top-payment__method-icon img {
  display: block;
  width: 100%;
  height: auto;
}

#top-payment .top-payment__method-title {
  margin: 0 0 24px;
  color: #000;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-payment .top-payment__method-text {
  margin: 0;
  color: #000;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

/* -------------------------
   prices
------------------------- */
#top-payment .top-payment__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

#top-payment .top-payment__price-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 18px 18px 18px;
}

#top-payment .top-payment__price-head {
  margin: 0 0 20px;
  background: #E0D2AA;
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding: 8px 10px 9px;
}

#top-payment .top-payment__price-body {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 128px;
}

#top-payment .top-payment__price-image img {
  display: block;
  width: 100%;
  height: auto;
}

#top-payment .top-payment__price-image--single {
  flex: 0 0 154px;
}

#top-payment .top-payment__price-image--allon4 {
  flex: 0 0 174px;
}

#top-payment .top-payment__price-text {
  flex: 1;
}

#top-payment .top-payment__price-line {
  margin: 0;
  color: #312D2C;
  text-align: start;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

#top-payment .top-payment__price-line+.top-payment__price-line {
  margin-top: 6px;
}

#top-payment .label,
#top-payment .unit {
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-payment .value {
  color: #D36464;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-payment .wave {
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-right: 6px;
}

/* -------------------------
   Tablet（PC版寄せ）
------------------------- */
@media screen and (max-width: 1100px) and (min-width: 768px) {
  #top-payment .top-payment__head {
    padding: 84px 24px 52px;
  }

  #top-payment .top-payment__head-inner {
    max-width: 900px;
  }

  #top-payment .top-payment__title-line--01 {
    margin-bottom: 8px;
  }

  #top-payment .clinic {
    font-size: 32px;
    letter-spacing: 1.6px;
  }

  #top-payment .sub {
    font-size: 20px;
    letter-spacing: 1px;
  }

  #top-payment .payment {
    font-size: 42px;
    letter-spacing: 2.1px;
  }

  #top-payment .about {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-payment .top-payment__lead {
    margin-top: 40px;
    font-size: 18px;
  }

  #top-payment .top-payment__body {
    padding: 48px 24px 56px;
    background-position: center;
  }

  #top-payment .top-payment__body-inner {
    max-width: 920px;
  }

  /* 支払い方法3カラムのまま */
  #top-payment .top-payment__methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
  }

  #top-payment .top-payment__method-card {
    padding: 24px 14px 22px;
    min-height: 280px;
  }

  #top-payment .top-payment__method-icon {
    width: 132px;
    margin: 0 auto 18px;
  }

  #top-payment .top-payment__method-title {
    margin: 0 0 16px;
    font-size: 18px;
  }

  #top-payment .top-payment__method-text {
    font-size: 16px;
    line-height: 1.45;
  }

  /* 下の料金ボックスも2カラムのまま */
  #top-payment .top-payment__prices {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  #top-payment .top-payment__price-card {
    padding: 14px 14px 14px;
  }

  #top-payment .top-payment__price-head {
    margin-bottom: 14px;
    font-size: 16px;
    padding: 7px 8px 8px;
  }

  #top-payment .top-payment__price-body {
    gap: 14px;
    min-height: 104px;
  }

  #top-payment .top-payment__price-image--single {
    flex: 0 0 104px;
  }

  #top-payment .top-payment__price-image--allon4 {
    flex: 0 0 118px;
  }

  #top-payment .top-payment__price-line {
    text-align: center;
  }

  #top-payment .label,
  #top-payment .unit {
    font-size: 15px;
  }

  #top-payment .value {
    font-size: 24px;
  }

  #top-payment .wave {
    font-size: 24px;
    margin-right: 3px;
  }

  #top-payment .top-payment__price-line+.top-payment__price-line {
    margin-top: 4px;
  }
}

/* -------------------------
   SP
------------------------- */
@media screen and (max-width: 767px) {
  #top-payment .top-payment__head {
    padding: 52px 20px 32px;
  }

  #top-payment .top-payment__head-inner {
    max-width: 327px;
  }

  #top-payment .top-payment__title-line--01 {
    margin-bottom: 6px;
  }

  #top-payment .clinic {
    font-size: 20px;
    letter-spacing: 1px;
  }

  #top-payment .sub {
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  #top-payment .payment {
    font-size: 32px;
    letter-spacing: 1.6px;
  }

  #top-payment .about {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-payment .top-payment__lead {
    margin-top: 38px;
    font-size: 16px;
    line-height: normal;
  }

  #top-payment .top-payment__body {
    padding: 40px 0 38px;
    background-position: center;
  }

  #top-payment .top-payment__body-inner {
    max-width: 327px;
  }

  #top-payment .top-payment__methods {
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
    margin-bottom: 34px;
  }

  #top-payment .top-payment__method-card {
    padding: 10px;
    min-height: 205px;
  }

  #top-payment .top-payment__method-card:nth-child(3) {
    grid-column: 1 / 2;
  }

  #top-payment .top-payment__method-icon {
    width: 120px;
    margin-bottom: 18px;
  }

  #top-payment .top-payment__method-title {
    margin-bottom: 16px;
    font-size: 14px;
  }

  #top-payment .top-payment__method-text {
    font-size: 12px;
    line-height: 1.4;
  }

  #top-payment .top-payment__prices {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #top-payment .top-payment__price-card {
    padding: 10px 10px 12px;
  }

  #top-payment .top-payment__price-head {
    margin-bottom: 10px;
    font-size: 16px;
    padding: 6px 8px;
  }

  #top-payment .top-payment__price-body {
    gap: 12px;
    min-height: auto;
  }

  #top-payment .top-payment__price-image--single {
    flex: 0 0 86px;
  }

  #top-payment .top-payment__price-image--allon4 {
    flex: 0 0 92px;
  }

  #top-payment .label,
  #top-payment .unit {
    font-size: 11px;
  }

  #top-payment .value {
    font-size: 17px;
  }

  #top-payment .wave {
    font-size: 17px;
    margin-right: 2px;
  }

  #top-payment .top-payment__price-line+.top-payment__price-line {
    margin-top: 6px;
    margin-left: 10px;
  }
}

/* ========================================
   保証制度
======================================== */

#top-guarantee {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0.07) 100%),
    url("../images/top-guarantee-back.png") lightgray 50% / cover no-repeat;
  padding: 100px 20px;
}

#top-guarantee .top-guarantee__inner {
  max-width: 1140px;
  margin: 0 auto;
}

#top-guarantee .top-guarantee__head {
  text-align: center;
}

#top-guarantee .top-guarantee__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-guarantee .top-guarantee__title-pc {
  display: block;
}

#top-guarantee .top-guarantee__title-sp {
  display: none;
}

#top-guarantee .top-guarantee__title .line {
  display: block;
}

#top-guarantee .top-guarantee__title .main {
  color: #747474;
  text-align: center;
  text-shadow: 0 4px 4px #FFF;
  font-family: "Shippori Mincho", serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-guarantee .top-guarantee__title .sub {
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#top-guarantee .top-guarantee__title .small {
  font-size: 20px;
}

#top-guarantee .top-guarantee__lead {
  margin-top: 42px;
}

#top-guarantee .top-guarantee__lead p {
  margin: 0;
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
}

#top-guarantee .top-guarantee__lead .underline {
  color: #312D2C;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-color: #C29243;
  text-decoration-thickness: 8.5%;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

#top-guarantee .top-guarantee__box {
  max-width: 1140px;
  margin: 54px auto 0;
  background: #FFF;
  padding: 40px 38px 52px;
}

#top-guarantee .top-guarantee__box-title {
  margin: 0;
  color: #C2A95C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-color: #C2A95C;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

#top-guarantee .top-guarantee__box-lead {
  margin: 42px 0 0;
  color: #312D2C;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

#top-guarantee .top-guarantee__list {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
}

#top-guarantee .top-guarantee__item+.top-guarantee__item {
  margin-top: 22px;
}

#top-guarantee .top-guarantee__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

#top-guarantee .top-guarantee__icon {
  flex: 0 0 28px;
  width: 28px;
  margin-top: 2px;
}

#top-guarantee .top-guarantee__icon img {
  display: block;
  width: 100%;
  height: auto;
}

#top-guarantee .top-guarantee__item-text {
  color: #3C3837;
  text-align: left;
  font-family: "Shippori Mincho", serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.7;
}

#top-guarantee .pc-only {
  display: inline;
}

/* ========================================
   TABLET
======================================== */
@media screen and (max-width: 1100px) and (min-width: 768px) {
  #top-guarantee {
    padding: 80x 24px;
    background-position: center;
  }

  #top-guarantee .top-guarantee__inner {
    max-width: 920px;
  }

  #top-guarantee .top-guarantee__title-pc {
    display: block;
  }

  #top-guarantee .top-guarantee__title-sp {
    display: none;
  }

  #top-guarantee .top-guarantee__title .main {
    font-size: 32px;
  }

  #top-guarantee .top-guarantee__title .sub {
    font-size: 20px;
  }

  #top-guarantee .top-guarantee__lead {
    margin-top: 34px;
  }

  #top-guarantee .top-guarantee__lead p {
    font-size: 18px;
    line-height: 1.7;
  }

  #top-guarantee .top-guarantee__lead .underline {
    font-size: 18px;
  }

  #top-guarantee .top-guarantee__box {
    margin-top: 46px;
    padding: 34px 30px 40px;
  }

  #top-guarantee .top-guarantee__box-title {
    font-size: 28px;
  }

  #top-guarantee .top-guarantee__box-lead {
    margin-top: 34px;
    font-size: 18px;
    line-height: 1.7;
  }

  #top-guarantee .top-guarantee__list {
    margin-top: 34px;
  }

  #top-guarantee .top-guarantee__item+.top-guarantee__item {
    margin-top: 18px;
  }

  #top-guarantee .top-guarantee__item {
    gap: 12px;
  }

  #top-guarantee .top-guarantee__icon {
    flex: 0 0 26px;
    width: 26px;
    margin-top: 3px;
  }

  #top-guarantee .top-guarantee__item-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
  }

  #top-guarantee .pc-only {
    display: inline;
  }
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 767px) {
  #top-guarantee {
    padding: 44px 20px 56px;
    background-position: center;
  }

  #top-guarantee .top-guarantee__inner {
    max-width: 327px;
  }

  #top-guarantee .top-guarantee__title-pc {
    display: none;
  }

  #top-guarantee .top-guarantee__title-sp {
    display: block;
  }

  #top-guarantee .top-guarantee__title .line1 {
    margin-bottom: 10px;
  }

  #top-guarantee .top-guarantee__title .line2 {
    margin-bottom: 0;
  }

  #top-guarantee .top-guarantee__title .main {
    font-size: 32px;
  }

  #top-guarantee .top-guarantee__title .sub {
    font-size: 24px;
  }

  #top-guarantee .top-guarantee__title .small {
    font-size: 20px;
  }

  #top-guarantee .top-guarantee__title .sub.small {
    font-size: 16px;
  }

  #top-guarantee .top-guarantee__lead {
    margin-top: 34px;
    text-align: left;
  }

  #top-guarantee .top-guarantee__lead p {
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
  }

  #top-guarantee .top-guarantee__lead .underline {
    font-size: 16px;
  }

  #top-guarantee .top-guarantee__box {
    margin-top: 44px;
    padding: 26px 18px 28px;
  }

  #top-guarantee .top-guarantee__box-title {
    font-size: 24px;
  }

  #top-guarantee .top-guarantee__box-lead {
    margin-top: 28px;
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
  }

  #top-guarantee .top-guarantee__list {
    margin-top: 28px;
  }

  #top-guarantee .top-guarantee__item+.top-guarantee__item {
    margin-top: 18px;
  }

  #top-guarantee .top-guarantee__item {
    gap: 10px;
  }

  #top-guarantee .top-guarantee__icon {
    flex: 0 0 22px;
    width: 24px;
    margin-top: 2px;
  }

  #top-guarantee .top-guarantee__item-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
  }

  #top-guarantee .pc-only {
    display: none;
  }
}

/* ========================================
   お知らせ
======================================== */
#top-news {
  background: #3C3837;
  padding: 100px 20px;
}

#top-news .top-news__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* -------------------------
   left
------------------------- */
#top-news .top-news__head {
  flex: 0 0 275px;
  text-align: center;
}

#top-news .top-news__en-title {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

#top-news .top-news__en-title .gold {
  color: rgba(194, 146, 67, 0.70);
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

#top-news .top-news__en-title .white {
  color: #FFF;
  font-family: "Shippori Mincho", serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 12.8px;
}

#top-news .top-news__title {
  margin: 8px 0 0;
  color: #FFF;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.6px;
}

/* ボタン上書き */
#top-news .top-news__button {
  margin-top: 48px;
}

#top-news .top-news__button .btn__link {
  width: 243px;
  box-sizing: border-box;
  border: 1px solid #312D2C;
  background: rgba(255, 255, 255, 0.40);
  color: #FFF;
  padding: 14px 54px 14px 22px;
  margin-top: 0;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-align: left;
}


#top-news .top-news__button .btn__link:hover {
  background: rgba(194, 146, 67, 0.70);
}


/* -------------------------
   right list
------------------------- */
#top-news .top-news__list-wrap {
  flex: 1;
  padding-top: 6px;
}

#top-news .top-news__list {
  background: rgba(255, 255, 255, 0.31);
  padding: 20px;
}

#top-news .top-news__item {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 22px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

#top-news .top-news__item+.top-news__item {
  margin-top: 28px;
}

#top-news .top-news__date {
  margin: 0;
  color: #FFF;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  line-height: normal;
}

#top-news .top-news__text {
  margin: 0;
  color: #FFF;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  line-height: normal;
}

/* -------------------------
   お知らせ一覧 hover
------------------------- */
#top-news .top-news__item {
  transition: opacity .3s ease, transform .3s ease;
}

#top-news .top-news__date,
#top-news .top-news__text {
  transition: color .3s ease, opacity .3s ease;
}

#top-news .top-news__item:hover {
  opacity: 0.75;
}

#top-news .top-news__item:hover .top-news__date,
#top-news .top-news__item:hover .top-news__text {
  color: #D5B37C;
}

/* ========================================
   TABLET
======================================== */
@media screen and (max-width: 1100px) and (min-width: 768px) {
  #top-news {
    padding: 60px 24px 64px;
  }

  #top-news .top-news__inner {
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 42px;
  }

  /* -------------------------
     left
  ------------------------- */
  #top-news .top-news__head {
    flex: 0 0 220px;
    text-align: center;
  }

  #top-news .top-news__en-title {
    margin: 0;
    text-align: center;
    white-space: nowrap;
  }

  #top-news .top-news__en-title .gold {
    font-size: 48px;
    letter-spacing: 9.6px;
  }

  #top-news .top-news__en-title .white {
    font-size: 48px;
    letter-spacing: 9.6px;
  }

  #top-news .top-news__title {
    margin-top: 8px;
    text-align: center;
    font-size: 28px;
    letter-spacing: 1.4px;
  }

  #top-news .top-news__button {
    margin-top: 34px;
  }

  #top-news .top-news__button .btn__link {
    width: 220px;
    font-size: 16px;
    padding: 12px 48px 12px 20px;
    letter-spacing: 0.08em;
  }

  /* -------------------------
     right list
  ------------------------- */
  #top-news .top-news__list-wrap {
    flex: 1;
    padding-top: 4px;
  }

  #top-news .top-news__list {
    padding: 18px 18px 16px;
  }

  #top-news .top-news__item {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 18px;
    align-items: start;
  }

  #top-news .top-news__item+.top-news__item {
    margin-top: 22px;
  }

  #top-news .top-news__date {
    font-size: 18px;
  }

  #top-news .top-news__text {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 767px) {
  #top-news {
    padding: 50px 24px 54px;
  }

  #top-news .top-news__inner {
    max-width: 327px;
    display: block;
  }

  #top-news .top-news__head {
    width: 100%;
    text-align: left;
  }

  #top-news .top-news__en-title {
    text-align: left;
  }

  #top-news .top-news__en-title .gold {
    font-size: 32px;
    letter-spacing: 6.4px;
  }

  #top-news .top-news__en-title .white {
    font-size: 32px;
    letter-spacing: 6.4px;
  }

  #top-news .top-news__title {
    margin-top: 6px;
    text-align: left;
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  #top-news .top-news__button {
    margin-top: 24px;
  }

  #top-news .top-news__list-wrap {
    padding-top: 30px;
  }

  #top-news .top-news__list {
    padding: 18px 18px 16px;
  }

  #top-news .top-news__item {
    display: block;
  }

  #top-news .top-news__item+.top-news__item {
    margin-top: 18px;
  }

  #top-news .top-news__date {
    font-size: 16px;
    margin-bottom: 12px;
  }

  #top-news .top-news__text {
    font-size: 16px;
    line-height: 1.5;
  }

  #top-news .top-news__button .btn__link {
    width: 218px;
    font-size: 16px;
    padding: 10px 54px 10px 22px;
  }

}

/* ======================================
診療カレンダー
====================================== */
.clinic-cal {
  max-width: 1000px;
  margin: 0 auto;
}

.clinic-cal-head {
  margin-bottom: 24px;
}

.clinic-cal-title {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.clinic-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.clinic-cal-month {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.clinic-cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 65px;
  padding: 10px 16px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: .3s;
}

.clinic-cal-nav-btn:hover {
  background: #f7f7f7;
}

.clinic-cal-legend {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.clinic-cal-legend .legend-item {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 999px;
  color: #333;
}

.clinic-cal-legend .is-open {
  background: #edf7ed;
}

.clinic-cal-legend .is-closed {
  background: #fdecec;
}

.clinic-cal-legend .is-am {
  background: #fff6df;
}

.clinic-cal-legend .is-pm {
  background: #eaf3ff;
}

.clinic-cal-table-wrap {
  overflow-x: auto;
}

.clinic-cal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.clinic-cal-table th,
.clinic-cal-table td {
  border: 1px solid #e4e4e4;
  vertical-align: top;
}

.clinic-cal-table th {
  background: #f8f8f8;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.clinic-cal-table th.is-sun {
  color: #a67f3c;
}

.clinic-cal-table th.is-sat {
  color: #888888;
}

.clinic-cal-table td {
	height:67px;
	padding: 10px 8px;
}

.clinic-cal-table td.is-empty {
  background: #fafafa;
}

.clinic-cal-day .day-num {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.clinic-cal-day .day-badge {
  display: inline-block;
  min-width: 60px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  border-radius: 10px;
}

.clinic-cal-day .day-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  word-break: break-word;
}

.clinic-cal-day.status-open {
  background: #fff;
}

.clinic-cal-day.status-open .day-badge {
	background: #ffffff;
	color: #444444;
	border: 1px solid #e0e0e0;
}

.clinic-cal-day.status-closed {
  background: #F9F6F0;
}

.clinic-cal-day.status-closed .day-badge {
  background: #e5decfc7;
  color: #b0976d;
}

.clinic-cal-day.status-am_closed {
  background: #fdfdfd;
}

.clinic-cal-day.status-am_closed .day-badge {
  background: #8888882b;
  color: #888888;
	border: 1px solid #e0e0e0;
}

.clinic-cal-day.status-pm_closed {
  background: #f8fbff;
}

.clinic-cal-day.status-pm_closed .day-badge {
  background: #eaf3ff;
  color: #2459a8;
}

.clinic-cal-day.is-sun .day-num {
  color: #a67f3c;
}

.clinic-cal-day.is-sat .day-num {
  color: #888888;
}

.clinic-cal-day.is-today {
  outline: 2px solid #333;
  outline-offset: -2px;
}

.clinic-cal-notes {
  margin-top: 20px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #ececec;
}

.clinic-cal-notes-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.clinic-cal-notes-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.clinic-cal-notes-list p + p {
  margin-top: 4px;
}

@media screen and (max-width: 767px) {
  /* 横スクロールを解除 */
  .clinic-cal-table-wrap {
    overflow-x: visible; 
  }

  .clinic-cal-table {
    min-width: 100% !important; /* 固定幅を解除 */
    table-layout: fixed; /* 7等分を強制 */
  }

  /* セル内の余白を最小限に */
  .clinic-cal-table th,
  .clinic-cal-table td {
    padding: 6px 2px !important; /* 左右余白をほぼゼロに */
    height: auto !important;
    min-height: 80px;
  }

  .clinic-cal-table th {
    font-size: 12px; /* 曜日の文字を小さく */
  }

  /* 日付数字の調整 */
  .clinic-cal-day .day-num {
    margin-bottom: 4px;
    font-size: 14px;
    text-align: center;
  }

  /* バッジ（ラベル）の調整 ※ここが重要 */
  .clinic-cal-day .day-badge {
    display: block; /* ブロック化して横幅いっぱいに */
    width: 95%;
    margin: 0 auto;
    padding: 2px 0 !important; /* 上下のみ */
    font-size: 9px; /* 文字サイズを最小に */
    letter-spacing: -0.5px; /* 文字間隔を詰めてはみ出し防止 */
    min-width: auto;
    border-radius: 4px; /* 角丸を少しシャープに */
    transform: scale(0.95); /* 最終手段として少し縮小 */
  }

  /* 備考欄（もしあれば） */
  .clinic-cal-day .day-note {
    font-size: 9px;
    line-height: 1.2;
    margin-top: 4px;
    text-align: center;
  }
}

/* Local TwentyTwenty comparison */
.twentytwenty-container {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.twentytwenty-container img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.twentytwenty-container .twentytwenty-before {
  position: relative;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.twentytwenty-container .twentytwenty-after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 50%);
}

.twentytwenty-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.twentytwenty-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  margin-left: 0;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  box-sizing: border-box;
}

.twentytwenty-handle::before,
.twentytwenty-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 999px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}

.twentytwenty-handle::before {
  bottom: 100%;
}

.twentytwenty-handle::after {
  top: 100%;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.twentytwenty-left-arrow {
  left: 8px;
  border-right: 7px solid #fff;
}

.twentytwenty-right-arrow {
  right: 8px;
  border-left: 7px solid #fff;
}


.case-card__compare.twentytwenty-container .twentytwenty-handle {
  margin-left: 0;
}
