@charset "UTF-8";

/* =========================================================
   永田総合クリニック - デザイン提案用デモ
   LIXデザイン / Lancers 案件 5593057 (nagata4様) 向け
   ブルー基調 / 清潔感・信頼感 / 幅広い年代が見やすい
   ========================================================= */

:root {
  --blue:        #0b6fb8;
  --blue-mid:    #1e88c7;
  --blue-dark:   #08355f;
  --blue-deep:   #052744;
  --blue-pale:   #eaf4fb;
  --blue-pale2:  #f4fafd;
  --green:       #3aa391;
  --green-dark:  #2b8474;
  --green-pale:  #e9f5f1;
  --ink:         #313b44;
  --ink-soft:    #5c6b78;
  --ink-mute:    #8393a1;
  --line:        #d8e4ee;
  --line-soft:   #e8f0f6;
  --white:       #ffffff;
  --amber:       #e8863b;
  --shadow-sm:   0 2px 10px rgba(8, 53, 95, .06);
  --shadow-md:   0 10px 30px rgba(8, 53, 95, .10);
  --shadow-lg:   0 20px 50px rgba(8, 53, 95, .16);
  --radius:      12px;
  --radius-sm:   8px;
  --container:   1180px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--blue-mid); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; color: var(--blue-dark); margin: 0; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; border-radius: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Utility / helpers ---------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------------- Demo ribbon ---------------- */
.demo-ribbon {
  background: var(--blue-deep);
  color: #cfe4f5;
  font-size: 12.5px;
  letter-spacing: .02em;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.6;
}
.demo-ribbon strong { color: #fff; font-weight: 700; }
.demo-ribbon span { color: #8fb6d4; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-utility {
  background: var(--blue-pale2);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
}
.header-utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}
.header-utility .u-left { display: flex; gap: 18px; flex-wrap: wrap; }
.header-utility .u-left b { color: var(--blue-dark); font-weight: 700; }
.header-utility .u-right { display: flex; gap: 16px; }
.header-utility .u-right a { color: var(--ink-soft); }
.header-utility .u-right a:hover { color: var(--blue); }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  transition: min-height .25s var(--ease);
}
.site-header.is-stuck .header-main .container { min-height: 68px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, var(--green) 140%);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 20px;
  box-shadow: 0 6px 16px rgba(11, 111, 184, .3);
}
.brand-name { line-height: 1.25; }
.brand-name .jp { display: block; font-weight: 700; font-size: 19px; color: var(--blue-dark); letter-spacing: .04em; }
.brand-name .en { display: block; font-size: 11px; color: var(--ink-mute); letter-spacing: .18em; }

/* ---- Global nav ---- */
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a {
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
}
.gnav > ul > li > a:hover,
.gnav > ul > li.is-active > a { color: var(--blue); background: var(--blue-pale); }
.gnav > ul > li.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.subnav::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.gnav li.has-sub:hover .subnav,
.gnav li.has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.subnav li a {
  display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; color: var(--ink);
}
.subnav li a:hover { background: var(--blue-pale); color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel .lbl { font-size: 10.5px; color: var(--ink-mute); letter-spacing: .1em; }
.header-tel .num { font-size: 22px; font-weight: 700; color: var(--blue-dark); font-family: "Roboto Condensed", "Noto Sans JP", sans-serif; }
.header-tel .num::before {
  content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px;
  background: var(--blue-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.3;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 8px 20px rgba(11, 111, 184, .25);
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px rgba(11, 111, 184, .34); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--green { --btn-bg: var(--green); box-shadow: 0 8px 20px rgba(58, 163, 145, .28); }
.btn--green:hover { box-shadow: 0 12px 26px rgba(58, 163, 145, .36); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--blue-dark);
  border-color: var(--blue); box-shadow: none;
}
.btn--outline:hover { background: var(--blue-pale); color: var(--blue-dark); box-shadow: none; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue-dark); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.btn--white:hover { color: var(--blue); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { display: flex; width: 100%; }

/* ---- Mobile nav toggle ---- */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--blue-dark);
  margin: 0 auto; position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--blue-dark);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 40, 72, .92) 0%, rgba(8, 53, 95, .78) 42%, rgba(11, 111, 184, .28) 100%);
}
.hero-inner {
  position: relative;
  padding: 96px 0 108px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .16em; font-weight: 700;
  color: #bfe0f6;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--green); display: inline-block; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.42;
  letter-spacing: .02em;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.hero h1 .accent { color: #9be3d5; }
.hero-lead { font-size: 17px; color: #e4f1fa; max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-quick {
  position: relative;
  margin-top: -54px;
  z-index: 5;
}
.hero-quick .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.qcard {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border-top: 3px solid var(--blue);
}
.qcard:nth-child(2) { border-top-color: var(--green); }
.qcard:nth-child(3) { border-top-color: var(--blue-mid); }
.qcard .ic {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: var(--blue-pale); display: grid; place-items: center;
}
.qcard .ic svg { width: 22px; height: 22px; fill: var(--blue); }
.qcard h3 { font-size: 15px; margin-bottom: 4px; }
.qcard p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.7; }
.qcard .big { font-size: 20px; font-weight: 700; color: var(--blue-dark); line-height: 1.3; }
.qcard small { font-size: 12px; color: var(--ink-mute); }

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section--pale { background: var(--blue-pale); }
.section--soft { background: var(--blue-pale2); }
.section--tight { padding: 64px 0; }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .en {
  display: block; font-size: 13px; letter-spacing: .22em; font-weight: 700;
  color: var(--blue); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .04em; }
.section-head h2 + p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.section-head .rule {
  width: 46px; height: 3px; background: var(--green); margin: 16px auto 0; border-radius: 3px;
}
.section-head.left { text-align: left; }
.section-head.left .rule { margin-left: 0; }

/* ---- News ---- */
.news-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 44px; align-items: start; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 116px 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 6px;
  color: var(--ink);
}
.news-list a:hover { background: #fff; color: var(--blue-dark); }
.news-date { font-size: 13px; color: var(--ink-mute); font-weight: 500; letter-spacing: .04em; }
.tag {
  display: inline-block; text-align: center; min-width: 84px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 4px;
  background: var(--blue-pale); color: var(--blue);
}
.tag--info   { background: var(--blue-pale); color: var(--blue); }
.tag--close  { background: #fdeceb; color: #d0473f; }
.tag--event  { background: var(--green-pale); color: var(--green-dark); }
.tag--important { background: #fef1e2; color: #c9761f; }
.news-title { font-size: 15px; }
.news-side .side-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.news-side .side-box h3 { font-size: 15px; margin-bottom: 6px; }
.news-side .side-box p { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }

/* ---- Feature cards ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.feature-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feature-card:hover .ph img { transform: scale(1.05); }
.feature-card .bd { padding: 26px 26px 30px; }
.feature-card .no { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--green); }
.feature-card h3 { font-size: 18px; margin: 6px 0 10px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

/* ---- Department cards ---- */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.dept-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.dept-card .ic {
  width: 58px; height: 58px; margin: 0 auto; border-radius: 50%;
  background: var(--blue-pale); display: grid; place-items: center;
}
.dept-card .ic svg { width: 30px; height: 30px; fill: var(--blue); }
.dept-card h3 { font-size: 16px; color: var(--ink); }
.dept-card p { font-size: 12.5px; color: var(--ink-mute); margin: 0; line-height: 1.7; }
.dept-card .more {
  margin-top: auto; font-size: 12px; font-weight: 700; color: var(--blue);
}
.dept-card .more::after { content: " →"; }

/* ---- Director greeting ---- */
.greeting { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.greeting .ph {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.greeting .ph img { width: 100%; height: 100%; object-fit: cover; }
.greeting .bd .en { font-size: 13px; letter-spacing: .22em; font-weight: 700; color: var(--blue); }
.greeting .bd h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 8px 0 20px; letter-spacing: .04em; }
.greeting .bd p { font-size: 15px; color: var(--ink-soft); }
.greeting .sign { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.greeting .sign b { font-size: 19px; color: var(--blue-dark); margin-left: 8px; letter-spacing: .08em; }

/* ---- Hours table ---- */
.hours-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { border: 1px solid var(--line); padding: 15px 8px; text-align: center; font-size: 15px; }
.hours-table thead th { background: var(--blue-dark); color: #fff; font-weight: 700; letter-spacing: .04em; }
.hours-table tbody th { background: var(--blue-pale); color: var(--blue-dark); width: 130px; }
.hours-table .sun, .hours-table .sat2 { color: #d0473f; }
.hours-table .mk-o { color: var(--blue); font-weight: 700; }
.hours-table .mk-t { color: var(--green-dark); font-weight: 700; }
.hours-table .mk-x { color: var(--ink-mute); }
.hours-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.hours-note li { margin-bottom: 4px; }
.hours-side {
  background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: 28px;
}
.hours-side h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.hours-side .tel-big { font-size: 30px; font-weight: 700; letter-spacing: .02em; margin: 6px 0 2px; }
.hours-side p { font-size: 13px; color: #c8ddef; margin-bottom: 18px; }
.hours-side .btn { width: 100%; }

/* ---- Column / magazine ---- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.col-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.col-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.col-card .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.col-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.col-card:hover .ph img { transform: scale(1.05); }
.col-card .bd { padding: 20px 22px 24px; }
.col-card .meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.col-card .meta time { font-size: 12px; color: var(--ink-mute); }
.col-card h3 { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.col-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---- Access ---- */
.access-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: stretch; }
.access-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 360px; border: 1px solid var(--line); }
.access-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.access-info { display: flex; flex-direction: column; justify-content: center; }
.access-info dl { margin: 0; }
.access-info dt { font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .08em; margin-top: 18px; }
.access-info dt:first-child { margin-top: 0; }
.access-info dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.access-info dd small { color: var(--ink-soft); font-size: 13px; }

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
}
.cta-band .container { position: relative; padding: 68px 24px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: 12px; }
.cta-band p { color: #d6e8f6; margin-bottom: 28px; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Proposal panel (demo explanation) ---- */
.proposal {
  background: var(--blue-deep);
  color: #d3e5f4;
}
.proposal .container { padding: 60px 24px; }
.proposal h2 { color: #fff; font-size: 20px; letter-spacing: .04em; margin-bottom: 8px; }
.proposal .sub { color: #8fb6d4; font-size: 13px; margin-bottom: 28px; }
.proposal ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; }
.proposal li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.8; }
.proposal li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.proposal li b { color: #fff; }

/* ---------------- Page hero (lower pages) ---------------- */
.page-hero {
  position: relative;
  background: var(--blue-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,40,72,.94) 0%, rgba(8,53,95,.8) 55%, rgba(11,111,184,.4) 100%);
}
.page-hero .container { position: relative; padding: 66px 24px 58px; }
.page-hero .en { font-size: 12px; letter-spacing: .24em; font-weight: 700; color: #9be3d5; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); margin-top: 8px; letter-spacing: .05em; }

.breadcrumb { background: var(--blue-pale2); border-bottom: 1px solid var(--line-soft); }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0;
  padding: 12px 24px; max-width: var(--container); margin: 0 auto;
  font-size: 12.5px; color: var(--ink-mute);
}
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-soft); }

/* ---- Generic content layout ---- */
.content { padding: 80px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: start; }
.content-main h2 {
  font-size: 1.5rem; letter-spacing: .04em; margin: 48px 0 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--line);
  position: relative;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h2::before {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 66px; height: 2px; background: var(--green);
}
.content-main h3 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--blue-dark); }
.content-main p { font-size: 15px; color: var(--ink-soft); }
.content-main ul.bullets { padding-left: 0; list-style: none; margin: 14px 0; }
.content-main ul.bullets li {
  position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 15px; color: var(--ink-soft);
}
.content-main ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.content-figure { margin: 22px 0 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }

.sidenav { position: sticky; top: 130px; }
.sidenav h3 {
  font-size: 14px; color: #fff; background: var(--blue-dark);
  padding: 14px 18px; border-radius: 10px 10px 0 0; letter-spacing: .06em;
}
.sidenav ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden; }
.sidenav li + li { border-top: 1px solid var(--line-soft); }
.sidenav a { display: block; padding: 12px 18px; font-size: 13.5px; color: var(--ink); background: #fff; }
.sidenav a:hover, .sidenav a.is-active { background: var(--blue-pale); color: var(--blue); font-weight: 700; }
.side-contact { margin-top: 22px; background: var(--blue-pale); border-radius: var(--radius); padding: 20px; text-align: center; }
.side-contact .num { font-size: 22px; font-weight: 700; color: var(--blue-dark); }
.side-contact p { font-size: 12px; color: var(--ink-soft); margin: 4px 0 12px; }

/* ---- Dept detail block ---- */
.dept-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.dept-block:last-child { border-bottom: 0; }
.dept-block .inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.dept-block .ph { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.dept-block .ph img { width: 100%; height: 100%; object-fit: cover; }
.dept-block h2 { border: 0; margin: 0 0 6px; padding: 0; font-size: 1.35rem; }
.dept-block h2::before { display: none; }
.dept-block .en { font-size: 11px; letter-spacing: .2em; color: var(--green-dark); font-weight: 700; }
.dept-block .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.dept-block .tags span { font-size: 12px; background: var(--blue-pale); color: var(--blue); padding: 4px 12px; border-radius: 999px; }
.dept-block dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; }
.dept-block dt { font-weight: 700; color: var(--blue-dark); }
.dept-block dd { margin: 0; color: var(--ink-soft); }

/* ---- Doctor cards ---- */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.doctor-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.doctor-card .ph { aspect-ratio: 1/1; overflow: hidden; }
.doctor-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card .bd { padding: 22px 24px 26px; }
.doctor-card .role { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--green-dark); }
.doctor-card h3 { font-size: 19px; margin: 4px 0 2px; letter-spacing: .06em; }
.doctor-card .en { font-size: 11px; color: var(--ink-mute); letter-spacing: .16em; }
.doctor-card p { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; }
.doctor-card .quals { margin-top: 12px; font-size: 12px; color: var(--ink-mute); border-top: 1px solid var(--line-soft); padding-top: 12px; }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---- Info table ---- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 16px 20px; text-align: left; font-size: 14.5px; vertical-align: top; }
.info-table th { background: var(--blue-pale); color: var(--blue-dark); width: 200px; font-weight: 700; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--blue-deep);
  color: #b8cfe2;
  font-size: 14px;
}
.footer-top { padding: 62px 0 46px; }
.footer-top .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name .jp { color: #fff; }
.footer-brand .brand-name .en { color: #7fa6c6; }
.footer-brand p { margin-top: 16px; font-size: 13px; color: #9fbdd6; line-height: 1.9; }
.footer-brand .f-tel { margin-top: 14px; font-size: 22px; font-weight: 700; color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b8cfe2; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { margin: 0; font-size: 12px; color: #7fa6c6; }
.footer-note {
  background: #041c33;
  padding: 14px 0;
  text-align: center;
}
.footer-note p { margin: 0; font-size: 11.5px; color: #6b91b2; line-height: 1.8; }

/* ---- Back to top ---- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); }
.to-top svg { width: 20px; height: 20px; fill: #fff; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .news-wrap { grid-template-columns: 1fr; }
  .hours-wrap { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 300px 1fr; gap: 36px; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidenav { position: static; }
  .footer-top .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-utility { display: none; }
  .gnav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 88px 22px 40px; gap: 0;
    box-shadow: -12px 0 40px rgba(8, 53, 95, .16);
    transform: translateX(100%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .gnav.is-open { transform: none; }
  .gnav > ul { flex-direction: column; gap: 0; width: 100%; }
  .gnav > ul > li > a { padding: 14px 10px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .gnav > ul > li.has-sub > a::after { float: right; margin-top: 8px; }
  .subnav {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 14px; min-width: 0;
    display: none;
  }
  .subnav::before { display: none; }
  .gnav li.has-sub.open .subnav { display: block; }
  .gnav li.has-sub:hover .subnav { opacity: 1; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .header-cta .header-tel { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(6, 40, 72, .45); z-index: 99;
    opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .col-grid { grid-template-columns: 1fr 1fr; }
  .doctor-grid { grid-template-columns: 1fr 1fr; }
  .access-wrap { grid-template-columns: 1fr; }
  .dept-block .inner { grid-template-columns: 1fr; }
  .dept-block .ph { max-width: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .hero-inner { padding: 68px 0 88px; }
  .hero-quick .grid { grid-template-columns: 1fr; }
  .hero-quick { margin-top: -40px; }
  .feature-grid, .dept-grid, .col-grid, .doctor-grid { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 1fr; }
  .greeting .ph { max-width: 300px; }
  .news-list a { grid-template-columns: 1fr; gap: 4px; padding: 16px 6px; }
  .hours-table th, .hours-table td { padding: 10px 4px; font-size: 13px; }
  .footer-top .container { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .brand-name .jp { font-size: 16px; }
  .info-table th { width: auto; display: block; }
  .info-table td { display: block; }
}

/* ---- Guide grid (5 items) ---- */
.dept-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .dept-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .dept-grid--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px)  { .dept-grid--5 { grid-template-columns: 1fr; } }
