@charset "utf-8";
/* ==========================================================================
   じじエール（/jijiyel/）専用スタイル
   デザインリファレンス（jijiyell.dc.html / interview.dc.html）の
   インラインスタイルをそのままクラスに置き換えたもの。
   ページ: page-jijiyel.php / page-jijiyel-producer.php
   ========================================================================== */

:root {
    --jjl-red: #d80c18;
    --jjl-cream: #fbf4e9;
    --jjl-ink: #221815;
    --jjl-line: #f0e4d2;
}

html {
    overflow-x: hidden;
    /* ページ内リンクは瞬間移動ではなくスクロールで動かす */
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* 固定ヘッダーに隠れないように、飛び先の手前で止める（ヘッダー PC 106px / SP 74px） */
.jjlBody [id] {
    scroll-margin-top: 124px;
}

body.jjlBody {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    color: var(--jjl-ink);
    -webkit-font-smoothing: antialiased;
}

.jjlBody * {
    box-sizing: border-box;
}

.jjlBody a {
    color: inherit;
    text-decoration: none;
}

.jjlBody a:hover {
    opacity: .8;
}

.jjlBody img {
    max-width: 100%;
}

.jjlInner {
    max-width: 1000px;
    margin: 0 auto;
}

/* スマホのときだけ効かせる改行 */
.jjlBrSp {
    display: none;
}

/* PCのときだけ効かせる改行（スマホでは外して自然に折り返す） */
.jjlBrPc {
    display: inline;
}

/* スクロールイン ------------------------------------------------------- */
.jjlBody [data-reveal] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

.jjlBody [data-reveal].is-shown {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .jjlBody [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ヘッダー ------------------------------------------------------------- */
.jjlHeader {
    background: var(--jjl-red);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: transform .35s ease;
}

.jjlHeader.is-hidden {
    transform: translateY(-100%);
}

.jjlNav {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.jjlNavPanel {
    display: contents;
}

.jjlNavLinks {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    white-space: nowrap;
}

.jjlNavLinks a {
    border-bottom: 1.5px solid #fff;
    padding-bottom: 3px;
}

.jjlNavLinks--left {
    order: 1;
    justify-content: flex-end;
}

.jjlNavLogo {
    order: 2;
    display: block;
    width: clamp(110px, 14vw, 150px);
    margin: 0 clamp(8px, 1.5vw, 24px);
    flex: none;
}

.jjlNavLogo img {
    width: 100%;
    display: block;
}

.jjlNavLinks--right {
    order: 3;
}

.jjlNavSub {
    order: 4;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.jjlNavSub a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jjlNavToggle {
    display: none;
    width: 40px;
    height: 34px;
    padding: 6px 4px;
    border: 0;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.jjlNavToggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

/* メインビジュアル ----------------------------------------------------- */
.jjlHero {
    background: var(--jjl-red);
    position: relative;
    padding: 0 0 40px;
}

.jjlHeroInner {
    /* --jjl-edge: 中央カードの左右の余白（ここに前後のスライドが見切れる）
       --jjl-slide-w: 1枚の幅 / --jjl-gap: スライド同士の間隔
       中央カード 10.5%〜89.5%、見切れ 9%、あいだ 1.5% というリファレンスの比率。 */
    --jjl-edge: 10.5%;
    --jjl-slide-w: 79%;
    --jjl-gap: 1.5%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: min(52vw, 560px);
    min-height: 360px;
    overflow: hidden;
}

/* 3秒静止 → 3秒かけて1枚ぶん横に流れる。左右の見切れごと列で動く。 */
.jjlHeroTrack {
    position: absolute;
    inset: 0;
    display: flex;
    gap: var(--jjl-gap);
    height: 100%;
    will-change: transform;
    transition: transform 3s cubic-bezier(.65, 0, .35, 1);
}

.jjlHeroTrack.is-instant {
    transition: none;
}

.jjlHeroSlide {
    position: relative;
    flex: 0 0 var(--jjl-slide-w);
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #3a4b2a;
}

@media (prefers-reduced-motion: reduce) {
    .jjlHeroTrack {
        transition: none;
    }
}

/* スマホ用の画像を <picture> で出し分けるので、包みも高さいっぱいに広げる */
.jjlHeroSlide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.jjlHeroSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
}

/* コピーとロゴは中央カードの上に固定で重ねる（スライドと一緒には動かさない） */
.jjlHeroCatch {
    position: absolute;
    left: calc(var(--jjl-edge) + 6.3%);
    top: 22%;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.jjlHeroCatch p {
    margin: 0 0 22px;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.55;
}

.jjlHeroCatch img {
    width: clamp(180px, 26vw, 300px);
    display: block;
    filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

.jjlHeroDots {
    position: absolute;
    bottom: 16px;
    left: var(--jjl-edge);
    right: var(--jjl-edge);
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.jjlHeroDot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: 0;
    padding: 0;
    background: #fff;
    opacity: .45;
    cursor: pointer;
    transition: width .3s ease, opacity .3s ease;
}

.jjlHeroDot.is-current {
    width: 28px;
    opacity: 1;
}

/* じじエールとは？ ----------------------------------------------------- */
.jjlAbout {
    position: relative;
    background: #409fd9;
    color: var(--jjl-ink);
    overflow: hidden;
}

.jjlAboutBg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
    display: block;
}

.jjlAboutInner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 24px 300px;
    text-align: center;
}

.jjlAboutInner h2 {
    margin: 0 0 34px;
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.5;
}

.jjlAboutInner p {
    margin: 0;
    font-size: clamp(14px, 1.55vw, 17px);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 2.6;
}

.jjlAboutLogo {
    width: clamp(200px, 28vw, 280px);
    margin: 48px auto 0;
    display: block;
    filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff);
}

.jjlWave {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 90px;
    display: block;
}

.jjlWave--bottom {
    bottom: -1px;
}

.jjlWave--top {
    top: -1px;
}

/* 見出し・共通パーツ --------------------------------------------------- */
.jjlHeading {
    text-align: center;
    margin: 0 0 56px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 900;
    letter-spacing: .1em;
    position: relative;
    padding-bottom: 16px;
}

.jjlHeading span {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: var(--jjl-red);
}

.jjlRule {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 64px 0 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
}

.jjlRule span {
    flex: 1;
    height: 1.5px;
    background: var(--jjl-red);
}

.jjlRule--white span {
    background: #fff;
}

.jjlBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 280px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
}

.jjlBody a.jjlBtn--outline {
    border: 2px solid var(--jjl-red);
    color: var(--jjl-red);
    background: #fff;
}

.jjlBody a.jjlBtn--white {
    background: #fff;
    color: var(--jjl-red);
}

.jjlBody a.jjlBtn--fill {
    background: var(--jjl-red);
    color: #fff;
}

.jjlBtn--small {
    min-width: 0;
    gap: 10px;
    padding: 12px 24px;
}

.jjlBtn--fill.jjlBtn--small {
    padding: 12px 32px;
}

.jjlUnderline {
    border-bottom: 1.5px solid var(--jjl-red);
}

.jjlPill {
    background: var(--jjl-red);
    color: #fff;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

/* 生産者紹介 ----------------------------------------------------------- */
.jjlProducer {
    background: var(--jjl-cream);
    padding: 48px 24px 140px;
}

/* 切り替わるカードは全件を同じ場所に重ねて置く。
   高さがいちばん高い1枚に揃うので、切り替えでページの高さが動かない。 */
.jjlStack {
    display: grid;
    opacity: 1;
    transition: opacity .7s ease;
}

.jjlStack.is-fading {
    opacity: 0;
}

.jjlStack > * {
    grid-area: 1 / 1;
    visibility: hidden;
}

.jjlStack > .is-current {
    visibility: visible;
}

.jjlFeature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
}

.jjlFeatureRegion {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
}

.jjlFeatureName {
    margin: 0 0 22px;
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 900;
    letter-spacing: .1em;
}

.jjlFeatureDesc {
    margin: 0 0 36px;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: .04em;
    text-wrap: pretty;
}

.jjlFeatureImg {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* 写真がまだ無い生産者。枠だけ置いて、横並びが崩れないようにする。 */
.jjlFeatureImg--empty {
    background: #efe6d6;
}

/* サムネスライダー ----------------------------------------------------- */
.jjlSlider {
    position: relative;
}

/* サムネ列。並びを2周ぶん置いて、列ごと左へ流す（順番の入れ替えはしない）。
   高さは --jjl-thumbs-ratio で固定してあるので、流れてもページの高さは動かない。 */
.jjlThumbsView {
    --jjl-thumb-gap: 1.4%;
    /* 1画面に並べる枚数。PCは全件（テンプレートが --jjl-thumb-total で渡す）。 */
    --jjl-thumb-n: var(--jjl-thumb-total, 5);
    /* 1枚ぶんの幅。すき間を除いた残りを枚数で割る。 */
    --jjl-thumb-w: calc((100% - (var(--jjl-thumb-n) - 1) * var(--jjl-thumb-gap)) / var(--jjl-thumb-n));
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--jjl-thumbs-ratio, 9.7);
}

.jjlThumbs {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    gap: var(--jjl-thumb-gap);
    will-change: transform;
    transition: transform 1.4s cubic-bezier(.65, 0, .35, 1);
}

.jjlThumbs.is-instant {
    transition: none;
}

.jjlThumb {
    flex: 0 0 var(--jjl-thumb-w);
    min-width: 0;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: pointer;
    opacity: .55;
    transition: opacity .7s ease;
}

/* 左端に来ている（＝上の大きなカードに出ている）1枚 */
.jjlThumb.is-current {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .jjlThumbs {
        transition: none;
    }
}

.jjlArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--jjl-red);
    background: #fff;
    color: var(--jjl-red);
    font-size: 16px;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.jjlArrow--plain {
    border: 0;
}

.jjlArrow--prev {
    left: -18px;
}

.jjlArrow--next {
    right: -18px;
}

/* じじエール商品 ------------------------------------------------------- */
.jjlProducts {
    background: var(--jjl-red);
    color: #fff;
    position: relative;
    padding: 60px 24px 64px;
}

.jjlProducts .jjlInner {
    position: relative;
}

.jjlProducts .jjlStack {
    margin-top: 40px;
}

.jjlProductFeature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.jjlProductImg {
    width: 100%;
    aspect-ratio: 1;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.jjlProductLabel {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(15px, 1.7vw, 19px);
    font-weight: 700;
    letter-spacing: .12em;
}

.jjlProductLabel span {
    display: inline-block;
    width: 3px;
    height: 26px;
    background: #fff;
}

.jjlProductLabel span:first-child {
    transform: rotate(-22deg);
}

.jjlProductLabel span:last-child {
    transform: rotate(22deg);
}

.jjlProductName {
    margin: 0 0 24px;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.4;
}

.jjlProductDesc {
    margin: 0 0 36px;
    font-size: 14px;
    font-weight: 700;
    line-height: 2.1;
    letter-spacing: .06em;
    text-wrap: pretty;
}

/* フッター ------------------------------------------------------------- */
.jjlFooter {
    background: var(--jjl-ink);
    color: #fff;
    padding: 36px 24px 28px;
}

.jjlFooterInner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* ブランドロゴを大きくしたぶん、すき間を詰めて1行に収める（2026-10 調整 dessin） */
    gap: 24px;
}

.jjlFooterLogo {
    display: block;
    width: 130px;
}

.jjlFooterLogo img {
    width: 100%;
    display: block;
}

.jjlFooterBrands {
    display: flex;
    align-items: center;
    gap: 14px;
}

.jjlFooterBrands a {
    display: block;
    height: 56px;
}

.jjlFooterBrands img {
    height: 100%;
    width: auto;
    display: block;
}

/* すし市場のロゴは縦長の形なので、同じ高さだと文字が小さく見える。少し大きくして見た目を揃える */
.jjlFooterBrands a.jjlFooterBrand--tall {
    height: 76px;
}

.jjlFooterNav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* ブランドロゴを 46px → 56px にした横幅のぶん、ここで詰めて1行を保つ（2026-10 調整 dessin） */
    gap: 18px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
}

.jjlBody a.jjlFooterContact {
    background: #fff;
    color: var(--jjl-ink);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 12px;
}

.jjlCopyright {
    max-width: 1100px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 10px;
    letter-spacing: .08em;
    opacity: .85;
    font-family: "Noto Sans JP", sans-serif;
}

/* ==========================================================================
   生産者インタビュー
   ========================================================================== */
.jjlCrumbWrap {
    background: var(--jjl-cream);
}

.jjlCrumb {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.jjlCrumb span {
    color: var(--jjl-red);
}

.jjlCrumb em {
    font-style: normal;
    opacity: .7;
}

.jjlIntroHero {
    background: var(--jjl-cream);
    padding: 16px 24px 0;
}

.jjlIntroHeroInner {
    position: relative;
}

.jjlIntroHeroInner img {
    width: 100%;
    aspect-ratio: 16 / 8;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.jjlIntroHeroInner .jjlPill {
    position: absolute;
    left: 24px;
    top: 24px;
}

.jjlIntroTitle {
    background: var(--jjl-cream);
    padding: 48px 24px 72px;
}

.jjlIntroTitleGrid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.jjlIntroRegion {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--jjl-red);
}

.jjlIntroName {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.3;
}

.jjlIntroLead {
    margin: 0;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.8;
    text-wrap: pretty;
}

.jjlCard {
    margin: 0;
    background: #fff;
    border-radius: 20px;
}

.jjlSummary {
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 24px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: .06em;
}

.jjlSummary dt {
    font-weight: 900;
    color: var(--jjl-red);
    white-space: nowrap;
}

.jjlSummary dd {
    margin: 0;
    font-weight: 700;
}

.jjlIntroBody {
    background: #fff;
    padding: 80px 24px 40px;
}

.jjlIntroBodyInner {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 96px;
}

.jjlChapter {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.jjlChapterNo {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--jjl-red);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .02em;
}

.jjlChapter h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--jjl-red);
}

.jjlChapterLine {
    flex: 1;
    height: 1.5px;
    background: var(--jjl-red);
}

.jjlChapterHeading {
    margin: 0 0 28px;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.5;
    text-wrap: pretty;
}

.jjlChapterText {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 2.2;
    letter-spacing: .04em;
    font-family: "Noto Sans JP", sans-serif;
    text-wrap: pretty;
}

.jjlChapterText:last-of-type {
    margin-bottom: 32px;
}

/* エディタ（ACFのWYSIWYG）で書いた本文。文中に入れた写真もここで整える。 */
.jjlChapterBody > p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 2.2;
    letter-spacing: .04em;
    font-family: "Noto Sans JP", sans-serif;
    text-wrap: pretty;
}

.jjlChapterBody > p:last-child {
    margin-bottom: 0;
}

.jjlChapterBody img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* 画像だけの段落は上下に余白をとる */
.jjlChapterBody > p:has(> img),
.jjlChapterBody > p:has(> a > img),
.jjlChapterBody > figure {
    margin: 32px 0;
}

/* 写真を2枚続けて入れたら2列に並べる */
.jjlChapterBody > p:has(img + img) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jjlChapterBody > p:has(img + img) img {
    aspect-ratio: 1;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
}

.jjlChapterBody .wp-caption,
.jjlChapterBody figure {
    width: 100% !important;
    max-width: 100%;
}

.jjlChapterBody .wp-caption-text,
.jjlChapterBody figcaption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.8;
    color: #7a6a58;
    font-family: "Noto Sans JP", sans-serif;
    text-align: left;
}

/* エディタ本文に直接書かれた横並びブロック（商品紹介など）。
   style属性のflexを打ち消すので !important が必要。
   幅が狭いと文章側が数文字ぶんまでつぶれるので、縦積みに切り替える。2026-10 追加 dessin */
@media screen and (max-width: 600px) {

    .jjlChapterBody div[style*="display: flex"],
    .jjlChapterBody div[style*="display:flex"] {
        display: block !important;
    }

    .jjlChapterBody div[style*="display: flex"] > p:first-child:has(> img),
    .jjlChapterBody div[style*="display:flex"] > p:first-child:has(> img) {
        max-width: 360px;
        margin: 0 0 14px !important;
    }

    /* 縦積みのときは高さの制限を外して横幅いっぱいに見せる */
    .jjlChapterBody div[style*="display: flex"] > p > img,
    .jjlChapterBody div[style*="display:flex"] > p > img {
        max-height: none !important;
    }
}

.jjlChapterBody + .jjlChapterImg,
.jjlChapterBody + .jjlChapterImgs,
.jjlChapterBody + .jjlQuote {
    margin-top: 32px;
}

/* 「生産者の声」と、その下に置く写真のあいだ */
.jjlQuote + .jjlChapterImg,
.jjlQuote + .jjlChapterImgs {
    margin-top: 40px;
}

/* お話を伺った方 */
.jjlIntroSpeaker {
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--jjl-red);
}

.jjlChapterImg {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.jjlChapterImgs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jjlChapterImgs img {
    width: 100%;
    aspect-ratio: 1;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.jjlQuote {
    margin: 0;
    background: var(--jjl-cream);
    border-radius: 20px;
    padding: 32px 36px;
    position: relative;
}

.jjlPill--quote {
    position: absolute;
    left: 24px;
    top: -18px;
    padding: 6px 16px;
}

.jjlQuote p {
    margin: 0;
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.9;
    text-wrap: pretty;
}

.jjlQuoteBy {
    margin: 12px 0 0 !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: right;
}

.jjlIntroProduct {
    background: #fff;
    padding: 40px 24px 80px;
}

.jjlIntroProductCard {
    background: var(--jjl-red);
    color: #fff;
    border-radius: 28px;
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.jjlIntroProductCard > img {
    width: 100%;
    aspect-ratio: 1;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.jjlIntroProductLabel {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
}

.jjlIntroProductCard h3 {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.4;
}

.jjlIntroProductDesc {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: .06em;
    text-wrap: pretty;
}

.jjlIntroProductCard .jjlBtn {
    min-width: 240px;
    padding: 12px 28px;
}

.jjlOverview {
    background: var(--jjl-cream);
    padding: 72px 24px 96px;
}

.jjlOverview .jjlHeading {
    margin-bottom: 48px;
}

.jjlOverviewGrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.jjlOverviewList {
    padding: 32px 36px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 28px;
    font-size: 14px;
    letter-spacing: .06em;
    align-content: start;
}

.jjlOverviewList dt {
    font-weight: 900;
    color: var(--jjl-red);
    white-space: nowrap;
    padding: 14px 0;
    border-bottom: 1px solid var(--jjl-line);
}

.jjlOverviewList dd {
    margin: 0;
    font-weight: 700;
    padding: 14px 0;
    border-bottom: 1px solid var(--jjl-line);
    line-height: 1.7;
}

.jjlOverviewList dt:nth-last-of-type(1),
.jjlOverviewList dd:nth-last-of-type(1) {
    border-bottom: 0;
}

.jjlMap {
    border-radius: 20px;
    min-height: 320px;
    overflow: hidden;
}

.jjlMap iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.jjlMap--empty {
    background: #e8dcc8;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #7a6a58;
}

.jjlPager {
    background: #fff;
    padding: 56px 24px 72px;
}

.jjlPagerNav {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.jjlOthers {
    margin-top: 64px;
}

.jjlOthers .jjlRule {
    margin: 0 0 24px;
}

.jjlOthersGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.jjlOthersGrid a {
    display: block;
}

.jjlOthersGrid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto; /* width/height 属性に高さを乗っ取られないように。2026-10 追加 dessin */
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ==========================================================================
   スマホ（〜768px）
   ========================================================================== */
/* ヘッダーだけは早めにハンバーガーへ切り替える。
   PC配置のままだと、ウィンドウを半分にした幅（900px前後）で
   中央のナビと右上の「ブランドサイトへ戻る」が重なるため。2026-10 追加 dessin */
@media screen and (max-width: 1100px) {
    /* ヘッダー: ハンバーガー */
    .jjlNav {
        justify-content: space-between;
        padding: 10px 16px;
        gap: 8px;
    }

    .jjlNavToggle {
        display: flex;
        order: 0;
        flex: none;
    }

    .jjlHeader.is-open .jjlNavToggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .jjlHeader.is-open .jjlNavToggle span:nth-child(2) {
        opacity: 0;
    }

    .jjlHeader.is-open .jjlNavToggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .jjlNavLogo {
        order: 1;
        width: 104px;
        margin: 0 auto 0 0;
        margin-left: 8px;
    }

    .jjlNavPanel {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--jjl-red);
        padding: 8px 20px 22px;
        flex-direction: column;
        gap: 14px;
        box-shadow: 0 12px 20px rgba(0, 0, 0, .15);
    }

    .jjlHeader.is-open .jjlNavPanel {
        display: flex;
    }

    .jjlNavLinks {
        flex-direction: column;
        gap: 14px;
        font-size: 15px;
    }

    .jjlNavLinks a {
        display: inline-block;
    }

    .jjlNavSub {
        position: static;
        transform: none;
        gap: 12px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, .4);
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {

    .jjlBody [id] {
        scroll-margin-top: 88px;
    }

    .jjlBrSp {
        display: inline;
    }

    .jjlBrPc {
        display: none;
    }

    /* メインビジュアル */
    .jjlHeroInner {
        height: 74vw;
        min-height: 300px;
    }

    .jjlHeroInner {
        --jjl-edge: 7%;
        --jjl-slide-w: 86%;
        --jjl-gap: 1.5%;
    }

    .jjlHeroSlide {
        border-radius: 20px;
    }

    .jjlHeroCatch {
        left: calc(var(--jjl-edge) + 4%);
        right: var(--jjl-edge);
        top: 18%;
    }

    .jjlHeroCatch p {
        margin-bottom: 14px;
        font-size: 14px;
    }

    /* スマホではロゴが写真の人物にかぶるので出さない。PCはそのまま（2026-10 調整 dessin） */
    .jjlHeroCatch img {
        display: none;
    }

    /* じじエールとは？ */
    .jjlAboutInner {
        padding: 48px 20px 180px;
        /* ロゴを見出しの上に回すために並び替えできるようにする */
        display: flex;
        flex-direction: column;
    }

    /* スマホではヒーローのロゴを出さないぶん、ここのロゴを見出しの上に置く（2026-10 変更 dessin） */
    .jjlAboutLogo {
        order: -1;
        width: 62%;
        max-width: 260px;
        margin: 0 auto 26px;
    }

    .jjlAboutInner p {
        line-height: 2.2;
        letter-spacing: .06em;
        /* 改行（.jjlBrPc）を外して自然に折り返すので、左寄せにする */
        text-align: left;
    }

    .jjlWave {
        height: 48px;
    }

    /* 見出し・共通 */
    .jjlHeading {
        margin-bottom: 36px;
    }

    .jjlRule {
        margin: 44px 0 18px;
        gap: 12px;
        font-size: 12px;
    }

    .jjlBtn {
        min-width: 0;
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
    }

    /* 生産者紹介・商品 */
    .jjlProducer {
        padding: 40px 20px 80px;
    }

    .jjlFeature,
    .jjlProductFeature,
    .jjlIntroTitleGrid,
    .jjlOverviewGrid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jjlProducts .jjlStack {
        margin-top: 24px;
    }

    .jjlProductImg {
        width: 72%;
        margin: 0 auto;
    }

    .jjlProducts {
        padding: 40px 20px 56px;
    }

    /* スマホは2.2枚ぶんを見せて、同じように左へ流す */
    .jjlThumbsView {
        --jjl-thumb-gap: 2.5%;
        --jjl-thumb-n: 2.2;
        aspect-ratio: 3.4;
    }

    .jjlArrow {
        display: none;
    }

    /* フッター: 中身は中央寄せ、ナビは1行ずつ */
    .jjlFooterInner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
    }

    .jjlFooterLogo {
        margin: 0 auto;
    }

    .jjlFooterBrands {
        justify-content: center;
        gap: 12px;
    }

    .jjlFooterBrands a {
        height: 34px;
    }

    .jjlFooterBrands a.jjlFooterBrand--tall {
        height: 46px;
    }

    .jjlFooterNav {
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        margin-left: 0;
        gap: 16px;
        font-size: 13px;
    }

    /* インタビュー */
    .jjlIntroHeroInner img {
        aspect-ratio: 16 / 10;
        border-radius: 18px;
    }

    .jjlIntroHeroInner .jjlPill {
        left: 12px;
        top: 12px;
        padding: 6px 14px;
        font-size: 11px;
    }

    .jjlIntroTitle {
        padding: 32px 20px 48px;
    }

    .jjlSummary {
        padding: 22px 20px;
        gap: 10px 16px;
    }

    .jjlIntroBody {
        padding: 48px 20px 24px;
    }

    .jjlIntroBodyInner {
        gap: 64px;
    }

    .jjlChapter {
        gap: 12px;
        margin-bottom: 20px;
    }

    .jjlChapterNo {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .jjlChapter h2 {
        font-size: 13px;
        letter-spacing: .1em;
    }

    .jjlQuote {
        padding: 28px 20px 24px;
    }

    .jjlIntroProduct {
        padding: 24px 20px 56px;
    }

    .jjlIntroProductCard {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 28px 22px;
        text-align: center;
        justify-items: center;
    }

    .jjlIntroProductCard > img {
        width: 60%;
    }

    .jjlIntroProductCard .jjlBtn {
        min-width: 0;
        width: 100%;
    }

    .jjlOverview {
        padding: 48px 20px 64px;
    }

    .jjlOverviewList {
        padding: 22px 20px;
        gap: 0 16px;
    }

    .jjlPager {
        padding: 40px 20px 56px;
    }

    .jjlPagerNav {
        gap: 12px;
    }

    .jjlPagerNav .jjlBtn {
        width: auto;
        font-size: 12px;
        padding: 10px 18px;
    }

    .jjlOthers {
        margin-top: 44px;
    }

    .jjlOthersGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}
