@charset "UTF-8";

/* * {
  outline: 2px solid blue;
} */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
  --mincho: "Noto Serif JP","Hiragino Mincho ProN","Hiragino Mincho Pro",
            "Yu Mincho",YuMincho,"MS PMincho","游明朝",serif;
}
html, body{
  font-family: var(--mincho) !important;
  color:#292929;
  background:#fff;
  max-width:1920px;
  margin:0 auto;
  overflow-x:hidden;
  font-size:18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  background-color: #fff;
  color: #292929;
  max-width: 1920px;
  min-width: auto;
  font-family: YuMincho, Hiragino Mincho ProN, serif;
  overflow-x: hidden;
  font-size: 18px;
}

html,
body {
  height: 100%;
	 overflow-x: hidden;
}

/* リンク設定 */
a {
  color: inherit;
  text-decoration: none;
  transition-duration: 0.5s;
}

p {
  line-height: 30px;
  /* 187.5% */
  letter-spacing: 2.72px;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 12px;
  margin-bottom: 7px;
  font-weight: 400;
}

.main {
  width: 100%;
  height: 1000px;
}

/* ------------------------------
   フェードアップ演出
------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.delay-5 {
  transition-delay: 1.0s;
}

.delay-6 {
  transition-delay: 1.2s;
}

/*----------------------------
zoom-in ｜ズームイン
----------------------------*/
/* 初期状態（非表示＋縮小） */
.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態（拡大して表示） */
.zoom-in.on,
.zoom-in.active {
  opacity: 1;
  transform: scale(1);
}

/* =========================================
   Main Visual
========================================= */
.main-visual {
  position: relative;
  width: 100%;
  margin-top: -145px;
  overflow: hidden;
  z-index: 2;
  background: #fff;
}

.mv-slider,
.main-image-swiper {
  width: 100%;
}

/* autoHeight(JS)に頼らずCSSで高さを固定。
   fade効果はスライドをposition:absoluteで重ねるため、autoHeightのJS再計算に
   スライド切替タイミングで高さが一瞬ブレて下のセクションが上下に動く不具合があった（2026-10-28）。
   PC画像(1450x750)とSP画像(750x1275、<picture>のmedia="(max-width:768px)"で出し分け)は
   縦横比が別物のため、比率もブレークポイントで出し分ける（固定値1450/750のままだとSPで画像が
   引き伸ばされる不具合が出た＝2026-10-28 再指摘で発覚）。 */
.main-image-swiper {
  aspect-ratio: 1450 / 750;
}
@media screen and (max-width: 768px) {
  .main-image-swiper {
    aspect-ratio: 750 / 1275;
  }
}

.main-image-swiper .swiper-wrapper {
  align-items: flex-start;
}

.main-image-swiper .swiper-slide {
  width: 100%;
  height: auto;
  line-height: 0;
}

.mv-picture {
  display: block;
  width: 100%;
}

.mv-picture img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* fade時の高さブレ防止用 */
.main-image-swiper.swiper-fade .swiper-slide {
  pointer-events: none;
}

.main-image-swiper.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

/* タブレット以下 */
@media screen and (max-width: 768px) {
  .main-visual {
    margin-top: -45px;
  }
}

/* スマホ */
@media screen and (max-width: 480px) {
  .main-visual {
    margin-top: -45px;
  }
}


/*==================================================
  NAKAYA COMMITMENT FINAL
  完全差し替えCSS
  ・Concept筆記体修正
  ・背景色を明るく調整
  ・波型を水色〜青で再調整
  ・PC中央の余白に装飾追加
  ・SPカードを高級感ある見た目に変更
  ・!important不使用
  ・::after不使用
==================================================*/

.nakaya-commitment-final,
.nakaya-commitment-final * {
  box-sizing: border-box;
}

.nakaya-commitment-final {
  --navy: #07345f;
  --blue: #2c6fb2;
  --sky: #68cce8;
  --gold: #c7a35a;
  --text: #173149;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 112px 32px 126px;
  background:
    radial-gradient(circle at 32% -8%,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.82) 24%,
      rgba(255, 255, 255, 0) 48%
    ),
    radial-gradient(circle at 92% 12%,
      rgba(232, 249, 255, 0.86) 0%,
      rgba(232, 249, 255, 0.38) 26%,
      rgba(232, 249, 255, 0) 54%
    ),
    linear-gradient(135deg,
      #ffffff 0%,
      #ffffff 38%,
      #f9fdff 64%,
      #eaf8ff 100%
    );
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  color: var(--text);
}

.nakaya-commitment-final::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 28px;
  width: 420px;
  height: 420px;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.44) 34%,
      rgba(225, 244, 255, 0.24) 56%,
      rgba(255, 255, 255, 0) 76%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 0 0 48px rgba(255, 255, 255, 0.06),
    0 0 70px rgba(114, 190, 232, 0.14);
}

.ncf-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ncf-bg--sp {
  display: none;
}

/*==================================================
  layout
==================================================*/

.ncf-inner {
  position: relative;
  z-index: 2;
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: clamp(52px, 6vw, 90px);
  align-items: center;
}

/* PC：本文と写真の間の空白を埋める背景装飾 */
.ncf-inner::before {
  content: "";
  position: absolute;
  left: 46%;
  top: 6%;
  width: 36%;
  height: 76%;
  z-index: -1;
  pointer-events: none;
  border-radius: 54% 46% 48% 52% / 42% 56% 44% 58%;
  background:
    radial-gradient(circle at 72% 18%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.4) 28%,
      rgba(255, 255, 255, 0) 54%
    ),
    radial-gradient(circle at 18% 78%,
      rgba(177, 226, 248, 0.34) 0%,
      rgba(177, 226, 248, 0.14) 32%,
      rgba(255, 255, 255, 0) 64%
    ),
    linear-gradient(135deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(231, 247, 255, 0.46) 36%,
      rgba(255, 255, 255, 0.16) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  opacity: 0.95;
}

.ncf-copy {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

/* PC：本文右側の薄い水玉 */
.ncf-copy::before {
  content: "";
  position: absolute;
  right: -168px;
  top: 92px;
  width: 150px;
  height: 210px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background-image: radial-gradient(circle, rgba(143, 199, 239, 0.55) 1.35px, transparent 1.45px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse, #000 0%, #000 54%, transparent 82%);
  mask-image: radial-gradient(ellipse, #000 0%, #000 54%, transparent 82%);
}

/*==================================================
  heading
==================================================*/

.ncf-en {
  margin: 0 0 8px;
  color: rgba(199, 163, 90, 0.78);
  font-family:
    "Great Vibes",
    "Bickham Script Pro",
    "Edwardian Script ITC",
    "Snell Roundhand",
    "Palace Script MT",
    cursive!important;
  font-size: clamp(72px, 7vw, 118px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: 0.01em;
  transform: rotate(-2deg);
  transform-origin: left center;
  text-shadow:
    0 10px 28px rgba(199, 163, 90, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.78);
}

.ncf-kicker {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-family: "Noto Serif JP", serif !important; /* 順番を入れ替え、半角で記述 */
}

.ncf-title {
  margin: 0;
  color: var(--navy);
  font-size:max(2.274vw, 37px);
  font-weight: 600;
  line-height: 1.58;
  letter-spacing: 0.085em;
  text-shadow:
    0 2px 10px rgba(255, 255, 255, 0.96),
    0 14px 32px rgba(44, 111, 178, 0.06);
}

.ncf-title .span-title {
  display: inline-block;
  background: linear-gradient(90deg, #07345f 0%, #2c6fb2 52%, #68cce8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ncf-divider {
  position: relative;
  width: min(520px, 86%);
  height: 1px;
  margin: 28px 0 42px;
  background: linear-gradient(90deg, rgba(199, 163, 90, 0), rgba(199, 163, 90, 0.82), rgba(199, 163, 90, 0));
  overflow: visible;
}

.ncf-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(199, 163, 90, 0.94);
  background: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* PC：本文と写真の間へ伸びる細い金線 */
.ncf-divider::before {
  content: "";
  position: absolute;
  left: 84%;
  top: 50%;
  width: 320px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(199, 163, 90, 0.34),
    rgba(199, 163, 90, 0.08),
    rgba(199, 163, 90, 0)
  );
  transform: translateY(-50%) rotate(-7deg);
  transform-origin: left center;
}

.ncf-body {
  max-width: 780px;
}

.ncf-body p {
  margin: 0 0 22px;
  color: #18314a;
  font-size: 16.5px;
  line-height: 2.16;
  letter-spacing: 0.07em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/*==================================================
  photo
==================================================*/

.ncf-photo {
  position: relative;
  z-index: 2;
}

/* 写真の背面ではなく、横の空間に出るリング装飾 */
.ncf-photo::before {
  content: "";
  position: absolute;
  left: -62px;
  top: 38px;
  width: 138px;
  height: 138px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(143, 199, 239, 0.34);
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.1),
    0 0 42px rgba(143, 199, 239, 0.12);
  opacity: 0.7;
}

.ncf-photo-frame {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 34px 82px rgba(11, 50, 92, 0.1),
    0 12px 34px rgba(104, 204, 232, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}

.ncf-photo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.2px solid rgba(199, 163, 90, 0.72);
  pointer-events: none;
}

.ncf-photo-ring span {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.ncf-photo-mask {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
}

.ncf-photo-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.08) contrast(0.97) saturate(1.04);
}

.ncf-photo-mask span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(11, 50, 92, 0.025));
  pointer-events: none;
}

/*==================================================
  cards PC
==================================================*/

.ncf-cards {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 74px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ncf-card {
  position: relative;
  min-height: 248px;
  padding: 38px 28px 42px;
  overflow: hidden;
  border: 1px solid rgba(218, 229, 239, 0.96);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.91));
  box-shadow:
    0 24px 54px rgba(11, 50, 92, 0.09),
    0 8px 20px rgba(11, 50, 92, 0.04);
}

.ncf-card-innerline {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  pointer-events: none;
}

.ncf-card-glow {
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(233, 243, 255, 0.62);
  pointer-events: none;
}

.ncf-card-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid rgba(194, 213, 231, 0.9);
  background: radial-gradient(circle at 34% 26%, #ffffff 0%, rgba(255, 255, 255, 0.72) 42%, rgba(238, 247, 255, 0.9) 100%);
  box-shadow:
    0 10px 26px rgba(44, 111, 178, 0.08),
    inset 0 1px 0 #ffffff;
}

.ncf-card-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.span-h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-align: center;
}

.ncf-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #38506a;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.ncf-card-line {
  position: absolute;
  left: 28px;
  bottom: 30px;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 163, 90, 0.78), rgba(199, 163, 90, 0));
}

.ncf-card-num {
  position: absolute;
  right: 18px;
  bottom: -4px;
  color: rgba(11, 50, 92, 0.055);
  font-family: "Times New Roman", serif;
  font-size: 64px;
  font-style: italic;
  line-height: 1;
}

.pc-only {
  display: inline;
}

.ncf-mobile-list {
  display: none;
}

/*==================================================
  tablet
==================================================*/

@media screen and (max-width: 1200px) {
  .nakaya-commitment-final {
    padding: 90px 24px 112px;
  }

  .ncf-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ncf-inner::before {
    left: 50%;
    top: 36%;
    width: min(520px, 80vw);
    height: 280px;
    transform: translateX(-50%);
    opacity: 0.66;
  }

  .ncf-copy {
    text-align: center;
  }

  .ncf-copy::before,
  .ncf-divider::before,
  .ncf-photo::before {
    display: none;
  }

  .ncf-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .ncf-body {
    margin: 0 auto;
    text-align: left;
  }

  .ncf-photo {
    order: -1;
  }

  .ncf-photo-frame {
    width: min(470px, 88vw);
  }

  .ncf-cards {
    max-width: 860px;
  }
}

/*==================================================
  SP
==================================================*/

@media screen and (max-width: 767px) {
  .nakaya-commitment-final {
    padding: 54px 16px 86px;
    background: linear-gradient(180deg, #ffffff 0%, #fdfeff 38%, #f6fbff 68%, #eaf6ff 100%);
  }

  .ncf-bg--pc {
    display: none;
  }

  .ncf-bg--sp {
    display: block;
  }

  .ncf-inner {
    display: block;
  }

  .ncf-inner::before {
    display: none;
  }

  .ncf-photo {
    margin: 28px auto 30px;
  }

  .ncf-photo-frame {
    width: min(245px, 72vw);
    padding: 8px;
  }

  .ncf-copy {
    text-align: left;
  }

  .ncf-en {
    font-size: 54px;
    line-height: 0.86;
    margin-bottom: 8px;
    transform: rotate(-1.6deg);
  }

  .ncf-kicker {
    font-size: 13px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }

  .ncf-title {
    font-size: 25px;
    line-height: 1.72;
    letter-spacing: 0.08em;
  }

  .ncf-divider {
    width: 86%;
    margin: 20px 0 28px;
  }

  .ncf-body p {
    font-size:1.0rem;
    line-height:1.8;
    letter-spacing: 0.055em;
    margin-bottom: 18px;
  }

  .pc-only {
    display: none;
  }

  .ncf-cards {
    display: none;
  }

  .ncf-mobile-list {
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 2;
    margin-top: 34px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .ncf-mobile-list::before {
    content: "";
    position: absolute;
    right: -26px;
    top: -36px;
    width: 96px;
    height: 96px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    border: 1px solid rgba(143, 199, 239, 0.36);
    background: rgba(255, 255, 255, 0.24);
  }

  .ncf-mobile-item {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    gap: 15px;
    align-items: center;
    padding: 23px 18px;
    overflow: hidden;
    border: 1px solid rgba(205, 224, 239, 0.9);
    border-radius: 18px;
    background:
      radial-gradient(circle at 88% 88%,
        rgba(226, 244, 255, 0.82) 0%,
        rgba(226, 244, 255, 0) 42%
      ),
      linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(249, 253, 255, 0.96) 46%,
        rgba(235, 248, 255, 0.9) 100%
      );
    box-shadow:
      0 16px 38px rgba(11, 50, 92, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .ncf-mobile-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg,
      rgba(199, 163, 90, 0.18),
      rgba(199, 163, 90, 0.78),
      rgba(199, 163, 90, 0.18)
    );
  }

  .ncf-mobile-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 34% 24%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.72) 42%,
        rgba(237, 248, 255, 0.96) 100%
      );
    border: 1px solid rgba(178, 209, 232, 0.92);
    box-shadow:
      0 8px 22px rgba(44, 111, 178, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }

  .ncf-mobile-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .span-h3 {
    margin: 0 0 6px;
    color: #07345f;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.07em;
  }

  .ncf-mobile-text p {
    margin: 0;
    color: #2d4862;
    font-size: 13x;
    line-height: 1.82;
    letter-spacing: 0.045em;
  }
}



/*==================================================
  お知らせ
==================================================*/
.top-news {
    padding: 80px 20px 40px;
    /* background: #f8f8f8; */
}

.top-news__head .dreamttl{
	    margin: 10px 0;
}

.top-news__inner {
  width: 85%;
  margin: 0 auto;
}

.top-news__head {
  margin-bottom: 40px;
  text-align: center;
}


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

.top-news__item {
    background-color: #D1E8EE;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.top-news__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	color:#3a5a95;
}

.top-news__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: #2a3e52;
}

.top-news__date {
  display: inline-block;
  margin-bottom: 14px;
  color: #777;
}

.top-news__item-title {
    margin: 0 0 9px;
    font-size: 1.5rem;
}

.top-news__excerpt {
  margin: 0;
}

.top-news__btn-wrap {
  margin-top: 36px;
  text-align: center;
}

.top-news__btn {
display: inline-block;
    position: relative;
    min-width: 250px;
    box-sizing: border-box;
    padding: 17px 38px 17px 25px;
    margin: 20px 0;
    line-height: 1;
    border-radius: 40px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    background-color: #010066;
    color: white;
	    border: 1px solid var(--color-emphasis2);
    color: white;
    transition: background-color 1s ease, color 1s ease;
    font-family: serif, "Noto sans JP";
}


.top-news__btn a:hover {
    color: white;
    background: #6A8DC7;
}

.top-news__empty {
  text-align: center;
  font-size: 1.5rem;
  color: #666;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media (max-width: 1024px) {
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .top-news__list {
    grid-template-columns: 1fr;
  }

  .top-news {
    padding: 56px 16px;
  }

  .top-news__item-title {
    font-size: 1.8rem;
  }

.top-news__excerpt {
    font-size: 15px;
}

.top-news__item-title {
    margin: 0 0 9px;
    font-size: 1.2rem !important;
}
	
.top-news__item {
    padding: 20px 10px;
}
	
}


/*==================================================
  特徴セクション：グローバル設定
==================================================*/
.nakaya-treatment-feature,
.nakaya-treatment-feature * {
  box-sizing: border-box;
}

.nakaya-treatment-feature {
  --ntf-navy: #07345f;
  --ntf-blue: #1f73b8;
  --ntf-sky: #8fd1f0;
  --ntf-gold: #c8a45d;
  --ntf-text: #1d3348;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 92px 24px 118px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #eef9ff 100%);
  color: var(--ntf-text);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.ntf-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ntf-bg--sp {
  display: none;
}

.ntf-inner {
  position: relative;
  z-index: 2;
  width: 85%;
  margin: 0 auto;
}

.ntf-head {
  position: relative;
  margin: 0 auto 54px;
  padding: 26px 24px 34px;
  text-align: center;
}

.ntf-head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: min(1020px, 96vw);
  height: 330px;
  z-index: -1;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 38%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 22%, rgba(255,255,255,0.96) 52%, rgba(255,255,255,0.72) 82%, rgba(255,255,255,0) 100%);
  clip-path: polygon(9% 0, 91% 0, 84% 100%, 16% 100%);
}

.ntf-head::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -72px;
  width: 300px;
  height: 230px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.82), rgba(255,255,255,0.28)),
    url("https://nakaya-shika.jp/wp-content/uploads/2026/03/1Y7A2450.jpg.webp") center / cover no-repeat;
  opacity: 0.28;
  filter: brightness(1.12) saturate(0.78);
}

.ntf-head__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 12px;
  color: var(--ntf-gold);
  font-size: 15px;
  line-height: 1;
}

.ntf-head__mark::before,
.ntf-head__mark::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,164,93,0), rgba(200,164,93,0.7));
}

.ntf-head__mark::after {
  background: linear-gradient(90deg, rgba(200,164,93,0.7), rgba(200,164,93,0));
}

.ntf-title {
  margin: 0;
  color: #101820;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92);
}

.ntf-title__main,
.ntf-title__em,
.ntf-title__sub {
  display: block;
}

.ntf-title__main {
margin: 0;
    color:#07345f;
    font-size:max(2.274vw, 37px);
    font-weight: 600;
    line-height: 1.52;
    letter-spacing: 0.11em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92);
}

.ntf-title__em {
  margin-top: 8px;
  font-size:max(2.274vw, 37px);
  line-height: 1.52;
  letter-spacing: 0.11em;
  text-shadow: 0 0 18px rgba(143, 209, 240, 0.14);
  display: inline-block; /* 綺麗にグラデーションをかけるために追加 */

  /* 画像と同じ水色のグラデーション（90度） */
  background-image: linear-gradient(90deg, rgb(30, 141, 241), rgb(60, 212, 219)) !important;
  
  /* 文字でくり抜く設定 */
  -webkit-background-clip: text !important;
  background-clip: text !important;
  
  /* 元の文字色を確実に透明化する */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.ntf-title__sub {
margin: 0;
    color:#07345f;
    font-size:max(2.274vw, 37px);
    font-weight: 600;
    line-height: 1.52;
    letter-spacing: 0.11em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92);
}

.ntf-ornament {
  position: relative;
  width: min(560px, 82%);
  height: 1px;
  margin: 28px auto 24px;
  background: linear-gradient(90deg, rgba(200, 164, 93, 0), rgba(200, 164, 93, 0.72), rgba(200, 164, 93, 0));
}

.ntf-ornament span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(200, 164, 93, 0.92);
  background: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ntf-lead {
  margin: 0;
  color: #263b50;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.ntf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ntf-card {
  position: relative;
  min-height: 386px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 93, 0.42);
  border-radius: 9px;
  background:
    radial-gradient(circle at 92% 10%, rgba(232,247,255,0.82), rgba(232,247,255,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(249,253,255,0.95) 58%, rgba(235,248,255,0.9));
  box-shadow:
    0 18px 45px rgba(8, 47, 88, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.ntf-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(200,164,93,0.08);
}

.ntf-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 108px;
  height: 108px;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(143, 199, 239, 0.26);
  pointer-events: none;
}

.ntf-card__num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 58px;
  height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  background: linear-gradient(135deg, #07345f 0%, #0b5da8 100%);
  color: #ffffff;
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(8, 47, 88, 0.16);
}

.ntf-card__num::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 24px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.ntf-card__content {
  position: relative;
  z-index: 4;
  width: 52%;
  padding: 64px 28px 0 86px;
}

.ntf-card__text {
  position: relative;
  z-index: 4;
  width: 52%;
  padding: 0 28px 32px 30px;
}

.ntf-card__content h3 {
  margin: 0 0 16px;
  color: var(--ntf-navy);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.ntf-card__mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.ntf-card__mini span {
  display: block;
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, rgba(31,115,184,0.52), rgba(31,115,184,0));
}

.ntf-card__mini span:first-child {
  background: linear-gradient(90deg, rgba(31,115,184,0), rgba(31,115,184,0.52));
}

.ntf-card__mini svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ntf-blue);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ntf-card__text p {
  margin: 0;
  color: #263b50;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.055em;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
}

.ntf-card__image {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.ntf-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(1.08) contrast(0.96) saturate(0.96);
}

.ntf-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.72) 18%, rgba(255,255,255,0.22) 48%, rgba(255,255,255,0.06) 100%),
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%);
}

.ntf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #07345f, #0f5d9f);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(7, 52, 95, 0.18);
}

.ntf-btn::after {
  content: "›";
  margin-left: 12px;
  font-size: 20px;
  line-height: 1;
}

@media screen and (max-width: 900px) {
  .nakaya-treatment-feature {
    padding: 68px 16px 92px;
  }

  .ntf-bg--pc {
    display: none;
  }

  .ntf-bg--sp {
    display: block;
  }

  .ntf-head {
    margin-bottom: 36px;
    padding: 36px 14px 30px;
  }

  .ntf-head::before {
    top: 0;
    width: 120%;
    height: 100%;
    clip-path: polygon(18% 0, 82% 0, 72% 100%, 28% 100%);
    background:
      radial-gradient(ellipse at 50% 42%, rgba(255,255,255,0.96), rgba(255,255,255,0.68) 58%, rgba(255,255,255,0) 86%);
  }

  .ntf-head::after {
    display: none;
  }

  .ntf-head__mark {
    font-size: 13px;
    gap: 12px;
  }

  .ntf-head__mark::before,
  .ntf-head__mark::after {
    width: 46px;
  }

  .ntf-title__main {
    font-size: 28px;
    line-height: 1.55;
  }

  .ntf-title__em {
    font-size: 28px;
    line-height: 1.55;
  }

  .ntf-title__sub {
    font-size: 28px;
    line-height: 1.55;
  }

  .ntf-lead {
    text-align: left;
    font-size:1.0rem;;
    line-height: 1.8;
  }

  .ntf-lead br {
    display: none;
  }

  .ntf-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ntf-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 18px;
  }

  .ntf-card::before {
    inset: 7px;
    border-radius: 13px;
  }

  .ntf-card__num {
    width: 54px;
    height: 74px;
    padding-top: 16px;
    font-size: 25px;
  }

  .ntf-card__num::after {
    bottom: -20px;
    height: 20px;
  }

  .ntf-card__content {
    order: 1;
    width: 100%;
    padding: 64px 22px 14px;
    text-align: center;
  }

  .ntf-card__image {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    width: calc(100% - 32px);
    height: 218px;
    margin: 0 auto;
    border: 1px solid rgba(200,164,93,0.22);
    box-shadow: 0 12px 28px rgba(7,52,95,0.08);
  }

  .ntf-card__image::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 58%, rgba(255,255,255,0.72) 100%);
  }

  .ntf-card__text {
    order: 3;
    width: 100%;
    padding: 24px 22px 30px;
  }

  .ntf-card__content h3 {
    font-size: 21px;
    line-height: 1.55;
  }

  .ntf-card__mini {
    justify-content: center;
    gap: 10px;
  }

  .ntf-card__mini span {
    width: 54px;
  }

  .ntf-card__text p {
    font-size:1.0rem;
    line-height: 1.86;
  }

  .ntf-btn {
    width: 100%;
    min-width: 0;
  }
}

/*-------------------------------------- 理想ブロック --------------------------------------*/

/* ----------------------------------------------世代ごとの取り組み（最終絶対確定版 v74.0 - 全ての記述を網羅）---------------------------------------------- */

/* ----------------------------------------------
  新しいラッパー要素への背景適用
---------------------------------------------- */
.section-wrapper {
    background-image: url(../../../../../img/uploads/2025/12/1013930-1.jpg);
    background-repeat: no-repeat;
    background-size:cover; 
    background-position: center top; 
    background-color: #f8f8f8; 
    margin-bottom: 120px;
    margin-top: 80px;
}

/* ----------------------------------------------
  全体コンテナ、H2、背景スタイル
---------------------------------------------- */
.child-section { 
  background: none; 
  padding: 0; 
  margin-bottom: 0; 
  overflow: hidden; 
  box-sizing: border-box;
  position: relative;
}

/* 強制フル幅設定 (PC版のみ適用) */
.child-full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ⭐H2タイトルのマージン調整 */
.h2-title {
    font-size: max(2.274vw, 37px);
    color: #0b3d60;
    line-height: 1.4;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
    position: relative;
    text-align: center;
    margin: 30px 0;
    font-family: 'Times New Roman', 'Yu Mincho', serif;
    margin-top: 100px;
}
.h2-title .span-title { color: #4dc2f1; }

/* 内部コンテンツの幅と中央寄せ */
.child-inner {
  display: flex; 
  flex-direction: row; 
  width: 100%;
  width: 85%; 
  margin: 0 auto; 
  position: relative; 
  z-index: 1; 
  padding: 90px 20px; 
}

/* ----------------------------------------------
  PC版レイアウト (オーバーラップ構造)
---------------------------------------------- */

/* 2. 画像部分 */
.child-image-fixed {
  flex: 0 0 75%; width: 75%; margin-left: auto; position: relative; 
  height: 480px; min-height: 480px; order: 2; z-index: 1; margin-top: 0; 
  overflow: visible; border-radius: 8px; box-shadow: none; filter: none;
}
.child-image-fixed::before {
    content: ''; position: absolute; top: 20px; right: -20px; width: 100%; 
    height: 100%; 
    background-color: #e9f5ff;
    background-image: 
        radial-gradient(circle at 10% 20%, #ffffff 3px, transparent 3px),
        radial-gradient(circle at 70% 80%, #ffffff 2px, transparent 2px),
        radial-gradient(circle at 40% 50%, #c4e4ff 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    border-radius: 12px;
}
.child-images .child-sub { display: none; }
.child-images img.child-bg {
    position: relative; top: -10px; left: -10px; z-index: 2; 
    width: 100%; height: 100%; object-fit: cover; border-radius: 8px; 
}

/* 1. テキスト部分 */
.child-text-fixed {
  flex: none; width: 40%; position: absolute; top: 50px; left: 0; z-index: 10; 
  box-sizing: border-box; background: #fff; border-radius: 5px; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 3px solid #ffcc66; 
  padding: 30px 40px; min-height: 350px; 
  display: flex; 
  flex-direction: column;
  font-family: "Noto sans JP",sans-serif;
}

.child-text-fixed::before { content: none; } 

.child-text-fixed::after {
    content: ''; position: absolute; top: 5px; left: 5px;
    width: 10px; height: 10px; background-color: #ffcc9c; 
    border-radius: 50%; z-index: 6;
}

.section-feature-number {
    font-size: 50px;
    font-weight: bold;
    color: #ff9900;
    line-height: 1;
    margin-bottom: -3px;
    margin-top: -15px;
    margin-left: 8px;
    font-family: 'Times New Roman', serif !important;
    position: relative;
    z-index: 1;
}

.child-text-fixed h3 {
  font-size: 24px; border-bottom: 2px dotted #ffcc66; padding-bottom: 8px; 
  color: #ff9900; margin-bottom: 18px; font-family: 'Times New Roman', 'Yu Mincho', serif !important;
}
.child-text-fixed h3 span { color: #ff9900; font-weight: bold; }

.child-list { list-style: none; padding: 0; margin: 0 0 20px 0; margin-top: 20px;}
.child-list li {
  position: relative; padding-left: 18px; font-size: 15px;
  color: #6B493D; margin-bottom: 5px; line-height: 1.4; 
}
.child-list .dot {
  position: absolute; top: 6px; left: 0;
  width: 8px; height: 8px; background: #ff6600; 
  border-radius: 50%;
}
.child-btn { 
  display: inline-block; background-image: linear-gradient(90deg, rgba(68, 164, 249, 1), rgba(56, 178, 255, 1) 48%, rgba(0, 220, 230, 1));
  color: white;
  padding: 13px 20px; border-radius: 20px; 
  font-weight: bold; text-decoration: none;
  transition: all 0.3s ease; font-family: serif,"Noto sans JP" !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-top: 15px; 
  align-self: flex-start; 
  margin-top: auto; 
}

.childp{
font-size: 1.0rem;
    line-height: 1.8;
    color: #444;
	font-family:"Noto sans JP" ,serif,
}

.child-btn:hover { background-color: #0054A6; color: #fff; }

/* ----------------------------------------------
  「大人」ブロックの反転レイアウト
---------------------------------------------- */
.child-section.child-reverse .child-image-fixed {
    order: 1; margin-left: 0; margin-right: auto; 
}
.child-section.child-reverse .child-image-fixed::before {
    left: -20px; right: auto;
}
.child-section.child-reverse .child-image-fixed .child-bg {
    left: 10px; top: -10px; 
}
.child-section.child-reverse .child-text-fixed {
    order: 2; left: auto; right: 0; margin-right: 0; 
}

/* ----------------------------------------------
  下部の補足画像エリア (3枚並び)
---------------------------------------------- */
.child-bottom-images {
    width: 85%;
    margin: 80px auto 80px; 
    display: flex; justify-content: space-around; gap: 20px;
    padding: 0 20px; box-sizing: border-box; z-index: 1;
    align-items: flex-start; 
}
.child-bottom-images .bottom-img {
    position: relative; display: block; flex: 1 1 30%;
    max-width: 33.33%; height: 100%; object-fit: cover;
    border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    border: 3px solid #fff; z-index: 2; 
    top: -10px; left: -10px; 
}
.child-bottom-images .bottom-img::before {
    content: ""; position: absolute;
    top: 10px; left: 10px; width: 100%; height: 100%;
    background: #fffae5; border: 3px dashed #ff9900; 
    border-radius: 8px; z-index: -1; 
}
.child-bottom-images .bottom-img:nth-child(2) { margin-top: 50px; }
.child-bottom-images .bottom-img:nth-child(3) { margin-top: 20px; }


/* ----------------------------------------------
  モバイル対応：画像出し分けを限定化
---------------------------------------------- */
/* PC表示：このブロック内のみに制限 */
.child-section .sp-only { display: none !important; }
.child-section .pc-only { display: block !important; }

@media screen and (max-width: 768px) {
  /* スマホ表示：このブロック内のみに制限 */
  .child-section .sp-only { display: block !important; }
  .child-section .pc-only { display: none !important; }

  .h2-title { margin: 30px auto 20px; font-size: 28px; }
  .child-full-width { width: 100%; max-width: none; margin: 0; padding: 0 20px; box-sizing: border-box; }

  .child-inner {
    display: flex; 
    flex-direction: column !important; 
    align-items: center; 
    justify-content: center;
    padding: 30px 0; 
    width: 100%;
  }

  .child-image-fixed {
    order: 1 !important; flex: none; width: 100%; height: auto; min-height: auto;
    margin: 0 0 20px 0; position: static; box-shadow: none; border: none; background: none; box-sizing: border-box; 
  }

  .child-image-fixed .child-bg { 
    width: 100%; height: auto; position: static; box-shadow: none;
    border-radius: 8px; object-fit: cover; top: 1px !important;
  }

  .child-text-fixed {
    order: 2 !important; flex: none; width: 100%; position: static;
    background: #fff; border: 3px solid #ffcc66; box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-radius: 5px; padding: 30px 15px; display: flex; flex-direction: column;
    margin-bottom: 20px; text-align: left;
  }

  .child-section.child-reverse .child-image-fixed { order: 1 !important; }
  .child-section.child-reverse .child-text-fixed { order: 2 !important; }

  .section-feature-number { font-size: 60px; margin-top: 0; }
  .child-text-fixed h3 { font-size: 24px; padding-bottom: 5px; margin-top: 25px; }
  .child-text-fixed .child-btn { margin-top: auto; align-self: center; }

  .child-image-fixed::before { content: none; }
  .child-text-fixed::after { content: none; }
  .child-text-fixed::before { content: none; }
  .child-bottom-images { display: none; }
}
/*==================================================
  グローバル設定
==================================================*/
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #333;
    line-height: 1.6;
}

.section-inner {
    width: 85%;
    margin: 0 auto;
    padding: 0 15px; /* 左右の余白 */
}

/* --- 共通ユーティリティ/配色定義 --- */
:root {
    --color-main-blue: #2A84C7;        /* メインの青 */
    --color-soft-ivory: #FCFAFA;       /* コンテンツ背景の温かいアイボリー/ベージュ (ほぼ白) */
    --border-radius-base: 15px;        /* 統一された角丸 */
}

/*==================================================
  ピックアップ診療ブロック (Pickup Section)
==================================================*/
/* ---------------------------------- */
/*==================================================
  ピックアップ診療ブロック (Pickup Section)
==================================================*/

/* 1. 親コンテナ（共通） */
.clinic-subjects-fullwidth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
}
.leading-clinic{
	margin-top:80px;
	margin-bottom:80px	;
}

/* 2. 各アイテムの基本設定 */
.subject-item-fullwidth {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  transition: opacity 0.3s ease;
  display: flex;
}

.subject-item-fullwidth:hover {
  opacity: 0.9;
}

/* 背景を暗くするオーバーレイ */
.subject-item-fullwidth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* 3. コンテンツ全体を包むリンク */
.subject-link-fullwidth {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* PCでは上揃え */
  text-align: center;
  text-decoration: none;
  color: white;
  z-index: 2;
  padding: 50px 30px 40px;
  box-sizing: border-box;
}

/* 4. テキストラッパー */
.subject-text-wrap {
  width: 100%;
  padding: 0 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* アイコンを下に押しやるための設定 */
  margin-bottom: 0;
}

/* 5. タイトル (H3) */
.subject-title-fullwidth {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 5px;
  text-shadow: 2px 1px 7px rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  font-family: 'Noto Serif JP', serif;
  background: linear-gradient(to right, #ffffff 0%, #f0f0c0 50%, #d8c895 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 6. キャッチフレーズ (P) */
.subject-catchphrase-fullwidth {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 25px;
  line-height: 1.6;
  text-align: left;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Noto sans JP", sans-serif;
  flex-shrink: 0;
  color: white;
}

/* 7. アイコン枠 */
.subject-icon-fullwidth {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.6);
  margin: 30px 0;
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: center center;
  flex-shrink: 0;
}

/* 8. ボタン */
.subject-button-fullwidth {
  display: block;
  padding: 15px 40px;
  border: 2px solid white;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 20px auto 0;
  background-color: transparent;
  width: fit-content;
  box-sizing: border-box;
  font-family: serif, "Noto sans JP";
  flex-shrink: 0;
}

.subject-item-fullwidth:hover .subject-button-fullwidth {
  background-color: white;
  color: #333;
}

/* ---------------------------------- */
/* 背景・アイコン設定 (全量) */
/* ---------------------------------- */
.subject-caries { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/tooth-decay-scaled.jpeg'); }
.subject-periodontics { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/periodontal-disease-scaled.jpeg'); }
.subject-preventive { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/preventive-dentistry-scaled.jpeg'); }
.subject-aesthetic { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/aesthetic-dentistry-scaled.jpeg'); }
.subject-implant { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/implant-scaled.jpeg'); }
.subject-ortho { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/pediatric-dentistry-scaled.jpeg'); }
.subject-pedi-ortho { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/pediatric-orthodontics-scaled.jpeg'); }
.subject-whitening { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/whitening-scaled.jpeg'); }
.subject-dentures { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/dentures-scaled.jpeg'); }

.subject-icon-caries { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/musiba.png'); } 
.subject-icon-periodontics { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/sisyuubyou.png'); }
.subject-icon-preventive { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/yobousika.png'); }
.subject-icon-aesthetic { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/sinnbisika.png'); }
.subject-icon-implant { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/innpurannto.png'); }
.subject-icon-ortho { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/syounisika.png'); }
.subject-icon-pedi-ortho { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/syounikyousei.png'); }
.subject-icon-whitening { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/howaitoninngu.png'); }
.subject-icon-dentures { background-image: url('http://nakaya-shika.jp/wp-content/uploads/2025/12/ireba.png'); }

/* ---------------------------------- */
/* レスポンシブ対応 */
/* ---------------------------------- */

/* タブレット (768px - 1024px) */
@media (max-width: 1024px) {
  .subject-title-fullwidth { font-size: 30px; }
  .subject-item-fullwidth { min-height: 50vh; }
  .subject-link-fullwidth { padding: 30px 20px; }
  .subject-icon-fullwidth { width: 140px; height: 140px; }
}

/* モバイル用 (767px以下) */
@media (max-width: 767px) {
  .clinic-subjects-fullwidth {
    grid-template-columns: 1fr;
  }

  .subject-item-fullwidth {
    min-height: auto; /* 高さを内容に合わせる */
    height: auto;
  }

  .subject-link-fullwidth {
    padding: 60px 20px;
    justify-content: center;
  }

  .subject-text-wrap {
    flex-grow: 0;
    padding: 0;
    margin-bottom: 20px;
  }

  .subject-title-fullwidth {
    font-size: 28px;
  }

  .subject-catchphrase-fullwidth {
    text-align: left;
    width: 100%;
    font-size: 1rem;
  }

  .subject-icon-fullwidth {
    width: 120px;
    height: 120px;
    margin: 10px auto 30px;
  }

  .subject-button-fullwidth {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* =========================
   春日井市の患者様の理想を実現
========================= */
/* =========================
   春日井市の患者様の理想を実現
========================= */
.risou-saction,
.risou-saction * {
  box-sizing: border-box;
}

.risou-saction {
  --risou-navy: #06386a;
  --risou-blue: #2d8fe3;
  --risou-cyan: #54d2d9;
  --risou-gold: #c6a45f;
  --risou-text: #202f3d;
  --risou-line: #cfe4ef;

  position: relative;
  overflow: hidden;
  padding: 78px 20px 92px;
  margin-top: 80px;
  color: var(--risou-text);
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;

  background-image: url(../../../../../img/uploads/2026/06/27518326.jpg);
  background-color: rgba(255, 255, 255, 0.75);
  background-blend-mode: lighten;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.risou-saction::before,
.risou-saction::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.risou-saction::before {
  left: -90px;
  bottom: -80px;
  width: 520px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 50%, rgba(178, 226, 246, 0.20) 0 42%, transparent 43%),
    radial-gradient(circle at 68% 58%, rgba(218, 242, 250, 0.18) 0 50%, transparent 51%);
  filter: blur(1px);
}

.risou-saction::after {
  right: -90px;
  top: 120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(208, 235, 247, 0.16);
}

/* H2 */
.risou-title {
  position: relative;
  z-index: 1;
  margin: 0 0 54px;
  text-align: center;
  color: var(--risou-navy);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.risou-title .span-title {
  display: inline-block;
  background: linear-gradient(90deg, #237bd4 0%, #52d2d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.risou-inner {
  position: relative;
  z-index: 1;
  width: 85%;
  margin: 0 auto;
}

/* =========================
   カード共通
========================= */
.case-section {
  position: relative;
  overflow: hidden;
  height: 540px;
  border-radius: 22px;
  border: 1px solid rgba(193, 222, 234, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.93));
  box-shadow:
    0 12px 30px rgba(6, 56, 106, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.case-section + .case-section {
  margin-top: 32px;
}

/* カード全体の装飾 */
.case-section::before,
.case-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.case-section::before {
  right: 34px;
  top: 34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(200, 229, 242, 0.20);
}

.case-section::after {
  right: 28px;
  bottom: 34px;
  width: 92px;
  height: 92px;
  opacity: 0.18;
  background-image: radial-gradient(rgba(121, 190, 229, 0.45) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
}

.case-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  gap: 0;
}

/* =========================
   テキスト共通
========================= */
.case-text {
  position: relative;
  z-index: 1;
  flex: 0 0 46%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 40px 42px;
  color: #333;
}

.case-number {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  color: #0a3f8d;
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.case-number::after {
  content: "";
  position: absolute;
  left: -6px;
  bottom: -8px;
  width: 86px;
  height: 26px;
  border-bottom: 2px solid #42c7d5;
  border-radius: 0 0 50% 50%;
}

.case-text h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #222;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.case-highlight {
  color: #2577d0;
  font-weight: 500;
}

.case-description {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.case-benefits {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.case-benefits li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  color: #333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.case-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #2f9bdd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid rgba(74, 184, 225, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.case-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  min-height: 52px;
  margin-top: auto;
  padding: 13px 48px 13px 28px;
  border-radius: 999px;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: linear-gradient(135deg, #002d8d 0%, #001963 100%);
  box-shadow: 0 7px 16px rgba(0, 25, 99, 0.24);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-btn::after {
  content: "›";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
}

.case-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* =========================
   画像共通
========================= */
.case-image {
  position: relative;
  z-index: 1;
  flex: 0 0 54%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.image-placeholder img,
.case-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

/* 画像上の装飾は削除 */
.case-image::before,
.case-image::after {
  content: none;
}

/* =========================
   01：ホワイトニング
========================= */
.case-section--whitening .case-image {
  border-radius: 0 22px 22px 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.case-section--whitening .case-image img {
  object-position: center center;
}

/* 01専用：洗練寄せの控えめ装飾 */
.case-section--whitening .case-text::before,
.case-section--whitening .case-text::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.case-section--whitening .case-text::before {
  right: 32px;
  top: 32px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(199, 229, 243, 0.18);
}

.case-section--whitening .case-text::after {
  right: 26px;
  top: 150px;
  width: 92px;
  height: 92px;
  opacity: 0.16;
  background-image: radial-gradient(rgba(121, 190, 229, 0.45) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
}

/* 01は余計な左下図形を出さない */
.case-section--whitening::before {
  right: 34px;
  top: 34px;
  left: auto;
  bottom: auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(200, 229, 242, 0.18);
}

.case-section--whitening::after {
  right: 28px;
  bottom: 34px;
  width: 92px;
  height: 92px;
  opacity: 0.14;
  background-image: radial-gradient(rgba(121, 190, 229, 0.42) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
}

/* =========================
   02：インプラント
========================= */
.case-section--implant .case-container {
  flex-direction: row-reverse;
}

.case-section--implant .case-text {
  padding-left: 50px;
}

.case-section--implant .case-image {
  border-radius: 22px 0 0 22px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.case-section--implant .case-image img {
  object-position: center center;
}

/* 02専用装飾 */
.case-section--implant .case-text::before,
.case-section--implant .case-text::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.case-section--implant .case-text::before {
  right: 32px;
  top: 32px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(199, 229, 243, 0.18);
}

.case-section--implant .case-text::after {
  right: 26px;
  top: 150px;
  width: 92px;
  height: 92px;
  opacity: 0.16;
  background-image: radial-gradient(rgba(121, 190, 229, 0.45) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
}

/* =========================
   Tablet
========================= */
@media screen and (max-width: 1024px) {
  .risou-saction {
    padding: 70px 18px 82px;
  }

  .case-section {
    height: 520px;
  }

  .case-text {
    flex-basis: 47%;
    padding: 38px 28px 36px;
  }

  .case-image {
    flex-basis: 53%;
  }

  .case-description,
  .case-benefits li {
    font-size: 14.5px;
  }

  .case-btn {
    min-width: 250px;
  }
}

/* =========================
   Mobile
========================= */
@media screen and (max-width: 768px) {
  .risou-saction {
    padding: 46px 16px 64px;
    margin-top: 60px;
    background-color: rgba(255, 255, 255, 0.80);
    background-position: center top;
  }

  .risou-title {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 1.55;
    letter-spacing: 0.05em;
  }

  .br-sp {
    display: block;
  }

  .risou-inner {
    max-width: 430px;
  }

  .case-section {
    height: auto;
    min-height: 0;
    border-radius: 18px;
  }

  .case-section + .case-section {
    margin-top: 24px;
  }

  .case-section::before {
    right: -18px;
    top: 26px;
    width: 86px;
    height: 86px;
  }

  .case-section::after {
    right: 14px;
    bottom: 22px;
    width: 74px;
    height: 74px;
    background-size: 10px 10px;
  }

  .case-container,
  .case-section--implant .case-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .case-image,
  .case-section--whitening .case-image,
  .case-section--implant .case-image {
    order: 0;
    width: 100%;
    height: 235px;
    min-height: 235px;
    flex-basis: auto;
    clip-path: none;
    border-radius: 18px 18px 0 0;
  }

  .case-image img {
    height: 235px;
    min-height: 235px;
  }

  .case-text,
  .case-section--implant .case-text {
    order: 1;
    flex-basis: auto;
    height: auto;
    display: block;
    padding: 30px 24px 30px;
  }

  .case-section--whitening .case-text::before,
  .case-section--implant .case-text::before {
    right: 20px;
    top: 24px;
    width: 72px;
    height: 72px;
  }

  .case-section--whitening .case-text::after,
  .case-section--implant .case-text::after {
    right: 12px;
    top: 112px;
    width: 72px;
    height: 72px;
    background-size: 10px 10px;
  }

  .case-number {
    font-size: 50px;
    margin-bottom: 12px;
  }

  .case-number::after {
    width: 74px;
    bottom: -7px;
  }

  .case-text h3 {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.55;
    letter-spacing: 0.04em;
  }

  .case-description {
    margin-bottom: 22px;
    font-size: 14.5px;
    line-height: 1.9;
    letter-spacing: 0.03em;
  }

  .case-benefits {
    margin-bottom: 28px;
  }

  .case-benefits li {
    padding-left: 34px;
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.65;
    letter-spacing: 0.02em;
  }

  .case-benefits li::before {
    width: 21px;
    height: 21px;
    font-size: 13px;
  }

  .case-btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin-top: 0;
    padding: 14px 46px 14px 22px;
    font-size: 15px;
  }
}

/* =========================
   Small Mobile
========================= */
@media screen and (max-width: 374px) {
  .risou-saction {
    padding-left: 12px;
    padding-right: 12px;
  }

  .risou-title {
    font-size: 27px;
  }

  .case-text,
  .case-section--implant .case-text {
    padding: 28px 18px 28px;
  }

  .case-text h3 {
    font-size: 21px;
  }

  .case-description,
  .case-benefits li {
    font-size: 13.5px;
  }

  .case-btn {
    font-size: 14px;
  }
}

/* =========================
   春日井市の患者様の理想を実現：見出し装飾
========================= */
.risou-title {
  position: relative;
  z-index: 1;
  margin: 0 0 58px;
  padding-top: 30px;
  text-align: center;
  color: var(--risou-navy);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

/* 英字装飾 */
.risou-title::before {
  content: "Ideal smile";
  display: block;
  margin: 0 0 12px;
  color: var(--risou-gold);
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.26em;
}

/* ゴールドライン */
.risou-title::after {
  content: "";
  display: block;
  width: 260px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(
    90deg,
    rgba(198, 164, 95, 0) 0%,
    rgba(198, 164, 95, 0.85) 45%,
    rgba(198, 164, 95, 0.85) 55%,
    rgba(198, 164, 95, 0) 100%
  );
}

/* 中央の小さな菱形 */
.risou-title .span-title {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #237bd4 0%, #52d2d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.risou-title .span-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -33px;
  width: 10px;
  height: 10px;
  z-index: 2;
  border: 1px solid rgba(198, 164, 95, 0.9);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

/* 菱形の中心点 */
.risou-title .span-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -29px;
  width: 4px;
  height: 4px;
  z-index: 3;
  background: var(--risou-gold);
  transform: translateX(-50%);
}

/* =========================
   SP調整
========================= */
@media screen and (max-width: 768px) {
  .risou-title {
    margin-bottom: 38px;
    padding-top: 18px;
    font-size: 30px;
    line-height: 1.55;
    letter-spacing: 0.05em;
  }

  .risou-title::before {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .risou-title::after {
    width: 210px;
    margin-top: 18px;
  }

  .risou-title .span-title::after {
    bottom: -28px;
    width: 9px;
    height: 9px;
  }

  .risou-title .span-title::before {
    bottom: -24px;
    width: 3px;
    height: 3px;
  }
}
/* ----------------------院長ブロック (PC/共通)---------------------- */

.director-section{
/* 	margin-top:30px; */
}

.director-profile {
  background-image: url(../../../../../img/uploads/2025/12/doctorbackground01.jpg);
  padding: 60px 20px;
  color: #2a3e52;
  background-repeat: no-repeat;
  background-size:cover;
  background-color:rgba(255,255,255,0.85);
background-blend-mode:lighten;
}

.director-profile__inner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 85%;
	    margin-top: 70px;
}

/* 左側ブロック: PCでは flex: 1 で相対的な幅を確保 */
.director-profile__left {
  flex: 1; 
  /* min-width: の指定は削除し、柔軟性を確保します */
  text-align: center;
}

/* 右側ブロック: PCでは flex: 2 で左側より広い幅を確保 */
.director-profile__right {
  flex: 2;
  /* min-width: の指定は削除し、柔軟性を確保します */
}


/* ★ 共通: 画像が大きすぎる問題の解決 */
/* HTMLのimg要素（class="director-profile__image"）に適用されます */
.director-profile__left img {
    /* HTMLでclass="director-profile__image"がないため、imgタグ自体に指定します */
    /* 画像要素自体に class="director-profile__image" を追加した場合は、
    .director-profile__image { ... } でOKです */
    width: 100%;
    max-width: 100%; /* 親要素からはみ出さないように制限 */
    height: auto;    /* 縦横比を維持 */
    object-fit: cover;
}
/* 念のため、.director-profile__image も残しておきますが、HTML修正が推奨です */
.director-profile__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}


/* --- その他の詳細スタイル (PC/共通) --- */

.director-profile__badge {
  position: relative;
  background-color: rgba(0, 47, 86, 0.85);
  color: #fff;
  padding: 20px;
  margin-top: -60px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.director-profile__subtitle {
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  font-family: "Noto sans JP",sans-serif;
}

.director-profile__list {
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  text-align: left;
  font-family: "Noto sans JP",sans-serif;
}
.director-profile__list span {
  font-size: 0.9rem;
  margin-right: 12px;
}

.director-profile__quote {
  margin-bottom: 40px;
  position: relative;
}

.director-profile__vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 16px;
  position: absolute;
  right: -40px;
  top: 0;
  color: #666;
}

.director-profile__message {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: "Noto sans JP",sans-serif;
}

.director-profile__message span {
  border-bottom: 2px solid #4ca3c7;
}
.director-image img{
      width: auto;
    height: 300px;
    padding: 30px;
}

.director-profile__question {
  line-height: 1.8;
  font-family: "Noto sans JP",sans-serif;
      font-size: 1.0rem;
    color: #444;
    padding: 10px 10px;
}

.director-profile__question .highlight {
  color: #3a93b8;
  font-weight: bold;
}

.director-profile__bio {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #D1E8EE;
  padding: 30px;
  border-radius: 10px;
  align-items: center;
}

.director-profile__career {
  flex: 2;
}

.director-h3 {
  margin-bottom: 10px;
  font-family: "Noto sans JP", sans-serif;
}

.director-profile__career ul {
  font-size: 14px;
  line-height: 1.8;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  padding-left: 0;
  list-style: none;
   font-family: "Noto sans JP", sans-serif;
}

.director-profile__certificate {
  flex: 1;
  text-align: center;
}

.director-profile__certificate img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}


/* ----------------------モバイル対応 (max-width: 768px)---------------------- */
@media screen and (max-width: 768px) {
.director-profile {
  padding: 40px 15px; /* モバイルではパディングを少し狭めます */
}

/* ★ モバイルでの横スクロール問題の解決 */
/* 左右のブロックを縦に積み重ね、幅100%になるように強制します */
.director-profile__left,
.director-profile__right {
  /* min-width: の指定は全て削除します */
  flex: 1 1 100%; /* 縦並び、幅100% */
}

/* 画像は既にmax-width: 100%が適用されているためOK */

/* 経歴リスト内のフォントサイズとレイアウト調整 */
.director-profile__list {
  font-size: 0.9rem; /* 0.6rem から 0.9rem へ調整して読みやすく */
  line-height: 1.6;
}
.director-profile__list span {
  font-size: 0.9rem;
}

.director-profile__message {
  font-size: 1.2rem; /* 少し大きく調整 */
  margin-bottom: 15px;
}

/* 所属・学会リストの調整 */
.director-profile__career ul {
  font-size: 0.9rem; /* 0.8rem から 0.9rem へ調整 */
  /* ★ 横伸びを防ぐため、2カラムを1カラムに変更します */
  grid-template-columns: 1fr; 
  gap: 6px;
}

.director-profile__bio {
  padding: 20px 15px; /* モバイルに合わせてパディングを調整 */
}

/* 不要なスタイルを削除または調整 (元のコードからmin-width: 300px/400pxを削除) */
/* (元のコードにあった .director-profile__image のモバイルブロックは共通の定義を使うため削除) */
}

/* ---------------------- ボタン用CSSの追加 ---------------------- */

/* ボタンを中央寄せするためのエリア（必要に応じて） */
.director-profile__button-area {
    text-align: center; /* ボタンを中央に配置 */
    margin-top: 30px;   /* 上部に余白を追加 */
    margin-bottom: 50px;
}

/* 青色ボタンの基本スタイル */
.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4ca3c7; /* 明るい青 */
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 16px;
    letter-spacing: 0.05em;
    min-width: 200px; /* ボタンの最小幅 */
     font-family:serif,"Noto sans JP"
}

/* ホバーエフェクト（マウスオーバー時） */
.btn-contact:hover {
    background-color: #3a93b8; /* 少し濃い青 */
}

/* モバイル対応 (768px以下) */
@media screen and (max-width: 768px) {
    .director-profile__button-area {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .btn-contact {
        /* モバイルではボタンの幅を広げます */
        width: 90%; 
        max-width: 300px;
        padding: 15px 0; /* 縦パディングを増やし、横は幅100%に任せます */
        font-size: 18px;
    }
    .director-image img {
    width: auto;
    height: 200px;
    padding: 30px;
    display: none;
}
}

/*------------------------------------- 無料相談 --------------------------------------*/
section.consultation {
  background: url(../../../../../img/uploads/2025/12/counselingphoto.png) no-repeat top center / 100%;
  width: 100%;
  aspect-ratio: 1400 / 762;
  padding: max(4.571vw, 59px) 0 max(1.429vw, 19px);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* margin-top: max(7.143vw, 93px); */
  margin-bottom: max(7.143vw, 93px);
}
.consult-block {
  width: 85%;
  padding: 0 3%;
  margin: 0 auto;
}

h2.ja-title {
  line-height: 1.2em;
  font-size: max(2.976vw, 39px);
  display: flex;
  height: max(8.214vw, 107px);
  align-items: center;
  box-sizing: border-box;
  padding-top: .2em;
  letter-spacing: .14em;
  margin-bottom: max(2.5vw, 32px);
  color: #5b4633;
}
p.en-title {
  width: 50%;
  line-height: 1em;
  font-size: 2rem;
  letter-spacing: .08em;
  border-bottom: 1px solid;
  box-sizing: border-box;
  padding-bottom: max(1.143vw, 15px);
  margin-bottom: max(1.929vw, 25px);
}
.consult-copy p {
  letter-spacing: .14em;
  margin: 20px 0;
   font-family: "Noto sans JP", sans-serif;
      font-size: 1.0rem;
    line-height: 1.8;
    color: #444;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(to right, #3b89d1, #b1cde7);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
    font-family:serif,"Noto sans JP"
}

.cta-button:hover {
  color: #fff;
  background: linear-gradient(to right, #3b89d1, #b1cde7); /* 逆方向で光るように */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* ---------------------- モバイル対応 (max-width: 768px) ---------------------- */
/* ---------------------- モバイル対応 (max-width: 768px) ---------------------- */
@media screen and (max-width: 768px) {
  
  /* === セクション全体の設定 === */
  section.consultation {
    /* padding: 30px 0 20px; */ 
    /* ★ 修正: 背景画像の高さ分を見越して、上部のパディングを大きく設定します */
    /* padding: 200px 0 20px;  */
    
    /* 背景画像を画面幅に合わせて調整 (consultationsp.png) */
    background: url(../../../../../img/uploads/2025/12/counselingphoto.png) no-repeat top center / cover; 
    aspect-ratio: auto; 
    height: auto;
    
    /* margin-top: 50px;  */
    margin-bottom: 50px;
  }

  /* === コンテンツブロックの設定 (はみ出し防止とレイヤー修正) === */
  .consult-block {
    padding: 0 5%; 
    box-sizing: border-box; 
    overflow-x: hidden; 
  }
  
  /* ★ レイヤー修正：テキストを背景より前面に表示させる */
  /* テキストの親要素にz-indexを確実に適用 */
  .consult-inner,
  .consult-text {
    position: relative; 
    z-index: 10;        
  }
  
  /* === タイトル・コピーの調整 === */
  
  /* 日本語タイトルの調整 */
  h2.ja-title {
    font-size: 1.0rem;
    height: auto;
    margin-bottom: 15px;
    /* ★ 修正: コンテンツを下にずらしたため、マイナスのマージンを解除または緩和します */
    margin-top: 0; 
    letter-spacing: normal;
  }
  
  /* 英語タイトルの調整 */
  p.en-title {
    font-size: 1.3rem;
    width: 100%; 
    padding-bottom: 8px;
    margin-bottom: 12px;
  }
  
  /* メッセージ本文の調整（はみ出し防止） */
  .consult-copy p {
    font-size: 1rem; 
    line-height: 1.6;
    word-break: break-word; 
    letter-spacing: normal; 
    margin: 15px 0;
  }
  
  /* === CTAボタンの調整 === */
  .cta-button {
    display: block; 
    width: 90%; 
    max-width: 350px;
    padding: 18px 0; 
    margin: 30px auto 20px auto; 
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    
    transform: none;
    transition: none;
  }
}


/*------------------------------------- 無料相談ここまで --------------------------------------*/

/* -------------------支払方法------------------- */
.paymentsec {
  /* background: linear-gradient(to bottom, #ffffff, #f5f7fa);  */
  background-image:url(../../../../../img/uploads/2025/12/background4.jpg);
  padding: 50px 0;
  background-color:rgba(255,255,255,0.3);
background-blend-mode:lighten;
}

.payout {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 40px;
  max-width: 1000px;
  margin: 20px auto;
	    margin-top: 70px;
}

.paytxtbox {
  flex: 1 1 55%;
  padding: 20px 30px;
}

.payttl span {
  background: linear-gradient(transparent 70%, #b4c5e4 70%);
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 20px;
}

.marker {
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  font-size: 20px;
  padding-left: 30px;
   font-family: "Noto sans JP", sans-serif;
}

.marker::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #6ca0dc;
  font-size: 18px;
}

.payp {
  padding-top: 20px;
  line-height: 1.8;
  font-family: "Noto sans JP",sans-serif;
      font-size: 1.0rem;
    color: #444;
}

.payimg {
  flex: 1 1 40%;
  padding: 20px;
  text-align: center;
}

/* 流れる画像 */
.payimg img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
/* --- 画像が途切れず滑らかに流れるカルーセル --- */
/* 画像が流れるエリア */
.flowing-images {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 30px 0;
}

/* 横スクロールトラック */
.flow-track {
  display: flex;
  gap: 20px;
	width: max-content;
	animation: scroll-left 40s linear infinite;
	will-change: transform; /* スムーズな描画 */
}


/* 各画像の設定 */
.flow-track img {
  width: 160px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.flow-track img:hover {
  transform: scale(1.05);
}

/* スマホ版 */
@media (max-width: 768px) {
  .payout {
    flex-direction: column;
    padding: 20px;
  }

  .paytxtbox, .payimg {
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .payttl span {
    font-size: 16px;
    background: linear-gradient(transparent 70%, #b4c5e4 70%);
    padding-bottom: 2px;
    display: inline;
    line-height: 1.6;
    word-break: keep-all;
    white-space: nowrap;
  }

  .marker {
    font-size: 16px;
    padding-left: 24px;
    text-align: left;
    margin-bottom: 12px;
  }

  .marker::before {
    font-size: 14px;
    top: 1px;
  }

  .payp {
    font-size: 1rem;
    text-align: left;
    line-height: 1.7;
    padding: 10px 0;
  }

  .payimg img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
  }
}

/* ---------------------- 院内紹介セクション (clinic-tour) ---------------------- */
.clinic-tour {
    padding: 80px 0;
    background-color: #f8f8f8; /* 背景色 */
    overflow: hidden; /* 横方向のオーバーフローを隠して横スクロールを防ぐ */
}

.clinic-tour__content-wrapper {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: center;
	margin-top: -40px;
}

/* --- タイトルスタイル --- */
.tour-title {
    margin-bottom: 30px;
    line-height: 1.2;
}

.tour-title .ja {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #002f56; /* 濃い青 */
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.tour-title .en {
    display: block;
    font-size: 16px;
    color: #4ca3c7; /* 明るい青 */
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.2em;
}

.tour-description p {
  font-family: "Noto sans JP",sans-serif;
      font-size: 1.0rem;
    line-height: 1.8;
    color: #444;
}

/* --- スライダー（流れる写真） --- */
.clinic-tour__slider {
    width: 100%;
    overflow: hidden; /* トラックがはみ出ても見せない */
}

/* keyframes: 写真を左に動かすアニメーション */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        /* (画像の枚数 * 画像の幅) * 50% だけ移動 */
        transform: translateX(-50%); 
    }
}

.slider-track {
    /* (元の画像6枚 + 複製画像6枚) = 12枚の画像分の幅 */
    display: flex; 
    width: calc(300px * 12); /* 画像1枚あたり300px * 12枚の画像 */
    animation: slide 30s linear infinite; /* 30秒かけて無限ループ */
}

.slider-track:hover {
    animation-play-state: paused; /* ホバーでアニメーションを一時停止 */
}

.slider-track img {
    /* 各画像のスタイル */
    width: 300px; /* PCでの画像の幅 */
    height: 200px;
    object-fit: cover;
    margin-right: 20px; /* 画像間のスペース */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- モバイル対応 --- */
@media screen and (max-width: 768px) {
    .clinic-tour {
        padding: 50px 0;
    }
	.tour-description{
		text-align:left;
	}
    
    .clinic-tour__content-wrapper {
        margin-bottom: 30px;
    }
    
    .tour-title .ja {
        font-size: 24px;
    }
    
    .tour-title .en {
        font-size: 14px;
    }
    
    .tour-description p {
        padding: 0 10px; /* モバイルで左右にパディングを追加 */
        font-size: 1rem;
    }

    /* モバイルでの画像幅を調整 */
    .slider-track {
        /* 画像1枚あたり200px * 12枚の画像 */
        width: calc(200px * 12); 
        /* アニメーション速度を少し速く調整 */
        animation: slide 20s linear infinite; 
    }

    .slider-track img {
        width: 200px; /* モバイルでの画像の幅 */
        height: 140px;
        margin-right: 15px; 
    }
}

/* ---------------------- 採用情報セクション (recruit-section) ---------------------- */
/* ---------------------- 採用情報セクション (recruit-section) ---------------------- */

.recruit-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #f0f8ff;
}

.recruit-container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 3;
    box-shadow: 0 15px 40px rgba(0, 47, 86, 0.15);
    background-color: #fff; 
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s ease-out;
}

.recruit-container:hover {
    transform: translateY(-5px); 
}

/* 背景装飾 */
.recruit-decoration {
    position: absolute;
    z-index: 1;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.left-bg {
    top: -50px;
    left: -100px;
    background: linear-gradient(135deg, #aed9e0, #8ecae6);
}

.right-bg {
    bottom: -80px;
    right: -150px;
    background: linear-gradient(315deg, #0077b6, #003056);
}

/* コンテンツエリア全体 */
.recruit-content-area {
    width: 100%;
    background: linear-gradient(180deg, #d0e7f5 0%, #e9f5ff 100%);
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

/* テキストと画像のレイアウト制御 (PC) */
.recruit-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr; /* PCでは2列 */
    gap: 40px;
    align-items: center;
    width: 100%;
}

.en-title {
    grid-column: 1;
    font-family: 'Georgia', serif;
    font-size: 56px;
    font-weight: 900;
    color: #004c7f;
    margin-bottom: 2px;
}

.ja-title {
    grid-column: 1;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.2em;
    padding-bottom: 5px;
    border-bottom: 3px solid #8ecae6;
    display: inline-block;
    width: fit-content;
    margin-bottom: 30px;
    font-family: "Noto sans JP", sans-serif;
}

.description {
    grid-column: 1;
    font-size: 1.0rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    font-family: "Noto sans JP", sans-serif;
}

/* 画像エリア (PCでは右側に配置) */
.recruit-image-area {
    grid-column: 2;
    grid-row: 1 / 5; /* タイトルから説明文までの高さを連結 */
    height: 100%;
}

.recruit-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.9) contrast(1.1);
}

/* MOREボタン */
.recruit-more-button {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px;
    background: linear-gradient(90deg, #0077b6, #004c7f);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 76, 127, 0.4);
    width: 200px;
}

.arrow-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.span-title{
 /* 1. グラデーションの定義 */
    background-image: linear-gradient(90deg, 
      rgba(30, 141, 241, 1), /* 開始色 */
      rgba(60, 212, 219, 1)  /* 終了色 */
    ); 
    
    /* 2. 背景をテキストの形に切り抜く (必須) */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 3. テキストの塗りつぶし色を透明にする (必須) */
    -webkit-text-fill-color: transparent;
    color: transparent; /* その他のブラウザ向け */
    
    /* 4. インライン要素でも正しく表示されるようにする */
    display: inline-block; 
    
    /* 注意: heightやwidthは文字のグラデーションには通常不要です */
    /* height: 200px; */ 
    /* width: 90%; */ 
}

.recruit-more-button:hover {
    background: linear-gradient(90deg, #004c7f, #0077b6);
    box-shadow: 0 8px 20px rgba(0, 76, 127, 0.5);
}

.recruit-more-button:hover .arrow-icon {
    transform: translateX(5px);
}

/* ---------------------- モバイル対応 (max-width: 768px) ---------------------- */
@media screen and (max-width: 768px) {
    .recruit-section {
        padding: 50px 0 30px;
    }

    .recruit-content-area {
        padding: 40px 20px;
    }

    /* モバイルでは1列に縦並び */
    .recruit-text-block {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .en-title { font-size: 40px; }
    .ja-title { 
        font-size: 20px; 
        margin-bottom: 25px; 
        margin-left: auto; 
        margin-right: auto; 
		        margin-top: -30px;
    }
    .description { font-size: 1rem; margin-bottom: 10px; text-align: left; }

    /* ★画像が「説明文の下・ボタンの上」に来る */
    .recruit-image-area {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 30px;
    }

    .recruit-image-area img {
        border-radius: 10px;
        height: auto;
		width: 90%;
        margin: 0 auto;
    }

    .recruit-more-button {
        width: 70%;
        max-width: 300px;
        margin: 0 auto;
    }

    .recruit-decoration { display: none; }

    /* H2/H3 スタイル維持 */
    .h2-title {
        font-size:28px;
        color: #0b3d60;
        text-align: center;
        margin: 30px 0 60px;
        font-family: 'Times New Roman', 'Yu Mincho', serif;
    }
    .h3-title {
        font-size: 1.3rem;
        margin: 5px 0 15px;
    }
}

@media screen and (min-width: 768px) 
{
   .br-sp { display: none; }
   }

  
   /*-------------------------------------- ピックアップブロック --------------------------------------*/
.treatment-wrapper {
      width: 85%;
      margin: 0 auto;
      background: #f3f9ff;
      padding: 60px 40px;
      position: relative;
	    margin-top: 70px;
    }
    .treatment-bg-label p{
      font-size: 64px;
      color: rgba(0,0,0,0.1);
      letter-spacing: 0.15em;
      position: absolute;
      top: 0;
      left: 40px;
      z-index: 2;
    }
    .treatment-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      position: relative;
      z-index: 1;
    }
    .treatment-left, .treatment-right {
      flex: 1 1 100%;
    }
      .treatment-left {
        flex: 2;
      }
      .treatment-right {
        flex: 3;
        position: relative;
      padding-right: 8%;
      }
    .treatment-left img {
      width: 75%;
          transform: skew(-8deg);
    }
    /* ボタン */
    .viewmore {
      text-align: center;
    }
    .treatment-btn {
        display: inline-block;
        background: linear-gradient(135deg, #0072BC 0%, #3ba6d1 50%, #78CDD1 100%);
        color: white;
        text-align: center;
        padding: 12px 32px;
        font-style: italic;
        font-weight: bold;
        margin-top: 20px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-family: serif,"Noto sans jp";
    }

    .treatment-btn:hover {
        color: white;
        background: linear-gradient(135deg, #003849 0%, #2c9ec8 50%, #a8e0f0 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

        .treatment-btn1{
        display: inline-block;
        background: linear-gradient(135deg,#ffcc9c 0%, #f7a659 50%, #e88d3e 100%);
        color: white;
        text-align: center;
        padding: 12px 32px;
        font-style: italic;
        font-weight: bold;
        margin-top: 20px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-family: serif,"Noto sans jp";
    }

    .treatment-btn1:hover {
        color: white;
        background: linear-gradient(135deg, #003849 0%, #2c9ec8 50%, #a8e0f0 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .treatment-ribbon {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0072BC 0%, #3ba6d1 50%, #78CDD1 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    }
    .treatment-ribbon span {
      transform: rotate(-45deg);
      color: white;
      font-size: 16px;
      text-align: center;
      line-height: 1.6;
      font-family:serif,"Noto sans JP";
    }
    .treatment-vertical-label {
      position: absolute;
      top: 210px;
      right: 0;
      writing-mode: vertical-rl;
      font-size: 32px;
      color: #004e66;
      line-height: 1.4;
      font-weight: bold;
      font-family:serif,"Noto sans JP";
    }
    .treatment-vertical-label span {
      font-size: 30px;
    }
    .treatment-headline {
      font-size: 24px;
      line-height: 1.8;
      margin-top: 10%;
      margin-bottom: 40px;
      font-family:serif,"Noto sans JP";
    }
    .treatment-box {
      display: flex;
      align-items: flex-start;
      position: relative;
      background: #f7f7f7;
      padding: 20px;
      margin-bottom: 20px;
    }
    .treatment-box img {
      position: absolute;
      top:  65px;
      left: 15px;
      width: 130px;
      height: auto;
      margin-right: 20px;
    }
    .treatment-box strong {
      font-size: 1.2rem;
      display: block;
      margin-bottom: 8px;
    }
    .treatment-box p {
      margin: 0;
      line-height: 1.6;
      font-family:"Noto sans JP",sans-serif !;
    }
    .treatment-txt {
      padding: 0 0 0 25%;
    }
    em.under {
      background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 70%,
    rgba(59, 166, 209, 0.3) 70%,
    rgba(59, 166, 209, 0.3) 100%
  );
   font-family:serif,"Noto sans JP";
    }
    /* 逆配置用 */
.treatment-layout.reverse {
  flex-direction: row-reverse;
}

/* ------------------2つ目（逆向き）だけ左側にする */
.treatment-layout.reverse .treatment-ribbon {
  left: -40px;
  right: auto;
}

.treatment-layout.reverse .treatment-vertical-label {
  left: 0;
  right: auto;
  text-align: left;
}
/* 2つ目（.dark）だけ色変える */
.treatment-wrapper.dark {
  background: #f1ede6;
}

.treatment-wrapper.dark .treatment-ribbon {
background: linear-gradient(135deg, #7BBFEA 0%, #21A0DB 50%, #000080 100%);
box-shadow: 0 4px 10px rgba(180, 140, 100, 0.3);
}
.treatment-wrapper.dark .treatment-ribbon span {
      color:white;
}

.treatment-wrapper.dark .treatment-btn {
  background: linear-gradient(135deg, #7BBFEA 0%, #21A0DB 50%, #000080 100%);
  color:white;
}

.treatment-wrapper.dark .treatment-btn:hover {
  background: linear-gradient(135deg, #c4a77d 0%, #dec4a1 50%, #f5e8d0 100%);
  color: #69492a;
}
.treatment-wrapper.dark .treatment-bg-label p{
  right: 0;
  left: auto;
}
.treatment-wrapper.dark .treatment-vertical-label {
  color: #2c3e50;
}
.treatment-wrapper.dark .treatment-headline {
  padding-left: 80px;
}
.treatment-wrapper.dark .reverse .treatment-right {
    padding-left: 10%;
    padding-right: 0;
}
.treatment-wrapper.dark .reverse .treatment-right .treatment-vertical-label {
    color: #977c4c;
    text-align: center;
}
.treatment-wrapper.dark .treatment-headline em.under {
      background: linear-gradient(
  to bottom,
  transparent 0,
  transparent 70%,
  rgba(196, 167, 125, 0.3) 70%,
  rgba(196, 167, 125, 0.3) 100%
);
    }

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .treatment-wrapper {
   padding: 60px 15px; 
  }
  .treatment-layout {
  flex-direction: column;
  gap: 20px;
}
.treatment-left, .treatment-right {
  flex: 1 1 100%;
  padding-right: 0;
}
.treatment-headline {
  font-size: 20px;
  margin-bottom: 24px;
  line-height: 1.5;
  text-align: center;
}
.treatment-box {
  padding: 10px 5px;
	flex-direction: column;
	margin: auto;
}

.treatment-box img {
  position: relative;
  top: 0;
  left: 0;
  margin-right: 5px;
  flex:1;
	margin:auto;
	width:80%;
}
.treatment-txt {
  padding: 0;
  flex: 3;
}
.treatment-bg-label p{
  font-size: 2rem;
  width: 100%;
  top:0;
  left: 6%;
}
.treatment-ribbon span {
  font-size: 0.9rem;
}
.treatment-vertical-label {
  position: static;
  writing-mode: initial;
  font-size: 1.5rem;
  font-weight: normal;
  text-align: center;
}
.treatment-vertical-label span {
    font-size: 1.7rem;
}
.viewmore {
  text-align: center;
}
.treatment-ribbon {
  width: 140px;
  height: 140px;
  top: -152px;
  right: 20px;
  font-size: 12px;
}
.treatment-btn {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
}
.treatment-box strong {
  font-size: 0.8rem;
}
.treatment-box p {
    font-size:1rem;
}
.treatment-layout.reverse {
  flex-direction: column;
}

    .treatment-left img {
      width: 75%;
          transform: skew(-5deg);
          margin-left: 15px;
    }
/* ------------------2つ目（逆向き）だけ左側にする */
.treatment-wrapper.dark .reverse .treatment-right {
  padding: 0;
}
.treatment-wrapper.dark .treatment-headline {
    padding-left: 0;
}
.treatment-wrapper.dark .treatment-ribbon {
    left: 15px;
    top: -180px;
}
}

/* ----------------------------------------------------
  タブレット版 微調整 (769px 〜 1100px)
  元のデザインを崩さず、被りだけを解消します
---------------------------------------------------- */
/* ----------------------------------------------------
  タブレット版 (769px 〜 1100px)
  全体のパーツを10〜20%縮小し、重なりを整理
---------------------------------------------------- */
/* ----------------------------------------------------
  タブレット版 (769px 〜 1100px)
  空いたスペースへ要素を分散させ、被りを完全に解消
---------------------------------------------------- */
/* ----------------------------------------------------
  タブレット版 (769px 〜 1100px)
  空きスペースを使い切り、要素を「バラバラ」に配置
---------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1100px) {

  /* 1. 全体：左右の余白を少し削って、使える横幅を最大化 */
  .treatment-wrapper {
    padding: 40px 15px;
  }
	.treatment-box img {
    position: absolute;
    top: 2px;
    left: -30px;
    width: 170px;
    height: auto;
    margin-right: 20px;
	margin-left: 60px;
	}
	

  /* 2. 画像を左端、枠を中央、テキストを右端へ「離して」配置 */
  .treatment-wrapper .treatment-left {
    flex: 0 0 25%;
  }
  .treatment-wrapper .treatment-left img {
    width: 90%; 
    margin-left: 0; /* 完全に左端へ */
  }

  .treatment-wrapper .treatment-right {
    flex: 0 0 75%;
    margin-left: -130px; /* 画像のすぐ右に枠を移動 */
    padding-right: 130px; /* 右側に「思いっきり」専用の広大な余白を強制確保 */
  }

  /* 3. 縦書き「思いっきり」：右側の空いたスペースの真ん中に置く */
  .treatment-wrapper .treatment-vertical-label {
    right: 25px; /* 右端から25px内側。絶対に見切れません */
    top: 150px;
    font-size: 28px;
	  
  }

  /* 4. ひし形リボン：枠の右端の外へ逃がす（文字被りを物理的に解消） */
  .treatment-wrapper .treatment-ribbon {
    width: 135px;
    height: 135px;
    right: -25px; /* 枠の完全に外側へ */
    top: -45px;
  }

  /* 5. フォントサイズと枠内調整 */
  .treatment-wrapper .treatment-headline {
    font-size: 19px;
    padding-right: 0; /* リボンが外へ逃げたので、右まで文字が書けます */
	  margin-left: 100px;
  }

  .treatment-wrapper .treatment-box {
    padding-left: 100px;
    margin-top: 20px;
  }

  /* ----------------------------------------------------
    インプラント（逆向き）も同様に全幅を使って分散配置
  ---------------------------------------------------- */
  .treatment-wrapper.dark .treatment-layout.reverse .treatment-left {
    flex: 0 0 25%;
  }
  .treatment-wrapper.dark .treatment-layout.reverse .treatment-left img {
    margin-left: auto;
    margin-right: 0; /* 完全に右端へ */
  }

  .treatment-wrapper.dark .treatment-layout.reverse .treatment-right {
    margin-left: 0;
    margin-right: -130px; /* 枠を右端の画像へ寄せる */
    padding-left: 130px; /* 左側に「喜びを」専用の広大な余白を確保 */
    padding-right: 0;
  }

  .treatment-wrapper.dark .treatment-layout.reverse .treatment-vertical-label {
    left: 25px; /* 左端から25px内側 */
    right: auto;
  }

  .treatment-wrapper.dark .treatment-layout.reverse .treatment-ribbon {
    left: -25px; /* 枠の完全に外側へ */
    right: auto;
  }
}
/* ----------------------治療方針ブロック---------------------- */
.nakaya-reason,
.nakaya-reason * {
  box-sizing: border-box;
}

.nakaya-reason {
  --reason-navy: #07345f;
  --reason-blue: #1f73b8;
  --reason-blue-light: #8fd1f0;
  --reason-orange: #ec8f43;
  --reason-orange-light: #ffd4aa;
  --reason-gold: #c8a45d;
  --reason-text: #1d3348;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 24px 120px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #eef9ff 100%);
  color: var(--reason-text);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.nakaya-reason__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nakaya-reason__bg--sp {
  display: none;
}

.nakaya-reason__inner {
  position: relative;
  z-index: 2;
  width: 85%;
  margin: 0 auto;
}

.nakaya-reason__head {
  position: relative;
  margin-bottom: 52px;
  text-align: center;
}

.nakaya-reason__en {
  margin: 0 0 6px;
  color: rgba(199, 163, 90, 0.7);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.nakaya-reason__title {
  margin: 0;
  color: var(--reason-navy);
  font-size:max(2.274vw, 37px);
  font-weight: 600;
  line-height: 1.52;
  letter-spacing: 0.11em;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92);
}

.nakaya-reason__title .span-title {
  display: inline-block;
  background: linear-gradient(90deg, #07345f 0%, #2c78bc 50%, #79cbe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nakaya-reason__ornament {
  position: relative;
  width: min(520px, 80%);
  height: 1px;
  margin: 24px auto 24px;
  background: linear-gradient(90deg, rgba(199, 163, 90, 0), rgba(199, 163, 90, 0.72), rgba(199, 163, 90, 0));
}

.nakaya-reason__ornament span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(199, 163, 90, 0.9);
  background: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nakaya-reason__lead {
  margin: 0;
  color: #25394d;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.nakaya-reason__list {
  display: grid;
  gap: 18px;
}

.nakaya-reason-card {
  --accent: var(--reason-blue);
  --accent-soft: #e8f6ff;

  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 36%) 1fr 112px;
  align-items: stretch;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(214, 228, 238, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 92% 50%, rgba(232, 247, 255, 0.8), rgba(232, 247, 255, 0));
  box-shadow:
    0 14px 34px rgba(7, 52, 95, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nakaya-reason-card--orange {
  --accent: var(--reason-orange);
  --accent-soft: #fff2e7;
}

.nakaya-reason-card--reverse {
  grid-template-columns: 112px 1fr minmax(290px, 36%);
}

.nakaya-reason-card__image {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}

.nakaya-reason-card__image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
  filter: brightness(1.08) contrast(0.96) saturate(0.98);
}

.nakaya-reason-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.18) 58%,
      rgba(255, 255, 255, 0.9) 100%
    );
  pointer-events: none;
}

.nakaya-reason-card--reverse .nakaya-reason-card__image {
  grid-column: 3;
}

.nakaya-reason-card--reverse .nakaya-reason-card__image::before {
  background:
    linear-gradient(270deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.18) 58%,
      rgba(255, 255, 255, 0.9) 100%
    );
}

/*==================================================
  番号デザイン
  吹き出し型ではなく、単一clip-pathのしおり型
==================================================*/

.nakaya-reason-card__num {
  position: absolute;
  z-index: 5;
  left: calc(36% - 38px);
  top: 22px;

  width: 76px;
  height: 72px;
  padding-top: 13px;

  display: block;
  color: #ffffff;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.06em;

  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);

  box-shadow:
    0 10px 22px rgba(7, 52, 95, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nakaya-reason-card__num::before,
.nakaya-reason-card__num::after {
  content: none;
  display: none;
}

.nakaya-reason-card--blue .nakaya-reason-card__num {
  background: linear-gradient(135deg, #0d559d 0%, #1f73b8 55%, #2f8bd0 100%);
}

.nakaya-reason-card--orange .nakaya-reason-card__num {
  background: linear-gradient(135deg, #e97826 0%, #ec8f43 55%, #ffad67 100%);
}

.nakaya-reason-card--reverse .nakaya-reason-card__num {
  left: auto;
  right: calc(36% - 38px);
}

.nakaya-reason-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 34px 26px 74px;
  align-self: center;
  grid-column: 2;
}

.nakaya-reason-card--reverse .nakaya-reason-card__body {
  padding: 28px 74px 26px 34px;
}

.nakaya-reason-card__label {
  display: inline-block;
  min-width: 112px;
  margin: 0 0 8px;
  padding: 3px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.12em;
}

.nakaya-reason-card__body h3 {
  margin: 0 0 12px;
  color: var(--reason-navy);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.nakaya-reason-card__body p {
  margin: 0;
  color: #263b50;
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: 0.055em;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
}

.nakaya-reason-card__btn-wrap {
  margin-top: 16px;
}

.nakaya-reason-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 42px;
  padding: 8px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #07345f, #174f84);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 22px rgba(7, 52, 95, 0.18);
}

.nakaya-reason-card__btn::after {
  content: "›";
  margin-left: 14px;
  font-size: 20px;
  line-height: 1;
}

.nakaya-reason-card__icon {
  position: relative;
  z-index: 1;
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nakaya-reason-card--reverse .nakaya-reason-card__icon {
  grid-column: 1;
}

.nakaya-reason-card__icon::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, #ffffff);
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 0 0 18px rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(7, 52, 95, 0.035);
}

.nakaya-reason-card__icon svg {
  position: relative;
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.58;
}

/*==================================================
  SP
==================================================*/

@media screen and (max-width: 900px) {
  .nakaya-reason {
    padding: 72px 18px 92px;
  }

  .nakaya-reason__bg--pc {
    display: none;
  }

  .nakaya-reason__bg--sp {
    display: block;
  }

  .nakaya-reason__head {
    margin-bottom: 34px;
  }

  .nakaya-reason__en {
    font-size: 18px;
  }

  .nakaya-reason__title {
    font-size: 28px;
    line-height: 1.62;
  }

  .nakaya-reason__lead {
    font-size: 1.0rem;
    line-height: 1.8;
    text-align: left;
  }

  .nakaya-reason__lead br {
    display: none;
  }

  .nakaya-reason__list {
    gap: 22px;
  }

  .nakaya-reason-card,
  .nakaya-reason-card--reverse {
    display: block;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    background:
      radial-gradient(circle at 90% 88%, rgba(226, 244, 255, 0.7) 0%, rgba(226, 244, 255, 0) 38%),
      linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,253,255,0.96) 55%, rgba(235,248,255,0.92));
    box-shadow:
      0 18px 44px rgba(7, 52, 95, 0.09),
      inset 0 1px 0 rgba(255,255,255,0.95);
  }

  .nakaya-reason-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 220px;
    bottom: 22px;
    width: 3px;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(180deg, rgba(199,163,90,0.15), var(--accent), rgba(199,163,90,0.15));
    opacity: 0.58;
  }

  .nakaya-reason-card__image {
    min-height: 205px;
  }

  .nakaya-reason-card__image img {
    min-height: 205px;
  }

  .nakaya-reason-card__image::before,
  .nakaya-reason-card--reverse .nakaya-reason-card__image::before {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 55%,
        rgba(255,255,255,0.92) 100%
      );
  }

  .nakaya-reason-card__num,
  .nakaya-reason-card--reverse .nakaya-reason-card__num {
    left: 20px;
    right: auto;
    top: 0;

    width: 64px;
    height: 60px;
    padding-top: 11px;

    display: block;
    font-size: 23px;
    line-height: 1;
    text-align: center;

    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);

    box-shadow:
      0 8px 18px rgba(7, 52, 95, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .nakaya-reason-card__num::before,
  .nakaya-reason-card__num::after {
    content: none;
    display: none;
  }

  .nakaya-reason-card__body,
  .nakaya-reason-card--reverse .nakaya-reason-card__body {
    padding: 28px 22px 28px;
  }

  .nakaya-reason-card__label {
    font-size: 12px;
  }

  .nakaya-reason-card__body h3 {
    font-size: 21px;
    line-height: 1.55;
  }

  .nakaya-reason-card__body p {
    font-size:1.0rem;;
    line-height: 1.8;
  }

  .nakaya-reason-card__icon,
  .nakaya-reason-card--reverse .nakaya-reason-card__icon {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    width: 100%;
    height: 84px;
    justify-content: flex-end;
    padding: 0 24px 22px;
    pointer-events: none;
  }

  .nakaya-reason-card__icon::before {
    width: 74px;
    height: 74px;
    opacity: 0.9;
  }

  .nakaya-reason-card__icon svg {
    width: 46px;
    height: 46px;
    opacity: 0.45;
  }

  .nakaya-reason-card__btn {
    width: 100%;
    min-width: 0;
  }
}

/*==================================================
  診療の流れ：最終デザイン
==================================================*/

.nakaya-flow-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 20px 135px;
  background:
    radial-gradient(circle at 10% 8%, rgba(30, 141, 241, 0.18) 0%, rgba(30, 141, 241, 0) 26%),
    radial-gradient(circle at 70% 38%, rgba(60, 212, 219, 0.10) 0%, rgba(60, 212, 219, 0) 28%),
    radial-gradient(circle at 87% 82%, rgba(44, 111, 178, 0.16) 0%, rgba(44, 111, 178, 0) 30%),
    linear-gradient(135deg, #fbfeff 0%, #edf8ff 28%, #ddecfb 62%, #eefaff 100%);
}

.nakaya-flow-final::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(64%, 980px);
  height: 430px;
background:
  linear-gradient(90deg, rgba(251,254,255,0.99) 0%, rgba(251,254,255,0.95) 25%, rgba(251,254,255,0.85) 60%, rgba(251,254,255,0.70) 100%),
  linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(30,141,241,0.16) 100%),
  url("http://nakaya-shika.jp/wp-content/uploads/2025/12/treatment-room-background-scaled.jpeg") center center / cover no-repeat;
  opacity: 0.9;
  border-bottom-left-radius: 260px;
  z-index: -5;
  pointer-events: none;
}

.nakaya-flow-final::after {
  content: "";
  position: absolute;
  left: -12%;
  top: -8%;
  width: 56%;
  height: 122%;
  background: linear-gradient(180deg, rgba(200, 229, 251, 0.58) 0%, rgba(226, 242, 255, 0.28) 48%, rgba(226, 242, 255, 0.06) 100%);
  clip-path: ellipse(72% 58% at 18% 42%);
  z-index: -6;
  pointer-events: none;
}

/*==================================================
  背景装飾
==================================================*/

.nakaya-flow-final__deco {
  position: absolute;
  pointer-events: none;
  z-index: -2;
}

/* 左上：ドット */
.nakaya-flow-final__deco--dots-left {
  left: 0;
  top: 70px;
  width: 245px;
  height: 245px;
  background-image: radial-gradient(rgba(44, 111, 178, 0.30) 1.45px, transparent 1.45px);
  background-size: 13px 13px;
  opacity: 0.65;
}

/* 左上：リング */
.nakaya-flow-final__deco--rings-left {
  left: -145px;
  top: -80px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(30, 141, 241, 0.13);
  border-radius: 50%;
  box-shadow:
    46px 46px 0 -44px rgba(60, 212, 219, 0.14),
    92px 92px 0 -90px rgba(30, 141, 241, 0.10);
}

/* 中央上：白ドット */
.nakaya-flow-final__deco--dots-center {
  left: 52%;
  top: 235px;
  width: 170px;
  height: 170px;
  transform: translateX(-50%);
  background-image: radial-gradient(rgba(255,255,255,0.75) 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.55;
}

/* 中央：斜めストライプ */
.nakaya-flow-final__deco--stripe-center {
  left: 44%;
  top: 455px;
  width: 280px;
  height: 220px;
  transform: rotate(-8deg);
  border-radius: 36px;
  background: repeating-linear-gradient(
    135deg,
    rgba(30,141,241,0.07) 0,
    rgba(30,141,241,0.07) 1px,
    transparent 1px,
    transparent 11px
  );
  opacity: 0.52;
}

/* 右中：リング */
.nakaya-flow-final__deco--rings-right {
  right: -125px;
  top: 470px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(30, 141, 241, 0.18);
  border-radius: 50%;
  box-shadow:
    -48px 48px 0 -46px rgba(30, 141, 241, 0.12),
    -92px 92px 0 -90px rgba(60, 212, 219, 0.10);
}

/* 右下：ドット */
.nakaya-flow-final__deco--dots-right {
  right: 38px;
  bottom: 120px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(rgba(30, 141, 241, 0.26) 1.45px, transparent 1.45px);
  background-size: 13px 13px;
  opacity: 0.54;
}

/* 左下：光の面 */
.nakaya-flow-final__deco--light-bottom {
  left: -150px;
  bottom: -90px;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 42%, rgba(30, 141, 241, 0.16), rgba(30, 141, 241, 0) 68%);
  opacity: 0.78;
}

.nakaya-flow-final__deco--light-bottom::before,
.nakaya-flow-final__deco--light-bottom::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(30,141,241,0), rgba(30,141,241,0.30), rgba(60,212,219,0));
  transform: rotate(-11deg);
}

.nakaya-flow-final__deco--light-bottom::before {
  left: 85px;
  bottom: 115px;
  width: 370px;
}

.nakaya-flow-final__deco--light-bottom::after {
  left: 120px;
  bottom: 70px;
  width: 260px;
  opacity: 0.7;
}

/* 左側中央：薄いグリッド */
.nakaya-flow-final__deco--left-grid {
  left: 28px;
  top: 470px;
  width: 230px;
  height: 520px;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(30,141,241,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,141,241,0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

/* 左側上部：淡い円 */
.nakaya-flow-final__deco--left-orb01 {
  left: 68px;
  top: 510px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.82), rgba(60,212,219,0.22) 45%, rgba(30,141,241,0.06) 72%, transparent 100%);
  opacity: 0.72;
}

/* 左側下部：大きめの淡い円 */
.nakaya-flow-final__deco--left-orb02 {
  left: -74px;
  top: 940px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(30,141,241,0.12), rgba(30,141,241,0.04) 55%, transparent 72%);
  border: 1px solid rgba(30,141,241,0.12);
  opacity: 0.82;
}

/* 中央：カード背面の波線風 */
.nakaya-flow-final__deco--center-wave {
  left: 32%;
  top: 610px;
  width: 52%;
  height: 520px;
  opacity: 0.46;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 22px,
      rgba(30,141,241,0.08) 23px,
      transparent 24px
    );
  clip-path: ellipse(68% 42% at 50% 50%);
}

/* 中央下：小さなドット */
.nakaya-flow-final__deco--center-dots {
  left: 46%;
  top: 900px;
  width: 190px;
  height: 190px;
  transform: translateX(-50%);
  background-image: radial-gradient(rgba(60,212,219,0.34) 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.48;
}

/* 右側中部：ストライプ面 */
.nakaya-flow-final__deco--right-stripe {
  right: 4%;
  top: 820px;
  width: 220px;
  height: 360px;
  transform: rotate(8deg);
  border-radius: 40px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(30,141,241,0.09) 0,
      rgba(30,141,241,0.09) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: 0.46;
}

/* 下部：クロスする細線 */
.nakaya-flow-final__deco--bottom-cross {
  left: 50%;
  bottom: 90px;
  width: 620px;
  height: 260px;
  transform: translateX(-50%);
  opacity: 0.42;
}

.nakaya-flow-final__deco--bottom-cross::before,
.nakaya-flow-final__deco--bottom-cross::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(30,141,241,0.24) 22%,
    rgba(60,212,219,0.34) 50%,
    rgba(30,141,241,0.24) 78%,
    transparent 100%
  );
}

.nakaya-flow-final__deco--bottom-cross::before {
  top: 80px;
  transform: rotate(-9deg);
}

.nakaya-flow-final__deco--bottom-cross::after {
  top: 150px;
  transform: rotate(7deg);
}

/*==================================================
  inner
==================================================*/

.nakaya-flow-final__inner {
  position: relative;
  z-index: 2;
  width: 85%;
  margin: 0 auto;
}

.nakaya-flow-final__inner::before {
  content: "";
  position: absolute;
  right: -260px;
  top: 320px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(91, 152, 226, 0.18);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/*==================================================
  heading
==================================================*/

.nakaya-flow-final__head {
  position: relative;
  max-width: 880px;
  margin: 0 0 66px;
  padding-left: 28px;
}

.nakaya-flow-final__head::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 17px;
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, rgba(30,141,241,0.34), rgba(60,212,219,0.22));
  transform: rotate(45deg);
  opacity: 0.85;
}

.nakaya-flow-final__head::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 76px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(30,141,241,0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.44) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.7;
}

.nakaya-flow-final__en {
  display: inline-block;
  margin: 0 0 18px;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.45em;
}

.nakaya-flow-final__en::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, #0b3d60, #1e8df1, #3cd4db);
}

.nakaya-flow-final__title {
  margin: 0 0 26px;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: max(2.274vw, 37px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-shadow: 1px 1px 4px rgba(255,255,255,0.86);
}

.nakaya-flow-final__title .span-title {
  display: inline-block;
  background-image:linear-gradient(90deg, #0086ff 0%, #2057de 100%
100%
);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nakaya-flow-final__lead {
  max-width: 820px;
  margin: 0;
  color: #292929;
  font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, serif);
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: 0.12em;
}

/*==================================================
  timeline
==================================================*/

.nakaya-flow-final__timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 112px;
}

.nakaya-flow-final__timeline::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 24px;
  bottom: 36px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(30,141,241,0.06) 0%,
    rgba(30,141,241,0.78) 16%,
    rgba(60,212,219,0.72) 50%,
    rgba(30,141,241,0.78) 84%,
    rgba(30,141,241,0.06) 100%
  );
}

.nakaya-flow-final__item {
  position: relative;
  margin-bottom: 18px;
}

.nakaya-flow-final__item::before {
  content: "";
  position: absolute;
  left: -62px;
  top: 18px;
  width: 9px;
  height: 9px;
  background: rgba(60, 212, 219, 0.62);
  transform: rotate(45deg);
  border-radius: 1px;
  z-index: 4;
}

.nakaya-flow-final__item:nth-child(even)::before {
  background: rgba(30, 141, 241, 0.54);
}

/* カード間の余白アクセント */
.nakaya-flow-final__item:nth-child(2)::after,
.nakaya-flow-final__item:nth-child(4)::after,
.nakaya-flow-final__item:nth-child(6)::after {
  content: "";
  position: absolute;
  right: -46px;
  top: 18px;
  width: 96px;
  height: 96px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(30,141,241,0.10) 0,
      rgba(30,141,241,0.10) 1px,
      transparent 1px,
      transparent 9px
    );
  opacity: 0.42;
  pointer-events: none;
  z-index: -1;
}

.nakaya-flow-final__item:nth-child(3)::after,
.nakaya-flow-final__item:nth-child(5)::after,
.nakaya-flow-final__item:nth-child(7)::after {
  content: "";
  position: absolute;
  left: -28px;
  bottom: 14px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(60,212,219,0.14), rgba(60,212,219,0) 70%);
  border: 1px solid rgba(60,212,219,0.18);
  opacity: 0.66;
  pointer-events: none;
  z-index: -1;
}

.nakaya-flow-final__item:last-child {
  margin-bottom: 0;
}

/*==================================================
  number
==================================================*/

.nakaya-flow-final__num {
  position: absolute;
  left: -102px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.30), rgba(255,255,255,0) 35%),
    linear-gradient(135deg, #2c95f1 0%, #0a4a94 100%);
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 25px;
  line-height: 66px;
  text-align: center;
  letter-spacing: 0.06em;
  box-shadow:
    0 8px 18px rgba(30, 141, 241, 0.30),
    inset 0 0 12px rgba(255,255,255,0.18);
  overflow: visible;
}

.nakaya-flow-final__num::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(30, 141, 241, 0.32);
  border-radius: 50%;
}

.nakaya-flow-final__num::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 22px;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(30,141,241,0.62);
}

/*==================================================
  card
==================================================*/

.nakaya-flow-final__card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 164px;
  background: linear-gradient(135deg, rgba(255,255,255,0.985), rgba(255,255,255,0.92));
  border: 1px solid rgba(180, 210, 238, 0.66);
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 14px 32px rgba(45, 88, 142, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.86);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(2px);
}

.nakaya-flow-final__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 46px rgba(45, 88, 142, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.nakaya-flow-final__card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 246, 255, 0.96), rgba(226, 238, 252, 0.62));
  z-index: 1;
  pointer-events: none;
}

.nakaya-flow-final__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.24), rgba(255,255,255,0));
  z-index: 3;
  pointer-events: none;
}

.nakaya-flow-final__image {
  position: relative;
  z-index: 2;
  min-height: 164px;
  margin: 0;
  overflow: hidden;
}

.nakaya-flow-final__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 164px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.nakaya-flow-final__card:hover .nakaya-flow-final__image img {
  transform: scale(1.045);
}

.nakaya-flow-final__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.23) 100%);
}

.nakaya-flow-final__body {
  position: relative;
  z-index: 2;
  padding: 28px 42px 28px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nakaya-flow-final__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 0px;
  background: rgba(186, 211, 236, 0.78);
}

.nakaya-flow-final__body h3 {
  margin: 0 0 10px;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.nakaya-flow-final__body h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, #1e8df1, #3cd4db);
}

.nakaya-flow-final__body p {
  margin: 0;
  color: #292929;
  font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, serif);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.07em;
}

/*==================================================
  Tablet
==================================================*/

@media screen and (max-width: 1024px) {
  .nakaya-flow-final {
    padding: 100px 20px 112px;
  }

  .nakaya-flow-final::before {
    width: 64%;
    height: 330px;
    border-bottom-left-radius: 160px;
  }

  .nakaya-flow-final__head {
    padding-left: 0;
    margin: 0 auto 54px;
    text-align: center;
  }

  .nakaya-flow-final__en::after {
    margin-left: auto;
    margin-right: auto;
  }

  .nakaya-flow-final__lead {
    margin: 0 auto;
    font-size: 15px;
  }

  .nakaya-flow-final__timeline {
    padding-left: 96px;
    max-width: 900px;
  }

  .nakaya-flow-final__timeline::before {
    left: 36px;
  }

  .nakaya-flow-final__num {
    left: -88px;
  }

  .nakaya-flow-final__card {
    grid-template-columns: 40% 60%;
  }

  .nakaya-flow-final__body {
    padding: 28px 30px;
  }

  .nakaya-flow-final__body h3 {
    font-size: 22px;
  }
}

/*==================================================
  SP
==================================================*/

@media screen and (max-width: 768px) {
  .nakaya-flow-final {
    padding: 76px 14px 92px;
    background:
      radial-gradient(circle at 12% 8%, rgba(30, 141, 241, 0.20) 0%, rgba(30, 141, 241, 0) 30%),
      radial-gradient(circle at 92% 88%, rgba(60, 212, 219, 0.18) 0%, rgba(60, 212, 219, 0) 30%),
      linear-gradient(180deg, #eef7ff 0%, #e4f3ff 50%, #eef9ff 100%);
  }

  .nakaya-flow-final::before {
    width: 100%;
    height: 230px;
    border-bottom-left-radius: 90px;
    opacity: 0.62;
  }

  .nakaya-flow-final::after {
    width: 100%;
    background: linear-gradient(180deg, rgba(217,236,251,0.30) 0%, rgba(217,236,251,0.06) 100%);
    clip-path: ellipse(92% 60% at 14% 34%);
  }

  .nakaya-flow-final__deco--dots-left {
    left: -42px;
    top: 86px;
    width: 125px;
    height: 125px;
    background-size: 10px 10px;
    opacity: 0.34;
  }

  .nakaya-flow-final__deco--rings-left {
    left: -170px;
    top: -95px;
    width: 250px;
    height: 250px;
    opacity: 0.45;
  }

  .nakaya-flow-final__deco--dots-center {
    display: none;
  }

  .nakaya-flow-final__deco--stripe-center {
    left: 70%;
    top: 560px;
    width: 135px;
    height: 135px;
    opacity: 0.20;
  }

  .nakaya-flow-final__deco--rings-right {
    right: -170px;
    top: 760px;
    width: 300px;
    height: 300px;
    opacity: 0.38;
  }

  .nakaya-flow-final__deco--dots-right {
    right: -40px;
    bottom: 40px;
    width: 120px;
    height: 120px;
    opacity: 0.28;
  }

  .nakaya-flow-final__deco--light-bottom {
    left: -190px;
    bottom: -80px;
    width: 340px;
    height: 230px;
    opacity: 0.38;
  }

  .nakaya-flow-final__deco--left-grid {
    left: 8px;
    top: 360px;
    width: 72px;
    height: 820px;
    background-size: 22px 22px;
    opacity: 0.28;
  }

  .nakaya-flow-final__deco--left-orb01 {
    left: -22px;
    top: 620px;
    width: 94px;
    height: 94px;
    opacity: 0.46;
  }

  .nakaya-flow-final__deco--left-orb02 {
    left: -86px;
    top: 1180px;
    width: 180px;
    height: 180px;
    opacity: 0.44;
  }

  .nakaya-flow-final__deco--center-wave {
    left: 35%;
    top: 760px;
    width: 85%;
    height: 680px;
    opacity: 0.18;
    clip-path: ellipse(62% 42% at 50% 50%);
  }

  .nakaya-flow-final__deco--center-dots {
    left: auto;
    right: -34px;
    top: 1320px;
    width: 112px;
    height: 112px;
    background-size: 10px 10px;
    opacity: 0.30;
    transform: none;
  }

  .nakaya-flow-final__deco--right-stripe {
    right: -64px;
    top: 980px;
    width: 130px;
    height: 280px;
    border-radius: 28px;
    opacity: 0.26;
  }

  .nakaya-flow-final__deco--bottom-cross {
    left: 54%;
    bottom: 70px;
    width: 320px;
    height: 170px;
    opacity: 0.24;
  }

  .nakaya-flow-final__inner::before {
    right: -150px;
    top: 430px;
    width: 310px;
    height: 310px;
    opacity: 0.45;
  }

  .nakaya-flow-final__head {
    padding-left: 0;
    margin-bottom: 44px;
    text-align: center;
  }

  .nakaya-flow-final__head::before {
    left: 10px;
    top: -12px;
    width: 11px;
    height: 11px;
  }

  .nakaya-flow-final__head::after {
    right: -8px;
    top: 72px;
    width: 56px;
    height: 56px;
    opacity: 0.35;
  }

  .nakaya-flow-final__en {
    font-size: 14px;
    letter-spacing: 0.35em;
  }

  .nakaya-flow-final__en::after {
    width: 70px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .nakaya-flow-final__title {
    font-size: 30px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .nakaya-flow-final__lead {
    font-size: 1rem;
    line-height: 1.95;
    letter-spacing: 0.06em;
    text-align: left;
  }

  .nakaya-flow-final__timeline {
    padding-left: 58px;
  }

  .nakaya-flow-final__timeline::before {
    left: 22px;
    top: 0;
    bottom: 0;
  }

  .nakaya-flow-final__item {
    margin-bottom: 24px;
  }

  .nakaya-flow-final__item::before,
  .nakaya-flow-final__item::after {
    display: none !important;
  }

  .nakaya-flow-final__num {
    left: -38px;
    top: 28px;
    transform: none;
    width: 52px;
    height: 52px;
    line-height: 52px;
    font-size: 19px;
  }

  .nakaya-flow-final__num::before {
    inset: -7px;
  }

  .nakaya-flow-final__num::after {
    display: none;
  }

  .nakaya-flow-final__card {
    display: block;
    min-height: auto;
    border-radius: 22px;
  }

  .nakaya-flow-final__image,
  .nakaya-flow-final__image img {
    min-height: 178px;
  }

  .nakaya-flow-final__image::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 100%);
  }

  .nakaya-flow-final__body {
    padding: 27px 22px 30px;
  }

  .nakaya-flow-final__body::before {
    display: none;
  }

  .nakaya-flow-final__body h3 {
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .nakaya-flow-final__body p {
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.05em;
  }
}

@media screen and (max-width: 480px) {
  .nakaya-flow-final {
    padding: 68px 10px 86px;
  }

  .nakaya-flow-final__title {
    font-size: 28px;
  }

  .nakaya-flow-final__timeline {
    padding-left: 54px;
  }

  .nakaya-flow-final__timeline::before {
    left: 20px;
  }

  .nakaya-flow-final__num {
    left: -34px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
  }

  .nakaya-flow-final__image,
  .nakaya-flow-final__image img {
    min-height: 168px;
  }

  .nakaya-flow-final__body {
    padding: 24px 18px 27px;
  }

  .nakaya-flow-final__body h3 {
    font-size: 21px;
  }

  .nakaya-flow-final__body p {
    font-size:1rem;
  }
}

/*==================================================
  中矢歯科 FAQブロック - 完全最適化アップデート版
==================================================*/

.nakaya-faq-block {
  position: relative;
  overflow: hidden;
  padding: 130px 24px 340px;
  background-color: #ffffff;
  font-feature-settings: "palt";
}

/* 1. ベース背景グラデーション */
.nakaya-faq-bg-base {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: 
    linear-gradient(135deg, rgba(235, 246, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(225deg, rgba(220, 242, 255, 0.7) 0%, rgba(255, 255, 255, 0) 55%);
}

.nakaya-faq-bg-stream-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 10%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.9;
}

/* 2. 正方形配置のグリッドドット */
.nakaya-faq-dot {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(#2a6cb5 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: 0.18;
}

.nakaya-faq-dot--top-left {
  left: 55px;
  top: 50px;
  width: 117px;
  height: 143px;
}

.nakaya-faq-dot--top-right {
  right: 55px;
  top: 50px;
  width: 143px;
  height: 182px;
}

.nakaya-faq-dot--bottom-left {
  left: 50px;
  bottom: 45px;
  width: 91px;
  height: 104px;
  background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px);
  opacity: 0.45;
  z-index: 5;
}

.nakaya-faq-dot--bottom-right {
  right: 170px;
  bottom: 40px;
  width: 156px;
  height: 78px;
  background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px);
  opacity: 0.35;
  z-index: 5;
}

/* 中央上の多層サークル */
.nakaya-faq-circle-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border: 1px solid rgba(0, 49, 109, 0.04);
  border-radius: 50%;
  z-index: 1;
}
.nakaya-faq-circle-top::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 49, 109, 0.02);
  border-radius: 50%;
}

/* 3. 左側背景画像馴染ませマスク */
.nakaya-faq-clinic-mask {
  position: absolute;
  left: 0;
  top: 18%;
  width: 38%;
  height: 52%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%),
                      linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
  -webkit-mask-composite: destination-in;
}

.nakaya-faq-clinic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. ラグジュアリー筆記体テキスト */
.nakaya-faq-cursive-text {
  position: absolute;
  left: 60px;
  bottom: 260px;
  z-index: 4;
  font-family: 'Pinyon Script', 'Monsieur La Doulaise', cursive;
  font-size: 46px;
  line-height: 1.1;
  color: #238ee7;
  opacity: 0.5;
  letter-spacing: 0.02em;
  pointer-events: none;
  transform: rotate(-1deg);
}
.nakaya-faq-cursive-text .indent {
  display: inline-block;
  padding-left: 45px;
}

/* 5. 下部多層波形エリア（※PC版ベース） */
.nakaya-faq-bottom-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
  z-index: 3;
  pointer-events: none;
}

.nakaya-faq-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* 右下サークル装飾 */
.nakaya-faq-circle-bottom-right {
  position: absolute;
  right: 65px;
  bottom: 45px;
  width: 95px;
  height: 95px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: 6;
}

/*==================================================
  タイポグラフィ
==================================================*/
.nakaya-faq-inner {
  position: relative;
  z-index: 10;
  width: 85%;
  margin: 0 auto;
}

.nakaya-faq-head {
  text-align: center;
  margin-bottom: 55px;
}

.nakaya-faq-en {
  font-size: 15px;
  font-family: 'Times New Roman', serif;
  font-weight: 500;
  color: #00316d;
  letter-spacing: 0.45em;
  margin: 0 0 5px;
  text-indent: 0.45em;
}

.nakaya-faq-en::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #00316d;
  margin: 10px auto 0;
}

.nakaya-faq-title {
  font-size:max(2.274vw, 37px); 
  font-family: 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
  font-weight: 600;
  color: #00316d;
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin: 24px 0;
}

.nakaya-faq-title .span-title {
  background: linear-gradient(90deg, #187ce6 0%, #20b0cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #187ce6;
  display: inline-block;
}

.nakaya-faq-lead {
  font-size: 17px;
  font-family: 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
  color: #333333;
  line-height: 1.95;
  letter-spacing: 0.06em;
  margin: 0;
}

/*==================================================
  アコーディオン（カンプ同様の浮遊感・角丸）
==================================================*/
.nakaya-faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.nakaya-faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 
    0 12px 28px rgba(0, 49, 109, 0.04),
    0 2px 6px rgba(0, 49, 109, 0.01);
  border: 1px solid rgba(210, 228, 245, 0.55);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.nakaya-faq-item[open] {
  box-shadow: 
    0 16px 36px rgba(0, 49, 109, 0.07),
    0 4px 10px rgba(0, 49, 109, 0.02);
}

.nakaya-faq-item summary {
  list-style: none;
}
.nakaya-faq-item summary::-webkit-details-marker {
  display: none;
}

.nakaya-faq-question {
  display: flex;
  align-items: center;
  padding: 18px 26px 18px 30px;
  cursor: pointer;
  user-select: none;
}

.nakaya-faq-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #0056cc 0%, #002680 100%);
  color: #ffffff;
  font-family: 'Times New Roman', 'Arial', sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 20px;
}

.nakaya-faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #f2f7fd;
  border-radius: 50%;
  margin-right: 20px;
}

.nakaya-faq-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #00316d;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nakaya-faq-q {
  font-size: 16.5px;
  font-family: 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
  font-weight: 600;
  color: #00316d;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.nakaya-faq-plus {
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 10px;
}

.nakaya-faq-plus::before,
.nakaya-faq-plus::after {
  content: "";
  position: absolute;
  background-color: #00316d;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nakaya-faq-plus::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 1.5px;
}

.nakaya-faq-plus::after {
  top: 0;
  left: 7px;
  width: 1.5px;
  height: 16px;
}

.nakaya-faq-item[open] .nakaya-faq-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* 修正点①：回答（Answer）のフォントを見出しと完全に揃った美しい明朝体に統一 */
.nakaya-faq-answer {
  padding: 6px 32px 28px 142px;
  border-top: 1px dashed rgba(210, 228, 245, 0.5);
  margin-top: 2px;
}

.nakaya-faq-answer p {
  font-size: 14.5px;
  font-family: 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif; /* 明朝体に統一 */
  color: #444444;
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}
.nakaya-faq-answer p:last-child {
  margin-bottom: 0;
}

/*==================================================
  修正点②：レスポンシブ（スマートフォン対応 768px以下）
  圧縮感を完全に排除し、PC版の波の流麗さをそのまま引き継ぐ設計
==================================================*/
@media screen and (max-width: 768px) {
  .nakaya-faq-block {
    padding: 75px 16px 240px; /* 下部余白を波が綺麗に収まる高さに再調整 */
  }

  .nakaya-faq-dot--top-left { left: 15px; top: 25px; width: 65px; height: 104px; }
  .nakaya-faq-dot--top-right { right: 15px; top: 25px; width: 78px; height: 117px; }
  .nakaya-faq-dot--bottom-left { display: none; }
  .nakaya-faq-dot--bottom-right { right: 15px; bottom: 25px; width: 104px; height: 52px; }

  .nakaya-faq-clinic-mask {
    width: 55%;
    height: 35%;
    top: 28%;
  }

  /* モバイル版における「Healthy Smile...」の配置と重なりを自然に再配置 */
  .nakaya-faq-cursive-text {
    left: 20px;
    bottom: 120px; /* 潰れた波に埋もれないよう、流麗に中座する高さにアライン */
    font-size: 32px;
    z-index: 5; /* 波の最背面レイヤーの上に美しく被るように配置 */
  }
  .nakaya-faq-cursive-text .indent {
    padding-left: 20px;
  }

  /* 波形エリアのモバイル最適化（圧縮・潰れを完全防御） */
  .nakaya-faq-bottom-waves {
    height: 260px; /* 縦幅を無理に潰さず、自然に切り抜かれる高さを担保 */
  }
  
  .nakaya-faq-circle-bottom-right {
    right: 25px;
    bottom: 25px;
    width: 75px;
    height: 75px;
  }

  /* タイポグラフィとアコーディオン調整 */
  .nakaya-faq-title {
    font-size: 28px;
  }

  .nakaya-faq-question {
    padding: 14px 16px;
  }

  .nakaya-faq-num {
    width: 38px;
    height: 38px;
    font-size: 14px;
    margin-right: 12px;
  }

  .nakaya-faq-icon {
    display: none;
  }

  .nakaya-faq-q {
    font-size: 14.5px;
	  line-height: 1.6;
  }

  .nakaya-faq-answer {
    padding: 12px 16px 20px 66px;
  }
}

/*==================================================
  中矢歯科 MESSAGEブロック
  PC / Tablet / SP 最終調整版
==================================================*/

.nakaya-message-section {
  position: relative;
  padding: 120px 20px 130px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 177, 255, 0.18) 0%, rgba(111, 177, 255, 0) 28%),
    radial-gradient(circle at 88% 22%, rgba(86, 209, 221, 0.18) 0%, rgba(86, 209, 221, 0) 26%),
    radial-gradient(circle at 82% 82%, rgba(121, 164, 230, 0.16) 0%, rgba(121, 164, 230, 0) 24%),
    linear-gradient(
      135deg,
      #dfeefd 0%,
      #eef7ff 28%,
      #ffffff 50%,
      #eef8ff 72%,
      #d8ebfb 100%
    );
}

.nakaya-message-section::before,
.nakaya-message-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.nakaya-message-section::before {
  left: 2.5%;
  top: 90px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(106, 141, 199, 0.22) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.55;
}

.nakaya-message-section::after {
  right: 3%;
  bottom: 95px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(60, 212, 219, 0.16) 0%,
      rgba(30, 141, 241, 0.10) 45%,
      rgba(30, 141, 241, 0) 100%);
  opacity: 0.95;
}

.nakaya-message-inner {
  position: relative;
  z-index: 1;
  width: 85%;
  min-height: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 31% 38% 31%;
  align-items: center;
  gap: 28px;
}

/*==================================================
  追加装飾
==================================================*/
.nakaya-message-visual-left,
.nakaya-message-visual-right {
  position: relative;
  min-height: 760px;
}

.nakaya-message-visual-left::before {
  content: "";
  position: absolute;
  left: 42px;
  bottom: 36px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(rgba(106, 141, 199, 0.16) 1.3px, transparent 1.3px);
  background-size: 11px 11px;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.nakaya-message-visual-right::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 70px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(60, 212, 219, 0.14) 0%,
      rgba(30, 141, 241, 0.08) 52%,
      rgba(30, 141, 241, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

/*==================================================
  中央コンテンツ
==================================================*/
.nakaya-message-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 24px 10px;
}

.message-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.message-label::before,
.message-label::after {
  content: "";
  width: 92px;
  height: 1px;
  background: #6A8DC7;
}

.message-label span {
  display: inline-block;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', YuMincho, serif;
  font-size: 18px;
  letter-spacing: 0.45em;
  line-height: 1;
}

.message-title {
  font-size: max(2.274vw, 37px);
  color: #0b3d60;
  line-height: 1.4;
  margin: 30px 0 34px;
  text-align: center;
  font-family: 'Times New Roman', 'Yu Mincho', YuMincho, serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-shadow: 1px 1px 4px rgba(255,255,255,0.6);
}

.message-title .span-title {
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    rgba(30, 141, 241, 1),
    rgba(60, 212, 219, 1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.message-text {
  max-width: 720px;
  margin: 0 auto;
}

.message-text p {
  margin: 0 0 22px;
  color: #292929;
  font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 2.72px;
  text-align: left;
}

.message-text p:last-child {
  margin-bottom: 0;
}

/*==================================================
  ボタン
==================================================*/
.message-btn-wrap {
  margin-top: 44px;
}

.message-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  box-sizing: border-box;
  padding: 18px 58px 18px 42px;
  border-radius: 40px;
  border: 1px solid #010066;
  background: #010066;
  color: #fff;
  font-family: serif, "Noto sans JP";
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.6s ease, border-color 0.6s ease, color 0.6s ease, transform 0.4s ease;
  box-shadow: 0 8px 18px rgba(1, 0, 102, 0.14);
}

.message-btn:hover {
  background: #6A8DC7;
  border-color: #6A8DC7;
  color: #fff;
  transform: translateY(-2px);
}

.message-btn-arrow {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  transition: right 0.4s ease;
}

.message-btn:hover .message-btn-arrow {
  right: 25px;
}

/*==================================================
  写真共通
==================================================*/
.message-photo {
  position: absolute;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(11, 61, 96, 0.10);
  z-index: 2;
  will-change: transform;
}

.message-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左側写真 */
.message-photo01 {
  width: 76%;
  aspect-ratio: 430 / 300;
  top: 0;
  left: 0;
  border-radius: 18px 70px 18px 18px;
  animation: nakayaFloatA 7s ease-in-out infinite;
}

.message-photo02 {
  width: 56%;
  aspect-ratio: 330 / 210;
  top: 340px;
  left: 0;
  border-radius: 18px;
  animation: nakayaFloatB 6.2s ease-in-out infinite;
}

.message-photo03 {
  width: 58%;
  aspect-ratio: 360 / 220;
  right: 0;
  bottom: 18px;
  border-radius: 18px 18px 70px 18px;
  animation: nakayaFloatC 7.4s ease-in-out infinite;
}

/* 右側写真 */
.message-photo04 {
  width: 66%;
  aspect-ratio: 390 / 250;
  top: 255px;
  left: 6%;
  border-radius: 18px 70px 18px 18px;
  animation: nakayaFloatB 6.8s ease-in-out infinite;
}

.message-photo05 {
  width: 66%;
  aspect-ratio: 390 / 250;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  animation: nakayaFloatA 7.2s ease-in-out infinite;
}

.message-photo06 {
  width: 48%;
  aspect-ratio: 280 / 210;
  top: 0;
  right: 0;
  border-radius: 70px 18px 18px 18px;
  animation: nakayaFloatC 6.6s ease-in-out infinite;
}

/*==================================================
  PC用アニメーション
==================================================*/
@keyframes nakayaFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes nakayaFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

@keyframes nakayaFloatC {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/*==================================================
  Tablet
==================================================*/
@media screen and (max-width: 1200px) {
  .nakaya-message-section {
    padding: 100px 20px 110px;
  }

  .nakaya-message-inner {
    grid-template-columns: 28% 44% 28%;
    gap: 18px;
    min-height: 740px;
  }

  .nakaya-message-visual-left,
  .nakaya-message-visual-right {
    min-height: 680px;
  }

  .message-title {
    font-size: 37px;
    letter-spacing: 0.1em;
  }

  .message-text p {
    font-size: 16px;
    line-height: 2.1;
  }

  .message-label::before,
  .message-label::after {
    width: 70px;
  }

  .message-photo01 {
    width: 84%;
  }

  .message-photo02 {
    width: 66%;
    top: 315px;
  }

  .message-photo03 {
    width: 68%;
  }

  .message-photo04,
  .message-photo05 {
    width: 76%;
  }

  .message-photo06 {
    width: 56%;
  }
}

/*==================================================
  SP
==================================================*/
@media screen and (max-width: 768px) {
  .nakaya-message-section {
    position: relative;
    padding: 24px 0 74px;
    overflow: hidden;
    background:
      radial-gradient(circle at 10% 18%, rgba(98, 166, 255, 0.18) 0%, rgba(98, 166, 255, 0) 28%),
      radial-gradient(circle at 88% 16%, rgba(60, 212, 219, 0.16) 0%, rgba(60, 212, 219, 0) 24%),
      radial-gradient(circle at 84% 84%, rgba(92, 145, 221, 0.18) 0%, rgba(92, 145, 221, 0) 25%),
      linear-gradient(
        135deg,
        #dcecff 0%,
        #edf7ff 30%,
        #fafdff 48%,
        #eaf6ff 70%,
        #d5eafb 100%
      );
  }

  .nakaya-message-section::before {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 120px;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(rgba(106, 141, 199, 0.28) 1.5px, transparent 1.5px);
    background-size: 11px 11px;
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
  }

  .nakaya-message-section::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 42px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background:
      radial-gradient(circle,
        rgba(60, 212, 219, 0.14) 0%,
        rgba(30, 141, 241, 0.12) 48%,
        rgba(30, 141, 241, 0) 100%);
    z-index: 0;
    pointer-events: none;
  }

  .nakaya-message-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
    padding: 0;
  }

  .nakaya-message-visual {
    min-height: 0;
    position: relative;
  }

  /* 上部 */
  .nakaya-message-visual-left {
    order: 1;
    width: 100%;
    height: 220px;
    min-height: 220px;
    margin-bottom: -22px;
    z-index: 3;
  }

  .nakaya-message-visual-left::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 4px;
    width: 74px;
    height: 74px;
    background-image: radial-gradient(rgba(106, 141, 199, 0.24) 1.3px, transparent 1.3px);
    background-size: 11px 11px;
    opacity: 0.55;
    z-index: 0;
  }

  /* 白カード：横幅を少し狭く */
  .nakaya-message-content {
    order: 2;
    position: relative;
    z-index: 2;
    width: calc(100% - 76px);
    margin: 0 auto;
    padding: 54px 24px 42px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(11, 61, 96, 0.07);
    text-align: center;
  }

  .nakaya-message-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0) 25%
      );
    pointer-events: none;
  }

  /* 下部 */
  .nakaya-message-visual-right {
    order: 3;
    width: calc(100% - 76px);
    height: 182px;
    min-height: 182px;
    margin: -8px auto 0;
    z-index: 3;
  }

  .nakaya-message-visual-right::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: 12px;
    width: 94px;
    height: 94px;
    background-image: radial-gradient(rgba(30, 141, 241, 0.20) 1.4px, transparent 1.4px);
    background-size: 11px 11px;
    opacity: 0.50;
    z-index: 0;
  }

  .message-photo {
    position: absolute;
    display: block;
    margin: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 61, 96, 0.09);
    z-index: 2;
    will-change: transform;
  }

  .message-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 上部3枚 */
  .message-photo01 {
    width: 78px;
    height: 150px;
    left: 0;
    top: 42px;
    border-radius: 0 18px 18px 0;
    animation: nakayaFloat01 6.2s ease-in-out infinite;
  }

  .message-photo02 {
    width: 128px;
    height: 86px;
    left: 98px;
    top: 98px;
    border-radius: 20px;
    animation: nakayaFloat02 5.8s ease-in-out infinite;
  }

  .message-photo03 {
    width: 114px;
    height: 154px;
    right: 10px;
    top: 4px;
    border-radius: 22px;
    animation: nakayaFloat03 6.9s ease-in-out infinite;
  }

  /* 下部3枚 */
  .message-photo04 {
    width: 92px;
    height: 70px;
    left: 10px;
    top: 26px;
    border-radius: 14px;
    animation: nakayaFloat04 6.4s ease-in-out infinite;
  }

  .message-photo06 {
    width: 98px;
    height: 74px;
    left: 50%;
    top: 64px;
    transform: translateX(-50%);
    border-radius: 14px;
    animation: nakayaFloat06 5.8s ease-in-out infinite;
  }

  .message-photo05 {
    width: 146px;
    height: 90px;
    right: 0;
    top: 16px;
    border-radius: 18px;
    animation: nakayaFloat05 6.6s ease-in-out infinite;
  }

  .message-label {
    display: block;
    margin: 0 0 20px;
  }

  .message-label::before,
  .message-label::after {
    display: none;
  }

  .message-label span {
    display: inline-block;
    color: #0b3d60;
    font-family: 'Times New Roman', 'Yu Mincho', serif;
    font-size: 14px;
    letter-spacing: 0.38em;
    line-height: 1;
  }

  .message-title {
    font-size: 27px;
    color: #0b3d60;
    line-height: 1.58;
    margin: 0 0 24px;
    text-align: center;
    font-family: 'Times New Roman', 'Yu Mincho', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 4px rgba(255,255,255,0.6);
  }

  .message-title .span-title {
    display: inline-block;
    background-image: linear-gradient(
      90deg,
      rgba(30, 141, 241, 1),
      rgba(60, 212, 219, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .message-text {
    max-width: 100%;
  }

  .message-text p {
    margin: 0 0 18px;
    color: #292929;
    font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif);
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 0.05em;
    text-align: left;
  }

  .message-text p:last-child {
    margin-bottom: 0;
  }

  .message-btn-wrap {
    margin-top: 30px;
  }

  .message-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    box-sizing: border-box;
    padding: 16px 54px 16px 34px;
    border-radius: 40px;
    border: 1px solid #010066;
    background: #010066;
    color: #fff;
    font-family: serif, "Noto sans JP";
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
    box-shadow: 0 8px 18px rgba(1, 0, 102, 0.14);
  }

  .message-btn:hover {
    background: #6A8DC7;
    border-color: #6A8DC7;
    color: #fff;
  }

  .message-btn-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1;
    transition: right 0.35s ease;
  }

  .message-btn:hover .message-btn-arrow {
    right: 18px;
  }

  /* SPアニメーション */
  @keyframes nakayaFloat01 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  @keyframes nakayaFloat02 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }

  @keyframes nakayaFloat03 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes nakayaFloat04 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
  }

  @keyframes nakayaFloat05 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  @keyframes nakayaFloat06 {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 7px); }
  }
}

/*==================================================
  小さめSP
==================================================*/
@media screen and (max-width: 480px) {
  .nakaya-message-section {
    padding: 18px 0 56px;
  }

  .nakaya-message-visual-left {
    height: 202px;
    min-height: 202px;
    margin-bottom: -18px;
  }

  /* ご提示の幅感に寄せる */
  .nakaya-message-content {
    width: calc(100% - 30px);
    padding: 50px 18px 36px;
    border-radius: 24px;
  }

  .nakaya-message-visual-right {
    width: calc(100% - 90px);
    height: 170px;
    min-height: 170px;
    margin-top: -2px;
  }

  .message-title {
    font-size: 24px;
    line-height: 1.54;
    letter-spacing: 0.04em;
  }

  .message-text p {
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

  /* 上部 */
  .message-photo01 {
    width: 70px;
    height: 138px;
    top: 48px;
  }

  .message-photo02 {
    width: 114px;
    height: 80px;
    left: 82px;
    top: 104px;
  }

  .message-photo03 {
    width: 100px;
    height: 144px;
    right: 6px;
    top: 8px;
  }

  /* 下部 */
  .message-photo04 {
    width: 84px;
    height: 64px;
    left: 6px;
    top: 28px;
  }

  .message-photo06 {
    width: 88px;
    height: 66px;
    top: 68px;
  }

  .message-photo05 {
    width: 124px;
    height: 78px;
    right: 0;
    top: 20px;
  }

  .message-btn {
    min-width: 220px;
    padding: 15px 50px 15px 28px;
    font-size: 14px;
  }

  .message-btn-arrow {
    right: 20px;
    font-size: 15px;
  }

  .message-btn:hover .message-btn-arrow {
    right: 16px;
  }
}


/*==================================================
  このような症状・お悩みはありませんか？ブロック
==================================================*/

.symptom-guide-section {
  position: relative;
  padding: 110px 20px 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(60, 212, 219, 0.13) 0%, rgba(60, 212, 219, 0) 27%),
    radial-gradient(circle at 92% 24%, rgba(30, 141, 241, 0.12) 0%, rgba(30, 141, 241, 0) 26%),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #eef7ff 38%,
      #dcecff 100%
    );
}

.symptom-guide-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 70px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(rgba(106, 141, 199, 0.22) 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.48;
  pointer-events: none;
}

.symptom-guide-section::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: 40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(60, 212, 219, 0.13) 0%,
    rgba(30, 141, 241, 0.07) 48%,
    rgba(30, 141, 241, 0) 100%
  );
  pointer-events: none;
}

.symptom-guide-bgtext {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(11, 61, 96, 0.055);
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: clamp(96px, 15vw, 250px);
  line-height: 1;
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}

.symptom-guide-inner {
  position: relative;
  z-index: 1;
  width: 85%;
  margin: 0 auto;
}

.symptom-guide-head {
  max-width: 980px;
  margin: 0 auto 54px;
  text-align: center;
}

.symptom-guide-en {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 18px;
  letter-spacing: 0.45em;
  line-height: 1;
}

.symptom-guide-en::after {
  content: "";
  display: block;
  width: 96px;
  height: 1px;
  margin: 16px auto 0;
  background: #6A8DC7;
}

.symptom-guide-title {
  font-size: max(2.274vw, 37px);
  color: #0b3d60;
  line-height: 1.4;
  margin: 0 0 24px;
  text-align: center;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}

.symptom-guide-title .span-title {
  background-image: linear-gradient(
    90deg,
    rgba(30, 141, 241, 1),
    rgba(60, 212, 219, 1)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.symptom-guide-lead {
  margin: 0 auto;
  color: #292929;
  font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif);
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: 0.12em;
	text-align:left;
}

/*==================================================
  カード一覧
==================================================*/

.symptom-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.symptom-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  height: auto;
  min-height: 320px;
  padding: 34px 24px 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(106, 141, 199, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(11, 61, 96, 0.07);
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.symptom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(11, 61, 96, 0.12);
}

.symptom-card::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(238, 246, 255, 0.85);
  pointer-events: none;
}

.symptom-card__num {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(106, 141, 199, 0.45);
  border-radius: 50%;
  background: #fff;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
  letter-spacing: 0.08em;
}

.symptom-card__icon {
  position: relative;
  align-self: center;
  width: 120px;
  height: 100px;
  margin-top: 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.symptom-card__icon.is-blue {
  background: linear-gradient(135deg, #3e98d8 0%, #7bd5e3 100%);
}

.symptom-card__icon.is-green {
  background: linear-gradient(135deg, #32a396 0%, #8fd5cf 100%);
}

.symptom-card__icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.symptom-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.symptom-card__title {
  margin: 0 0 14px;
  color: #0b3d60;
  font-family: 'Times New Roman', 'Yu Mincho', serif;
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  font-weight: 500;
  overflow-wrap: break-word;
}

.symptom-card__text {
  flex: 1;
  margin: 0 0 22px;
  color: #292929;
  font-family: var(--mincho, 'Noto Serif JP', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif);
  font-size: 14.5px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  overflow-wrap: break-word;
}

.symptom-card__links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* 2ボタンのカードはPCでも縦積み推奨：見切れ防止 */
.symptom-card__links.is-double {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.symptom-card__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 40px 9px 98px;
  border: 1px solid rgba(106, 141, 199, 0.38);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.85);
  color: #0b3d60;
  font-family: serif, "Noto sans JP";
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.symptom-card__link span {
  position: absolute;
  left: 16px;
  color: #3e98d8;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.symptom-card__link::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #6A8DC7;
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
  font-family: serif;
  transition: right 0.35s ease, background-color 0.35s ease;
}

.symptom-card__link:hover {
  background: #010066;
  border-color: #010066;
  color: #fff;
}

.symptom-card__link:hover span {
  color: #fff;
}

.symptom-card__link:hover::after {
  right: 9px;
  background: #fff;
  color: #010066;
}

.sp-only {
  display: none;
}

/*==================================================
  Tablet
==================================================*/

@media screen and (max-width: 1200px) {
  .symptom-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .symptom-card {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 20px;
    min-height: 300px;
  }

  .symptom-card__icon {
    width: 116px;
    height: 96px;
  }

  .symptom-card__link {
    padding-left: 96px;
  }
}

/*==================================================
  SP
==================================================*/

@media screen and (max-width: 768px) {
  .symptom-guide-section {
    padding: 76px 16px 86px;
  }

  .symptom-guide-bgtext {
    top: 20px;
    font-size: 86px;
  }

  .symptom-guide-head {
    margin-bottom: 38px;
  }

  .symptom-guide-en {
    font-size: 14px;
    letter-spacing: 0.35em;
  }

  .symptom-guide-title {
    font-size: 28px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .symptom-guide-lead {
    font-size:1.0rem;
    line-height: 1.8;
    text-align: left;
  }

  .symptom-guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .symptom-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    min-height: auto;
    padding: 28px 18px 24px;
    border-radius: 16px;
  }

  .symptom-card__num {
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    font-size: 13px;
    line-height: 34px;
  }

  .symptom-card__icon {
    width: 92px;
    height: 82px;
    margin-top: 20px;
    border-radius: 14px;
  }

  .symptom-card__icon svg {
    width: 42px;
    height: 42px;
  }

  .symptom-card__title {
    font-size: 19px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .symptom-card__text {
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .symptom-card__link {
    width: 100%;
    min-width: 0;
    padding: 9px 38px 9px 94px;
    font-size: 13.5px;
  }

  .symptom-card__link span {
    left: 14px;
    font-size: 10.5px;
  }

  .symptom-card__links.is-double {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sp-only {
    display: block;
  }
}

/*==================================================
  small SP
==================================================*/

@media screen and (max-width: 480px) {
  .symptom-guide-section {
    padding: 68px 14px 78px;
  }

  .symptom-card {
    grid-template-columns: 1fr;
    padding: 24px 18px 24px;
  }

  .symptom-card__icon {
    width: 104px;
    height: 84px;
    margin: 0 auto;
  }

  .symptom-card__body {
    margin-top: 4px;
  }

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

  .symptom-card__text {
    flex: initial;
  }

  .symptom-card__links {
    margin-top: 18px;
  }

  .symptom-card__link {
    padding: 10px 38px 10px 94px;
  }
}

/* PC表示の時は改行を無効化（非表示）にする */
.sp-only {
  display: none;
}

/* スマホ表示（画面幅767px以下）の時に改行を有効化（ブロック表示）にする */
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

/* --- PCだけで改行させたい場合の設定 --- */

/* デフォルト（PCサイズ）は改行を有効にする */
.pc-only {
  display: block;
}

/* スマホ表示（画面幅767px以下）になったら改行を無効（非表示）にする */
@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

/* ======================================
  Doctors File バナー
====================================== */

.df-banner-section {
  padding: 50px 20px 90px;
  background: #fff;
}

.df-banner-inner {
  width: 85%;
  margin: 0 auto;
}

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

.df-banner-item a {
  display: block;
  overflow: hidden;
/*   border-radius: 4px; */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.df-banner-item a:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.df-banner-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 画面幅が狭い場合 */
@media screen and (max-width: 900px) {
  .df-banner-list {
    gap: 18px;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .df-banner-section {
    padding: 5px 16px 50px;
  }

  .df-banner-list {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .df-banner-item a:hover {
    transform: none;
  }
}

/* =========================
   中矢歯科：診療科目
========================= */
.nakaya-medical-menu,
.nakaya-medical-menu * {
  box-sizing: border-box;
}

.nakaya-medical-menu {
  --nmm-navy: #10345a;
  --nmm-blue: #207dca;
  --nmm-cyan: #59cfd8;
  --nmm-gold: #c9a765;
  --nmm-text: #2a3c4d;

  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 28px 92px;
  color: var(--nmm-text);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  background-image: url(../../../../../img/uploads/2026/06/27458934.png);
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.nmm-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(470px, 0.95fr) minmax(570px, 1.05fr);
  gap: 42px;
  align-items: center;
  width: 85%;
  margin: 0 auto;
}

.nmm-visual {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border-radius: 38px 225px 225px 38px / 38px 110px 110px 38px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(16, 52, 90, 0.08);
}

.nmm-visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(201, 167, 101, 0.6);
  border-radius: 30px 212px 212px 30px / 30px 101px 101px 30px;
}

.nmm-visual::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -8%;
  bottom: -2px;
  height: 31%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(231, 245, 252, 0.45) 55%,
    rgba(231, 245, 252, 0.9)
  );
  clip-path: ellipse(72% 46% at 44% 100%);
}

.nmm-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  object-position: 49% 50%;
  filter: brightness(1.04) saturate(0.97) contrast(0.98);
}

.nmm-content {
  position: relative;
  z-index: 1;
}

.nmm-head {
  text-align: center;
  margin: 0 0 36px;
}

.nmm-head__en {
  margin: 0 0 12px;
  color: var(--nmm-gold);
  font-family: "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.22em;
}

.nmm-title {
  margin: 0;
  color: var(--nmm-navy);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.12em;
  text-shadow: 0 4px 16px rgba(255, 255, 255, 0.9);
}

.nmm-title span {
  display: inline-block;
  background: linear-gradient(90deg, #2a7adf 0%, #57cfd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nmm-ornament {
  position: relative;
  width: 228px;
  height: 1px;
  margin: 18px auto 18px;
  background: linear-gradient(
    90deg,
    rgba(201, 167, 101, 0),
    rgba(201, 167, 101, 0.9),
    rgba(201, 167, 101, 0)
  );
}

.nmm-ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(201, 167, 101, 0.9);
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nmm-ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--nmm-gold);
  transform: translate(-50%, -50%);
}

.nmm-lead {
  margin: 0;
  color: #394c5d;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.nmm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nmm-card {
  position: relative;
  min-height: 163px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(181, 214, 230, 0.8);
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(249, 252, 255, 0.96)
  );
  box-shadow: 0 8px 24px rgba(16, 52, 90, 0.07);
  text-decoration: none;
  color: var(--nmm-navy);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nmm-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.nmm-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 24px 24px;
  border-color: transparent transparent rgba(210, 183, 118, 0.78) transparent;
  pointer-events: none;
}

.nmm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 165, 213, 0.7);
  box-shadow: 0 14px 30px rgba(16, 52, 90, 0.12);
}

.nmm-card__glow {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 45% 45%,
    rgba(223, 242, 252, 0.95) 0,
    rgba(223, 242, 252, 0.55) 30%,
    rgba(223, 242, 252, 0) 72%
  );
  pointer-events: none;
}

.nmm-card__icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  color: #5ba7d8;
}

.nmm-card__icon svg {
  width: 39px;
  height: 39px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nmm-card__title {
  position: relative;
  z-index: 1;
  display: block;
  color: #162739;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.nmm-card__arrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: var(--nmm-gold);
  font-family: "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .nakaya-medical-menu {
    padding: 26px 20px 82px;
  }

  .nmm-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 860px;
  }

  .nmm-visual {
    min-height: 400px;
    border-radius: 34px 170px 170px 34px / 34px 88px 88px 34px;
  }

  .nmm-visual::before {
    border-radius: 26px 158px 158px 26px / 26px 78px 78px 26px;
  }

  .nmm-visual img {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .nakaya-medical-menu {
    padding: 0 15px 64px;
	     background-image: url(https://nakaya-shika.jp/wp-content/uploads/2026/06/ChatGPT-Image-2026%E5%B9%B46%E6%9C%8822%E6%97%A5-19_15_38-2.jpg);
    background-size: 100% 100%;
    background-position: center top;
  }

  .nmm-inner {
    display: block;
    max-width: 400px;
    margin: 0 auto;
  }

  .nmm-visual {
    width: calc(100% + 30px);
    min-height: 268px;
    margin: 0 -15px 52px;
    border-radius: 0 0 52% 52% / 0 0 16% 16%;
    box-shadow: none;
  }

  .nmm-visual::before {
    inset: 0;
    border: none;
    border-bottom: 1px solid rgba(201, 167, 101, 0.48);
    border-radius: 0 0 52% 52% / 0 0 16% 16%;
  }

  .nmm-visual::after {
    height: 42%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.45) 48%,
      rgba(255, 255, 255, 0.95)
    );
    clip-path: ellipse(78% 50% at 50% 100%);
  }

  .nmm-visual img {
    height: 268px;
    min-height: 268px;
    object-position: 48% 50%;
  }

  .nmm-head {
    margin-bottom: 30px;
  }

  .nmm-head__en {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .nmm-title {
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: 0.12em;
  }

  .nmm-ornament {
    width: 220px;
    margin: 16px auto 14px;
  }

  .nmm-lead {
    max-width: 320px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }

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

  .nmm-card {
    min-height: 126px;
    padding: 14px 6px 12px;
    border-radius: 4px;
  }

  .nmm-card::before {
    inset: 4px;
  }

  .nmm-card::after {
    border-width: 0 0 18px 18px;
  }

  .nmm-card__glow {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .nmm-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .nmm-card__icon svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.8;
  }

  .nmm-card__title {
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .nmm-card__arrow {
    margin-top: 8px;
    font-size: 15px;
  }
}

@media (max-width: 374px) {
  .nakaya-medical-menu {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nmm-visual {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }

  .nmm-grid {
    gap: 8px;
  }

  .nmm-card {
    min-height: 116px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .nmm-card__icon {
    width: 38px;
    height: 38px;
  }

  .nmm-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .nmm-card__title {
    font-size: 11.8px;
  }
}