/*
Theme Name: First & Effect
Theme URI: https://f-effect.com
Author: 株式会社first & effect
Author URI: https://f-effect.com
Description: 株式会社first & effect公式サイト用のWordPressテーマ。固定ページベースで管理画面から内容編集が可能、シングルページLPから多ページ展開まで対応。PC追従フッターバー・追従メニューのWPメニュー管理・ヘッダーCTAのWPメニュー管理・メニュー項目別CSS・ページ別CSSに対応。
Version: 1.7.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: first-effect
Tags: one-page, business, corporate, sales, inside-sales
*/

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a2332;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1e6eff; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .75; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 700; line-height: 1.4; color: #0a2540; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

:root {
    --color-primary: #1e6eff;
    --color-primary-dark: #0a52d9;
    --color-primary-light: #e8f0ff;
    --color-navy: #0a2540;
    --color-navy-light: #1a3a5c;
    --color-accent: #ffb020;
    --color-text: #1a2332;
    --color-text-light: #5a6a7a;
    --color-bg-alt: #f5f8fc;
    --color-border: #dfe6ef;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, .08);
    --shadow-lg: 0 16px 48px rgba(10, 37, 64, .12);
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1180px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
    background: var(--color-navy);
    color: rgba(255,255,255,.9);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .section__title .highlight {
    background: linear-gradient(transparent 65%, rgba(109,164,255,.4) 65%);
}
.section--grid {
    background-image:
        linear-gradient(rgba(30,110,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,110,255,.045) 1px, transparent 1px);
    background-size: 24px 24px;
}
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.35;
    margin-bottom: 16px;
}
.section__title .highlight {
    background: linear-gradient(transparent 65%, rgba(30,110,255,.22) 65%);
    padding: 0 4px;
}
.section__lead {
    color: var(--color-text-light);
    font-size: 16px;
    max-width: 720px;
    margin: 0 auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.site-logo { display: flex; align-items: center; }
.site-logo:hover { opacity: 1; }
.site-logo img { height: 48px; width: auto; max-width: 240px; display: block; }
/* Custom-logo (the_custom_logo) fallback */
.site-logo .custom-logo { height: 48px; width: auto; max-width: 240px; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0; padding: 0;
}
.global-nav a {
    color: var(--color-navy);
    font-size: 14px;
    font-weight: 600;
}
.header-cta-group { display: flex; gap: 8px; align-items: center; }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
    line-height: 1;
}
.header-cta--primary {
    background: var(--color-primary);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(30,110,255,.28);
}
.header-cta--primary:hover { opacity: 1; background: var(--color-primary-dark); transform: translateY(-1px); }
.header-cta--ghost {
    background: transparent;
    color: var(--color-navy) !important;
    border: 1.5px solid var(--color-border);
}
.header-cta--ghost:hover { opacity: 1; border-color: var(--color-primary); color: var(--color-primary) !important; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px; height: 44px;
    position: relative;
    z-index: 101;
}
.nav-toggle span {
    position: absolute;
    left: 10px; right: 10px;
    height: 2px;
    background: var(--color-navy);
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 99;
    overflow-y: auto;
    padding: 24px 24px 80px;
}
.nav-drawer.is-open { display: block; }
.nav-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    border-top: 1px solid var(--color-border);
}
.nav-drawer__list li { border-bottom: 1px solid var(--color-border); }
.nav-drawer__list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4px;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 16px;
}
.nav-drawer__list a::after {
    content: "→";
    color: var(--color-primary);
    font-size: 14px;
}
.nav-drawer__cta { display: flex; flex-direction: column; gap: 12px; }
.nav-drawer__cta .btn { width: 100%; }
.nav-drawer__contact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed var(--color-border);
    text-align: center;
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.8;
}
.nav-drawer__contact a { color: var(--color-primary); font-weight: 700; }

/* Hero - SVG-based */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f8fc 0%, #fff 50%, #eef3fa 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30,110,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,110,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(30,110,255,.22), transparent 60%);
    pointer-events: none;
    border-radius: 50%;
    filter: blur(40px);
}
.hero .container { max-width: 1320px; }
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 40px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .14em;
    background: rgba(30,110,255,.1);
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
}
.hero__eyebrow::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(30,110,255,.18);
}
.hero__title {
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.22;
    margin-bottom: 28px;
    letter-spacing: -.02em;
    font-weight: 800;
}
.hero__title .accent { color: var(--color-primary); }
.hero__lead {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.95;
    color: var(--color-text-light);
    margin-bottom: 36px;
    max-width: 540px;
}
.hero__features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}
.hero__feature svg { flex: none; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__cta .btn { padding: 18px 32px; font-size: 15px; }

.hero__visual {
    position: relative;
    width: 100%;
    height: 600px;
    max-width: none;
    margin-left: 0;
}
.hero__visual-svg { width: 100%; height: 100%; display: block; }
.hero__floating {
    position: absolute;
    background: #fff;
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}
.hero__floating--1 { top: 6%; left: -2%; animation-delay: 0s; }
.hero__floating--2 { top: 48%; right: 2%; animation-delay: 2s; }
.hero__floating--3 { bottom: 12%; left: 4%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero__floating-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--color-primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
    flex: none;
}
.hero__floating-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}
.hero__floating-text small {
    display: block;
    font-size: 10px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Market Stats (市場背景) */
.market-stats {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: center;
}
.market-stat {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    border-top: 6px solid var(--color-primary);
}
.market-stat__donut {
    width: 240px;
    height: 240px;
    margin: 0 auto 16px;
    display: block;
}
.market-stat__num {
    font-size: 80px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.market-stat__num small { font-size: 32px; }
.market-stat__label {
    font-size: 14px;
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.7;
}
.market-stat-issues { display: grid; gap: 16px; }
.market-stat-issue {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all .2s ease;
}
.market-stat-issue:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.market-stat-issue__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    flex: none;
}
.market-stat-issue h4 { font-size: 16px; margin: 0 0 4px; color: var(--color-navy); }
.market-stat-issue p { font-size: 13px; color: var(--color-text-light); margin: 0; line-height: 1.6; }

/* Concept (解決策) - on dark bg */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.concept-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    color: #fff;
    transition: transform .3s ease, background .3s ease;
}
.concept-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.1);
}
.concept-card__num {
    display: inline-block;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.concept-card__title { color: #fff; font-size: 20px; margin-bottom: 10px; }
.concept-card__text { font-size: 14px; line-height: 1.85; opacity: .85; margin: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    line-height: 1;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(30,110,255,.32);
}
.btn--primary:hover { opacity: 1; background: var(--color-primary-dark); transform: translateY(-2px); }
.btn--secondary {
    background: var(--color-navy);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(10,37,64,.24);
}
.btn--secondary:hover { opacity: 1; background: var(--color-navy-light); transform: translateY(-2px); }
.btn--outline {
    background: #fff;
    color: var(--color-navy) !important;
    border: 2px solid var(--color-border);
}
.btn--outline:hover { opacity: 1; border-color: var(--color-primary); color: var(--color-primary) !important; transform: translateY(-2px); }
.btn--large { padding: 18px 36px; font-size: 15px; }

/* News - お知らせ（ヒーロー直下） */
.section--news {
    padding: 56px 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}
.news-head {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.news-head__eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: .18em;
    text-transform: uppercase;
}
.news-head__title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--color-navy);
    margin: 0;
    letter-spacing: -.01em;
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}
.news-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 18px 4px;
    border-bottom: 1px solid var(--color-border);
}
.news-item__date {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: .04em;
    font-family: "Helvetica Neue", Arial, sans-serif;
}
.news-item__title {
    font-size: 15px;
    color: var(--color-navy);
    line-height: 1.65;
    text-decoration: none;
    font-weight: 600;
}
a.news-item__title { transition: color .2s ease; }
a.news-item__title:hover { color: var(--color-primary); opacity: 1; }

/* Pain Points - お困り5項目 */
.pain-points {
    background: var(--color-navy);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.pain-points::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 28px 28px;
}
.pain-points__head { position: relative; text-align: center; margin-bottom: 48px; }
.pain-points__eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .18em;
    font-weight: 700;
    color: #6da4ff;
    margin-bottom: 12px;
}
.pain-points__title { color: #fff; font-size: clamp(24px, 3.5vw, 34px); margin: 0; }
.pain-points__title .em { color: var(--color-accent); }
.pain-points__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pain-points__item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    color: #fff;
    transition: transform .3s ease, background .3s ease;
}
.pain-points__item:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.pain-points__num {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.pain-points__text { font-size: 15px; font-weight: 700; line-height: 1.5; margin: 0; }
.pain-points__cta { text-align: center; margin-top: 40px; }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.reason-card__num {
    position: absolute;
    top: 24px; right: 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .1em;
}
.reason-card__icon {
    width: 72px; height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(30,110,255,.15), rgba(30,110,255,.05));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}
.reason-card__title { font-size: 20px; margin-bottom: 12px; }
.reason-card__text { font-size: 14px; color: var(--color-text-light); line-height: 1.85; margin: 0; }

/* Issues - intermediate detail */
.issues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.issue-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
}
.issue-card__icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: rgba(30,110,255,.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
}
.issue-card__title { font-size: 17px; margin-bottom: 8px; }
.issue-card__text { font-size: 13px; color: var(--color-text-light); margin: 0; line-height: 1.8; }

/* Features */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature__num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--color-primary);
    background: rgba(30,110,255,.1);
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.feature__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.4; margin-bottom: 20px; }
.feature__text { font-size: 15px; color: var(--color-text-light); line-height: 1.9; margin-bottom: 24px; }
.feature__list { list-style: none; padding: 0; margin: 0; }
.feature__list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}
.feature__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 20px; height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.feature__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #0a2540, #1e6eff);
    box-shadow: var(--shadow-lg);
}
.feature__visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #fff;
}
.fv-criteria {
    background: rgba(255,255,255,.95);
    color: var(--color-navy);
    padding: 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    min-width: 280px;
}
.fv-criteria h5 { font-size: 13px; color: var(--color-primary); margin-bottom: 12px; letter-spacing: .1em; }
.fv-criteria ul { list-style: none; padding: 0; margin: 0; }
.fv-criteria li {
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fv-criteria li:last-child { border: 0; }
.fv-criteria li::before {
    content: "";
    width: 16px; height: 16px;
    background: var(--color-primary);
    border-radius: 4px;
    flex: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'><path fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}
.fv-network {
    background: rgba(255,255,255,.95);
    color: var(--color-navy);
    padding: 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    text-align: center;
    width: 100%;
    max-width: 360px;
}
.fv-network__map { width: 100%; max-width: 280px; aspect-ratio: 1/1; margin: 0 auto 12px; }
.fv-network h5 { font-size: 13px; color: var(--color-primary); letter-spacing: .1em; margin-bottom: 6px; }
.fv-network p { font-size: 12px; color: var(--color-text-light); margin: 0; line-height: 1.7; }
.fv-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 440px;
}
.fv-chart__col {
    background: rgba(255,255,255,.95);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.fv-chart__col--bad { border-top: 4px solid #e74c3c; }
.fv-chart__col--good { border-top: 4px solid var(--color-primary); }
.fv-chart__mark { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.fv-chart__mark--bad { color: #e74c3c; }
.fv-chart__mark--good { color: var(--color-primary); }
.fv-chart__label { font-size: 12px; color: var(--color-navy); font-weight: 700; margin-bottom: 8px; }
.fv-chart__desc { font-size: 11px; color: var(--color-text-light); line-height: 1.6; }

/* Comparison */
.comparison {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #fff;
}
.comparison table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison th, .comparison td {
    padding: 18px 16px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    vertical-align: middle;
}
.comparison thead th { background: var(--color-navy); color: #fff; font-size: 13px; font-weight: 700; }
.comparison thead th.is-highlight { background: var(--color-primary); }
.comparison thead th.is-highlight .badge-recommend {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-navy);
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(255,176,32,.45);
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.comparison tbody th {
    background: var(--color-bg-alt);
    text-align: left;
    padding-left: 24px;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 13px;
    white-space: nowrap;
}
.comparison td.is-highlight { background: rgba(30,110,255,.04); font-weight: 600; color: var(--color-navy); }
.mark-circle { color: var(--color-primary); font-size: 22px; font-weight: 800; }
.mark-double { color: #e11; font-size: 22px; font-weight: 800; }
.mark-triangle { color: #c90; font-size: 18px; font-weight: 800; }
.mark-cross { color: #999; font-size: 20px; font-weight: 800; }
.comparison td .mark-text { display: block; font-size: 11px; color: var(--color-text-light); margin-top: 4px; font-weight: 400; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow::before {
    content: "";
    position: absolute;
    top: 40px; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), rgba(30,110,255,.2));
    z-index: 0;
}
.flow-step { position: relative; text-align: center; z-index: 1; }
.flow-step__num {
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.flow-step__title { font-size: 15px; font-weight: 700; color: var(--color-navy); margin-bottom: 6px; }
.flow-step__text { font-size: 12px; color: var(--color-text-light); line-height: 1.7; margin: 0; }

/* CTA Band */
.cta-band {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
}
.cta-band__inner { position: relative; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; }
.cta-band p { opacity: .88; margin-bottom: 32px; font-size: 15px; }
.cta-band__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--outline {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.4);
}
.cta-band .btn--outline:hover { background: #fff; color: var(--color-navy) !important; border-color: #fff; }

/* CEO Profile */
.ceo { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.ceo__card { position: sticky; top: 100px; }
.ceo__photo {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #0a2540, #1e6eff);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ceo__photo svg { width: 70%; height: 70%; opacity: .35; }
.ceo__photo-initial {
    position: absolute;
    color: #fff;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.ceo__name-en {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 4px;
}
.ceo__name { font-size: 24px; margin-bottom: 4px; }
.ceo__title { font-size: 13px; color: var(--color-text-light); margin-bottom: 16px; }
.ceo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ceo__chip {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.ceo__body { font-size: 15px; line-height: 2; }
.ceo__body h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin: 32px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--color-primary);
}
.ceo__body h3:first-child { margin-top: 0; }
.ceo__body p { color: var(--color-text); }
.ceo__highlights {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.ceo__highlight-item { display: flex; flex-direction: column; gap: 4px; }
.ceo__highlight-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}
.ceo__highlight-label { font-size: 12px; color: var(--color-text-light); line-height: 1.5; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.company__table {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.company__table dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; }
.company__table dt, .company__table dd {
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
    margin: 0;
    font-size: 14px;
}
.company__table dt { background: var(--color-bg-alt); font-weight: 700; color: var(--color-navy); }
.company__table dd { line-height: 1.8; }
.company__table dl > *:nth-last-child(-n+2) { border-bottom: 0; }
.company__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #0a2540, #1e6eff);
    box-shadow: var(--shadow-md);
    position: relative;
}

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.faq-item.is-open { box-shadow: var(--shadow-sm); }
.faq-item__q {
    padding: 20px 56px 20px 56px;
    position: relative;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 15px;
    line-height: 1.6;
    user-select: none;
}
.faq-item__q::before {
    content: "Q";
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 800;
}
.faq-item__q::after {
    content: "";
    position: absolute;
    right: 24px; top: 50%;
    width: 12px; height: 12px;
    border-right: 2px solid var(--color-navy);
    border-bottom: 2px solid var(--color-navy);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .3s ease;
}
.faq-item.is-open .faq-item__q::after { transform: translateY(-35%) rotate(-135deg); }
.faq-item__a {
    padding: 0 24px 0 56px;
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.9;
    transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-item__a { padding: 0 24px 20px 56px; max-height: 500px; }

/* Contact */
.contact-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 40px;
}
.contact-type {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all .2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.contact-type:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    opacity: 1;
}
.contact-type--featured { border-color: var(--color-primary); }
.contact-type__icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
}
.contact-type--featured .contact-type__icon {
    background: var(--color-primary);
    color: #fff;
}
.contact-type__title { font-size: 18px; margin-bottom: 6px; color: var(--color-navy); }
.contact-type__desc { font-size: 12px; color: var(--color-text-light); margin: 0 0 16px; line-height: 1.7; min-height: 42px; }
.contact-type__btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
}

.contact {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact .form-row { margin-bottom: 20px; }
.contact label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-navy);
}
.contact .required {
    display: inline-block;
    background: #e11;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 700;
    vertical-align: middle;
}
.contact input[type="text"], .contact input[type="email"], .contact input[type="tel"],
.contact input[type="url"], .contact select, .contact textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s ease;
}
.contact input:focus, .contact select:focus, .contact textarea:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30,110,255,.12);
}
.contact textarea { min-height: 140px; resize: vertical; }
.contact .form-privacy {
    background: var(--color-bg-alt);
    padding: 16px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 20px 0;
    max-height: 160px;
    overflow-y: auto;
}
.contact .form-submit { text-align: center; margin-top: 24px; }

/* Page content */
.page-content { font-size: 15px; line-height: 1.9; color: var(--color-text); }
.page-content h2 { font-size: 22px; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--color-primary); }
.page-content h3 { font-size: 18px; margin: 32px 0 12px; padding-left: 14px; border-left: 4px solid var(--color-primary); }
.page-content h4 { font-size: 16px; margin: 24px 0 10px; }
.page-content p { margin: 0 0 1.2em; }
.page-content ul, .page-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.page-content li { margin-bottom: 4px; }
.page-content a { color: var(--color-primary); text-decoration: underline; }
.page-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
    color: var(--color-text-light);
}
.page-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-content table th, .page-content table td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
    font-size: 14px;
}
.page-content table th { background: var(--color-bg-alt); font-weight: 700; }

/* Breadcrumbs */
.breadcrumbs {
    background: var(--color-bg-alt);
    padding: 100px 0 16px;
    font-size: 12px;
    color: var(--color-text-light);
}
.breadcrumbs ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; color: var(--color-text-light); }
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs li:last-child { color: var(--color-navy); font-weight: 600; }

.post-list { display: grid; gap: 24px; margin-top: 40px; }
.post-item {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.post-item h2 { font-size: 20px; margin-bottom: 8px; }
.post-item h2 a { color: var(--color-navy); }
.post-meta { font-size: 12px; color: var(--color-text-light); margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,.8); padding: 56px 0 24px; font-size: 13px; }
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.site-footer__col { min-width: 0; }
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}
.site-footer__logo:hover { opacity: 1; }
.site-footer__logo img { height: 32px; width: auto; max-width: 180px; display: block; }
.site-footer__desc { line-height: 1.8; opacity: .7; font-size: 12px; }
/* Footer widgets */
.footer-widget { margin-bottom: 24px; }
.footer-widget:last-child { margin-bottom: 0; }
.footer-widget__title {
    color: #fff;
    font-size: 13px;
    margin: 0 0 16px;
    letter-spacing: .05em;
    font-weight: 700;
}
.site-footer h5 { /* legacy fallback */
    color: #fff;
    font-size: 13px;
    margin-bottom: 16px;
    letter-spacing: .05em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; opacity: 1; }
/* Widget specifics: text widget paragraphs, search, nav menu, etc. */
.footer-widget p { margin: 0 0 .8em; line-height: 1.8; opacity: .85; font-size: 12px; }
.footer-widget p:last-child { margin-bottom: 0; }
.footer-widget .menu,
.footer-widget .nav_menu,
.footer-widget .menu-item,
.footer-widget ul.menu { padding: 0; }
.site-footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: 11px;
    opacity: .6;
}

/* Fixed CTA (Mobile) */
.fixed-cta {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 90;
    gap: 8px;
}
.fixed-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(10,37,64,.32);
}
.fixed-cta__primary { background: var(--color-primary); color: #fff !important; }
.fixed-cta__secondary { background: var(--color-navy); color: #fff !important; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
/* v1.6.0:
 * @media (max-width: 960px) と @media (max-width: 640px) のブロックは
 * /assets/css/responsive.php に動的生成として物理移動した。
 * これにより、「外観 → サイト設定」でブレイクポイント値を変更すると
 * 動的に切替できるようになる。
 *
 * デフォルト値 (960 / 640) のときは見た目は完全に同じ。
 */

/* ====================================================================
 * 以下はテーマv1.1.0以降で追加された機能のCSSです。
 * 元の style.css(v2.0.0時点) の本体スタイルには手を加えていません。
 * このセクションだけ追記する形になっています。
 * ==================================================================== */

/* --------------------------------------------------------------------
 * v1.1.0: ヘッダーCTA / 追従バーをWPメニュー化したことによる出力構造
 *   - <ul class="header-cta-group__menu"><li><a>…
 *   - <ul class="pc-fixed-bar__menu"><li><a>…
 *   - <ul class="fixed-cta__menu"><li><a>…
 * 元の <a class="header-cta header-cta--ghost">… 等と同じ見た目を
 * <ul>/<li> 構造でも維持するための整形CSS。
 * -------------------------------------------------------------------- */

/* ヘッダーCTAボタン群 (PC右上) */
.header-cta-group__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-cta-group__menu > li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.header-cta-group__menu > li > a {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    border: 2px solid transparent;
    transition: all .2s ease;
    color: var(--color-navy);
    background: transparent;
}
.header-cta-group__menu > li > a:hover { opacity: 1; }

/* --------------------------------------------------------------------
 * v1.1.0: PC追従フッターバー (.pc-fixed-bar)
 *   - PC幅(961px以上)でのみ表示
 *   - body.has-pc-fixed-bar で下部に padding を確保
 *
 * v1.2.1: ボタンを中央寄せ・横長(B)・文字大(B)に調整
 *   - justify-content: center
 *   - ボタン: min-width: 220px / padding: 14px 56px / font-size: 15px
 * -------------------------------------------------------------------- */
.pc-fixed-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(10,37,64,.08);
    padding: 14px 24px;
}
.pc-fixed-bar__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center; /* v1.2.1: 中央寄せ */
    gap: 16px;
}

/* PC追従バー内のメニュー (wp_nav_menu出力) */
.pc-fixed-bar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* v1.2.1: メニュー内も中央 */
    gap: 16px;
}
.pc-fixed-bar__menu > li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.pc-fixed-bar__menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 220px;        /* v1.2.1: 横長 */
    padding: 14px 56px;      /* v1.2.1: 横長 */
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;         /* v1.2.1: 文字大 */
    line-height: 1.2;
    color: var(--color-navy);
    background: transparent;
    border: 2px solid transparent;
    transition: all .2s ease;
}
.pc-fixed-bar__menu > li > a:hover { opacity: 1; }

/* PC追従バーのフォールバック用ボタン (メニュー未設定時)
   ※ v1.2.1: こちらも中央寄せ・横長・文字大 を反映 */
.pc-fixed-bar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 220px;        /* v1.2.1: 横長 */
    padding: 14px 56px;      /* v1.2.1: 横長 */
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;         /* v1.2.1: 文字大 */
    line-height: 1.2;
    transition: all .2s ease;
}
.pc-fixed-bar__cta--ghost {
    color: var(--color-primary) !important;
    background: #fff;
    border: 2px solid var(--color-primary);
}
.pc-fixed-bar__cta--ghost:hover { background: var(--color-primary-light); opacity: 1; }
.pc-fixed-bar__cta--primary {
    color: #fff !important;
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.pc-fixed-bar__cta--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); opacity: 1; }

/* --------------------------------------------------------------------
 * v1.1.0: スマホ追従(.fixed-cta)を wp_nav_menu 化したときの整形
 *   元のスマホ用は <a class="fixed-cta__primary"> 等で並んでいたが、
 *   メニュー化すると <ul class="fixed-cta__menu"><li><a>… になるので
 *   元の見た目と同じく flex で横並びにしてボタン化する。
 * -------------------------------------------------------------------- */
.fixed-cta__menu {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.fixed-cta__menu > li {
    flex: 1;
    display: block;
    margin: 0;
    padding: 0;
}
.fixed-cta__menu > li > a {
    display: block;
    text-align: center;
    padding: 14px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 8px 24px rgba(10,37,64,.32);
}

/* --------------------------------------------------------------------
 * v1.1.0: フッター左カラム住所表示は theme-extra.css 側で定義
 * (.site-footer__address は /assets/css/theme-extra.css 参照)
 * -------------------------------------------------------------------- */

/* --------------------------------------------------------------------
 * v1.1.0: PC追従バー表示時のbody余白
 *   - PC(ブレイクポイントMD+1 以上)でのみPC追従バーを表示
 *   - その分 body の下部に余白を足してフッターと被らないようにする
 *
 * v1.6.0: @media ブロックは /assets/css/responsive.php に動的生成として移動。
 *         ブレイクポイントの動的変更に対応するため。
 * -------------------------------------------------------------------- */
/* @media (min-width: 961px) → responsive.php */
/* @media (max-width: 960px) → responsive.php */
