/*
Theme Name: ブレスシフトのテーマ
*/

/*----------------------------------------
reset
----------------------------------------*/

html, body, div, p, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,
blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: 'Noto Serif JP';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notoserifjp/v33/xn7mYHs72GKoTvER4Gn3b5eMXNvMckQlPa61uNKcCqOfbtLXoH3502Rk.0.woff2) format('woff2');
    unicode-range: U +25ee8, U +25f23, U +25f5c, U +25fd4, U +25fe0, U +25ffb, U +2600c, U +26017, U +26060, U +260ed, U +26222, U +2626a, U +26270, U +26286, U +2634c, U +26402, U +2667e, U +266b0, U +2671d, U +268dd, U +268ea, U +26951, U +2696f, U +26999, U +269dd, U +26a1e, U +26a58, U +26a8c, U +26ab7, U +26aff, U +26c29, U +26c73, U +26c9e, U +26cdd, U +26e40, U +26e65, U +26f94, U +26ff6 -26ff8, U +270f4, U +2710d, U +27139, U +273da -273db, U +273fe, U +27410, U +27449, U +27614 -27615, U +27631, U +27684, U +27693, U +2770e, U +27723, U +27752, U +278b2, U +27985, U +279b4, U +27a84, U +27bb3, U +27bbe, U +27bc7, U +27c3c, U +27cb8, U +27d73, U +27da0, U +27e10, U +27eaf, U +27fb7, U +2808a, U +280bb, U +28277, U +28282, U +282f3, U +283cd, U +2840c, U +28455, U +284dc, U +2856b, U +285c8 -285c9, U +286d7, U +286fa, U +28946, U +28949, U +2896b, U +28987 -28988, U +289ba -289bb, U +28a1e, U +28a29, U +28a43, U +28a71, U +28a99, U +28acd, U +28add, U +28ae4, U +28bc1, U +28bef, U +28cdd, U +28d10, U +28d71, U +28dfb, U +28e0f, U +28e17, U +28e1f, U +28e36, U +28e89, U +28eeb, U +28ef6, U +28f32, U +28ff8, U +292a0, U +292b1, U +29490, U +295cf, U +2967f, U +296f0, U +29719, U +29750, U +29810, U +298c6, U +29a72, U +29d4b, U +29ddb, U +29e15, U +29e3d, U +29e49, U +29e8a, U +29ec4, U +29edb, U +29ee9, U +29fce, U +29fd7, U +2a01a, U +2a02f, U +2a082, U +2a0f9, U +2a190, U +2a2b2, U +2a38c, U +2a437, U +2a5f1, U +2a602, U +2a61a, U +2a6b2, U +2a9e6, U +2b746, U +2b751, U +2b753, U +2b75a, U +2b75c, U +2b765, U +2b776 -2b777, U +2b77c, U +2b782, U +2b789, U +2b78b, U +2b78e, U +2b794, U +2b7ac, U +2b7af, U +2b7bd, U +2b7c9, U +2b7cf, U +2b7d2, U +2b7d8, U +2b7f0, U +2b80d, U +2b817, U +2b81a, U +2d544, U +2e278, U +2e569, U +2e6ea, U +2f804, U +2f80f, U +2f815, U +2f818, U +2f81a, U +2f822, U +2f828, U +2f82c, U +2f833, U +2f83f, U +2f846, U +2f852, U +2f862, U +2f86d, U +2f873, U +2f877, U +2f884, U +2f899 -2f89a, U +2f8a6, U +2f8ac, U +2f8b2, U +2f8b6, U +2f8d3, U +2f8db -2f8dc, U +2f8e1, U +2f8e5, U +2f8ea, U +2f8ed, U +2f8fc, U +2f903, U +2f90b, U +2f90f, U +2f91a, U +2f920 -2f921, U +2f945, U +2f947, U +2f96c, U +2f995, U +2f9d0, U +2f9de -2f9df, U +2f9f4;
}

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

:root {
  --white:       #FFFFFF;
  --off-white:   #F8F9FB;
  --navy-deep:   #0C2340;
  --navy-main:   #1A3258;
  --accent:      #1F4FA3;
  --text-dark:   #1C2A3A;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --border:      #D2D8E2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Animations ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: .8; transform: scaleY(.5); }
}

.ha1 { opacity:0; animation: fadeIn  1.4s cubic-bezier(.22,1,.36,1) .4s  forwards; }
.ha2 { opacity:0; animation: fadeUp  1.4s cubic-bezier(.22,1,.36,1) .8s  forwards; }
.ha3 { opacity:0; animation: fadeUp  1.2s cubic-bezier(.22,1,.36,1) 1.3s forwards; }
.ha4 { opacity:0; animation: fadeUp  1.2s cubic-bezier(.22,1,.36,1) 1.7s forwards; }
.ha5 { opacity:0; animation: fadeUp  1.0s cubic-bezier(.22,1,.36,1) 2.1s forwards; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .95s cubic-bezier(.22,1,.36,1),
              transform .95s cubic-bezier(.22,1,.36,1);
}
.reveal.on { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .12s; }
.rd2 { transition-delay: .24s; }
.rd3 { transition-delay: .36s; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s ease, padding .4s ease;
}
.nav.on {
  background: rgba(12,35,64,.96);
  padding: 16px 56px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 1.45rem; color: var(--white);
  text-decoration: none; letter-spacing: .14em;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .72rem; color: rgba(255,255,255,.65);
  text-decoration: none; letter-spacing: .1em;
  transition: color .3s;
}
.nav-links a:hover { color: rgba(255,255,255,.95); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 680px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(12,35,64,.62) 0%,
    rgba(12,35,64,.46) 45%,
    rgba(12,35,64,.68) 100%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 40%, rgba(8,20,40,.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 32px; max-width: 760px;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .75rem; color: rgba(255,255,255,.50);
  letter-spacing: .32em; text-transform: uppercase;
  display: block; margin-bottom: 36px;
}
.hero-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  color: var(--white); line-height: 2.0; letter-spacing: .05em;
  margin-bottom: 32px; text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-sub {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: clamp(.82rem, 1.6vw, .95rem);
  color: rgba(255,255,255,.75); letter-spacing: .12em; margin-bottom: 40px;
}
.hero-note {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .70rem; color: rgba(255,255,255,.45);
  letter-spacing: .06em; line-height: 2.0; margin-bottom: 52px;
}
.hero-cta {
  display: inline-block; padding: 15px 44px;
  border: 1px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.82);
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .80rem; letter-spacing: .16em; text-decoration: none;
  background: rgba(255,255,255,.05);
  transition: background .4s, border-color .4s, color .4s;
}
.hero-cta:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
  color: var(--white);
}
.scroll-ind {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s ease 2.8s forwards;
}
.scroll-line {
  width: 1px; height: 52px; background: rgba(255,255,255,.30);
  transform-origin: top; animation: pulse 2.4s ease-in-out infinite;
}
.scroll-label {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .62rem; color: rgba(255,255,255,.35);
  letter-spacing: .24em; text-transform: uppercase;
}

/* ── Zigzag Sections ②–⑤ ──────────────────────── */
.zz {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 580px;
}
.zz .zz-text  { order: 1; }
.zz .zz-photo { order: 2; }
.zz.reverse .zz-photo { order: 1; }
.zz.reverse .zz-text  { order: 2; }

.zz-photo {
  overflow: hidden;
  line-height: 0;
}
.zz-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  border-radius: 0;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.zz-photo:hover img { transform: scale(1.03); }

.zz-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 72px;
  background: var(--white);
}
.zz.alt .zz-text { background: var(--off-white); }

.zz-label {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .68rem; color: rgba(26,50,88,.38);
  letter-spacing: .30em; text-transform: uppercase;
  display: block; margin-bottom: 28px;
}
.zz-rule {
  width: 32px; height: 1px;
  background: var(--border);
  margin-bottom: 36px;
}
.zz-heading {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--text-dark); line-height: 1.95; letter-spacing: .04em;
  margin-bottom: 32px;
}
.zz-body {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: clamp(.82rem, 1.2vw, .90rem);
  color: var(--text-mid); line-height: 2.3; letter-spacing: .04em;
}
.zz-body p + p { margin-top: 1.3em; }

/* Clinic list in ④ */
.clinic-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.clinic-list li {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: clamp(.78rem, 1.1vw, .86rem);
  color: var(--text-mid); line-height: 2.2; letter-spacing: .04em;
  padding-left: 1em;
  position: relative;
}
.clinic-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--border);
  font-size: .70rem;
}

/* Doctor title sub */
.doctor-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .78em; color: var(--text-mid); letter-spacing: .08em;
  display: block; margin-top: 6px; line-height: 1.9;
}

/* ── Standard Sections ──────────────────────────── */
.section { padding: 112px 0; }
.container { max-width: 880px; margin: 0 auto; padding: 0 56px; }
.container-wide { max-width: 1080px; margin: 0 auto; padding: 0 56px; }

.sec-label {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .68rem; color: rgba(26,50,88,.38);
  letter-spacing: .30em; text-transform: uppercase;
  display: block; margin-bottom: 40px;
}
.sec-rule { width: 36px; height: 1px; background: var(--border); margin-bottom: 56px; }

/* Philosophy */
.philosophy { background: var(--off-white); }
.philosophy-heading {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  color: var(--text-dark); line-height: 1.9; letter-spacing: .04em; margin-bottom: 72px;
}
.philosophy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 48px; }
.philosophy-item { padding-top: 36px; border-top: 1px solid var(--border); }
.philosophy-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .75rem; color: rgba(31,79,163,.40);
  letter-spacing: .22em; display: block; margin-bottom: 18px;
}
.philosophy-item-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 400;
  font-size: .84rem; color: var(--navy-main);
  letter-spacing: .06em; margin-bottom: 18px;
}
.philosophy-item-body {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .80rem; color: var(--text-mid); line-height: 2.1; letter-spacing: .04em;
}

/* Text link */
.text-link {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .80rem; color: var(--accent); text-decoration: none;
  letter-spacing: .12em;
  border-bottom: 1px solid rgba(31,79,163,.28); padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.text-link:hover { color: var(--navy-main); border-color: rgba(26,50,88,.5); }

/* Footer */
footer {
  background: var(--navy-deep);
  padding: 72px 48px 48px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 1.5rem; color: var(--white);
  letter-spacing: .14em; display: block; margin-bottom: 10px;
}
.footer-tagline {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: .76rem; color: rgba(255,255,255,.40);
  letter-spacing: .12em; margin-bottom: 60px;
}
.footer-nav {
  display: flex; gap: 36px; list-style: none; flex-wrap: wrap;
  padding-bottom: 44px; margin-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-nav a {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .76rem; color: rgba(255,255,255,.50); text-decoration: none;
  letter-spacing: .08em; transition: color .3s;
}
.footer-nav a:hover { color: rgba(255,255,255,.82); }
.footer-clinic {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: .70rem; color: rgba(255,255,255,.30);
  letter-spacing: .06em; line-height: 2.2; margin-bottom: 36px;
}
.footer-clinic-name {
  font-weight: 300; color: rgba(255,255,255,.40);
  display: block; margin-bottom: 6px;
}
.footer-copy {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .70rem; color: rgba(255,255,255,.22); letter-spacing: .14em;
}

/* ── Learn More ─────────────────────────────────── */
.learn-more {
  background: var(--off-white);
  padding: 104px 0;
  text-align: center;
}
.learn-more-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}
.learn-more-label {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: .68rem; color: rgba(26,50,88,.35);
  letter-spacing: .30em; text-transform: uppercase;
  display: block; margin-bottom: 28px;
}
.learn-more-rule {
  width: 28px; height: 1px;
  background: var(--border);
  margin: 0 auto 40px;
}
.learn-more-heading {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: clamp(1.15rem, 2.0vw, 1.5rem);
  color: var(--text-dark); line-height: 2.0; letter-spacing: .04em;
  margin-bottom: 40px;
}
.learn-more-body {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: clamp(.82rem, 1.2vw, .90rem);
  color: var(--text-mid); line-height: 2.3; letter-spacing: .04em;
  margin-bottom: 24px;
}
.learn-more-note {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: .78rem; color: var(--text-light);
  line-height: 2.2; letter-spacing: .06em;
  margin-bottom: 52px;
}
.learn-more-link {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: .80rem; color: var(--accent); text-decoration: none;
  letter-spacing: .10em;
  border-bottom: 1px solid rgba(31,79,163,.22); padding-bottom: 4px;
  transition: color .35s, border-color .35s;
}
.learn-more-link:hover {
  color: var(--navy-main);
  border-color: rgba(26,50,88,.45);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 22px 32px; }
  .nav.on { padding: 16px 32px; }
  .zz-text { padding: 64px 48px; }
  .container, .container-wide { padding: 0 32px; }
  .footer-inner { padding: 0 32px; }
}
@media (max-width: 680px) {
  .nav { padding: 18px 24px; }
  .nav.on { padding: 14px 24px; }
  .nav-links { display: none; }

  .zz,
  .zz.reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .zz .zz-photo,
  .zz.reverse .zz-photo { order: 1; min-height: 260px; }
  .zz .zz-text,
  .zz.reverse .zz-text  { order: 2; }

  .zz-text { padding: 52px 28px; }
  .container, .container-wide { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 0; }
  .philosophy-item { padding-top: 28px; padding-bottom: 28px; }
  footer {padding: 56px 24px 40px;}
  .footer-nav { gap: 20px; }
  .section { padding: 80px 0; }
    }