/* =========================================================
   SIMPLE NOTE 北スタジオ — global stylesheet
   引き算の美学：ホワイト × ナチュラルウッド、余白、細ゴシック
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --bg: #ffffff;
  --surface: #f7f5f1;       /* オフホワイト */
  --surface-2: #efece6;
  --text: #333333;
  --text-soft: #4a4a4a;
  --text-mute: #8a857d;
  --accent: #b5997a;        /* ナチュラルウッド・ベージュ */
  --accent-dark: #9c8061;
  --line: #e3ded5;          /* ヘアライン */
  --line-soft: #ece8e1;

  /* 見出しもゴシックに統一（書体ではなくウェイト・サイズ・字間で階層を表現）。
     変数名は据え置き、参照セレクタは自動追従。 */
  --font-serif: "Noto Sans JP", system-ui, sans-serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-label: "Jost", "Noto Sans JP", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 12vw, 128px);
  --radius: 4px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.5; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--text); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface); }
.section__head { text-align: center; margin-bottom: clamp(40px, 7vw, 72px); }

.label {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.heading {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.06em;
}
.section__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
  margin-top: 14px;
}
.section__lead {
  max-width: 40em; margin: 22px auto 0;
  color: var(--text-soft); font-size: 0.95rem;
}
.rule { width: 48px; height: 1px; background: var(--accent); margin: 22px auto 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-label); font-weight: 400;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 34px; border-radius: var(--radius);
  border: 1px solid var(--text); color: var(--text);
  background: transparent; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline:hover { background: var(--text); color: #fff; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 0.6em; line-height: 1; }
.brand__en { font-family: var(--font-label); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.22em; color: var(--text); }
.brand__jp { font-family: var(--font-serif); font-weight: 300; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--text-soft); }
.brand__sub { font-family: var(--font-sans); font-weight: 300; font-size: 0.64rem; letter-spacing: 0.14em; color: var(--text-mute); border-left: 1px solid var(--line); padding-left: 0.7em; }
@media (max-width: 420px) { .brand__sub { display: none; } }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.gnav__list a {
  font-family: var(--font-sans); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.08em;
  color: var(--text-soft); padding-block: 6px; position: relative; white-space: nowrap;
  transition: color .3s var(--ease);
}
.gnav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnav__list a:hover { color: var(--text); }
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__list a[aria-current="page"] { color: var(--text); }

.header-cta { padding: 11px 22px; }

.navtoggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.navtoggle span { width: 24px; height: 1px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer (mobile) */
.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
  overflow-y: auto;
}
.drawer[data-open] { opacity: 1; visibility: visible; }
.drawer__nav ul { display: flex; flex-direction: column; }
.drawer__nav li { border-bottom: 1px solid var(--line); }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 1em; padding: 22px 4px;
  font-family: var(--font-serif); font-weight: 300; font-size: 1.15rem; letter-spacing: 0.1em;
}
.drawer__nav a span { font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--accent); text-transform: uppercase; }
.drawer__actions { display: grid; gap: 14px; margin-top: 36px; }
.drawer__actions .btn { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; height: clamp(520px, 88vh, 860px); margin-top: var(--header-h); overflow: hidden; background: var(--surface); touch-action: pan-y; }
.hero__track { display: flex; height: 100%; transition: transform .8s var(--ease); will-change: transform; }
.hero__slide { flex: 0 0 100%; height: 100%; position: relative; }
.hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(72% 58% at 50% 50%, rgba(18,15,12,0.44), rgba(18,15,12,0) 72%),
    linear-gradient(to bottom, rgba(26,22,18,0.30), rgba(26,22,18,0.10) 38%, rgba(26,22,18,0.34)); }
.hero__inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; padding-inline: var(--gutter); pointer-events: none; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 30px); z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.5); cursor: pointer; transition: width .4s var(--ease), background .4s var(--ease); }
.hero__dots button[aria-current="true"] { width: 24px; background: #fff; }
.hero__title { font-family: var(--font-serif); font-weight: 200; font-size: clamp(2rem, 6.5vw, 4rem); letter-spacing: 0.08em; text-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 34px rgba(0,0,0,0.55); }
.hero__sub { margin-top: 1.4em; font-size: clamp(0.9rem, 2.4vw, 1.05rem); letter-spacing: 0.2em; font-weight: 400; text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 3px 24px rgba(0,0,0,0.55); }

/* =========================================================
   Concept
   ========================================================= */
.concept { text-align: center; }
.concept__text { max-width: 30em; margin-inline: auto; }
.concept__text p { font-size: clamp(1rem, 2.4vw, 1.15rem); line-height: 2.2; color: var(--text-soft); }
.concept__text p + p { margin-top: 1.8em; }
/* 句読点単位で折り返す：句の途中で割れず「で、」等の取り残しを防ぐ */
.concept__text p span { display: inline-block; }

/* =========================================================
   Works grid
   ========================================================= */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3.4vw, 44px); }
.work-card { display: block; }
.work-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(12%); transition: transform .8s var(--ease), filter .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); filter: grayscale(0); }
.work-card__title { font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.2em; margin-top: 18px; text-transform: uppercase; }
.work-card__meta { font-size: 0.84rem; color: var(--text-mute); margin-top: 6px; letter-spacing: 0.06em; }

.more-link { text-align: center; margin-top: clamp(40px, 6vw, 64px); }
.more-link a { font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid transparent; padding-bottom: 4px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.more-link a:hover { color: var(--text); border-color: var(--text); }

/* =========================================================
   5 Concepts (共存) list
   ========================================================= */
.coexist__inner { display: grid; gap: clamp(40px, 6vw, 80px); }
.coexist__intro .section__title { text-align: left; }
.coexist__intro p { color: var(--text-soft); font-size: 0.94rem; max-width: 32em; margin-top: 18px; }
.coexist__list li { display: flex; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 30px) 4px; border-bottom: 1px solid var(--line); }
.coexist__list li:first-child { border-top: 1px solid var(--line); }
.coexist__num { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--accent); }
.coexist__pair { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.05rem, 2.6vw, 1.3rem); letter-spacing: 0.08em; flex: 1; }
.coexist__plus { color: var(--text-mute); font-size: 1.2rem; transition: transform 0.3s ease; }
.coexist__note { color: var(--text-mute); font-size: 0.86rem; letter-spacing: 0.04em; text-align: right; flex-basis: 100%; }
.coexist__list--full li { flex-wrap: wrap; }

/* アコーディオン版（トップページ）: li は枠のみ、行はbuttonが担う */
.coexist__list--acc li { display: block; padding: 0; }
.coexist__row {
  display: flex; align-items: center; gap: 24px; width: 100%;
  padding: clamp(22px, 3vw, 30px) 4px;
  background: transparent; border: 0; cursor: pointer;
  text-align: left; color: inherit; font: inherit;
}
.coexist__row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.coexist__row[aria-expanded="true"] .coexist__plus { transform: rotate(45deg); }
.coexist__panel { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.coexist__panel p { margin: 0; padding: 0 4px 24px; color: var(--text-mute); font-size: 0.9rem; letter-spacing: 0.04em; }
.coexist__row[aria-expanded="true"] + .coexist__panel { max-height: 16em; }
@media (min-width: 760px) {
  .coexist__list--full .coexist__note { flex-basis: auto; max-width: 22em; }
}
@media (min-width: 880px) {
  .coexist__inner { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .coexist__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* =========================================================
   Strengths (3 columns)
   ========================================================= */
.strengths__grid { display: grid; gap: clamp(36px, 5vw, 56px); }
.strength { text-align: center; }
.strength__num { font-family: var(--font-label); font-size: 1.4rem; color: var(--accent); letter-spacing: 0.1em; }
.strength__title { font-family: var(--font-serif); font-weight: 300; font-size: 1.2rem; letter-spacing: 0.08em; margin: 16px 0 14px; }
.strength__desc { font-size: 0.9rem; color: var(--text-soft); }
@media (min-width: 760px) { .strengths__grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Split (image + text, asymmetric)
   ========================================================= */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__body .section__title, .split__body .label { text-align: left; }
.split__body p { color: var(--text-soft); margin-top: 20px; font-size: 0.96rem; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta { background: var(--surface); text-align: center; padding-block: var(--section-y); }
.cta__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: 0.1em; margin-top: 16px; }
.cta__lead { color: var(--text-soft); margin-top: 18px; font-size: 0.92rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }

/* =========================================================
   Page header (sub pages)
   ========================================================= */
.page-head { margin-top: var(--header-h); padding-block: clamp(56px, 9vw, 104px); text-align: center; background: var(--surface); }
.page-head__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.4rem, 3.4vw, 1.9rem); letter-spacing: 0.16em; margin-top: 12px; }

/* =========================================================
   Blog list
   ========================================================= */
.bloglist { display: grid; gap: 0; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; margin-bottom: clamp(36px, 5vw, 56px); }
.blog-filter a { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.blog-filter a[aria-current] { color: var(--text); border-color: var(--accent); }
.blog-item { display: grid; grid-template-columns: 1fr; gap: 18px; padding: clamp(26px, 4vw, 38px) 0; border-bottom: 1px solid var(--line); }
.blog-item:first-child { border-top: 1px solid var(--line); }
.blog-item__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.blog-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-item:hover .blog-item__media img { transform: scale(1.04); }
.blog-item__meta { display: flex; align-items: center; gap: 16px; }
.blog-item__date { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.12em; color: var(--text-mute); }
.blog-item__cat { font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); padding: 3px 10px; border-radius: 2px; }
.blog-item__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.05rem, 2.2vw, 1.25rem); letter-spacing: 0.06em; margin-top: 12px; }
.blog-item__excerpt { font-size: 0.9rem; color: var(--text-soft); margin-top: 10px; }
@media (min-width: 720px) {
  .blog-item { grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
  .blog-item__media { margin-bottom: 0; }
}

/* Pagination */
.pagination { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.pagination a, .pagination span { font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--text-mute); width: 36px; height: 36px; display: grid; place-items: center; }
.pagination [aria-current] { color: var(--text); border-bottom: 1px solid var(--accent); }

/* =========================================================
   Article (blog single)
   ========================================================= */
.article-date { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--text-mute); margin-top: 14px; }
.article { max-width: 800px; margin-inline: auto; }
.article__hero { margin-bottom: clamp(32px, 5vw, 52px); border-radius: var(--radius); overflow: hidden; }
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__body p { color: var(--text-soft); font-size: 1rem; line-height: 2.1; margin-bottom: 1.8em; }
.article__body h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.2rem, 3vw, 1.5rem); letter-spacing: 0.06em; margin: 2.2em 0 0.9em; padding-left: 16px; border-left: 2px solid var(--accent); }
.article__body ul { margin-bottom: 1.8em; }
.article__body li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.article__body li a { color: var(--text-soft); font-size: 0.96rem; transition: color .3s var(--ease); }
.article__body li a:hover { color: var(--accent); }

/* =========================================================
   Company table
   ========================================================= */
.profile { max-width: 820px; margin-inline: auto; }
.profile__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.profile__row:first-child { border-top: 1px solid var(--line); }
.profile__key { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.profile__val { color: var(--text-soft); font-size: 0.95rem; }
@media (min-width: 680px) { .profile__row { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; } }

/* =========================================================
   Staff
   ========================================================= */
.staff__grid { display: grid; gap: clamp(32px, 5vw, 48px); }
.staff-card { text-align: center; }
.staff-card__photo { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 22px; position: relative; }
.staff-card__photo img, img.staff-card__photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.staff-card__photo:empty::after,
.staff-card__photo:not(:has(img))::after {
  content: attr(data-initial);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 200; font-size: 3rem;
  color: var(--accent); opacity: 0.55;
}
.staff-card__role { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.staff-card__name { font-family: var(--font-serif); font-weight: 300; font-size: 1.2rem; letter-spacing: 0.1em; margin: 8px 0 14px; }
.staff-card__msg { font-size: 0.88rem; color: var(--text-soft); max-width: 22em; margin-inline: auto; }
@media (min-width: 720px) { .staff__grid { grid-template-columns: repeat(3, 1fr); } }

.subgroup-label { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); text-align: center; margin: clamp(40px, 6vw, 64px) 0 clamp(24px, 3vw, 36px); }
.subgroup-label:first-of-type { margin-top: 0; }
/* 職人グリッド：人数が少なくても中央寄せ（2名でも左寄りにならない） */
.staff__grid--craft { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 5vw, 48px); max-width: 980px; margin-inline: auto; }
.staff__grid--craft .staff-card { flex: 0 1 320px; }

/* Pets（ミニマル：写真＋名前のみ。装飾なし） */
.pets__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); max-width: 1000px; margin-inline: auto; }
.pet-card { text-align: center; }
.pet-card__photo { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.pet-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.pet-card__name { font-family: var(--font-serif); font-weight: 300; font-size: 0.95rem; letter-spacing: 0.1em; color: var(--text); margin-top: 12px; }
.pet-card__name span { display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-mute); margin-top: 4px; }
@media (min-width: 560px) { .pets__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .pets__grid { grid-template-columns: repeat(4, 1fr); } }

.message__sign { margin-top: 28px !important; font-family: var(--font-serif); font-weight: 300; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--text); line-height: 2; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
.contact-intro p { color: var(--text-soft); font-size: 0.95rem; }
.contact-info { margin-top: 36px; display: grid; gap: 18px; }
.contact-info dt { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.contact-info dd { color: var(--text-soft); font-size: 0.94rem; }
.form-field { margin-bottom: 26px; }
.form-field label { display: block; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.form-field .req { color: var(--accent); margin-left: 8px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.form-field select {
  width: 100%; font: inherit; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 12px 2px; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-radios { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.form-radios label { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0.04em; font-family: var(--font-sans); font-size: 0.92rem; color: var(--text); margin: 0; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--text-soft); margin: 8px 0 28px; }
.form-submit { width: 100%; }
.contact-map { aspect-ratio: 16 / 9; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: var(--text-mute); font-family: var(--font-label); letter-spacing: 0.18em; font-size: 0.8rem; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}

/* =========================================================
   Works single (detail)
   ========================================================= */
/* 施工事例トップ：全体が映るスライダー（写真は3:2でトリミングせず表示） */
.ws-slider { position: relative; margin-top: var(--header-h); max-width: 1100px; margin-inline: auto; overflow: hidden; background: var(--surface); touch-action: pan-y; }
.ws-slider__track { display: flex; transition: transform .8s var(--ease); will-change: transform; }
.ws-slide { flex: 0 0 100%; }
.ws-slide picture { display: block; width: 100%; }
.ws-slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.ws-slider__dots { display: flex; gap: 9px; justify-content: center; padding-top: 16px; }
.ws-slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background .4s var(--ease); }
.ws-slider__dots button[aria-current="true"] { width: 24px; background: var(--accent); }
.ws-intro__head { margin-bottom: clamp(32px, 5vw, 52px); }
/* スペック欄は非表示化（クライアント要望）につき1カラム。行長を読みやすく制限 */
.ws-body { max-width: 46em; }
.ws-comment { color: var(--text-soft); font-size: 0.98rem; line-height: 2.1; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.gallery__item { overflow: hidden; border-radius: var(--radius); background: var(--surface); margin: 0; }
.gallery__item picture { display: block; width: 100%; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 88px); }
.site-footer__inner { display: grid; gap: 40px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 18px; }
.site-footer__addr { font-size: 0.86rem; color: var(--text-mute); line-height: 2; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.site-footer__nav a { font-size: 0.88rem; color: var(--text-soft); }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__bar { border-top: 1px solid var(--line-soft); }
.site-footer__barinner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 22px; }
.site-footer__copy, .site-footer__legal a { font-size: 0.72rem; color: var(--text-mute); letter-spacing: 0.06em; }
.site-footer__legal { display: flex; gap: 20px; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .site-footer__nav ul { grid-template-columns: repeat(3, auto); justify-content: end; }
}

/* =========================================================
   見出しのゴシック統一に伴うウェイト調整
   本文(300)より重い400で、書体ではなくウェイトで階層を表現。
   ========================================================= */
.section__title,
.page-head__title,
.blog-item__title,
.article__body h2,
.strength__title,
.cta__title,
.coexist__pair,
.staff-card__name { font-weight: 400; }
.hero__title { font-weight: 300; }

/* =========================================================
   イベント（独立ページ）
   ========================================================= */
.event-status { font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; border: 1px solid var(--line); }
.event-status--open { color: #fff; background: var(--accent); border-color: var(--accent); }
.event-status--closed { color: var(--text-mute); background: var(--surface); }
.event-info { margin-top: 12px; display: grid; gap: 6px; }
.event-info div { display: flex; gap: 12px; font-size: 0.92rem; color: var(--text-soft); }
.event-info dt { flex: 0 0 3.5em; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.event-info dd { margin: 0; }
.event-reserve { margin-top: 20px; }
.event-detail-spec { max-width: 820px; margin: 0 auto clamp(28px, 5vw, 44px); }
.event-reserve-cta { text-align: center; margin-top: clamp(32px, 5vw, 48px); }
.event-reserve-cta .btn { min-width: 280px; }
.event-closed-note { text-align: center; color: var(--text-mute); margin-top: clamp(32px, 5vw, 48px); }

/* トップ：最新イベント導線カード */
.event-feature { display: grid; grid-template-columns: 1fr; align-items: stretch; max-width: 980px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.event-feature:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.08); transform: translateY(-3px); }
.event-feature__media { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; }
.event-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-feature:hover .event-feature__media img { transform: scale(1.04); }
.event-feature__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.event-feature__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-bottom: 16px; }
.event-feature__date { font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.08em; color: var(--text-soft); }
.event-feature__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.15rem, 2.6vw, 1.45rem); letter-spacing: 0.04em; line-height: 1.6; margin-bottom: 12px; }
.event-feature__place { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 24px; }
.event-feature__btn { pointer-events: none; }
@media (min-width: 760px) {
  .event-feature { grid-template-columns: 1.05fr 1fr; }
  /* デスクトップは本文の高さに合わせて画像セルを伸縮（絶対配置の画像が埋めるので縦長化しない） */
  .event-feature__media { aspect-ratio: auto; min-height: 240px; }
}

/* =========================================================
   モバイル：ヒーローの横長写真が大きく切れないよう、
   枠の縦横比を写真（3:2）に合わせて全体が収まるようにする。
   ========================================================= */
@media (max-width: 640px) {
  .hero { height: auto; aspect-ratio: 5 / 4; }
  .hero__title { font-size: clamp(1.35rem, 6vw, 1.9rem); letter-spacing: 0.06em; }
  .hero__sub { margin-top: 0.9em; font-size: clamp(0.8rem, 3.2vw, 0.92rem); letter-spacing: 0.16em; }
}

/* =========================================================
   Mobile sticky CTA bar
   ========================================================= */
.mobilebar { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
.mobilebar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 4px; font-size: 0.74rem; color: var(--text); border-right: 1px solid var(--line-soft); }
.mobilebar__item:last-child { border-right: 0; }
.mobilebar__en { font-family: var(--font-label); font-size: 0.56rem; letter-spacing: 0.14em; color: var(--accent); }
.mobilebar__item--tel { color: var(--accent-dark); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* グリッド内のスタッガー表示（CSSのみ・GPU負荷小） */
.works-grid .reveal:nth-child(2), .strengths__grid .reveal:nth-child(2),
.pets__grid .reveal:nth-child(2), .staff__grid .reveal:nth-child(2),
.coexist__list .reveal:nth-child(2) { transition-delay: .08s; }
.works-grid .reveal:nth-child(3), .strengths__grid .reveal:nth-child(3),
.pets__grid .reveal:nth-child(3), .staff__grid .reveal:nth-child(3) { transition-delay: .16s; }
.works-grid .reveal:nth-child(4), .pets__grid .reveal:nth-child(4), .staff__grid .reveal:nth-child(4) { transition-delay: .24s; }
.pets__grid .reveal:nth-child(n+5) { transition-delay: .32s; }

/* カードのホバー浮き（控えめ） */
.work-card, .blog-item { transition: transform .5s var(--ease); }
.work-card:hover, .blog-item:hover { transform: translateY(-4px); }

/* ヒーロー文字の入場（読み込み時に一度だけ） */
@keyframes snk-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__title { animation: snk-rise 1s var(--ease) both; }
.hero__sub { animation: snk-rise 1s var(--ease) .18s both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .work-card:hover, .blog-item:hover { transform: none; }
  .hero__title, .hero__sub { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive switches
   ========================================================= */
@media (max-width: 900px) {
  .gnav, .header-cta { display: none; }
  .navtoggle { display: flex; }
}
@media (min-width: 901px) {
  .drawer { display: none; }
  .mobilebar { display: none; }
}
@media (max-width: 900px) {
  body { padding-bottom: 60px; } /* room for mobile bar */
}
