/* Certifications Section */
.certs {
    padding: 6rem 0;
    background: #f8fafc;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.cert-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cert-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.cert-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin: 0.5rem 0 0.8rem;
    line-height: 1.4;
    min-height: 2.8em;
    /* Ensure alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-count {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.9rem;
    background: #eff6ff;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    display: inline-block;
}

.cert-count .num {
    font-size: 1.1rem;
    font-weight: 800;
    margin-right: 2px;
}

@media (max-width: 1024px) {
    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solutions {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.solution-row {
    display: grid;
    grid-template-columns: 0.85fr 64px 1.15fr;
    gap: 1.25rem;
    align-items: stretch;
}

.problem-illustration {
    grid-column: 1;
    align-self: center;
    justify-self: center;
    position: relative;
    left: 0 !important;
    transform: none;
    width: 72px;
    height: 72px;
}

.solution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    cursor: default;
}

.solution-card.left {
    border-right: none !important;
    border-top: 4px solid #cbd5e1 !important;
    position: relative;
    overflow: visible;
}

/* Right card: light purple border like pricing + gradient cap */
.solution-card.right {
    border: 1px solid #e1d7ff !important;
    position: relative;
    overflow: hidden;
}

.solution-card.right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    pointer-events: none;
}

.solution-arrow-only i {
    background: none;
    color: #0f172a;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
    font-size: 28px;
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #1f3a8a;
    color: #ffffff;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .95rem;
    margin-bottom: .8rem;
}

.solution-badge i {
    font-size: 1rem;
}

.solution-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.solution-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 1.6rem;
}

.solution-arrow-only {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 1.6rem;
}

.solution-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .4rem;
}

.solution-title-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .4rem;
}

/* Orange highlighter effect for right titles - background underline tied to text width */
.solution-card.right .solution-title {
    display: inline-block;
    box-shadow: inset 0 -0.34em 0 rgba(255, 209, 102, 0.65);
    padding-bottom: 2px;
}

.solution-card-header {
    font-weight: 800;
    padding: .35rem .8rem;
    border-radius: 12px;
    display: block;
    width: fit-content;
    margin-bottom: .6rem;
    font-size: .95rem;
}

.left-header {
    background: #0f172a;
    color: #fff;
}

.right-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
}

.badge-admin {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* big corner badge */
.badge-corner {
    position: absolute;
    top: 10px;
    right: 18px;
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: none;
}

/* Icon-only variant for badge (used on System Slimming) */
.badge-corner.gear-circle {
    background: #e0f2fe;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    top: 16px;
    right: 30px;
    filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-corner.gear-circle i {
    font-size: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

/* Generic panel header (reused from strengths map "お客様の課題") */
.panel-header {
    background: #1f3a8a;
    color: #fff;
    font-weight: 700;
    padding: .35rem .8rem;
    border-radius: 12px;
    margin-bottom: .6rem;
    display: inline-block;
    font-size: .95rem;
}

.problem-list {
    list-style: none;
    margin: .2rem 0;
}

.problem-list li {
    color: #475569;
    padding-left: 1.2rem;
    position: relative;
    margin: .25rem 0;
}

.problem-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.solution-desc {
    color: #334155;
    line-height: 1.8;
}

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

    .solution-columns {
        grid-template-columns: 1fr auto 1.2fr;
        align-items: start;
        column-gap: 1rem;
    }

    .solution-arrow {
        display: flex;
    }
}

.hidden {
    display: none !important;
}

.camp-scroll-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0 1.2rem;
}

/* ---- Mobile-first layout tuning for お悩みセクション ---- */
@media (max-width: 768px) {
    .solutions {
        padding: 2.2rem 0;
    }

    .solutions .section-header h2 {
        font-size: 1.5rem;
    }

    .solution-row {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .solution-card {
        padding: 1rem 1rem;
        border-radius: 16px;
    }

    .solution-arrow-only {
        display: none;
    }

    .solution-card.left .panel-header {
        font-size: .9rem;
    }

    .solution-card.left .solution-title {
        font-size: 1.1rem;
    }

    .solution-card.right .solution-title {
        font-size: 1.1rem;
    }

    /* Collapse long problem lists by default */
    .problem-list.is-collapsed {
        max-height: none;
        overflow: visible;
        position: relative;
    }

    .problem-list.is-collapsed::after {
        content: none;
        display: none;
    }

    .list-toggle {
        margin-top: .6rem;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        padding: .35rem .8rem;
        font-weight: 700;
        color: #334155;
        font-size: .9rem;
    }

    /* ---- Pricing tiles (3枚) mobile compact layout ---- */
    .pricing {
        padding: 2.2rem 0;
    }

    .pricing .pricing-tiles {
        display: grid;
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .pricing .tile-card {
        padding: 1rem 1rem;
        border-radius: 16px;
    }

    .pricing .tile-card .tile-header h3 {
        font-size: 1.1rem;
    }

    .pricing .tile-card .tile-lead {
        font-size: .95rem;
    }

    .pricing .tile-card .tile-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: .95rem;
        color: #475569;
    }

    /* Standardプランのみ本文のクランプを解除して全文表示 */
    .pricing .tile-card.tile-standard .tile-desc {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    /* pricing extra (キャンペーンカード + シミュレーターボタン) full width */
    .pricing-extra {
        grid-template-columns: 1fr !important;
    }

    .pricing-extra>* {
        width: 100%;
    }

    .pricing-extra .btn.btn-primary {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* ---- Cases（実績）: 画像非表示 + テキストを横幅いっぱい ---- */
    .cases .case-illustration {
        display: none;
    }

    .cases .case-card {
        grid-template-columns: 1fr !important;
    }

    .cases .case-title {
        font-size: 1.05rem;
    }

    .cases .case-points {
        font-size: .95rem;
    }
}

/* Speed Advantage Section */
.speed {
    padding: 4.5rem 0;
    background: #ffffff;
}

.speed .section-lead {
    color: #475569;
    margin-top: .4rem;
}

.speed-kpis {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    justify-items: center;
    margin: 1.2rem 0;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.4rem;
    text-align: center;
    min-width: 220px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}

.kpi-card.highlight {
    border-color: #e1d7ff;
    box-shadow: 0 8px 22px rgba(139, 92, 246, .18);
    position: relative;
}

.kpi-figure {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.kpi-unit {
    font-size: 1rem;
    font-weight: 700;
    margin-left: .2rem;
    color: #475569;
}

.kpi-caption {
    color: #64748b;
    margin-top: .5rem;
    font-weight: 600;
}

.kpi-arrow {
    color: #0f172a;
    font-size: 1.8rem;
}

.kpi-delta {
    grid-column: 1 / -1;
    color: #16a34a;
    font-weight: 800;
    margin-top: .3rem;
}

.speed-reasons {
    margin-top: 1rem;
}

.speed-reasons h3 {
    font-size: 1.2rem;
    margin-bottom: .4rem;
    color: #1e293b;
}

.speed-reasons ul {
    list-style: none;
    padding: 0;
}

.speed-reasons li {
    position: relative;
    padding-left: 1.2rem;
    margin: .25rem 0;
    color: #334155;
}

.speed-reasons li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.speed-chart {
    margin-top: .8rem;
}

.speed-chart svg {
    width: 100%;
    height: auto;
}

.chart-label {
    font: 600 14px 'Noto Sans JP', sans-serif;
    fill: #334155;
}

.chart-value {
    font: 700 14px 'Noto Sans JP', sans-serif;
    fill: #0f172a;
}

.chart-delta {
    font: 800 14px 'Noto Sans JP', sans-serif;
    fill: #16a34a;
}

.chart-vdelta {
    font: 800 14px 'Noto Sans JP', sans-serif;
    fill: #2563eb;
}

.speed-expl {
    color: #334155;
    margin: .5rem 0 0;
    line-height: 1.9;
}

/* Intro block (left top) */
.speed-lead {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: .8rem 0 1.8rem;
}

.speed-intro {
    margin: 0;
    flex: 1;
}

.speed-intro p {
    max-width: 860px;
    color: #0f172a;
    line-height: 1.9;
    font-weight: 700;
    font-size: 1.12rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.70));
    border-radius: 12px;
    padding: 8px 12px;
}

.speed-intro .em {
    font-weight: 800;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Reduce card (left) */
.reduce-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: .8rem 1rem;
    min-width: 240px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    position: relative;
}

.reduce-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.reduce-pill {
    display: inline-block;
    padding: .25rem .8rem;
    background: #e5e7eb;
    color: #0f172a;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .4rem;
}

.reduce-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: .2rem;
}

.reduce-prefix {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

.reduce-num {
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.reduce-unit {
    font-weight: 900;
    font-size: 1.6rem;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.reduce-suffix {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

/* Big announce text next to arrow */
.chart-announce {
    font: 900 28px 'Noto Sans JP', sans-serif;
}

.chart-note {
    font: 600 11px 'Noto Sans JP', sans-serif;
    fill: #64748b;
}

@media (max-width: 720px) {
    .speed-lead {
        flex-direction: column;
        align-items: stretch;
    }

    .reduce-card {
        min-width: unset;
    }

    .chart-announce {
        font-size: 18px;
    }
}

/* removed fig- styles (rolled back to simple chart) */
@media (max-width: 640px) {
    .chart-label {
        font-size: 13px;
    }

    .chart-value {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .speed-kpis {
        grid-template-columns: 1fr;
    }

    .kpi-arrow {
        display: none;
    }
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* prevent horizontal scroll */
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand {
    display: inline-flex;
    /* limit clickable width to content */
    align-items: center;
    gap: 0.6rem;
    height: 40px;
    text-decoration: none;
    /* prevent underline segments under logo/text when wrapped in <a> */
    color: inherit;
}

/* Ensure brand link never stretches beyond its contents */
.nav-logo .brand {
    width: auto;
    max-width: max-content;
}

.brand-e .logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Prevent text selection/highlight on brand to avoid blue reveal while dragging */
.brand,
.brand * {
    -webkit-user-select: none;
    user-select: none;
}

/* Hide fallback text when logo image already contains the wordmark */
.brand-word {
    display: none !important;
}

.brand-word {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 40px;
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    animation: float-random 20s infinite linear;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.floating-element:nth-child(2) {
    top: 70%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.floating-element:nth-child(3) {
    top: 30%;
    left: 60%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    left: 20%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.floating-element:nth-child(5) {
    top: 50%;
    right: 30%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes float-random {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-30px, -50px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(-50px, 30px) rotate(270deg) scale(1.05);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* 見出しと画像を横並び（見出し左／画像右） */
/* hero-head は不要になったため無効化 */
.hero-head {
    display: none;
}

.hero-tagline {
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.2s forwards;
}

.tagline-text {
    font-size: 1rem;
    font-weight: 500;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-left: 2rem;
}

.tagline-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 2px;
    background: #3b82f6;
    transform: translateY(-50%);
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.4s;
}

.title-line:nth-child(2) {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-product {
    white-space: nowrap;
}

.hero-subtitle {
    margin-bottom: 2.5rem;
}

.subtitle-text {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
    line-height: 1.7;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.subtitle-text:nth-child(1) {
    animation-delay: 0.8s;
}

.subtitle-text:nth-child(2) {
    animation-delay: 1s;
}

.subtitle-text:nth-child(3) {
    animation-delay: 1.2s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 1s ease 1.2s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-graphic {
    width: 340px;
    height: 340px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float-hero 8s ease-in-out infinite;
    opacity: 0;
    animation: slideInRight 1s ease 0.5s forwards, float-hero 8s ease-in-out 1.5s infinite;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

/* removed hero-network grid; keep floating particles only */

.hero-graphic:hover .hero-main-image {
    transform: scale(1.1);
}

/* Overlay removed per request */

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particle-float 3s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 80%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    bottom: 20%;
    left: 60%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    top: 50%;
    right: 40%;
    animation-delay: 2.5s;
}

@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes float-hero {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: arrow-bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes arrow-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(-3px);
    }

    60% {
        transform: rotate(45deg) translateY(-1px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

/* Strengths Map */
.strengths-map {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.customer-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.customer-panel .panel-header {
    background: #1f3a8a;
    color: #ffffff;
    font-weight: 700;
    padding: .6rem .9rem;
    border-radius: 10px;
    margin-bottom: .9rem;
}

.panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: #0f172a;
}

.panel-list i {
    color: #2563eb;
}

.map-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 2rem;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.capability-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.cap-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
    font-size: 1rem;
}

.cap-icon {
    color: #0284c7;
    font-size: 1.8rem;
}

@media (max-width: 1024px) {
    .strengths-map {
        grid-template-columns: 1fr;
    }

    .map-arrow {
        display: none;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .capability-grid {
        grid-template-columns: 1fr;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem;
    /* 縦余白を圧縮 */
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 72px;
    /* 縦余白縮小に伴い小さめに */
    height: 72px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    /* 下の余白を縮小 */
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: .6rem;
    /* 見出し下の余白を小さく */
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    /* 行間をやや詰める */
}

/* Feature アイコン画像（Admin_badgeなど） */
.feature-img-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.price-label {
    color: #64748b;
    font-size: 0.9rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fbfdff 0%, #f4f7ff 55%, #eef3ff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 4rem;
    align-items: start;
}

.about-hero-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Utility spacing for sub pages */
.about .section-header {
    margin-top: 90px;
}

.about-hero-image:hover img {
    transform: scale(1.05);
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.company-info {
    display: grid;
    gap: 2rem;
}

.info-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #64748b;
    line-height: 1.7;
}

/* About brand section */
.brand-section {
    margin-top: 0;
    padding: 2rem 2.2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
}

.brand-section h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.8rem;
}

.brand-section p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.9;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.nowrap {
    white-space: nowrap;
}

br.mobile-br {
    display: none;
}

/* Bio section */
.bio {
    padding: 2rem 0 3rem;
}

.bio-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.bio-content.single {
    grid-template-columns: 1fr;
}

.bio-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-photo {
    width: 50%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: #e2e8f0;
    margin: 0 auto;
}

.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    clip-path: inset(0 0 25% 0);
}

.bio-list {
    list-style: none;
    border-left: 3px solid #c7d2fe;
    padding-left: 1rem;
    display: grid;
    gap: 0.6rem;
}

.bio-year {
    display: inline-block;
    min-width: 4rem;
    font-weight: 700;
    color: #1e3a8a;
}

.bio-item {
    color: #334155;
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* 背景を固定 */
    opacity: 0.05;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    overflow: hidden;
    /* contain child overflow */
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.required {
    color: #ef4444;
    font-weight: bold;
}

.contact-details small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    align-items: flex-start;
    color: #334155;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    white-space: normal;
    text-align: left;
}

/* 直下の単純な選択肢（Sales/Service/Experience）の見た目を1行で揃える */
.checkbox-group>label {
    display: grid;
    grid-template-columns: 20px auto;
    align-items: center;
    column-gap: .6rem;
    white-space: nowrap;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.checkbox-item {
    display: grid;
    grid-template-columns: 20px auto 1fr;
    align-items: center;
    column-gap: .6rem;
    width: 100%;
}

.checkbox-item input[type="text"] {
    grid-column: 3 / 4;
    width: 100%;
    max-width: 100%;
}

.checkbox-group input[type="text"] {
    min-width: 220px;
    padding: .5rem .6rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    max-width: 360px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    /* fix possible 1px seam on some browsers */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.95;
    mix-blend-mode: multiply;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Unified simple footer layout */
.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    color: #cbd5e1;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-row p {
    margin: 0;
}

.footer-simple .footer-row+.footer-row {
    border-top: 1px solid #334155;
    padding-top: .75rem;
    margin-top: .25rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand img {
    height: 40px;
    width: auto;
    opacity: 1;
    mix-blend-mode: normal;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    align-items: flex-end;
    text-align: right;
}

/* Contact form submit button right aligned */
.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo .logo {
        height: 40px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 14px;
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-graphic {
        width: 240px;
        height: 240px;
    }

    .hero-overlay i {
        font-size: 4rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .floating-element {
        width: 100px;
        height: 100px;
    }

    .service-image {
        height: 150px;
    }

    .about-hero-image {
        height: 200px;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about {
        overflow-x: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.subtitle-desktop-only {
    display: block;
}

.subtitle-mobile-only {
    display: none;
}

/* モバイル専用：見出しと画像を横並び */
.hero-head-mobile {
    display: none;
}

.hero-image-mobile {
    display: none;
}

@media (max-width: 480px) {
    .nav-logo .logo {
        height: 35px;
    }

    .footer-logo {
        height: 35px;
    }

    .container {
        padding: 0 12px;
    }

    .contact .container {
        padding: 0 12px;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .checkbox-item {
        grid-template-columns: auto 1fr;
    }

    .checkbox-group input[type="text"] {
        min-width: 0;
        max-width: 100%;
    }

    /* モバイルはこれまで通りラベルの下にテキスト */
    .checkbox-item {
        grid-template-columns: auto 1fr;
    }

    .checkbox-item input[type="text"] {
        grid-column: 1 / -1;
    }

    /* モバイルは縦を取りすぎない */
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: .6rem;
        padding: 0 12px;
        text-align: left;
        position: relative;
    }

    .hero-content {
        text-align: left;
        align-items: flex-start;
        padding-right: 0;
    }

    /* モバイルは既存見出しを隠し、モバイル専用見出しを表示 */
    .hero-content>.hero-title {
        display: none;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 18em;
    }

    .tagline-text {
        font-size: .8rem;
        letter-spacing: 1px;
        padding-left: 1.2rem;
    }

    .tagline-text::before {
        width: 1rem;
    }

    .subtitle-text {
        font-size: .95rem;
        max-width: 24em;
    }

    /* PC用の右カラム画像はモバイルでは非表示 */
    .hero-image {
        display: none;
    }

    /* モバイル用：見出し＋画像 横並び（画像右） */
    .hero-head-mobile {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: .6rem;
    }

    .hero-image-mobile {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-image-mobile .hero-graphic {
        width: 96px;
        height: 96px;
        position: static;
        margin: 0;
    }

    .floating-elements {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: .6rem;
        width: 100%;
        margin-bottom: 1.2rem;
    }

    .hero-buttons .btn {
        flex: 0 1 calc(50% - .3rem);
        max-width: calc(50% - .3rem);
        padding: .6rem .6rem;
        font-size: .85rem;
        border-radius: 24px;
        white-space: normal;
        word-break: break-word;
        box-sizing: border-box;
    }

    .btn.btn-secondary {
        padding: .6rem .6rem;
    }

    .scroll-indicator {
        bottom: 1.2rem;
    }

    .title-line {
        display: inline;
    }

    br.mobile-br {
        display: inline;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-image {
        height: 120px;
    }

    .about-hero-image {
        height: 150px;
    }

    .subtitle-desktop-only {
        display: none;
    }

    .subtitle-mobile-only {
        display: block;
    }

    /* モバイルはスクロールリビールを無効化して最初から表示 */
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none !important;
        will-change: auto;
    }
}

/* Smooth Scrolling */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.service-card,
.stat-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal (applies to elements that JS marks as .reveal) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
    animation: none !important;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Section */
.pricing {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.step-card:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -0.8rem;
    top: 50%;
    transform: translate(50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #0f235f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.step-badge {
    display: inline-block;
    background: #0f235f;
    color: #fff;
    font-weight: 800;
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: .6rem;
    letter-spacing: .5px;
}

.step-card h3 {
    color: #0f235f;
    font-weight: 800;
    font-size: 1.25rem;
    margin: .4rem 0 1rem;
}

.step-icon {
    font-size: 3rem;
    color: #1e3a8a;
}

.step-arrow {
    display: none;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .step-card::after {
        content: none;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #dcd4ff;
    /* lighter purple border for pricing cards */
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.highlight {
    border-color: #e1d7ff;
    /* even lighter purple */
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Recommended badge styling for Standard */
.pricing-card.recommended {
    position: relative;
}

.pricing-card.recommended::before {
    content: 'おすすめ';
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    font-size: 0.8rem;
}

.pricing-card.wide {
    grid-column: 1 / -1;
}

/* Plan color accents */
.plan-lite {
    border-top: 4px solid #22c55e;
}

.plan-standard {
    border-top: 4px solid #3b82f6;
}

.plan-pro {
    border-top: 4px solid #8b5cf6;
}

.plan-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: nowrap;
}

.plan-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
}

.plan-lite .plan-icon {
    color: #16a34a;
}

.plan-standard .plan-icon {
    color: #2563eb;
}

.plan-pro .plan-icon {
    color: #7c3aed;
}

/* Plan feature label on the right of the plan title */
.plan-feature-label {
    margin-left: 0;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #111827;
}

.plan-lite .plan-feature-label {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    border: none;
}

.plan-standard .plan-feature-label {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
}

.plan-pro .plan-feature-label {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    border: none;
}

/* Increase specificity to ensure color backgrounds apply next to time badge */
/* neutral label (黒文字) */

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

/* Top line: time badge + feature label */
.plan-topline {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .6rem;
}

.plan-topline .pricing-badge {
    margin-bottom: 0;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.pricing-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card ul li {
    color: #64748b;
    padding-left: 1.2rem;
    position: relative;
    margin: 0.4rem 0;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.tiers {
    display: block;
    margin: 1rem 0 0.5rem;
}

.tier {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.9rem;
    background: #f8fafc;
}

.tier-name {
    font-weight: 700;
    color: #1e293b;
}

.tier-hours {
    font-size: 0.9rem;
    color: #64748b;
}

.tier-price {
    font-weight: 700;
    color: #3b82f6;
}

.cashback {
    color: #f59e0b;
    font-weight: 800;
}

.tier-desc {
    color: #64748b;
    margin-top: 0.3rem;
}

.tier-detail {
    margin-top: 0.5rem;
}

.tier-detail strong {
    display: block;
    margin-top: 0.4rem;
    color: #1e293b;
}

.tier-detail ul {
    margin-left: 1rem;
    color: #64748b;
}

.tier-detail ul li {
    color: #64748b;
}

.tier-detail p {
    color: #64748b;
}

.note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.6rem;
}

.pricing-notes ul {
    margin-top: 2rem;
    color: #64748b;
    list-style: disc;
    padding-left: 1.2rem;
}

.pricing-notes ul li {
    font-size: 0.9rem;
}

.plan-brief {
    color: #334155;
    margin-bottom: 0.5rem;
}

.plan-brief div:first-child {
    font-weight: 700;
}

.policy-card {
    border-top: 4px solid #c7d2fe;
}

.option-card {
    border-top: 4px solid #c7d2fe;
}

.option-card {
    padding: 2rem;
}

.policy-card {
    border-top: 4px solid #c7d2fe;
}

/* Desktop: auto height (余計な下余白をなくす) */
@media (min-width: 1024px) {
    .pricing-card {
        min-height: auto;
    }
}

.option-card .tier-price,
.option-card ul li,
.policy-card ul li {
    font-size: 0.95rem;
}

/* Option/Policy detail: blue/gray text sizes align with plan card */
.option-card .tier-price {
    font-weight: 700;
    color: #3b82f6;
}

.option-card .tier-detail ul,
.policy-card ul {
    color: #64748b;
}

/* Enclose option and policy content in subtle gray boxes like plan tiers */
.option-card .tier,
.policy-card .tier {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.9rem;
    background: #f8fafc;
}

.campaign-card {
    border-top: 4px solid #f59e0b;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.campaign-card.trial {
    border-top: 4px solid #f59e0b;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

/* Campaign Page Styles */
.campaign-details {
    padding: 6rem 0;
    background: white;
}

.campaign-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.campaign-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.campaign-card.wide {
    grid-column: 1 / -1;
    text-align: left;
}

.campaign-box {
    padding: 2rem;
}

.campaign-section {
    margin-bottom: 1.5rem;
}

.campaign-section:last-child {
    margin-bottom: 0;
}

.campaign-card.highlight {
    border-color: #f59e0b;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.campaign-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.campaign-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.campaign-card p {
    color: #64748b;
    line-height: 1.6;
}

.campaign-card ul {
    list-style: none;
    margin-top: 1rem;
}

.campaign-card ul li {
    color: #64748b;
    padding-left: 1.2rem;
    position: relative;
    margin: 0.4rem 0;
    text-align: left;
}

.campaign-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.campaign-cta {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.campaign-cta h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.campaign-cta p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Campaign page scroll hint */
.camp-scroll {
    text-align: center;
    margin-top: 0.5rem;
    animation: camp-bounce 2s infinite;
}

.camp-scroll a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-direction: column;
}

.camp-scroll a:hover {
    color: #1e293b;
}

.camp-scroll .arrow {
    width: 18px;
    height: 18px;
    border: 2px solid #94a3b8;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: arrow-bounce 2s infinite;
}

.camp-scroll a {
    position: relative;
}

.camp-scroll a::before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -6px;
    bottom: -6px;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(59, 130, 246, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity .3s ease;
}

.camp-scroll a:hover::before {
    opacity: 1;
}

@keyframes camp-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Cases Section */
.cases {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.case-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1rem;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.case-meta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.case-label,
.case-scale {
    display: inline-block;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.case-title {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.case-role {
    color: #64748b;
    margin-bottom: 0.6rem;
}

.case-points {
    list-style: none;
}

.case-points li {
    color: #64748b;
    padding-left: 1.2rem;
    position: relative;
    margin: 0.5rem 0;
}

.case-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

.case-note {
    text-align: right;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.case-illustration {
    width: 100%;
}

.case-illustration img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .case-card {
        grid-template-columns: 1fr 200px;
    }
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: white;
}

.process-steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    list-style: none;
}

.process-steps li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.2rem;
    position: relative;
}

.process-steps li h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.process-steps li p {
    color: #64748b;
}

/* FAQ Section */
/* Usecases Section */
.usecases {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.usecases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.usecase-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    min-height: 200px;
    margin-left: 28px;
}

.usecase-badge {
    position: relative;
    display: inline-block;
    background: #e2e8f0;
    color: #1e293b;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .85rem;
    margin-bottom: .6rem;
}

.usecase-badge::after {
    content: none;
    display: none;
}

.usecase-card h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: .4rem;
}

.usecase-sideicon {
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .2));
    opacity: .95;
}

.usecase-sideicon i {
    font-size: 100px;
}

.usecase-card.plan-lite .usecase-sideicon {
    color: #16a34a;
}

.usecase-card.plan-standard .usecase-sideicon {
    color: #2563eb;
}

.usecase-card.plan-pro .usecase-sideicon {
    color: #7c3aed;
}

/* Badge color accents per plan */
.usecase-card.plan-lite .usecase-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
}

.usecase-card.plan-lite .usecase-badge::after {
    border-right-color: #16a34a;
}

.usecase-card.plan-standard .usecase-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
}

.usecase-card.plan-standard .usecase-badge::after {
    border-right-color: #2563eb;
}

.usecase-card.plan-pro .usecase-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
}

.usecase-card.plan-pro .usecase-badge::after {
    border-right-color: #7c3aed;
}

@media (max-width: 768px) {
    .usecase-card {
        margin-left: 8px;
    }

    .usecase-sideicon {
        left: -90px;
    }

    .usecase-sideicon i {
        font-size: 72px;
    }
}

.usecase-intent {
    color: #64748b;
    margin-bottom: .6rem;
}

.usecase-card ul {
    list-style: none;
    margin: .4rem 0 .6rem;
}

.usecase-card ul li {
    color: #475569;
    padding-left: 1.2rem;
    position: relative;
    margin: .35rem 0;
}

.usecase-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #94a3b8;
}

.usecase-tip {
    color: #475569;
    font-size: .95rem;
    display: block;
    margin-left: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: .6rem .8rem;
    border-radius: 12px;
    max-width: none;
    text-align: left;
    position: relative;
}

.usecase-tip::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 14px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #e2e8f0 transparent transparent;
}

.usecase-tip::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 14px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #f1f5f9 transparent transparent;
}

.usecase-card.plan-lite {
    border-top: 4px solid #22c55e;
}

.usecase-card.plan-standard {
    border-top: 4px solid #3b82f6;
}

.usecase-card.plan-pro {
    border-top: 4px solid #8b5cf6;
}

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

    .brand-section {
        width: 100%;
        margin-right: 0;
    }

    .bio-content {
        grid-template-columns: 1fr;
    }

    .bio-photo {
        width: 70%;
        margin: 0 auto;
    }
}

/* Thanks Page Styles */
.thanks-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 70px;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-icon i {
    font-size: 4rem;
    color: #22c55e;
    animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thanks-message {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 100%;
    word-wrap: break-word;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .thanks-content {
        padding: 2rem;
        margin: 1rem;
        max-width: 90%;
    }

    .thanks-content h1 {
        font-size: 1.5rem;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .thanks-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Right header should be block so title goes below */
-.solution-card.right .solution-card-header {
    display: block;
}

+.solution-card.right .solution-card-header {
    display: block !important;
    width: fit-content;
    margin-bottom: .5rem;
}

/* Ensure right-card badge is on its own line and title goes below */
+.solution-card.right>.solution-title {
    display: inline-block;
    width: auto;
    clear: both;
}

/* Styled illustration box variant */
.illust-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 10px;
    width: 96px;
    height: 96px;
}

.illust-box img {
    width: 66% !important;
    height: 66% !important;
    object-fit: contain;
    display: block;
}

/* Hover interactions */
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

.solution-card.left:hover {
    border-top-color: #94a3b8 !important;
}

.solution-card.right:hover {
    box-shadow: 0 18px 36px rgba(59, 130, 246, .18);
}

.solution-card.right:hover::before {
    height: 6px;
}

.solution-card.right .badge-corner {
    transition: transform .25s ease, filter .25s ease;
    transform-origin: 80% 20%;
}

.solution-card.right:hover .badge-corner {
    transform: translateY(-4px) scale(1.06) rotate(6deg);
    filter: none;
}

/* Solutions cards base and hover */
.solutions .solution-card {
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    cursor: default;
}

.solutions .solution-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .14);
}

/* Slightly smaller text for option card list items */
-.option-card ul li {
    font-size: 0.9rem;
}

+.pricing-card.option-card ul li {
    font-size: 0.9rem !important;
}

/* Keep Pro plan monthly fee on one line */
.pricing-card.plan-pro .tier-price {
    white-space: nowrap;
}

/* Reduce font size for both monthly and initial fee in Pro to align */
.pricing-card.plan-pro .tier .tier-price {
    font-size: 0.98rem;
    line-height: 1.25;
}

/* Add spacing between 月額費用 and 初期費用 lines in Pro */
.pricing-card.plan-pro .tier .tier-price+.tier-price {
    margin-top: 0.4rem;
}

/* Utility: keep on one line with slightly smaller font */
.nowrap-tight {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: .4rem 0;
    min-width: 220px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    display: none;
    z-index: 1001;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu .nav-link {
    display: block;
    padding: .5rem .9rem;
    color: #1e293b;
    white-space: nowrap;
}

.dropdown-menu .nav-link:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    cursor: pointer;
}

/* FAQ Section */
.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-weight: 800;
    color: #0f172a;
    list-style: none;
    background: #f8fafc;
}

/* hide default marker across browsers */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    content: "";
}

.faq-qbadge {
    flex: 0 0 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
}

.faq-qtext {
    flex: 1 1 auto;
    font-size: 1.05rem;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    border: 2px solid #94a3b8;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq-item[open] .faq-chevron,
.faq-item details[open] .faq-chevron {
    transform: rotate(-135deg);
}

.faq-item details[open] summary {
    background: #eef2f7;
    border-bottom: 1px solid #e2e8f0;
}

.faq-body {
    padding: 1.1rem 1.6rem 1.4rem;
    background: #ffffff;
}

.faq-ans {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.faq-abadge {
    flex: 0 0 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffffff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-weight: 900;
}

.faq-a {
    color: #475569;
    line-height: 1.9;
}

@media (max-width: 480px) {
    .faq-qbadge {
        flex-basis: 38px;
        height: 38px;
        font-size: .9rem;
    }

    .faq-qtext {
        font-size: 1rem;
    }
}

/* Wordmark remains hidden (logo image already contains wordmark) */
.nav-logo .brand-word {
    display: none !important;
}

/* FAQ Section */
.faq-qtext {
    font-size: 1rem;
}

/* Pricing Summary (comparison table) */
.pricing-compare {
    padding: 4rem 0;
    background: #ffffff;
}

.pricing-compare .container {
    max-width: 1100px;
}

.pricing-compare .intro {
    color: #64748b;
    margin: -.6rem 0 1.6rem;
    text-align: center;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.compare-table th,
.compare-table td {
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: .9rem 1rem;
    text-align: center;
    background: #ffffff;
    font-size: .90rem;
    position: relative;
    min-height: 32px;
    overflow: visible;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    background: #f8fafc;
    width: 32%;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table th:last-child,
.compare-table td:last-child {
    border-right: none;
}

.compare-plan {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: .5px;
}

.compare-plan.lite {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.compare-plan.standard {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.compare-plan.pro {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.compare-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.compare-sub {
    color: #64748b;
    font-size: .85rem;
}

.compare-check {
    font-weight: 700;
}

.compare-dash {
    color: #94a3b8;
}

.compare-note {
    color: #94a3b8;
    font-size: .85rem;
}

/* Accordion blocks for sections (Support / Features) */
.acc {
    margin-top: 0;
}

.acc details {
    border: none;
    border-radius: 12px;
    overflow: visible;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    position: relative;
}

.acc summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    cursor: pointer;
    font-weight: 800;
    color: #0f172a;
    background: #dbe2ea;
    position: relative;
    border: none;
    border-radius: 12px;
}

.acc summary::-webkit-details-marker {
    display: none;
}

.acc details[open] summary {
    background: #c6ceda;
}

.acc summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-left: auto;
}

.acc details[open]>summary::after {
    content: '−';
}

.acc .acc-body {
    padding: 0;
}

.acc .compare-table {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Row label with help tooltip */
.row-label {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.hint {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hint .hint-icon {
    width: 20px;
    height: 20px;
    border: none;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    line-height: 1;
    background: #374151;
    cursor: default;
}

.hint .hint-text {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(10px, -50%);
    background: #0f172a;
    color: #ffffff;
    padding: .45rem .6rem;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    width: min(420px, 70vw);
    text-align: left;
    z-index: 10000;
    font-size: .78rem;
}

.hint .hint-text::after {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #0f172a;
}

.hint:hover .hint-text {
    display: block;
}

/* Circular check icon with straight line tick (teal gradient like the sample) */
td.compare-check {
    position: relative;
    text-align: center;
    font-size: inherit;
}

.compare-check .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: relative;
    background: #cbd5e1;
}

.compare-check .check::after {
    content: '';
    width: 8px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.acc .acc-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
}

.acc details:not([open]) .acc-icon::before {
    content: '+';
}

.acc details[open] .acc-icon::before {
    content: '−';
}

/* 左側のプラス/マイナスは非表示（右側のみ残す） */
.acc .acc-icon {
    display: none !important;
}

+.billing-radio {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    align-items: center;
    margin: .4rem 0 .9rem;
}

+.billing-radio .radio-item {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.2rem;
}

+.billing-radio input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: #2563eb;
}

/* Per-plan solid colors for check icons (Lite/Standard/Pro columns) */
+.compare-table tr>td:nth-child(2).compare-check .check {
    background: #16a34a !important;
}

+.compare-table tr>td:nth-child(3).compare-check .check {
    background: #2563eb !important;
}

+.compare-table tr>td:nth-child(4).compare-check .check {
    background: #7c3aed !important;
}

/* Robust mapping from first th to subsequent tds */
+.compare-table tr>th+td.compare-check .check {
    background: #16a34a !important;
}

+.compare-table tr>th+td+td.compare-check .check {
    background: #2563eb !important;
}

+.compare-table tr>th+td+td+td.compare-check .check {
    background: #7c3aed !important;
}

-.hint .hint-text {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(10px, -50%);
    background: #0f172a;
    color: #ffffff;
    padding: .6rem .8rem;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    width: min(480px, 70vw);
    text-align: left;
    z-index: 10000;
    font-size: .96rem;
}

+.lite-col.compare-check .check {
    background: #16a34a !important;
}

+.std-col.compare-check .check {
    background: #2563eb !important;
}

+.pro-col.compare-check .check {
    background: #7c3aed !important;
}

/* Circular check icon with straight line tick (teal gradient like the sample) */
td.compare-check {
    position: relative;
    text-align: center;
    font-size: inherit;
}

/* disable old span-based check if any remains */
+.compare-check .check {
    display: none !important;
}

/* SVG icon */
+.icon-check {
    width: 22px !important;
    height: 22px !important;
    display: inline-block;
    vertical-align: middle;
}

+.icon-check circle {
    fill: #cbd5e1;
}

+.compare-table tr>td:nth-child(2).compare-check .icon-check circle {
    fill: #16a34a !important;
}

+.compare-table tr>td:nth-child(3).compare-check .icon-check circle,
.compare-table tr>th+td+td.compare-check .icon-check circle,
.std-col.compare-check .icon-check circle {
    fill: #2563eb !important;
}

.compare-table tr>td:nth-child(4).compare-check .icon-check circle,
.compare-table tr>th+td+td+td.compare-check .icon-check circle,
.pro-col.compare-check .icon-check circle {
    fill: #7c3aed !important;
}

+.compare-table tr>th+td.compare-check .icon-check circle {
    fill: #16a34a !important;
}

+.compare-table tr>th+td+td.compare-check .icon-check circle {
    fill: #2563eb !important;
}

+.compare-table tr>th+td+td+td.compare-check .icon-check circle {
    fill: #7c3aed !important;
}

+.lite-col.compare-check .icon-check circle {
    fill: #16a34a !important;
}

+.std-col.compare-check .icon-check circle {
    fill: #2563eb !important;
}

+.pro-col.compare-check .icon-check circle {
    fill: #7c3aed !important;
}

/* Pricing tiles (headline cards) */
.pricing-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.tile-card {
    position: relative;
    border-radius: 20px;
    padding: 1.2rem 1.4rem;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tile-card .tile-header h3 {
    font-size: 1.2rem;
    margin: .2rem 0 .2rem;
    font-weight: 900;
}

.tile-card .tile-sub {
    color: #334155;
    opacity: .9;
    margin: 0;
    font-size: .95rem;
}

.tile-card .tile-icon {
    position: absolute;
    top: -16px;
    right: 16px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    opacity: .95;
    filter: none;
}

.tile-lite {
    background: linear-gradient(180deg, #ecfdf5, #ffffff);
    border-color: #a7f3d0;
}

.tile-standard {
    background: linear-gradient(180deg, #eff6ff, #ffffff);
    border-color: #bfdbfe;
}

.tile-pro {
    background: linear-gradient(180deg, #f5f3ff, #ffffff);
    border-color: #ddd6fe;
}

.tile-lite .tile-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.tile-standard .tile-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.tile-pro .tile-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tile-action {
    margin-top: .9rem;
}

.tile-action a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.tile-action .arrow {
    font-weight: 900;
}

@media(max-width: 768px) {
    .pricing-tiles {
        grid-template-columns: 1fr;
    }
}

/* Ensure tiles take full width if placed inside .pricing-grid */
.pricing-grid>.pricing-tiles {
    grid-column: 1 / -1;
    width: 100%;
}

/* Pricing tiles layout tuning */
.pricing-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tile-card {
    border-radius: 16px;
    padding: 1rem 1.2rem;
}

.tile-card .tile-header h3 {
    font-size: 1.05rem;
}

.tile-card .tile-sub {
    font-size: .9rem;
}

.tile-card .tile-icon {
    top: -12px;
    right: 14px;
    width: 56px;
    height: 56px;
}

/* Overrides for pricing tiles visuals */
.pricing-tiles .tile-card .tile-icon {
    top: 12px !important;
    right: 14px;
    width: 60px;
    height: 60px;
}

.pricing-tiles .tile-card .tile-sub {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.6;
}

.pricing-tiles .tile-card .tile-action a {
    font-weight: 500 !important;
    font-size: .85rem !important;
    color: #334155 !important;
}

/* Tighten spacing to plan comparison */
#plan-compare {
    margin-top: .6rem !important;
}

.pricing .pricing-compare {
    padding-top: 1.2rem !important;
}

.pricing-compare .section-header {
    margin-top: 0 !important;
}

/* Plan title vs description differentiation */
.tile-card .tile-header h3 {
    color: #0f172a;
    font-weight: 900;
    letter-spacing: .3px;
}

.tile-lite .tile-header h3 {
    color: #166534;
}

.tile-standard .tile-header h3 {
    color: #1d4ed8;
}

.tile-pro .tile-header h3 {
    color: #6d28d9;
}

.tile-card .tile-sub {
    color: #111827 !important;
}

/* Icon circle smaller, internal icon bigger */
.tile-card .tile-icon {
    width: 52px !important;
    height: 52px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-card .tile-icon i {
    font-size: 28px !important;
    line-height: 1;
}

/* Tile description readability and layout */
.tile-card .tile-sub {
    font-weight: 500 !important;
    font-size: .98rem !important;
    line-height: 1.75 !important;
    color: #0f172a !important;
    margin-top: .2rem;
}

.tile-card {
    min-height: 160px;
}

.tile-card .tile-header {
    padding-right: 72px;
}

/* Optional: clamp to ~3 lines on narrow screens */
@media (max-width: 768px) {
    .tile-card .tile-sub {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Standardプランカードの下側余白を拡張して文の切れを防止 */
    .tile-card.tile-standard {
        padding-bottom: 1.4rem;
        min-height: 190px;
    }

    /* Standardのサブテキストは省略を解除して全文表示 */
    .tile-card.tile-standard .tile-sub {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
}

/* Tile lead and description styles */
.tile-card .tile-lead {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: .2rem 0 0;
    color: #0f172a;
}

.tile-card .tile-desc {
    font-weight: 500;
    font-size: .95rem;
    line-height: 1.85;
    color: #334155;
    margin: .2rem 0 0;
}

/* Smaller icon circle */
.tile-card .tile-icon {
    width: 46px !important;
    height: 46px !important;
}

.tile-card .tile-icon i {
    font-size: 26px !important;
}

/* Let text span full width; icon overlays without reserving space */
.tile-card .tile-header {
    padding-right: 0 !important;
    position: relative;
}

.tile-card .tile-icon {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 42px !important;
    height: 42px !important;
}

.tile-card .tile-icon i {
    font-size: 24px !important;
}

@media (min-width: 640px) {
    .tile-card .tile-header {
        padding-right: 56px !important;
    }
}

/* Better line breaks for catchy line */
@supports (text-wrap: balance) {
    .tile-card .tile-lead {
        text-wrap: balance;
    }
}

.tile-card .tile-lead {
    word-break: normal;
    line-break: loose;
    hyphens: none;
}

/* Reserve just enough room for icon on desktop */
@media (min-width: 640px) {
    .tile-card .tile-header {
        padding-right: 48px !important;
    }
}

@media (min-width: 640px) {
    .tile-card .tile-header {
        padding-right: 48px !important;
    }

    +.tile-card.tile-lite .tile-header {
        padding-right: 64px !important;
    }

    +.tile-card.tile-lite .tile-icon {
        right: 12px !important;
        width: 38px !important;
        height: 38px !important;
    }
}

/* Pricing tiles title underline (yellow accent like solutions section) */
.tile-card .tile-header h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.tile-card .tile-header h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: #facc15;
    /* yellow accent */
    border-radius: 6px;
    opacity: .8;
}

+.tile-card .tile-header h3::after {
    display: none;
}

+.tile-card .tile-lead {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

+.tile-card .tile-lead::after {
    +content: "";
    +position: absolute;
    +left: 0;
    +bottom: 0;
    +width: 100%;
    +height: 6px;
    +background: #facc15;
    /* yellow accent */
    +border-radius: 6px;
    +opacity: .8;
    +
}

/* Catch copy highlight and full-width text */
.tile-card .tile-header h3 {
    padding-bottom: 0 !important;
    box-shadow: none !important;
}

.tile-card .tile-header h3::after {
    display: none !important;
}

.tile-card .tile-lead {
    position: relative;
    display: inline-block;
    box-shadow: inset 0 -0.34em 0 rgba(250, 204, 21, 0.85);
    padding-bottom: 0;
    margin-top: .15rem;
}

/* Let text use full width; keep icon visually behind text */
.tile-card .tile-header {
    padding-right: 0 !important;
    position: relative;
    z-index: 1;
}

.tile-card .tile-icon {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 0;
    pointer-events: none;
}

/* Remove previous Lite-specific padding override */
@media (min-width: 640px) {
    .tile-card .tile-header {
        padding-right: 0 !important;
    }

    .tile-card.tile-lite .tile-header {
        padding-right: 0 !important;
    }
}

.tile-card .tile-lead {
    position: relative;
    display: block;
    box-shadow: inset 0 -0.34em 0 rgba(250, 204, 21, 0.85);
    padding-bottom: 0;
    margin-top: .2rem;
}

+.tile-card .tile-lead {
    position: relative;
    display: inline-block;
    width: fit-content;
    box-shadow: inset 0 -0.34em 0 rgba(250, 204, 21, 0.85);
    padding-bottom: 0;
    margin-top: .2rem;
}

/* Constrain catch copy highlight to text width */
.tile-card .tile-lead {
    display: inline-block !important;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    box-shadow: inset 0 -0.34em 0 rgba(250, 204, 21, 0.85);
    padding-bottom: 0;
    margin-top: .2rem;
}

.tile-card .tile-lead::after {
    display: none !important;
}

/* Ensure plan name and catch copy are on separate lines */
.tile-card .tile-header h3 {
    display: block !important;
    margin-bottom: .1rem;
}

/* Problem illustrations for left cards */
-.problem-illustration {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

+.problem-illustration {
    position: absolute;
    left: -64px !important;
    right: auto !important;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    z-index: 2;
}

.problem-illustration i {
    color: #fff;
    font-size: 28px;
}

-.solution-card.left {
    position: relative;
}

+.solution-card.left {
    position: relative;
    overflow: visible;
}

.problem-illustration.icon-a {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.problem-illustration.icon-b {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.problem-illustration.icon-c {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

/* Problem illustrations image */
-.problem-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

+.problem-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

+@media (max-width: 768px) {
    +.problem-illustration {
        left: -44px !important;
        width: 64px;
        height: 64px;
    }

    +
}

/* Left card problem image outside-left absolute positioning */
.solution-card.left {
    position: relative;
    overflow: visible;
}

.solution-card.left .problem-illustration {
    position: absolute;
    left: -64px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.solution-card.left .problem-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .solution-card.left .problem-illustration {
        left: -44px;
        width: 64px;
        height: 64px;
    }
}

/* Force outside-left images in Solutions (mirror Use Cases style) */
.solutions .solution-card.left {
    overflow: visible !important;
    position: relative;
}

.solutions .solution-card.left .problem-illustration {
    position: absolute !important;
    left: -150px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 50% !important;
    /* scale with card height */
    aspect-ratio: 1 / 1 !important;
    width: auto !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12) !important;
}

.solutions .solution-card.left .problem-illustration img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block;
}

@media (max-width: 900px) {
    .solutions .solution-card.left .problem-illustration {
        left: -120px !important;
    }
}

@media (max-width: 640px) {
    .solutions .solution-card.left .problem-illustration {
        left: -90px !important;
        height: 40% !important;
    }
}

/* Non-conflicting left-photo placed outside-left */
.solutions .solution-card.left {
    position: relative;
    overflow: visible;
}

.solutions .solution-card.left .problem-photo {
    position: absolute;
    left: -130px;
    top: 50%;
    transform: translateY(-50%);
    width: 96px;
    height: 96px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.solutions .solution-card.left .problem-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .solutions .solution-card.left .problem-photo {
        left: -110px;
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 640px) {
    .solutions .solution-card.left .problem-photo {
        left: -88px;
        width: 72px;
        height: 72px;
    }
}

/* SVG icon size for pricing comparison checks */
.icon-check {
    width: 16px !important;
    height: 16px !important;
    display: inline-block;
    vertical-align: middle;
}

/* Lighter yellow highlight for pricing tiles catch copy */
.tile-card .tile-lead {
    display: inline-block !important;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    box-shadow: inset 0 -0.34em 0 rgba(255, 209, 102, 0.65) !important;
    padding-bottom: 0;
    margin-top: .2rem;
}

/* SVG icon size for pricing comparison checks */
.icon-check {
    width: 18px !important;
    height: 18px !important;
    display: inline-block;
    vertical-align: middle;
}

/* Color mapping by column and by class */
.compare-table tr>td:nth-child(2).compare-check .icon-check circle,
.compare-table tr>th+td.compare-check .icon-check circle,
.lite-col.compare-check .icon-check circle {
    fill: #16a34a !important;
}

.compare-table tr>td:nth-child(3).compare-check .icon-check circle,
.compare-table tr>th+td+td.compare-check .icon-check circle,
.std-col.compare-check .icon-check circle {
    fill: #2563eb !important;
}

.compare-table tr>td:nth-child(4).compare-check .icon-check circle,
.compare-table tr>th+td+td+td.compare-check .icon-check circle,
.pro-col.compare-check .icon-check circle {
    fill: #7c3aed !important;
}

/* Initial fee display styles */
.compare-table .strike {
    text-decoration: line-through;
    color: #9ca3af;
    margin-right: .35rem;
}

.compare-table .init-note {
    color: #64748b;
    font-size: .9rem;
    padding: .4rem 0;
}

.compare-table .init-note-row th {
    border-right: none;
}

/* Highlight for zero initial fee in yearly mode */
.init-zero {
    background: rgba(244, 63, 94, 0.12);
    color: #b91c1c;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

/* Billing toggle container (outside table) */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-weight: 800;
    color: #334155;
    justify-content: center;
}

/* Switch styles */
.billing-switch {
    position: relative;
    width: 64px;
    height: 34px;
    background: #14b8a6;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
    display: inline-flex;
    align-items: center;
    padding: 3px;
}

.billing-switch.off {
    background: #a8b0b9;
}

.billing-switch .knob {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 999px;
    transform: translateX(30px);
    transition: transform .2s ease;
}

.billing-switch.off .knob {
    transform: translateX(0);
}

.billing-toggle .label {
    font-weight: 800;
    color: #475569;
}

.billing-toggle .note {
    color: #0f766e;
    font-weight: 800;
}

/* Position toggle above header center without overlapping plan names */
.compare-table thead .billing-row th[colspan="3"] {
    position: relative;
    padding: 34px 0 6px;
}

#billingToggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -28px;
    z-index: 50;
}

/* Gray switch when monthly (off) */
.billing-switch {
    position: relative;
    width: 64px;
    height: 34px;
    background: #14b8a6;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease;
    display: inline-flex;
    align-items: center;
    padding: 3px;
}

.billing-switch.off {
    background: #a8b0b9;
}

.billing-switch .knob {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 999px;
    transform: translateX(30px);
    transition: transform .2s ease;
}

.billing-switch.off .knob {
    transform: translateX(0);
}

.billing-toggle {
    align-items: center;
}

+.billing-toggle .label {
    font-weight: 800;
    color: #475569;
}

+.billing-toggle .note {
    color: #0f766e;
    font-weight: 800;
}

/* Reset toggle position after moving outside table */
#billingToggle {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
}

/* Spacing for toggle between tiles and compare table */
#pricing .billing-toggle {
    margin: 1.2rem 0 .6rem;
}

#plan-compare {
    margin-top: .8rem !important;
}

/* Inline wrapper to keep 年払いと注記を同一ベースラインに */
.billing-toggle .label-note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* 少し右へ寄せる（スイッチの左右間隔） */
.billing-toggle {
    gap: 1.4rem;
}

/* Mobile adjustments: shrink text to avoid wrapping/overflow in compare table */
@media (max-width: 480px) {

    .compare-table th,
    .compare-table td {
        font-size: .78rem;
        padding: .55rem .5rem;
    }

    .compare-table th:first-child,
    .compare-table td:first-child {
        width: 36%;
    }

    .compare-price {
        font-size: 1.08rem;
    }

    .compare-plan {
        font-size: .95rem;
        letter-spacing: .3px;
    }

    .row-label {
        gap: .2rem;
    }

    .hint .hint-icon {
        width: 16px;
        height: 16px;
        font-size: .62rem;
    }

    .compare-table .init-note {
        font-size: .78rem;
    }

    .billing-toggle .label,
    .billing-toggle .note {
        font-size: .9rem;
    }

    /* Prevent line break within 契約 on small screens */
    .billing-toggle {
        gap: 1rem;
    }

    .billing-toggle .label {
        font-size: .88rem;
        white-space: nowrap;
    }

    .billing-toggle .note {
        font-size: .82rem;
    }
}

/* FAQ readability enhancements */
#faq .faq-subhead {
    font-weight: 900;
    color: #0f172a;
    background: linear-gradient(transparent 60%, #fde68a 60%);
    display: inline-block;
    padding: 0 .2rem;
    margin: .8rem 0 .4rem;
}

#faq .faq-body .faq-a ul {
    margin: .4rem 0 .8rem 1.2rem;
}

#faq .faq-body .faq-a ul ul {
    margin: .2rem 0 .6rem 1.0rem;
}

#faq .faq-body .faq-a li {
    line-height: 1.7;
}

#faq .faq-body .faq-a>ul.plan-list {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    padding: .8rem 1rem;
}

#faq .faq-body .timing-list {
    border: 1px dashed #94a3b8;
    background: #f1f5f9;
    border-radius: 10px;
    padding: .8rem 1rem;
}

/* Keep small headings bold, normalize other bold text inside boxes */
#faq .faq-body .faq-a>ul>li>strong {
    font-weight: 800;
}

#faq .faq-body .faq-a>ul ul strong {
    font-weight: 400;
}

#faq .faq-body .timing-list strong {
    font-weight: 400;
}

#faq .faq-body .faq-a strong {
    font-weight: 400 !important;
}

/* ========== 追加レスポンシブ対応 ========== */

/* タブレット (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-graphic {
        width: 280px;
        height: 280px;
    }
}

/* モバイル (768px以下) */
@media (max-width: 768px) {

    /* ========== ヘッダー ========== */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        max-width: 300px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-radius: 0 0 0 16px;
        z-index: 998;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-link {
        display: block;
        padding: 10px 20px;
    }

    /* ドロップダウンをモバイル用に調整 */
    .dropdown-menu {
        position: static;
        display: none;
        background: #f8f9fa;
        padding: 10px 0;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: flex;
        z-index: 999;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-7px, 7px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-7px, -7px);
    }

    /* ========== ヒーローセクション ========== */
    .hero {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 16px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-tagline {
        text-align: center;
    }

    .tagline-text {
        font-size: 0.75rem;
        padding-left: 0;
        letter-spacing: 1px;
    }

    .tagline-text::before {
        display: none;
    }

    .hero-title {
        font-size: 1.85rem;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .title-product {
        white-space: normal;
    }

    .hero-subtitle-new {
        text-align: center;
    }

    .subtitle-desktop-only {
        display: none;
    }

    .subtitle-mobile-only {
        display: block;
    }

    .subtitle-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-graphic {
        width: 260px;
        height: 260px;
    }

    .scroll-indicator {
        display: none;
    }


    /* ========== セクション共通 ========== */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* ========== Strengths Map ========== */
    .strengths-map {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .map-arrow {
        display: none;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .capability-card {
        padding: 0.8rem;
    }

    /* ========== Features Section ========== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ========== Cases Section ========== */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        grid-template-columns: 1fr !important;
    }

    .case-illustration {
        display: none;
    }

    /* ========== Contact Section ========== */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
    }

    /* ========== Footer ========== */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 極小モバイル (480px以下) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .subtitle-text {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-graphic {
        width: 220px;
        height: 220px;
    }

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

/* ========== About Page Styles ========== */
.about-page {
    padding-top: 70px;
    background: #f8fafc;
    overflow-x: hidden;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.page-hero .en-title {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: white;
}

.mission-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #3b82f6;
    background: #eff6ff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.mission-content h2 {
    font-size: 2.2rem;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 2rem;
    font-weight: 800;
}

.mission-desc .lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.mission-desc p {
    color: #64748b;
    line-height: 1.8;
}

.highlight {
    color: #3b82f6;
    font-weight: 700;
}

/* Mission Visual */
.mission-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-visual:hover .visual-image {
    transform: scale(1.05);
}

.glass-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 280px;
    transform: none;
}

.glass-card i {
    font-size: 2.5rem;
    color: #3b82f6;
}

.vc-text span {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
}

.vc-text small {
    color: #64748b;
    font-weight: 600;
}

/* Company Info Section */
.company-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.section-header-center p {
    color: #64748b;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.company-info-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.company-list {
    display: grid;
    gap: 0;
}

.list-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.list-row:last-child {
    border-bottom: none;
}

.list-row dt {
    font-weight: 700;
    color: #1e293b;
}

.list-row dd {
    color: #475569;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .mission-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mission-visual {
        height: 300px;
    }

    .main-circle {
        width: 240px;
        height: 240px;
    }

    .sub-circle {
        width: 140px;
        height: 140px;
    }

    .company-info-card {
        padding: 1.5rem;
    }

    .list-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.2rem 0;
    }

    .list-row dt {
        font-size: 0.9rem;
        color: #64748b;
    }

    .list-row dd {
        font-weight: 500;
        color: #0f172a;
    }
}