/* =========================================================
   VINTAGE WORKS — メインスタイルシート
   カラーパレット（コントラスト確保）
   - ネイビー #1B3A6B (L≈0.043) × 白 #FFF → 11.3:1
   - ネイビー #1B3A6B × オレンジ #E85D04 → 4.5:1
   - 白背景 × テキスト #1A1A2E → 16:1
   ========================================================= */

/* ----- CSS カスタムプロパティ ----- */
:root {
    --color-primary:       #1B3A6B;
    --color-primary-dark:  #122850;
    --color-primary-light: #2A5298;
    --color-accent:        #E85D04;
    --color-accent-dark:   #C44A00;
    --color-accent-light:  #FF7930;

    --color-bg-white:      #FFFFFF;
    --color-bg-light:      #F4F6FA;
    --color-bg-dark:       #1B3A6B;

    --color-text-dark:     #1A1A2E;
    --color-text-mid:      #4A5568;
    --color-text-light:    #FFFFFF;
    --color-text-muted:    #6B7280;

    --color-border:        #D1D5DB;

    --font-base:   'Noto Sans JP', sans-serif;
    --fw-regular:  400;
    --fw-medium:   500;
    --fw-bold:     700;
    --fw-black:    900;

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    --shadow-sm:   0 1px 3px rgba(0,0,0,.12);
    --shadow-md:   0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:   0 8px 32px rgba(0,0,0,.16);

    --transition:  .25s ease;
    --container:   1100px;
    --header-h:    72px;
}

/* ----- リセット ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-base);
    color: var(--color-text-dark);
    background: var(--color-bg-white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ----- ユーティリティ ----- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section-pad { padding: 96px 0; }
.section-dark  { background: var(--color-bg-dark); color: var(--color-text-light); }
.section-light { background: var(--color-bg-light); color: var(--color-text-dark); }
.section-accent { background: var(--color-primary); color: var(--color-text-light); }

/* ----- セクションヘッダー共通 ----- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: var(--fw-bold);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-label-light {
    display: inline-block;
    font-size: .8rem;
    font-weight: var(--fw-bold);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--fw-black);
    line-height: 1.4;
    color: var(--color-text-dark);
}
.section-title-light {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--fw-black);
    line-height: 1.4;
    color: var(--color-text-light);
}
.section-header-light { text-align: center; margin-bottom: 64px; }
.section-desc {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--color-text-mid);
    line-height: 1.9;
}
.section-desc-light {
    margin-top: 20px;
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    line-height: 1.9;
}
.section-desc strong { color: var(--color-text-dark); }
.section-desc-light strong { color: #FFD080; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-md { padding: 12px 28px; font-size: .95rem; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 4px 16px rgba(232,93,4,.35);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,93,4,.45);
}
.btn-outline-white {
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid rgba(255,255,255,.8);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}
.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(27, 58, 107, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-logo { flex-shrink: 0; }
.site-title-link { display: flex; flex-direction: column; gap: 1px; }
.site-title-main {
    font-size: .95rem;
    font-weight: var(--fw-black);
    letter-spacing: .08em;
    color: var(--color-text-light);
    line-height: 1;
}
.site-title-sub {
    font-size: .65rem;
    color: rgba(255,255,255,.7);
    letter-spacing: .05em;
}
.header-nav { flex: 1; }
.header-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}
.header-nav-list a {
    display: block;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: var(--fw-medium);
    color: rgba(255,255,255,.9);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.header-nav-list a:hover { color: #fff; background: rgba(255,255,255,.12); }
.header-nav-cta {
    background: var(--color-accent) !important;
    color: #fff !important;
    border-radius: var(--radius-full) !important;
    padding: 8px 18px !important;
    font-weight: var(--fw-bold) !important;
}
.header-nav-cta:hover { background: var(--color-accent-dark) !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(18, 40, 80, 0.90) 0%,
        rgba(27, 58, 107, 0.78) 50%,
        rgba(27, 58, 107, 0.65) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}
.hero-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-size: .78rem;
    font-weight: var(--fw-bold);
    letter-spacing: .1em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-headline {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: var(--fw-black);
    line-height: 1.3;
    color: var(--color-text-light);
    margin-bottom: 28px;
}
.hero-headline-accent {
    color: #FFD080;
    background: none;
}
.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,.92);
    line-height: 1.9;
    max-width: 600px;
    margin-bottom: 40px;
}
.hero-sub strong { color: #FFD080; }
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}
.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}
.hero-trust-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
}
.hero-trust-list svg { color: var(--color-accent-light); flex-shrink: 0; }

/* =========================================================
   課題提起セクション
   ========================================================= */
.problem { background: var(--color-bg-white); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.problem-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border-top: 4px solid var(--color-accent);
    transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-icon {
    width: 72px;
    height: 72px;
    background: rgba(232,93,4,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent);
}
.problem-card h3 {
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}
.problem-card p {
    font-size: .9rem;
    color: var(--color-text-mid);
    line-height: 1.8;
}
.problem-arrow {
    text-align: center;
    color: var(--color-primary);
}
.problem-arrow svg { margin: 0 auto 8px; }
.problem-arrow p {
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    color: var(--color-primary);
}

/* =========================================================
   選ばれる理由
   ========================================================= */
.strengths { background: var(--color-bg-dark); }
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 40px;
}
.strength-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.1);
    transition: background var(--transition);
}
.strength-item:hover { background: rgba(255,255,255,.10); }
.strength-number {
    font-size: 3.5rem;
    font-weight: var(--fw-black);
    color: rgba(255,255,255,.12);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}
.strength-content { flex: 1; }
.strength-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
}
.strength-content h3 {
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    color: #fff;
    line-height: 1.5;
    margin-bottom: 12px;
}
.strength-content p {
    font-size: .92rem;
    color: rgba(255,255,255,.78);
    line-height: 1.85;
}
.strength-content p strong { color: #FFD080; }

/* =========================================================
   サービス
   ========================================================= */
.services { background: var(--color-bg-white); }
.services-flow { display: flex; flex-direction: column; gap: 80px; }
.service-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-step-reverse { direction: rtl; }
.service-step-reverse > * { direction: ltr; }
.service-step-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}
.service-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.service-step-img:hover img { transform: scale(1.04); }
.service-step-num {
    display: inline-block;
    font-size: .78rem;
    font-weight: var(--fw-black);
    letter-spacing: .15em;
    color: var(--color-accent);
    background: rgba(232,93,4,.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.service-step-body h3 {
    font-size: 1.5rem;
    font-weight: var(--fw-black);
    color: var(--color-text-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}
.service-step-body p {
    color: var(--color-text-mid);
    line-height: 1.9;
    margin-bottom: 20px;
}
.service-detail-list { display: flex; flex-direction: column; gap: 8px; }
.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--color-text-mid);
}
.service-detail-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* =========================================================
   実績
   ========================================================= */
.results { background: var(--color-primary); }
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}
.result-item { text-align: center; }
.result-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}
.result-count {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: var(--fw-black);
    color: #fff;
    line-height: 1;
}
.result-unit {
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    color: rgba(255,255,255,.8);
}
.result-label {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    font-weight: var(--fw-medium);
}
.results-license {
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255,255,255,.15);
}
.results-license h3 {
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}
.license-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px 32px;
}
.license-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: rgba(255,255,255,.88);
}
.license-list svg { color: var(--color-accent-light); flex-shrink: 0; }

/* =========================================================
   施工フロー
   ========================================================= */
.flow { background: var(--color-bg-white); }
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.flow-step {
    display: grid;
    grid-template-columns: 80px 60px 1fr;
    gap: 0 20px;
    align-items: flex-start;
    padding: 32px 0;
    position: relative;
}
.flow-step-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(27,58,107,.25);
}
.flow-step-num {
    font-size: 2.5rem;
    font-weight: var(--fw-black);
    color: rgba(27,58,107,.15);
    line-height: 1;
    padding-top: 16px;
    text-align: center;
}
.flow-step-body { padding-top: 8px; }
.flow-step-body h3 {
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.flow-step-body p {
    font-size: .92rem;
    color: var(--color-text-mid);
    line-height: 1.8;
    margin-bottom: 8px;
}
.flow-duration {
    display: inline-block;
    font-size: .78rem;
    font-weight: var(--fw-bold);
    color: var(--color-accent);
    background: rgba(232,93,4,.08);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}
.flow-connector {
    height: 32px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    margin-left: 39px;
    border-radius: 2px;
    opacity: .35;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--color-bg-light); }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    background: none;
    color: var(--color-text-dark);
    font-weight: var(--fw-bold);
    font-size: .97rem;
    transition: background var(--transition);
}
.faq-question:hover { background: rgba(27,58,107,.04); }
.faq-q-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: #fff;
    font-size: .9rem;
    font-weight: var(--fw-black);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-q-text { flex: 1; line-height: 1.6; }
.faq-arrow {
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform var(--transition);
}
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 24px 24px 72px;
    border-top: 1px solid var(--color-border);
}
.faq-answer-inner p {
    font-size: .92rem;
    color: var(--color-text-mid);
    line-height: 1.9;
    padding-top: 20px;
}
.faq-answer-inner p strong { color: var(--color-text-dark); }

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact { background: var(--color-primary-dark); }
.contact-merits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-bottom: 40px;
}
.contact-merits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
}
.contact-merits svg { color: var(--color-accent-light); flex-shrink: 0; }
.contact-form-col {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 680px;
    margin: 0 auto;
}

/* CF7フォームスタイル */
.wpcf7 { width: 100%; }
.wpcf7-form-control-wrap { display: block; margin-bottom: 4px; }
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-email,
.wpcf7 .wpcf7-tel,
.wpcf7 .wpcf7-textarea,
.wpcf7 .wpcf7-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-family: var(--font-base);
    color: var(--color-text-dark);
    background: var(--color-bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.wpcf7 .wpcf7-text:focus,
.wpcf7 .wpcf7-email:focus,
.wpcf7 .wpcf7-tel:focus,
.wpcf7 .wpcf7-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,58,107,.12);
}
.wpcf7 .wpcf7-textarea { resize: vertical; min-height: 120px; }
.wpcf7 p { margin-bottom: 20px; }
.wpcf7 p label {
    display: block;
    font-size: .85rem;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin-bottom: 6px;
}
.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.05rem;
    font-weight: var(--fw-bold);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.wpcf7 .wpcf7-submit:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}
.wpcf7 .wpcf7-not-valid-tip { font-size: .8rem; color: #DC2626; margin-top: 4px; }
.wpcf7 .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: .9rem;
    border: none;
}
.wpcf7 .wpcf7-mail-sent-ok { background: #D1FAE5; color: #065F46; }
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked { background: #FEE2E2; color: #991B1B; }

.contact-form-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-size: .9rem;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    line-height: 1.9;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,.85);
}
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 48px;
    padding: 64px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo-text {
    font-size: 1.2rem;
    font-weight: var(--fw-black);
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: 4px;
}
.footer-tagline {
    font-size: .78rem;
    color: var(--color-accent-light);
    font-weight: var(--fw-bold);
    letter-spacing: .1em;
    margin-bottom: 16px;
}
.footer-description {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    line-height: 1.9;
}
.footer-nav-title {
    font-size: .8rem;
    font-weight: var(--fw-black);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 16px;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    transition: color var(--transition);
}
.footer-nav-list a:hover { color: #fff; }
.footer-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-accent);
    color: #fff;
    font-size: .85rem;
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    transition: background var(--transition);
}
.footer-cta-btn:hover { background: var(--color-accent-dark); }
.footer-bottom {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}
.footer-company-info {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
}
.footer-copyright {
    font-size: .75rem;
    color: rgba(255,255,255,.35);
}

/* =========================================================
   問い合わせページ
   ========================================================= */
.contact-page-hero {
    background: var(--color-primary);
    padding: calc(var(--header-h) + 48px) 0 48px;
    text-align: center;
}
.contact-page-title {
    font-size: 2rem;
    font-weight: var(--fw-black);
    color: #fff;
    margin-bottom: 8px;
}
.contact-page-sub { font-size: 1rem; color: rgba(255,255,255,.75); }
.contact-page-container {
    padding-top: 64px;
    padding-bottom: 96px;
    max-width: 720px;
}
.contact-page-container--single {
    max-width: 720px;
}
.contact-page-form-title {
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-primary);
}

/* =========================================================
   ページ共通
   ========================================================= */
.page-main {
    padding-top: var(--header-h);
    min-height: 70vh;
}
.page-container { padding: 64px 24px; max-width: var(--container); margin: 0 auto; }
.page-article { max-width: 800px; }
.page-title {
    font-size: 1.8rem;
    font-weight: var(--fw-black);
    color: var(--color-text-dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-primary);
}
.page-content { font-size: 1rem; color: var(--color-text-mid); line-height: 1.9; }

/* =========================================================
   レスポンシブ（タブレット：〜1024px）
   ========================================================= */
@media (max-width: 1024px) {
    .strengths-grid { grid-template-columns: 1fr; }
    .service-step { grid-template-columns: 1fr; gap: 32px; }
    .service-step-reverse { direction: ltr; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* =========================================================
   レスポンシブ（スマートフォン：〜768px）
   ========================================================= */
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .section-pad { padding: 64px 0; }

    .header-nav { display: none; }
    .hamburger { display: flex; }

    .header-nav.is-open {
        display: block;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--color-primary-dark);
        padding: 16px 0 24px;
        box-shadow: var(--shadow-lg);
    }
    .header-nav.is-open .header-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .header-nav.is-open .header-nav-list a {
        padding: 14px 24px;
        border-radius: 0;
        font-size: .95rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .hero-headline { font-size: 1.85rem; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    .hero-trust-list { gap: 10px; }

    .problem-grid { grid-template-columns: 1fr; }
    .strength-item { flex-direction: column; gap: 16px; }
    .strength-number { font-size: 2rem; min-width: auto; }

    .results-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .results-license { padding: 24px; }
    .license-list { grid-template-columns: 1fr; }

    .flow-step { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
    .flow-step-icon { width: 56px; height: 56px; }
    .flow-step-num { display: none; }
    .flow-connector { margin-left: 27px; }

    .contact-form-col { padding: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-nav-group { display: none; }

    .contact-page-container { padding-top: 40px; padding-bottom: 64px; }
}

@media (max-width: 480px) {
    .results-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .result-count { font-size: 2.4rem; }
    .faq-answer-inner { padding: 0 16px 20px 16px; }
    .hero-headline { font-size: 1.6rem; }
}

/* スムーズスクロールオフセット（ヘッダー固定分） */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
