
/* 60% off-white / 30% soft neutral / 10% olive. */
:root {
    --paper: #F8F9FA;
    --surface: #E8ECE5;
    --olive: #566640;
    --ink: #252E22;
    --muted: #65705F;
    --line: #D7DDD2;
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, 'Noto Sans JP', 'Yu Gothic', sans-serif; line-height: 1.9; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 110px; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: auto; }
.section { padding: 104px 0; }
.center { text-align: center; }
.eyebrow, .hero-kicker { color: var(--olive); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.heading { margin-bottom: 24px; font-size: clamp(26px, 3.5vw, 40px); line-height: 1.55; font-weight: 700; letter-spacing: -.04em; }
.lead { max-width: 760px; margin: 0 auto 48px; font-size: 15px; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 14px 24px; border: 1px solid var(--olive); border-radius: 50px; background: var(--olive); color: white; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-3px); background: #404F2D; color: white; }
.button.ghost { margin-left: 10px; color: var(--olive); background: transparent; }
.header { position: sticky; top: 12px; z-index: 100; margin: 12px 20px 0; border-radius: 18px; }
.header, .hero-points, .trustbar, .gallery-text { background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 36px #283B2110; }
.header-in { display: flex; min-height: 80px; justify-content: space-between; align-items: center; gap: 20px; }
.logo img { display: block; width: min(255px, 48vw); height: auto; object-fit: contain; }
.nav { gap: 20px; align-items: center; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 700; }
.nav .contact-link { background: var(--olive); color: white; padding: 10px 18px; border-radius: 30px; }
.menu { display: none; border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 4px 12px; }
.hero { position: relative; overflow: hidden; min-height: 760px; display: flex; align-items: center; background: linear-gradient(135deg,#fff8d9 0%,#f7f9f2 43%,#dceecf 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .26; background-image: radial-gradient(#566640 1px,transparent 1px); background-size: 24px 24px; pointer-events: none; }
.hero::after { content: ''; position: absolute; right: 4%; top: 80px; width: 31%; aspect-ratio: 1; border: 1px solid #FFFFFF; border-radius: 50%; box-shadow: 0 0 0 45px #FFFFFF40, 0 0 0 90px #FFFFFF28; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.92fr) minmax(460px,1.08fr); align-items: center; gap: 28px; padding: 66px 0 78px; }
.hero-message { position: relative; z-index: 5; }
.hero h1 { margin: 12px 0 18px; font-size: inherit; font-weight: 800; line-height: 1.08; letter-spacing: -.06em; }
.hero-title-main { display: block; font-size: clamp(52px,6.4vw,92px); }
.hero-title-main em { position: relative; z-index: 1; color: #fff; font-style: normal; white-space: nowrap; }
.hero-title-main em::before { content: ''; position: absolute; z-index: -1; inset: 5% -5% -2%; background: #f28b4b; border-radius: 45% 55% 44% 56% / 55% 42% 58% 45%; transform: rotate(-2deg); }
.hero h1 small { display: block; margin: 24px 0; font-size: 15px; line-height: 1.8; letter-spacing: .02em; }
.hero-copy { max-width: 570px; color: var(--muted); font-size: 15px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px; width: fit-content; padding: 14px 20px; margin: 26px 0; border-radius: 14px; font-size: 12px; }
.hero-collage { position: relative; min-height: 610px; transform-style: preserve-3d; }
.hero-photo { position: absolute; display: block; overflow: hidden; border: 8px solid #fff; border-radius: 26px; background: #fff; box-shadow: 0 22px 55px #26321f38; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo:hover { z-index: 9; box-shadow: 0 30px 70px #26321f50; }
.hero-photo-main { z-index: 3; width: 55%; aspect-ratio: 1; right: 13%; top: 9%; transform: rotate(3deg); }
.hero-photo-patch { z-index: 4; width: 31%; aspect-ratio: 1; left: 2%; top: 3%; transform: rotate(-8deg); }
.hero-photo-wood { z-index: 4; width: 31%; aspect-ratio: 1; right: 0; bottom: 4%; transform: rotate(8deg); }
.hero-photo-goods { z-index: 2; width: 35%; aspect-ratio: 1; left: 3%; bottom: 5%; transform: rotate(5deg); }
.hero-photo-sticker { z-index: 5; width: 25%; aspect-ratio: 1; right: 2%; top: 1%; transform: rotate(9deg); }
.hero-burst { position: absolute; z-index: 7; left: 36%; bottom: 3%; width: 145px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: #fff; background: #566640; clip-path: polygon(50% 0,60% 18%,77% 6%,79% 27%,100% 25%,86% 43%,100% 56%,79% 62%,82% 84%,62% 76%,50% 100%,39% 77%,18% 88%,21% 64%,0 56%,16% 42%,2% 25%,24% 26%,24% 5%,41% 18%); transform: rotate(-7deg); }
.hero-burst b { font-size: 21px; line-height: 1.2; }
.hero-burst span { font-size: 11px; }
.hero-collage-caption { position: absolute; z-index: 6; right: 2%; bottom: -14px; margin: 0; padding: 8px 15px; border-radius: 999px; background: #fff; color: var(--olive); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.trustbar { border-radius: 0; background: #E8ECE588; box-shadow: none; }
.trust-in { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-in div { padding: 24px 8px; text-align: center; font-size: 13px; }
.problem-grid, .service-grid, .reasons { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.problem, .service, .reason { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF90; }
.problem b { font-size: 18px; }
.problem p, .service p, .reason p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.answer { margin-top: 32px; padding: 32px; border-left: 3px solid var(--olive); }
.answer strong { display: block; margin-bottom: 10px; font-size: 22px; }
.answer p { margin: 0; font-size: 14px; color: var(--muted); }
.dark { background: var(--surface); }
.service-number, .reason-icon { display: block; font-size: 14px; color: var(--olive); margin-bottom:1px; }
.service h3, .reason h3 { font-size: 19px; margin-bottom: 16px; }
.service-tags { margin-top: 2px; font-size: 10px; letter-spacing: .1em; color: var(--olive); }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gallery-card { position: relative; min-height: 300px; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg,#D6DFCC,#ECEFE8 65%); }
.gallery-card.large { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .6s; }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card::before { content: none; }
.gallery-text { position: absolute; bottom: 14px; right: 14px; left: 14px; padding: 17px; border-radius: 14px; }
.gallery-text small { color: var(--olive); font-size: 10px; letter-spacing: .12em; }
.gallery-text h3 { font-size: 17px; margin: 6px 0 0; }
.gallery-text p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.gallery-card-featured { min-height: 390px; cursor: pointer; }
.gallery-card-featured img { transition: transform .8s cubic-bezier(.2,.75,.25,1); }
.gallery-card-featured .gallery-text {
    top: auto;
    bottom: 14px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: rgba(248,249,250,.9);

    opacity: 0;
    transform: translateY(18px);
    transition: opacity .4s ease, transform .4s ease;
}
.gallery-card-featured:hover img,
.gallery-card-featured:focus img { transform: scale(1.11); }
.gallery-card-featured:hover .gallery-text,
.gallery-card-featured:focus .gallery-text { opacity: 1; transform: translateY(0); }
.gallery-card-featured:focus { outline: 3px solid var(--olive); outline-offset: 4px; }
.photo-note { margin-top: 22px; font-size: 12px; color: var(--muted); }
.tax-box { display: grid; grid-template-columns: 1fr 2fr; gap: 55px; align-items: center; padding: 56px; background: var(--surface); border-radius: 28px; }
.tax-badge { width: 190px; height: 190px; margin: auto; display: grid; place-content: center; text-align: center; border: 1px solid var(--olive); border-radius: 50%; color: var(--olive); font-size: 20px; }
.tax-box h2 { font-size: 30px; line-height: 1.6; }
.tax-box p { font-size: 14px; color: var(--muted); }
.area { margin-top: 36px; font-size: 14px; text-align: center; }
.process { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.step { border-top: 1px solid var(--olive); padding-top: 24px; }
.step b { color: var(--olive); font-size: 26px; font-weight: 400; }
.step h3 { font-size: 17px; margin: 16px 0; }
.step p { font-size: 13px; color: var(--muted); }
.faq { max-width: 850px; margin: auto; }
.faq details { border-bottom: 1px solid #BAC3B3; padding: 20px 0; }
.faq summary { font-size: 16px; font-weight: 500; cursor: pointer; }
.faq p { padding-top: 18px; font-size: 14px; color: var(--muted); }
.cta { text-align: center; background: radial-gradient(ellipse at 50% 100%,#D6DFC9,transparent 70%); }
.cta-note { font-size: 15px; color: var(--muted); margin: 30px 0; }
.micro, .footer { font-size: 12px; color: var(--muted); }
.micro { margin-top: 18px; }
.footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--line); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filter-bar button { border: 1px solid var(--line); border-radius: 30px; background: white; padding: 8px 20px; font-size: 13px; }
.filter-bar button[aria-pressed='true'] { background: var(--olive); color: white; }
.reveal { animation: rise .7s both; }
@keyframes rise { from { opacity: .2; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* ==================================================
   OEM・大ロット製作事例
================================================== */

#oem .oem-lead {
    margin-left: 0;
}

#oem .oem-results {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}

#oem .oem-card {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: #252e22;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    isolation: isolate;
}

#oem .oem-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

/* 文字背景 */
#oem .oem-card-text {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(
            180deg,
            rgba(20, 25, 18, 0.02) 15%,
            rgba(20, 25, 18, 0.28) 48%,
            rgba(20, 25, 18, 0.94) 100%
        );
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

/* マウスホバー・キーボード選択 */
#oem .oem-card:hover .oem-card-text,
#oem .oem-card:focus .oem-card-text,
#oem .oem-card:focus-within .oem-card-text {
    opacity: 1;
    transform: translateY(0);
}

#oem .oem-card:hover img,
#oem .oem-card:focus img {
    transform: scale(1.08);
    filter: brightness(0.72);
}

#oem .oem-card-text small {
    display: block;
    margin-bottom: 8px;
    color: #d8e5c8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

#oem .oem-card-text h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.35;
}

#oem .oem-card-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.8;
}

#oem .image-note {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    line-height: 1.5;
}

/* タブレット */
@media (max-width: 991px) {
    #oem .oem-results {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    #oem .oem-results {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 28px;
    }

    #oem .oem-card {
        overflow: hidden;
        aspect-ratio: auto;
        background: #fff;
    }

    #oem .oem-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    /* スマホにはマウスホバーがないので文字を画像下に表示 */
    #oem .oem-card-text {
        position: static;
        padding: 20px 17px 22px;
        color: #252e22;
        background: #fff;
        opacity: 1;
        transform: none;
    }

    #oem .oem-card-text small {
        color: #78836b;
    }

    #oem .oem-card-text h3 {
        color: #252e22;
    }

    #oem .oem-card-text p {
        color: #65705f;
    }

    #oem .image-note {
        color: #8a9085;
    }

    #oem .oem-card:hover img,
    #oem .oem-card:focus img {
        transform: none;
        filter: none;
    }
}
@media (max-width: 576px) {
  .gallery-card,
  .gallery-card-featured {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #fff;
  }

  .gallery-card img,
  .gallery-card-featured img {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: none;
  }

  .gallery-card .gallery-text,
  .gallery-card-featured .gallery-text {
    position: static;
    display: block;
    width: 100%;
    padding: 20px 18px 24px;
    color: var(--ink);
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-card .gallery-text small {
    display: block;
    margin-bottom: 8px;
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .gallery-card .gallery-text h3 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.45;
  }

  .gallery-card .gallery-text p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
  }

  .gallery-card:hover img,
  .gallery-card:focus img,
  .gallery-card-featured:hover img,
  .gallery-card-featured:focus img {
    transform: none;
  }
}
@media (max-width: 576px) {
  .reason {
    position: relative;
    isolation: isolate;
    min-height: 190px;
    overflow: hidden;
  }

  .reason-number {
    position: absolute;
    z-index: -1;
    top: -10px;
    right: -6px;
    width: 145px;
    height: 145px;
    margin: 0;
    object-fit: contain;
    opacity: 0.12;
    transform: none;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: multiply;
  }

  .reason h3,
  .reason p {
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 960px) {
    .menu { display: block; }
    .nav { display: none; position: absolute; top: 85px; left: 0; right: 0; padding: 25px; background: #F8F9FA; border: 1px solid var(--line); border-radius: 18px; }
    .nav.open { display: grid; }
    .problem-grid, .service-grid, .reasons, .gallery, .process { grid-template-columns: repeat(2,1fr); }
    .hero-in { grid-template-columns: 1fr; }
    .hero-collage { min-height: 580px; width: min(680px,100%); margin: -15px auto 0; }
}
@media (max-width: 576px) {
    .wrap { width: calc(100% - 32px); }
    .header { margin: 8px; top: 8px; }
    .header-in { min-height: 65px; }
    .section { padding: 64px 0; }
    .hero { min-height: auto; }
    .hero-in { padding: 42px 0 55px; }
    .hero::after { right: -25%; width: 65%; }
    .hero-title-main { font-size: clamp(43px,14vw,62px); }
    .hero h1 small { margin: 20px 0 14px; font-size: 13px; }
    .hero-copy { font-size: 13px; }
    .hero-points { gap: 8px; padding: 12px; }
    .hero-collage { min-height: 390px; margin-top: 18px; }
    .hero-photo { border-width: 5px; border-radius: 18px; }
    .hero-photo-main { width: 58%; right: 12%; top: 10%; }
    .hero-photo-patch { width: 33%; left: 0; top: 1%; }
    .hero-photo-goods { width: 35%; left: 1%; bottom: 2%; }
    .hero-photo-wood { width: 32%; right: 0; bottom: 5%; }
    .hero-photo-sticker { width: 26%; right: 0; top: 0; }
    .hero-burst { width: 105px; left: 35%; bottom: 0; }
    .hero-burst b { font-size: 16px; }
    .button, .button.ghost { display: flex; margin: 10px 0; }
    .problem-grid, .service-grid, .reasons, .gallery, .process, .tax-box { grid-template-columns: 1fr; }
    .gallery-card.large { grid-column: auto; }
    .trust-in { grid-template-columns: repeat(2,1fr); }
    .tax-box { padding: 30px; gap: 30px; }
    .gallery-card-featured .gallery-text { top: auto; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
  
.contact-panel { padding: clamp(20px, 4vw, 40px); background: #FFFFFFB8; border: 1px solid var(--line); border-radius: 22px; }
.form-control, .form-select { padding: 12px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--olive); box-shadow: 0 0 0 3px #56664022; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.social-panel { padding: 40px; border-radius: 24px; background: #FFFFFFA0; border: 1px solid var(--line); }
.footer-description { max-width: 880px; margin: 0 auto 25px; text-align: left; }
:focus-visible { outline: 3px solid #566640; outline-offset: 4px; }

/* Decorative leaves never intercept clicks or cover the form. */
#feather-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 101; }
.motion-toggle { position: fixed; bottom: 14px; right: 14px; z-index: 102; padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; background: #F8F9FAE8; color: var(--muted); font-size: 11px; }
.reason-number { display: block; width: 135px; height: 135px; object-fit: contain; margin: -8px 0 20px; border-radius: 18px; mix-blend-mode: multiply; }
.reason { transition: transform .3s, box-shadow .3s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .reason:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #35462812; }
}
@media (max-width: 576px) {
    .reason-number { width: 110px; height: 110px; }
}
.furusato {
  overflow: hidden;
}
/* ==================================================
   ふるさと納税セクション
   PCでは文章を主役、商品画像はコンパクトに表示
================================================== */

#furusato .tax-showcase {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
    max-width: 1080px;
    margin: 45px auto 0;
}

#furusato .product-zoom {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: 0 18px 45px rgba(36, 45, 32, 0.14);
    cursor: zoom-in;
}

#furusato .product-zoom img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#furusato .product-zoom span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 46, 34, 0.78);
    font-size: 11px;
    backdrop-filter: blur(8px);
}

#furusato .tax-story {
    min-width: 0;
}

#furusato .tax-story h3 {
    margin: 14px 0 18px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
}

/* スマートフォン */
@media (max-width: 767px) {
    #furusato .tax-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    #furusato .product-zoom {
        width: min(100%, 280px);
        max-width: 280px;
    }

    #furusato .product-zoom img {
        max-width: 280px;
    }

    #furusato .tax-story {
        text-align: left;
    }
}
@media (max-width: 576px) {
  .tax-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    width: 100%;
    padding: 16px;
    border-radius: 20px;
  }

  .product-zoom {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .product-zoom img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .tax-links {
    align-items: stretch;
    flex-direction: column;
  }

  .tax-links .button {
    width: 100%;
  }

  .tax-links a,
  .story-contact {
    overflow-wrap: anywhere;
  }
}
/* ==================================================
   ご相談の流れ
================================================== */

#flow .flow-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin-top: 42px;
}

#flow .flow-card {
    position: relative;
    min-width: 0;
    padding: 34px 28px;
    overflow: hidden;
    border: 1px solid rgba(86, 102, 64, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 15px 35px rgba(38, 50, 31, 0.08);
}

#flow .flow-card > span {
    display: block;
    margin-bottom: 20px;
    color: #96a884;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

#flow .flow-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

#flow .flow-card p {
    margin: 0;
    color: #65705f;
    font-size: 14px;
    line-height: 1.8;
}

#flow .flow-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: 22px 26px;
    border-radius: 18px;
    background: rgba(86, 102, 64, 0.08);
}

#flow .flow-bottom p {
    margin: 0;
    line-height: 1.8;
}

/* タブレット */
@media (max-width: 991px) {
    #flow .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    #flow .flow-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin-top: 28px;
    }

    #flow .flow-card {
        padding: 25px 21px;
    }

    #flow .flow-card > span {
        margin-bottom: 14px;
        font-size: 34px;
    }

    #flow .flow-bottom {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        text-align: left;
    }

    #flow .flow-bottom .button {
        width: 100%;
        text-align: center;
    }
}
/* 通常は左揃え */
.eyebrow,
.heading,
.lead {
    text-align: left;
}

/* セクション見出しとして囲んだ場合だけ中央揃え */
.section-heading,
.center {
    text-align: center;
}

.section-heading .eyebrow,
.section-heading .heading,
.section-heading .lead,
.center .eyebrow,
.center .heading,
.center .lead {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

/* ヒーローは左揃え */
.hero-kicker,
.hero-message .heading,
.hero-message .lead {
    text-align: left;
}

/* CTAは中央揃え */
.cta {
    text-align: center;
}

.cta .eyebrow,
.cta .heading,
.cta .cta-note {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.media-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.media-work {
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.media-work:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.media-work small {
    display: block;
    margin-bottom: 10px;
    color: var(--olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.media-work h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.4;
}

.media-work p {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
}

.media-work span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.media-note {
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .media-works {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .media-works {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
    }

    .media-work {
        padding: 20px;
    }
}