@import url("/static/page_title.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
    color: #222;
    background: transparent;
    line-height: 1.7;
    min-height: 100vh;
}

.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--sp-bg-height, 100lvh);
    min-height: 100%;
    background: url('/static/background_sp.webp') no-repeat top center;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

.guide-intro-panel {
    margin-bottom: 24px;
    padding: 20px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.guide-intro-panel .back-link {
    display: inline-block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
}

.guide-intro-panel .back-link:hover {
    color: #111;
}

.guide-intro-panel .content-title-heading {
    margin-bottom: 12px;
}

.guide-intro-panel .guide-lead {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}

.guide-intro-panel .guide-lead + .guide-lead {
    margin-top: 0.75em;
}

.guide-intro-panel .guide-note {
    margin-top: 16px;
    margin-bottom: 0;
}

.guide-intro-panel .guide-intro {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    color: #111;
    background: none;
    border: none;
    box-shadow: none;
}

.guide-main {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px 16px;
}

.guide-section {
    margin-bottom: 24px;
    padding: 20px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.guide-section h2 {
    font-size: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 14px;
}

.guide-section p {
    font-size: 15px;
    color: #444;
}

.guide-steps {
    list-style: none;
    counter-reset: step;
}

.guide-steps li {
    counter-increment: step;
    margin-bottom: 18px;
    padding-left: 36px;
    position: relative;
}

.guide-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-steps strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.guide-steps p {
    font-size: 14px;
}

.guide-note {
    padding: 12px 14px;
    background: rgba(255, 248, 230, 0.95);
    border-left: 4px solid #e6a800;
    font-size: 13px;
    color: #665500;
}

.guide-section .guide-note {
    margin-top: 12px;
}

.guide-subheading {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #222;
}

.guide-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e2dc;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.guide-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.guide-card p {
    font-size: 14px;
    color: #444;
}

.guide-contact {
    margin-top: 12px;
    padding: 10px 12px;
    background: #f5f8fc;
    border-left: 3px solid #1a4f9c;
    font-weight: 700;
    color: #1a4f9c;
}

.guide-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.guide-card-link h3 {
    color: #111;
    font-weight: 800;
}

.guide-card-link:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #c9a227;
}

.guide-card-link:active {
    transform: scale(0.98);
}

.guide-list {
    padding-left: 20px;
}

.guide-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.guide-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px 16px;
}

.guide-home-btn {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 15px;
}

.guide-home-btn:hover {
    background: #333;
}

body.guide-pc {
    padding-bottom: var(--pc-footer-offset, 72px);
}

body.guide-pc .bg-fixed {
    background-image: url('/static/background_pc.jpeg');
}

@media (min-width: 768px) {
    .bg-fixed {
        background-image: url('/static/background_pc.jpeg');
    }

    .guide-intro-panel {
        padding: 28px 24px;
    }

    .guide-main {
        padding: 36px 40px 48px;
    }
}
