@charset "UTF-8";

/* =========================================
   カラーテーマ変数（白×オレンジ）
========================================= */
:root {
    --bg: #ffffff;
    --surface: #f6f4f1;
    --surface-strong: #efece7;
    --border: #e2ddd5;
    --border-strong: #dddddd;
    --text: #2d2d2d;
    --text-muted: #888888;
    --text-faint: #aaaaaa;
    --accent: #ff8c00;
    --accent-hover: #e67e00;
    --accent-light: #fff5e6;
    --accent-mid: rgba(255, 140, 0, 0.15);
    --accent-border: rgba(255, 140, 0, 0.35);
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}


/* =========================================
   ベースリセット ＆ 全体設定
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100vh;
    height: 100dvh; /* モバイルのアドレスバー分のズレを補正 */
    width: 100vw;
    overflow: hidden;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
}

/* =========================================
   背景（トップページ用）：横長・縦長で別メディアを出し分け
   動画(.mp4)があれば動画、なければposter画像がそのまま表示される
========================================= */
.bg-media {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    display: none;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s linear infinite alternate;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

@media (orientation: landscape) {
    .bg-media--landscape {
        display: block;
    }
}
@media (orientation: portrait) {
    .bg-media--portrait {
        display: block;
    }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wrapper--home {
    padding-right: clamp(40px, 22vw, 22%);
}

/* =========================================
   グラスモーフィズムパネル (トップページ用)
   内部は固定サイズで設計し、JSのscale()で相似形に縮小する
========================================= */
.glass-panel {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;

    margin: auto 0 auto clamp(30px, 10vw, 12%);
    width: 520px;
    padding: 50px 60px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform-origin: left center;
}

h1.site-title {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 8px;
}

.concept-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 2px;
    color: #eaeaea;
    margin-bottom: 40px;
}

/* トップページナビ：こまい通信の日付・NEWバッジ */
.nav-meta {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-badge {
    background: var(--accent, #ff8c00);
    color: #fff;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.4;
}

/* =========================================
   トップページ：流れるお知らせヘッダー（ティッカー）
========================================= */
.ticker-bar {
    position: relative;
    z-index: 10;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    flex-shrink: 0; /* .wrapperのflex内で潰れないようにする */
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 22s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 40px;
    font-family: 'Jost', 'Noto Serif JP', sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ticker-item:hover {
    color: var(--accent, #ff8c00);
}

.ticker-icon {
    font-size: 16px;
    color: var(--accent, #ff8c00);
    flex-shrink: 0;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* 複製した2つ目の頭がちょうど揃う位置で1周とする */
}

/* トップページのwrapperはheight:100%の前提だったので、
   ティッカー分の高さを差し引いて、グラスパネルの縦位置がズレないようにする */
.wrapper--home {
    height: calc(100% - 0px); /* 元のheight:100%を維持しつつ、ticker-barはwrapperの外側に配置するため特別な調整は不要 */
}

/* =========================================
   ナビゲーション (トップページ用)
========================================= */
.nav-list { list-style: none; }

.nav-item {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.3s; }
.nav-item:nth-child(2) { animation-delay: 0.4s; }
.nav-item:nth-child(3) { animation-delay: 0.5s; }
.nav-item:nth-child(4) { animation-delay: 0.6s; }
.nav-item:nth-child(5) { animation-delay: 0.7s; }
.nav-item:nth-child(6) { animation-delay: 0.8s; }

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 6px;
    width: fit-content;
}

.nav-icon {
    font-size: 20px;
    margin-right: 12px;
    opacity: 0.8;
    font-weight: 300;
}

.nav-text {
    letter-spacing: 2px;
    margin-right: 20px;
}

.nav-arrow {
    font-size: 18px;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover .nav-arrow {
    opacity: 1;
    transform: translate(4px, -4px);
}

/* =========================================
   フッター
========================================= */
.wrapper--home footer {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    margin: 0; z-index: 50;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.15), transparent);
}

footer {
    background: linear-gradient(to top, rgba(255,255,255,0.15), transparent);
    color: var(--text-muted);
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: clamp(9px, 2.2vw, 11px);
    letter-spacing: 1px;
}
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.social-icons a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.3s;
}
.social-icons a:hover { color: var(--accent); }

/* =========================================
   キーフレーム (アニメーション定義)
========================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   下層ページ共通設定
========================================= */
.sub-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 100;
}
.sub-header .logo {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--text);
    text-decoration: none;
}
.back-btn {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.back-btn:hover { color: var(--accent); }
.back-btn span { margin-right: 8px; font-size: 18px; }

/* .sub-main：全下層ページ共通のベース定義（1箇所に統合） */
.sub-main {
    padding: 100px 5% 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: safe center;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 100px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sub-main::-webkit-scrollbar {
    display: none;
}

/* FLOWページ専用：コンテンツが伸びても上から積み上がるようにする */
.flow-main {
    padding-top: 100px;
}

.page-title {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

.page-subtitle {
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text-faint);
    margin-top: -48px;
    margin-bottom: 60px;
}

/* =========================================
   施工事例グリッド ＆ ホバーギミック
========================================= */
.works-main {
    padding-top: 60px; 
    padding-bottom: 10px;
}

.works-main .page-title {
    margin-bottom: 30px; 
}

.works-main .page-subtitle {
    margin-bottom: 30px;  
}

.works-main .works-intro {
    margin-bottom: 24px;  
}

.works-main .work-filter {
    margin-bottom: 40px; 
}

@media (min-width: 1400px) {
    .works-main {
        max-width: 1800px;
        padding-left: 3%;
        padding-right: 3%;
    }
}

.works-intro {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 640px;
    margin-top: -8px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.works-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.works-grid::-webkit-scrollbar {
    display: none;
}

.work-card {
    flex: 0 0 480px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--surface);
    box-shadow: var(--card-shadow);
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.work-card:hover {
    border-color: var(--accent);
}

.work-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
}

.work-thumb {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-thumb.active {
    opacity: 1;
    transform: scale(1);
}

.work-card.is-cycling .work-info {
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.3));
}

.work-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px;
    color: #fff;
    transition: background 0.4s ease;
}

.work-title {
    font-size: 16px;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.work-tag {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
}

/* =========================================
   施工事例：ハッシュタグ絞り込みフィルター
========================================= */
.work-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    font-family: inherit;
}

.filter-tag:hover {
    border-color: var(--accent-border);
    color: var(--accent);
}

.filter-tag.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.filter-tag--extra {
    display: none;
}
.work-filter.is-expanded .filter-tag--extra {
    display: inline-flex;
}

.filter-tag-more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.filter-tag-more:hover {
    border-color: var(--accent-border);
}
.filter-tag-more .material-symbols-outlined {
    font-size: 16px;
}

/* フィルターで除外されたカードを畳んで隠す */
.work-card.is-filtered-out {
    display: none;
}

@media (max-width: 768px) {
    .work-card {
        flex: 0 0 85%;
    }
}

/* =========================================
   工期シミュレーターのUIデザイン（1箇所に統合）
========================================= */
.simulator-box {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.simulator-title {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.simulator-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stylish-input {
    font-family: 'Jost', 'Noto Sans JP', sans-serif;
    font-size: 13px;
    background: #ffffff !important;
    color: var(--text) !important;
    border: 1px solid var(--border-strong) !important;
    padding: 14px 16px;
    width: 100%;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    color-scheme: light;
    appearance: auto;
}
.stylish-input:focus { border-color: var(--accent) !important; }

.calc-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    height: 52px;
    white-space: nowrap;
}

.calc-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* --- ビジュアルタイムライン（1箇所に統合） --- */
.timeline-result-area {
    margin-top: 20px;
}

.visual-timeline {
    position: relative;
    padding-left: 56px;
    padding-top: 10px;
}

.visual-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 20px;
    left: 24px;
    width: 2px;
    background: var(--border);
}

.v-node {
    position: relative;
    margin-bottom: 30px;
}

.v-icon-wrap {
    position: absolute;
    left: -56px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.v-node .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    color: var(--text-muted);
    font-size: 24px;
    transition: color 0.4s ease;
    white-space: nowrap;
    font-weight: 300;
}

.v-node.is-final .v-icon-wrap {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-mid);
}
.v-node.is-final .material-symbols-outlined {
    color: #fff;
}

.v-content {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.v-node:hover .v-content {
    background: var(--surface-strong);
    border-color: var(--accent-border);
    transform: translateX(8px);
}

.v-node:hover .v-icon-wrap {
    border-color: var(--accent);
}

.v-node:hover .material-symbols-outlined {
    color: var(--accent);
}

.v-date {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: var(--text-faint);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.v-title {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.v-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   契約前の流れ（日付なし・簡易表示・自動スケール）
========================================= */
.pre-flow {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.pre-flow-label {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.pre-flow-viewport {
    width: 100%;
    overflow: hidden;
}

.pre-flow-list {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: max-content;
}

.pre-flow-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text);
    white-space: nowrap;
    box-shadow: var(--card-shadow);
}

.pre-flow-item .material-symbols-outlined {
    font-size: 18px;
    color: var(--text-muted);
}

.pre-flow-item.is-goal {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

.pre-flow-arrow {
    font-size: 16px;
    color: var(--border-strong);
}

/* =========================================
   利用回数カウンター
========================================= */
.usage-counter {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-faint);
    font-family: 'Jost', sans-serif;
}
.usage-counter span {
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
}

/* =========================================
   アクセス（ACCESS）専用デザイン
========================================= */
.access-container {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    align-items: flex-start;
    box-shadow: var(--card-shadow);
}

.access-visual {
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.company-photo {
    width: 100%;
    height: auto;
    display: block;
}

.access-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.company-name {
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: -12px;
}

.access-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.access-address .material-symbols-outlined {
    font-size: 16px;
    color: var(--text-muted);
}

.access-stats {
    display: flex;
    gap: 10px;
    width: 100%;
}

.stat-card {
    flex: 1;
    min-width: 0;
    container-type: inline-size;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--card-shadow);
}

.stat-card .material-symbols-outlined {
    font-size: 20px;
    font-size: clamp(14px, 22cqw, 22px);
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 10px;
    font-size: clamp(7px, 11cqw, 10px);
    letter-spacing: 1px;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.stat-value {
    font-size: 12px;
    font-size: clamp(8px, 13cqw, 12px);
    color: var(--text);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.stat-card--link:hover {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

.contact-strip {
    display: flex;
    align-items: center;
    gap: clamp(8px, 3vw, 14px);
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: clamp(10px, 3vw, 14px) clamp(12px, 3vw, 16px);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--card-shadow);
}
.contact-strip:hover {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

.contact-strip-avatar {
    width: clamp(32px, 8vw, 42px);
    height: clamp(32px, 8vw, 42px);
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-strip-avatar .material-symbols-outlined {
    font-size: clamp(16px, 4vw, 22px);
    color: var(--accent);
}

.contact-strip-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.contact-strip-name {
    font-size: clamp(11px, 3vw, 13px);
    color: var(--text);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-strip-sub {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-strip-btn {
    background: var(--accent);
    color: #fff;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: clamp(8px, 2.8vw, 10px) clamp(12px, 4vw, 18px);
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.access-map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: none;
    transition: filter 0.4s ease;
}

.access-map iframe:hover {
    filter: none;
}

@media (max-width: 1000px) {
    .access-container {
        flex-direction: column;
        padding: 20px;
        gap: 24px;
    }

    .access-info {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .access-address {
        justify-content: center;
    }
    .contact-strip {
        text-align: left;
    }
}

/* =========================================
   コンセプト（CONCEPT）専用デザイン
========================================= */
.concept-hero {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.concept-catch {
    font-size: clamp(20px, 4vw, 28px);
    line-height: 1.6;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
}

.concept-lead {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-muted);
}

/* 横長ヒーロー型（魔法瓶構造／HEAT BOXで共用） */
.concept-feature {
    width: 100%;
    margin: 0 auto 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-sizing: border-box;
    box-shadow: var(--card-shadow);
}

.concept-feature-title {
    font-family: 'Jost', sans-serif;
    font-size: 26px;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 6px;
}

.concept-feature-sub {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.concept-feature-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 480px;
}

.concept-specs {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.spec-badge {
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
}

.spec-value {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: var(--accent);
    letter-spacing: 1px;
    white-space: nowrap;
}

.spec-label {
    font-size: 10px;
    color: var(--text-faint);
    letter-spacing: 1px;
    margin-top: 4px;
    white-space: nowrap;
}

/* 小カード群（3枚組・2枚組で共用）：flex:1で常にコンテナ幅いっぱいを埋める
   → 枚数に関わらず、行全体の幅は.concept-featureと常に一致する */
.concept-mini-grid {
    display: flex;
    gap: 20px;
    max-width: none;
    width: 100%;
    margin: 0 auto 24px;
}
.concept-mini-grid:last-of-type {
    margin-bottom: 0;
}

/* カード本体：画像＋タイトル＋説明文は常時すべて表示 */
.concept-card {
    position: relative;
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    box-shadow: var(--card-shadow);
}

.concept-card-media {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    background-color: var(--surface-strong); /* 写真が無い場合はこのダークグレーのまま */
    background-size: cover;
    background-position: center;
    transition: background-size 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.concept-card-media--neoma { background-image: url('../images/concept/neoma.png'); }
.concept-card-media--kiso { background-image: url('../images/concept/kiso.png'); }
.concept-card-media--ketaue { background-image: url('../images/concept/ketaue.png'); }
.concept-card-media--coordinator { background-image: url('../images/concept/coordinator.png'); }
.concept-card-media--carpenter { background-image: url('../images/concept/carpenter.png'); }

.concept-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
}

.concept-card-icon-wrap {
    position: absolute;
    left: 16px;
    top: 100px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.concept-card-icon-wrap .material-symbols-outlined {
    font-size: 20px;
    color: var(--accent);
    font-weight: 300;
}

.concept-card-body {
    padding: 22px 20px;
}

.concept-card-title {
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 10px;
}

.concept-card-desc {
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* PC：ホバーで画像がわずかにズームする演出のみ残す */
@media (hover: hover) and (pointer: fine) {
    .concept-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-4px);
    }
    .concept-card:hover .concept-card-media {
        background-size: 115%; /* ズームイン効果（scale(1.08)相当） */
    }
}

@media (max-width: 700px) {
    .concept-feature {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 28px 24px;
    }
    .concept-feature-desc {
        max-width: none;
    }
    .concept-specs {
        justify-content: center;
    }
    .concept-mini-grid {
        flex-direction: column;
    }
}

/* =========================================
   お客様の声（VOICE）専用デザイン
========================================= */
.voice-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.voice-grid::-webkit-scrollbar {
    display: none;
}

.voice-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.voice-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.voice-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.voice-card-body {
    padding: 24px 22px;
}

.voice-house {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-faint);
    margin-bottom: 4px;
}

.voice-name {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 14px;
}

.voice-excerpt {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(13px * 1.8 * 3);
}

.voice-more-btn {
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}
.voice-more-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

/* モーダル */
.voice-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
}
.voice-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.voice-modal {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: none;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}
.voice-modal-overlay.is-active .voice-modal {
    transform: translateY(0);
}
.voice-modal::-webkit-scrollbar {
    display: none;
}

.voice-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.voice-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.voice-modal-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.voice-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.voice-modal-body {
    padding: 28px 30px 34px;
}

.voice-modal-house {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-faint);
    margin-bottom: 4px;
}

.voice-modal-name {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 22px;
}

/* Q&Aリスト */
.voice-qa-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-qa-item {
    border-left: 2px solid var(--accent-border);
    padding-left: 16px;
}

.voice-qa-q {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-faint);
    margin-bottom: 6px;
}
.voice-qa-q::before {
    content: 'Q. ';
    color: var(--accent);
}

.voice-qa-a {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

@media (max-width: 768px) {
    .voice-card {
        flex: 0 0 85%;
    }
}

/* =========================================
   会社概要（COMPANY）専用デザイン
========================================= */
.company-container {
    max-width: 720px;
    margin: 0 auto;
}

.company-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.company-row {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.company-row:last-child {
    border-bottom: none;
}

.company-row dt {
    flex: 0 0 110px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-faint);
    padding-top: 2px;
}

.company-row dd {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

/* 企業理念：引用ブロック */
.company-philosophy {
    text-align: center;
    padding: 36px 24px;
    margin: 0 0 30px;
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.philosophy-icon {
    font-size: 26px;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.company-philosophy p {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    letter-spacing: 0.5px;
}

.philosophy-label {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-faint);
}

/* 沿革：details/summaryで開閉（Wikipedia方式・JS不要） */
.history-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.history-details summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text);
    user-select: none;
}
.history-details summary::-webkit-details-marker {
    display: none; /* デフォルトの三角マークを消す */
}
.history-details summary:hover {
    background: var(--surface-strong);
}

.history-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.history-details[open] .history-arrow {
    transform: rotate(180deg);
}

.history-timeline {
    padding: 0 26px 26px;
    border-top: 1px solid var(--border);
}

.history-row {
    position: relative; /* 年号・ドットを絶対配置するための基準点 */
    padding: 18px 0 18px 150px; /* 左に150px分の余白を確保（年号＋ドット＋線のスペース） */
}

/* 年号：行の高さに関係なく、常に上から18pxの固定位置 */
.history-year {
    position: absolute;
    top: 18px;
    left: 0;
    width: 110px;
    line-height: 20px;
    text-align: right;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text);
    white-space: nowrap;
}

/* ドットの土台：年号と全く同じtop:18pxを基準に、20px四方の中で中央配置 */
.history-dot-zone {
    position: absolute;
    top: 18px;
    left: 134px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* 線より手前に表示 */
}

.history-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-strong);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.history-row:hover .history-dot {
    border-color: var(--accent);
    background: var(--accent);
}

/* 縦線：各行がそれぞれ「自分の行の全高」を使って線を引く。
   隣接する行同士が継ぎ目なく繋がるので、行の高さがバラバラでも線は途切れない */
.history-row::before {
    content: '';
    position: absolute;
    left: 143.5px; /* dot-zoneの中心(124px + 20px/2)に、線の太さ(1px)の半分を差し引いて正確に重ねる */
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
/* 最初の行だけ：線がドットより上にはみ出さないよう、ドットの高さ(28px)から下だけ描画 */
.history-row:first-child::before {
    top: 28px;
    bottom: 0;
}
/* 最後の行だけ：線がドットより下にはみ出さないよう、ドットの高さ(28px)までで止める */
.history-row:last-child::before {
    top: 0;
    bottom: auto;
    height: 28px;
}

.history-text {
    margin: 0 0 0 31px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .history-row {
        padding-left: 90px;
    }
    .history-year {
        width: 60px;
        font-size: 11px;
    }
    .history-dot-zone {
        left: 74px;
    }
    .history-row::before {
        left: 83.5px;
    }
}

/* =========================================
   こまい通信（TOPICS）専用デザイン
========================================= */
.topics-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.topics-grid::-webkit-scrollbar {
    display: none;
}

.topics-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: block;
    cursor: pointer;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.topics-card:hover {
    border-color: var(--accent-border);
}

/* サムネイル：常に固定サイズ */
.topics-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--surface-strong);
}
.topics-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.topics-card-body {
    padding: 16px 22px 20px;
}

.topics-date {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-faint);
    margin-bottom: 4px;
}

/* タイトル：1行でも2行でも、常に2行分の高さを確保 */
.topics-title {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(15px * 1.4 * 2);
}

/* 本文：1行だけ表示 */
.topics-text {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ハッシュタグ：タグが0個でも高さを確保する */
.topics-tags {
    margin-top: 8px;
    min-height: 24px;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.5px;
    display: block;
}

.topics-loading,
.topics-empty {
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    grid-column: 1 / -1;
    padding: 40px 0;
}

/* モーダル内の本文（voice-modal-*は既存のCSSを流用、本文だけ専用クラス） */
.topics-modal-text {
    font-size: 14px;
    font-family: 'Jost' , sans-serif;
    line-height: 1.9;
    color: var(--text);
    white-space: pre-line;
}

/* TOPICSページのモーダル画像だけ、元の縦横比を維持する */
#topicsModalMediaWrap {
    height: auto;
    overflow: visible;
}
#topicsModalImg {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
}

/* モーダル内の「投稿を見る」リンク */
.topics-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.topics-modal-link .material-symbols-outlined {
    font-size: 16px;
}
.topics-modal-link:hover {
    text-decoration: underline;
}

/* TOPICSページ専用：カード下〜フッターの余白を詰める */
.topics-main {
    padding-bottom: 10px;
}

/* =========================================
   こまい通信：メール購読フォーム
========================================= */
.subscribe-box {
    max-width: 480px;
    margin: 0 auto 36px;
    text-align: center;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.subscribe-box:hover {
    border-color: var(--accent-border);
}

.subscribe-text {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}
.subscribe-input:focus {
    border-color: var(--accent);
}

.subscribe-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}
.subscribe-btn:hover {
    background: var(--accent-hover);
}
.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.subscribe-message {
    margin-top: 8px;
    font-size: 12px;
    min-height: 0px;
}
.subscribe-message.is-success {
    color: var(--accent);
}
.subscribe-message.is-error {
    color: #c0392b;
}

@media (max-width: 500px) {
    .subscribe-form {
        flex-direction: column;
    }
}
/* =========================================
   プライバシーポリシー専用デザイン
========================================= */
.policy-container {
    max-width: 760px;
    margin: 0 auto;
}

.policy-heading {
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.policy-section {
    margin-bottom: 30px;
    padding: 32px 40px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.policy-section:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.policy-section h3 {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 0 0 10px;
}

.policy-section p {
    font-size: 13.5px;
    line-height: 2;
    color: var(--text-muted);
    margin: 0;
}

.policy-contact {
    margin-top: 40px;
    padding: 24px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.policy-contact-label {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-faint);
    margin-bottom: 8px;
}

.policy-contact-text {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text);
}

/* トップページのfooterだけは動画背景の上に乗るため、明るい文字色を維持する */
.wrapper--home .social-icons a { color: #ccc; }
.wrapper--home .social-icons a:hover { color: var(--accent); }
.wrapper--home footer > div:last-child { color: #ccc; }

/* =========================================
   ギフト機能
========================================= */
.nav-item:nth-child(7) { animation-delay: 0.9s; }

.nav-item--gift .nav-link {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.nav-item--gift.is-locked .nav-link,
.nav-item--gift.is-locked .nav-icon {
    opacity: 0.5;
}

.nav-item--gift.is-unlocked .nav-icon {
    color: var(--accent);
    opacity: 1;
}

.gift-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 300;
}
.gift-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gift-modal {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: none;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}
.gift-modal-overlay.is-active .gift-modal {
    transform: translateY(0);
}
.gift-modal::-webkit-scrollbar {
    display: none;
}

.gift-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.gift-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.gift-modal-body {
    padding: 34px 32px;
}

.gift-modal-title {
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 12px;
}

.gift-modal-text {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.gift-choice-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.gift-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.gift-choice:hover {
    border-color: var(--accent-border);
}
.gift-choice input {
    accent-color: var(--accent);
}

.gift-decide-btn {
    width: 100%;
}
.gift-decide-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 500px) {
    .gift-modal-body {
        padding: 28px 22px;
    }
}

/* =========================================
   About us ページ
========================================= */
.about-container {
    max-width: 760px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
}

.about-section-title {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.about-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.about-link-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.about-link-icon {
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.about-link-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.about-link-name {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-link-desc {
    font-size: 11.5px;
    color: var(--text-muted);
}

.about-link-arrow {
    font-size: 18px;
    color: var(--text-faint);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.about-link-card:hover .about-link-arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}

.about-link-badge {
    background: var(--surface-strong);
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
}

.about-link-card--soon {
    opacity: 0.75;
}

@media (max-width: 600px) {
    .about-link-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   採用情報（recruit）
========================================= */
.gift-modal--wide {
    max-width: 640px;
}

.recruit-detail {
    max-width: 640px;
    margin: 0 auto;
}

.recruit-block {
    margin-bottom: 32px;
}

.recruit-list {
    list-style: none;
    margin-bottom: 14px;
}
.recruit-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text);
}
.recruit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.recruit-text {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text-muted);
}

.recruit-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 8px;
}
.recruit-apply-btn .material-symbols-outlined {
    font-size: 18px;
}

/* =========================================
   お問い合わせページ
========================================= */
.contact-container {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.contact-textarea {
    width: 100%;
    resize: vertical;
    line-height: 1.7;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 8px;
}