/* =========================================================================
   シナのモノがたり コーポレートサイト
   ========================================================================= */
:root {
  --bg: #fbf8f1;
  --paper: #f3eee2;
  --white: #fff;
  --ink: #2b2823;
  --muted: #6d665b;
  --line: #e2dacb;
  --green: #3f8a4e;
  --green-deep: #2c5f37;
  --green-pale: #e7f0e3;
  --rose: #d7465b;
  --pink: #f6d3d9;

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 76px;
  --shadow: 0 10px 30px -18px rgb(60 50 30 / .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 2em;
  border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green); color: #fff;
  font-weight: 700; text-decoration: none; letter-spacing: .08em;
  transition: background .2s, color .2s, transform .2s;
}
.btn::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--green-deep); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn--light:hover { background: var(--green-pale); border-color: var(--green-pale); }

.text-link {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6em;
  color: var(--green-deep); font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }
.text-link--light { color: #fff; }
.more { margin-top: 48px; text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 241 / .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 68px; height: auto; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: .08em; }
.brand__name small { display: block; margin-top: 3px; font-family: var(--font-sans); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .06em; }

.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.global-nav ul a { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.3; padding: 6px 0; position: relative; }
.nav__ja { font-size: 14px; font-weight: 500; }
.nav__en { font-size: 9px; letter-spacing: .18em; color: var(--green); }
.global-nav ul a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 2px; background: var(--green);
  transition: width .25s, left .25s;
}
.global-nav ul a:hover::after, .global-nav ul a[aria-current="page"]::after { width: 100%; left: 0; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand__logo { width: 54px; }
  .brand__name { font-size: 17px; }
  .brand__name small { font-size: 10px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--green); cursor: pointer;
  }
  .nav-toggle span:not(.visually-hidden) { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; background: var(--bg);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .global-nav ul a::after { display: none; }
  .nav__ja { font-size: 17px; }
  .nav__en { font-size: 11px; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter があると fixed のメニューがヘッダー内に閉じ込められるため外す */
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green-deep); color: #fff; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head__en {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--green);
}
.section-head__en::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section--green .section-head__en { color: #b9dbb7; }
.section-head__ja {
  margin-top: 10px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.55; letter-spacing: .08em;
}
.section-head__lead { margin-top: 16px; color: var(--muted); }

/* ---------- hero (top) ---------- */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10vw; top: -20vw; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, var(--pink) 0%, rgb(246 211 217 / 0) 70%); opacity: .6; pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 72px);
  max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter);
}
.hero__eyebrow { font-weight: 700; color: var(--green); letter-spacing: .14em; }
.hero__title {
  margin-top: 18px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 5vw, 68px); line-height: 1.4; letter-spacing: .1em;
}
.nowrap { white-space: nowrap; }
.hero__text { margin-top: 24px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-news {
  display: flex; align-items: baseline; gap: 4px 18px; max-width: 560px; margin-top: 28px; padding: 12px 18px;
  background: rgb(255 255 255 / .8); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; line-height: 1.7;
}
.hero-news[hidden] { display: none; }
.hero-news__label { flex: none; font-weight: 700; color: var(--green-deep); letter-spacing: .1em; }
.hero-news__list { display: grid; gap: 4px; min-width: 0; }
.hero-news__list a { text-decoration: none; }
.hero-news__list a:hover { color: var(--green-deep); text-decoration: underline; }
@media (max-width: 520px) { .hero-news { flex-direction: column; } }
.hero__visual { position: relative; padding-bottom: 14%; }
.hero__photo { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { aspect-ratio: 4 / 3; width: 86%; margin-left: auto; border-radius: 160px 24px 24px 24px; }
.hero__photo--sub img { object-position: 50% 75%; }
.hero__photo--sub { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 6px solid var(--bg); border-radius: 50%; }
.hero__logo { position: absolute; right: -6px; bottom: 2%; width: clamp(96px, 12vw, 150px); transform: rotate(-6deg); filter: drop-shadow(0 6px 10px rgb(0 0 0 / .12)); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
}

/* ---------- intro ---------- */
.intro__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.7; letter-spacing: .1em;
}
.intro__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 28px; background: var(--rose); border-radius: 2px; }
.intro__body p + p, .cycle__text p + p, .mission__body p + p, .business-intro p + p { margin-top: 1.2em; }
@media (max-width: 760px) { .intro__inner { grid-template-columns: 1fr; } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.value { position: relative; padding: 36px 28px 32px; background: var(--white); border-radius: var(--radius); text-align: center; }
.value__img { width: 128px; margin: 0 auto 8px; }
.value__num { position: absolute; top: 18px; left: 22px; font-family: var(--font-serif); font-size: 28px; color: var(--green); line-height: 1; }
.value__title { font-family: var(--font-serif); font-size: 21px; letter-spacing: .08em; }
.value__text { margin-top: 12px; text-align: left; font-size: 15px; color: var(--muted); line-height: 1.9; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- cycle ---------- */
.cycle__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cycle__figure { background: var(--white); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); }
@media (max-width: 860px) { .cycle__inner { grid-template-columns: 1fr; } }

/* ---------- producer cards ---------- */
.producer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.producer-card a { display: block; height: 100%; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.producer-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.producer-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.producer-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.producer-card a:hover img { transform: scale(1.04); }
.producer-card__body { padding: 20px 22px 24px; }
.producer-card__name { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; letter-spacing: .06em; }
.producer-card__catch { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) { .producer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .producer-grid { grid-template-columns: 1fr; } }

/* ---------- story cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 32px); }
.story-card a { display: block; text-decoration: none; }
.story-card__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-card a:hover img { transform: scale(1.04); }
.story-card__body { padding-top: 16px; }
.story-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.story-card__meta span { color: var(--green-deep); font-weight: 700; }
.story-card__title { margin-top: 6px; font-family: var(--font-serif); font-size: 18px; line-height: 1.65; letter-spacing: .05em; }
.story-card a:hover .story-card__title { color: var(--green-deep); }
@media (max-width: 860px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- message ---------- */
.message-teaser__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.message-teaser__photo { overflow: hidden; border-radius: 50% 50% var(--radius) var(--radius); aspect-ratio: 4 / 5; }
.message-teaser__photo img { width: 100%; height: 100%; object-fit: cover; }
.message-teaser__quote { margin: 18px 0 24px; font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.75; letter-spacing: .06em; }
.message-teaser__sign { margin-top: 20px; font-family: var(--font-serif); font-size: 18px; }
@media (max-width: 760px) {
  .message-teaser__inner { grid-template-columns: 1fr; }
  .message-teaser__photo { max-width: 320px; }
  .message-teaser__quote .nowrap { white-space: normal; }
}

.message { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.message__head { position: sticky; top: calc(var(--header-h) + 32px); }
.message__photo img { border-radius: var(--radius); }
.message__photo figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.message__photo figcaption strong { font-family: var(--font-serif); font-size: 20px; color: var(--ink); }
.message__quote { padding: 24px 0 24px 24px; border-left: 3px solid var(--rose); font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.8; }
@media (max-width: 860px) {
  .message { grid-template-columns: 1fr; }
  .message__head { position: static; }
  .message__photo { max-width: 420px; }
}

/* ---------- mission ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.mission__photo img { border-radius: var(--radius); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

/* ---------- company ---------- */
.company-table { max-width: 760px; background: var(--white); border-radius: var(--radius); padding: 8px clamp(20px, 3vw, 36px); }
.company-table div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-table div:last-child { border-bottom: 0; }
.company-table dt { font-weight: 700; color: var(--green-deep); }
.company-table dd { overflow-wrap: anywhere; }
.company-table a { color: var(--green-deep); }
@media (max-width: 520px) { .company-table div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); background: var(--paper); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: var(--green-pale); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__en { font-size: 13px; font-weight: 700; letter-spacing: .28em; color: var(--green); }
.page-hero__ja { margin-top: 8px; font-family: var(--font-serif); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.45; letter-spacing: .1em; }
.page-hero__lead { margin-top: 16px; color: var(--muted); }

/* ---------- article ---------- */
.article__cover { margin-bottom: clamp(32px, 5vw, 48px); }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article__catch { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .06em; }
.article__meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.article__catch + .article__meta, .article__catch + .prose { margin-top: 10px; }
.article .prose { margin-top: 32px; }

.prose { font-size: 16px; line-height: 2.05; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.4em; }
.prose h2, .prose h3 {
  margin-top: 2.4em; padding-left: 16px; border-left: 4px solid var(--green);
  font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.6; letter-spacing: .05em;
}
.prose h3 { font-size: 19px; border-left-color: var(--rose); }
.prose img { border-radius: 10px; margin-block: 2em; }
.prose a { color: var(--green-deep); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.prose td, .prose th { padding: 10px 14px; border: 1px solid var(--line); }

/* ---------- business ---------- */
.business-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.business-points { display: grid; gap: 16px; }
.business-points li { display: grid; gap: 4px; padding: 22px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.business-points strong { font-family: var(--font-serif); font-size: 19px; color: var(--green-deep); }
.business-points span { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .business-intro { grid-template-columns: 1fr; } }

.categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); text-align: center; }
.category img { width: min(240px, 100%); aspect-ratio: 1; object-fit: cover; margin: 0 auto 20px; border-radius: 50%; }
.category__name { font-family: var(--font-serif); font-size: 21px; letter-spacing: .08em; }
.category p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 680px) { .categories { grid-template-columns: 1fr; } }

.lineup + .lineup { margin-top: clamp(48px, 6vw, 72px); }
.lineup__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lineup__name { font-family: var(--font-serif); font-size: 22px; letter-spacing: .06em; }
.lineup__head .text-link { margin-top: 0; font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.product-card__img { aspect-ratio: 1; background: var(--white); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px 18px 20px; }
.product-card__producer { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); text-decoration: none; margin-bottom: 4px; }
.product-card__name { font-size: 15px; font-weight: 700; line-height: 1.65; letter-spacing: .02em; }
.product-card__summary { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.75; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-card__summary { display: none; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(32px, 5vw, 48px); }
.contact-card {
  display: grid; gap: 6px; padding: clamp(24px, 3vw, 36px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.contact-card__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.contact-card__value { font-family: var(--font-serif); font-size: clamp(20px, 3vw, 30px); letter-spacing: .06em; line-height: 1.4; overflow-wrap: anywhere; }
.contact-card__note { font-size: 13px; color: var(--muted); }
.contact__heading { font-family: var(--font-serif); font-size: 22px; letter-spacing: .06em; margin-bottom: 8px; }
.sns-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.sns-list .sns-link { padding: 10px 20px 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.sns-list .sns-link:hover { border-color: var(--green); color: var(--green-deep); }

/* ---------- CTA ---------- */
.cta { background: var(--green); color: #fff; padding-block: clamp(56px, 8vw, 88px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px 48px; align-items: center; }
.cta__en { font-size: 12px; font-weight: 700; letter-spacing: .26em; color: #cfe6cc; }
.cta__title { margin-top: 8px; font-family: var(--font-serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.6; letter-spacing: .06em; }
.cta__text { margin-top: 10px; color: #e3efe1; font-size: 15px; }
.cta__actions { display: grid; gap: 16px; justify-items: start; }
.cta__mail { display: grid; text-decoration: none; font-family: var(--font-serif); font-size: clamp(17px, 2vw, 21px); line-height: 1.5; letter-spacing: .04em; overflow-wrap: anywhere; }
.cta__mail small { font-family: var(--font-sans); font-size: 12px; letter-spacing: .12em; color: #cfe6cc; }
@media (max-width: 760px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #24221e; color: #d8d2c6; font-size: 14px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 40px; padding-block: 64px 48px; }
.site-footer__brand img { width: 120px; margin-bottom: 18px; }
.site-footer__company { font-family: var(--font-serif); font-size: 17px; color: #fff; margin-bottom: 8px; }
.site-footer__brand p + p { margin-top: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__nav { display: grid; gap: 10px; align-content: start; }
.site-footer__sns { display: grid; gap: 14px; align-content: start; }

/* SNS へのリンク（アイコン＋サービス名＋アカウント名） */
.sns-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.35; }
.sns-link__icon { width: 24px; height: 24px; flex-shrink: 0; }
.sns-link__text { display: grid; font-size: 14px; }
.sns-link__text small { font-size: 11px; letter-spacing: .08em; opacity: .7; }
.site-footer__copy { text-align: center; padding: 20px var(--gutter); border-top: 1px solid #3b3832; color: #9a9387; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found p:not([class]) { margin-top: 20px; color: var(--muted); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- blog（WordPress テーマとトップページの最新記事欄で共用） ---------- */
.story-card__img--placeholder { display: grid; place-items: center; background: var(--paper); }
.story-card__img--placeholder img { width: 42%; height: auto; object-fit: contain; }
.story-card a:hover .story-card__img--placeholder img { transform: none; }

.term-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.term-list a {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 14px; text-decoration: none;
}
.term-list a:hover { border-color: var(--green); color: var(--green-deep); }
.term-list a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-variant-numeric: tabular-nums; text-decoration: none;
}
.pagination a.page-numbers:hover { border-color: var(--green); color: var(--green-deep); }
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--radius); background: var(--white); text-decoration: none; font-size: 15px; line-height: 1.6; }
.post-nav a:hover { color: var(--green-deep); box-shadow: var(--shadow); }
.post-nav small { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 520px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { grid-column: auto; } }
.empty { text-align: center; color: var(--muted); }
