/* ============================================================
   styles.css — 株式会社SUNONE コーポレートサイト
   ============================================================ */

/* ============================================================
   CSS カスタムプロパティ（変数）
   ============================================================ */
:root {
    /* カラー */
    --navy:        #1a3557;
    --navy-dark:   #0f2237;
    --navy-mid:    #24486e;
    --blue:        #2563a8;
    --blue-light:  #3a7bc8;
    --green:       #2d7d5f;
    --green-light: #3d9b77;
    --green-pale:  #e8f4f0;
    --gray-dark:   #2c3e50;
    --gray:        #5f6b78;
    --gray-mid:    #8a9aaa;
    --gray-light:  #e8edf2;
    --bg:          #f5f7fa;
    --white:       #ffffff;
    --gold:        #c8a44a;

    /* タイポグラフィ */
    --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', sans-serif;
    --font-en: 'Montserrat', sans-serif;

    /* スペーシング */
    --section-py: 100px;
    --container:  1100px;

    /* シャドウ */
    --shadow-sm: 0 2px 12px rgba(26, 53, 87, 0.08);
    --shadow:    0 4px 24px rgba(26, 53, 87, 0.11);
    --shadow-lg: 0 8px 40px rgba(26, 53, 87, 0.16);

    /* その他 */
    --radius:     8px;
    --radius-lg:  16px;
    --transition: 0.3s ease;
}

/* ============================================================
   リセット & ベーススタイル
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--gray-dark);
    background: var(--white);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* セクション見出し */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--green);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-label-light {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.section-title-light {
    color: var(--white);
}

.section-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--green));
    margin-inline: auto;
    border-radius: 2px;
}

.section-line-light {
    background: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   アニメーション
   ============================================================ */

/* ヒーロー内 フェードアップ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.75s; }

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

/* スクロール検知フェードアップ */
.scroll-fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ヘッダー
   ============================================================ */
#header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    background: rgba(15, 34, 55, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow var(--transition);
}

#header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ロゴ */
.logo a {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 1px;
}

.logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.logo-main {
    font-family: var(--font-en);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
}

/* ナビゲーション */
.nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.80);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.nav ul li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav ul li a.nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 9px 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav ul li a.nav-cta:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* ハンバーガー → ×変形 */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ============================================================
   モバイルメニュー
   ============================================================ */
.mobile-menu {
    position: fixed;
    inset-block-start: 72px;
    inset-inline: 0;
    z-index: 999;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu ul {
    padding: 16px 24px 24px;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0b1d31 0%,
        #1a3557 35%,
        #1e4d7a 60%,
        #163d2e 100%
    );
    z-index: 0;
}

/* グリッドパターンオーバーレイ */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

/* グラデーションアクセント円 */
.hero-bg::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 125, 95, 0.18) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    padding: 48px 24px;
}

.hero-label {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(61, 155, 119, 0.9);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(26px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.55;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-title span {
    color: rgba(255, 255, 255, 0.92);
}

.hero-desc {
    font-size: clamp(14px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 44px;
    line-height: 2;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-jp);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background var(--transition), border-color var(--transition),
                transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(45, 125, 95, 0.45);
}

.btn-primary:hover {
    background: var(--green-light);
    box-shadow: 0 6px 22px rgba(45, 125, 95, 0.55);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.38);
    color: var(--white);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* スクロールインジケーター */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-en);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.scroll-line {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 0.9; transform: scaleY(0.6); }
}

/* ============================================================
   特徴セクション（4カード）
   ============================================================ */
.features {
    padding-block: 80px;
    background: var(--bg);
    border-top: 1px solid var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid transparent;
    transition: border-top-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    border-top-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin-inline: auto;
    margin-bottom: 20px;
    color: var(--navy);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================================
   会社案内セクション
   ============================================================ */
.about {
    padding-block: var(--section-py);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 72px;
    align-items: start;
}

.about-text p {
    font-size: 15.5px;
    color: var(--gray-dark);
    margin-bottom: 22px;
    line-height: 2;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 20px;
    background: var(--bg);
    border-left: 4px solid var(--navy);
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: border-left-color var(--transition), background var(--transition);
}

.highlight-item:hover {
    border-left-color: var(--green);
    background: var(--green-pale);
}

.highlight-num {
    font-family: var(--font-en);
    font-size: 30px;
    font-weight: 700;
    color: rgba(26, 53, 87, 0.18);
    line-height: 1;
    min-width: 44px;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
    letter-spacing: 0.03em;
}

.highlight-text p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
}

/* ============================================================
   事業内容セクション
   ============================================================ */
.service {
    padding-block: var(--section-py);
    background: var(--bg);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 5px;
}

.service-num {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.2em;
    margin-bottom: 14px;
    display: inline-block;
    background: var(--green-pale);
    padding: 3px 10px;
    border-radius: 20px;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.service-card > p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 22px;
}

.service-card ul {
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-card ul li {
    font-size: 13.5px;
    color: var(--gray-dark);
    padding: 6px 0 6px 18px;
    position: relative;
    border-bottom: 1px dashed var(--gray-light);
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li::before {
    content: '▸';
    position: absolute;
    left: 2px;
    color: var(--green);
    font-size: 11px;
    top: 8px;
}

/* 注意書きバナー */
.service-note {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(26, 53, 87, 0.05);
    border: 1px solid rgba(26, 53, 87, 0.12);
    border-left: 4px solid var(--navy-mid);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 22px 28px;
}

.service-note-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--navy-mid);
}

.service-note-icon svg {
    width: 100%;
    height: 100%;
}

.service-note p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.85;
}

/* ============================================================
   回収の流れセクション
   ============================================================ */
.flow {
    padding-block: var(--section-py);
    background: var(--white);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.flow-step {
    flex: 1;
    max-width: 220px;
}

.flow-step-inner {
    text-align: center;
    padding: 0 16px;
}

.flow-num {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--green);
    background: var(--green-pale);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.flow-icon {
    width: 64px;
    height: 64px;
    margin-inline: auto;
    margin-bottom: 18px;
    color: var(--navy);
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 2px solid var(--gray-light);
    transition: background var(--transition), border-color var(--transition);
}

.flow-step:hover .flow-icon {
    background: var(--green-pale);
    border-color: var(--green);
}

.flow-icon svg {
    width: 100%;
    height: 100%;
}

.flow-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.flow-step p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
}

.flow-arrow {
    flex-shrink: 0;
    padding-top: 44px;
    padding-inline: 8px;
    color: var(--gray-light);
}

.flow-arrow svg {
    width: 28px;
    height: 28px;
}

/* ============================================================
   会社概要セクション
   ============================================================ */
.company {
    padding-block: var(--section-py);
    background: var(--bg);
}

.company-table {
    max-width: 820px;
    margin-inline: auto;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
    padding: 18px 28px;
    font-size: 15px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: top;
    text-align: left;
}

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

.company-table tbody tr:hover td {
    background: #fafcff;
}

.company-table th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    width: 168px;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.company-table td {
    color: var(--gray-dark);
    line-height: 1.9;
}

.company-table td a {
    color: var(--blue);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.company-table td a:hover {
    color: var(--navy);
}

/* アクセスマップ */
.company-map {
    max-width: 820px;
    margin-inline: auto;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--gray-light);
}

.company-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--navy);
    color: var(--white);
}

.company-map-header svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

.company-map-header span:first-of-type {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.company-map-address {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    letter-spacing: 0.03em !important;
    margin-left: 4px;
}

.company-map-frame {
    position: relative;
    width: 100%;
    height: 400px;
}

.company-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================================
   お問い合わせセクション
   ============================================================ */
.contact {
    padding-block: var(--section-py);
    background: linear-gradient(
        135deg,
        var(--navy-dark) 0%,
        var(--navy) 50%,
        #143626 100%
    );
    position: relative;
    overflow: hidden;
}

/* 装飾的な背景パターン */
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
}

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

.contact-desc {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 2;
    margin-bottom: 52px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
    margin-inline: auto;
}

/* 携帯（メイン）は上段全幅 */
.contact-method-primary {
    grid-column: 1 / -1;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    backdrop-filter: blur(8px);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.contact-method-tel {
    text-decoration: none;
    cursor: pointer;
}

.contact-method-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.75);
}

.contact-method-icon svg {
    width: 100%;
    height: 100%;
}

.contact-method-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-method-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
}

.contact-phone {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.contact-method-tel:hover .contact-phone {
    color: rgba(61, 155, 119, 0.9);
}

.contact-mobile {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.contact-fax-num {
    font-family: var(--font-en);
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

/* 携帯電話メインカード */
.contact-method-primary {
    border-color: rgba(61, 155, 119, 0.55);
    background: rgba(45, 125, 95, 0.14);
    position: relative;
}

.contact-method-primary:hover {
    border-color: rgba(61, 155, 119, 0.9);
    background: rgba(45, 125, 95, 0.22);
}

.contact-primary-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* メールカード */
.contact-method-email {
    text-decoration: none;
    cursor: pointer;
}

.contact-email-addr {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    line-height: 1.2;
    word-break: break-all;
}

/* ============================================================
   フッター
   ============================================================ */
.footer {
    background: var(--navy-dark);
    padding-top: 56px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo .logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-logo .logo-main {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.footer-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 2;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

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

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-nav ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    padding: 5px 0;
    display: block;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.04em;
}

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

/* タブレット (1024px以下) */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .flow-steps {
        flex-wrap: wrap;
        gap: 16px;
    }

    .flow-step {
        max-width: 200px;
    }

    .flow-arrow {
        padding-top: 40px;
    }
}

/* スマートフォン (768px以下) */
@media (max-width: 768px) {
    :root {
        --section-py: 72px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-desc br {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
        margin-bottom: 32px;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .flow-step {
        max-width: 320px;
        width: 100%;
    }

    .flow-step-inner {
        text-align: left;
        display: flex;
        flex-direction: column;
    }

    .flow-num,
    .flow-icon {
        align-self: flex-start;
    }

    .flow-arrow {
        padding-top: 0;
        transform: rotate(90deg);
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-method-primary {
        grid-column: 1;
    }

    .contact-method {
        padding: 24px 28px;
    }

    .company-table th {
        width: 110px;
        font-size: 13.5px;
        padding: 16px 16px;
    }

    .company-table td {
        font-size: 14px;
        padding: 16px 16px;
    }

    .company-map-frame {
        height: 300px;
    }

    .company-map-address {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 20px;
    }

    .footer-nav ul li a:hover {
        padding-left: 0;
    }
}

/* スマートフォン小 (480px以下) */
@media (max-width: 480px) {
    .company-map-frame {
        height: 240px;
    }
    :root {
        --section-py: 60px;
    }

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

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

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

    .section-header {
        margin-bottom: 44px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .contact-method-body {
        align-items: center;
    }

    .contact-phone,
    .contact-fax-num {
        font-size: 26px;
    }

    .contact-email-addr {
        font-size: 18px;
    }

    .contact-primary-badge {
        font-size: 10px;
        padding: 3px 12px;
    }
}
