/* 東京IT セキュリティ診断 LP */

:root {
    --ink: #0c1a2e;
    --ink-soft: #243447;
    --muted: #5a6a7a;
    --line: #d5dde6;
    --paper: #f3f6f9;
    --paper-deep: #e8eef4;
    --accent: #0a7a6e;
    --accent-dark: #066056;
    --accent-soft: #d8f0ec;
    --warn: #8a5a12;
    --warn-bg: #f8f0e0;
    --white: #ffffff;
    --font-display: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
    --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
    --radius: 4px;
    --shadow-soft: 0 12px 40px rgba(12, 26, 46, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-dark);
}

/* ----- ナビ ----- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 246, 249, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(12, 26, 46, 0.04);
}

.site-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink) !important;
    line-height: 1.2;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.site-nav .brand-mark {
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    background: var(--accent);
}

.site-nav .brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.site-nav .brand-company {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.site-nav .brand-service {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.site-nav .nav-link {
    color: var(--ink-soft) !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
}

.site-nav .nav-link:hover {
    color: var(--accent) !important;
}

.site-nav .nav-link.nav-cta {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.45rem 1.1rem !important;
    background: var(--ink);
    color: var(--white) !important;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-link.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* ----- ヒーロー ----- */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(10, 122, 110, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(12, 26, 46, 0.08), transparent 50%),
        linear-gradient(165deg, #eef3f7 0%, #f7f9fb 45%, #e6eef3 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(12, 26, 46, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 26, 46, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
    pointer-events: none;
}

.hero-visual {
    position: absolute;
    right: -8%;
    top: 10%;
    width: min(52vw, 640px);
    height: min(70vh, 560px);
    background:
        linear-gradient(135deg, rgba(10, 122, 110, 0.22) 0%, transparent 55%),
        linear-gradient(225deg, rgba(12, 26, 46, 0.18) 0%, transparent 50%);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 82%);
    opacity: 0;
    animation: heroReveal 1.1s ease 0.15s forwards;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 12% 18% 18% 8%;
    border: 1px solid rgba(12, 26, 46, 0.12);
    clip-path: polygon(12% 0, 100% 0, 100% 88%, 0 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 5rem;
}

.hero-brand {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.8s ease 0.1s forwards;
}

.hero-brand span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.55em;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    max-width: 18em;
    margin-bottom: 1.1rem;
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.8s ease 0.28s forwards;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 28em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.8s ease 0.45s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    opacity: 0;
    transform: translateY(18px);
    animation: riseIn 0.8s ease 0.6s forwards;
}

/* ----- ボタン ----- */
.btn-primary-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.98rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary-brand:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.98rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ----- セクション共通 ----- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--white);
}

.section-head {
    max-width: 36rem;
    margin-bottom: 2.75rem;
}

.section-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.section-head p {
    color: var(--muted);
    margin: 0;
    font-size: 1rem;
}

/* ----- 特長 ----- */
.feature-row {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

/* ----- 対象 ----- */
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.audience-list li {
    position: relative;
    padding: 1rem 1.15rem 1rem 2.75rem;
    background: var(--paper);
    border-left: 3px solid var(--accent);
    color: var(--ink-soft);
}

.audience-list li::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 1.35rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--accent);
}

/* ----- 料金 ----- */
.price-panel {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .price-panel {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: stretch;
    }
}

.price-main {
    padding: 2.25rem 2rem;
    background: var(--ink);
    color: var(--white);
}

.price-main .label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.price-main h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.price-amount .yen {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-amount .num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-amount .unit {
    font-size: 1rem;
    opacity: 0.8;
}

.price-main .note {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

.price-sub {
    padding: 2rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--line);
}

.price-side {
    display: grid;
    gap: 1.5rem;
}

.price-sub h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.price-sub .amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.price-sub .amount span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.price-sub p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.price-foot {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    background: var(--accent-soft);
    color: var(--ink-soft);
    font-size: 0.92rem;
}

/* ----- フロー ----- */
.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: flow;
    display: grid;
    gap: 0;
}

.flow-item {
    counter-increment: flow;
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.25rem;
    padding: 0 0 2rem;
    position: relative;
}

.flow-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 2.6rem;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.flow-item::after {
    content: counter(flow);
    grid-row: 1 / span 2;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.flow-item h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0.25rem 0 0.4rem;
}

.flow-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.flow-hint {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ----- レポート ----- */
.report-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .report-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.report-block {
    padding: 1.75rem 1.5rem;
    border-top: 3px solid var(--accent);
    background: var(--paper);
}

.report-block.for-dev {
    border-top-color: var(--ink);
}

.report-block .who {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.report-block.for-dev .who {
    color: var(--ink-soft);
}

.report-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.report-block p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

/* ----- オプション ----- */
.option-lead {
    max-width: 40rem;
    margin-bottom: 2rem;
    color: var(--ink-soft);
}

.warn-box {
    background: var(--warn-bg);
    border-left: 4px solid var(--warn);
    padding: 1.5rem 1.35rem;
}

.warn-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--warn);
    margin-bottom: 1rem;
}

.warn-box ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink-soft);
}

.warn-box li {
    margin-bottom: 0.75rem;
}

.warn-box li:last-child {
    margin-bottom: 0;
}

.warn-box li strong {
    color: var(--ink);
}

/* ----- 会社紹介 ----- */
.company-info {
    padding: 0.5rem 0 0;
}

.company-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
}

.company-info > p {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.company-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.75rem 0 1rem;
}

.company-recommend {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.company-recommend li {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.company-recommend li:last-child {
    border-bottom: none;
}

.company-recommend li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--accent);
}

.company-site-link {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
}

.company-site-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section-head.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* ----- CTA / お問い合わせフォーム ----- */
.cta-band {
    padding: 4.5rem 0;
    background:
        linear-gradient(135deg, rgba(10, 122, 110, 0.12), transparent 40%),
        var(--ink);
    color: var(--white);
}

.contact-intro {
    text-align: center;
    margin-bottom: 2.25rem;
}

.contact-online {
    display: inline-block;
    margin-bottom: 0.85rem !important;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-intro p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 34rem;
    margin: 0 auto;
}

.contact-profile-name {
    margin-top: 1.1rem !important;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92) !important;
    letter-spacing: 0.04em;
}

.contact-form {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-form .form-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.contact-form .req {
    color: #7dceb8;
    font-weight: 700;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink);
    padding: 0.7rem 0.85rem;
    font-size: 0.98rem;
}

.contact-form .form-control:focus {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(10, 122, 110, 0.25);
    color: var(--ink);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 8rem;
}

.turnstile-wrap {
    display: flex;
    justify-content: center;
    padding-top: 0.25rem;
}

.contact-submit {
    background: var(--accent);
    min-width: 10rem;
}

.contact-submit:hover {
    background: var(--white);
    color: var(--ink);
}

.contact-alert {
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    text-align: left;
}

.contact-alert-success {
    background: rgba(10, 122, 110, 0.35);
    border: 1px solid rgba(125, 206, 184, 0.45);
    color: #e8fff8;
}

.contact-alert-error {
    background: rgba(160, 40, 40, 0.35);
    border: 1px solid rgba(255, 160, 160, 0.4);
    color: #ffe8e8;
}

.contact-alert ul {
    padding-left: 1.2rem;
}

/* ハニーポット（非表示） */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ----- フッター ----- */
.site-footer {
    padding: 2.5rem 0;
    background: #081320;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

.site-footer .brand {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
    color: var(--white);
}

/* ----- アニメーション ----- */
@keyframes riseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroReveal {
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- レスポンシブ ----- */
@media (max-width: 991.98px) {
    .hero-visual {
        opacity: 0.35;
        width: 70vw;
        right: -20%;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 3.5rem 0 4rem;
    }

    .site-nav .navbar-collapse {
        padding: 0.75rem 0 1rem;
        background: var(--paper);
    }

    .site-nav .nav-link.nav-cta {
        margin: 0.5rem 0 0;
        text-align: center;
        color: var(--white) !important;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .feature-item {
        grid-template-columns: 3rem 1fr;
    }

    .price-main,
    .price-sub {
        padding: 1.5rem 1.25rem;
    }
}
