/*

  トップページ（2026-10 リニューアル）
  デザイン幅 PC 1536 / SP 375。コンテンツ幅 1100（ゆとり部は 1000）
  共通部品（.rn-*）は site-renewal.css

================================================================
*/
.tp {
  display: block;
  overflow: hidden;
  font-family: var(--rn-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
  font-feature-settings: "palt"; /* デザインはプロポーショナルメトリクス（字間の数値はこの前提） */
  color: var(--rn-text);
}

.tp *,
.tp *::before,
.tp *::after {
  box-sizing: border-box;
}

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

.tp-inner {
  position: relative;
  width: 1100px;
  margin: 0 auto;
}

.tp-inner--1000 {
  width: 1000px;
}

/* トップの見出し・ボタンの字間・色（デザイン値。.rn-* は形成外科・美容ページと共用のためトップ内だけ上書き） */
.tp .rn-label {
  letter-spacing: 0.12em;
}

.tp .rn-ttl {
  letter-spacing: 0.14em;
}

.tp .rn-btn:not(.rn-btn--green):not(.rn-btn--coral) {
  letter-spacing: 0.12em;
  color: #222426;
}

.tp-br-sp {
  display: none;
}

/*

  MV

================================================================
*/
.tp-mv {
  position: relative;
  height: 54.5vw;
  max-height: 838px;
  min-height: 640px;
}

/* 写真は1枚画像（PC: img/top/mv.webp / SP: img/top/mv-sp.webp） */
.tp-mv__photo {
  height: 100%;
  overflow: hidden;
}

.tp-mv__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.tp-mv__copy {
  position: absolute;
  top: 25.5%;
  left: 7.4%;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

/* H1（キャッチ＋サブをまとめた見出し）: 見出しの既定スタイルを打ち消し、中の2ブロックの見た目は従来どおり */
.tp-mv__h1 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.tp-mv__ttl {
  display: block;
  margin: 0;
  font-family: var(--rn-font-round);
  font-weight: 500;
  font-size: clamp(46px, 4.25vw, 65px);
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #fff;
}

.tp-mv__sub {
  display: block;
  margin: 34px 0 0;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.95;
}

/* バッジ */
.tp-mv__badges {
  display: flex;
  gap: 22px;
  position: absolute;
  bottom: 8%;
  left: 7.9%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 背景の形は画像（img/top/bg-mv-content-odd.webp / -even.webp、331×331 @2x） */
.tp-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 165px;
  height: 165px;
  margin: 0;
  padding: 0 4px 8px;
  background: url(../img/top/bg-mv-content-odd.webp) center / contain no-repeat;
  text-align: center;
  font-family: var(--rn-font-round);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #fff;
}

.tp-badge--even {
  background-image: url(../img/top/bg-mv-content-even.webp);
  color: var(--rn-pink);
}

/* アイコンは白丸に入れて上端中央に重ねる（上に少しはみ出す） */
.tp-badge__ico {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -14px;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  transform: translateX(-50%);
}

.tp-badge__ico img {
  display: block;
  width: 50px;
  height: 50px;
}

.tp-badge__txt {
  display: block;
}

/* SP: 予約・SNSバー（PCでは非表示） */
.tp-ctabar {
  display: none;
}

/*

  NEWS

================================================================
*/
.tp-news {
  position: relative;
  padding: 118px 0 90px;
}

.tp-news .tp-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  z-index: 4;
}

.tp-news__head {
  flex-shrink: 0;
  width: 188px;
  padding-top: 20px;
}

.tp-news__list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-news__list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--rn-line);
}

.tp-news__list a {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 10px 12px 0;
  color: var(--rn-text);
  text-decoration: none;
  transition: color 0.3s;
}

.tp-news__list a:hover {
  color: var(--rn-pink);
}

.tp-news__list time {
  flex-shrink: 0;
  font-family: var(--rn-font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6c6462;
}

.tp-news__txt {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

.tp-news__deco {
  /* デザイン: 上端がメインビジュアル下端より 34px 上に重なる（実測で 2px 補正） */
  position: absolute;
  top: -36px;
  right: 0;
  z-index: 2;
  width: 17.7%;
  max-width: 272px;
  aspect-ratio: 282 / 335;
  border-bottom-left-radius: inherit;
  overflow: hidden;
}

.tp-news__deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

/*

  CLINIC

================================================================
*/
.tp-clinic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 690px;
  margin-top: 54px; /* 左上の縦長写真がこの余白へはみ出す */
}

.tp-clinic__photos {
  position: relative;
}

.tp-clinic__photo {
  overflow: hidden;
}

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

/* メイン写真とテキスト面は NEWS 下端から 54px 下がって始まり、
   左上の縦長写真（763×1024）だけが NEWS 下端まで上にはみ出す（デザイン通り） */
.tp-clinic__photo--main {
  height: 100%;
}

.tp-clinic__photo--main img {
  object-position: 50% 60%;
}

.tp-clinic__photo--sub {
  position: absolute;
  top: -54px;
  left: 0;
  width: 29%;
  height: auto;
}

.tp-clinic__photo--sp {
  display: none;
}

.tp-clinic__body {
  position: relative;
  padding: 160px 0 100px 11.5%;
  border-top-right-radius: 115px;
  background-color: #f8f7f5;
  overflow: hidden;
}

.tp-clinic__text {
  position: relative;
  max-width: 500px;
}

.tp-clinic__p .tp-br-pc {
  display: inline;
}

.tp-clinic__p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

.rn-ttl + .tp-clinic__p {
  margin-top: 34px;
}

.tp-clinic__p + .tp-clinic__p {
  margin-top: 31px;
}

.tp-clinic__text .rn-btn {
  margin-top: 54px;
}

/*

  TREATMENT MENU

================================================================
*/
.tp-menu {
  position: relative;
  padding: 136px 0 0;
}

.tp-menu__cards {
  display: grid;
  grid-template-columns: repeat(2, 532px);
  justify-content: space-between;
}

.tp-mcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 45px 40px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(223, 229, 223, 0.6);
}

.tp-mcard__ttl {
  margin: 0;
  font-family: var(--rn-font-round);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* デザイン: 形成外科は 0.14em、文字数の多い「美容皮膚科・美容外科」は 0.08em */
.tp-mcard--hoken .tp-mcard__ttl {
  letter-spacing: 0.14em;
  color: var(--rn-green);
}

.tp-mcard--biyou .tp-mcard__ttl {
  color: var(--rn-coral);
}

.tp-mcard__tag {
  margin: 10px 0 0;
  padding: 0px 18px 2px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #fff;
}

.tp-mcard--hoken .tp-mcard__tag {
  background-color: var(--rn-green);
}

.tp-mcard--biyou .tp-mcard__tag {
  background-color: var(--rn-coral);
}

.tp-mcard__img {
  width: 100%;
  aspect-ratio: 430 / 243;
  margin-top: 22px;
  overflow: hidden;
}

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

.tp-mcard__txt {
  align-self: stretch;
  margin: 18px 0 0;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.tp-mcard__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-self: stretch;
  gap: 2px 0;
  margin: 12px 0 0;
  padding: 7px 10px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.tp-mcard--hoken .tp-mcard__items {
  background-color: #cfdad3;
}

.tp-mcard--biyou .tp-mcard__items {
  background-color: #f6c6bc;
}

.tp-mcard__items span + span::before {
  content: "／";
  margin: 0 14px;
  color: #777;
}

.tp-mcard .rn-btn {
  width: 100%;
  margin-top: 30px;
  letter-spacing: 0.04em;
}

.tp-menu__campaign {
  margin: 76px 0 0;
  text-align: center;
}

.tp-menu__campaign a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  width: 566px;
  max-width: 100%;
  height: 96px;
  padding: 0 60px 0 40px;
  border-radius: 48px;
  /* 右上が明るく左下が濃いグラデーション（色はデザイン実測。丸い柄 btn-deco.svg はデザイン変更で削除） */
  background: #f097a0;
  background: linear-gradient(235deg, rgba(240, 151, 160, 1) 0%, rgba(232, 114, 126, 1) 46%, rgba(229, 98, 111, 1) 100%);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.tp-menu__campaign a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 13px rgba(231, 114, 126, 0.4);
}

.tp-menu__campaign img {
  width: 46px;
  height: 40px;
}

.tp-menu__campaign .rn-arrow {
  position: absolute;
  top: 50%;
  right: 26px;
  background-color: #fff;
  transform: translateY(-50%);
}

/* 矢印は白ベタの丸にピンクの山形 */
.tp-menu__campaign .rn-arrow::before {
  border-color: var(--rn-pink);
}

.tp-menu__deco {
  position: absolute;
  right: 0;
  bottom: 110px;
  width: 295px;
  aspect-ratio: 295 / 350;
  border-top-left-radius: 50px;
  overflow: hidden;
  z-index: -1;
}

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

/*

  SEARCH BY CONCERN

================================================================
*/
.tp-concern {
  position: relative;
  margin-top: 70px;
  padding: 110px 0 100px;
  background-color: #fff;
}

.tp-concern__deco {
  position: absolute;
  top: 30px;
  left: 0;
  width: 27.6%;
  max-width: 425px;
  aspect-ratio: 425 / 536;
  overflow: hidden;
  border-radius: 0 0 20px 0;
}

.tp-concern__deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 50%;
}

.tp-concern__deco2 {
  display: none;
}

.tp-concern__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-concern__list li {
  margin: 0;
  padding: 0;
}

.tp-concern__list a {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  height: 182px;
  padding: 0 22px 0 28px;
  border-radius: 16px;
  background-color: #f0f0f0;
  color: var(--rn-text);
  text-decoration: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.tp-concern__list a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.tp-concern__ico {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background-color: #fff;
}

.tp-concern__ico img {
  /* SVG 自体に白丸背景を含む */
  display: block;
  width: 100%;
  height: 100%;
}

.tp-concern__txt {
  flex: 1;
  font-weight: 500;
  font-size: 20px; /* デザインは 1 行目 20px・2 行目以降 19px だが 20px に統一 */
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
}

.tp-concern__list .rn-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--rn-pink);
  width: 22px;
  height: 22px;
  background: #fff;
}

.tp-concern__more {
  margin: 44px 0 0;
  display: flex;
  justify-content: center;
}

.tp-concern__more .rn-btn {
  width: 356px;
  height: 50px;
}

/*

  MESSAGE

================================================================
*/
.tp-message {
  position: relative;
  padding: 92px 0 110px;
  border-top-left-radius: 150px;
  background-color: #f9f8f5;
  overflow: hidden;
}

/* 見出しはデコ（.tp-message__row::before）より前面に（デザインではデコが文字の背面） */
.tp-message .rn-head {
  position: relative;
  z-index: 1;
}

.tp-message__row {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 36px;
}

.tp-message__photo {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  margin: 0;
}

.tp-message__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 310;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 6px;
}

.tp-message__photo figcaption {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 20px;
  left: 0;
  height: 46px;
  padding: 0 26px 0 24px;
  border-radius: 0 25px 25px 0;
  background-color: #fff;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
  color: var(--rn-pink);
}

.tp-message__text {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.tp-message__text p {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.02em;
}

/* 経歴・所属学会 */
.tp-career {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 58px;
  padding: 50px 0 44px;
  border-radius: 16px;
  background-color: #fff;
}

.tp-career__col {
  padding: 0 46px;
}

.tp-career__col + .tp-career__col {
  padding-left: 54px;
  border-left: 1px solid #ededed;
}

.tp-career__ttl {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.15em;
  line-height: 1.3;
  color: var(--rn-pink);
}

.tp-career__list {
  margin: 0;
}

.tp-career__list > div {
  display: flex;
  gap: 26px;
  margin-bottom: 10px;
}

.tp-career__list dt {
  flex-shrink: 0;
  width: 92px;
  font-size: 16px;
  line-height: 1.75;
  white-space: nowrap;
}

.tp-career__list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.tp-career__soc {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-career__soc li {
  margin: 0 0 6px;
  padding: 0;
  font-size: 16px;
  line-height: 1.75;
}

.tp-career__soc li::before {
  content: "・";
}

/*

  CASE

================================================================
*/
.tp-case {
  padding: 150px 0 64px;
}

.tp-case__bnr {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 267px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.tp-case__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.tp-case__bnr:hover .tp-case__bg {
  transform: scale(1.03);
}

.tp-case__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 450px;
  padding: 42px 20px 32px;
  border-radius: 8px;
  background-color: #fff;
  color: var(--rn-text);
  z-index: 2;
}

.tp-case__ttl {
  display: block;
  margin-top: 8px;
  font-family: var(--rn-font-round);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.tp-case__box .rn-arrow {
  margin-top: 10px;
}

/*

  浮遊する写真（デザイン「浮遊感欲しいやつ」レイヤーの4枚）
  ゆっくり上下に漂う＋スクロールに合わせて少しずれる（renewal.js）

================================================================
*/
@keyframes tp-float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* 外側（.tp-float）: 配置・パララックス（--px）・ふわっと表示（--rv-y）
   内側（.tp-float__in）: 角丸のクリップ枠ごと上下に漂う → 画像そのものが浮遊して見える */
.tp .tp-float {
  overflow: visible;
  transform: translate3d(0, calc(var(--px, 0px) + var(--rv-y, 0px)), 0);
  transition-property: opacity, --rv-y;
  will-change: transform;
}

.tp .tp-float__in {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  animation: tp-float 7s ease-in-out infinite;
  will-change: transform;
}

.tp .tp-float__in > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 20px 0 0;
}

.tp-float[data-float="2"] > .tp-float__in {
  animation-duration: 8.5s;
  animation-delay: -2s;
}

.tp-float[data-float="3"] > .tp-float__in {
  animation-duration: 9.5s;
  animation-delay: -4s;
}

.tp-float[data-float="4"] > .tp-float__in {
  animation-duration: 8s;
  animation-delay: -6s;
}

@media (prefers-reduced-motion: reduce) {
  .tp .tp-float__in {
    animation: none;
  }
}

/* 共通パーツ（CTA）との間隔調整 */
.tp + .common_page--parts .cp-cta {
  padding-top: 0;
}

/*

  ------------------------------------------------------- sp

================================================================
*/
@media (max-width: 767px) {
  .tp {
    font-size: 15px;
    line-height: 1.8;
  }

  .tp-inner,
  .tp-inner--1000 {
    width: 100%;
    padding: 0 15px;
  }

  .tp-br-sp {
    display: inline;
  }

  .tp-clinic__p .tp-br-pc {
    display: none;
  }

  /* MV（SP）
     デザイン 375px 幅の実測値を vw に換算（1px = 0.2667vw）し、画面幅に比例して縮小・拡大する。
     写真は画面上端から（ヘッダーの下に潜る）、幅 360px・右 15px あき、右下の角丸は画像に含む。
     バッジが写真下端からはみ出す分（約 44px）を下に確保し、その直下に CTA バー */
  .tp-mv {
    height: auto;
    max-height: none;
    min-height: 0;
    padding-bottom: 11.7vw;
  }

  .tp-mv__photo {
    width: 96vw;
    height: auto;
    margin: 0;
  }

  .tp-mv__photo img {
    height: auto;
    aspect-ratio: 721 / 1197;
  }

  .tp-mv__copy {
    top: 21.07vw;
    left: 0;
    width: 100%;
    padding: 0 6.67vw;
  }

  /* 縦書き2列（右列「形成と美容の」／左列「トータルクリニック」） */
  .tp-mv__ttl {
    position: absolute;
    top: 6.67vw;
    right: 8.33vw;
    font-size: 9.07vw; /* 375px 時 34px */
    letter-spacing: 0.02em;
    line-height: 1.17;
    white-space: nowrap;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
  }

  .tp-mv__sub {
    margin: 0;
    font-weight: 400;
    font-size: 3.2vw;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }

  /* 2 行目の院名だけ Medium・少し大きく（375px 時 13px） */
  .tp-mv__name {
    font-weight: 500;
    font-size: 3.47vw;
    letter-spacing: 0.1em;
  }

  .tp-mv__badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    bottom: auto;
    top: 113.07vw;
    left: 0;
    width: 100%;
    padding: 0 2.13vw;
  }

  /* 1段目3つ・2段目2つ。2段目はアイコン中心が 1段目の約 94px 下 */
  .tp-badge {
    grid-column: span 2;
    width: 28.5vw;
    height: 28.5vw;
    margin: 0 auto;
    padding: 0 1.07vw 2.67vw;
    font-weight: 500; /* SP は Medium（PC は Bold） */
    font-size: 3.2vw;
    letter-spacing: 0.06em;
  }

  .tp-badge--n4 {
    grid-column: 2 / span 2;
    margin-top: -3.4vw;
  }

  .tp-badge--n5 {
    grid-column: 4 / span 2;
    margin-top: -3.4vw;
  }

  .tp-badge__ico {
    top: -1.6vw;
    width: 8.53vw;
    height: 8.53vw;
  }

  /* SVG が白丸ごとの絵柄なので丸いっぱいに表示（PC と同じ） */
  .tp-badge__ico img {
    width: 100%;
    height: 100%;
  }

  .tp-badge__txt {
    padding-top: 2.13vw;
  }

  /* SP CTAバー（MV 直下。スクロールで画面外に出たら #gf-side が下部に追従表示） */
  .tp-ctabar {
    display: flex;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rn-line);
    border-bottom: 1px solid var(--rn-line);
    background-color: #fff;
    list-style: none;
  }

  .tp-ctabar li {
    flex: 1;
    margin: 0;
    padding: 0;
  }

  .tp-ctabar li + li {
    border-left: 1px solid var(--rn-line);
  }

  .tp-ctabar a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 40px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--rn-text);
    text-decoration: none;
  }

  .tp-ctabar img {
    width: 22px;
    height: 22px;
  }

  /* NEWS */
  .tp-news {
    padding: 56px 0 0;
  }

  .tp-news .tp-inner {
    display: block;
  }

  .tp-news__head {
    width: auto;
    padding: 0;
    text-align: center;
  }

  .tp-news__list {
    margin-top: 20px;
  }

  .tp-news__list a {
    flex-wrap: wrap;
    gap: 2px 0;
    padding: 14px 44px 14px 0;
  }

  .tp-news__list time {
    width: 100%;
    font-size: 12px;
  }

  .tp-news__txt {
    flex: none;
    width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .tp-news__list .rn-arrow {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
  }

  .tp-news__list li {
    position: relative;
  }

  .tp-news__deco {
    display: none;
  }

  /* CLINIC */
  .tp-clinic {
    display: block;
    min-height: 0;
    margin-top: 44px;
  }

  /* 左 150px・右 160px を両端に寄せ、間を空ける（デザイン） */
  .tp-clinic__photos {
    display: grid;
    grid-template-columns: 40% 43.7%;
    justify-content: space-between;
    gap: 14px 0;
  }

  .tp-clinic__photo--sub {
    position: static;
    grid-row: 1;
    width: auto;
    height: 50vw;
    margin-top: 8vw;
    border-radius: 0 12px 12px 0;
  }

  .tp-clinic__photo--sub img {
    object-position: 50% 30%;
  }

  .tp-clinic__photo--sp {
    display: block;
    grid-row: 1;
    height: 50vw;
    border-radius: 12px 0 0 12px;
  }

  /* テキスト面が写真の下端に 40px 重なる分だけ高くする（見える高さは 74vw のまま） */
  .tp-clinic__photo--main {
    grid-column: 1 / 3;
    grid-row: 2;
    height: calc(74vw + 40px);
  }

  /* デザイン: テキスト面を写真に重ね、右上の角丸の内側から写真が見えるようにする */
  .tp-clinic__body {
    margin-top: -40px;
    padding: 56px 30px 60px;
    border-radius: 0 40px 0 0;
    background-color: #f3f1ef;
  }

  .tp-clinic__text {
    max-width: none;
    text-align: center;
  }

  .tp-clinic__p {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }

  .rn-ttl + .tp-clinic__p {
    margin-top: 24px;
  }

  .tp-clinic__p + .tp-clinic__p {
    margin-top: 27px;
  }

  .tp-clinic__text .rn-btn {
    margin: 36px auto 0;
  }

  /* TREATMENT MENU */
  .tp-menu {
    padding-top: 60px;
  }

  .tp-menu__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tp-mcard {
    padding: 30px 20px 28px;
    border-radius: 16px;
  }

  .tp-mcard__ttl,
  .tp-mcard--hoken .tp-mcard__ttl {
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  .tp-mcard__tag {
    margin-top: 6px;
    font-size: 17px;
  }

  .tp-mcard__img {
    margin-top: 16px;
  }

  .tp-mcard__txt {
    margin-top: 14px;
    font-size: 15px;
    letter-spacing: 0.06em;
    line-height: 1.55;
  }

  /* SP: 2列 × 2段。区切りの「／」は同じ段の 2 項目の間（列の境目）にだけ出す */
  .tp-mcard__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 0;
    font-size: 15px;
    padding: 8px 10px;
  }

  .tp-mcard__items span {
    position: relative;
    text-align: center;
  }

  .tp-mcard__items span + span::before {
    content: none;
  }

  .tp-mcard__items span:nth-child(even)::before {
    content: "／";
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    transform: translateX(-50%);
  }

  .tp-mcard .rn-btn {
    margin-top: 22px;
    font-size: 16px;
  }

  .tp-menu__campaign {
    margin-top: 36px;
  }

  .tp-menu__campaign a {
    gap: 12px;
    width: 100%;
    height: 60px;
    padding: 0 40px 0 20px;
    border-radius: 30px;
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .tp-menu__campaign img {
    width: 30px;
    height: 26px;
  }

  .tp-menu__campaign .rn-arrow {
    right: 18px;
  }

  .tp-menu__deco {
    display: none;
  }

  /* CONCERN */
  .tp-concern {
    margin-top: 32px;
    padding: 0 0 60px;
    background-color: #fff;
  }

  .tp-concern__deco,
  .tp-concern__deco2 {
    display: block;
    position: static;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .tp-concern__decos {
    display: flex;
  }

  .tp-concern__deco {
    float: left;
    width: 43%;
    height: 56vw;
    margin-top: 5vw;
    border-radius: 0 10px 10px 0;
  }

  .tp-concern__deco2 {
    float: right;
    width: 46%;
    height: 54vw;
    border-radius: 10px 0 0 10px;
  }

  .tp-concern__deco2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 50%;
  }

  .tp-concern .tp-inner {
    clear: both;
    padding-top: 56px;
  }

  .tp-concern__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tp-concern__list a {
    gap: 10px;
    height: 98px;
    padding: 0 12px 0 10px;
    border-radius: 12px;
  }

  .tp-concern__ico {
    width: 64px;
    height: 64px;
  }

  .tp-concern__txt {
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-align: left;
  }

  .tp-concern__list .rn-arrow {
    right: 10px;
    bottom: 8px;
    width: 16px;
    height: 16px;
  }

  .tp-concern__more {
    margin-top: 34px;
    padding: 0 15px;
  }

  .tp-concern__more .rn-btn {
    width: 100%;
    height: 54px;
  }

  /* MESSAGE */
  .tp-message {
    padding: 56px 0 56px;
    border-top-left-radius: 60px;
  }

  .tp-message__row {
    display: block;
  }

  .tp-message__photo {
    width: 100%;
  }

  .tp-message__photo img {
    aspect-ratio: 345 / 268;
    border-radius: 10px;
  }

  .tp-message__photo figcaption {
    bottom: 24px;
    height: 41px;
    padding: 0 24px 0 25px;
    border-radius: 0 21px 21px 0;
    font-size: 17.33px;
  }

  .tp-message__text {
    padding-top: 22px;
  }

  .tp-message__text p {
    font-size: 15px;
    letter-spacing: 0.06em;
    line-height: 1.8;
  }

  .tp-career {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding: 30px 0 26px;
    border-radius: 12px;
  }

  .tp-career__col {
    padding: 0 22px;
  }

  .tp-career__col + .tp-career__col {
    margin-top: 26px;
    padding: 26px 22px 0;
    border-top: 1px solid #ededed;
    border-left: 0;
  }

  .tp-career__ttl {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .tp-career__list > div {
    display: block;
    margin-bottom: 12px;
  }

  .tp-career__list dt,
  .tp-career__list dd,
  .tp-career__soc li {
    font-size: 15px;
    line-height: 1.6;
  }

  /* CASE */
  .tp-case {
    padding: 56px 0 44px;
  }

  .tp-case__bnr {
    height: 170px;
    border-radius: 10px;
  }

  .tp-case__box {
    width: 215px;
    padding: 18px 10px 14px;
  }

  .tp-case__ttl {
    margin-top: 6px;
    font-size: 20px;
    letter-spacing: 0.1em;
  }

  .tp-case__box .rn-arrow {
    margin-top: 6px;
  }
}

/* トップページでは共通パーツ（予約CTA・診療時間アクセス）の内側幅を 1100px に */
body.home .common_page .cp-inner {
  width: 1100px;
  max-width: 100%;
}

@media (max-width: 767px) {
  body.home .common_page .cp-inner {
    width: 100%;
  }
}

/* トップページ SP: 診療時間・アクセスのリード文は中央揃え 14px、地図は低めに（デザイン） */
@media (max-width: 767px) {
  body.home .common_page .cp-access__lead {
    text-align: center;
    font-size: 14px;
  }

  body.home .common_page .cp-access__map iframe {
    height: 54vw;
  }
}

/*

  名称変更のお知らせポップアップ（parts-popup-rename.php）
  デザイン: design/popup/notol.ai。寸法はアートボード実測（PC 1536 / SP 375）
  --u を掛けて、画面が小さいときは全体を等倍で縮める

================================================================
*/
.rn-popup {
  --pp-pink: #e3727e;
  --u: min(1px, calc(100vw / 980), calc(100vh / 660));
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  font-family: var(--rn-font-body);
  font-feature-settings: normal;
  letter-spacing: 0;
  line-height: 1;
  color: #343434;
  opacity: 0;
  transition: opacity 0.4s;
}

.rn-popup[hidden] {
  display: none;
}

/* ポップアップ表示中は背景を固定（js/renewal.js が html に付け外しする）。
   スクロールバーを残したまま固定するので、開閉でページが横にずれない */
html.is-popup-open {
  overflow-y: scroll;
}

html.is-popup-open body {
  position: fixed;
  top: var(--popup-lock-top, 0);
  right: 0;
  left: 0;
  width: 100%;
}

.rn-popup.is-open {
  opacity: 1;
}

.rn-popup__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(158, 158, 158, 0.5);
}

.rn-popup__box {
  position: relative;
  box-sizing: border-box;
  width: calc(900 * var(--u));
  padding: calc(79 * var(--u)) 0 calc(46 * var(--u));
  border: 3px solid var(--pp-pink);
  border-radius: calc(20 * var(--u));
  background-color: #fff;
  text-align: center;
}

.rn-popup__box p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.rn-popup__close {
  position: absolute;
  top: calc(13 * var(--u));
  right: calc(15 * var(--u));
  width: calc(47 * var(--u));
  height: calc(47 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--pp-pink);
  cursor: pointer;
  transition: opacity 0.3s;
}

.rn-popup__close:hover {
  opacity: 0.7;
}

.rn-popup__close::before,
.rn-popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 49%;
  height: max(1.5px, calc(2 * var(--u)));
  border-radius: 2px;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.rn-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.rn-popup__date {
  font-weight: 500;
  font-size: calc(26.67 * var(--u));
  color: var(--pp-pink);
}

.rn-popup__box .rn-popup__date {
  line-height: calc(33.34 * var(--u));
}

.rn-popup__num {
  font-weight: 600;
  font-size: calc(33.34 * var(--u));
}

.rn-popup__old {
  margin-top: calc(16 * var(--u)) !important;
  font-weight: 600;
  font-size: calc(30 * var(--u));
}

.rn-popup__old-from {
  margin-left: calc(9 * var(--u));
  font-weight: 400;
  font-size: calc(27 * var(--u));
}

/* 下向き矢印（img/popup/arrow_down.svg。ai データの形をそのまま書き出し。31×29） */
.rn-popup__arrow {
  width: calc(31 * var(--u));
  margin: calc(28 * var(--u)) auto 0 !important;
}

.rn-popup__arrow img {
  display: block;
  width: 100%;
  height: auto;
}

.rn-popup__new {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: calc(20 * var(--u)) !important;
  font-weight: 600;
  color: var(--pp-pink);
}

.rn-popup__new-name {
  font-size: calc(41 * var(--u));
}

.rn-popup__new-sub {
  margin-left: calc(33 * var(--u));
  font-size: calc(32 * var(--u));
  font-feature-settings: "palt";
}

/* かぎ括弧: 開きは上寄り、閉じは下寄り（デザイン） */
.rn-popup__br {
  font-size: calc(32.55 * var(--u));
}

.rn-popup__br--open {
  margin-right: calc(29 * var(--u));
  transform: translateY(calc(-15 * var(--u)));
}

.rn-popup__br--close {
  margin-left: calc(29 * var(--u));
  transform: translateY(calc(12 * var(--u)));
}

.rn-popup__sp {
  display: none;
}

.rn-popup__to {
  margin-top: calc(25 * var(--u)) !important;
  font-weight: 400;
  font-size: calc(30 * var(--u));
}

.rn-popup__logo {
  width: calc(269 * var(--u));
  margin: calc(38 * var(--u)) auto 0 !important;
}

.rn-popup__logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .rn-popup {
    --u: min(calc(100vw / 375), calc(100vh / 560));
  }

  .rn-popup__box {
    width: calc(310 * var(--u));
    padding: calc(49 * var(--u)) 0 calc(26 * var(--u));
    border-radius: calc(22 * var(--u));
  }

  .rn-popup__close {
    top: calc(9 * var(--u));
    right: calc(9 * var(--u));
    width: calc(33 * var(--u));
    height: calc(33 * var(--u));
  }

  .rn-popup__date {
    font-size: calc(17.62 * var(--u));
  }

  .rn-popup__box .rn-popup__date {
    line-height: calc(22 * var(--u));
  }

  .rn-popup__num {
    font-size: calc(22.02 * var(--u));
  }

  .rn-popup__old {
    margin-top: calc(13 * var(--u)) !important;
    font-size: calc(19 * var(--u));
  }

  /* 「から」は改行して中央に */
  .rn-popup__old-from {
    display: block;
    margin: calc(7 * var(--u)) 0 0;
    font-size: calc(18 * var(--u));
  }

  .rn-popup__arrow {
    width: calc(22 * var(--u));
    margin-top: calc(16 * var(--u)) !important;
  }

  /* 名称は 3 行（瓜生堂／形成外科・美容皮膚科／クリニック）。括弧は左上・右下に置く */
  .rn-popup__new {
    display: block;
    margin-top: calc(20 * var(--u)) !important;
  }

  .rn-popup__new-name {
    display: block;
    font-size: calc(29 * var(--u));
  }

  .rn-popup__new-sub {
    display: block;
    margin: calc(12 * var(--u)) 0 0;
    font-size: calc(23 * var(--u));
    line-height: calc(30 * var(--u));
  }

  .rn-popup__sp {
    display: inline;
  }

  .rn-popup__br {
    position: absolute;
    margin: 0;
    font-size: calc(24 * var(--u));
    transform: none;
  }

  .rn-popup__br--open {
    top: calc(-7 * var(--u));
    left: calc(10 * var(--u));
  }

  .rn-popup__br--close {
    right: calc(9 * var(--u));
    bottom: calc(-7 * var(--u));
  }

  .rn-popup__to {
    margin-top: calc(20 * var(--u)) !important;
    font-size: calc(22 * var(--u));
  }

  .rn-popup__logo {
    width: calc(208 * var(--u));
    margin-top: calc(28 * var(--u)) !important;
  }
}
