/* =========================================================================
   1画面版 Tatami Visualizer（index-oneview.php）2026-11-21
   ・画面の高さぴったりに収め、ページ全体はスクロールしない
   ・最上部のヘッダー（MORITA TATAMI の帯）にステップのタブ、サイトのメニューは「Menu」の中
   ・左：部屋の写真 / 間取り図、右：ステップのパネル、下：概算と見積もりボタン
   style3.css と usability.css の後に読み込みます。
   ========================================================================= */

body.oneview {
    --ov-accent: #0f5b46;
    --ov-accent-soft: #e6f2ec;
    --ov-ink: #17211d;
    --ov-muted: #5b6862;
    --ov-line: #dde1dc;
    --ov-bg: #f3f2ed;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ov-bg);
    color: var(--ov-ink);
}

body.oneview .visually-hidden,
body.oneview .ov-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
body.oneview #calc-plan { display: none !important; }
body.oneview .mobile-quote-bar { display: none !important; }
body.oneview.has-mobile-quote-bar { padding-bottom: 0 !important; }
body.oneview [hidden] { display: none !important; }

/* ---------- ヘッダー（タブ入り） ---------- */
body.oneview .global-header {
    flex: none;
    position: relative;
    top: auto;
    z-index: 60 !important;
    padding: 0 16px;
    border-bottom: 1px solid var(--ov-line);
    background: #fff;
}
body.oneview .global-header .header-inner {
    max-width: none;
    height: 58px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0;
}
body.oneview .header-logo-group { flex: none; order: 0; margin-right: 0; }
/* 本番のヘッダーは 861〜1280px で2段に折り返す指定があるので、1画面版では1段に戻す */
body.oneview .global-header .header-inner::before { display: none !important; content: none !important; }
@media (min-width: 861px) {
    body.oneview .global-header .header-inner { flex-wrap: nowrap !important; justify-content: flex-start !important; column-gap: 14px; padding: 0 !important; }
}
body.oneview .header-logo img { height: 34px; margin-right: 8px; }
body.oneview .header-shop-name { font-size: .78rem; line-height: 1.15; letter-spacing: .5px; }

body.oneview .ov-tabs-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
body.oneview .ov-tabs {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}
/* 「選択してください →」 */
body.oneview .ov-tabs-hint {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    background: #f6b300;
    color: #2b1d00;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(246, 179, 0, .45);
}
body.oneview .ov-tabs-hint-arrow { flex: none; animation: ov-nudge 1.2s ease-in-out infinite; }
@keyframes ov-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { body.oneview .ov-tabs-hint-arrow { animation: none; } }
body.oneview .ov-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4a564f;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
body.oneview .ov-tab:hover { background: #f1f3ef; }
body.oneview .ov-tab-num {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    flex: none;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: .74rem;
    font-weight: 800;
}
body.oneview .ov-tab.is-done .ov-tab-num { background: var(--ov-accent-soft); border-color: var(--ov-accent); color: var(--ov-accent); }
body.oneview .ov-tab.is-active { background: var(--ov-accent); color: #fff; }
body.oneview .ov-tab.is-active .ov-tab-num { background: #fff; border-color: #fff; color: var(--ov-accent); }
body.oneview .ov-tab:focus-visible { outline: 3px solid #9cc9b5; outline-offset: 2px; }
body.oneview .ov-tabs-fallback { display: none; }

/* メニュー（サイト内リンクは「Menu」の中にまとめる）
   英語版（id="menu-toggle" / id="header-nav"）と仏・独版（クラスだけ）の両方のヘッダーに効くよう、クラスで指定 */
body.oneview .global-header .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-left: auto !important;
    height: 40px;
    padding: 0 14px !important;
    border: 1px solid var(--ov-line) !important;
    border-radius: 999px;
    background: #fff !important;
    color: var(--ov-ink) !important;
    font: inherit;
    font-size: .85rem !important;
    font-weight: 700;
    cursor: pointer;
}
body.oneview .global-header .mobile-menu-toggle i { font-size: 1rem; }
body.oneview .global-header .header-nav { display: none !important; }
body.oneview .global-header .header-nav.is-open {
    display: grid !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 12px !important;
    left: auto !important;
    width: min(880px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 80px) !important;
    overflow: auto !important;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    align-items: start;
    gap: 6px 20px;
    margin: 0 !important;
    padding: 18px 22px !important;
    background: #fff !important;
    border: 1px solid var(--ov-line) !important;
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .18) !important;
    flex-direction: column !important;
    z-index: 11000;
}
body.oneview .global-header .header-nav.is-open > a,
body.oneview .global-header .header-nav.is-open .nav-item-parent > a { display: block !important; width: auto !important; min-height: 0 !important; padding: 6px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; text-align: left !important; font-weight: 800; font-size: .9rem !important; color: var(--ov-ink) !important; }
body.oneview .global-header .header-nav.is-open .nav-item-parent { position: static !important; padding: 0; margin: 0; width: auto !important; order: 0 !important; }
body.oneview .global-header .header-nav.is-open > * { order: 0 !important; }
body.oneview .global-header .header-nav.is-open .dropdown-menu {
    display: block !important;
    position: static !important;
    width: auto !important;
    min-width: 0;
    max-height: none !important;
    margin: 0;
    padding: 0 0 8px !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}
body.oneview .global-header .header-nav.is-open .dropdown-menu li a { padding: 4px 0 !important; font-size: .84rem !important; }
body.oneview .global-header .header-nav.is-open .nav-lang-switcher { position: static; display: flex; gap: 14px; grid-column: 1 / -1; order: -1 !important; padding: 0 0 8px !important; border-bottom: 1px solid #eef0ec; font-size: .85rem; }
body.oneview .global-header .header-nav.is-open .nav-contact-parent { grid-column: 1 / -1; }
body.oneview .global-header .header-nav.is-open .contact-dropdown { width: auto !important; }
body.oneview .global-header .header-nav.is-open .btn-header-quote { display: inline-block !important; }
body.oneview .ov-site-info-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 6px;
    padding: 8px 14px;
    border: 1px solid var(--ov-line);
    border-radius: 999px;
    background: #fafaf7;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}

/* 海外向けサイト（日本語）のヘッダー */
body.oneview .ov-kaigai-header { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; }
body.oneview .ov-kaigai-header .header-logo-group { display: flex; align-items: center; gap: 8px; color: #17211d; text-decoration: none; }
body.oneview .ov-kaigai-header .header-shop-name { font-size: .78rem; font-weight: 800; line-height: 1.25; }
body.oneview .ov-kaigai-header .mobile-menu-toggle span { font-size: 1.1rem; line-height: 1; }
body.oneview .ov-kaigai-header .header-nav.is-open > a { font-size: .95rem !important; }
body.locale-ja .ov-tab-label, body.locale-ja .ov-tabs-hint { letter-spacing: 0; }

/* ---------- 全体のレイアウト ---------- */
body.oneview .ov-app {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(380px, 38vw, 580px);
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    padding: 0;
    max-width: none;
}

/* ---------- 左：プレビュー ---------- */
body.oneview .ov-stage {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 10px 16px;
}
body.oneview .ov-stage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; }
body.oneview .ov-title { margin: 0; min-width: 0; font-size: 1rem; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ov-ink); }
body.oneview .ov-view-switch { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: #e4e5df; }
body.oneview .ov-view-switch button { padding: 6px 13px; border: 0; border-radius: 999px; background: transparent; color: #4a564f; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-view-switch button.is-active { background: #fff; color: var(--ov-accent); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }

body.oneview .ov-visual {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #e8e5dc;
}
body.oneview .ov-visual .room-reference {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #e8e5dc;
    box-shadow: none;
}
body.oneview .ov-visual .room-reference img {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    cursor: zoom-in;
}
body.oneview .ov-visual .room-reference figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    font-size: .75rem;
    font-weight: 700;
}
body.oneview .ov-visual[data-view="plan"] .room-reference { display: none !important; }
body.oneview .ov-visual[data-view="photo"] .ov-plan { display: none; }
body.oneview .ov-plan {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 8px;
    background: #f7f5ef;
}
body.oneview .ov-plan-svg { flex: 1 1 auto; min-height: 0; }
body.oneview .ov-plan-svg svg { display: block; width: 100%; height: 100%; font-family: inherit; }
body.oneview .ov-plan-caption { flex: none; margin: 6px 0 0; text-align: center; font-size: .8rem; font-weight: 700; color: #3c4842; }
body.oneview .ov-plan-caption small { font-weight: 400; color: var(--ov-muted); }
body.oneview .ov-no-photo {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    font-size: .75rem;
    text-align: center;
}

/* 選んだ内容（4つのカード） */
body.oneview .ov-spec {
    flex: none;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.2fr);
    gap: 8px;
}
body.oneview .ov-spec-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 6px 9px 6px 6px;
    border: 1px solid var(--ov-line);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
body.oneview .ov-spec-item:hover { border-color: var(--ov-accent); }
body.oneview .ov-spec-item > img,
body.oneview .ov-spec-swatch,
body.oneview .ov-spec .top-selected-image-combo {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 7px;
    object-fit: cover;
    background: #eee center / cover no-repeat;
}
body.oneview .ov-spec-size > img { object-fit: contain; background: #fff; }
body.oneview .ov-spec-swatch.is-none { background: repeating-linear-gradient(45deg, #ecece6 0 6px, #fff 6px 12px); }
body.oneview .top-selected-image-combo,
body.oneview .color-image-combo { position: relative; display: block; overflow: hidden; }
body.oneview .top-selected-image-combo img,
body.oneview .color-image-combo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
body.oneview .top-selected-image-combo #topHeriPreviewImage,
body.oneview .color-image-combo #colorHeriPreviewImage { inset: auto 0 0 0; height: 24%; z-index: 1; }
body.oneview .ov-spec-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
body.oneview .ov-spec-text strong,
body.oneview .ov-spec-text small { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0; }
body.oneview .ov-spec-text strong { font-size: .86rem; font-weight: 800; color: var(--ov-ink); }
body.oneview .ov-spec-text small { font-size: .7rem; color: var(--ov-muted); font-weight: 500; }
body.oneview .ov-spec #selectedMaterial { font-size: .7rem; letter-spacing: 0; text-transform: none; }
body.oneview .ov-spec-size.has-room #topLayoutSize { display: none; }
body.oneview .ov-spec-size.has-room #topLayoutName { color: var(--ov-muted); text-decoration: line-through; font-weight: 600; }
body.oneview .ov-spec-size.has-room > img { opacity: .35; }
body.oneview .ov-spec-room { color: var(--ov-accent) !important; font-weight: 800 !important; }

/* ---------- 左の画像の中：選んだ素材の写真（畳表・畳縁・畳床・敷き方） ---------- */
body.oneview .ov-materials {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 132px;
    pointer-events: none;
}
body.oneview .ov-materials > * { pointer-events: auto; }
body.oneview .ov-materials-toggle {
    flex: none;
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 33, 29, .72);
    color: #fff;
    font: inherit;
    font-size: .7rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
body.oneview .ov-materials .ov-when-closed { display: none; }
body.oneview .ov-materials.is-collapsed .ov-when-open { display: none; }
body.oneview .ov-materials.is-collapsed .ov-when-closed { display: inline; }
body.oneview .ov-materials.is-collapsed .ov-materials-list { display: none; }
body.oneview .ov-materials-list { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 0; overflow: hidden; }
body.oneview .ov-mat-card {
    flex: 0 1 auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
body.oneview .ov-mat-photo { position: relative; height: 66px; background: #e8e5dc; overflow: hidden; }
body.oneview .ov-mat-photo img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
body.oneview .ov-mat-photo.is-contain img { object-fit: contain; background: #fff; }
body.oneview .ov-mat-none { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #ecece6 0 6px, #fff 6px 12px); }
body.oneview .ov-mat-card figcaption { margin: 0; }
body.oneview .ov-mat-card figcaption button {
    display: block;
    width: 100%;
    padding: 4px 8px 6px;
    border: 0;
    background: none;
    color: var(--ov-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
body.oneview .ov-mat-card figcaption button:hover strong { color: var(--ov-accent); text-decoration: underline; }
body.oneview .ov-mat-card small { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ov-muted); }
body.oneview .ov-mat-card strong { display: block; overflow: hidden; font-size: .74rem; font-weight: 800; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
body.oneview .ov-mat-card em { display: -webkit-box; overflow: hidden; font-size: .58rem; font-style: normal; line-height: 1.3; color: var(--ov-muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
body.oneview .ov-mat-size.has-room #topLayoutSize { display: none; }
body.oneview .ov-mat-size.has-room #topLayoutName { color: var(--ov-muted); text-decoration: line-through; font-weight: 600; }
body.oneview .ov-mat-size.has-room .ov-mat-photo img { opacity: .35; }
body.oneview .ov-mat-size .ov-spec-room { color: var(--ov-accent); font-weight: 800; }
body.oneview .ov-path {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    max-width: calc(100% - 172px);
    margin: 0;
    padding: 5px 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
body.oneview .ov-visual .room-reference figcaption { display: none; }
body.oneview .ov-visual[data-view="mode"] .ov-materials,
body.oneview .ov-visual[data-view="mode"] .ov-path { display: none; }
body.oneview .ov-visual[data-view="plan"] .ov-path { display: none; }

/* 合成した部屋の写真（縁ありを選んだのに縁なしの写真しかないときなど） */
body.oneview .ov-gen-photo { position: absolute; inset: 0; display: none; margin: 0; background: #e8e5dc; }
body.oneview .ov-gen-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
body.oneview .ov-gen-photo img:not([src]), body.oneview .ov-gen-photo img[src=""] { visibility: hidden; }
body.oneview .ov-gen-photo figcaption { position: absolute; left: 12px; top: 12px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .7rem; font-weight: 700; color: var(--ov-muted); }
body.oneview .ov-visual[data-view="gen"] .ov-gen-photo { display: block; }
body.oneview .ov-visual[data-view="gen"] .room-reference,
body.oneview .ov-visual[data-view="gen"] .ov-plan { display: none !important; }

/* ---------- 右：パネル ---------- */
body.oneview .ov-panel {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid var(--ov-line);
}
body.oneview .ov-panel-head { flex: none; display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 10px 20px 0; }
body.oneview .ov-step-count { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ov-accent); white-space: nowrap; }
body.oneview .ov-panel-head .selection-status { margin: 0; padding: 0; font-size: .74rem; line-height: 1.35; color: #8a5a14; background: none; border: 0; }
body.oneview .ov-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 8px 20px 14px;
}
body.oneview .ov-pane { display: flex; flex-direction: column; gap: 14px; }
body.oneview .ov-size-pane { gap: 10px; }
body.oneview .ov-block { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 0; border: 0; background: none; }
body.oneview .ov-h,
body.oneview .ov-block > .ov-h { text-align: left !important; margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.35; color: var(--ov-ink); }
body.oneview .ov-h-small { font-size: .9rem; }
body.oneview .step-label { display: block; margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ov-muted); }
body.oneview .ov-pane .step-label { display: none; }
body.oneview .ov-mini-label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ov-muted); }

/* 共通のボタン */
body.oneview .choice-row,
body.oneview .choice-grid { margin: 0; }
body.oneview .choice-row button,
body.oneview .choice-grid button,
body.oneview .layout-choice-list button,
body.oneview .color-choice-list button {
    min-height: 40px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #cdd5cf;
    border-radius: 10px;
    background: #fff;
    color: var(--ov-ink);
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: none;
    cursor: pointer;
    transform: none;
}
body.oneview .choice-row button:hover,
body.oneview .choice-grid button:hover,
body.oneview .layout-choice-list button:hover,
body.oneview .color-choice-list button:hover { border-color: var(--ov-accent); }
body.oneview .choice-row button.is-active,
body.oneview .choice-grid button.is-active,
body.oneview .layout-choice-list button.is-active,
body.oneview .color-choice-list button.is-active { background: var(--ov-accent); border-color: var(--ov-accent); color: #fff; }
body.oneview .choice-grid button small { display: block; margin-top: 2px; font-size: .68rem; font-weight: 600; opacity: .85; }

/* 1 用途 */
body.oneview .ov-big-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.oneview .ov-big-choices button { min-height: 64px; font-size: 1rem; border-radius: 12px; }
body.oneview .ov-uae { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fff8e6; font-size: .8rem; font-weight: 700; }

/* 2 畳表 */
body.oneview .ov-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.oneview .ov-detail-grid { display: flex; flex-wrap: wrap; gap: 6px; }
body.oneview .ov-detail-grid button { min-height: 34px; padding: 6px 11px; font-size: .8rem; border-radius: 999px; }
body.oneview .kyoto-size-note { margin: 0; padding: 6px 10px; border-radius: 8px; background: #fff8e6; font-size: .74rem; line-height: 1.45; }
body.oneview .kyoto-size-note.is-hidden { display: none; }
body.oneview .ov-item-block { gap: 8px; }
body.oneview .ov-item-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid #e3e6e1;
    border-radius: 12px;
    background: #fafaf7;
}
body.oneview .ov-item-card .color-image-combo { width: 64px; height: 64px; flex: none; border-radius: 8px; }
body.oneview .ov-item-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
body.oneview .ov-item-info strong { font-size: .95rem; }
body.oneview .ov-item-info em { font-style: normal; font-size: .74rem; line-height: 1.4; color: #3c4842; white-space: pre-line; }
body.oneview .ov-color-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: none; overflow: visible; }
body.oneview .ov-color-list button { min-height: 34px; padding: 6px 9px; font-size: .76rem; text-align: left; white-space: normal; overflow-wrap: anywhere; }

/* 3 縁 */
body.oneview #tatamiVisualizerHeri { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
body.oneview #tatamiVisualizerHeri.is-hidden { display: none; }
body.oneview #tatamiVisualizerHeri .heri-picker { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; background: none; }
body.oneview .ov-heri-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.oneview #tatamiVisualizerHeri .heri-preview-panel { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; position: static; }
body.oneview #tatamiVisualizerHeri .heri-preview-strip { display: block; width: 64px; height: 22px; margin: 0; border-radius: 4px; background: #2b2b2b center / cover no-repeat; }
body.oneview #display-heri-id { font-size: .85rem; font-weight: 800; }
body.oneview .heri-filters { margin: 0; }
body.oneview .heri-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
body.oneview .heri-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; }
body.oneview .heri-filter-row button { min-height: 28px; padding: 3px 10px; font-size: .74rem; }
/* 色の絞り込みは色の丸だけ（色名は title と読み上げで分かる） */
body.oneview .heri-filter-row button[data-heri-color]:not([data-heri-color="rec"]):not([data-heri-color=""]) { width: 28px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
body.oneview .heri-filter-row button[data-heri-color] i { width: 16px; height: 16px; }
body.oneview .heri-filter-row button[data-heri-color][aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff; }
body.oneview .ov-heri-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
body.oneview .ov-heri-search label { font-size: .75rem; font-weight: 700; margin: 0; }
body.oneview #heriSearch { height: 32px; min-height: 0; margin: 0; padding: 0 10px; border: 1px solid #cdd5cf; border-radius: 8px; font-size: .85rem; width: 100%; }
body.oneview #heriSearchCount { margin: 0; font-size: .72rem; color: var(--ov-muted); white-space: nowrap; }
body.oneview #tatamiVisualizerHeri .heri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)) !important;
    gap: 4px;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}
body.oneview #heri-grid .heri-thumb {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9ddd7;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
body.oneview #heri-grid .heri-thumb img { display: block; width: 100%; height: 28px; margin: 0; object-fit: cover; border-radius: 0; }
body.oneview #heri-grid .heri-thumb span { display: block; padding: 0; font-size: .6rem; line-height: 1.3; text-align: center; font-weight: 700; }
body.oneview #heri-grid .heri-thumb .heri-extra {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    overflow: hidden;
    border-radius: 50%;
    background: #a8701f;
    color: transparent;
    font-size: 0;
}
body.oneview #heri-grid .heri-thumb .heri-extra::after { content: "¥"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; }
body.oneview #heri-grid .heri-thumb.is-active { border-color: var(--ov-accent); box-shadow: 0 0 0 2px var(--ov-accent); }
body.oneview .borderless-heri-note { margin: 0; padding: 14px; border-radius: 12px; background: #f3f9f5; font-size: .85rem; line-height: 1.55; }
body.oneview .borderless-heri-note.is-hidden { display: none; }

/* 4 畳床 */
body.oneview .ov-core-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px; margin: 0; }
body.oneview .core-option-wrap { position: static; min-width: 0; }
body.oneview .core-option-wrap > button {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 5px 6px 6px;
    border: 1px solid #d9ddd7;
    border-radius: 9px;
    background: #fff;
    color: var(--ov-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}
body.oneview .core-option-wrap > button:hover { border-color: var(--ov-accent); }
body.oneview .core-option-wrap > button.is-active { border-color: var(--ov-accent); background: #f1f8f4; box-shadow: inset 0 0 0 1px var(--ov-accent); }
body.oneview .core-option-wrap .core-choice-image { display: block; width: 100%; height: 50px; margin: 0 0 2px; object-fit: cover; border-radius: 6px; aspect-ratio: auto; }
body.oneview .core-option-wrap > button strong { display: block; min-height: 2.5em; font-size: .72rem; line-height: 1.25; font-weight: 800; }
body.oneview .core-option-wrap > button span { display: block; font-size: .64rem; line-height: 1.3; color: #3c4842; }
body.oneview .core-option-wrap > button em { font-size: .62rem; font-style: normal; color: #8a5a14; }
body.oneview .core-info-popup { display: none !important; }
body.oneview .ov-core-detail {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border: 1px solid #e3e6e1;
    border-radius: 12px;
    background: #fafaf7;
}
body.oneview .ov-core-detail img { width: 104px; height: 78px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
body.oneview .ov-core-detail strong { display: block; font-size: .92rem; }
body.oneview .ov-core-detail p { margin: 2px 0 0; font-size: .76rem; line-height: 1.5; }
body.oneview #corePriceInfo { font-weight: 700; color: var(--ov-accent); }
body.oneview .ov-core-text { color: #3c4842; }
body.oneview .core-import-notice { margin-top: 6px; }

/* 5 お部屋のサイズ */
body.oneview .ov-calc {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #cfe2d8;
    border-radius: 14px;
    background: #f3f9f5;
}
body.oneview .ov-calc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.oneview .ov-calc-lead { margin: 0; font-size: .74rem; line-height: 1.45; color: #3c4842; }
body.oneview .ov-calc-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; }
body.oneview .ov-units { display: inline-flex; flex: none; overflow: hidden; border: 1px solid #cdd5cf; border-radius: 9px; background: #fff; }
body.oneview .ov-units label { position: relative; margin: 0; cursor: pointer; }
body.oneview .ov-units input { position: absolute; opacity: 0; pointer-events: none; }
body.oneview .ov-units span { display: block; padding: 8px 10px; font-size: .8rem; font-weight: 700; line-height: 1.2; }
body.oneview .ov-units label + label span { border-left: 1px solid #e3e6e1; }
body.oneview .ov-units input:checked + span { background: var(--ov-accent); color: #fff; }
body.oneview .ov-units input:focus-visible + span { outline: 3px solid #9cc9b5; outline-offset: -3px; }
body.oneview .ov-field { display: flex; flex-direction: column; gap: 2px; flex: 1 1 80px; min-width: 76px; margin: 0; font-size: .72rem; font-weight: 700; color: #3c4842; }
body.oneview .ov-field b { font-weight: 700; }
body.oneview .ov-field input { width: 100%; height: 38px; margin: 0; padding: 0 10px; border: 1px solid #cdd5cf; border-radius: 9px; background: #fff; font: inherit; font-size: 1rem; font-weight: 700; }
body.oneview .ov-field input:focus { outline: 3px solid #9cc9b5; outline-offset: 0; border-color: var(--ov-accent); }
body.oneview .ov-x { padding-bottom: 9px; font-weight: 700; color: var(--ov-muted); }
body.oneview .ov-clear { height: 38px; padding: 0 6px; border: 0; background: none; color: var(--ov-accent); font: inherit; font-size: .8rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
body.oneview .ov-calc-error { margin: 0; font-size: .78rem; font-weight: 700; color: #a3271f; }
body.oneview .ov-calc-result { display: flex; flex-direction: column; gap: 6px; }
body.oneview .ov-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; }
body.oneview .ov-results > div { min-width: 0; padding: 4px 9px; border: 1px solid #dce7e0; border-radius: 9px; background: #fff; }
body.oneview .ov-results dt { font-size: .66rem; font-weight: 800; letter-spacing: .02em; color: var(--ov-muted); }
body.oneview .ov-results dd { margin: 1px 0 0; font-size: .84rem; font-weight: 700; line-height: 1.35; }
body.oneview .ov-results .is-key dd { font-size: 1rem; color: var(--ov-accent); }
body.oneview .ov-results .is-total { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
body.oneview .ov-results .is-total dd { font-size: 1.1rem; color: var(--ov-accent); text-align: right; }
body.oneview .ov-results .is-total small { font-size: .76rem; font-weight: 700; color: #3c4842; }
body.oneview .ov-results .ov-res-sub { display: block; font-weight: 500; color: var(--ov-muted); }
body.oneview .ov-calc-note { margin: 0; font-size: .72rem; line-height: 1.45; color: #3c4842; }

body.oneview .ov-layout-overridden { margin: 0; font-size: .74rem; line-height: 1.4; color: #8a5a14; }
body.oneview #ovLayoutBlock { margin: 0; padding: 0; border: 0; background: none; }
body.oneview .ov-layout-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 0; overflow: visible; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.oneview .ov-layout-card .layout-display-frame { display: block; margin: 0; padding: 0; border: 0; background: none; min-height: 0; }
body.oneview .ov-layout-card .layout-display-frame img { width: 112px; height: 84px !important; margin: 0; object-fit: contain; border: 1px solid #e3e6e1; border-radius: 8px; background: #fff; cursor: zoom-in; }
body.oneview .ov-layout-card .layout-display-frame p { margin: 4px 0 0; padding: 0; min-height: 0; font-weight: 600; font-size: .66rem; line-height: 1.35; color: var(--ov-muted); }
body.oneview .ov-layout-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; margin: 0; padding: 0; border: 0; }
body.oneview .ov-layout-list button { min-height: 36px; padding: 6px 4px; border-radius: 9px; font-size: .78rem; border-right: 1px solid #cdd5cf; }
body.oneview .ov-size-pane .ov-layout-card .layout-display-frame img { display: none; }
body.oneview .ov-size-pane .ov-layout-card { grid-template-columns: 1fr; gap: 4px; }
body.oneview .ov-size-pane .ov-layout-card .layout-display-frame { order: 2; }
body.oneview .ov-size-pane .ov-layout-list { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
body.oneview .ov-size-pane .ov-layout-list button { min-height: 32px; padding: 4px 2px; font-size: .7rem; }
body.oneview #ovLayoutBlock.is-overridden .ov-layout-list button.is-active { background: #fff; color: var(--ov-ink); border: 1px dashed var(--ov-accent); }

/* パネルの下（戻る・次へ） */
body.oneview .ov-panel-foot { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-top: 1px solid #eef0ec; background: #fff; }
body.oneview .ov-prev,
body.oneview .ov-next { height: 40px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
body.oneview .ov-prev { border: 1px solid #cdd5cf; background: #fff; color: var(--ov-ink); }
body.oneview .ov-next { margin-left: auto; border: 0; background: var(--ov-ink); color: #fff; }
body.oneview .ov-next.is-quote { background: var(--ov-accent); }

/* ---------- 下：概算と見積もり ---------- */
body.oneview .ov-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 8px 16px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--ov-line);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .04);
}
body.oneview .ov-bar-item { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; }
body.oneview .ov-bar-item img { flex: none; width: 44px; height: 44px; object-fit: cover; border-radius: 7px; background: #eee; }
body.oneview .ov-bar-text { min-width: 0; line-height: 1.3; }
body.oneview .ov-bar-text strong,
body.oneview .ov-bar-text span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.oneview .ov-bar-text strong { font-size: .92rem; }
body.oneview .ov-bar-text span { font-size: .76rem; color: #3c4842; }
body.oneview .ov-bar-total { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
body.oneview .ov-bar-total strong { font-size: 1.3rem; font-weight: 800; color: var(--ov-accent); }
body.oneview .ov-bar-total small { font-size: .74rem; font-weight: 700; color: #3c4842; }
body.oneview .ov-bar-currency { flex: none; }
body.oneview .ov-bar-currency .ps-currency { display: flex; align-items: center; gap: 3px; margin: 0; }
body.oneview .ov-bar-currency .ps-currency span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.oneview .ov-bar-currency .ps-currency button { min-width: 44px; height: 30px; padding: 0 8px; border: 1px solid #cdd5cf; border-radius: 999px; background: #fff; color: var(--ov-ink); font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; }
body.oneview .ov-bar-currency .ps-currency button.is-active { background: var(--ov-accent); border-color: var(--ov-accent); color: #fff; }
body.oneview .ov-bar-actions { flex: none; display: flex; align-items: center; gap: 8px; }
body.oneview .ov-share-button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 1px solid #cdd5cf; border-radius: 999px; background: #fff; color: var(--ov-ink); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-bar .contact-cta.ov-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 44px;
    min-height: 0;
    margin: 0;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--ov-accent);
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
}
body.oneview .ov-bar .contact-cta.ov-quote:hover { background: #0b4636; }

/* ---------- ⓘ とポップオーバー ---------- */
body.oneview .ov-info {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--ov-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--ov-accent);
    font: italic 700 .84rem/1 Georgia, "Times New Roman", serif;
    cursor: pointer;
}
body.oneview .ov-info:hover,
body.oneview .ov-info:focus-visible { background: var(--ov-accent); color: #fff; }
body.oneview .ov-item-card .ov-info { align-self: flex-start; }

body.oneview .ov-pop {
    width: min(460px, calc(100vw - 32px));
    max-height: min(82dvh, 680px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--ov-ink);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}
body.oneview .ov-pop::backdrop { background: rgba(20, 26, 23, .28); }
body.oneview .ov-pop-wide { width: min(900px, calc(100vw - 32px)); }
body.oneview .ov-pop-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #eef0ec; }
body.oneview .ov-pop-head strong { font-size: .95rem; }
body.oneview .ov-pop-close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f2ee; font-size: 1.15rem; line-height: 1; cursor: pointer; }
body.oneview .ov-pop-body { padding: 14px 16px 18px; font-size: .86rem; line-height: 1.6; }
body.oneview .ov-pop-body p { margin: 0 0 8px; }
body.oneview .ov-pop-body.size-note { margin: 0; border: 0; background: none; }
body.oneview .ov-pop-price #selectedPrice { margin: 0; padding: 0; border: 0; box-shadow: none; }
body.oneview .ov-pop-price .selected-summary-quote { display: flex; position: static; width: 100%; margin-top: 12px; }
body.oneview .ov-share { display: flex; flex-direction: column; gap: 10px; }
body.oneview .ov-share > button,
body.oneview .ov-share .selection-save-button { min-height: 42px; width: 100%; }
body.oneview .ov-share .social-share-buttons { display: flex; gap: 6px; }
body.oneview .ov-share .social-share-buttons button { flex: 1; min-height: 38px; }
body.oneview .ov-mini-note { font-size: .74rem; color: var(--ov-muted); }
body.oneview .ov-items-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
html.ov-no-popover body.oneview .ov-pop { display: none; position: fixed; inset: 0; z-index: 20000; height: fit-content; }
html.ov-no-popover body.oneview .ov-pop.is-open { display: block; }

/* サイト情報（フッター） */
body.oneview .ov-site-dialog { width: min(1100px, 96vw); max-height: 90dvh; padding: 0; border: 0; border-radius: 16px; overflow: auto; }
body.oneview .ov-site-dialog::backdrop { background: rgba(20, 26, 23, .4); }
body.oneview .ov-site-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 12px 16px; background: #fff; border-bottom: 1px solid #eef0ec; }
body.oneview .ov-site-dialog-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f2ee; font-size: 1.2rem; cursor: pointer; }

/* 画像の拡大表示はヘッダーより前に */
body.oneview .image-lightbox { z-index: 30000; }

/* =========================================================================
   楽しむオプション（✦ More to try）
   ========================================================================= */
body.oneview .ov-explore-button {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f5b46, #3f8a5f);
    color: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 91, 70, .25);
}
body.oneview .ov-explore-button:hover { filter: brightness(1.08); }
body.oneview .ov-explore-lead { margin: 0 0 12px; color: var(--ov-muted); font-size: .84rem; }
body.oneview .ov-explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
body.oneview .ov-x-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--ov-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ov-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.oneview .ov-x-card:hover { transform: translateY(-2px); border-color: var(--ov-accent); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
body.oneview .ov-x-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ov-accent-soft); color: var(--ov-accent); }
body.oneview .ov-x-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.oneview .ov-x-card strong { font-size: .92rem; line-height: 1.3; }
body.oneview .ov-x-card small { font-size: .76rem; line-height: 1.45; color: var(--ov-muted); }

/* ボタン（体験の中で共通） */
body.oneview .ov-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
body.oneview .ov-btn-primary { border: 0; background: var(--ov-accent); color: #fff; }
body.oneview .ov-btn-primary:hover { background: #0b4636; color: #fff; }
body.oneview .ov-btn-ghost { border: 1px solid #cdd5cf; background: #fff; color: var(--ov-ink); }
body.oneview .ov-btn-ghost:hover { border-color: var(--ov-accent); }

/* 体験の画面（左のプレビューの中） */
body.oneview .ov-visual[data-view="mode"] .room-reference,
body.oneview .ov-visual[data-view="mode"] .ov-plan { display: none !important; }
body.oneview .ov-mode { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; background: #1d2420; color: #fff; }
body.oneview .ov-mode[data-mode="aging"] { background: #f7f5ef; color: var(--ov-ink); }
body.oneview .ov-mode-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
body.oneview .ov-mode-head strong { font-size: .92rem; }
body.oneview .ov-mode-back { flex: none; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .1); color: inherit; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-mode[data-mode="aging"] .ov-mode-back { border-color: #cdd5cf; background: #fff; }
body.oneview .ov-mode-main { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
body.oneview .ov-mode-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px 12px; }
body.oneview .ov-mode-foot[hidden] { display: none !important; }

/* 自分の部屋 */
body.oneview .ov-mr-start { max-width: 460px; padding: 20px; text-align: center; }
body.oneview .ov-mr-start p { margin: 0 0 12px; font-size: .88rem; line-height: 1.6; }
body.oneview .ov-mr-illus { position: relative; width: 150px; height: 96px; margin: 0 auto 16px; border-radius: 12px; background: linear-gradient(#5d6b63 0 46%, #a58a62 46%); overflow: hidden; }
body.oneview .ov-mr-illus span { position: absolute; left: 22%; right: 22%; bottom: 10%; height: 34%; background: #b9b98a; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); box-shadow: inset 0 0 0 2px #2b2b2b; }
body.oneview .ov-mr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 14px; }
body.oneview .ov-mr-privacy { font-size: .74rem !important; color: rgba(255, 255, 255, .7); }
body.oneview .ov-mr-error { color: #ffb4a8; font-weight: 700; }
body.oneview .ov-mr-stage { position: absolute; inset: 0; touch-action: none; }
body.oneview .ov-mr-canvas { display: block; }
body.oneview .ov-mr-dot {
    position: absolute;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #23a26b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
    cursor: grab;
    touch-action: none;
}
body.oneview .ov-mr-dot::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
body.oneview .ov-mr-dot.is-dragging { cursor: grabbing; transform: scale(1.15); }
body.oneview .ov-mr-dot:focus-visible { outline: 3px solid #ffd36b; outline-offset: 2px; }
body.oneview .ov-mr-hint { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); font-size: .76rem; white-space: nowrap; pointer-events: none; }
body.oneview .ov-mr-range { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; }
body.oneview .ov-mr-range input { width: 110px; accent-color: #23a26b; }
body.oneview .ov-mode .ov-btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
body.oneview .ov-mode[data-mode="aging"] .ov-btn-ghost { background: #fff; color: var(--ov-ink); border-color: #cdd5cf; }
body.oneview .ov-mode .ov-btn-primary { background: #23a26b; }
body.oneview .ov-mr-hold { user-select: none; -webkit-user-select: none; touch-action: none; }

/* ビフォー・アフター */
body.oneview .ov-ba { position: absolute; inset: 0 12px 12px; display: flex; align-items: center; justify-content: center; }
body.oneview .ov-ba-frame { position: relative; overflow: hidden; border-radius: 10px; max-width: 100%; max-height: 100%; }
body.oneview .ov-ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
body.oneview .ov-ba-after { position: absolute; inset: 0; }
body.oneview .ov-ba-line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .4); pointer-events: none; }
body.oneview .ov-ba-line span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: var(--ov-accent); font-weight: 800; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
body.oneview .ov-ba-label { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .76rem; font-weight: 700; pointer-events: none; }
body.oneview .ov-ba-label.is-before { left: 12px; }
body.oneview .ov-ba-label.is-after { right: 12px; }
body.oneview .ov-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
body.oneview .ov-ba-range:focus-visible + * { outline: none; }

/* 経年変化 */
body.oneview .ov-ag { display: grid; grid-template-columns: auto auto minmax(180px, 300px); align-items: center; gap: 20px; padding: 8px 16px; max-height: 100%; }
body.oneview .ov-ag-tile { margin: 0; text-align: center; }
body.oneview .ov-ag-tile figcaption { margin-top: 8px; font-size: .86rem; font-weight: 800; }
body.oneview .ov-ag-mat { position: relative; width: clamp(110px, 15vw, 190px); aspect-ratio: 1 / 2; max-height: 52vh; overflow: hidden; border-radius: 4px; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); background: #c9c38f; transition: filter .35s ease; }
body.oneview .ov-ag-mat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.oneview .ov-ag-heri { position: absolute; top: 0; bottom: 0; width: 8%; background: #2b2b2b center / auto 100% repeat-y; }
body.oneview .ov-ag-heri.is-left { left: 0; }
body.oneview .ov-ag-heri.is-right { right: 0; }
body.oneview .ov-ag-text p { margin: 0 0 10px; font-size: .84rem; line-height: 1.6; color: var(--ov-muted); }
body.oneview .ov-ag-text p.is-strong { color: var(--ov-ink); font-weight: 700; }
body.oneview .ov-ag-text .ov-ag-note { font-size: .72rem; }
body.oneview .ov-ag-range { display: flex; align-items: center; gap: 12px; width: min(520px, 100%); font-size: .8rem; font-weight: 700; }
body.oneview .ov-ag-range input { flex: 1; accent-color: #b07b2a; }
body.oneview .ov-ag-range output { min-width: 110px; text-align: right; font-weight: 800; color: #8a5a14; }

/* 30秒診断 */
body.oneview .ov-q-step { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ov-accent); }
body.oneview .ov-q-progress { height: 6px; margin-bottom: 14px; border-radius: 999px; background: #eef0ec; overflow: hidden; }
body.oneview .ov-q-progress span { display: block; height: 100%; background: var(--ov-accent); transition: width .25s ease; }
body.oneview .ov-q-title { margin: 0 0 12px; font-size: 1.1rem; }
body.oneview .ov-q-options { display: grid; gap: 8px; margin-bottom: 12px; }
body.oneview .ov-q-option { min-height: 50px; padding: 10px 14px; border: 1px solid #cdd5cf; border-radius: 12px; background: #fff; font: inherit; font-size: .92rem; font-weight: 700; text-align: left; cursor: pointer; }
body.oneview .ov-q-option:hover { border-color: var(--ov-accent); background: #f3f9f5; }
body.oneview .ov-q-result { margin: 0 0 10px; padding: 12px 14px; list-style: none; border-radius: 12px; background: #f3f9f5; }
body.oneview .ov-q-result li + li { margin-top: 4px; }
body.oneview .ov-q-why { margin: 0 0 14px; padding-left: 18px; font-size: .84rem; }
body.oneview .ov-q-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* お気に入り */
body.oneview .ov-save-button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 1px solid #cdd5cf; border-radius: 999px; background: #fff; color: var(--ov-ink); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-save-button:hover { border-color: #c0395b; color: #c0395b; }
body.oneview .ov-save-button.is-pulse svg { animation: ov-pulse .6s ease; color: #c0395b; }
body.oneview .ov-save-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #c0395b; color: #fff; font-size: .66rem; line-height: 18px; text-align: center; }
@keyframes ov-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
body.oneview .ov-saved-status { min-height: 1.2em; margin: 0 0 8px; font-size: .82rem; font-weight: 700; color: var(--ov-accent); }
body.oneview .ov-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
body.oneview .ov-saved-empty { margin: 0; color: var(--ov-muted); }
body.oneview .ov-saved-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--ov-line); border-radius: 14px; background: #fff; }
body.oneview .ov-saved-card.is-current { border-color: var(--ov-accent); box-shadow: inset 0 0 0 1px var(--ov-accent); }
body.oneview .ov-saved-now { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--ov-accent); color: #fff; font-size: .66rem; font-weight: 800; }
body.oneview .ov-saved-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
body.oneview .ov-saved-card h3 { margin: 0; font-size: .95rem; }
body.oneview .ov-saved-card dl { margin: 0; display: grid; gap: 4px; }
body.oneview .ov-saved-card dl div { display: grid; grid-template-columns: 72px 1fr; gap: 6px; font-size: .76rem; line-height: 1.4; }
body.oneview .ov-saved-card dt { color: var(--ov-muted); font-weight: 700; }
body.oneview .ov-saved-card dd { margin: 0; }
body.oneview .ov-saved-card .is-total dd { font-size: .95rem; font-weight: 800; color: var(--ov-accent); }
body.oneview .ov-saved-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
body.oneview .ov-saved-actions .ov-btn { min-height: 34px; padding: 0 12px; font-size: .76rem; }

/* 縁あり・縁なしの選択（絵つき） */
body.oneview .ov-edge-choices button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; }
body.oneview .ov-edge-icon { width: 54px; height: 54px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
body.oneview .ov-edge-choices button.is-active .ov-edge-icon { box-shadow: 0 0 0 3px #fff; }

/* ダウンロード */
body.oneview .ov-download-button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 1px solid #cdd5cf; border-radius: 999px; background: #fff; color: var(--ov-ink); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-download-button:hover { border-color: var(--ov-accent); color: var(--ov-accent); }
body.oneview .ov-download-button.is-busy { opacity: .6; cursor: progress; }

/* 畳の大きさ（標準 90 × 180 cm / 大判 100 × 200 cm） */
body.oneview .ov-base { display: flex; flex-direction: column; gap: 3px; padding: 6px 8px; border-radius: 10px; background: #fff; border: 1px solid #dce7e0; }
body.oneview .ov-large-note { margin: 0; font-size: .76rem; font-weight: 700; color: var(--ov-accent); }
body.oneview .ov-kyoto-base-note { margin: 2px 0 0; font-size: .72rem; line-height: 1.4; color: #8a5a14; }
body.oneview .ov-base-q { margin: 0; font-size: .8rem; font-weight: 800; color: var(--ov-ink); }
body.oneview .ov-base-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
body.oneview .ov-base-options label { position: relative; margin: 0; cursor: pointer; }
body.oneview .ov-base-options input { position: absolute; opacity: 0; pointer-events: none; }
body.oneview .ov-base-options span { display: block; padding: 5px 8px; border: 1px solid #cdd5cf; border-radius: 9px; background: #fff; font-size: .76rem; font-weight: 700; text-align: center; line-height: 1.3; }
body.oneview .ov-base-options input:checked + span { background: var(--ov-accent); border-color: var(--ov-accent); color: #fff; }
body.oneview .ov-base-options input:focus-visible + span { outline: 3px solid #9cc9b5; outline-offset: 1px; }

/* 「ミリ単位で調整できます」「このレイアウトはラフスケッチです」 */
body.oneview .ov-precise-note { padding: 6px 10px; border-left: 4px solid #b08a50; border-radius: 0 8px 8px 0; background: #fff8e6; }
body.oneview .ov-precise-note p { margin: 0; font-size: .74rem; font-weight: 700; line-height: 1.45; color: #4a3b1a; }
body.oneview .ov-precise-note p + p { margin-top: 2px; font-weight: 600; }
body.oneview .ov-plan-caption small { display: block; margin-top: 2px; font-size: .74rem; color: #8a5a14; }

/* ---------- 高さが低い画面（ノートPCなど） ---------- */
@media (max-height: 800px) and (min-width: 861px) {
    body.oneview .global-header .header-inner { height: 52px; }
    body.oneview .ov-tab { height: 36px; }
    body.oneview .ov-stage { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
    body.oneview .ov-spec-item { padding: 4px 8px 4px 4px; }
    body.oneview .ov-spec-item > img,
    body.oneview .ov-spec-swatch,
    body.oneview .ov-spec .top-selected-image-combo { width: 38px; height: 38px; }
    body.oneview .ov-panel-head { padding-top: 8px; }
    body.oneview .ov-pane { gap: 11px; }
    body.oneview .ov-big-choices button { min-height: 52px; }
    body.oneview .core-option-wrap .core-choice-image { height: 38px; }
    body.oneview #heri-grid .heri-thumb img { height: 24px; }
    body.oneview .ov-bar { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
    body.oneview .ov-bar-item img { width: 38px; height: 38px; }
    body.oneview .ov-panel-foot { padding-top: 7px; padding-bottom: 7px; }
    body.oneview .ov-prev, body.oneview .ov-next { height: 36px; }
}
@media (max-height: 760px) and (min-width: 861px) {
    body.oneview .ov-mat-photo { height: 50px; }
    body.oneview .ov-mat-card em { display: none; }
}
@media (max-height: 680px) and (min-width: 861px) {
    body.oneview .ov-stage-toolbar .ov-title { display: none; }
    body.oneview .ov-stage-toolbar { justify-content: flex-end; }
    body.oneview .ov-spec-text small:not(.ov-spec-room) { display: none; }
}

/* ---------- 中くらいの幅 ---------- */
@media (max-width: 1180px) and (min-width: 861px) {
    body.oneview .ov-tab { padding: 0 10px 0 6px; font-size: .82rem; }
    body.oneview .header-shop-name { display: none; }
    body.oneview .ov-tabs-hint { height: 30px; padding: 0 8px 0 10px; font-size: .76rem; }
    body.oneview .ov-tabs-wrap { gap: 6px; }
    body.oneview .ov-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.oneview .ov-spec-border, body.oneview .ov-spec-core { display: none; }
    body.oneview .ov-bar-currency { display: none; }
    body.oneview .ov-save-button { width: 44px; padding: 0; justify-content: center; }
    body.oneview .ov-save-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.oneview .ov-download-button { width: 44px; padding: 0; justify-content: center; }
    body.oneview .ov-download-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.oneview .ov-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body.oneview .ov-ag { grid-template-columns: auto auto; gap: 14px; }
    body.oneview .ov-ag-text { grid-column: 1 / -1; }
}

/* ---------- スマホ・縦長の画面 ---------- */
@media (max-width: 860px) {
    body.oneview .global-header { padding: 0 10px; }
    body.oneview .global-header .header-inner { height: auto; flex-wrap: wrap; gap: 6px 8px; padding: 6px 0; }
    body.oneview .header-logo img { height: 28px; }
    body.oneview .header-shop-name { font-size: .7rem; }
    body.oneview .global-header .mobile-menu-toggle { height: 34px; padding: 0 10px !important; }
    body.oneview .ov-tabs-wrap { order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 6px; }
    body.oneview .ov-tabs { flex: 1 1 auto; justify-content: space-between; gap: 2px; }
    body.oneview .ov-tabs-hint { height: 28px; padding: 0 6px 0 9px; gap: 2px; font-size: .68rem; }
    body.oneview .ov-tabs-hint-arrow { width: 16px; height: 16px; }
    body.oneview .ov-tab { height: 34px; padding: 0 8px 0 4px; font-size: .78rem; gap: 5px; }
    body.oneview .ov-tab:not(.is-active) .ov-tab-label { display: none; }
    body.oneview .ov-tab:not(.is-active) { padding-right: 4px; }
    body.oneview .ov-app { display: flex; flex-direction: column; }
    body.oneview .ov-stage { flex: 0 0 auto; height: 31dvh; padding: 6px 10px; gap: 6px; }
    body.oneview .ov-stage-toolbar .ov-title { display: none; }
    body.oneview .ov-stage-toolbar { position: absolute; z-index: 3; right: 16px; margin-top: 6px; }
    body.oneview .ov-stage { position: relative; }
    body.oneview .ov-view-switch button { padding: 5px 10px; font-size: .74rem; }
    body.oneview .ov-spec { display: none; }
    body.oneview .ov-materials { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; flex-direction: row; align-items: flex-end; }
    body.oneview .ov-materials-toggle { order: 2; height: 24px; padding: 0 8px; font-size: .64rem; }
    body.oneview .ov-materials-list { flex-direction: row; flex: 1 1 auto; gap: 4px; }
    body.oneview .ov-mat-card { flex: 1 1 0; min-width: 0; border-radius: 8px; }
    body.oneview .ov-mat-photo { height: 36px; }
    body.oneview .ov-mat-card figcaption button { padding: 2px 5px 4px; }
    body.oneview .ov-mat-card small { font-size: .52rem; }
    body.oneview .ov-mat-card strong { font-size: .62rem; }
    body.oneview .ov-mat-card em { display: none; }
    body.oneview .ov-path { display: none; }
    body.oneview .ov-panel { flex: 1 1 auto; border-left: 0; border-top: 1px solid var(--ov-line); }
    body.oneview .ov-panel-head { padding: 6px 14px 0; }
    body.oneview .ov-panel-body { padding: 6px 14px 12px; }
    body.oneview .ov-panel-foot { padding: 6px 14px; }
    body.oneview .ov-prev, body.oneview .ov-next { height: 36px; font-size: .8rem; }
    body.oneview .ov-bar { flex: none; gap: 8px; min-height: 58px; padding: 6px 10px; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
    body.oneview .ov-bar-text span { display: none; }
    body.oneview .ov-bar-item img { width: 36px; height: 36px; }
    body.oneview .ov-bar-total strong { font-size: 1.05rem; }
    body.oneview .ov-bar-currency { display: none; }
    body.oneview .ov-share-button { width: 42px; height: 42px; padding: 0; justify-content: center; }
    body.oneview .ov-share-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.oneview .ov-save-button { width: 42px; height: 42px; padding: 0; justify-content: center; }
    body.oneview .ov-save-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.oneview .ov-download-button { width: 42px; height: 42px; padding: 0; justify-content: center; }
    body.oneview .ov-download-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.oneview .ov-bar-actions { gap: 4px; }
    body.oneview .ov-bar .contact-cta.ov-quote { height: 40px; padding: 0 10px; font-size: .74rem; }
    body.oneview .ov-bar .ov-download-button,
    body.oneview .ov-bar .ov-save-button,
    body.oneview .ov-bar .ov-share-button { width: 36px !important; height: 36px !important; }
    body.oneview .ov-bar .ov-info { width: 24px; height: 24px; }
    body.oneview .ov-bar { gap: 6px; }
    body.oneview .ov-bar-total strong { font-size: .95rem !important; white-space: nowrap; }
    body.oneview .ov-bar-total small { white-space: nowrap; font-size: .66rem; }
    body.oneview .ov-bar-item { display: none; }
    body.oneview .ov-bar-total strong { font-size: 1rem; }
    body.oneview .ov-explore-button { height: 30px; padding: 0 10px; font-size: .72rem; }
    body.oneview .ov-stage-toolbar { left: 16px; justify-content: flex-end; flex-wrap: wrap; }
    /* 体験の画面では、プレビューを大きく */
    body.oneview[data-ov-mode] .ov-stage { height: 64dvh; }
    body.oneview[data-ov-mode] .ov-stage-toolbar { display: none; }
    body.oneview .ov-mode-head { padding: 8px; }
    body.oneview .ov-mode-head strong { font-size: .8rem; }
    body.oneview .ov-mode-foot { gap: 6px; padding: 6px 8px 8px; }
    body.oneview .ov-mode-foot .ov-btn { min-height: 32px; padding: 0 10px; font-size: .72rem; }
    body.oneview .ov-mr-range { font-size: .7rem; }
    body.oneview .ov-mr-range input { width: 80px; }
    body.oneview .ov-mr-hint { white-space: normal; width: 90%; text-align: center; font-size: .7rem; }
    body.oneview .ov-ag { grid-template-columns: auto auto; gap: 10px; padding: 4px 8px; }
    body.oneview .ov-ag-text { grid-column: 1 / -1; }
    body.oneview .ov-ag-text p { font-size: .74rem; margin-bottom: 4px; }
    body.oneview .ov-ag-mat { width: 74px; }
    body.oneview .ov-bar-item { flex: 0 0 auto; }
    body.oneview .ov-bar-text { display: none; }
    body.oneview .ov-bar-total { flex: 1 1 auto; min-width: 0; align-items: flex-start; }
    body.oneview .ov-bar-total .ov-mini-label { display: none; }
    body.oneview .ov-plan { padding-top: 44px; }
    body.oneview .ov-no-photo { top: 44px; }
    body.oneview .ov-bar .contact-cta.ov-quote { height: 42px; padding: 0 14px; font-size: .82rem; }
    body.oneview .ov-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body.oneview .ov-layout-card { grid-template-columns: 1fr; }
    body.oneview .ov-layout-card .layout-display-frame { display: none; }
    body.oneview .ov-heri-search { grid-template-columns: minmax(0, 1fr) auto auto; }
    body.oneview .ov-heri-search label { display: none; }
    body.oneview .ov-results { grid-template-columns: 1fr 1fr; }
    body.oneview .ov-material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 日本国内版（/TATAMI-VISUALIZER/）2026-11-21 ---------- */
body.ov-jp-domestic .ov-core-none { display: none; }
body.ov-jp-domestic.ov-jp-recover .ov-core-none { display: block; }
body.ov-jp-domestic .ov-service-choices button { min-height: 150px; padding: 12px 14px; }
body.ov-jp-domestic .ov-service-choices button span { font-size: 1.05rem; font-weight: 800; }
body.ov-jp-domestic .ov-service-choices small { font-size: .78rem; font-weight: 600; line-height: 1.45; opacity: .9; }
body.ov-jp-domestic .ov-recover-core-note { display: grid; gap: 10px; justify-items: start; margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--ov-line); border-radius: 12px; background: #f6f8f4; font-size: .9rem; }
body.ov-jp-domestic .ov-recover-core-note p { margin: 0; }
body.ov-jp-domestic.ov-jp-recover .ov-core-block,
body.ov-jp-domestic.ov-jp-recover .ov-core-detail { display: none; }
/* サイズは出さない（イメージ図の寸法・説明も隠す） */
body.ov-jp-domestic .ov-plan-caption,
body.ov-jp-domestic .ov-plan-svg line,
body.ov-jp-domestic .ov-plan-svg text { display: none; }
body.ov-jp-domestic .ov-pop-price #selectedPrice { white-space: pre-line; line-height: 1.7; }
body.ov-jp-domestic .ov-bar-total small { font-size: .72rem; }
body.oneview .global-header .header-nav.is-open .ov-jp-nav-contact { color: #b3322e !important; }
body.oneview .global-header .header-nav.is-open .ov-jp-nav-tel { grid-column: 1 / -1; display: inline-flex !important; gap: 8px; align-items: baseline; justify-self: start; padding: 8px 16px !important; border-radius: 999px !important; background: #123524 !important; color: #fff !important; }
body.oneview .global-header .header-nav.is-open .ov-jp-nav-tel small { font-weight: 500; font-size: .75rem; }
@media (max-width: 860px) {
    body.ov-jp-domestic .ov-service-choices button { min-height: 120px; }
}
body.ov-jp-domestic .global-header .header-nav.is-open a { color: var(--ov-ink) !important; text-decoration: none; }
body.ov-jp-domestic .global-header .header-nav.is-open a:hover { text-decoration: underline; }
body.ov-jp-domestic .global-header .header-nav.is-open .dropdown-menu { list-style: none; padding-left: 0 !important; }
body.ov-jp-domestic .global-header .header-nav.is-open .ov-jp-nav-quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 8px; border-bottom: 1px solid #eef0ec; }
body.ov-jp-domestic .global-header .header-nav.is-open .ov-jp-nav-quick a { font-weight: 800; font-size: .92rem; padding: 4px 0; }
body.ov-jp-domestic .global-header .header-nav.is-open .ov-jp-nav-contact { color: #b3322e !important; }

/* ソフトシート（不織布）の説明（2026-11-21） */
body.oneview .ov-soft-sheet { display: grid; gap: 6px; margin-top: 12px; padding: 12px 14px; border: 1px dashed #cfd6cc; border-radius: 12px; background: #fff; }
body.oneview .ov-soft-sheet[hidden] { display: none; }
body.oneview .ov-soft-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.oneview .ov-soft-head strong { font-size: .92rem; }
body.oneview .ov-soft-more { flex: none; padding: 5px 12px; border: 1px solid var(--ov-accent); border-radius: 999px; background: #fff; color: var(--ov-accent); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
body.oneview .ov-soft-more:hover { background: var(--ov-accent-soft); }
body.oneview .ov-soft-status { margin: 0; color: var(--ov-accent); font-size: .84rem; font-weight: 800; }
body.oneview .ov-soft-status.is-none { color: #8a5a14; }
body.oneview .ov-soft-lead { margin: 0; color: #3c4842; font-size: .8rem; line-height: 1.55; }
body.oneview #ovPopSoft .ov-soft-figure { display: block; width: 100%; height: auto; margin: 0 0 10px; border-radius: 10px; cursor: zoom-in; }

/* 日本国内版：新畳のご注意（処分代金・採寸費用）。表替えのときは出さない */
body.ov-jp-domestic.ov-jp-recover .ov-jp-new-only { display: none !important; }
body.ov-jp-domestic .ov-jp-new-note { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #ecd9b0; border-left: 4px solid #c98a1a; border-radius: 10px; background: #fffaf0; font-size: .84rem; line-height: 1.6; }
body.ov-jp-domestic .ov-jp-new-note strong { display: block; margin-bottom: 4px; color: #8a5a14; font-size: .86rem; }
body.ov-jp-domestic .ov-jp-new-note ul { margin: 0; padding-left: 1.2em; }
body.ov-jp-domestic .ov-jp-new-note li + li { margin-top: 2px; }
body.ov-jp-domestic .ov-jp-new-note b { color: #17211d; }
body.ov-jp-domestic #ov-panel-core .ov-jp-new-note { margin-top: 12px; }

/* 選んだすぐ下に大きな「次へ」ボタン（全言語）。下の小さな「次へ」は隠す */
body.oneview .ov-inline-next {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 56px; margin: 14px 0 0; padding: 0 20px;
    border: 0; border-radius: 14px; background: var(--ov-accent); color: #fff;
    font: inherit; font-size: 1.08rem; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(15, 91, 70, .25); cursor: pointer;
}
body.oneview .ov-inline-next:hover { background: #0b4636; }
body.oneview .ov-inline-next:focus-visible { outline: 3px solid #9cc9b5; outline-offset: 2px; }
body.oneview .ov-inline-next svg { flex: none; animation: ovNudge 1.6s ease-in-out infinite; }
@keyframes ovNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { body.oneview .ov-inline-next svg { flex: none; animation: none; } }
body.oneview.ov-inline-next-step .ov-panel-foot .ov-next { visibility: hidden; }
/* 長い一覧でも見えるよう、パネルの下に貼り付ける */
body.oneview .ov-inline-next-sticky { position: sticky; bottom: 0; z-index: 3; margin-top: 16px; box-shadow: 0 -10px 18px 6px #fff, 0 6px 16px rgba(15, 91, 70, .25); }
