/* ==========================================================================
   Part 1
   ========================================================================== */
:root {
    --color-bg: #FAF9F6;
    --color-bg-gray: #EFEEEB;
    --color-text: #111;
    --color-sub: #666;
    --color-line: #DAD7D1;
    --color-black: #000;
    --color-white: #FFF;

    --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --font-eng: 'Oswald', 'Noto Sans JP', sans-serif;

    --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.06em;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: opacity .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease; }
a:hover { opacity: .7; }

h1, h2, h3, h4, p, ul, dl { margin: 0; padding: 0; }
ul { list-style: none; }

.eng { font-family: var(--font-eng); letter-spacing: 0.2em; font-weight: 400; }

.sp-only { display: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 2000;
    padding: 8px 16px; background: #000; color: #fff; font-size: 13px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

.en-title {
    font-family: var(--font-eng);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.2em;
    text-transform: none;
}

.btn-doc {
    display: inline-flex; justify-content: center; align-items: center;
    min-height: 50px; padding: 0 28px;
    background: var(--color-black); color: var(--color-white);
    font-size: 15px; font-weight: 500; letter-spacing: 0.14em;
}
.btn-doc:hover { opacity: 1; background: #333; }

.btn-simple {
    display: inline-flex; align-items: center; gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-text);
    font-size: 14px; letter-spacing: 0.1em;
}
.btn-simple .icon-arrow { width: 22px; height: 22px; transition: transform .3s ease; }
.btn-simple:hover { opacity: 1; }
.btn-simple:hover .icon-arrow { transform: translateX(6px); }

.btn-solid {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 56px; padding: 0 36px;
    background: var(--color-black); color: var(--color-white);
    font-size: 14px; font-weight: 500; letter-spacing: 0.14em;
}
.btn-solid .icon-arrow { width: 22px; height: 22px; transition: transform .3s ease; }
.btn-solid:hover { opacity: 1; background: #333; }
.btn-solid:hover .icon-arrow { transform: translateX(6px); }

.btn-outline {
    display: inline-block; min-width: 220px; padding: 14px 32px;
    border: 1px solid var(--color-text);
    font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-align: center;
}
.btn-outline:hover { opacity: 1; background: var(--color-black); color: var(--color-white); }

.btn-block {
    display: inline-flex; justify-content: center; align-items: center;
    min-width: 360px; min-height: 64px; padding: 0 40px;
    background: var(--color-black); color: var(--color-white);
    font-size: 16px; font-weight: 500; letter-spacing: 0.14em;
}
.btn-block:hover { opacity: 1; background: #333; }

.js .js-fade { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js .js-fade.is-visible { opacity: 1; transform: none; }

.js .concept .js-fade { transition-duration: 2s; }
.js .concept-body.js-fade { transition-delay: .35s; }
.js .js-blur { opacity: 0; filter: blur(10px); transform: scale(1.02); transition: opacity 2s ease, filter 2s ease, transform 2s ease; }
.js .js-blur.is-visible { opacity: 1; filter: none; transform: none; }

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    width: 100%; background: var(--color-white);
}

.header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);   /* 中央にブランド、右端にハンバーガー */
    align-items: center; gap: 20px;
    min-height: var(--header-h);
    margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px);
}

/* 中央のブランド表記：FVの「LIMINI ten／身軽に暮らす、10坪の平屋」の縮小版（ヘッダーごとスクロール後に現れる） */
.header-brand {
    grid-column: 2; justify-self: center;
    display: inline-flex; align-items: baseline; gap: 1.4em; white-space: nowrap;
    color: var(--color-text);
    transition: opacity .3s ease;
}
.header-brand:hover { opacity: .7; }
.header-brand__en { display: inline-flex; align-items: baseline; gap: 0.22em; font-family: var(--font-eng), var(--font-sans); line-height: 1; }
.header-brand__main { font-size: 2.1rem; font-weight: 700; letter-spacing: 0.02em; }
.header-brand__sub { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 300; font-style: italic; letter-spacing: 0.03em; color: #444; }
.header-brand__ja { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.18em; }

/* ハンバーガー（PC・SP共通） */
.menu-toggle {
    position: relative; display: block; width: 44px; height: 44px; padding: 0; border: 0;
    grid-column: 3; justify-self: end;
    background: transparent; cursor: pointer; z-index: 2;
}
.menu-toggle span {
    position: absolute; left: 8px; width: 28px; height: 2px; background: #111;
    transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* メニューの画面（ヘッダーの下に全面表示） */
.global-menu {
    position: fixed; top: var(--header-h); left: 0; z-index: 990;
    display: flex; justify-content: center; align-items: center;
    width: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: #000; color: #fff;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.global-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.global-menu__list { margin: auto; padding: 40px 24px; text-align: center; }
.global-menu__link {
    display: block; padding: 0.35em 0;
    font-family: var(--font-eng); font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 400; letter-spacing: 0.24em; padding-left: 0.24em; line-height: 1.4;
}
.global-menu__link:hover { opacity: .6; }
.global-menu__cta-item { margin: 36px 0 28px; }
.global-menu__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-width: 300px; min-height: 58px; padding: 0 36px;
    background: #fff; color: #000;
    font-size: 15px; font-weight: 500; letter-spacing: 0.2em;
}
.global-menu__cta:hover { opacity: 1; background: #ddd; }
.global-menu__cta .icon-arrow { width: 22px; height: 22px; transition: transform .3s ease; }
.global-menu__cta:hover .icon-arrow { transform: translateX(6px); }
.global-menu__sub a { display: block; padding: 6px 0; font-size: 13px; letter-spacing: 0.08em; color: #bbb; }
.global-menu__sub a:hover { color: #fff; opacity: 1; }

.intro {
    position: fixed; inset: 0; z-index: 10010;
    display: flex; justify-content: center; align-items: center;
    background: var(--color-bg);
    animation: introOut .3s cubic-bezier(.83, 0, .17, 1) 2.6s forwards;
}
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

.intro__catch {
    margin: 0; max-width: 94vw;
    font-size: clamp(1.375rem, 1.2578rem + 0.4688vw, 1.75rem);
    font-weight: 500; letter-spacing: 0.2em; line-height: 1.8; text-align: center; white-space: nowrap;
    animation: introTextOut .5s ease-out 2s forwards;
}
@keyframes introTextOut { to { opacity: 0; } }

.intro__catch .char {
    display: inline-block; opacity: 0;
    animation: introChar .4s cubic-bezier(.215, .61, .355, 1) forwards;
    animation-delay: calc(.2s + var(--i) * .04s);
}
.intro__catch .char.num { font-size: 1.7em; line-height: 1; }   
@keyframes introChar {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

.hero {
    position: sticky; top: var(--header-h); z-index: 1;   
    isolation: isolate; background-color: #1a1a1a;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    min-height: 560px; max-height: 960px;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background: url('../img/plan_ten-s_ext.jpg') center 40% / cover no-repeat;
}
.js .hero-bg { transform: scale(1.06); transition: transform 2.4s ease-out; }
.js .hero.is-ready .hero-bg { transform: scale(1); }

.hero-inner { position: static; }

.hero-badge {
    position: absolute; z-index: 1;
    left: clamp(24px, 4vw, 56px); bottom: 16px;
    margin: 0;
    font-family: var(--font-sans); font-weight: 400;
    font-size: clamp(4rem, 11vw, 10rem); line-height: .9; letter-spacing: 0.05em;
    white-space: nowrap; color: var(--color-white);
    text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.hero-badge i { font-style: normal; font-weight: 300; }

.hero-title {
    position: absolute; z-index: 1;
    top: clamp(32px, 6vh, 64px); right: 208px;   
    writing-mode: vertical-rl;
    display: flex; flex-direction: column; align-items: flex-start; gap: .3em;   
    font-weight: 400;
}
.hero-title > span {
    display: block; padding: .7em .42em .3em;   
    background: var(--color-black); color: var(--color-white);
    font-size: clamp(1.625rem, 2.5vw, 2.25rem); line-height: 1; letter-spacing: 0.28em;
    white-space: nowrap;
}

.hero-title .tcy {
    display: inline-block; writing-mode: horizontal-tb;
    width: 1em; font-size: 1em; line-height: 1.1; text-align: center; letter-spacing: -.06em;
    margin-block-end: .28em;
}
.js .hero-title > span,
.js .hero-badge { opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1s ease; }
.js .hero.is-ready .hero-title > span,
.js .hero.is-ready .hero-badge { opacity: 1; transform: none; }
.js .hero.is-ready .hero-title > span:nth-child(1) { transition-delay: .7s; }
.js .hero.is-ready .hero-title > span:nth-child(2) { transition-delay: 1s; }
.js .hero.is-ready .hero-badge { transition-delay: 1.3s; }

.hero-scroll {
    position: absolute; right: clamp(24px, 4vw, 56px); bottom: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding-bottom: 76px; font-size: 11px; line-height: 1; color: var(--color-white);
}
.js .hero-scroll { opacity: 0; transition: opacity 1s ease; }
.js .hero.is-copy .hero-scroll { opacity: 1; }
.hero-scroll::after {
    content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: var(--color-white);
    transform-origin: top; animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); opacity: 1; }
    60% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

.concept, .column-section, .lineup, .catalog-section { position: relative; }
.concept { z-index: 2; }
.column-section { z-index: 3; }
.lineup { z-index: 4; }
.catalog-section { z-index: 5; }
.js .hero { margin-bottom: 240px; }   
.js .stack-card { position: sticky; margin-bottom: 240px; }   

.concept {
    background: linear-gradient(to bottom, rgba(250, 249, 246, 0) 0, rgba(250, 249, 246, .92) 170px, var(--color-bg) 280px);   
}
.concept .container { position: relative; z-index: 1; padding-top: 280px; padding-bottom: 280px; }

.concept-badge-wrap { position: sticky; top: calc(100svh - 16px); z-index: 0; height: 0; pointer-events: none; }
.concept-badge {
    position: absolute; left: clamp(24px, 4vw, 56px); bottom: 0; margin: 0;
    font-family: var(--font-sans); font-weight: 400;
    font-size: clamp(4rem, 11vw, 10rem); line-height: .9; letter-spacing: 0.05em;
    white-space: nowrap; color: #ece9e4;
}
.concept-badge i { font-style: normal; font-weight: 300; }

.js .concept-badge { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.js .concept-badge.is-in { opacity: 1; transform: none; }

.concept-inner { display: flex; justify-content: center; align-items: stretch; gap: 64px; }

.concept-label { flex: none; padding-right: 28px; border-right: 1px solid var(--color-text); }
.concept-label-text {
    display: block; writing-mode: vertical-rl; white-space: nowrap;
    font-size: 18px; letter-spacing: 0.3em; line-height: 1;
}

.concept-content { max-width: 620px; }
.concept-title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 500; line-height: 1.6; letter-spacing: 0.1em; }
.concept-body { margin-top: 32px; font-size: 16px; line-height: 2.3; }
.concept-body p + p { margin-top: 1.2em; }

.concept-images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 88px auto 0; }
.concept-images li:nth-child(2) { margin-top: 48px; }
.concept-images img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.column-section { padding: 120px 0 280px; background: var(--color-white); }
.column-inner { display: flex; align-items: center; gap: 64px; }
.column-img { flex: 1.1; }
.column-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.column-content { flex: 1; }
.column-label { display: block; margin-bottom: 16px; font-size: 13px; color: var(--color-sub); }
.column-content h3 { font-size: 28px; font-weight: 500; line-height: 1.6; margin-bottom: 28px; letter-spacing: 0.1em; }
.column-content p { font-size: 14px; line-height: 2; color: var(--color-sub); margin-bottom: 40px; }

.lineup { padding: 140px 0 300px; background: var(--color-bg); }

.section-header { text-align: center; margin-bottom: 80px; }
.section-lead-label { margin-top: 20px; font-size: 15px; font-weight: 500; letter-spacing: 0.14em; }
.section-lead { margin-top: 24px; font-size: 14px; color: var(--color-sub); line-height: 2.1; }

/* 接道方向の図（LINE UP）：中央の「LIMINI ten」を囲んで、N（上）・UP（左）・EW（右）・S（下）。プラン名は各プランへのリンク */
.plan-map {
    position: relative; width: min(100%, 760px);
    display: flex; flex-direction: column; align-items: center;
    margin: 56px auto 0; color: var(--color-text);
}
/* コンパスの針（線だけのシンプルな形）：図の右上（装飾） */
.plan-map__compass { position: absolute; right: 72px; top: 6px; width: 30px; height: auto; pointer-events: none; }
.plan-map__row { display: grid; grid-template-columns: 1fr 64px auto 64px 1fr; align-items: center; width: min(100%, 760px); }
.plan-map__item { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; transition: opacity .3s ease; }
.plan-map__item--left { justify-self: end; margin-right: 20px; }    /* 文字と線のあいだ */
.plan-map__item--right { justify-self: start; margin-left: 20px; }
.plan-map__item:hover { opacity: .55; }
/* プラン名：各プランの見出し（.plan-title）と同じ書体 */
.plan-map__name { font-family: var(--font-eng); font-size: 24px; font-weight: 400; letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.3; white-space: nowrap; }
.plan-map__sub { font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.4; color: #333; }
/* 中央の「LIMINI ten」：FV・ヘッダーと同じ書体（LIMINI＝Oswald太字、ten＝細い斜体のグレー） */
.plan-map__box {
    display: flex; align-items: baseline; gap: 0.22em;
    margin: 0; padding: 20px 44px 24px; border: 1px solid var(--color-text);
    font-family: var(--font-eng), var(--font-sans); font-size: 44px; line-height: 1; white-space: nowrap;
}
.plan-map__box-main { font-weight: 700; letter-spacing: 0.02em; }
.plan-map__box-sub { font-family: var(--font-sans); font-size: 0.645em; font-weight: 300; font-style: italic; letter-spacing: 0.03em; color: #444; }
.plan-map__line { display: block; background: var(--color-text); }
.plan-map__line--v { width: 1px; height: 56px; margin: 16px 0; }
.plan-map__line--h { height: 1px; width: 100%; }

.plan-item { scroll-margin-top: 24px; }

.plan-item {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 5%;
    padding: 64px 0;
    border-top: 1px solid var(--color-line);
}
.plan-item:last-child { border-bottom: 1px solid var(--color-line); }

.plan-info { width: 45%; }
.plan-title { font-size: 32px; line-height: 1.3; letter-spacing: 0.2em; }
.plan-subtitle {
    display: inline-block; margin: 14px 0 28px; padding: 2px 14px;
    background: var(--color-black); color: var(--color-white);
    font-size: 13px; font-weight: 500; letter-spacing: 0.12em; line-height: 1.9;
}

.plan-description {
    margin: 0 0 24px;
    font-size: 14px; line-height: 2; color: var(--color-sub);
    letter-spacing: 0.05em;
}

.plan-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-table th, .plan-table td { padding: 13px 0; border-bottom: 1px solid var(--color-line); line-height: 1.7; }
.plan-table th { width: 38%; text-align: left; font-weight: 400; color: var(--color-sub); }
.plan-table td { text-align: right; font-weight: 500; letter-spacing: 0.08em; }

/* --- LINE UP スワイプスライダー (複数枚スライド & ページャー) --- */
.plan-visual {
    width: 50%;
}
.plan-slider-wrap {
    position: relative;
    aspect-ratio: 3 / 2;
    background: #FAF9F6;
    border-radius: 4px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.plan-slider-wrap.is-dragging {
    cursor: grabbing;
}
.plan-slider-track {
    display: flex;
    width: 700%;
    height: 100%;
    transform: translateX(-14.285714%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.plan-slider-track.no-transition {
    transition: none !important;
}
.plan-slide {
    width: 14.285714%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.plan-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.plan-slide[data-view="plan"], .plan-slide[data-fit="contain"] { background: #ffffff; }
.plan-slide[data-view="plan"] img,
.plan-slide[data-fit="contain"] img {
    object-fit: contain;
    padding: 0;
    background: #ffffff;
}

/* スライドバッジ */
.plan-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(17, 17, 17, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 3px;
    pointer-events: none;
}

/* 左右の矢印ボタン */
.plan-arrow svg {
    pointer-events: none;
    display: block;
}
.plan-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: clamp(40px, 4.2vw, 46px);
    height: clamp(40px, 4.2vw, 46px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.92;
}
.plan-arrow:hover {
    opacity: 1;
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}
.plan-arrow:active {
    transform: translateY(-50%) scale(0.95);
}
.plan-arrow-prev {
    left: 12px;
}
.plan-arrow-next {
    right: 12px;
}

/* --- ページャー (plan-switch の代わり) --- */
.plan-pager {
    display: block;
    margin-top: 10px;
    padding: 0;
}
/* サムネイル：4枚が収まる幅で並べ、5枚目は途中まで見せて「まだ続く」ことを伝える */
.plan-pager__dots {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
}
.plan-pager__dots::-webkit-scrollbar { display: none; }
.plan-pager__dot {
    flex: none;
    width: calc((100% - 28px) / 4.35);
    aspect-ratio: 3 / 2;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    scroll-snap-align: start;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.plan-pager__dot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.plan-pager__dot[data-index="1"] img,
.plan-pager__dot[data-fit="contain"] img { object-fit: contain; }
.plan-pager__dot:hover { opacity: 0.85; }
.plan-pager__dot.is-active {
    opacity: 1;
    box-shadow: 0 0 0 1.5px #111;
}
.plan-pager__counter {
    display: none;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-eng), var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #888888;
}
.plan-pager__counter strong {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
}

@media (max-width: 768px) {
    .plan-visual {
        width: 100%;
        order: -1;
    }
    .plan-arrow {
        width: 38px;
        height: 38px;
    }
    .plan-arrow-prev { left: 8px; }
    .plan-arrow-next { right: 8px; }
}

.plan-note { margin-top: 28px; font-size: 12px; color: var(--color-sub); line-height: 1.9; }
.lineup-cta { margin-top: 72px; text-align: center; }

.catalog-section { padding: 96px 0; background: linear-gradient(to right, #cdcbc7, #eceae7); }
.catalog-inner { display: flex; justify-content: center; align-items: center; gap: clamp(40px, 6vw, 90px); }
.catalog-visual { position: relative; flex: none; width: clamp(340px, 44vw, 620px); padding-bottom: 12%; }
.catalog-visual img { display: block; height: auto; }
.catalog-visual__main { width: 66%; aspect-ratio: 4 / 3; background: url(../img/mainv_.jpg) 58% 47% / 165% auto no-repeat; }
.catalog-visual__book { position: absolute; right: -3%; bottom: 14%; width: 46%; }
.catalog-body { flex: none; }
.catalog-title { font-size: 28px; font-weight: 500; line-height: 1.6; letter-spacing: 0.1em; }   
.catalog-text { margin-top: 28px; font-size: 15px; line-height: 2.2; letter-spacing: 0.14em; }
.btn-catalog {
    display: flex; justify-content: center; align-items: center; gap: 14px;
    width: min(100%, 340px); min-height: 58px; margin-top: 32px;
    background: var(--color-black); color: var(--color-white);
    font-size: 15px; font-weight: 500; letter-spacing: 0.2em;
}
.btn-catalog:hover { opacity: 1; background: #333; }
.btn-catalog .icon-arrow { width: 22px; height: 22px; transition: transform .3s ease; }
.btn-catalog:hover .icon-arrow { transform: translateX(6px); }

.side-catalog { position: fixed; right: 0; top: 50%; z-index: 800; transform: translateY(-50%); }

.js .side-catalog { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.js .side-catalog.is-in { opacity: 1; visibility: visible; }

.side-catalog a {
    display: flex; flex-direction: column; align-items: center;
    width: 52px; overflow: hidden; border-radius: 8px 0 0 8px;
    background: var(--color-black); color: var(--color-white);
}
.side-catalog a:hover { opacity: 1; background: #333; }
.side-catalog-body {
    display: flex; gap: 10px; justify-content: center; align-items: center;   
    writing-mode: vertical-rl; padding: 20px 0 0;
}
.side-catalog-jp { font-size: 16px; font-weight: 700; letter-spacing: 0.2em; line-height: 1; }
.side-catalog-icon {
    position: relative; flex: none; width: 24px; height: 24px; margin: 18px 0 16px;
    border-radius: 50%; background: var(--color-white);
}
.side-catalog-icon::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%);
    border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--color-black);
}

.mobile-fixed-contact { display: none; }

.site-footer { padding: 64px 32px 36px; background: var(--color-black); color: var(--color-white); }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-logo-link { display: inline-block; width: 160px; }
.footer-logo-link img { display: block; width: 100%; height: auto; filter: invert(1); }

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; margin-top: 40px; line-height: 1.9; }
.footer-nav a { font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
.footer-nav a:not(:last-child)::after { content: '|'; display: inline-block; margin: 0 9px; }
.footer-nav a:hover { opacity: .6; }

.copyright { margin-top: 14px; font-size: 12px; letter-spacing: 0; }

@media (max-width: 1100px) {
    .hero-title { right: 168px; }
    .side-catalog a { width: 46px; }
    .side-catalog-body { padding-top: 16px; }
    .side-catalog-jp { font-size: 14px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; padding-bottom: 66px; }

    :root { --header-h: 72px; }
    .header-inner { gap: 10px; padding: 0 15px; }
    .header-brand { grid-column: 1; justify-self: start; flex-direction: row; align-items: baseline; gap: 0.9em; }
    .header-brand__main { font-size: 1.75rem; }
    .header-brand__sub { font-size: 1.25rem; }
    .header-brand__ja { font-size: 11px; letter-spacing: 0.1em; }
    .global-menu__list { padding: 32px 20px; }
    .global-menu__link { font-size: 1.75rem; }
    .global-menu__cta-item { margin: 28px 0 22px; }
    .global-menu__cta { min-width: 0; width: min(100%, 300px); }

    .hero { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
    .intro__catch { letter-spacing: 0.14em; }
    .hero-title { top: 24px; right: 32px; }
    .hero-title > span { padding: .6em .36em .26em; font-size: clamp(1.125rem, 5.6vw, 1.625rem); letter-spacing: 0.22em; }
    .hero-badge { left: 18px; bottom: 8px; font-size: 17vw; letter-spacing: 0.04em; }   
    .hero-scroll { display: none; }
    .hero-bg { background-position: 52% 50%; }

    .js .hero, .js .stack-card { margin-bottom: 160px; }
    .concept {
        background: linear-gradient(to bottom, rgba(250, 249, 246, 0) 0, rgba(250, 249, 246, .92) 120px, var(--color-bg) 200px);
    }
    .concept .container { padding-top: 200px; padding-bottom: 160px; }
    .concept-badge-wrap { top: calc(100svh - 74px); }   
    .concept-badge { left: 18px; font-size: 17vw; letter-spacing: 0.04em; }
    .concept-inner { gap: 24px; justify-content: flex-start; }
    .concept-label { padding-right: 16px; }
    .concept-label-text { font-size: 14px; }
    .concept-title { font-size: 1.375rem; }
    .concept-body { margin-top: 24px; font-size: 13px; line-height: 2.2; }
    .concept-images { gap: 12px; margin-top: 56px; }
    .concept-images li:nth-child(2) { margin-top: 28px; }
    .sp-only { display: inline; }

    .column-section { padding: 72px 0 152px; }
    .column-inner { flex-direction: column; gap: 32px; }
    .column-img, .column-content { width: 100%; flex: none; }
    .column-content h3 { font-size: 22px; }

    .lineup { padding: 88px 0 168px; }
    .section-header { margin-bottom: 48px; }
    .section-lead { font-size: 13px; text-align: left; }
    .section-lead br { display: none; }
    .plan-map { margin-top: 36px; }
    .plan-map__compass { right: 22px; top: 4px; width: 24px; }
    .plan-map__row { grid-template-columns: 1fr 28px auto 28px 1fr; }
    .plan-map__name { font-size: 16px; letter-spacing: 0.1em; padding-left: 0.1em; }
    .plan-map__sub { font-size: 8.5px; letter-spacing: 0.03em; }
    .plan-map__box { padding: 12px 18px 15px; font-size: 26px; }
    .plan-map__line--v { height: 34px; margin: 10px 0; }
    .plan-map__item--left { margin-right: 8px; }
    .plan-map__item--right { margin-left: 8px; }
    .plan-item { flex-direction: column; gap: 28px; padding: 44px 0; }
    .plan-info, .plan-visual { width: 100%; }
    .plan-visual { order: -1; }
    .plan-title { font-size: 28px; }
    .lineup-cta { margin-top: 48px; }
    .btn-block { min-width: 0; width: 100%; padding: 0 16px; font-size: 14px; }

    .catalog-section { padding: 64px 0 72px; }
    .catalog-inner { flex-direction: column; gap: 36px; text-align: center; }
    .catalog-visual { width: 100%; max-width: 420px; }
    .catalog-visual__book { bottom: 0; width: 56%; }
    .catalog-title { font-size: 22px; }
    .catalog-text { font-size: 14px; letter-spacing: 0.1em; }
    .btn-catalog { margin-left: auto; margin-right: auto; }

    .side-catalog { display: none; }

    .site-footer { padding: 48px 15px 36px; }
    .footer-logo-link { width: 140px; }
    .footer-nav { display: block; margin-top: 28px; line-height: 2.3; }
    .footer-nav a { display: inline; font-size: 13px; }
    .footer-nav a:not(:last-child)::after { margin: 0 6px; }

    .mobile-fixed-contact {
        position: fixed; right: 0; bottom: 0; left: 0; z-index: 900;
        display: block; padding: 8px 20px 10px;
        background: #000; color: #fff; text-align: center; font-size: 12px; line-height: 1.6;
    }
    .mobile-fixed-contact strong { display: block; font-size: 17px; font-weight: 500; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero, .js .stack-card { position: relative; top: auto !important; margin-bottom: 0; }
    .js .hero { margin-bottom: 0; }
    .intro { display: none; }
    .js .js-fade, .js .js-blur, .js .hero-bg, .js .hero-title > span, .js .hero-badge, .js .hero-scroll, .js .concept-badge, .js .side-catalog { visibility: visible; opacity: 1; filter: none; transform: none; transition: none; }
    .hero-scroll::after { animation: none; }
}

/* ==========================================================================
   Part 2
   ========================================================================== */
/* ==========================================================================
   1. ローディング画面 (真っ白な背景の中央にLIMINIロゴ)
   ========================================================================== */
.site-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    pointer-events: all;
}

.site-loading.is-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loading__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.site-loading.is-hide .site-loading__inner {
    transform: translateY(-16px);
    opacity: 0;
}

.site-loading__logo {
    width: clamp(140px, 18vw, 190px);
    height: auto;
    animation: loadingLogoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-loading__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-loading__bar-wrap {
    width: clamp(120px, 14vw, 160px);
    height: 2px;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.site-loading__bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #111111;
    border-radius: 999px;
    animation: loadingProgress 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes loadingLogoIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    40% { width: 65%; }
    100% { width: 100%; }
}

/* ==========================================================================
   2. ヘッダー (初期から洗練された表示)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ヘッダー（ハンバーガー含む）は、FVをスクロールして過ぎるまで出さない（main.js が html に is-header-in を付ける） */
.js .site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.js.is-header-in .site-header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

/* ==========================================================================
   3. メインビジュアル (FVC / DODオマージュ レイアウト & アニメーション)
   ========================================================================== */
.fvc {
    position: relative;
    z-index: 10;
    background: var(--color-bg, #FAF9F6);
    padding-top: clamp(48px, 5.5vw, 80px);   /* PC：LIMINI ten／キャッチの上の余白（SPは下の @media で指定） */
    padding-bottom: clamp(60px, 8vw, 100px);
    overflow: clip;
}

.fvc__inner {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5.5vw, 84px);
    display: flex;
    flex-direction: column;
}

/* --- タイトル & キャッチコピー行 (左上にLIMINI ten、右側にキャッチ) --- */
.fvc__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 60px);
    margin-bottom: clamp(20px, 3vw, 36px);
    will-change: opacity, transform;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.is-loaded .fvc__meta {
    opacity: 1;
    transform: translateY(0);
}

/* 左上: LIMINI ten */
.fvc__title-group {
    flex-shrink: 0;
}

.fvc__brand-title {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.22em;
    font-family: var(--font-eng), var(--font-sans);
    line-height: 0.92;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.fvc__brand-main {
    font-size: clamp(3.4rem, 8.1vw, 7.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fvc__brand-sub {
    font-size: clamp(2.15rem, 5.4vw, 4.7rem);
    font-weight: 300;
    font-style: italic;
    font-family: var(--font-sans);
    letter-spacing: 0.03em;
    color: #444;
}

/* 右側: 身軽に暮らす、10坪の平屋 */
.fvc__catch-group {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    padding-bottom: clamp(4px, 0.8vw, 14px);
}

.fvc__catch-ja {
    margin: 0;
    font-size: clamp(1.1rem, 2.1vw, 1.95rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.4;
    color: var(--color-text);
    text-align: right;
    white-space: nowrap;
}

/* --- ビジュアルコンテナ (引きのアングルで上下左右にゆとりを持たせる) --- */
.fvc__visual-wrap {
    position: relative;
    width: 100%;
}

.fvc__frame {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #e7e5e1;
    /* 初期状態: ふわっと表示のアニメーション */
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    will-change: transform, width, margin, border-radius;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
}

.is-loaded .fvc__frame {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fvc__photo {
    width: 100%;
    /* 2400x1922 の引きのアングルが最も綺麗に収まり、空と手前の空間に余裕を持たせるアスペクト比 */
    aspect-ratio: 16 / 10.5;
    max-height: calc(100vh - var(--header-h) - 170px);
    min-height: 480px;
    overflow: hidden;
    position: relative;
}

/* PC：写真の縦幅を広げる（画面の高さ−120px。最初の画面の下に少しはみ出して、続きがあることが分かる） */
@media (min-width: 769px) {
    .fvc__photo {
        aspect-ratio: auto;
        height: clamp(480px, calc(100svh - 120px), 62vw);
        max-height: none;
    }
}

.fvc__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 家を中心にしつつ、青空と手前道路を広々と見せるポジション */
    object-position: 50% 50%;
    transform-origin: center center;
    will-change: transform;
    transform: scale(1);
}

/* --- DOD風 スクロール誘導丸ボタン (↓) --- */
.fvc__scroll-btn {
    position: absolute;
    top: 0;
    right: clamp(20px, 5vw, 64px);
    transform: translateY(-50%);
    z-index: 30;
    width: clamp(64px, 6.8vw, 92px);
    height: clamp(64px, 6.8vw, 92px);
    border-radius: 50%;
    background: #FAF9F6;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.is-loaded .fvc__scroll-btn {
    opacity: 1;
}

/* PC：スクロール誘導（↓）を、キャッチコピーに重ならないよう、写真の上端から少し下へずらす（元の指定より後ろに置く） */
@media (min-width: 769px) {
    .fvc__scroll-btn { transform: translateY(calc(-50% + 24px)); }
}

.fvc__scroll-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollBounce 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

.fvc__scroll-btn:hover {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.fvc__scroll-btn:hover .fvc__scroll-circle {
    animation-play-state: paused;
    transform: translateY(4px);
}

.concept { background: var(--color-bg); }
.concept .container { padding-top: 80px; }

/* ==========================================================================
   4. レスポンシブ (SP)
   ========================================================================== */
@media (max-width: 768px) {
    .fvc {
        padding-top: 56px;
        padding-bottom: 50px;
    }
    .fvc__inner {
        padding: 0 18px;
    }
    .fvc__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }
    .fvc__catch-group {
        justify-content: flex-start;
        align-self: flex-start;
        padding-bottom: 0;
    }
    .fvc__catch-ja {
        text-align: left;
        font-size: clamp(1rem, 4.4vw, 1.35rem);
        letter-spacing: 0.12em;
        white-space: normal;
    }
    .fvc__photo {
        aspect-ratio: 4 / 3;
        min-height: 340px;
    }
    .fvc__img {
        object-position: 50% 68%;
    }
    .fvc__scroll-btn {
        right: 18px;
        width: 58px;
        height: 58px;
    }
    .concept .container {
        padding-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loading { transition: opacity 0.4s ease, visibility 0.4s; }
    .site-loading__bar { animation-duration: 0.8s; }
    .fvc__meta, .fvc__frame, .fvc__scroll-btn, .site-header { transition-duration: 0.4s !important; }
}

/* WordPress：ログイン中に表示される管理バーと、固定ヘッダー・メニューが重ならないようにする（訪問者の表示には影響なし） */
.admin-bar .site-header { top: 32px; }
.admin-bar .global-menu { top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
    .admin-bar .global-menu { top: calc(var(--header-h) + 46px); }
}
