/* =====================================================================
   猫丸市場 — 手書き1ファイル
   方向性：上質な和。藍・生成り・墨、朱は落款ほどに。細い罫線と余白で整える
   ===================================================================== */
:root {
  --cream: #f6f2ea;
  --paper: #fffdf8;
  --sand: #ede7db;
  --ai: #0b346e;
  --ai-dk: #06214a;
  --ai-pale: #e8edf5;
  --shu: #c4492f;
  --ink: #1f2635;
  --ink-soft: #565d6b;
  --mute: #8a8f99;
  --line: #e2dbcc;
  --line-strong: #c9c0ad;
  --r: 6px;
  --sh: 0 1px 2px rgba(31, 38, 53, .05), 0 12px 32px -8px rgba(31, 38, 53, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --hand: "Klee One", "Zen Maru Gothic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.95 "Noto Sans JP", sans-serif; letter-spacing: .04em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* 和紙の地合い（ごく薄く） */
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .06em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
::selection { background: var(--ai); color: #fff; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; }
.small { font-size: 14px; color: var(--ink-soft); }
.nw { white-space: nowrap; }
main { overflow-x: clip; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
@media (max-width: 767px) { .sp-none { display: none; } .wrap, .narrow { width: calc(100% - 32px); } }
@media (min-width: 768px) { .pc-none { display: none; } }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { width: min(1240px, 100% - 40px); margin-inline: auto; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__img { width: 44px; height: 44px; border-radius: 4px; }
.logo__txt { font-family: var(--maru); font-weight: 700; font-size: 21px; letter-spacing: .14em; color: var(--ai); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; text-decoration: none; font-family: var(--maru); font-weight: 500; font-size: 15px; letter-spacing: .08em; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.nav__ig)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px; background: var(--ai); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.nav__ig):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ai); }
.nav__ig { gap: 8px; margin-left: 12px; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 18px !important; transition: background .2s, color .2s; }
.nav__ig:hover { background: var(--ink); color: #fff; }
.nav__ig svg { width: 17px; height: 17px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }
@media (max-width: 899px) {
  .hd__in { height: 60px; width: calc(100% - 32px); }
  .logo__img { width: 40px; height: 40px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 14px 11px; cursor: pointer; margin-right: -11px; }
  .burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 24px; display: none; box-shadow: 0 20px 30px -20px rgba(31, 38, 53, .2); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .nav__ig { margin: 16px 0 0; justify-content: center; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px; font-family: var(--maru); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--main { background: var(--ai); color: #fff; border: 1px solid var(--ai); }
.btn--main:hover { background: var(--ai-dk); border-color: var(--ai-dk); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--maru); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-decoration: none; min-height: 44px; color: var(--ai); }
.more svg { width: 34px; height: 34px; padding: 8px; border: 1px solid currentColor; border-radius: 50%; transition: background .25s, color .25s; }
.more:hover svg { background: var(--ai); color: #fff; }

/* =====================================================================
   ヒーロー
   ===================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "body media"; min-height: min(800px, calc(100svh - 68px)); border-bottom: 1px solid var(--line); }
.hero__media { grid-area: media; position: relative; min-height: 560px; background: var(--ai-dk); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
/* 暖簾：一枚の藍に、ロゴの円だけ */
.hero__noren { position: absolute; top: 0; left: 0; right: 0; height: 21%; display: flex; gap: 3px; z-index: 2; }
.hero__noren::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(#2c2117, #5a4530); z-index: 1; }
.hero__noren > span { flex: 1; position: relative; display: grid; place-items: center; padding-top: 6px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 22%, transparent 70%, rgba(0, 0, 0, .22)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px),
    var(--ai);
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .45); }
.hero__noren img { width: clamp(64px, 6.5vw, 96px); height: auto; opacity: .95; }

/* 次の営業日 */
.tag { position: absolute; z-index: 3; left: clamp(-64px, -4vw, -24px); bottom: 48px; width: 280px; background: var(--paper); border-radius: var(--r); padding: 22px 24px 18px; box-shadow: 0 2px 4px rgba(31, 38, 53, .06), 0 24px 48px -12px rgba(6, 33, 74, .35); font-family: var(--maru); }
.tag p { margin: 0; }
.tag__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--ai); }
.tag__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--shu); }
.tag__date { display: flex; align-items: baseline; margin: 6px 0 2px !important; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; white-space: nowrap; }
.tag__m, .tag__d { font-size: 56px; font-weight: 500; letter-spacing: .02em; }
.tag__sep { font-size: 40px; color: var(--line-strong); margin: 0 4px; }
.tag__wd { margin-left: 12px; font-size: 15px; font-weight: 700; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--shu); color: #fff; letter-spacing: 0; align-self: center; }
.tag__time { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.tag__note { margin-top: 4px !important; font-size: 13px; color: var(--shu); font-weight: 700; line-height: 1.6; }
.tag__none { margin-top: 8px !important; font-size: 15px; font-weight: 700; line-height: 1.7; }
.tag__link { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ai); text-decoration: none; letter-spacing: .08em; min-height: 44px; }
.tag__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tag__link:hover svg { transform: translateX(4px); }

/* 文字の側 */
.hero__body { grid-area: body; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 56px clamp(40px, 5vw, 88px) 56px max(20px, calc((100vw - 1240px) / 2 + 20px)); overflow: hidden; isolation: isolate; }
.hero__body::after { content: ""; position: absolute; z-index: -1; left: -90px; bottom: -110px; width: 460px; height: 440px; background: url("img/mark-ai.svg") no-repeat center / contain; opacity: .045; pointer-events: none; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--maru); font-weight: 500; font-size: 14px; letter-spacing: .2em; color: var(--ink-soft); }
.hero__eyebrow span { color: var(--line-strong); }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; column-gap: clamp(28px, 3vw, 48px); align-items: end; margin: 32px 0 36px; }
.hero__titlewrap { grid-column: 2; grid-row: 1 / 3; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__title { writing-mode: vertical-rl; font-size: clamp(34px, min(3.3vw, 5.4svh), 48px); font-weight: 700; line-height: 1.6; letter-spacing: .18em; color: var(--ink); align-self: start; }
.hero__line { display: block; white-space: nowrap; }
.hero__line + .hero__line { padding-inline-start: 3em; }
.hero__seal { margin-left: calc(.78em * 0 + 4px); writing-mode: vertical-rl; font-family: var(--maru); font-weight: 700; font-size: 13px; letter-spacing: .1em; line-height: 1; color: #fff; background: var(--shu); padding: 8px 6px; border-radius: 3px; }
.hero__info { grid-column: 1; grid-row: 2; }
.hero__sub { font-family: var(--maru); font-weight: 700; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; letter-spacing: .1em; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }
.hero__lead { margin: 0; font-size: 15px; line-height: 2.1; color: var(--ink-soft); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: heroImg 1.6s var(--ease) both; }
  .hero__noren > span { animation: noren .9s var(--ease) both; transform-origin: 50% 0; }
  .hero__noren > span:nth-child(2) { animation-delay: .08s; }
  .hero__noren > span:nth-child(3) { animation-delay: .16s; }
  .hero__line { animation: brush 1.1s cubic-bezier(.65, 0, .25, 1) both; }
  .hero__line:nth-child(1) { animation-delay: .25s; }
  .hero__line:nth-child(2) { animation-delay: .75s; }
  .hero__seal { animation: stamp .5s 1.5s cubic-bezier(.3, 1.6, .5, 1) both; }
  .hero__eyebrow, .hero__info, .hero__btns { animation: rise .9s var(--ease) both; }
  .hero__info { animation-delay: 1.1s; }
  .hero__btns { animation-delay: 1.25s; }
  .tag { animation: rise 1s 1s var(--ease) both; }
}
@keyframes heroImg { from { opacity: 0; transform: scale(1.06); } }
@keyframes noren { from { transform: scaleY(.2); opacity: 0; } }
@keyframes brush { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 1100px) and (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__body { padding-right: 56px; }
  .tag { width: 250px; left: -40px; }
  .tag__m, .tag__d { font-size: 46px; }
}
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "media" "body"; min-height: 0; }
  .hero__media { min-height: 0; height: min(118vw, 500px); }
  .hero__img { object-position: 50% 30%; }
  .hero__noren { height: 22%; }
  .hero__noren img { width: 56px; }
  .tag { left: 16px; right: auto; bottom: -92px; width: min(250px, calc(100% - 32px)); padding: 16px 18px 12px; }
  .tag__m, .tag__d { font-size: 42px; }
  .tag__sep { font-size: 30px; }
  .tag__time { font-size: 16px; }
  .tag__link { margin-top: 10px; padding-top: 8px; }
  .hero__body { padding: 124px 16px 48px; }
  .hero__body::after { width: 300px; height: 290px; left: auto; right: -80px; bottom: -60px; }
  .hero__copy { margin: 28px 0 32px; column-gap: 20px; }
  .hero__title { font-size: 31px; letter-spacing: .16em; }
  .hero__sub { font-size: 18px; margin-bottom: 14px; padding-bottom: 14px; }
  .hero__lead { font-size: 14px; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* =====================================================================
   セクション共通
   ===================================================================== */
.sec { padding: 120px 0; }
.sec--tint { background: var(--sand); }
.sec--first { padding-top: 64px; }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-family: var(--maru); font-weight: 700; font-size: 12px; letter-spacing: .32em; color: var(--ai); }
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.sec__title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: .08em; line-height: 1.55; margin-bottom: 24px; }
.sec__lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 56px; max-width: 40em; }
.sec__headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.sec__headrow .sec__title { margin-bottom: 0; }

/* 写真：細い藍の枠をずらして重ねる */
.photo { position: relative; margin: 0; }
.photo img { position: relative; z-index: 1; width: 100%; object-fit: cover; border-radius: 4px; }
.photo::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border: 1px solid var(--ai); border-radius: 4px; opacity: .5; }

/* ---------- 今月の営業日 ---------- */
.sec--board { padding-top: 120px; }
.board-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.board-side p { font-size: 16px; color: var(--ink-soft); }
.board-side p strong { color: var(--ink); }
.board { position: relative; background: var(--ai); border-radius: var(--r); padding: 28px; box-shadow: 0 30px 60px -30px rgba(6, 33, 74, .55); }
.board::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 3px; pointer-events: none; }
.cal { position: relative; background: var(--paper); border-radius: 3px; padding: 28px 28px 24px; }
.cal__head { display: flex; justify-content: center; margin-bottom: 18px; }
.cal__month { display: flex; align-items: baseline; gap: 6px; font-family: var(--maru); font-weight: 700; font-size: 16px; letter-spacing: .1em; margin: 0; }
.cal__month span { font-size: 13px; color: var(--mute); margin-right: 4px; }
.cal__month b { font-family: var(--maru); font-weight: 500; font-size: 44px; color: var(--ai); line-height: 1; letter-spacing: 0; }
.cal__row, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__wd { text-align: center; font-family: var(--maru); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--mute); padding: 0 0 10px; border-bottom: 1px solid var(--ink); }
.cal__wd.is-sun { color: var(--shu); }
.cal__cell { min-height: 62px; display: flex; flex-direction: column; align-items: center; padding-top: 10px; border-bottom: 1px solid var(--line); font-family: var(--maru); }
.cal__n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; font-weight: 500; font-feature-settings: "tnum"; }
.cal__cell.is-sun .cal__n { color: var(--shu); }
.cal__cell.is-today .cal__n { box-shadow: inset 0 0 0 1px var(--ink-soft); }
.cal__cell.is-open .cal__n { background: var(--ai); color: #fff; font-weight: 700; }
.cal__cell.is-past .cal__n { background: transparent; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal__t { font-size: 10px; font-weight: 700; color: var(--ai); line-height: 1.2; margin-top: 4px; letter-spacing: 0; }
.cal__cell.is-past .cal__t { color: var(--mute); }
.cal__list { list-style: none; margin: 20px 0 0; padding: 0; }
.cal__item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 14px 4px; border-top: 1px solid var(--line); font-family: var(--maru); }
.cal__item.is-past { color: var(--mute); }
.cal__date { font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.cal__time { font-weight: 500; font-size: 17px; font-feature-settings: "tnum"; }
.cal__badge { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--mute); }
.cal__badge.is-next { border-color: var(--ai); background: var(--ai); color: #fff; }
.cal__note { flex-basis: 100%; font-size: 13px; color: var(--shu); font-weight: 700; }

/* ---------- アウトレット品って？ ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.pcard { padding: 36px 32px 8px 0; }
.pcard + .pcard { padding-left: 32px; border-left: 1px solid var(--line); }
.pcard__no { display: block; font-family: var(--maru); font-weight: 500; font-size: 13px; letter-spacing: .2em; color: var(--ai); margin-bottom: 18px; }
.pcard__no::before { content: "0"; }
.pcard h3 { font-size: 21px; line-height: 1.6; margin-bottom: 14px; }
.pcard p { margin: 0; color: var(--ink-soft); }
.caution { margin: 48px 0 0; padding: 18px 24px; background: var(--paper); border-left: 3px solid var(--shu); border-radius: 0 4px 4px 0; font-size: 15px; color: var(--ink-soft); }
.caution strong { color: var(--shu); margin-right: .5em; }
@media (max-width: 767px) { .caution strong { display: block; } }

.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 96px; align-items: center; margin-top: 120px; }
.story--top { margin-top: 0; }
.photo--story { max-width: 420px; }
.photo--story img { aspect-ratio: 4 / 5; }
.story__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; margin-bottom: 24px; }
.story__text p { color: var(--ink-soft); }
.story__text .more { margin-top: 12px; }

/* ---------- お知らせ ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news__item { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.news__item:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.news__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.news__img--days { display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--ai); color: #fff; font-family: var(--maru); font-weight: 700; font-size: 18px; letter-spacing: .1em; }
.news__img--days span { font-family: var(--maru); font-weight: 500; font-size: 72px; line-height: 1; letter-spacing: 0; }
.news__body { padding: 22px 24px 26px; }
.news__date { font-size: 13px; color: var(--mute); letter-spacing: .1em; font-feature-settings: "tnum"; }
.news__title { font-size: 17px; margin: 6px 0 10px; line-height: 1.6; }
.news__title a { text-decoration: none; }
.news__title a::after { content: ""; position: absolute; inset: 0; }
.news__item:hover .news__title a { color: var(--ai); }
.news__days { list-style: none; margin: 0 0 10px; padding: 0; font-family: var(--maru); font-weight: 700; color: var(--ai); font-size: 14px; }
.news__text { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.85; }

/* ---------- 売上の一部について ---------- */
.support { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 96px; align-items: center; }
.photo--support { max-width: 440px; }
.photo--support img { aspect-ratio: 4 / 5; }
.photo--support::before { transform: translate(-18px, 18px); }
.support__text p { color: var(--ink-soft); }
.support__text p strong { color: var(--ink); }
.support__note { display: flex; align-items: center; gap: 10px; font-family: var(--maru); font-weight: 700; color: var(--ink) !important; margin: 12px 0 32px !important; }
.support__note svg { width: 18px; height: 18px; color: var(--shu); flex: none; }

/* ---------- 買取とご支援 ---------- */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border-radius: var(--r); padding: 44px 40px 40px; box-shadow: 0 1px 0 var(--line); }
.ccard__icon { width: 44px; height: 44px; color: var(--ai); margin-bottom: 20px; }
.ccard__for { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ai); margin-bottom: 6px; }
.ccard h3 { font-size: 23px; margin-bottom: 14px; }
.ccard p:not(.ccard__for) { flex: 1; color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- アクセス ---------- */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.info { margin: 0 0 32px; border-top: 1px solid var(--ink); }
.info div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--maru); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--ai); padding-top: 2px; }
.info dd { margin: 0; }
.info a { color: var(--ai); font-weight: 700; display: inline-block; padding: 10px 0; margin: -10px 0; }
.map { border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3.3; box-shadow: var(--sh); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ---------- フッター ---------- */
.ft { background: var(--ai); color: rgba(255, 255, 255, .88); padding: 72px 0 32px; font-size: 14px; }
.ft a { color: #fff; }
.ft__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ft__logo { width: 120px; height: 120px; margin: -12px 0 12px -12px; }
.ft__info p { margin: 0 0 8px; }
.ft__info a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.ft__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.ft__links { list-style: none; margin: 0; padding: 0; }
.ft__links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; letter-spacing: .08em; opacity: .9; }
.ft__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 12px; letter-spacing: .1em; }
.ft__bottom a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- スクロールで現れる ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade 1s var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@keyframes fade { from { opacity: 0; transform: translateY(24px); } }

/* =====================================================================
   下層ページ
   ===================================================================== */
.phero { position: relative; overflow: hidden; padding: 48px 0 64px; border-bottom: 1px solid var(--line); }
.phero::after { content: ""; position: absolute; right: -40px; top: -60px; width: 340px; height: 320px; background: url("img/mark-ai.svg") no-repeat center / contain; opacity: .05; pointer-events: none; }
.crumbs { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; font-size: 13px; letter-spacing: .06em; color: var(--mute); }
.crumbs li + li::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--line-strong); vertical-align: middle; margin: 0 10px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ai); text-decoration: underline; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.phero__title { font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.phero__lead { margin: 20px 0 0; font-size: 16px; color: var(--ink-soft); max-width: 40em; }
.phero--404 { border: 0; padding: 96px 0 120px; }
.phero--404 .btnrow { margin-top: 36px; }

.prose { font-size: 16px; line-height: 2.1; }
.prose p { margin: 0 0 1.5em; }
.prose a { color: var(--ai); word-break: break-all; }
.prose--doc h2 { font-size: 19px; margin: 2.6em 0 .8em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose--doc ul { padding-left: 1.4em; margin: 0 0 1.5em; }

/* 猫丸市場について */
.qa { border-top: 1px solid var(--ink); }
.qa__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.qa__q { font-size: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qa__q span { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ai); border: 1px solid var(--ai); padding: 2px 10px; border-radius: 999px; }
.qa__a { margin: 0; color: var(--ink-soft); }
.qa__a strong { color: var(--shu); }
.photo--wide { margin: 64px auto 0; max-width: 760px; }
.photo--wide img { aspect-ratio: 640 / 370; }
.visit { display: flex; justify-content: space-between; align-items: center; gap: 28px 56px; flex-wrap: wrap; padding: 56px 0; border-block: 1px solid var(--ink); }
.visit p { margin: 0; color: var(--ink-soft); }
.visit .sec__title { margin-bottom: 12px; }

/* よくある質問 */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { position: relative; list-style: none; cursor: pointer; padding: 24px 56px 24px 44px; font-family: var(--maru); font-weight: 700; font-size: 17px; line-height: 1.6; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q"; position: absolute; left: 4px; top: 22px; font-family: var(--maru); font-weight: 500; font-size: 20px; color: var(--ai); }
.faq__q::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__q:hover { color: var(--ai); }
.faq__a { padding: 0 8px 26px 44px; color: var(--ink-soft); }
.faq__a p { margin: 0; }
.faq__a a { color: var(--ai); font-weight: 700; }

/* 会社概要 */
.info--table div { grid-template-columns: 160px 1fr; padding: 22px 0; }
.info .small { font-size: 13px; }

/* お知らせ一覧 */
.nhead { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 56px; }
.nhead__count { margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--mute); font-feature-settings: "tnum"; }
.ytabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ytabs a.is-on { border-color: var(--ai); color: var(--ai); font-weight: 700; }
.ytabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-family: var(--maru); font-weight: 500; letter-spacing: .08em; font-feature-settings: "tnum"; transition: all .2s; }
.ytabs a:hover { background: var(--ai); color: #fff; border-color: var(--ai); }
.nlist__year { margin-bottom: 64px; scroll-margin-top: 90px; }
.nlist__y { display: flex; align-items: baseline; gap: 4px; font-family: var(--maru); font-weight: 500; font-size: 34px; color: var(--ai); letter-spacing: .04em; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; }
.nlist__y span { font-size: 15px; font-weight: 700; }
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist__item a { display: flex; gap: 24px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.nlist__item a:hover { background: var(--paper); }
.nlist__img { width: 84px; height: 84px; flex: none; object-fit: cover; object-position: top; border-radius: 4px; }
.nlist__img--none { display: flex; align-items: center; justify-content: center; gap: 2px; background: var(--ai); color: #fff; font-family: var(--maru); font-weight: 700; font-size: 12px; }
.nlist__img--none b { font-weight: 500; font-size: 34px; line-height: 1; }
.nlist__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.nlist__body time { font-size: 13px; color: var(--mute); letter-spacing: .1em; font-feature-settings: "tnum"; }
.nlist__title { font-family: var(--maru); font-weight: 700; font-size: 17px; line-height: 1.55; color: var(--ink); }
.nlist__item a:hover .nlist__title { color: var(--ai); }
.nlist__text { font-size: 13px; color: var(--ink-soft); line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nlist__year:last-of-type { margin-bottom: 0; }

/* ページ送り */
.pgn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ink); }
.pgn__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.pgn__num { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; border-radius: 999px; font-family: var(--maru); font-weight: 500; font-size: 16px; text-decoration: none; font-feature-settings: "tnum"; transition: background .2s, color .2s; }
a.pgn__num:hover { background: var(--paper); color: var(--ai); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pgn__num[aria-current] { background: var(--ai); color: #fff; font-weight: 700; }
.pgn__gap { width: 24px; text-align: center; color: var(--mute); }
.pgn__step { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; font-family: var(--maru); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-decoration: none; color: var(--ai); }
.pgn__step--next { justify-self: end; }
.pgn__step svg { width: 34px; height: 34px; padding: 8px; border: 1px solid currentColor; border-radius: 50%; transition: background .25s, color .25s; }
.pgn__step--prev svg { transform: scaleX(-1); }
a.pgn__step:hover svg { background: var(--ai); color: #fff; }

/* 記事 */
.art { width: min(740px, 100% - 40px); }
.daysbox { background: var(--ai); color: #fff; border-radius: var(--r); padding: 24px 28px; margin-bottom: 40px; font-family: var(--maru); }
.daysbox__label { margin: 0 0 8px; font-size: 12px; letter-spacing: .24em; opacity: .8; }
.daysbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.daysbox li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 18px; font-weight: 500; }
.daysbox li b { font-weight: 700; }
.daysbox li span { font-size: 13px; font-weight: 700; background: #fff; color: var(--shu); padding: 0 10px; border-radius: 999px; }
.art__img { margin: 36px auto 0; max-width: 520px; }
.art__img img { border-radius: 4px; box-shadow: var(--sh); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--ink); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--paper); border-radius: var(--r); text-decoration: none; font-family: var(--maru); font-weight: 700; font-size: 15px; line-height: 1.6; transition: box-shadow .3s; }
.pager a span { font-size: 12px; letter-spacing: .14em; color: var(--ai); }
.pager a:hover { box-shadow: inset 0 0 0 1px var(--ai); }
.pager__next { text-align: right; }
.art__back { text-align: center; margin: 48px 0 0; }

/* フォーム */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0 0 36px; padding: 0; display: flex; gap: 28px; font-family: var(--maru); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--mute); }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; letter-spacing: 0; }
.steps [aria-current] { color: var(--ai); }
.steps [aria-current] span { background: var(--ai); color: #fff; border-color: var(--ai); }
.form { display: grid; gap: 32px; }
.f-row { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-label { display: flex; align-items: center; gap: 10px; font-family: var(--maru); font-weight: 700; font-size: 16px; letter-spacing: .06em; margin-bottom: 12px; padding: 0; }
.req, .opt { font-size: 11px; padding: 1px 8px; border-radius: 3px; font-family: "Noto Sans JP", sans-serif; letter-spacing: .08em; }
.req { background: var(--shu); color: #fff; }
.opt { border: 1px solid var(--line-strong); color: var(--mute); }
.f-input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 4px; padding: 13px 16px; min-height: 54px; transition: border-color .2s, box-shadow .2s; }
.f-input:focus { outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px var(--ai-pale); }
.f-input--short { max-width: 320px; }
textarea.f-input { resize: vertical; line-height: 1.8; }
[aria-invalid="true"].f-input, fieldset[aria-invalid="true"] .f-choice span { border-color: var(--shu); }
.f-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.f-choice { position: relative; }
.f-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.f-choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); cursor: pointer; transition: all .2s; }
.f-choice input:checked + span { background: var(--ai); border-color: var(--ai); color: #fff; font-weight: 700; }
.f-choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--ai-pale); }
.f-err { margin: 8px 0 0; color: var(--shu); font-weight: 700; font-size: 14px; }
.f-alert { margin-bottom: 28px; padding: 14px 20px; border-left: 3px solid var(--shu); background: var(--paper); color: var(--shu); font-weight: 700; }
.f-note { font-size: 13px; color: var(--ink-soft); margin: 0; }
.f-note a { color: var(--ai); }
.f-actions { margin-top: 8px; }
.f-actions .btn { min-width: 240px; }
.confirm { margin: 16px 0 32px; }
.pre { white-space: pre-wrap; word-break: break-word; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sidebox { padding: 24px 0; border-top: 1px solid var(--ink); }
.sidebox + .sidebox { border-top-color: var(--line); }
.sidebox h2 { font-size: 15px; letter-spacing: .1em; margin-bottom: 10px; }
.sidebox p { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.sidebox a { color: var(--ai); font-weight: 700; }
.sidebox__tel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--maru); font-size: 22px; letter-spacing: .06em; text-decoration: none; min-height: 44px; }
.sidebox__tel svg { width: 20px; height: 20px; }

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media (max-width: 899px) {
  .sec { padding: 88px 0; }
  .sec--board { padding-top: 88px; }
  .board-wrap, .story, .support, .access, .form-wrap { grid-template-columns: 1fr; gap: 48px; }
  .cards3 { grid-template-columns: 1fr; }
  .pcard, .pcard + .pcard { padding: 28px 0; border-left: 0; }
  .pcard + .pcard { border-top: 1px solid var(--line); }
  .news, .cards2 { grid-template-columns: 1fr; gap: 16px; }
  .news__item { flex-direction: row; }
  .news__img { width: 112px; flex: none; aspect-ratio: auto; height: auto; min-height: 150px; }
  .news__img--days span { font-size: 44px; }
  .news__img--days { font-size: 13px; }
  .story { margin-top: 88px; }
  .photo--story, .photo--support { max-width: 320px; width: calc(100% - 24px); }
  .qa__row { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { text-align: left; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .sec { padding: 72px 0; }
  .sec--first { padding-top: 48px; }
  .sec__headrow { flex-direction: column; align-items: flex-start; }
  .board { padding: 12px; }
  .board::before { inset: 5px; }
  .cal { padding: 18px 10px 12px; }
  .cal__cell { min-height: 56px; }
  .cal__n { width: 32px; height: 32px; font-size: 16px; }
  .cal__item { padding: 12px 2px; gap: 2px 12px; }
  .cal__date { font-size: 17px; }
  .cal__badge { margin-left: 0; }
  .ccard { padding: 32px 24px 28px; }
  .ccard .btn, .visit .btn, .f-actions .btn, .phero--404 .btn { width: 100%; }
  .news__body { padding: 16px 18px 18px; }
  .news__title { font-size: 15px; }
  .news__text { font-size: 13px; }
  .info div, .info--table div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .phero { padding: 28px 0 44px; }
  .crumbs { margin-bottom: 28px; }
  .nlist__item a { gap: 14px; padding: 14px 4px; }
  .nlist__img { width: 68px; height: 68px; }
  .nlist__title { font-size: 15px; }
  .nhead { margin-bottom: 40px; }
  .pgn { gap: 8px; margin-top: 48px; }
  .pgn__step span { display: none; }
  .pgn__num { min-width: 40px; height: 40px; font-size: 15px; }
  .pgn__list { gap: 2px; }
  .ft__cols { gap: 32px; }
  .daysbox { padding: 18px 20px; }
  .visit { padding: 40px 0; }
}

/* テスト版の帯（build.mjs --staging のときだけ出る） */
.stg { position: fixed; z-index: 100; left: 12px; bottom: 12px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--shu); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); pointer-events: none; }
