/* ============================================
   CIW-DR Theme Styles
   ============================================ */

:root {
    --navy: #1a1a5e;
    --navy-dark: #12123d;
    --navy-light: #2a2a7e;
    --gray-accent: #9a9aaa;
    --white: #ffffff;
    --gray-bg: #f7f8fa;
    --gray-border: #e2e4e8;
    --gray-text: #5c5c6d;
    --red: #c41e3a;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--white);
    color: var(--navy);
    line-height: 1.8;
    font-size: 15px;
    padding-bottom: 100px;
}

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

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

a:hover {
    text-decoration: none;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    display: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-text);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-sub-br {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.header-btn:hover {
    background: var(--navy-light);
}

@media (max-width: 1024px) {
    .logo-sub {
        font-size: 10px;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 12px 16px;
    }
    .logo-image {
        display: none;
    }
    .logo-name {
        display: block;
        font-size: 14px;
    }
    .logo-sub-br {
        display: block;
    }
    .logo-sub {
        font-size: 9px;
        white-space: normal;
    }
    .header-btn {
        font-size: 11px;
        padding: 8px 14px;
    }
}

/* ===== FIRST VIEW ===== */
.fv {
    background: var(--white);
    padding: 56px 24px 72px;
    border-bottom: 1px solid var(--gray-border);
}

.fv-inner {
    max-width: 900px;
    margin: 0 auto;
}

.fv-company {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-border);
}

.fv-company-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    font-style: italic;
    color: var(--navy);
    line-height: 1;
}

.fv-company-mark .dot {
    color: var(--gray-accent);
}

.fv-company-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fv-company-name {
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.fv-company-desc {
    font-size: 12px;
    color: var(--gray-text);
}

.fv-label {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.fv-catch {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--red);
    font-weight: 700;
    margin-bottom: 16px;
}

.fv h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 40px;
}

.fv h1 em {
    font-style: normal;
    position: relative;
}

.fv h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(26, 26, 94, 0.1);
    z-index: -1;
}

.fv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.fv-stat {
    text-align: center;
    padding: 24px 16px;
    border: 1px solid var(--gray-border);
}

.fv-stat-num {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.fv-stat-num span {
    font-size: 0.4em;
    font-weight: 500;
    color: var(--gray-text);
}

.fv-stat-label {
    font-size: 12px;
    color: var(--gray-text);
    margin-top: 8px;
}

.fv-price {
    background: var(--gray-bg);
    padding: 32px;
    margin-bottom: 40px;
    position: relative;
}

.fv-price-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
}

.fv-price-label {
    font-size: 13px;
    color: var(--gray-text);
    margin-bottom: 8px;
}

.fv-price-main {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(40px, 8vw, 56px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.fv-price-main span {
    font-size: 0.4em;
    color: var(--gray-text);
}

.fv-price-note {
    font-size: 13px;
    color: var(--gray-text);
    margin-top: 12px;
}

.fv-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-primary {
    flex: 1;
    display: block;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 18px 32px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--navy-light);
}

.btn-secondary {
    flex: 1;
    display: block;
    background: var(--white);
    border: 1px solid var(--navy);
    color: var(--navy);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 18px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gray-bg);
}

.fv-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.fv-trust-item {
    font-size: 13px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fv-trust-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--navy);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .fv {
        padding: 40px 20px 56px;
    }
}

@media (max-width: 640px) {
    .fv {
        padding: 32px 16px 48px;
    }
    .fv-company {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .fv-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fv-stat {
        padding: 20px 16px;
    }
    .fv-price {
        padding: 24px 20px;
    }
    .fv-cta {
        flex-direction: column;
    }
    .fv-trust {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 80px 24px;
}

.container {
    max-width: 860px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-accent);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-lead {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 48px;
    line-height: 2;
}

/* ===== PROBLEM ===== */
.problem {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.problem-list {
    display: grid;
    gap: 12px;
}

.problem-item {
    background: var(--gray-bg);
    padding: 24px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    align-items: start;
}

.problem-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    width: 40px;
    height: 40px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.problem-item p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===== SOLUTION ===== */
.solution {
    background: var(--gray-bg);
}

.solution-company {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-border);
}

.solution-company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.solution-company-img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.solution-company-sub {
    font-size: 13px;
    color: var(--gray-text);
    margin-top: 8px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.solution-item {
    background: var(--white);
    padding: 28px 24px;
    border: 1px solid var(--gray-border);
}

.solution-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-border);
}

.solution-item p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.9;
}

/* ===== RESULTS ===== */
.results {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.results-main {
    background: var(--navy);
    color: var(--white);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 40px;
}

.results-main-label {
    font-size: 13px;
    color: var(--gray-accent);
    margin-bottom: 16px;
}

.results-main-num {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(48px, 10vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.results-main-num span {
    font-size: 0.35em;
    color: var(--gray-accent);
}

.results-main-note {
    font-size: 14px;
    color: var(--gray-accent);
    margin-top: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.result-card {
    background: var(--gray-bg);
    padding: 28px 24px;
}

.result-card-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-accent);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.result-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--navy);
}

.result-card-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
}

.result-card-num span {
    font-size: 0.45em;
    color: var(--gray-text);
}

.result-card p {
    font-size: 13px;
    color: var(--gray-text);
    margin-top: 12px;
    line-height: 1.8;
}

/* ===== PRICING ===== */
.pricing {
    background: var(--gray-bg);
}

.pricing-table {
    background: var(--white);
    border: 1px solid var(--gray-border);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-border);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row.header {
    background: var(--navy);
    color: var(--white);
}

.pricing-cell {
    padding: 20px 16px;
    text-align: center;
    font-size: 14px;
    border-right: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pricing-cell:last-child {
    border-right: none;
}

.pricing-row.header .pricing-cell {
    font-weight: 700;
    font-size: 13px;
    border-color: rgba(255,255,255,0.2);
}

.pricing-cell.plan-name {
    font-weight: 700;
    text-align: center;
    background: var(--gray-bg);
}

.pricing-cell .price {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
}

.pricing-cell .price span {
    font-size: 14px;
}

.pricing-cell .original {
    font-size: 12px;
    color: var(--gray-text);
    text-decoration: line-through;
    margin-top: 4px;
}

.pricing-cell .discount {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    margin-top: 8px;
}

.pricing-note {
    font-size: 12px;
    color: var(--gray-text);
    margin-top: 20px;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .pricing-cell .price {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .pricing-row {
        grid-template-columns: 1fr;
    }
    .pricing-cell {
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
        padding: 16px;
    }
    .pricing-cell:last-child {
        border-bottom: none;
    }
    .pricing-row.header {
        display: none;
    }
    .pricing-cell.plan-name {
        text-align: center;
        font-size: 16px;
    }
}

/* ===== TARGET ===== */
.target {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.target-box {
    border: 1px solid var(--gray-border);
    padding: 40px 32px;
}

.target-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-border);
}

.target-list {
    list-style: none;
}

.target-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-bg);
}

.target-list li:last-child {
    border-bottom: none;
}

.target-list li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--navy);
}

.target-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--gray-bg);
    font-size: 13px;
    color: var(--gray-text);
}

/* ===== SCOPE ===== */
.scope {
    background: var(--gray-bg);
}

.scope-list {
    counter-reset: scope;
}

.scope-item {
    background: var(--white);
    padding: 24px;
    margin-bottom: 2px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: center;
}

.scope-item::before {
    counter-increment: scope;
    content: counter(scope);
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    width: 48px;
    height: 48px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scope-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.scope-item p {
    font-size: 13px;
    color: var(--gray-text);
}

/* ===== VOICE ===== */
.voice {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.voice-card {
    border: 1px solid var(--gray-border);
    padding: 28px 24px;
}

.voice-card blockquote {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--navy);
}

.voice-card cite {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: var(--gray-text);
}

.voice-card cite strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 4px;
}

/* ===== FAQ ===== */
.faq {
    background: var(--gray-bg);
}

.faq-list {
    border: 1px solid var(--gray-border);
    background: var(--white);
}

.faq-item {
    border-bottom: 1px solid var(--gray-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

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

.faq-item summary::before {
    content: 'Q';
    width: 28px;
    height: 28px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item summary::after {
    content: '+';
    margin-left: auto;
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-text);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px 68px;
    font-size: 14px;
    color: var(--gray-text);
    line-height: 2;
}

/* ===== CTA ===== */
.cta {
    background: var(--white);
    padding: 80px 24px;
    text-align: center;
    border-top: 1px solid var(--gray-border);
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-border);
}

.cta-company-img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.9;
}

.cta-note {
    font-size: 13px;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    padding: 48px 24px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.footer-stock {
    font-size: 12px;
    margin-bottom: 24px;
}

.footer-copy {
    font-size: 11px;
}

/* ===== FIXED CTA ===== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    padding: 16px 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.fixed-cta .btn-primary {
    flex: none;
    padding: 14px 32px;
    font-size: 14px;
}

/* ===== TABLET (641px - 1024px) ===== */
@media (max-width: 1024px) {
    section {
        padding: 60px 20px;
    }
    .container {
        max-width: 100%;
    }
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .result-card:last-child {
        grid-column: 1 / -1;
    }
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .voice-card:last-child {
        grid-column: 1 / -1;
    }
    .target-box {
        padding: 32px 24px;
    }
    .cta-inner {
        max-width: 100%;
    }
    .solution-company-img {
        height: 40px;
    }
    .cta-company-img {
        height: 40px;
    }
    .faq-answer {
        padding-left: 52px;
    }
}

/* ===== MOBILE (640px and below) ===== */
@media (max-width: 640px) {
    body {
        font-size: 14px;
        padding-bottom: 120px;
    }
    section {
        padding: 48px 16px;
    }
    .section-lead br {
        display: none;
    }
    .section-lead {
        margin-bottom: 32px;
    }
    .problem-item {
        padding: 20px 16px;
    }
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .solution-item {
        padding: 24px 20px;
    }
    .solution-company-img {
        height: 36px;
    }
    .results-main {
        padding: 32px 20px;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .result-card:last-child {
        grid-column: auto;
    }
    .result-card {
        padding: 24px 20px;
    }
    .target-box {
        padding: 24px 16px;
    }
    .scope-item {
        padding: 20px 16px;
        gap: 16px;
    }
    .scope-item::before {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .voice-grid {
        grid-template-columns: 1fr;
    }
    .voice-card {
        padding: 24px 20px;
    }
    .voice-card:last-child {
        grid-column: auto;
    }
    .faq-item summary {
        padding: 16px;
        font-size: 13px;
        gap: 12px;
    }
    .faq-answer {
        padding: 0 16px 16px 44px;
        font-size: 13px;
    }
    .cta {
        padding: 48px 16px;
    }
    .cta-company-img {
        height: 36px;
    }
    .cta h2 br {
        display: none;
    }
    .cta p br {
        display: none;
    }
    .fixed-cta {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }
    .fixed-cta .btn-primary {
        width: 100%;
        padding: 12px 24px;
        font-size: 13px;
    }
    .footer-logo-img {
        height: 32px;
    }
    .site-footer {
        padding: 36px 16px;
    }
}

/* ===== JOB CATEGORY COLORS ===== */
:root {
    --cat-web3: #3B82F6;
    --cat-ai: #8B5CF6;
    --cat-deeptech: #10B981;
    --cat-startup: #EAB308;
    --cat-challenger: #F97316;
    --cat-default: #6B7280;
}

/* Category badge */
.job-category-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 14px;
    color: var(--white);
    margin-bottom: 12px;
}

.job-cat-web3 > .job-category-badge,
.job-category-badge.job-cat-web3 {
    background: var(--cat-web3);
}

.job-cat-ai > .job-category-badge,
.job-category-badge.job-cat-ai {
    background: var(--cat-ai);
}

.job-cat-deeptech > .job-category-badge,
.job-category-badge.job-cat-deeptech {
    background: var(--cat-deeptech);
}

.job-cat-startup > .job-category-badge,
.job-category-badge.job-cat-startup {
    background: var(--cat-startup);
    color: var(--navy);
}

.job-cat-challenger > .job-category-badge,
.job-category-badge.job-cat-challenger {
    background: var(--cat-challenger);
}

.job-cat-default > .job-category-badge,
.job-category-badge.job-cat-default {
    background: var(--cat-default);
}

/* Job card top border accent */
.job-card {
    border-top: 3px solid var(--cat-default);
}

.job-card.job-cat-web3 {
    border-top-color: var(--cat-web3);
}

.job-card.job-cat-ai {
    border-top-color: var(--cat-ai);
}

.job-card.job-cat-deeptech {
    border-top-color: var(--cat-deeptech);
}

.job-card.job-cat-startup {
    border-top-color: var(--cat-startup);
}

.job-card.job-cat-challenger {
    border-top-color: var(--cat-challenger);
}

/* Single job header accent */
.single-job .single-job-header {
    border-left: 4px solid var(--cat-default);
    padding-left: 20px;
    margin-bottom: 32px;
}

.single-job.job-cat-web3 .single-job-header {
    border-left-color: var(--cat-web3);
}

.single-job.job-cat-ai .single-job-header {
    border-left-color: var(--cat-ai);
}

.single-job.job-cat-deeptech .single-job-header {
    border-left-color: var(--cat-deeptech);
}

.single-job.job-cat-startup .single-job-header {
    border-left-color: var(--cat-startup);
}

.single-job.job-cat-challenger .single-job-header {
    border-left-color: var(--cat-challenger);
}

/* ===== JOBS ARCHIVE GRID ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(26, 26, 94, 0.08);
}

.job-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.job-card-body {
    padding: 20px 24px 24px;
}

.job-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
}

.job-card-title a {
    color: var(--navy);
}

.job-card-title a:hover {
    color: var(--navy-light);
}

.job-card-excerpt {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.job-card-meta {
    font-size: 12px;
    color: var(--gray-accent);
}

/* Single job specific */
.single-job .entry-title {
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .job-card-body {
        padding: 16px 20px 20px;
    }
    .single-job .single-job-header {
        padding-left: 16px;
        margin-bottom: 24px;
    }
}

/* ===== PAGE TEMPLATES ===== */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.contact-main {
    max-width: 800px;
}

.entry-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.entry-content {
    margin-top: 1.5rem;
    line-height: 2;
    color: var(--gray-text);
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.error-404 {
    text-align: center;
    padding: 5rem 1.5rem;
}

/* ===== INLINE CONTACT FORM (CTA section) ===== */
.cta-form {
    max-width: 560px;
    margin: 40px auto 0;
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 32px;
    text-align: left;
}

/* CF7 form layout */
.cta-form .wpcf7-form {
    display: flex;
    flex-direction: column;
}

.cta-form .contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

/* CF7 wraps fields in <p> — remove default margins */
.cta-form .wpcf7-form p {
    margin: 0;
}

/* Labels */
.cta-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: 16px;
}

.cta-form .contact-form-wrapper > label:first-child {
    margin-top: 0;
}

/* Required badge */
.cta-form .required {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 2px;
}

/* All text inputs, selects, textareas — both native and CF7 .form-control */
.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"],
.cta-form select,
.cta-form textarea,
.cta-form .wpcf7-form-control.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    border: 1px solid var(--gray-border);
    background: var(--white);
    color: var(--navy);
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.cta-form textarea {
    min-height: 80px;
    resize: vertical;
}

.cta-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c5c6d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* CF7 wraps <select> in a <span> — ensure full width */
.cta-form .wpcf7-form-control-wrap {
    display: block;
}

/* Privacy checkbox label */
.cta-form .privacy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-text);
    margin-top: 24px;
    margin-bottom: 4px;
}

.cta-form .privacy-check a {
    color: var(--navy);
    text-decoration: underline;
}

.cta-form .privacy-checkbox input[type="checkbox"],
.cta-form .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid var(--gray-border);
    cursor: pointer;
}

/* Submit button — both native submit and CF7 .btn-submit */
.cta-form input[type="submit"],
.cta-form .wpcf7-submit,
.cta-form .btn-submit {
    display: block;
    width: 100%;
    background: var(--navy);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 24px;
}

.cta-form input[type="submit"]:hover,
.cta-form .wpcf7-submit:hover,
.cta-form .btn-submit:hover {
    background: var(--navy-light);
}

/* CF7 response / validation */
.cta-form .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 13px;
    border: 1px solid var(--gray-border) !important;
}

.cta-form .wpcf7-not-valid-tip {
    color: var(--red);
    font-size: 11px;
    margin-top: 4px;
}

.cta-form .wpcf7 .wpcf7-spinner {
    margin: 12px auto 0;
}

@media (max-width: 640px) {
    .cta-form {
        padding: 24px 20px;
        margin-top: 32px;
    }
    .cta-form input[type="text"],
    .cta-form input[type="email"],
    .cta-form input[type="tel"],
    .cta-form select,
    .cta-form textarea,
    .cta-form .wpcf7-form-control.form-control {
        font-size: 16px;
    }
}

/* ============================================
   LP EXTENSIONS (Press Release × pptx 統合)
   ============================================ */

/* ===== RELEASE BANNER ===== */
.release-banner {
    background: var(--navy);
    color: var(--white);
    padding: 10px 24px;
}

.release-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.release-banner-label {
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.release-banner-text {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 640px) {
    .release-banner {
        padding: 10px 16px;
    }
    .release-banner-text {
        font-size: 11px;
    }
}

/* ===== FV SUB ===== */
.fv-sub {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 2;
    margin: -24px 0 40px;
}

@media (max-width: 640px) {
    .fv-sub {
        font-size: 13px;
        margin: -16px 0 32px;
    }
    .fv-sub br {
        display: none;
    }
}

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background:
        repeating-linear-gradient(
            45deg,
            #eef0f4 0px,
            #eef0f4 10px,
            #f5f6f9 10px,
            #f5f6f9 20px
        );
    border: 1px dashed var(--gray-border);
    color: var(--gray-accent);
}

.photo-placeholder-label {
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* ===== CONSULTANTS ===== */
.consultants {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.consultant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.consultant-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
}

.consultant-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-bg);
}

.consultant-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-photo .photo-placeholder-inner {
    min-height: 0;
    height: 100%;
}

.consultant-body {
    padding: 20px 20px 24px;
}

.consultant-tag {
    display: inline-block;
    background: var(--gray-bg);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.consultant-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.consultant-comment {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .consultant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consultant-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .consultant-grid {
        grid-template-columns: 1fr;
    }
    .consultant-card:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

/* ===== ADVISOR ===== */
.advisor {
    background: var(--gray-bg);
}

.advisor-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.advisor-photo {
    position: sticky;
    top: 100px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--gray-bg);
}

.advisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-photo .photo-placeholder-inner {
    min-height: 0;
    height: 100%;
}

.advisor-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-accent);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.advisor-name {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.4;
}

.advisor-name-en {
    font-size: 0.55em;
    font-weight: 500;
    color: var(--gray-text);
    letter-spacing: 0.05em;
    margin-left: 8px;
}

.advisor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-border);
}

.advisor-tags span {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    background: var(--gray-bg);
    padding: 6px 12px;
    border: 1px solid var(--gray-border);
}

.advisor-bio {
    font-size: 13px;
    line-height: 2;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.advisor-bio:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .advisor-card {
        grid-template-columns: 220px 1fr;
        gap: 32px;
        padding: 32px;
    }
    .advisor-photo {
        position: static;
    }
}

@media (max-width: 640px) {
    .advisor-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }
    .advisor-photo {
        max-width: 200px;
        margin: 0 auto;
    }
    .advisor-tags {
        gap: 6px;
    }
    .advisor-tags span {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ===== PROCESS ===== */
.process {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.process-card {
    background: var(--gray-bg);
    padding: 24px 20px;
    text-align: left;
    border-top: 3px solid var(--navy);
    position: relative;
}

.process-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 12px;
}

.process-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-border);
}

.process-card p {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.8;
}

.process-perk {
    margin-top: 32px;
    background: var(--navy);
    color: var(--white);
    padding: 24px 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.process-perk-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--red);
    padding: 8px 14px;
    white-space: nowrap;
}

.process-perk-text {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-card:nth-last-child(1),
    .process-card:nth-last-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-perk {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }
    .process-perk-label {
        justify-self: start;
    }
}

/* ===== TEAM STRUCTURE ===== */
.team {
    background: var(--gray-bg);
}

.team-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.team-row {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 720px;
}

.team-row-single {
    grid-template-columns: minmax(260px, 360px);
    justify-content: center;
}

.team-row-pair {
    grid-template-columns: 1fr 1fr;
}

.team-node {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-top: 3px solid var(--navy);
    padding: 20px 24px;
    text-align: center;
}

.team-node.node-advisor {
    border-top-color: var(--red);
}

.team-node.node-client {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}

.team-node-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gray-accent);
    margin-bottom: 8px;
}

.team-node.node-client .team-node-label {
    color: rgba(255,255,255,0.6);
}

.team-node-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.team-node.node-client .team-node-title {
    color: var(--white);
}

.team-node-sub {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.8;
}

.team-node.node-client .team-node-sub {
    color: rgba(255,255,255,0.7);
}

.team-connector {
    width: 2px;
    height: 32px;
    background: var(--navy);
    opacity: 0.4;
}

@media (max-width: 640px) {
    .team-row-pair {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .team-connector {
        height: 24px;
    }
    .team-node {
        padding: 16px 20px;
    }
}

/* ===== PRICING NEW BADGE ===== */
.plan-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    margin-left: 8px;
    letter-spacing: 0.08em;
    vertical-align: middle;
}

/* ===== COMPANY INFO ===== */
.company-info {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.company-card {
    background: var(--gray-bg);
    padding: 32px 28px;
    border-left: 3px solid var(--navy);
}

.company-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-border);
    line-height: 1.5;
}

.company-card-sub {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
    margin-left: 4px;
}

.company-dl {
    display: grid;
    grid-template-columns: 96px 1fr;
    row-gap: 10px;
    column-gap: 16px;
    font-size: 13px;
    line-height: 1.8;
}

.company-dl dt {
    color: var(--gray-accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding-top: 2px;
}

.company-dl dd {
    color: var(--navy);
    margin: 0;
    word-break: break-word;
}

.company-dl dd a {
    color: var(--navy);
    text-decoration: underline;
}

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

@media (max-width: 640px) {
    .company-card {
        padding: 24px 20px;
    }
    .company-dl {
        grid-template-columns: 80px 1fr;
        column-gap: 12px;
        font-size: 12px;
    }
}
