/*
 * choku-home.css
 * トップページ（front-page.php）だけで読み込む
 * 色の基本は choku.css の変数。区画ごとの色はこのファイルの先頭で決める
 */

.choku-top-page {
    --choku-bg:          #f7f4f1; /* 背景（暖色系オフホワイト） */
    --choku-text-sub:    #5a514b; /* リード文 */
    --choku-text-muted:  #6b615a; /* 補足 */
    --choku-rule:        #e3dcd5; /* 罫線 */
    --choku-serif:       'Noto Serif JP', serif;
    --choku-sans:        'Noto Sans JP', sans-serif;
    --choku-en:          'Jost', 'Noto Sans JP', sans-serif;

    /* 区画の色：帯の地色／タブ／チップの文字 */
    --choku-hito-bg:     #f2e2de; /* 淡い紅樺 */
    --choku-hito:        #bb5548; /* 紅樺 */
    --choku-shikata-bg:  #ece4d2; /* 藁色 */
    --choku-shikata:     #7a5a2c; /* 茶 */
    --choku-shikata-ink: #5c4320;
    --choku-now-bg:      #e3e6da; /* 淡い緑 */
    --choku-now:         #4f6340;
    --choku-area-bg:     #e1e5ea; /* 青グレー */
    --choku-area:        #3d5a6c;
    --choku-area-ink:    #2d4452;

    --choku-gutter:      40px;

    background-color: var(--choku-bg);
    color: var(--choku-ink);
    font-family: var(--choku-sans);
}

/* Arkhe の本文枠の余白をなくし、このページのフッターに置き換える */
.choku-top-page .l-content__body {
    margin-top: 0;
    margin-bottom: 0;
}
.choku-top-page .l-footer {
    display: none;
}

/* 中身は画面幅いっぱいに（Arkhe の .l-container を突き破る） */
/* 縦帯があるときはその幅（--choku-rail-w、choku-nav.css）を引く */
.choku-top,
.choku-top-footer {
    width: calc(100vw - var(--choku-rail-w, 0px));
    margin-left: calc(50% - 50vw + var(--choku-rail-w, 0px) / 2);
}

.choku-top a {
    color: var(--choku-ink);
    text-decoration: none;
}
.choku-top a:hover,
.choku-top a:focus-visible {
    color: var(--choku-key);
}

.choku-top-sp {
    display: none;
}

/* ============================================
   スライド（ひと記事）
   ============================================ */

.choku-top-hero {
    padding: 5px var(--choku-gutter) 0;
}

.choku-top-hero__frame {
    position: relative;
    height: 620px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--choku-hero-base);
}

.choku-top-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.choku-top-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.choku-top-slide__photo {
    position: absolute;
    inset: 0;
}
.choku-top-slide__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* 白帯の文字 */
.choku-top-slide__text {
    position: absolute;
    left: 0;
    bottom: 48px;
    max-width: min(760px, calc(100% - 140px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.choku-top-slide__label,
.choku-top-slide__title,
.choku-top-slide__maker {
    background: #fff;
    padding: 8px 24px;
}
.choku-top-slide__label {
    display: flex;
    gap: 16px;
    padding: 10px 24px;
    font-family: var(--choku-en);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--choku-key);
}
.choku-top-slide__genre {
    color: var(--choku-text-muted);
}
.choku-top-slide__title {
    padding: 18px 24px;
    font-family: var(--choku-serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--choku-ink);
}
.choku-top-slide__maker {
    font-size: 14px;
    color: var(--choku-text-sub);
}
.choku-top-slide:hover .choku-top-slide__title,
.choku-top-slide:focus-visible .choku-top-slide__title {
    color: var(--choku-key-dark);
}

/* 前へ・次へ */
.choku-top-hero__nav {
    position: absolute;
    right: 32px;
    bottom: 32px;
    z-index: 2;
    display: flex;
    gap: 8px;
}
.choku-top-hero__nav[hidden],
.choku-top-hero__dots[hidden] {
    display: none;
}
.choku-top-hero__arrow {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--choku-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.choku-top-hero__arrow:hover {
    background: #fff;
    color: var(--choku-key);
}

/* 点（ボタンは押しやすい大きさ、見た目は小さく） */
.choku-top-hero__dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
}
.choku-top-hero__dot {
    position: relative;
    width: 44px;
    height: 32px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
}
.choku-top-hero__dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cfc6bd;
    transform: translate(-50%, -50%);
    transition: width 0.3s;
}
.choku-top-hero__dot.is-active::before {
    width: 32px;
    background: var(--choku-key);
}

/* ============================================
   キャッチ
   ============================================ */

.choku-top-catch {
    padding: 72px var(--choku-gutter) 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.choku-top-catch__copy {
    margin: 0;
    font-family: var(--choku-serif);
    font-size: 30px;
    letter-spacing: 0.1em;
    line-height: 1.7;
}
.choku-top-catch__text {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 2;
    color: var(--choku-text-sub);
}

/* ============================================
   新着
   ============================================ */

.choku-top-new {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px var(--choku-gutter) 80px;
}
.choku-top-new__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
}
.choku-top-new__ttl {
    margin: 0;
    font-family: var(--choku-en);
    font-weight: 400;
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.choku-top-new__sub {
    font-size: 14px;
    color: var(--choku-text-muted);
}

.choku-top-grid4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
}
.choku-top-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.choku-top-newcard {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.choku-top-newcard__photo {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    background: #d9cfc4;
}
.choku-top-newcard__title {
    font-family: var(--choku-serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
}
.choku-top-newcard__sub,
.choku-top-card__sub {
    font-size: 13px;
    line-height: 1.7;
    color: var(--choku-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* カードの写真（共通） */
.choku-top-card__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.choku-top-card__noimg {
    display: block;
    width: 100%;
    height: 100%;
}
.choku-top-newcard:hover .choku-top-card__img,
.choku-top-card:hover .choku-top-card__img {
    transform: scale(1.03);
}

/* 新着の5本目から：日付と印（左）／タイトル（中）／16:9の小さな写真（右）。PCは2列 */
.choku-top-newlist {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
}
.choku-top-newlist > li {
    border-bottom: 1px solid var(--choku-rule);
}
.choku-top-newlist > li:nth-child(-n+2) {
    border-top: 1px solid var(--choku-rule);
}
.choku-top .choku-top-newrow {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 144px;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    color: var(--choku-ink);
}
.choku-top-newrow__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.choku-top-newrow__date {
    font-family: var(--choku-en);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--choku-text-muted);
}
.choku-top-newrow__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.choku-top-newrow__title {
    font-family: var(--choku-serif);
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.choku-top-newrow__sub {
    font-size: 12px;
    line-height: 1.6;
    color: var(--choku-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.choku-top-newrow__photo {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #d9cfc4;
}
.choku-top-newrow:hover .choku-top-card__img {
    transform: scale(1.03);
}
.choku-top-newrow:hover .choku-top-newrow__title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 丸タグ：ひと＝紅樺、しかた＝茶 */
.choku-top-tag {
    align-self: flex-start;
    font-size: 12px;
    line-height: 1.6;
    padding: 3px 12px;
    border-radius: 999px;
    color: #fff;
}
.choku-top-tag.-hito    { background: var(--choku-hito); }
.choku-top-tag.-shikata { background: var(--choku-shikata); }
.choku-top-tag.-now     { background: var(--choku-now); }

/* ============================================
   区画（色タブ＋色帯）
   ============================================ */

.choku-top-band {
    --band-bg:  var(--choku-hito-bg);
    --band-key: var(--choku-hito);
    --band-ink: var(--choku-ink);
    background: var(--band-bg);
    padding: 72px var(--choku-gutter);
}
.choku-top-band.-shikata { --band-bg: var(--choku-shikata-bg); --band-key: var(--choku-shikata); --band-ink: var(--choku-shikata-ink); }
.choku-top-band.-now     { --band-bg: var(--choku-now-bg);     --band-key: var(--choku-now); }
.choku-top-band.-area    { --band-bg: var(--choku-area-bg);    --band-key: var(--choku-area);    --band-ink: var(--choku-area-ink); }
/* ちょくマケ＝緑、作り手日記＝青（タブの色と同じ並び） */
.choku-top-band.-market  { --band-bg: var(--choku-now-bg);     --band-key: var(--choku-now); }
.choku-top-band.-diary   { --band-bg: var(--choku-area-bg);    --band-key: var(--choku-area);    --band-ink: var(--choku-area-ink); }

.choku-top-band__inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* 上から垂れる縦書きのタブ */
.choku-top-band__tab {
    flex-shrink: 0;
    width: 64px;
    padding: 24px 0;
    border-radius: 0 0 32px 32px;
    background: var(--band-key);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    writing-mode: vertical-rl;
}
.choku-top-band__tabJa {
    font-family: var(--choku-serif);
    font-size: 26px;
    letter-spacing: 0.3em;
}
.choku-top-band__tabEn {
    font-family: var(--choku-en);
    font-size: 11px;
    letter-spacing: 0.3em;
}

.choku-top-band__body {
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch; /* スマホで縦並びのとき、横に流す商品の幅に引っぱられないように */
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.choku-top-band__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.choku-top-band__ttl {
    margin: 0;
    font-family: var(--choku-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
}
.choku-top-band__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--choku-text-sub);
}

/* 白いカード */
.choku-top-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.choku-top-card__photo {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #d9cfc4;
}
.choku-top-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}
.choku-top-card__label {
    font-family: var(--choku-en);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--band-key);
}
.choku-top-card__title {
    font-family: var(--choku-serif);
    font-size: 18px;
    line-height: 1.6;
}

/* ひと：大きい1枚（左）＋小さい2枚（右に縦並び） */
.choku-top-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 24px;
}
.choku-top-feature .choku-top-card.-lead {
    grid-row: span 2;
}
.choku-top-feature.-single {
    grid-template-columns: minmax(0, 1fr);
}
/* 大きい方：写真は 16:9 で低めに固定。下は「タイトル → 作り手の情報（色付きの箱） → 本文の冒頭 → 記事を読む」の順 */
.choku-top-card.-lead .choku-top-card__photo {
    aspect-ratio: 16 / 9;
}
.choku-top-card.-lead .choku-top-card__body {
    flex: 1 1 auto;
    gap: 12px;
    padding: 24px 28px;
}
.choku-top-card.-lead .choku-top-card__title {
    font-size: 22px;
    line-height: 1.55;
}
.choku-top-card__profile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--band-bg);
}
.choku-top-card__name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}
.choku-top-card__meta {
    font-size: 13px;
    line-height: 1.6;
    color: var(--choku-text-muted);
}
.choku-top-card__excerpt {
    font-size: 14px;
    line-height: 1.9;
    color: var(--choku-text-sub);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.choku-top-card__read {
    margin-top: auto;
    align-self: flex-end;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--band-key);
}
.choku-top-card.-lead:hover .choku-top-card__read {
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* 小さい方：上段は「写真（左）＋見出しと作り手（右）」、下段に本文の冒頭を横いっぱいに */
.choku-top-card.-side {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-areas:
        "photo body"
        "intro intro";
    align-content: start;
    gap: 14px 18px;
    padding: 16px;
}
.choku-top-card.-side .choku-top-card__photo {
    grid-area: photo;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}
.choku-top-card.-side .choku-top-card__body {
    grid-area: body;
    gap: 6px;
    padding: 4px 0 0;
}
.choku-top-card.-side .choku-top-card__title {
    font-size: 17px;
    line-height: 1.55;
}
.choku-top-card.-side .choku-top-card__name {
    font-size: 14px;
}
.choku-top-card.-side .choku-top-card__meta {
    font-size: 12px;
    line-height: 1.6;
}
.choku-top-card__excerpt.-side {
    grid-area: intro;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.8;
    -webkit-line-clamp: 2;
}

/* しかた：小さい写真＋見出しの縦リスト（PCは2列） */
.choku-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
}
.choku-top-list > li {
    border-bottom: 1px solid color-mix(in srgb, var(--band-key) 30%, transparent);
}
.choku-top-list > li:nth-child(-n+2) {
    border-top: 1px solid color-mix(in srgb, var(--band-key) 30%, transparent);
}
.choku-top .choku-top-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    color: var(--choku-ink);
}
.choku-top-row__photo {
    flex-shrink: 0;
    width: 160px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #d9cfc4;
}
.choku-top-row__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.choku-top-row__title {
    font-family: var(--choku-serif);
    font-size: 17px;
    line-height: 1.6;
}
.choku-top-row__sub {
    font-size: 13px;
    line-height: 1.7;
    color: var(--choku-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.choku-top-row:hover .choku-top-card__img {
    transform: scale(1.03);
}
.choku-top-row:hover .choku-top-row__title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ちょくマケ：横に流す商品カード（自動では動かない） */
.choku-top-strip {
    position: relative;
}
.choku-top-strip__track {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.choku-top-strip__track::-webkit-scrollbar {
    display: none;
}
.choku-top-strip__track > li {
    scroll-snap-align: start;
}
.choku-top .choku-top-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 12px 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--choku-ink);
}
.choku-top-item__photo {
    display: block;
    aspect-ratio: 1 / 1;
    margin-bottom: 4px;
    border-radius: 8px;
    overflow: hidden;
    background: #d9cfc4;
}
.choku-top-item__status {
    align-self: flex-start;
    font-size: 11px;
    line-height: 1.6;
    padding: 1px 10px;
    border-radius: 999px;
    color: var(--band-key);
    box-shadow: inset 0 0 0 1px var(--band-key);
}
.choku-top-item__title {
    font-family: var(--choku-serif);
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.choku-top-item__price {
    font-size: 14px;
    font-weight: 500;
}
.choku-top-item__member {
    margin-top: auto;
    font-size: 12px;
    color: var(--choku-text-muted);
}
.choku-top-item:hover .choku-top-card__img {
    transform: scale(1.03);
}
.choku-top-strip__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
.choku-top-strip__nav[hidden] {
    display: none;
}
/* ちょくマケ：矢印は商品の左右に重ねる（下の VIEW MORE はほかの区画と同じ） */
.choku-top-strip {
    position: relative;
}
.choku-top-strip > .choku-top-strip__nav {
    position: absolute;
    inset: 0 -22px;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    pointer-events: none; /* 矢印以外はカードをそのまま押せるように */
}
.choku-top-strip > .choku-top-strip__nav .choku-top-hero__arrow {
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
@media (max-width: 760px) {
    .choku-top-strip > .choku-top-strip__nav {
        display: none;
    }
}
/* 日記のリストは帯の色に合わせた線 */
.choku-top-newlist.-diary {
    margin-top: 0;
}
.choku-top-newlist.-diary > li {
    border-color: color-mix(in srgb, var(--band-key) 30%, transparent);
}
.choku-top-tag.-diary {
    background: var(--choku-area);
}
.choku-top-newrow__head .choku-top-tag {
    white-space: nowrap;
}
.choku-top .choku-top-newlist.-diary .choku-top-newrow {
    grid-template-columns: 96px minmax(0, 1fr) 144px;
}

/* 丸いリンク（カテゴリ・地域） */
.choku-top-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.choku-top .choku-top-chip {
    display: inline-block;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--band-ink);
}
.choku-top-chips.-area {
    gap: 12px;
}
.choku-top-chips.-area .choku-top-chip {
    font-size: 15px;
    padding: 14px 26px;
}

.choku-top .choku-top-more {
    align-self: flex-end;
    font-family: var(--choku-en);
    font-size: 13px;
    letter-spacing: 0.2em;
    padding: 12px 0 4px;
    border-bottom: 1px solid var(--choku-ink);
}

/* 今月受付中のカード */
.choku-top-now {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
}
.choku-top-now__title {
    font-family: var(--choku-serif);
    font-size: 17px;
    line-height: 1.6;
}
.choku-top-now__maker {
    font-size: 13px;
    color: var(--choku-text-muted);
}
.choku-top-now__price {
    font-size: 13px;
}
.choku-top .choku-top-now__btn {
    margin-top: 6px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid var(--choku-now);
    color: var(--choku-now);
}
.choku-top .choku-top-now__btn:hover {
    background: var(--choku-now);
    color: #fff;
}

/* ============================================
   ちょくちょく便り
   ============================================ */

.choku-top-letter {
    padding: 88px var(--choku-gutter);
    display: flex;
    justify-content: center;
}
.choku-top-letter__box {
    width: 100%;
    max-width: 760px;
    padding: 48px 40px;
    border-radius: 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.choku-top-letter__ttl {
    margin: 0;
    font-family: var(--choku-serif);
    font-size: 26px;
    font-weight: 500;
}
.choku-top-letter__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--choku-text-sub);
}
.choku-top-letter__form {
    width: 100%;
}
/* 配信サービスのフォームを、なるべくモックの形（丸い入力欄＋紅樺のボタン）に寄せる */
.choku-top-letter__form input[type="email"],
.choku-top-letter__form input[type="text"] {
    font-size: 15px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid #cfc6bd;
    background: var(--choku-bg);
}
.choku-top-letter__form button,
.choku-top-letter__form input[type="submit"] {
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    background: var(--choku-key);
    color: #fff;
    cursor: pointer;
}

/* ============================================
   フッター（このページ専用）
   ============================================ */

.choku-top-footer {
    background: var(--choku-ink);
    color: #e9e2db;
    padding: 48px var(--choku-gutter);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    font-family: var(--choku-sans);
}
.choku-top-footer__site {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.choku-top-footer__name {
    font-family: var(--choku-serif);
    font-size: 22px;
    letter-spacing: 0.08em;
}
.choku-top-footer__op,
.choku-top-footer__copy {
    font-size: 13px;
    color: #c9bfb5;
}
.choku-top-footer__copy {
    margin: 0;
    width: 100%;
}
.choku-top-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
}
.choku-top-footer__nav a {
    color: #e9e2db;
    text-decoration: none;
}
.choku-top-footer__nav a:hover,
.choku-top-footer__nav a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 999px) {
    .choku-top-grid4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .choku-top-grid3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .choku-top-feature {
        grid-template-columns: minmax(0, 1fr);
    }
    .choku-top-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .choku-top-list > li:nth-child(2) {
        border-top: none;
    }
    .choku-top-newlist {
        grid-template-columns: minmax(0, 1fr);
    }
    .choku-top-newlist > li:nth-child(2) {
        border-top: none;
    }
}

@media (max-width: 760px) {
    .choku-top-page {
        --choku-gutter: 16px;
    }
    .choku-top-sp {
        display: inline;
    }
    .choku-top-hero__frame {
        height: 460px;
    }
    .choku-top-slide__text {
        bottom: 72px;
        max-width: calc(100% - 16px);
        gap: 6px;
    }
    .choku-top-slide__label,
    .choku-top-slide__maker {
        padding: 6px 16px;
        font-size: 12px;
    }
    .choku-top-slide__title {
        padding: 12px 16px;
        font-size: 20px;
    }
    .choku-top-hero__nav {
        right: 12px;
        bottom: 12px;
    }
    .choku-top-catch {
        padding: 48px var(--choku-gutter) 40px;
    }
    .choku-top-catch__copy {
        font-size: 22px;
    }
    .choku-top-new__ttl {
        font-size: 40px;
    }
    .choku-top-grid4 {
        gap: 24px 12px;
    }
    .choku-top-newcard__title {
        font-size: 15px;
    }
    .choku-top-strip__track {
        grid-auto-columns: 46%;
        gap: 12px;
    }
    /* 新着：日付と印は1行に、写真は右 */
    .choku-top .choku-top-newrow,
    .choku-top .choku-top-newlist.-diary .choku-top-newrow {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 8px 12px;
    }
    .choku-top-newrow__head {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .choku-top-newrow__photo {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    .choku-top-newrow__title {
        font-size: 15px;
    }
    .choku-top-band {
        padding: 48px var(--choku-gutter);
    }
    /* スマホではタブを横向きの見出しラベルに */
    .choku-top-band__inner {
        flex-direction: column;
        gap: 20px;
    }
    .choku-top-band__tab {
        writing-mode: horizontal-tb;
        width: auto;
        flex-direction: row;
        align-items: baseline;
        padding: 8px 20px;
        border-radius: 999px;
    }
    .choku-top-band__tabJa {
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    .choku-top-band__ttl {
        font-size: 22px;
    }
    /* ひと：小さい方は写真と見出しを半々に */
    .choku-top-card.-side {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 12px;
        gap: 12px 14px;
    }
    .choku-top-card.-side .choku-top-card__title {
        font-size: 15px;
    }
    .choku-top-card.-lead .choku-top-card__body {
        padding: 20px;
    }
    .choku-top-card.-lead .choku-top-card__title {
        font-size: 20px;
    }
    .choku-top-row__photo {
        width: 104px;
    }
    .choku-top .choku-top-row {
        gap: 14px;
        padding: 16px 0;
    }
    .choku-top-row__title {
        font-size: 15px;
    }
    .choku-top-letter {
        padding: 56px var(--choku-gutter);
    }
    .choku-top-letter__box {
        padding: 32px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .choku-top-slide,
    .choku-top-hero__dot::before,
    .choku-top-card__img {
        transition: none;
    }
}

/* New カードのタグ並び（ひと＋「売ってます」の印。hito-urimasu.php） */
.choku-top-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}
.choku-top-tag.-urimasu {
    background: #fff;
    color: var(--choku-hito);
    box-shadow: inset 0 0 0 1px var(--choku-hito);
}
