﻿/* =========================================
   Quote Approver LP Styles
   Clean white layout for JP sales quote approver
   ========================================= */

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --line: #e8edf4;
    --text: #141f37;
    --muted: #5e6b85;
    --accent: #1f4de0;
    --accent-soft: #eef4ff;
    --card: #ffffff;
    --radius: 24px;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.05);
}

/* RESET */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
}

img {
    max-width: 100%;
    display: block;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    position: relative;
    z-index: 2;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px 0 12px;
}

header h1 {
    font-size: 0.93rem;
    text-align: center;
    margin: 0;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* SECTION */
.section {
    padding: 70px 0;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    height: 1px;
    background: var(--line);
    opacity: 0.65;
}

h2 {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.08;
    margin: 0 auto 22px;
    max-width: 860px;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 700;
}

p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

/* HERO */
#hero {
    margin-top: 18px;
}

.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    padding: 60px 0 50px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#hero h2 {
    margin-bottom: 18px;
    color: var(--text);
}

#hero p {
    margin: 0 auto 32px;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button,
.sub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(31, 77, 224, 0.18);
}

.sub-button {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.cta-button:hover,
.sub-button:hover {
    transform: translateY(-2px);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.hero-highlights span {
    display: block;
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    text-align: center;
}

/* PROBLEMS */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.problem-card {
    padding: 24px;
    color: var(--text);
    font-weight: 700;
}

.problem-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.problem-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--muted);
}

/* DIAGRAM */
.diagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.diagram-card,
.problem-card,
.feature,
.benefit-card,
.cta-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.diagram-card {
    padding: 28px;
}

.diagram-card img {
    width: 700px;
    height: 394px;
    object-fit: contain;
    border-radius: 22px;

    border: 2px solid #ccc;
    /* 灰色の枠線 */
    background: #fff;
}

.diagram-placeholder {
    min-height: 220px;
    border: 2px dashed var(--line);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    text-align: center;
    background: #f9fbff;
}

/* SOLUTION */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature {
    padding: 30px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* FLOW */
#flow ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

#flow li {
    position: relative;
    padding: 24px 24px 24px 60px;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    background: var(--surface);
}

#flow li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}

/* BENEFITS */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.benefit-card {
    padding: 24px;
    color: var(--text);
    font-weight: 700;
}

/* VISION */
#vision .container {
    max-width: 980px;
}

.vision-lead {
    margin: 0 auto 28px;
    max-width: 860px;
    text-align: center;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.vision-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.vision-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.vision-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.vision-commitment {
    margin-top: 20px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
}

.vision-commitment h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.vision-commitment ul {
    margin: 0;
    padding-left: 1.2em;
    color: var(--text);
}

.vision-commitment li {
    margin-bottom: 8px;
    line-height: 1.8;
}

/* CTA */
.cta-panel {
    padding: 40px 36px;
    text-align: center;
}

.cta-panel h2 {
    margin-bottom: 18px;
}

.cta-panel p {
    margin: 0 auto 28px;
    max-width: 760px;
    color: var(--muted);
}

/* CONTACT */
#contact iframe {
    width: 100%;
    min-height: 560px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero-actions,
    .hero-highlights,
    .diagram-grid,
    .problem-grid,
    .feature-list,
    .vision-grid,
    .benefit-grid,
    .stats-grid,
    .case-grid,
    .security-grid,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    #flow li {
        padding-left: 52px;
    }
}

@media (max-width: 680px) {
    .section {
        padding: 54px 0;
    }

    .hero-panel {
        padding: 42px 0 34px;
    }

    .cta-button,
    .sub-button {
        width: 100%;
    }
}

/* PROCESS */
.process-timeline {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}

.process-step {
    flex: 0 0 min(220px, calc((100% - 80px) / 5));
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 24px;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.process-step h3 {
    margin: 12px 0 8px;
}

.process-step p {
    margin: 0;
    font-size: 14px;
}

/* SPECS */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 22px;
    margin: 30px 0;
}

.spec-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.spec-card h3 {
    margin-top: 0;
}

.spec-desc {
    font-size: 14px;
    color: var(--muted);
    margin: 8px 0 14px;
}

.spec-details {
    background: var(--accent-soft);
    border-radius: 16px;
    padding: 14px;
    font-size: 14px;
    line-height: 1.8;
}

.spec-details div {
    margin: 4px 0;
}

.spec-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--muted);
}

/* FAQ */
.faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--accent-soft);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 24px 24px;
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
    color: var(--text);
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
}