/* ============================================================
   Grace Design System — Webfonts
   ------------------------------------------------------------
   Three families carry the brand:
   - Cormorant Garamond : the elegant English display serif
   - Zen Kaku Gothic New : the workhorse UI + Japanese body face
   - Zen Maru Gothic     : the warm, rounded "pet-friendly" accent
   These are loaded from Google Fonts. See readme.md → VISUAL
   FOUNDATIONS for why each was chosen and what it replaces.
   ============================================================ */

/* 2026-10-30: 読み込みは index.html・404.html の head の <link> へ移した（CSS の @import だと最初の表示が遅れるため） */

/* ============================================================
   Grace Design System — Color
   ------------------------------------------------------------
   The palette is built around one signature: a calm seafoam
   AQUA (the brand's water — soft baths, gentle care) set on
   warm CREAM paper, with a teal-tinted INK for text and a
   soft BLUSH as the warm secondary (the ribbon on a freshly
   groomed pup). Cool primary, warm ground — that tension is
   the whole feeling.
   ============================================================ */

:root {
  /* ---- Aqua — signature / primary -------------------------- */
  --aqua-50:  #F2FAFB;
  --aqua-100: #E3F4F6;
  --aqua-200: #CFEBEF;   /* the soft accent rectangles */
  --aqua-300: #A9DCE2;
  --aqua-400: #79C6CF;
  --aqua-500: #4FAEB9;   /* primary */
  --aqua-600: #3C929D;   /* hover / pressed */
  --aqua-700: #2F757E;
  --aqua-800: #245A61;
  --aqua-900: #1C4248;

  /* ---- Cream — warm paper neutrals ------------------------- */
  --cream-50:  #FDFBF7;  /* page ground */
  --cream-100: #F8F3EB;
  --cream-200: #F0E9DD;
  --cream-300: #E5DBCB;
  --sand-400:  #D7C9B3;

  /* ---- Ink — teal-tinted charcoals ------------------------- */
  --ink-900: #222A2C;    /* display headings */
  --ink-800: #2E3839;
  --ink-700: #3D4849;    /* body text */
  --ink-600: #566163;
  --ink-500: #636E70;    /* muted / captions（2026-10-30 元 #6E797B。薄桃の背景でも 4.5:1 以上になるよう少し濃く） */
  --ink-400: #98A1A2;    /* placeholder */
  --ink-300: #C2C8C7;    /* disabled */

  /* ---- Blush — warm secondary accent ----------------------- */
  --blush-100: #FBEDEA;
  --blush-200: #F6DAD3;
  --blush-300: #EFC2B8;
  --blush-500: #E0998C;  /* secondary accent */
  --blush-600: #CB7E70;

  /* ---- Hairlines & shadow ink ------------------------------ */
  --line-soft:   #EDE6DA;  /* hairline on cream */
  --line-strong: #DFD5C4;
  --line-aqua:   #CFEBEF;
  --shadow-ink:  31 66 72; /* aqua-900 as rgb, for soft tinted shadows */

  /* ---- Semantic states ------------------------------------- */
  --success-500: #5BA286;
  --success-100: #E5F1EA;
  --warning-500: #D99B52;
  --warning-100: #F8ECD9;
  --danger-500:  #CE6F66;
  --danger-100:  #F7E2DF;
  --info-500:    var(--aqua-500);
  --info-100:    var(--aqua-100);

  /* ============================================================
     Semantic aliases — reference THESE in components
     ============================================================ */
  --surface-page:     var(--cream-50);
  --surface-card:     #FFFFFF;
  --surface-raised:   #FFFFFF;
  --surface-sunken:   var(--cream-100);
  --surface-tint:     var(--aqua-50);
  --surface-tint-2:   var(--aqua-100);
  --surface-accent:   var(--aqua-200);
  --surface-inverse:  var(--ink-900);
  --surface-blush:    var(--blush-100);

  --text-strong:    var(--ink-900);
  --text-body:      var(--ink-700);
  --text-muted:     var(--ink-500);
  --text-faint:     var(--ink-400);
  --text-on-aqua:   #FFFFFF;
  --text-on-inverse:#FBF8F2;
  --text-link:      var(--aqua-700);

  --border-soft:    var(--line-soft);
  --border-strong:  var(--line-strong);
  --border-aqua:    var(--line-aqua);
  --border-focus:   var(--aqua-500);

  --brand-primary:    var(--aqua-500);
  --brand-primary-ink:var(--aqua-700);
  --brand-secondary:  var(--blush-500);
}

/* ============================================================
   Grace Design System — Typography
   ------------------------------------------------------------
   Display = Cormorant Garamond (English, elegant, often italic)
   Sans    = Zen Kaku Gothic New (UI + Japanese body, clean)
   Round   = Zen Maru Gothic (warm rounded accents, eyebrows)
   The bilingual heading pattern (EN italic eyebrow + JP heading)
   is the brand's typographic signature.
   ============================================================ */

:root {
  /* ---- Families -------------------------------------------- */
  --font-display: 'Cormorant Garamond', 'Shippori Mincho', Georgia, serif;
  --font-sans: 'Zen Kaku Gothic New', -apple-system, 'Hiragino Kaku Gothic ProN',
               'Yu Gothic', Meiryo, sans-serif;
  --font-round: 'Zen Maru Gothic', 'Zen Kaku Gothic New', sans-serif;
  --font-body: var(--font-sans);

  /* ---- Fluid display scale (clamp) ------------------------- */
  --fs-display: clamp(3.25rem, 6vw, 5rem);   /* @kind font */
  --fs-h1: clamp(2.25rem, 4vw, 3.25rem);     /* @kind font */
  --fs-h2: clamp(1.75rem, 3vw, 2.4rem);      /* @kind font */
  --fs-h3: clamp(1.35rem, 2vw, 1.6rem);      /* @kind font */
  --fs-h4: 1.2rem;                           /* @kind font */

  /* ---- Static UI / body scale ------------------------------ */
  --fs-xs:  0.75rem;    /* @kind font */
  --fs-sm:  0.875rem;   /* @kind font */
  --fs-base:1rem;       /* @kind font */
  --fs-md:  1.0625rem;  /* @kind font */
  --fs-lg:  1.1875rem;  /* @kind font */
  --fs-xl:  1.375rem;   /* @kind font */

  /* ---- Eyebrow (the EN label above JP headings) ------------ */
  --fs-eyebrow: 0.8125rem;  /* @kind font */

  /* ---- Weights --------------------------------------------- */
  --fw-reg: 400;   /* @kind font */
  --fw-med: 500;   /* @kind font */
  --fw-bold: 700;  /* @kind font */

  /* ---- Line height ----------------------------------------- */
  --lh-tight: 1.12;     /* @kind font */
  --lh-snug:  1.32;     /* @kind font */
  --lh-body:  1.9;      /* @kind font */
  --lh-relaxed: 2.05;   /* @kind font */

  /* ---- Letter spacing -------------------------------------- */
  --ls-display: 0.01em;   /* @kind font */
  --ls-eyebrow: 0.34em;   /* @kind font */
  --ls-caps:    0.18em;   /* @kind font */
  --ls-body:    0.02em;   /* @kind font */
  --ls-jp:      0.06em;    /* @kind font */
}

/* ============================================================
   Grace Design System — Spacing & Layout
   ------------------------------------------------------------
   8px base rhythm with a couple of half-steps. Sections breathe
   — the brand is built on generous whitespace.
   ============================================================ */

:root {
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;

  /* ---- Section rhythm -------------------------------------- */
  --section-y: clamp(72px, 10vw, 160px);   /* @kind spacing */
  --block-gap: clamp(40px, 5vw, 72px);

  /* ---- Container widths ------------------------------------ */
  --container-xl: 1280px;
  --container-lg: 1080px;
  --container-md: 860px;
  --container-sm: 640px;
  --gutter: clamp(20px, 5vw, 64px);   /* @kind spacing */
}

/* ============================================================
   Grace Design System — Radii, Shadows, Motion
   ------------------------------------------------------------
   Soft but restrained. Corners are gently rounded; pills are
   used for buttons and tags. Shadows are low, wide and
   AQUA-TINTED — never neutral grey — so cards feel like they
   float on water rather than on paper.
   ============================================================ */

:root {
  /* ---- Radius ---------------------------------------------- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-lozenge: 44px;   /* @kind radius */
  --radius-arch: 50%;       /* @kind radius */
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Shadows (aqua-tinted, soft) ------------------------- */
  --shadow-xs: 0 1px 2px rgba(var(--shadow-ink) / 0.06);
  --shadow-sm: 0 4px 14px rgba(var(--shadow-ink) / 0.07);
  --shadow-md: 0 10px 30px rgba(var(--shadow-ink) / 0.09);
  --shadow-lg: 0 24px 60px rgba(var(--shadow-ink) / 0.12);
  --shadow-float: 0 30px 80px rgba(var(--shadow-ink) / 0.16);

  /* focus ring */
  --ring: 0 0 0 3px var(--aqua-200);
  --ring-strong: 0 0 0 3px var(--aqua-300);

  /* ---- Motion ---------------------------------------------- */
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);   /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);        /* @kind other */
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);     /* @kind other */
  --dur-fast: 140ms;     /* @kind other */
  --dur-base: 240ms;     /* @kind other */
  --dur-slow: 480ms;     /* @kind other */
  --dur-reveal: 900ms;   /* @kind other */
}

/* ============================================================
   Grace Design System — Base layer
   ------------------------------------------------------------
   Light reset + brand defaults + a few shared utility classes
   (the bilingual heading pattern, eyebrow, accent block).
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: var(--fw-med); color: var(--text-strong); line-height: var(--lh-tight); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--aqua-200); color: var(--ink-900); }

/* ---- Heading lockups -----------------------------------------
   The signature: a small rounded uppercase kicker + a friendly
   rounded JP heading. (No italic-serif eyebrow — that's the
   reference's trope, not ours.)
---------------------------------------------------------------- */
.grace-kicker {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.grace-kicker::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--aqua-200);
  display: inline-block;
}

.grace-heading {
  font-family: var(--font-round);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);
  letter-spacing: var(--ls-jp);
  line-height: var(--lh-snug);
  color: var(--text-strong);
}

.grace-display {
  font-family: var(--font-display);
  font-weight: var(--fw-med);
  font-size: var(--fs-display);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--text-strong);
}

/* Big editorial index numeral (01 / 02 …) */
.grace-index {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--aqua-400);
  line-height: 0.8;
}

/* ---- Arch frame motif ----------------------------------------
   A rounded-top "spa doorway / bubble" frame — the brand's way
   of holding a photo. Replaces the reference's square mat.
---------------------------------------------------------------- */
.grace-arch {
  border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lozenge) var(--radius-lozenge);
  overflow: hidden;
}
.grace-lozenge { border-radius: var(--radius-lozenge); }

/* ============================================================
   Grace — Website UI kit (v2: arches, numerals, lozenges)
   An original layout language. Composes the design-system
   components; only scaffold/layout styles live here.
   ============================================================ */

.gw { font-family: var(--font-sans); color: var(--text-body); background: var(--surface-page); overflow-x: clip; }
.gw *, .gw *::before, .gw *::after { box-sizing: border-box; }
.gw-container { max-width: var(--container-xl); margin-inline: auto; padding-inline: var(--gutter); }
.gw-narrow { max-width: var(--container-md); }

/* ---- Floating capsule header ------------------------------- */
.gw-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 40; display:flex; justify-content:center; pointer-events:none; }
.gw-header__bar { pointer-events:auto; display:flex; align-items:center; gap: 22px; height: 66px; padding: 0 14px 0 24px;
  background: rgba(253,251,247,.82); backdrop-filter: blur(14px); border:1px solid rgba(121,198,207,.28);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-md); max-width: calc(100vw - 32px); }
.gw-logo { display:flex; flex-direction:column; align-items:flex-start; gap:1px; text-decoration:none; line-height:1; }
.gw-logo .grace { font-family: var(--font-display); font-size: 27px; font-weight: 600; color: var(--ink-900); letter-spacing:.03em; line-height:.9; }
.gw-logo .pet { font-family: var(--font-round); font-size: 8.5px; letter-spacing:.28em; color: var(--aqua-600); text-transform:uppercase; padding-left:.28em; }
.gw-nav { display:flex; align-items:center; gap: 4px; }
.gw-nav a { font-family: var(--font-round); font-size: 13.5px; color: var(--ink-700); padding: 8px 14px; border-radius: var(--radius-pill); transition: background var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft); }
.gw-nav a:hover { background: var(--aqua-100); color: var(--aqua-700); }
.gw-header__cta { display:flex; align-items:center; gap:10px; }
.gw-burger { display:none; }

/* ---- Hero (bento) ------------------------------------------ */
.gw-hero { padding-top: 120px; padding-bottom: clamp(40px, 7vw, 80px); }
.gw-hero__grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items:center; }
.gw-hero__copy { display:flex; flex-direction:column; align-items:flex-start; gap: 22px; }
.gw-hero__title { font-family: var(--font-round); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.24; letter-spacing: .02em; color: var(--ink-900); }
.gw-hero__title .accent { color: var(--aqua-600); }
.gw-hero__sub { font-size: var(--fs-lg); color: var(--text-muted); line-height: var(--lh-body); max-width: 42ch; }
.gw-hero__row { display:flex; align-items:center; gap: 16px; flex-wrap: wrap; }
.gw-chip { display:inline-flex; align-items:center; gap:10px; background: var(--surface-card); border:1px solid var(--line-soft);
  border-radius: var(--radius-pill); padding: 9px 18px 9px 12px; box-shadow: var(--shadow-xs); }
.gw-chip i { width:30px; height:30px; border-radius:50%; background: var(--aqua-100); color: var(--aqua-600); display:flex; align-items:center; justify-content:center; font-size:16px; }
.gw-chip b { font-family: var(--font-round); font-size: 14px; color: var(--ink-800); font-weight:700; }
.gw-chip span { font-size: 12px; color: var(--text-muted); }

/* hero visual cluster */
.gw-hero__visual { position: relative; }
.gw-hero__arch { aspect-ratio: 4/5; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lozenge) var(--radius-lozenge);
  overflow:hidden; box-shadow: var(--shadow-lg); }
.gw-hero__mini { position:absolute; left: -28px; bottom: 26px; width: 132px; aspect-ratio: 3/4;
  border-radius: 80px 80px var(--radius-md) var(--radius-md); overflow:hidden; box-shadow: var(--shadow-lg); border:5px solid var(--surface-card); }
.gw-sticker { position:absolute; right: -14px; top: -14px; width: 96px; height:96px; border-radius:50%;
  background: var(--blush-500); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  box-shadow: var(--shadow-md); transform: rotate(-8deg); }
.gw-sticker .s1 { font-family: var(--font-display); font-style:italic; font-size: 26px; line-height:1; }
.gw-sticker .s2 { font-family: var(--font-round); font-size: 9px; letter-spacing:.14em; text-transform:uppercase; }

/* ---- Section scaffolding ----------------------------------- */
.gw-section { padding-block: var(--section-y); }
.gw-panel { border-radius: clamp(28px, 4vw, 56px); padding: clamp(32px, 5vw, 72px); }
.gw-panel--aqua { background: var(--surface-tint); }
.gw-panel--blush { background: var(--surface-blush); }
.gw-panel--ink { background: var(--ink-900); color: var(--cream-100); }
.gw-split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items:center; }
.gw-split__text { display:flex; flex-direction:column; gap: 20px; align-items:flex-start; }
.gw-split__text p { color: var(--text-muted); line-height: var(--lh-body); }

/* arch frame helper */
.gw-arch { aspect-ratio: 4/5; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lozenge) var(--radius-lozenge); overflow:hidden; box-shadow: var(--shadow-md); }
.gw-arch--wide { aspect-ratio: 5/4; }

/* ---- Photo ----------------------------------------------- */
.gw-img { width:100%; height:100%; object-fit:cover; display:block; }

/* ---- Service arch cards ------------------------------------ */
.gw-svc { display:flex; flex-direction:column; gap: 16px; }
.gw-svc__arch { aspect-ratio: 1/1.05; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lozenge) var(--radius-lozenge); overflow:hidden; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft); }
.gw-svc:hover .gw-svc__arch { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gw-svc__en { font-family: var(--font-display); font-style:italic; font-size: 15px; color: var(--aqua-600); }
.gw-svc__title { font-family: var(--font-round); font-weight:700; font-size: 19px; color: var(--ink-900); margin: 2px 0 6px; }
.gw-svc__text { font-size: 14px; color: var(--text-muted); line-height: 1.85; }

/* ---- Gallery (arch tiles) ---------------------------------- */
.gw-gallery { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gw-gallery .gw-tile { aspect-ratio: 3/4; border-radius: 90px 90px var(--radius-md) var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm); }
.gw-gallery .gw-tile:nth-child(even){ margin-top: 26px; }

/* ---- Access ------------------------------------------------ */
.gw-access { display:grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 48px); align-items:stretch; }
.gw-map { border-radius: var(--radius-lozenge); overflow:hidden; box-shadow: var(--shadow-sm); min-height: 320px; }
.gw-info dl { margin:0; display:grid; grid-template-columns: 92px 1fr; gap: 14px 18px; }
.gw-info dt { font-family: var(--font-round); font-weight:700; font-size: 13px; color: var(--aqua-700); }
.gw-info dd { margin:0; font-size: 14.5px; color: var(--ink-700); line-height:1.7; }
.gw-info dd a[href^="tel:"] { display:inline-block; padding:12px 0; margin:-12px 0; }

/* ---- Footer ------------------------------------------------ */
.gw-footer { background: var(--ink-900); color: var(--cream-100); border-radius: var(--radius-lozenge) var(--radius-lozenge) 0 0; padding-block: clamp(52px, 7vw, 84px) 26px; margin-top: var(--section-y); }
.gw-footer a { color: var(--cream-100); }
.gw-footer__top { display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom: 36px; border-bottom:1px solid rgba(255,255,255,.12); }
.gw-footer__nav { display:grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; }
.gw-footer__nav a { font-family: var(--font-round); font-size:14px; opacity:.86; transition: opacity var(--dur-base), color var(--dur-base); }
.gw-footer__nav a:hover { opacity:1; color: var(--aqua-300); }
.gw-footer__copy { text-align:center; padding-top: 24px; font-family: var(--font-round); font-size: 12px; letter-spacing:.08em; color: rgba(255,255,255,.5); }

/* ---- Floating booking + back-to-top ------------------------ */
.gw-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; }

/* ---- Responsive -------------------------------------------- */
@media (max-width: 900px) {
  .gw-nav { display:none; }
  .gw-burger { display:inline-flex; }
  .gw-hero__grid, .gw-split, .gw-access { grid-template-columns: 1fr; }
  .gw-hero { padding-top: 104px; }
  .gw-gallery { grid-template-columns: repeat(2, 1fr); }
  .gw-hero__mini { display:none; }
}
