/* ======================================
   01. Reset / Base
====================================== */
:root {
  --color-main: #00c7d6;
  --color-navy: #244b96;
  --color-text: #33415c;
  --color-pink: #ff6fa8;
  --color-yellow: #ffbd22;
  --color-bg-blue: #eafaff;
  --color-bg-pink: #fff1f7;
  --color-bg-yellow: #fff7dc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-bottom: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #22335a;
  background: #fff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ======================================
   02. Common Components
====================================== */
.section-heading {
  margin-bottom: clamp(34px, 3.4vw, 48px);
  text-align: center;
}

.section-heading__en {
  margin-bottom: 5px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .2em;
}

.section-heading__en--pink {
  color: #ff73aa;
}

.section-heading__title {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

.section-heading__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: var(--color-main);
}

.section-heading__lead {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .08em;
}

.c-link-button {
  --button-color: #00c7d6;
  --button-bg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: fit-content;
  min-width: 280px;
  min-height: 64px;
  padding: 14px 30px 14px 38px;
  border: 2px solid var(--button-color);
  border-radius: 999px;
  color: var(--button-color);
  background: var(--button-bg);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
  transition: color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.c-link-button__text {
  display: block;
}

.c-link-button__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  transition: transform .25s ease;
}

.c-link-button:hover {
  color: #fff;
  background: var(--button-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 199, 214, .22);
}

.c-link-button:hover .c-link-button__arrow {
  transform: translateX(5px);
}

.c-link-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--button-color) 30%, transparent);
  outline-offset: 4px;
}

.c-link-button--turquoise {
  --button-color: #00c7d6;
}

.c-link-button--pink {
  --button-color: #ff75ad;
}

.c-link-button--navy {
  --button-color: #2e54a4;
}

.c-link-button--yellow {
  --button-color: #ffbd22;
}

.c-link-button--mint {
  --button-color: #45cdbf;
}

.c-link-button--small {
  min-width: 180px;
  min-height: 50px;
  padding: 10px 22px 10px 26px;
  gap: 24px;
  font-size: 14px;
}

.c-link-button--medium {
  min-width: 280px;
}

.c-link-button--large {
  min-width: 360px;
  min-height: 70px;
  padding-inline: 44px;
}

/* ======================================
   13. Fixed Contact
====================================== */
.fixed-contact {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid #edf0f2;
  box-shadow: 0 -8px 30px rgba(33, 54, 83, .08);
  backdrop-filter: blur(8px);
}

.fixed-contact__inner {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(360px, 480px) 90px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(1200px, calc(100% - 40px));
  min-height: 92px;
  margin-inline: auto;
}

.fixed-contact__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 66px;
  border-radius: 16px;
  transition: transform .2s ease, opacity .2s ease;
}

.fixed-contact__item:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.fixed-contact__item--web {
  color: #fff;
  background: #ff5f9d;
}

.fixed-contact__item--tel {
  color: #ff5f9d;
  border: 2px solid #ff5f9d;
  background: #fff;
}

.fixed-contact__icon {
  font-size: 28px;
  line-height: 1;
}

.fixed-contact__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fixed-contact__label strong {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: .04em;
}

.fixed-contact__label small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}

.fixed-contact__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-main);
  text-align: center;
}

.fixed-contact__top>span {
  font-size: 22px;
  line-height: 1;
}

.fixed-contact__top small {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.25;
}

/* ======================================
   14. Responsive
====================================== */
@media (max-width: 1200px) {
  .features__inner {
    width: min(1500px, calc(100% - 40px));
  }

  .feature {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 55px;
    padding-inline: 40px;
  }

  .feature--reverse {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .feature__text {
    max-width: 380px;
  }

  .feature__description {
    font-size: 15px;
  }

  .feature__character--02,
  .feature__character--04 {
    right: -15px;
  }
}

@media (max-width: 1100px) {

  .doctor-section__inner,
  .facilities-section__inner,
  .access-section__inner {
    width: calc(100% - 40px);
  }

  .doctor-section__content {
    grid-template-columns: minmax(300px, .9fr) minmax(350px, 1.1fr);
  }

  .doctor-profile {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
  }

  .access-section__content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .reservation-cta__inner {
    grid-template-columns: 130px minmax(0, 1fr) 130px;
    width: calc(100% - 40px);
    gap: 25px;
  }

  .fixed-contact__inner {
    grid-template-columns: 1fr 1fr 74px;
  }
}

@media (max-width: 991px) {
  .concept {
    padding: 90px 0;
  }

  .concept__inner {
    display: block;
    width: calc(100% - 40px);
  }

  .concept__text {
    width: 100%;
    margin-bottom: 60px;
  }

  .concept-bg {
    top: -55px;
    left: 0;
    font-size: 90px;
  }

  .concept-en {
    font-size: 15px;
  }

  .concept h2 {
    font-size: 42px;
  }

  .concept .lead {
    font-size: 16px;
    line-height: 2;
  }

  .concept__image {
    width: 100%;
  }

  .clinic-menu__inner,
  .for-you__inner {
    width: calc(100% - 40px);
  }

  .clinic-menu__grid {
    column-gap: 24px;
    row-gap: 45px;
  }

  .clinic-menu__item {
    font-size: 16px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 28px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 0;
  }

  .section-heading {
    width: calc(100% - 40px);
    margin-inline: auto;
    margin-bottom: 55px;
  }

  .c-link-button {
    min-width: 0;
    max-width: 100%;
    min-height: 56px;
    padding: 12px 22px 12px 28px;
    gap: 24px;
    font-size: 15px;
    letter-spacing: .05em;
  }

  .c-link-button__arrow {
    font-size: 21px;
  }

  .c-link-button--large {
    width: 100%;
    max-width: 360px;
    min-height: 60px;
    padding-inline: 26px;
  }

  .features {
    padding-top: 80px;
  }

  .features__inner {
    width: 100%;
  }

  .feature,
  .feature--reverse {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    padding: 60px 20px 75px;
  }

  .feature__visual,
  .feature--reverse .feature__visual {
    order: 1;
    grid-column: auto;
    grid-row: auto;
  }

  .feature__text,
  .feature--reverse .feature__text {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    padding: 38px 0 0;
  }

  .feature__visual>img:not(.feature__character),
  .feature__photo {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .feature__number,
  .feature--reverse .feature__number {
    top: -8px;
    right: auto;
    left: 0;
    font-size: clamp(90px, 28vw, 130px);
  }

  .feature__title {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .feature__description {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 2;
  }

  .feature__button {
    min-width: 170px;
    height: 50px;
    padding-inline: 22px;
    font-size: 14px;
  }

  .feature__character--02 {
    right: 8px;
    bottom: -10px;
    width: 72px;
  }

  .feature__character--04 {
    right: 8px;
    bottom: -10px;
    width: 76px;
  }

  .clinic-menu,
  .for-you,
  .doctor-section,
  .facilities-section,
  .access-section {
    padding: 80px 0;
  }

  .clinic-menu__inner,
  .for-you__inner,
  .doctor-section__inner,
  .facilities-section__inner,
  .access-section__inner {
    width: calc(100% - 32px);
  }

  .clinic-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 36px;
  }

  .clinic-menu__item {
    gap: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .clinic-menu__item img {
    max-width: 180px;
  }

  .clinic-menu__button-wrap {
    margin-top: 50px;
  }

  .for-you::before {
    top: -20px;
    height: 40px;
  }

  .for-you__visual {
    max-width: 520px;
  }

  .for-you__message {
    margin-top: 45px;
  }

  .for-you__message p {
    margin-bottom: 28px;
    font-size: 21px;
    line-height: 1.8;
  }

  .doctor-section__content {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .doctor-section__visual {
    order: 1;
    width: 100%;
  }

  .doctor-section__message {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .doctor-profile {
    order: 3;
    width: 100%;
    padding: 30px 24px;
  }

  .doctor-section__catch {
    font-size: 27px;
    line-height: 1.7;
  }

  .doctor-section__text {
    font-size: 15px;
    line-height: 2;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 14px;
  }

  .facility-card__image {
    border-radius: 22px;
  }

  .facility-card__description {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.75;
  }

  .facilities-section__button {
    margin-top: 50px;
  }

  .access-section__content {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 45px;
  }

  .access-info__name {
    font-size: 25px;
  }

  .access-info__address {
    font-size: 15px;
  }

  .access-info__tel {
    font-size: 28px;
  }

  .access-hours__table {
    font-size: 13px;
  }

  .access-map,
  .access-map iframe {
    min-height: 340px;
    border-radius: 24px;
  }

  .reservation-cta {
    padding: 70px 0 85px;
  }

  .reservation-cta::before {
    top: -20px;
    height: 40px;
  }

  .reservation-cta__inner {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    align-items: end;
    gap: 8px;
    width: calc(100% - 24px);
  }

  .reservation-cta__content {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .reservation-cta__character {
    width: 70px;
  }

  .reservation-cta__character--left {
    grid-column: 1;
    grid-row: 2;
  }

  .reservation-cta__character--right {
    grid-column: 3;
    grid-row: 2;
  }

  .reservation-cta__title {
    font-size: 28px;
  }

  .reservation-cta__text {
    font-size: 15px;
  }

  .reservation-cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
  }

  .fixed-contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    min-height: 70px;
  }

  .fixed-contact__item {
    height: 70px;
    border-radius: 0;
    gap: 8px;
  }

  .fixed-contact__item--tel {
    border-width: 0;
    border-left: 1px solid #f5b2c5;
  }

  .fixed-contact__icon {
    font-size: 21px;
  }

  .fixed-contact__label strong {
    font-size: 15px;
  }

  .fixed-contact__label small {
    font-size: 9px;
  }

  .fixed-contact__top {
    position: fixed;
    right: 12px;
    bottom: 82px;
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 18px rgba(33, 54, 83, .16);
  }

  .fixed-contact__top small {
    display: none;
  }
}

/* ======================================
   WordPress / Lower Pages / Blog
====================================== */
.custom-logo-link {
  display: block;
}

.custom-logo {
  width: 260px;
  height: auto;
}

.gnav .menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnav .menu>li {
  position: relative;
}

.gnav .menu>.menu-item-has-children {
  display: flex;
  align-items: center;
}

.gnav .menu>li>a {
  display: flex;
  align-items: center;
  height: 90px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.gnav .sub-menu {
  position: absolute;
  top: 80px;
  left: 50%;
  z-index: 10;
  min-width: 220px;
  padding: 12px;
  border: 1px solid #e8f2f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(32, 65, 91, .12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: .2s;
}

.gnav li:hover>.sub-menu,
.gnav li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gnav .menu-item-has-children>.gnav__submenu-button {
  display: block;
  flex: 0 0 20px;
}

.gnav .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--color-navy);
  font-weight: 700;
}

.gnav .sub-menu a:hover {
  background: var(--color-bg-blue);
  color: var(--color-main);
}

.lower-page,
.blog-page,
.single-page,
.error-page {
  min-height: 60vh;
}

.lower-hero {
  min-height: 500px;
  background-position: center;
  background-size: cover;
}

.page-title {
  position: relative;
  z-index: 2;
  min-height: 220px;
  margin-top: -250px;
  padding: 64px 20px 45px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(20, 56, 77, .04) 0%, rgba(20, 56, 77, .34) 100%),
    linear-gradient(90deg, rgba(20, 56, 77, .18), rgba(20, 56, 77, .08) 48%, rgba(20, 56, 77, .18));
  text-shadow: 0 2px 4px rgba(13, 42, 57, .5), 0 8px 24px rgba(13, 42, 57, .28);
}

.page-title__en {
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.page-title h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: .08em;
  -webkit-text-stroke: .35px rgba(13, 42, 57, .28);
}

/* 下層ページでは、ロゴ・ナビゲーション・タイトルを同じ写真の上に重ねる。 */
.site-header--lower-visual {
  position: absolute;
  width: 100%;
  border-bottom-color: rgba(255,255,255,.54);
  background: rgba(255,255,255,.34);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.site-header--lower-visual .gnav {
  background: rgba(255,255,255,.55);
  border-color: rgba(255,255,255,.58);
}

/* 全下層ページ共通のフォトモンタージュ・ページヘッダー。 */
.global-page-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background: #f4faf8 url('../images/top/page-hero-v5-1600.webp') center / cover no-repeat;
}

@media (max-width: 767px) {
  .global-page-hero {
    background-image: url('../images/top/page-hero-v5-800.webp');
  }
}

.global-page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 30% 28% at 50% 72%, rgba(12, 51, 66, .24) 0%, rgba(12, 51, 66, .11) 42%, rgba(12, 51, 66, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, .05) 100%);
  content: '';
}

.global-page-hero__title {
  position: relative;
  z-index: 1;
  margin-top: 180px;
  padding: 20px 24px 22px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 5px rgba(12, 39, 52, .38);
}

.global-page-hero__title p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.global-page-hero__title h1,
.global-page-hero__page-title {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: normal;
  letter-spacing: .1em;
}

@media (max-width: 1120px) {
  .global-page-hero { min-height: 330px; }
  .global-page-hero__title {
    margin-top: 74px;
    padding: 16px 20px 18px;
  }
}

.breadcrumb {
  width: min(1200px, calc(100% - 40px));
  margin: 24px auto 0;
  font-size: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #a8b3be;
}

.lower-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  width: min(1200px, calc(100% - 40px));
  margin: 70px auto 110px;
}

.entry-content {
  min-width: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 2;
}

.entry-content>*+* {
  margin-top: 1.5em;
}

.entry-content h2 {
  margin-top: 2.5em;
  padding-bottom: .5em;
  color: var(--color-navy);
  font-size: clamp(24px, 3vw, 34px);
}

.entry-content h3 {
  margin-top: 2em;

  color: var(--color-navy);
  font-size: 23px;
}

.sidebar-widget {
  margin-bottom: 30px;
  padding: 24px;
  border-radius: 18px;
  background: var(--color-bg-blue);
}

.sidebar-widget__title {
  margin-bottom: 16px;
  color: var(--color-navy);
  font-size: 20px;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li+li {
  margin-top: 10px;
}

.post-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 0 0 36px;
  border-bottom: 1px solid #dfe8ec;
}

.post-card+.post-card {
  margin-top: 36px;
}

.post-card__image img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  object-fit: cover;
}

.post-card time,
.post-meta {
  color: #778495;
  font-size: 13px;
}

.post-card h2 {
  margin: 8px 0 12px;
  color: var(--color-navy);
  font-size: 23px;
}

.section-contact {
  padding: 80px 20px;
  text-align: center;
  background: var(--color-bg-pink);
}

.section-contact h2 {
  margin-bottom: 14px;
  color: var(--color-navy);
  font-size: 32px;
}

.section-contact__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.site-footer {
  padding: 34px 20px 104px;
  color: #fff;
  background: var(--color-navy);
  text-align: center;
}

.footer-calendar {
  width: min(1120px, 100%);
  margin: 0 auto 56px;
  text-align: left;
}

.footer-calendar__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.footer-calendar__eyebrow {
  margin: 0 0 8px;
  color: #76d8d2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-calendar__heading h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.footer-calendar__heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.9;
}

.footer-calendar__frame {
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(3, 21, 52, 0.28);
}

.footer-calendar__frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 44px;
  }

  .footer-calendar {
    margin-bottom: 44px;
  }

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

  .footer-calendar__heading {
    text-align: center;
  }

  .footer-calendar__frame {
    padding: 5px;
  }

  .footer-calendar__frame iframe {
    height: 420px;
  }
}

.site-footer__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  letter-spacing: .08em;
}

.error-page__content {
  width: min(800px, calc(100% - 40px));
  margin: 70px auto 120px;
  text-align: center;
}

.error-page__content .c-link-button {
  margin: 30px auto;
}

.search-form {
  display: flex;
  max-width: 520px;
  margin: 30px auto;
}

.search-form label {
  flex: 1;
}

.search-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #cad6dc;
  border-radius: 12px 0 0 12px;
}

.search-form button {
  padding: 0 24px;
  border: 0;
  border-radius: 0 12px 12px 0;
  color: #fff;
  background: var(--color-main);
  font-weight: 700;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1200px) {
  .gnav .menu {
    display: block;
  }

  .gnav .menu>li>a {
    height: auto;
    padding: 14px 8px;
  }

  .gnav .menu>.menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr 44px;
  }

  .gnav .menu-item-has-children>.gnav__submenu-button {
    width: 44px;
    height: 48px;
    margin: 0;
  }

  .gnav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 10px 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnav .sub-menu.is-open {
    display: block;
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .lower-page__layout {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 45px;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

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

  .lower-hero {
    min-height: 300px;
  }

  .page-title {
    min-height: 135px;
    margin-top: -150px;
    padding: 34px 20px 26px;
  }
}

@media (max-width: 480px) {
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .facility-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .facility-card__description {
    font-size: 14px;
  }
}


/*======================================
  Wave Divider
======================================*/

.section-wave {
  position: relative;
  height: 80px;
  overflow: hidden;
  background: #f4fbff;
}

.section-wave::before {
  content: "";
  position: absolute;
  top: -55px;
  left: -5%;
  width: 110%;
  height: 110px;

  background: #fff;

  border-radius:
    0 0 10% 10% / 0 0 100% 100%;
}


@media(max-width:767px) {

  .section-wave {
    height: 55px;
  }

  .section-wave::before {
    top: -38px;
    height: 80px;
  }

}


/* ======================================
   Wave Divider
   セクション間の波型区切り
====================================== */

.wave-divider {
  --wave-color: #def7ff;
  --wave-height: 100px;

  width: 100%;
  height: var(--wave-height);
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-divider path {
  fill: var(--wave-color);
}


/* 色違い */
.wave-divider--blue {
  --wave-color: #def7ff;
}

.wave-divider--cream {
  --wave-color: #fff8e6;
}

.wave-divider--pink {
  --wave-color: #fff3f7;
}


/* スマホ */
@media (max-width: 767px) {

  .wave-divider {
    --wave-height: 55px;
  }

}

/* ======================================
   固定ページ：1カラム
====================================== */

.lower-page__layout--one-column {
  display: block;
  width: min(1500px, calc(100% - 60px));
  margin-inline: auto;
}

.lower-page__layout--flush-contact {
  margin-bottom: 0;
}

.lower-page__layout--one-column .entry-content {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  min-width: 0;
}


/* 本文を狭くしたい場合に使う */
.entry-content__inner {
  width: min(1000px, 100%);
  margin-inline: auto;
}


/* スマホ */
@media (max-width: 767px) {

  .lower-page__layout--one-column {
    width: calc(100% - 32px);
  }

}


/* ======================================
   16. Pop Color Refinement
   子ども向け・ポップな配色調整
====================================== */
.section-heading__title::after,
.concept .line,
.doctor-section__line,
.reservation-cta__line {
  height: 4px;
}

.c-link-button,
.feature__button,
.tel-btn,
.reserve-btn,
.medical-form-btn,
.gnav__contact-tel,
.gnav__contact-reserve {
  box-shadow: 0 8px 20px rgba(0, 199, 214, .14);
}

.reserve-btn,
.gnav__contact-reserve,
.fixed-contact__item--web,
.c-btn-pink {
  background: linear-gradient(135deg, #ff6fa8 0%, #ff8c75 100%);
  border-color: #ff6fa8;
}

.gnav__contact-tel:hover {
  color: #fff;
  background: var(--color-main);
}

.tel-btn:hover {
  color: inherit;
  background: transparent;
}

.feature--01 {
  --feature-background: #f0fcff;
}

.feature--02 {
  --feature-background: #eef5ff;
}

.feature--03 {
  --feature-background: #fff2f7;
}

.feature--04 {
  --feature-background: #fff7dc;
}

.feature--05 {
  --feature-background: #eafbf8;
}

.for-you {
  background: linear-gradient(180deg, #eefaff 0%, #dff7ff 52%, #eefaff 100%);
}

.facilities-section {
  background: linear-gradient(180deg, #fffaf0 0%, #fff1dc 50%, #fffaf0 100%);
}

.access-section {
  background: linear-gradient(180deg, #eaf9ff 0%, #dff4ff 55%, #eefaff 100%);
}

.reservation-cta {
  background: linear-gradient(180deg, #fff1b8 0%, #fff8d8 100%);
}

.doctor-history {
  background: #ecfbfd;
}

.doctor-history__item {
  border-color: #cfeef2;
}

.doctor-history__summary:hover {
  background: #eafbff;
}

.sidebar-widget {
  border: 1px solid #cfeef7;
}

.section-contact {
  background: linear-gradient(180deg, #fff1f7 0%, #ffe5ef 100%);
}

@media (prefers-reduced-motion: reduce) {

  .c-link-button,
  .feature__button,
  .clinic-menu__item,
  .fixed-contact__item {
    transition: none;
  }
}

/* Final typography overrides */
.entry-content { font-size: 17px; }
.section-heading__lead,.feature__description,.doctor-section__text,.facility-card__description,.access-info__address,.reservation-cta__text,.doctor-history__body p,.clinic-philosophy__text p { font-size: 17px; }
.concept .lead { font-size: 20px; }
.doctor-profile__position,.doctor-profile__list li,.access-hours__table,.access-hours__note,.breadcrumb,.page-title__en { font-size: 14px; }
.section-heading__en { font-size: 12px; }
.section-heading__title { font-size: clamp(30px,2.7vw,40px); line-height: 1.35; letter-spacing: .08em; }
.page-title h1 { font-size: clamp(36px,4.4vw,52px); line-height: 1.4; letter-spacing: .075em; }

/* Decorative English typography: tight Helvetica-style sans-serif, used consistently. */
.concept-bg,
.clinic-philosophy::before,
.facilities-section::before,
.clinic-tour::before,
.doctor-history::before,
.staff-director::before,
.first-policy::before,
.price-intro::before,
.recruit-benefits::before,
.access-schedule::before,
.treatment-menu::before,
.blog-intro::before,
.reservation-intro::before,
.reservation-consent::before,
.footer-access-section::before,
.general-topic-word,
.general-tool-card__word,
.esthetic-hero__word,
.esthetic-cycle__bg,
.esthetic-resin__bg,
.whitening-hero__word,
.whitening-section-heading__word,
.whitening-office__word,
.implant-hero__word,
.implant-bg-word,
.implant-column::before,
.implant-column__action > span,
.kids-bg-word,
.kids-prevention__cards article > span,
.perio-hero > b,
.perio-bg,
.mouth-hero > b,
.mouth-bg,
.preventive-hero > b,
.preventive-tool__image > p,
.ortho-hero > b,
.ortho-bg {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -.06em !important;
}

/* Primary, extra-large words: restrained outline treatment. */
.concept-bg,
.clinic-philosophy::before,
.facilities-section::before,
.clinic-tour::before,
.doctor-history::before,
.staff-director::before,
.first-policy::before,
.price-intro::before,
.recruit-benefits::before,
.access-schedule::before,
.treatment-menu::before,
.blog-intro::before,
.reservation-intro::before,
.reservation-consent::before,
.footer-access-section::before,
.general-topic-word,
.esthetic-hero__word,
.esthetic-cycle__bg,
.whitening-hero__word,
.whitening-section-heading__word,
.implant-hero__word,
.implant-bg-word,
.implant-column::before,
.kids-bg-word,
.perio-hero > b,
.perio-bg,
.mouth-hero > b,
.mouth-bg,
.preventive-hero > b,
.ortho-hero > b,
.ortho-bg {
  color: transparent !important;
  -webkit-text-stroke: clamp(1.1px, .09vw, 1.5px) rgba(48, 105, 126, .13);
  filter: none;
  mix-blend-mode: multiply;
  opacity: .94;
  paint-order: stroke fill;
}

/* Outline colors follow each page's own background and accent palette. */
.concept-bg,
.facilities-section::before,
.price-intro::before,
.blog-intro::before { -webkit-text-stroke-color: rgba(58, 105, 157, .14); }
.clinic-philosophy::before,
.clinic-tour::before,
.doctor-history::before,
.treatment-menu::before,
.reservation-intro::before,
.reservation-consent::before,
.footer-access-section::before { -webkit-text-stroke-color: rgba(27, 145, 154, .14); }
.staff-director::before { -webkit-text-stroke-color: rgba(44, 115, 154, .13); }
.first-policy::before { -webkit-text-stroke-color: rgba(181, 122, 39, .14); }
.recruit-benefits::before { -webkit-text-stroke-color: rgba(25, 143, 152, .14); }
.access-schedule::before { -webkit-text-stroke-color: rgba(37, 105, 132, .14); }
.general-topic-word {
  -webkit-text-stroke-width: clamp(1.1px, .09vw, 1.5px);
  opacity: .96;
}
.general-pmtc .general-topic-word { -webkit-text-stroke-color: rgba(145, 108, 37, .16); }
.general-diagnosis .general-topic-word { -webkit-text-stroke-color: rgba(18, 125, 136, .14); }
.esthetic-hero__word,
.esthetic-cycle__bg { -webkit-text-stroke-color: rgba(132, 97, 116, .13); }
.whitening-hero__word,
.whitening-section-heading__word { -webkit-text-stroke-color: rgba(31, 145, 145, .13); }
.implant-hero__word { -webkit-text-stroke-color: rgba(17, 128, 128, .13); }
.implant-bg-word,
.implant-column::before { -webkit-text-stroke-color: rgba(166, 103, 58, .13); }
.kids-bg-word { -webkit-text-stroke-color: rgba(223, 103, 132, .13); }
.perio-hero > b,
.perio-bg { -webkit-text-stroke-color: rgba(69, 105, 84, .13); }
.mouth-hero > b,
.mouth-bg { -webkit-text-stroke-color: rgba(38, 143, 143, .13); }
.preventive-hero > b { -webkit-text-stroke-color: rgba(45, 91, 117, .13); }
.ortho-hero > b,
.ortho-bg { -webkit-text-stroke-color: rgba(159, 86, 90, .13); }

/* Secondary words inside cards and compact blocks: pale solid treatment. */
.general-tool-card__word,
.esthetic-resin__bg,
.whitening-office__word,
.implant-column__action > span,
.kids-prevention__cards article > span,
.preventive-tool__image > p {
  opacity: .72;
}
.entry-content h2 { font-size: clamp(28px,3.2vw,38px); line-height: 1.5; letter-spacing: .06em; }
.entry-content h3 { font-size: clamp(23px,2.2vw,27px); line-height: 1.55; letter-spacing: .05em; }
.concept h2 { font-size: clamp(48px,5vw,64px); }
.feature__title { font-size: clamp(28px,2.4vw,36px); }
.for-you__message p { font-size: clamp(25px,2.5vw,34px); }
.doctor-section__catch { font-size: clamp(29px,2.7vw,39px); }
.doctor-profile__name { font-size: 25px; }
.access-info__name { font-size: clamp(28px,2.5vw,36px); }
.reservation-cta__title { font-size: clamp(31px,3.2vw,44px); }

/* Selected section accents: one large outlined word at meaningful chapter breaks. */
.facilities-section,
.clinic-tour,
.doctor-history,
.staff-director,
.first-policy,
.price-intro,
.recruit-benefits,
.access-schedule,
.treatment-menu,
.blog-intro,
.reservation-consent,
.footer-access-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.facilities-section::before,
.clinic-tour::before,
.doctor-history::before,
.staff-director::before,
.first-policy::before,
.price-intro::before,
.recruit-benefits::before,
.access-schedule::before,
.treatment-menu::before,
.blog-intro::before,
.reservation-consent::before,
.footer-access-section::before {
  position: absolute;
  z-index: 0;
  font-size: clamp(88px, 12vw, 170px);
  line-height: .82;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.facilities-section::before { top: 72px; right: -18px; content: "FACILITIES"; }
.clinic-tour::before { top: 48px; left: -22px; content: "CLINIC TOUR"; }
.doctor-history::before { top: 48px; right: -18px; content: "STORY"; }
.staff-director::before { top: 10px; right: -8px; content: "OUR TEAM"; font-size: clamp(70px, 9vw, 118px); }
.first-policy::before { top: -18px; left: -12px; content: "POLICY"; }
.price-intro::before { top: -34px; right: -10px; content: "PRICE LIST"; }
.recruit-benefits::before { top: 52px; left: -20px; content: "WORK WITH US"; }
.access-schedule::before { top: 42px; right: -15px; content: "SCHEDULE"; }
.treatment-menu::before { top: 50px; right: -20px; content: "TREATMENTS"; }
.blog-intro::before { top: 34px; left: 50%; content: "JOURNAL"; transform: translateX(-50%); }
.reservation-consent::before { top: 54px; right: -16px; content: "CHECK"; }
.footer-access-section::before { top: 62px; right: -18px; content: "ACCESS"; }

.facilities-section__inner,
.clinic-tour > *,
.doctor-history__inner,
.staff-director > *,
.first-policy > *,
.price-intro > *,
.recruit-benefits .recruit-container,
.access-schedule > *,
.treatment-menu .treatment-container,
.blog-intro > *,
.reservation-consent__inner,
.footer-access-section .access-section__inner,
.clinic-philosophy > *,
.reservation-intro > * {
  position: relative;
  z-index: 1;
}

.clinic-philosophy::before,
.reservation-intro::before { z-index: 0 !important; }

/* 院長紹介・スタッフ紹介の相互導線 */
.profile-crosslink {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto clamp(68px, 7vw, 100px);
}

.profile-crosslink--after-color {
  margin-top: clamp(56px, 6vw, 84px);
}

.profile-crosslink a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid #cfe6e8;
  border-radius: 8px 30px 8px 30px;
  color: #173e70;
  background: linear-gradient(135deg, #f0fbfc, #fff 62%, #fff3f7);
  box-shadow: 0 14px 34px rgba(32, 91, 109, .09);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.profile-crosslink a:hover,
.profile-crosslink a:focus-visible {
  border-color: #65cbd1;
  box-shadow: 0 18px 38px rgba(32, 91, 109, .14);
  transform: translateY(-3px);
}

.profile-crosslink span { display: grid; gap: 5px; }
.profile-crosslink small { color: #18aebc; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.profile-crosslink strong { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.4; letter-spacing: .06em; }
.profile-crosslink em { color: #647784; font-size: 14px; font-style: normal; line-height: 1.7; }
.profile-crosslink b { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: #18aebc; font-size: 20px; }

@media (max-width: 640px) {
  .profile-crosslink { width: calc(100% - 32px); margin-bottom: 56px; }
  .profile-crosslink--after-color { margin-top: 42px; }
  .profile-crosslink a { gap: 14px; padding: 22px 18px; border-radius: 6px 22px 6px 22px; }
  .profile-crosslink strong { font-size: 19px; }
  .profile-crosslink em { font-size: 12px; }
  .profile-crosslink b { flex-basis: 38px; width: 38px; height: 38px; }
}

@media (max-width:640px) {
  .entry-content,.feature__description,.doctor-section__text,.facility-card__description,.access-info__address,.reservation-cta__text,.doctor-history__body p,.clinic-philosophy__text p { font-size: 16px; }
  .section-heading__lead { font-size: 13px; line-height: 1.55; letter-spacing: .035em; }
  .concept .lead { font-size: 17px; }
  .section-heading__title { font-size: clamp(22px,6.4vw,26px); line-height: 1.35; letter-spacing: .06em; }
  .page-title h1 { font-size: clamp(32px,9vw,40px); }
  .entry-content h2 { font-size: clamp(26px,7.2vw,32px); }
  .entry-content h3 { font-size: clamp(22px,6vw,25px); }
  .concept h2 { font-size: 42px; }
  .facilities-section::before,
  .clinic-tour::before,
  .doctor-history::before,
  .first-policy::before,
  .price-intro::before,
  .recruit-benefits::before,
  .access-schedule::before,
  .treatment-menu::before,
  .blog-intro::before,
  .reservation-consent::before,
  .footer-access-section::before { top: 30px; font-size: 68px; }
  .staff-director::before { font-size: 62px; }
}
