/* ============================================================
   BASE (from style.css provided)
============================================================ */
body {
    margin: 0;
    font-family: var(--font-serif);
    -webkit-font-smoothing: antialiased;
    color: #1C1C1C;
    background: #fff;
}

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

strong {
    font-weight: 700;
    font-size: 1.05rem;
}

.p-small {
    font-size: 0.75em;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

/* SP専用改行 — PC時は非表示 */
.sp-only {
    display: none;
}

/* スクリーンリーダー専用（視覚的に非表示） */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* wrapper grid */
.wrapper {
    display: grid;
    grid-template-columns: 78px 1fr;
    min-height: 100vh;
}

.sns-icon {
    width: 36px;

}

/* ============================================================
   SIDEBAR (from style.css provided — DO NOT CHANGE)
============================================================ */
.side-nav {
    position: fixed;
    width: 78px;
    height: 100vh;
    background-color: #72B649;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    z-index: 300;
}

.side-nav-text {
    writing-mode: vertical-rl;
    color: #ffffff;
    letter-spacing: 0.25em;
}

.site-title {
    letter-spacing: 0.3em;
}

p.side-nav-text {
    letter-spacing: 0.2em;
}

.nav-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

.hamburger {
    width: 28px;
    height: 20px;
    padding-bottom: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    will-change: transform, opacity;
}

.nav-mark.open .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-mark.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-mark.open .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-mark .nav-caption {
    font-size: 0.8rem;
    color: #ffffff;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

.site-title {
    font-size: 1.5rem;
    font-weight: normal;
}

/* site-link: PC時は display:contents で子要素を side-nav flex に直接参加させる */
.site-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

/* PC縦配置の順序を維持（上=h1, 中=nav-mark, 下=p） */
.site-title {
    order: 1;
}

.nav-mark {
    order: 2;
}

p.side-nav-text {
    order: 3;
}

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
    --green: #519C23;
    --green-side: #72B649;
    --green-deep: #2D5016;
    --green-light: #4A7F30;
    --green-pale: #E8F0E1;
    --gold: #C9A882;
    --gold-deep: #352513;
    --gold-light: #EDD9BC;
    --red: #f7382a;
    --red-dark: #790d05;
    --cream: #FEFEF8;
    --ink: #1C1C1C;
    --ink-light: #555;
    --border: #D4C9B0;
    --sidebar-w: 78px;

    /* Typography */
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    /* Layout */
    --content-w: 640px;

    /* Eyebrow label */
    --eyebrow-size: 1rem;
    --eyebrow-weight: 400;
    --eyebrow-spacing: 0.3em;
    --eyebrow-mb: 0.6rem;
}

/* ============================================================
   MAIN CONTENT
============================================================ */
.main-container {
    grid-column: 2;
    /* fixed の side-nav は grid 外なので明示的に2列目に配置 */
    min-width: 0;
    /* グリッドアイテムのデフォルト min-width:auto による overflow を防ぐ */
}

/* ============================================================
   DRAWER MENU
============================================================ */
.drawer {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    width: 260px;
    height: 100vh;
    background: var(--green-deep);
    z-index: 290;
    transform: translateX(calc(-100% - var(--sidebar-w)));
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 2px solid var(--green-light);
    overflow-y: auto;
    padding: 2rem 0;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-site-name {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--cream);
    padding: 0 1.5rem 0.25rem;
}

.drawer-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    padding: 0 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.drawer nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.drawer nav a:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.07);
    border-left-color: var(--gold);
}

.nav-num {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 280;
}

.overlay.open {
    display: block;
}

/* ============================================================
   SECTION COMMON
============================================================ */
.sec {
    padding: clamp(3rem, 7vw, 5.5rem) max(1.5rem, calc((100% - 1000px) / 2));
}

/* 白BG（奇数） */
.sec-white {
    background: #ffffff;
    color: var(--ink);
}

/* 緑BG（偶数） */
.sec-green {
    background:
        linear-gradient(to bottom, transparent calc(100% - 400px), rgba(0, 0, 0, 0.18) 100%),
        #519C23;
    color: #fff;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    letter-spacing: var(--eyebrow-spacing);
    font-weight: var(--eyebrow-weight);
    margin-bottom: var(--eyebrow-mb);
    text-align: center;
}

.sec-white .eyebrow {
    color: var(--gold);
}

.sec-green .eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.sec-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    text-align: center;
}

.sec-white .sec-title {
    color: var(--green-deep);
    border-bottom: 2px solid var(--green-pale);
}

.sec-green .sec-title {
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

.sec-sub {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.sec-white .sec-sub {
    color: var(--ink-light);
}

.sec-green .sec-sub {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: scale(1.03);
}

.btn-outline {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}

.sec-white .btn-outline {
    border: 2px solid var(--green-deep);
    color: var(--green-deep);
}

.sec-white .btn-outline:hover {
    background: var(--green-deep);
    color: #fff;
}

.sec-green .btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.sec-green .btn-outline:hover {
    background: #fff;
    color: var(--green-deep);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #06C755;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border: solid var(--green) 1px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-line:hover {
    background: #83ee83;
    color: #06C755;
    transform: scale(1.03);

}

/* ============================================================
   S01 HERO
============================================================ */
#s01 {
    position: relative;
    min-height: 65vh;
    display: flex;
    padding: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-photo.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(45, 80, 22, 0.80) 0%,
            rgba(45, 80, 22, 0.50) 55%,
            rgba(45, 80, 22, 0.25) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 1rem 2rem;
    min-height: 65vh;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.btn-hero-cta {
    background: var(--red);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    letter-spacing: 0.125em;
    transition: background 0.2s, transform 0.2s;
}

.btn-hero-cta:hover {
    background: var(--red-dark);
    transform: scale(1.03);
}



.hero-copy {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2rem, min(5vw, 6vh), 3.5rem);
    color: #fff;
    letter-spacing: 0.3em;
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.hero-bottom {
    display: flex;
    justify-content: flex-end;
}

.hero-logo {
    width: 180px;
}

.hero-logo img {
    width: 150%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.hero-message {
    font-family: var(--font-serif);
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 2.2;
}

/* S01.5 ヒーローメッセージセクション */
.hero-msg-sec {
    background: #fff;
    padding: 3rem max(1.5rem, calc((100% - 1000px) / 2)) 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}


@media (max-width: 540px) {
    .hero-msg-sec {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }
}

/* ============================================================
   S02 BLOG
============================================================ */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: var(--content-w);
    margin: 0 auto;
}

.blog-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.9rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.blog-item:hover {
    background: var(--green-pale);
    box-shadow: 0 2px 12px rgba(45, 80, 22, 0.12);
    border-color: #b0cca0;
}

.blog-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.blog-title {
    font-size: 0.88rem;
    color: var(--green-deep);
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    /* white-space:nowrap 時にflexアイテムが縮めるよう必須 */
    flex: 1;
}

.blog-item:hover .blog-title {
    color: var(--red);
}

.blog-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   S03 GALLERY SLIDESHOW (slick)
============================================================ */
.sec-gallery {
    padding: 0;
}

.s03-gallery {
    position: relative;
}

.s03-gallery .slick-slider,
.s03-gallery .slick-dotted.slick-slider {
    margin-bottom: 0;
}

.s03-slick .slick-slide>div {
    padding: 0;
}

.s03-slick .slick-slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.s03-gallery .slick-prev,
.s03-gallery .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
}

.s03-gallery .slick-prev {
    left: 12px;
}

.s03-gallery .slick-next {
    right: 12px;
}

.s03-gallery .slick-prev::before,
.s03-gallery .slick-next::before {
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
}

.s03-gallery .slick-dots {
    bottom: 14px;
}

.s03-gallery .slick-dots li button::before {
    color: rgba(255, 255, 255, 0.55);
    font-size: 8px;
}

.s03-gallery .slick-dots li.slick-active button::before {
    color: #fff;
    opacity: 1;
}

/* ============================================================
   S03 GREETING
============================================================ */
.greeting-area {
    max-width: var(--content-w);
    margin: 0 auto;
    text-align: center;
}

.greeting-area p {
    font-size: 0.92rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.greeting-sig {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* S03 モーダルCTA */
.s03-modal-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ご挨拶モーダル内コンテンツ */
.greeting-modal-content {
    max-width: 600px;
    margin: 0 auto;
}

.greeting-modal-eyebrow {
    font-family: var(--font-sans);
    font-size: var(--eyebrow-size);
    letter-spacing: var(--eyebrow-spacing);
    font-weight: var(--eyebrow-weight);
    color: var(--gold);
    margin-bottom: var(--eyebrow-mb);
}

.greeting-modal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green-pale);
}

.greeting-modal-content p {
    font-size: 0.92rem;
    line-height: 2.1;
    color: var(--ink-light);
    margin-bottom: 1.25rem;
}

.greeting-modal-sig {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0.5rem;
    text-align: right;
}

/* ============================================================
   S04 SERVICE INTRO
============================================================ */
.worries,
.solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 680px) {

    .worries,
    .solutions {
        grid-template-columns: 1fr;
    }
}

.worry-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
}

.worry-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.worry-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 0.35rem;
}

.worry-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.6;
}

.solution-card {
    border-left: 4px solid var(--green);
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    background: var(--green-pale);
    border-radius: 0 8px 8px 0;
}

.solution-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green-deep);
    margin-bottom: 0.4rem;
}

.solution-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.6;
}

.s04-catch {
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--green-deep);
    padding: 2rem 0 0;
}

/* ============================================================
   S05 SPECIALTY PAINTING
============================================================ */
.paint-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 760px) {
    .paint-cards {
        grid-template-columns: 1fr;
    }
}

.paint-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.paint-photo {
    height: 200px;
    background: var(--cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.paint-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 写真未設定時のフォールバック */
.paint-photo-placeholder {
    height: 200px;
    background: var(--cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-light);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* スライドショー */
.paint-slideshow {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--cream-mid);
}

.slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slideshow-img.active {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.slideshow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.slideshow-dot.active {
    background: #fff;
}

.paint-body {
    padding: 1.25rem;
}

.paint-num {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.paint-heading {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--green-deep);
    margin-bottom: 0.6rem;
}

.paint-desc {
    font-size: 0.82rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.s05-footer {
    margin-top: 2rem;
    text-align: center;
}

/* ============================================================
   S06 COURSES
============================================================ */
.course-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.5rem;
    /* 行間ゼロ・列間のみ */
}

@media (max-width: 820px) {
    .course-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.course-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 8;
    /* course-head 1行 + course-body 7行 */
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 820px) {
    .course-card {
        display: block;
        grid-row: auto;
    }
}

.course-card.featured {
    border-color: var(--green);
}

.course-card.premium {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 130, 0.22);
}

.course-head {
    background: var(--green-pale);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.course-card.featured .course-head {
    background: var(--green);
    border-bottom-color: var(--green);
}

.course-card.premium .course-head {
    background: var(--gold-light);
    border-bottom-color: rgba(180, 140, 90, 0.3);
}

.course-badge {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.05rem;
}

.badge-easy {
    background: #ffffff;
    color: var(--green-deep);
}

.badge-std {
    background: #fff;
    color: var(--green-deep);
}

.badge-ord {
    background: rgba(200, 56, 46, 0.1);
    color: var(--red);
}

.course-card.premium .badge-ord {
    background: var(--gold);
    color: #fff;
}

.course-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-deep);
    margin-bottom: 0.25rem;
}

.course-card.featured .course-name {
    color: #fff;
}

.course-card.premium .course-name {
    color: var(--green-deep);
}

.course-tagline {
    font-size: 0.78rem;
    color: var(--ink-light);
}

.course-card.featured .course-tagline {
    color: rgba(255, 255, 255, 0.85);
}

.course-card.premium .course-tagline {
    color: var(--green-deep);
    opacity: 0.75;
}

.course-body {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
    /* block-label×3 + target-tags + include-list + price-block + duration */
    padding: 1.25rem;
}

@media (max-width: 820px) {
    .course-body {
        display: block;
        grid-row: auto;
    }
}

.block-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.block-label:first-child {
    margin-top: 0;
}

/* subgrid内ではmargin-topをpadding-topに置き換えて行高に影響させない */
.course-body>.block-label {
    margin-top: 0;
    padding-top: 0.75rem;
    align-self: end;
}

.course-body>.block-label:first-child {
    padding-top: 0;
}

@media (max-width: 820px) {
    .course-body>.block-label {
        margin-top: 1rem;
        padding-top: 0;
        align-self: auto;
    }

    .course-body>.block-label:first-child {
        margin-top: 0;
    }
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.target-tag {
    font-size: 0.72rem;
    background: var(--green-pale);
    color: var(--green-deep);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.include-list li {
    font-size: 0.83rem;
    color: var(--ink-light);
    padding: 0.2rem 0 0.2rem 1rem;
    position: relative;
    line-height: 1.5;
}

.include-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.75rem;
}

.price-block {
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 0.3rem 0;
    border-bottom: 1px dotted var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--green-deep);
}

.price-custom {
    font-size: 0.85rem;
    color: var(--cream);
    text-align: center;
    padding: 0.75rem;
    background: var(--red);
    border-radius: 4px;
}

.price-custom strong {
    display: block;
    font-family: var(--font-serif);
    color: var(--cream);
    margin-bottom: 0.2rem;
}

.duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--ink-light);
    padding-top: 0.75rem;
}

.supplement {
    display: table;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.25rem;
    background: var(--green-pale);
    border-radius: 6px;
    font-size: 0.83rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.s06-cta {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   S07 FINISH DETAILS
============================================================ */
.finish-table {
    width: 100%;
    max-width: var(--content-w);
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.7;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.finish-table th,
.finish-table td {
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    vertical-align: top;
}

.finish-table thead th {
    background: var(--green-deep);
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.05em;
    border-color: rgba(255, 255, 255, 0.2);
}

.finish-table tbody th {
    background: var(--green-pale);
    color: var(--green-deep);
    font-weight: 700;
    width: 22%;
    white-space: nowrap;
}

.finish-table tbody td {
    color: var(--ink);
}

.finish-table tbody tr:nth-child(even) td {
    background: var(--cream);
}

.finish-note {
    max-width: var(--content-w);
    margin: 1.25rem auto 0;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.83rem;
    color: var(--ink-light);
    line-height: 1.7;
}

/* スマホ用カード */
.finish-cards {
    display: none;
}

@media (max-width: 640px) {
    .finish-table {
        display: none;
    }

    .finish-cards {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .finish-card {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .finish-card-head {
        background: var(--green-deep);
        color: #fff;
        font-family: var(--font-serif);
        font-weight: 700;
        font-size: 0.88rem;
        padding: 0.65rem 1rem;
    }

    .finish-card-body {
        color: var(--ink-light);
        font-size: 0.83rem;
        line-height: 1.7;
        padding: 0.75rem 1rem;
    }
}

/* ============================================================
   S08 PRODUCTION FLOW
============================================================ */
.flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: var(--content-w);
    margin: 0 auto;
    position: relative;
}

.flow::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 56px;
    width: 2px;
    background: linear-gradient(to bottom, var(--green), var(--green-pale));
}

.sec-green .flow::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1));
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.step-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(45, 80, 22, 0.25);
    position: relative;
    z-index: 1;
}

.step-num .num-label {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.75;
    text-transform: uppercase;
    line-height: 1;
}

.step-num .num-val {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1;
}

.step-card {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.4rem 1.6rem 1.5rem;
    margin-bottom: 0.25rem;
    background: #fafafa;
    box-shadow: 0 3px 14px rgba(45, 80, 22, 0.06);
}

.step-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    background: var(--green-pale);
    color: var(--green-deep);
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.step-tag-gold {
    background: #f7efe2;
    color: #7a5c2e;
}

.step-tag-red {
    background: var(--red);
    color: #fff;
}

.step-card h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-deep);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.83rem;
    color: var(--ink-light);
    margin-bottom: 0.9rem;
    line-height: 1.8;
}

.step-items li {
    font-size: 0.8rem;
    color: var(--ink-light);
    padding: 0.15rem 0 0.15rem 1.1rem;
    position: relative;
    line-height: 1.6;
}

.step-items li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.7rem;
}

.worry-arrow {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0 2.5rem;
}

.step-arrow {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0 0.75rem calc(56px + 1.5rem);
}

.flow-closing {
    max-width: var(--content-w);
    margin: 2.5rem auto 0;
    padding: 1.1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--green-deep);
    text-align: center;
    line-height: 1.7;
}

@media (max-width: 560px) {
    .flow::before {
        left: 21px;
    }

    .step-num {
        width: 44px;
        height: 44px;
    }

    .step-num .num-val {
        font-size: 1.05rem;
    }

    .step-arrow {
        padding-left: 45px;
    }
}

/* ============================================================
   S09 RESTRICTIONS
============================================================ */
.restrictions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.restr-group-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    color: #fff;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.restr-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 680px) {
    .restr-items {
        grid-template-columns: 1fr;
    }
}

.restr-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.restr-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.restr-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.restr-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.s09-closing {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 2;
}

.s09-note {
    font-size: 1rem;
    opacity: 0.75;
    display: block;
    margin-top: 0.25rem;
}

/* ============================================================
   S10 DELIVERY & FORM
============================================================ */
.delivery-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: var(--content-w);
    margin: 0 auto;
}

.delivery-blocks>div {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.05);
}

.d-block-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.d-block-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.d-block-head h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-deep);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

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

@media (max-width: 420px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.status-card {
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.s-top {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.s-period {
    font-size: 0.75rem;
    color: var(--ink-light);
    margin-bottom: 0.4rem;
}

.s-msg {
    font-size: 0.75rem;
    color: var(--ink-light);
    line-height: 1.5;
}

.s-green {
    background: #f0faf0;
    border-color: #b2deb2;
}

.s-yellow {
    background: #fffdf0;
    border-color: #e0d080;
}

.s-red {
    background: #fff0f0;
    border-color: #e0b0b0;
}

.s-black {
    background: #f5f5f5;
    border-color: #ccc;
}

.ship-desc {
    font-size: 0.87rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.form-desc {
    font-size: 0.87rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* ============================================================
   S11 OTHER ACTIVITIES
============================================================ */
.activities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .activities {
        grid-template-columns: 1fr;
    }
}

.activity-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.activity-banner {
    padding: 1rem 1.25rem;
    background: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.activity-banner-icon {
    font-size: 1.3rem;
}

.activity-banner-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
}

.activity-body {
    padding: 1.25rem;
    text-align: center;
}

/* 白カード内のボタンは緑系に上書き（.sec-green .btn-outline の白色指定を打ち消す） */
.activity-body .btn-outline {
    border: 2px solid var(--green-deep);
    color: var(--green-deep);
}

.activity-body .btn-outline:hover {
    background: var(--green-deep);
    color: #fff;
}

.activity-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold-deep);
    margin-bottom: 0.6rem;
}

.activity-desc {
    font-size: 0.83rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================================
   S12 FAQ
============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: var(--content-w);
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.05);
    transition: box-shadow 0.2s;
}

.faq-item.open {
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.12);
    border-color: #b0cca0;
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
    width: 100%;
    background: none;
    border: none;
    font: inherit;
    text-align: left;
}

.faq-q:hover,
.faq-item.open .faq-q {
    background: var(--green-pale);
}

.q-badge {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--green-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}

.q-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.5;
}

.q-toggle {
    font-size: 1rem;
    color: var(--green-mid);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-a {
    display: none;
    padding: 0 1.4rem 1.2rem;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .q-toggle {
    transform: rotate(180deg);
}

.a-inner {
    display: flex;
    gap: 1rem;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--border);
}

.a-badge {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.a-text {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.85;
}

.a-text strong {
    color: var(--ink);
}

/* ============================================================
   S13 CLOSING
============================================================ */
#s14 {
    text-align: center;
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100% - 1000px) / 2));
}

.closing-main {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--ink-light);
    margin-bottom: 0.75rem;
}

.closing-sub {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

.closing-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-closing {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 1.1rem 3rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s;
}

.btn-closing:hover {
    background: var(--red-dark);
    transform: scale(1.04);
}

.closing-logo {
    width: 140px;
    margin: 0 auto;
    margin-top: 5rem;
}

.closing-logo img {
    width: 150%;
    height: auto;
    filter: drop-shadow(0 4px 1px rgba(0, 0, 0, 0.02));
}

/* ============================================================
   ANIMATIONS
============================================================ */
@media (prefers-reduced-motion: no-preference) {

    /* ヒーロー要素（ローダー後に発火） */
    .hero-anim {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.9s ease, transform 0.9s ease;
    }

    .hero-anim.delay-1 {
        transition-delay: 0.15s;
    }

    .hero-anim.delay-2 {
        transition-delay: 0.3s;
    }

    .hero-anim.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* スクロール出現 */
    .anim-fade-up {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 0.65s ease, transform 0.65s ease;
        will-change: transform, opacity;
    }

    .anim-fade-up.visible {
        opacity: 1;
        transform: translateY(0);
        will-change: auto;
    }

    /* カードグループのstagger */
    .worries .worry-card:nth-child(2),
    .solutions .solution-card:nth-child(2),
    .paint-cards .paint-card:nth-child(2),
    .course-cards .course-card:nth-child(2),
    .activities .activity-card:nth-child(2) {
        transition-delay: 0.1s;
    }

    .worries .worry-card:nth-child(3),
    .solutions .solution-card:nth-child(3),
    .paint-cards .paint-card:nth-child(3),
    .course-cards .course-card:nth-child(3) {
        transition-delay: 0.2s;
    }

    /* ステップのstagger（6段） */
    .flow .step:nth-child(3) {
        transition-delay: 0.08s;
    }

    .flow .step:nth-child(5) {
        transition-delay: 0.16s;
    }

    .flow .step:nth-child(7) {
        transition-delay: 0.24s;
    }

    .flow .step:nth-child(9) {
        transition-delay: 0.32s;
    }

    .flow .step:nth-child(11) {
        transition-delay: 0.40s;
    }
}

/* CTA shimmer */
@keyframes btn-shimmer {
    0%   { transform: translateX(-120%) skewX(-20deg); }
    100% { transform: translateX(300%)  skewX(-20deg); }
}

.btn-hero-cta,
.btn-primary,
.btn-closing {
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::after,
.btn-primary::after,
.btn-closing::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-120%) skewX(-20deg);
    animation: btn-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}

.btn-hero-cta::after { animation-delay: 0.4s; }
.btn-primary::after  { animation-delay: 1.0s; }
.btn-closing::after  { animation-delay: 0.7s; }

.btn-hero-cta.shimmer-reset::after,
.btn-primary.shimmer-reset::after,
.btn-closing.shimmer-reset::after { animation: none; }

/* ============================================================
   LOADER
============================================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.loader-inner.show {
    opacity: 1;
}

.loader-label {
    font-family: var(--font-serif);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin: 0;
    width: 195px;
    text-align: center;
}

.loader-logo {
    width: 195px;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--green-deep);
    color: var(--cream);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) 0;
    border-top: 3px solid var(--green);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-brand .f-name {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.footer-brand .f-en {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-brand .f-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.footer-nav h3,
.footer-contact h3 {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.5rem;
}

.footer-nav ul a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.footer-nav ul a:hover {
    color: var(--gold);
}

.footer-contact .f-mail {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.footer-contact .f-sns {
    display: flex;
    gap: 0.75rem;
}

.footer-contact .f-sns a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.footer-contact .f-sns a:hover {
    color: #fff;
    border-color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.footer-legal-btn {
    background: #fff;
    border: 1px solid #fff;
    color: var(--green-deep);
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-serif);
    transition: all 0.2s;
}

.footer-legal-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--green-deep);
}

/* ============================================================
   MODAL（特定商取引法）
============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--cream);
    border-radius: 10px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-head {
    position: sticky;
    top: 0;
    background: var(--green-light);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.modal-head-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
}

.tokusho-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tokusho-table th,
.tokusho-table td {
    border: 1px solid var(--border);
    padding: 0.7rem 0.9rem;
    vertical-align: top;
}

.tokusho-table th {
    background: #e8f0e1;
    color: var(--green-deep);
    font-weight: 700;
    width: 30%;
    white-space: nowrap;
}

@media (max-width: 540px) {

    .tokusho-table th,
    .tokusho-table td {
        display: block;
        width: 100%;
    }

    .tokusho-table th {
        background: var(--green-deep);
        color: #fff;
        border-bottom: none;
        font-size: 0.72rem;
        white-space: normal;
        padding: 0.45rem 0.75rem;
    }

    .tokusho-table td {
        border-top: none;
    }
}

.tokusho-important {
    color: var(--red);
    font-weight: 700;
}

.tokusho-notes {
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--ink-light);
}

.tokusho-notes ul {
    padding-left: 1.25rem;
}

.tokusho-notes li {
    margin-bottom: 0.4rem;
    list-style: disc;
}

.tokusho-heading {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-deep);
    margin: 1.25rem 0 0.6rem;
}

/* ============================================================
   S08 混雑状況
============================================================ */
#congestion-status {
    text-align: center;
    margin-top: 1.5rem;
}

/* ============================================================
   WORKS BANNER
============================================================ */
.works-banner {
    line-height: 0;
    font-size: 0;
}

.works-banner img {
    display: block;
    width: 100%;
    height: clamp(100px, 17vw, 240px);
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   SECTION SPACERS（SVGアーチ）
============================================================ */
.sec-spacer {
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    margin-bottom: -2px;
}

.sec-spacer img {
    display: block;
    width: 100%;
    height: auto;
}

/* 白→緑：白セクション末尾に置く、SVGはgreen fill */
.sec-spacer-a {
    background: #ffffff;
}

/* 緑→白：緑セクション末尾に置く、SVGはwhite fill */
.sec-spacer-b {
    background: #42801d;
}

/* ============================================================
   MID-SECTION CTA
============================================================ */
.sec-cta-mid {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

/* ============================================================
   FINISH DETAILS（S06内 折りたたみ）
============================================================ */
.finish-details {
    margin-top: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.finish-section-label {
    margin: 0;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--green-deep);
    background: #f0f6ea;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.04em;
}

.finish-details-body {
    padding: 1.25rem;
    background: #fff;
}

/* テーブルはPC表示 */
.finish-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.finish-table th,
.finish-table td {
    border: 1px solid var(--border);
    padding: 0.6rem 0.9rem;
    vertical-align: top;
}

.finish-table thead tr {
    background: #e8f0e1;
    color: var(--green-deep);
}

.finish-table th {
    font-weight: 700;
    width: 28%;
    background: #f0f6ea;
    color: var(--green-deep);
}

/* カードはSP表示 */
.finish-cards {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.finish-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.82rem;
}

.finish-card-head {
    background: #f0f6ea;
    color: var(--green-deep);
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
}

.finish-card-body {
    padding: 0.7rem 0.85rem;
    line-height: 1.7;
    color: var(--ink-light);
}

.finish-note {
    font-size: 0.8rem;
    color: var(--ink-light);
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .finish-table {
        display: none;
    }

    .finish-cards {
        display: flex;
    }
}


/* ============================================================
   SP RESPONSIVE — サイドナビをトップヘッダーに変換
============================================================ */
@media (max-width: 540px) {
    :root {
        --sidebar-w: 0px;
    }

    /* グリッド: SP はサイドバー列不要 */
    .wrapper {
        grid-template-columns: 1fr;
    }

    .main-container {
        grid-column: 1;
        padding-top: 45px;
    }

    /* サイドナビ → 横並びヘッダーバー */
    .side-nav {
        left: 0;
        right: 0;
        width: 100%;
        height: 45px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    /* サイトリンク: 1行横並び */
    .site-link {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        text-decoration: none;
        color: inherit;
        gap: 0.5em;
        white-space: nowrap;
    }

    /* テキスト: 縦書き → 横書きに切り替え（letter-spacingも縮小） */
    .side-nav-text {
        writing-mode: horizontal-tb;
        letter-spacing: 0.1em;
    }

    .site-title {
        font-size: 0.95rem;
        font-weight: 700;
        margin: 0;

    }

    p.side-nav-text {
        font-size: 0.85rem;
        opacity: 0.85;
        margin: 0;
    }

    /* メニューアイコン: figcaptionを非表示・サイズ調整 */
    .nav-mark {
        gap: 0;
        flex-shrink: 0;
    }

    .nav-mark .nav-caption {
        display: none;
    }

    .hamburger {
        width: 24px;
        height: 18px;
    }

    .nav-mark.open .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-mark.open .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ドロワー: ヘッダー(45px)の直下から開始 */
    .drawer {
        top: 45px;
        height: calc(100dvh - 45px);
        width: 75vw;
        max-width: 280px;
    }

    /* ヒーロー: ヘッダー(45px)分の余白 + 高さ調整（ヒーローメッセージが少し見える） */
    #s01 {
        min-height: 65svh;
    }

    .hero-inner {
        min-height: 65svh;
        padding-top: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.75rem;
    }

    .hero-top {
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* SP: CTAボタンを2行対応 */
    .btn-hero-cta {
        text-align: center;
        padding: 0.65rem 1.1rem;
        font-size: 0.72rem;
        line-height: 1.6;
        flex-shrink: 0;
    }

    /* SP専用 改行（PC では非表示） */
    .sp-only {
        display: inline;
    }
}