/* =========================================================
   CampS ホーム画面追加ガイド - Stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    --camps: #DF6310;
    --camps-dark: #B84F0B;
    --camps-light: #FFF3E8;
    --camps-tint: #FDF1E7;

    --ink: #1F2328;
    --ink-2: #4A5158;
    --ink-3: #7A828A;
    --line: #E7E2DC;

    --bg: #FFFBF7;
    --white: #FFFFFF;
    --ok: #1F9254;
    --warn-bg: #FFF8EC;
    --warn-line: #F0A93B;

    --radius: 16px;
    --radius-sm: 10px;

    --shadow-sm: 0 1px 2px rgba(31, 35, 40, .06), 0 4px 12px rgba(31, 35, 40, .05);
    --shadow-md: 0 10px 30px rgba(31, 35, 40, .10);

    --font: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --transition: all .25s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--camps-dark); }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow { max-width: 760px; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 251, 247, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(223, 99, 16, .28);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 15px; font-weight: 700; }
.brand-sub { font-size: 11px; color: var(--ink-3); font-weight: 500; }

.header-nav { display: flex; gap: 6px; flex-wrap: wrap; }

.header-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.header-nav a:hover {
    color: var(--camps-dark);
    background-color: var(--camps-tint);
    border-color: #F3D9C4;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: linear-gradient(160deg, #DF6310 0%, #C75408 55%, #A94505 100%);
    color: #fff;
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    right: -160px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(26px, 4.2vw, 40px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    margin-bottom: 16px;
}

.hero h1 .accent { color: #FFE1C2; }

.hero p.lead {
    font-size: clamp(14px, 1.6vw, 16px);
    color: rgba(255, 255, 255, .93);
    max-width: 620px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .26);
}

.hero-badge svg { width: 16px; height: 16px; flex: none; }

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-art img {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    border: 3px solid rgba(255, 255, 255, .5);
}

/* =========================================================
   URL bar
   ========================================================= */
.url-bar {
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.url-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.url-card .label {
    font-size: 12px;
    font-weight: 700;
    color: var(--camps-dark);
    background: var(--camps-tint);
    padding: 5px 11px;
    border-radius: 999px;
    flex: none;
}

.url-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    flex: 1 1 220px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.copy-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--camps);
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover { background: var(--camps-dark); }
.copy-btn.is-done { background: var(--ok); }
.copy-btn svg { width: 15px; height: 15px; }

/* =========================================================
   Section basics
   ========================================================= */
.section { padding: 56px 0 8px; }

.section-head { margin-bottom: 28px; }

.section-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--camps);
    margin-bottom: 8px;
}

.section-head h2 {
    font-size: clamp(21px, 2.8vw, 28px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.01em;
}

.section-head p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ink-2);
}

/* =========================================================
   OS picker cards
   ========================================================= */
.picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.picker-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.picker-card:hover {
    transform: translateY(-3px);
    border-color: #EBCBAF;
    box-shadow: 0 12px 28px rgba(223, 99, 16, .14);
}

.picker-card .pc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--camps-tint);
    color: var(--camps-dark);
    margin-bottom: 14px;
}

.picker-card .pc-icon svg { width: 24px; height: 24px; }

.picker-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.5;
}

.picker-card p {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.7;
}

.picker-card .pc-go {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--camps);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Recommended ribbon */
.picker-card .pc-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: var(--camps);
    border-radius: 999px;
    padding: 3px 9px;
}

/* =========================================================
   Auto-detect banner
   ========================================================= */
.detect {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: #EAF7EF;
    border: 1px solid #BFE5CE;
    font-size: 14px;
    color: #14532D;
}

.detect.is-visible { display: flex; }

.detect svg { width: 20px; height: 20px; flex: none; color: var(--ok); }

.detect a { font-weight: 700; color: #14532D; }

/* =========================================================
   OS guide block
   ========================================================= */
.guide {
    padding: 40px 0 8px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
    scroll-margin-top: 84px;
}

.guide:first-of-type { margin-top: 32px; }

.guide-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.guide-os-icon {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--camps-dark);
}

.guide-os-icon svg { width: 26px; height: 26px; }

.guide-head h2 {
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700;
    line-height: 1.4;
}

.guide-head .os-meta {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 4px;
}

.guide-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--camps-dark);
    background: var(--camps-tint);
    border-radius: 999px;
    padding: 4px 11px;
    margin-left: 8px;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--camps);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.85;
}

.step-desc strong { color: var(--camps-dark); }

/* inline key / button chips */
.kbd {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: #F6F4F1;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 1px 8px;
    white-space: nowrap;
}

.kbd svg { width: 13px; height: 13px; }

/* ---------- Screenshot strip ---------- */
.shots {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

.shots.center { justify-content: center; }

/* =========================================================
   Phone mockup
   ========================================================= */
.shot {
    width: 208px;
    flex: 0 0 auto;
}

.phone {
    width: 100%;
    aspect-ratio: 9 / 19;
    background: #16181C;
    border-radius: 26px;
    padding: 7px;
    box-shadow: 0 10px 26px rgba(31, 35, 40, .22);
    position: relative;
}

.phone::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #34383E;
    z-index: 3;
}

.screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 9px;
    line-height: 1.4;
    color: #1F2328;
}

/* Android phone gets a slightly different shell */
.phone.android .screen { background: #FFFFFF; }

/* ---------- Status bar ---------- */
.statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px 4px;
    font-size: 8px;
    font-weight: 700;
    color: #1F2328;
    flex: none;
}

.statusbar .sb-right {
    display: flex;
    align-items: center;
    gap: 3px;
}

.statusbar .sb-batt {
    width: 16px;
    height: 8px;
    border: 1px solid #1F2328;
    border-radius: 2px;
    position: relative;
    opacity: .85;
}

.statusbar .sb-batt::after {
    content: '';
    position: absolute;
    inset: 1px;
    right: 4px;
    background: #1F2328;
    border-radius: 1px;
}

/* ---------- Browser chrome ---------- */
.browser-top {
    flex: none;
    padding: 4px 10px 6px;
    background: #F7F7F8;
    border-bottom: 1px solid #E4E4E7;
}

.addressbar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E1E1E4;
    border-radius: 999px;
    padding: 4px 8px;
}

.addressbar .url {
    flex: 1;
    font-size: 8px;
    color: #3F4247;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addressbar .lock { width: 8px; height: 8px; flex: none; color: #6B7076; }

.icon-btn {
    width: 16px;
    height: 16px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3F4247;
}

.icon-btn svg { width: 13px; height: 13px; }

/* ---------- Web page content ---------- */
.page-body {
    flex: 1;
    min-height: 0;
    padding: 10px 11px;
    overflow: hidden;
}

.page-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.page-brand img { width: 18px; height: 18px; border-radius: 5px; }

.page-brand span { font-size: 9px; font-weight: 700; }

.ph-line {
    height: 6px;
    border-radius: 3px;
    background: #EDEDEF;
    margin-bottom: 5px;
}

.ph-line.w80 { width: 80%; }
.ph-line.w60 { width: 60%; }
.ph-line.w45 { width: 45%; }
.ph-line.tall { height: 9px; }

.ph-block {
    height: 34px;
    border-radius: 7px;
    background: linear-gradient(135deg, #FFF0E3, #FFE3CC);
    margin-bottom: 7px;
}

.ph-chiprow { display: flex; gap: 4px; margin-bottom: 7px; }

.ph-chip {
    height: 12px;
    border-radius: 999px;
    background: #F2F2F4;
    flex: 1;
}

/* ---------- iOS bottom toolbar ---------- */
.toolbar-ios {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px 8px;
    background: #F7F7F8;
    border-top: 1px solid #E4E4E7;
}

.toolbar-ios .tb {
    width: 18px;
    height: 18px;
    color: #3F4247;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-ios .tb svg { width: 15px; height: 15px; }

/* Android toolbar */
.toolbar-android {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px 7px;
    background: #F7F7F8;
    border-top: 1px solid #E4E4E7;
    color: #3F4247;
}

.toolbar-android .tb { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.toolbar-android .tb svg { width: 13px; height: 13px; }

/* ---------- Highlight ring ---------- */
.hl {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 0 2px var(--camps), 0 0 0 6px rgba(223, 99, 16, .18);
    background: rgba(223, 99, 16, .08);
    animation: hlPulse 1.8s ease-in-out infinite;
    z-index: 2;
}

@keyframes hlPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--camps), 0 0 0 6px rgba(223, 99, 16, .16); }
    50% { box-shadow: 0 0 0 2px var(--camps), 0 0 0 10px rgba(223, 99, 16, .05); }
}

@media (prefers-reduced-motion: reduce) {
    .hl { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Overlays: sheet / menu / dialog ---------- */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 22, .38);
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.overlay.bottom { justify-content: flex-end; }
.overlay.top { justify-content: flex-start; align-items: flex-end; padding: 22px 8px 0 0; }

/* iOS action sheet */
.sheet {
    background: #FFFFFF;
    border-radius: 12px 12px 0 0;
    padding: 9px 9px 12px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
}

.sheet-handle {
    width: 30px;
    height: 4px;
    border-radius: 999px;
    background: #D6D6DA;
    margin: 0 auto 8px;
}

.sheet-title {
    font-size: 8px;
    color: #6B7076;
    text-align: center;
    margin-bottom: 7px;
}

.sheet-list { display: flex; flex-direction: column; gap: 1px; }

.sheet-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 7px;
    border-radius: 7px;
    background: #F7F7F8;
    font-size: 8.5px;
    font-weight: 600;
    color: #26282C;
}

.sheet-item .si-icon {
    width: 14px;
    height: 14px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3F4247;
}

.sheet-item .si-icon svg { width: 12px; height: 12px; }

.sheet-item .si-text { flex: 1; }

.sheet-item.muted { background: #FBFBFC; color: #9AA0A6; font-weight: 500; }

/* Android popup menu */
.menu {
    width: 132px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    padding: 4px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 7px;
    border-radius: 5px;
    font-size: 8.5px;
    font-weight: 600;
    color: #26282C;
}

.menu-item .mi-icon {
    width: 13px;
    height: 13px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5F6368;
}

.menu-item .mi-icon svg { width: 11px; height: 11px; }

.menu-sep { height: 1px; background: #EDEDEF; margin: 3px 5px; }

/* Dialog */
.dialog {
    margin: auto;
    width: 82%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 12px 11px 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
    text-align: center;
}

.dialog h4 {
    font-size: 9.5px;
    font-weight: 700;
    margin-bottom: 7px;
    line-height: 1.5;
}

.dialog .field {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #E1E1E4;
    border-radius: 6px;
    padding: 5px 7px;
    margin-bottom: 9px;
    text-align: left;
}

.dialog .field img { width: 15px; height: 15px; border-radius: 4px; flex: none; }
.dialog .field span { font-size: 8.5px; font-weight: 600; }

.dialog .actions {
    display: flex;
    gap: 6px;
    border-top: 1px solid #EFEFF1;
    padding-top: 8px;
}

.dialog .actions .btn {
    flex: 1;
    font-size: 8.5px;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 6px;
}

.dialog .actions .btn.ghost { color: #3F4247; background: #F4F4F6; }
.dialog .actions .btn.primary { color: #fff; background: var(--camps); }

/* attention ring on the primary action inside a mockup */
.hl-ring {
    box-shadow: 0 0 0 2px var(--camps), 0 0 0 6px rgba(223, 99, 16, .2) !important;
    animation: hlPulse 1.8s ease-in-out infinite;
}

/* =========================================================
   Font Awesome icon sizing inside components
   (icons are rendered with <i class="fas ..."> elements)
   ========================================================= */
.hero-badge i { font-size: 16px; flex: none; }
.pc-icon i { font-size: 24px; }
.guide-os-icon i { font-size: 26px; }
.detect > i { font-size: 20px; flex: none; color: var(--ok); }
.copy-btn i { font-size: 15px; }
.kbd i { font-size: 13px; }
.note > i { font-size: 19px; flex: none; margin-top: 3px; }
.icon-btn i { font-size: 13px; }
.tb i { font-size: 15px; }
.toolbar-android .tb i { font-size: 13px; }
.si-icon i { font-size: 12px; }
.mi-icon i { font-size: 11px; }
.statusbar i { font-size: 8px; }
.gsb i { font-size: 11px; }
.faq-q .chev { font-size: 16px; }

/* Toast / snackbar */
.snackbar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #2B2F34;
    color: #fff;
    font-size: 8px;
    font-weight: 600;
    border-radius: 7px;
    padding: 7px 9px;
    z-index: 6;
}

/* ---------- Home screen mockup ---------- */
.home-screen {
    flex: 1;
    padding: 14px 11px 0;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .28), transparent 55%),
        linear-gradient(165deg, #DF6310 0%, #C75408 60%, #A94505 100%);
    display: flex;
    flex-direction: column;
}

.home-clock {
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
}

.home-clock .time {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.home-clock .date { font-size: 8px; opacity: .92; }

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px 6px;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.app-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.app-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-label {
    font-size: 6.5px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.app.new .app-icon {
    box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0, 0, 0, .3);
}

.app.new .app-label { font-weight: 700; }

/* iOS dock */
.dock {
    margin-top: auto;
    margin-bottom: 10px;
    padding: 7px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dock .app-icon { border-radius: 22%; }

/* Android search bar (Google search box) */
.gsb {
    margin-top: auto;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #FFFFFF;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 8px;
    color: #5F6368;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}

.gsb svg { width: 11px; height: 11px; }

/* generic placeholder icons */
.ic-1 { background: linear-gradient(140deg, #4A90E2, #2F6FC4); }
.ic-2 { background: linear-gradient(140deg, #34C759, #1E9E43); }
.ic-3 { background: linear-gradient(140deg, #FF9500, #E07B00); }
.ic-4 { background: linear-gradient(140deg, #AF52DE, #8B36B8); }
.ic-5 { background: linear-gradient(140deg, #FF3B30, #CC2A22); }
.ic-6 { background: linear-gradient(140deg, #5AC8FA, #2FA3D8); }
.ic-7 { background: linear-gradient(140deg, #8E8E93, #6C6C71); }
.ic-8 { background: linear-gradient(140deg, #FFD60A, #E0B400); color: #5A4A00; }

/* ---------- Caption ---------- */
.shot figcaption {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink-2);
    text-align: center;
}

.shot figcaption .cap-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--camps-dark);
    background: var(--camps-tint);
    border-radius: 999px;
    padding: 2px 8px;
    margin-bottom: 5px;
}

.shot figcaption b { color: var(--ink); }

/* =========================================================
   Notes / callouts
   ========================================================= */
.note {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 17px;
    border-radius: var(--radius-sm);
    background: var(--warn-bg);
    border: 1px solid #F5E1BE;
    border-left: 4px solid var(--warn-line);
    font-size: 13.5px;
    color: #6B4A10;
    line-height: 1.8;
}

.note.tip {
    background: #EAF7EF;
    border-color: #BFE5CE;
    border-left-color: var(--ok);
    color: #14532D;
}

.note svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }

.note strong { font-weight: 700; }

.note-title {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

/* =========================================================
   Troubleshooting accordion
   ========================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 16px 18px;
    cursor: pointer;
    line-height: 1.6;
}

.faq-q:hover { background: #FFFDFA; }

.faq-q .chev {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--camps);
    transition: transform .25s ease;
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a-inner {
    padding: 0 18px 18px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.9;
}

.faq-a-inner ul { margin: 8px 0 0 20px; }
.faq-a-inner li { margin-bottom: 5px; }

/* フッターと「ページの先頭へ」は footer.css（サポート4ページ共通） */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
    .picker { grid-template-columns: 1fr 1fr; }
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-art { justify-content: flex-start; }
    .hero-art img { width: 96px; height: 96px; border-radius: 22px; }
}

@media (max-width: 720px) {
    html { scroll-padding-top: 76px; }
    .shot { width: min(240px, 100%); }

    .site-header .container { flex-direction: column; align-items: flex-start; gap: 8px; }
    .header-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .header-nav::-webkit-scrollbar { display: none; }

    .hero { padding: 40px 0 52px; }
    .section { padding: 44px 0 8px; }

    .picker { grid-template-columns: 1fr; }

    .step { grid-template-columns: 32px 1fr; gap: 12px; padding: 16px; }
    .step-num { width: 32px; height: 32px; font-size: 14px; }

    .shots { gap: 24px; justify-content: center; }

    .guide-head { gap: 12px; }
    .guide-os-icon { width: 44px; height: 44px; border-radius: 12px; }
    .guide-os-icon svg { width: 22px; height: 22px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .shot { width: min(220px, 100%); }
    .url-value { font-size: 13px; }
    .step-desc { font-size: 13.5px; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .to-top, .copy-btn, .header-nav { display: none; }
    body { background: #fff; }
    .hero { background: #fff; color: #000; }
    .hero p.lead, .hero-badge { color: #333; }
    .guide { break-inside: avoid; }
}
/* index2.html 専用 — 現行 CampS カレンダー寄せモック */
.preview-banner {
  background: #DF6310;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}
.preview-banner a { color: #fff; text-decoration: underline; }

.page-body.camps-app {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #050505;
  color: rgba(255,255,255,.9);
}
.ca-month {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 4px;
  font-size: 10px;
  font-weight: 700;
}
.ca-chev { opacity: .55; font-size: 11px; }
.ca-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 6px;
  font-size: 6px;
  color: rgba(255,255,255,.45);
  text-align: center;
}
.ca-week span:first-child,
.ca-week span:last-child { color: #d44a0f; }
.ca-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 3px 6px 6px;
}
.ca-cell {
  aspect-ratio: 1;
  background: #131313;
  border: 1px solid #222;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.ca-cell.mute { background: #0a0a0a; color: rgba(255,255,255,.25); }
.ca-cell.we { color: #d44a0f; }
.ca-cell.sel {
  background: #d44a0f;
  border-color: #d44a0f;
  color: #fff;
}
.ca-sheet {
  flex: 1;
  min-height: 0;
  background: #131313;
  border-radius: 10px 10px 0 0;
  margin-top: auto;
  padding: 5px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ca-handle {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin: 0 auto 2px;
}
.ca-sheet-title {
  font-size: 8px;
  font-weight: 700;
}
.ca-empty {
  font-size: 7px;
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 6px 0 4px;
}
.ca-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 5px;
  background: #131313;
  border-top: 1px solid #222;
}
.ca-nav span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.ca-nav span.on { background: rgba(255,255,255,.75); }
.ca-nav .fab {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d44a0f;
}

.copy-btn { white-space: nowrap; }
.shot figcaption { text-wrap: pretty; }
.screen .statusbar i,
.screen .addressbar i,
.screen .icon-btn i { font-size: 8px; line-height: 1; }
