/* ===== Portal / Landing Page CSS ===== */
:root {
    --primary: #ff5e91;
    --hover: #e8457c;
    --background: #f7f9fa;
    --surface: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #eeeeee;
    --portal-pink-shadow: rgba(255, 94, 145, 0.2);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.bg-light {
    background-color: var(--background);
}

.border-top {
    border-top: 1px solid var(--border);
}

.text-sm {
    font-size: 0.9rem;
}

.pc-only {
    display: inline;
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
}

/* ===== Hero ===== */
.hero {
    padding: 60px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero {
        padding: 32px 0 24px;
    }
}

.hero-content {}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--text);
}

.hero-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.hero-action {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image-placeholder {
    display: flex;
    justify-content: center;
}

.mockup-box {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    max-width: 480px;
    width: 100%;
}

.hero-preview-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--portal-pink-shadow);
}

.btn-primary:hover {
    background: var(--hover);
    box-shadow: 0 8px 24px rgba(255, 94, 145, 0.35);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text);
}

.section-lead {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.section-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Guide Steps ===== */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== Info Blocks (FAQ) ===== */
.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.info-block {
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.warning-block {
    border-left: 4px solid #f0ad4e;
}

.info-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.info-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.notice-text {
    color: #999;
    font-size: 0.8rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

/* ===== Credits ===== */
.credit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.credit-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 24px;
    font-size: 0.8rem;
    margin-top: 0;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

/* ===== Guide Page Specific ===== */
.guide-page {}

.page-header {
    padding: 48px 0 32px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-block {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.guide-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 94, 145, 0.15);
}

.guide-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-item {
    background: var(--background);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
}

.tool-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.tool-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
}

.guide-list-bullet {
    list-style: none;
    padding: 0;
}

.guide-list-bullet li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
}

.guide-list-bullet li::before {
    content: "•";
    color: var(--primary);
    font-weight: 900;
    position: absolute;
    left: 0;
}

.guide-section {
    padding: 40px 0;
}

.guide-section h2 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--primary);
}

.guide-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 20px 0 8px;
}

.guide-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.guide-section img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}