/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #00849c;
    --accent-color: #ff9800; /* 申し込みボタンなどの目立たせたい部分 */
    --bg-light: #f4f8f9;
    --text-color: #333;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    padding-bottom: 70px;
}

.container {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: 15px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--main-color);
    font-weight: bold;
}

/* ヘッダー全体のレイアウト */
header {
    background: #fff;
    border-bottom: 3px solid var(--main-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* ロゴ */
.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 900;
    color: var(--main-color);
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    font-weight: bold;
    color: var(--main-color);
    text-align: left;
    letter-spacing: 0.05em;
}

/* PCナビ（デフォルトは非表示、PCサイズで表示） */
.pc-nav {
    display: none;
    align-items: center;
}

.pc-nav ul {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.pc-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 15px;
}

.btn-apply-header {
    background: linear-gradient(135deg, #ff3333 0%, #ff3366 100%);
    color: #fff !important;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}

/* スマホヘッダー LINEアイコン */
.sp-line-icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
    line-height: 0;
}

/* PCでは非表示 */
@media (min-width: 992px) {
    .sp-line-icon { display: none; }
}

/* スマホ時：ロゴが余白を占有し、LINEアイコン＋ハンバーガーを右端に寄せる */
@media (max-width: 991px) {
    .header-inner {
        justify-content: flex-start;
    }
    .logo {
        flex: 1;
    }
}

/* ハンバーガーメニューボタン */
.sp-menu-toggle {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}

.sp-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    transition: 0.3s;
}

.sp-menu-toggle span:nth-child(1) { top: 0; }
.sp-menu-toggle span:nth-child(2) { top: 11px; }
.sp-menu-toggle span:nth-child(3) { top: 22px; }

/* ハンバーガー開閉時のアニメーション */
.sp-menu-toggle.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.sp-menu-toggle.active span:nth-child(2) { opacity: 0; }
.sp-menu-toggle.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* スマホ用ドロワーメニュー（初期は隠す） */
.sp-nav {
    position: fixed;
    top: 60px; /* ヘッダーの高さ */
    left: 100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
    z-index: 999;
}

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

.sp-nav ul {
    list-style: none;
    padding: 20px;
}

.sp-nav ul li {
    border-bottom: 1px solid #eee;
}

.sp-nav ul li a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.sp-apply-link {
    background: linear-gradient(135deg, #ff3333 0%, #ff3366 100%);
    color: #fff !important;
    text-align: center;
    margin-top: 20px;
    border-radius: 5px;
}

.apply-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

@media (max-width: 480px) {
    .apply-logo {
        max-width: 240px;
    }
}

/* PCサイズ時の表示切り替え */
@media (min-width: 992px) {
    .pc-nav { display: flex; }
    .sp-menu-toggle, .sp-nav { display: none; }
}

/* メインビジュアル */
.hero {
    width: 100%;
    background-color: #fff; /* 画像読み込み前の背景色 */
    line-height: 0; /* 画像下の謎の隙間を完全に消す */
}

.hero a {
    display: block;
    width: 100%;
}

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

/* PCで画像が大きくなりすぎるのを防ぐ場合（任意） */
@media (min-width: 1200px) {
    /* 最大幅を制限して中央寄せにするなら以下を追加 */
    /*
    .hero-img {
        max-width: 1200px;
        margin: 0 auto;
    }
    */
}

@media (min-width: 1200px) {
    .hero-img {
        max-width: 1000px; /* 数値を小さくするほど、縦幅も連動して短くなります */
        margin: 0 auto;
        display: block;
    }
    .hero {
        background-color: #f9f9f9; /* 左右に余白ができるので、背景色を馴染ませると綺麗です */
    }
}



/* 特長セクションの見出し */
.ff-v2-header {
    text-align: center;
    margin-bottom: 30px;
}

.ff-v2-title {
    font-size: 1.6rem;
    color: #2c445d;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* 「安心・安全・スピーディー」の部分の色をメインカラーに */
.ff-v2-title span {
    color: #00849c;
}

.ff-v2-lead {
    font-size: 0.95rem;
    color: #666;
    font-weight: bold;
}

/* スマホ用改行制御 */
.sp-only { display: none; }

/* PCサイズ調整 */
@media (min-width: 768px) {
    .ff-v2-header {
        margin-bottom: 50px;
    }
    .ff-v2-title {
        font-size: 2.2rem;
    }
    .ff-v2-lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .sp-only { display: block; }
}
/* インパクト重視の特長セクション */
.fast-features-v2 {
    background-color: #f0fbfc; /* 薄いメインカラーを背景に */
    padding: 40px 0;
    margin: 10px 0;
    border-top: 1px solid #e0f2f3;
    border-bottom: 1px solid #e0f2f3;
}

.ff-v2-grid {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列で大きく見せる */
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.ff-v2-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* 白い土台で浮かせる */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 132, 156, 0.1);
}

.ff-v2-icon {
    width: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.ff-v2-icon img {
    width: 100%;
    height: auto;
}

.ff-v2-content {
    text-align: left;
}

.ff-v2-sub {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
    font-weight: bold;
}

.ff-v2-main {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 900;
}

/* ハイライト（マーカー風） */
.ff-v2-highlight {
    color: #00849c;
    background: linear-gradient(transparent 60%, #fff000 60%); /* 黄色のマーカー */
    display: inline-block;
    padding: 0 2px;
}




/* PCサイズ調整 */
@media (min-width: 768px) {
    .ff-v2-grid {
        grid-template-columns: repeat(3, 1fr); /* PCは3列 */
        gap: 15px;
    }
    .ff-v2-item {
        flex-direction: column; /* PCは縦並びでカードっぽく */
        text-align: center;
        padding: 30px 15px;
    }
    .ff-v2-icon {
        width: 80px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .ff-v2-content {
        text-align: center;
    }
    .ff-v2-main {
        font-size: 1.25rem;
    }
}



/* Section Title 補足 */
.section-title span {
    display: block;    /* 改行を維持 */
    font-size: 1.8rem; /* 文字の大きさを調整（適宜数値を変えてください） */
    font-weight: bold; /* 太字にする */
    color: #333;       /* 色をはっきりさせる（お好みで） */
    margin-top: 4px;   /* Today's Rateとの間隔 */
}
/* Rate Grid & Cards */
.rate-grid {
    display: grid;
    /* ★常に3列にする設定 */
    grid-template-columns: repeat(3, 1fr);
    /* スマホでは隙間を少し狭く(8px)すると収まりが良いです */
    gap: 8px;
    margin-bottom: 15px;
}

.rate-grid-last-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rate-grid-last-row .rate-card {
    width: calc((100% - 16px) / 3);
}

.rate-card {
    display: block;
    text-decoration: none;
    background: #f0f8ff;
    border: 1px solid #e0e0e0; /* 3列時は枠を細くするとスッキリします */
    border-radius: 8px;
    /* パディングをさらに絞って中身のスペースを確保 */
    padding: 10px 4px 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.rate-card:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.rate-card-img {
    width: 100%;
    /* スマホ3列時に画像が大きすぎないよう調整 */
    max-width: 100px;
    margin: 0 auto 0px;
    line-height: 0;
}

.rate-card-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rate-label {
    /* 3列だと文字が入りきらない場合があるため、少し小さめに */
    font-size: 0.7rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    /* 長い文字を省略せずに表示 */
    white-space: nowrap;
}

.rate-card-content {
    margin-top: -2px;
}

.rate-value {
    /* 3列時の「%」のサイズ */
    font-size: 1rem;
    color: var(--main-color);
    font-weight: 900;
    line-height: 1;
}

.rate-value span {
    /* 3列時の数字のサイズ（大きすぎると枠を突き抜けます） */
    font-size: 1.6rem;
    margin-right: 1px;
}

/* PCサイズ (画面幅が広い時) の調整 */
@media (min-width: 768px) {
    .rate-grid {
        gap: 15px;
    }
    .rate-grid-last-row {
        gap: 15px;
    }
    .rate-grid-last-row .rate-card {
        width: calc((100% - 30px) / 3);
    }
    .rate-label {
        font-size: 0.85rem;
    }
    .rate-value {
        font-size: 1.8rem;
    }
    .rate-value span {
        font-size: 2.8rem;
    }
    .rate-card-img {
        max-width: 150px;
    }
}

/* 見出し下の横長バナー (スマホだと2remは大きすぎるので調整) */
.status-banner {
    background-color: #00a3af;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem; /* スマホ用にサイズダウン */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .status-banner {
        font-size: 2rem; /* PCでは元の大きさに */
    }
}

/* Estimate セクション共通 */
.estimate-intro {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.estimate-intro .highlight {
    font-size: 1.4rem;
    color: var(--main-color);
    background: linear-gradient(transparent 70%, #ffcce5 70%); /* 下線風 */
    display: inline-block;
}

.estimate-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.estimate-form-grid {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .estimate-form-grid {
        grid-template-columns: 1fr 1fr; /* PCは2列 */
    }
}

.label-attention {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff3333 0%, #ff9800 100%);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
    letter-spacing: 0.05em;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}



.input-group label {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #2c445d;
}

.input-group select, 
.input-wrap {
    width: 100%;
    height: 50px;
    border: 1.5px solid #2c445d;
    border-radius: 5px;
    font-size: 1.1rem;
    background: #fdfefe;
}

.input-group select {
    padding: 0 10px;
    cursor: pointer;
}

.input-wrap {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.input-wrap input {
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    outline: none;
}

.input-wrap .unit {
    margin-left: 5px;
    font-weight: bold;
}

.arrow-down {
    text-align: center;
    color: #2c445d;
    font-size: 1.5rem;
    margin: 10px 0;
}

/* 結果表示エリア */
.result-display {
    background: #f0fbfc;
    border: 1.5px solid var(--main-color);
    border-radius: 5px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#output-amount {
    font-size: 2.2rem;
    color: #ff0080; /* エニタイム風のピンク */
}

.unit-pink {
    color: #ff0080;
    font-size: 1.2rem;
    margin-left: 5px;
}

.rate-display-text {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #666;
}

.btn-estimate-apply {
    display: block;
    background: linear-gradient(to right, #ff4b2b, #ff416c); /* グラデーションボタン */
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}




/* 特徴セクションの簡易装飾 */
#features {
    background-color: #fff;
}

.features-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    gap: 15px 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item-v3 {
    background: #ffffff; /* ★カード自体の背景色（白） */
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column; /* 縦に積む（ヘッダー・画像・説明文） */
}

/* ヘッダー（番号とタイトル）を横並びにする */
.item-header {
    display: flex;
    align-items: center; /* 上下中央 */
    justify-content: flex-start; /* 左寄せ */
    margin-bottom: 15px;
    width: 100%;
}

.item-num-img {
    width: 32px; /* 番号画像のサイズ */
    height: auto;
    margin-right: 8px; /* 文字との間隔 */
    flex-shrink: 0; /* 画像が潰れないように固定 */
}

.item-sub-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #00a3af;
    line-height: 1.2;
    margin: 0; /* 余計な余白を消す */
}

/* メイン画像（少し小さく） */
.item-main-img {
    width: 70%;
    max-width: 90px;
    margin: 0 auto 15px; /* 中央寄せ */
    line-height: 0;
}

.item-main-img img {
    width: 100%;
    height: auto;
}

/* 説明文（文字を大きく） */
.item-description {
    font-size: 0.85rem; /* スマホで見やすい大きさ */
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* PCサイズ調整（768px以上） */
@media (min-width: 768px) {
    .features-grid-v3 {
        grid-template-columns: repeat(3, 1fr); /* PCは3列 */
        gap: 30px 20px;
    }

    .item-num-img {
        width: 45px;
    }

    .item-sub-title {
        font-size: 1.4rem;
    }

    .item-main-img {
        max-width: 130px;
    }

    .item-description {
        font-size: 1.1rem;
        font-weight: bold;
    }
}



/* 誰でも利用OKセクション */
.bg-main-color {
    background-color: var(--main-color);
    color: #fff;
}

/* タイトルを白文字にするためのクラス */
.section-title.white {
    color: #fff;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.guide-img {
    width: 100%;
    margin-bottom: 30px;
    line-height: 0;
}

.guide-img img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* 角を少し丸くして柔らかい印象に */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.guide-text-box {
    background: #fff;
    color: #333;
    padding: 30px 20px;
    border-radius: 15px;
    line-height: 2;
}

.guide-text-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

/* 強調文字の色（メインカラーに合わせる） */
.guide-text-box strong {
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(transparent 70%, #e0f2f3 70%); /* 薄い水色のマーカー線 */
}

/* スマホ用の微調整 */
@media (max-width: 767px) {
    .guide-text-box p {
        font-size: 0.95rem;
        text-align: left; /* スマホでは左寄せの方が見やすい場合があります */
    }
}



/* お客様の声セクション */
#voice {
    background-color: #f4f8f9; /* 少し背景に色をつけてカードを浮かせる */
}

.voice-grid {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.voice-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.voice-header {
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.voice-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c445d;
    margin-bottom: 5px;
}

.stars {
    color: #ffb400; /* ゴールド星 */
    letter-spacing: 2px;
}

.voice-body {
    flex-grow: 1;
}

.voice-tag {
    display: inline-block;
    background: #e0f2f3;
    color: var(--main-color);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.voice-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.voice-user {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info {
    font-size: 0.85rem;
    font-weight: bold;
    color: #777;
}

/* PCサイズ (768px以上) */
@media (min-width: 768px) {
    .voice-grid {
        grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    }
}


/* ご利用の流れセクション */
#flow {
    background-color: #fff;
}

.flow-container {
    display: flex;
    flex-direction: column; /* スマホは縦並び */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: left;
    height: 100%;
}

.step-header {
    background: var(--main-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    display: inline-block;
    border-bottom-right-radius: 10px;
}

.step-title {
    font-size: 1.2rem;
    padding: 15px 15px 10px;
    color: #2c445d;
}

.step-img {
    width: 100%;
    line-height: 0;
}

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

.step-desc {
    padding: 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 矢印のスタイル */
.flow-arrow {
    font-size: 1.5rem;
    color: var(--main-color);
    margin: 15px 0;
    transform: rotate(90deg); /* スマホでは下向き */
}

/* PCサイズ (992px以上で横並び) */
@media (min-width: 992px) {
    .flow-container {
        flex-direction: row; /* 横並び */
        justify-content: space-between;
        align-items: stretch;
    }

    .flow-step {
        width: 23%; /* 4つ並ぶので約4分の1 */
    }

    .flow-arrow {
        transform: rotate(0deg); /* PCでは右向き */
        align-self: center;
        margin: 0;
    }
}



/* Q&A セクション */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* 質問部分 */
.faq-question {
    padding: 20px 50px 20px 20px;
    font-weight: bold;
    color: var(--main-color);
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0fbfc;
}

/* ＋・ー ボタンのデザイン */
.faq-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--main-color);
    transition: 0.3s;
}

/* 横線 */
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}

/* 縦線（＋の時だけ表示） */
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}

/* 開いている時（active）のボタン変化 */
.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0; /* 縦線を消して「ー」にする */
}

/* 回答部分 */
.faq-answer {
    display: none; /* 初期状態は閉じる */
    background: #2c445d; /* エニタイム風の濃い紺色 */
    color: #fff;
    line-height: 1.8;
}

.faq-answer-content {
    padding: 20px;
    font-size: 0.95rem;
}

/* 会社概要セクション */
.company-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

.company-table {
    width: 100%;
    border-collapse: collapse; /* 線の重なりを防ぐ */
    margin-top: 20px;
}

.company-table tr {
    border-bottom: 1.5px solid var(--main-color); /* エニタイム風の紺色ライン */
}

.company-table th,
.company-table td {
    padding: 20px 15px;
    text-align: left;
    font-size: 1rem;
}

.company-table th {
    width: 30%; /* 項目名の幅を固定 */
    color: #2c445d;
    font-weight: bold;
    white-space: nowrap;
}

.company-table td {
    width: 70%;
    color: #333;
    font-weight: 500;
}

/* スマホ用の微調整 */
@media (max-width: 767px) {
    .company-table th,
    .company-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .company-table th {
        width: 35%; /* スマホでは少し項目幅を広げる */
    }
}

/* フッター全体 */
.main-footer {
    background-color: #2c445d; /* 濃い紺色 */
    color: #fff;
    padding: 50px 0 100px; /* 下側は固定フッターを考慮して広めに */
    text-align: center;
}

/* フッターロゴ */
.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-main {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.footer-logo p {
    font-size: 10px;
    margin-top: 5px;
}

/* フッターナビゲーション */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* スマホで入り切らない場合、折り返す */
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.footer-nav ul li a:hover {
    opacity: 0.7;
}

/* コピーライト */
.copyright {
    font-size: 0.75rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* スマホ用の調整 */
@media (max-width: 767px) {
    .footer-nav ul {
        flex-direction: column; /* スマホでは縦に並べる */
        gap: 15px;
    }
    
    .footer-nav ul li {
        margin: 0;
    }
}
















/* ボタン（共通） */
.cta-button a {
    display: block;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: transform 0.2s;
}

.cta-button a:active {
    transform: scale(0.98);
}

/* 固定フッター（スマホ） */
.fixed-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 480px;
    z-index: 1000;
    display: flex;
}

.fixed-footer a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.btn-tel { background-color: #34c759; }
.btn-web {
    background: linear-gradient(135deg, #ff3333 0%, #ff6644 100%);
    border-radius: 50px;
    padding: 18px 24px;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 24px rgba(255, 51, 51, 0.45);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-web:hover,
.btn-web:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.5);
}

footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.75rem;
    background: #444;
    color: #fff;
}


/* --- 下層ページ用スタイル --- */
.page-header {
    background-color: var(--main-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 読みやすくするための幅狭コンテナ */
.container-narrow {
    max-width: 850px;
    margin: 0 auto;
}

.privacy-content {
    background-color: #fff;
    line-height: 1.8;
}

.privacy-intro {
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #444;
}

.privacy-item {
    margin-bottom: 30px;
}

.privacy-item h2 {
    font-size: 1.2rem;
    color: var(--main-color);
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.privacy-item p {
    font-size: 1rem;
    color: #333;
}

@media (max-width: 767px) {
    .page-header {
        padding: 40px 0;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}


/* --- お申込みフォーム専用 --- */
.apply-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 32px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.apply-header {
    text-align: center;
    margin-bottom: 30px;
}

.apply-header h1 {
    font-size: 1.5rem;
    color: #2c445d;
    margin: 10px 0;
}

.status-badge-open {
    display: inline-block;
    background: #e0f2f3;
    color: var(--main-color);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
}

.status-badge-closed {
    display: inline-block;
    background: #f2e0e0;
    color: #c0392b;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
}

.status-note {
    margin-top: 8px;
    font-size: 0.85em;
    color: #c0392b;
}

.form-group {
    margin-bottom: 36px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 10px;
    border-left: 4px solid var(--main-color);
    padding-left: 10px;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.form-row .form-group {
    margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9fbfc;
    font-size: 1rem;
    box-sizing: border-box;
    line-height: 1.5;
}

.radio-group {
    display: flex;
    gap: 24px;
    padding: 12px 0;
}

.form-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: -15px;
    margin-bottom: 20px;
}

.checkbox-group label {
    border: none;
    padding: 0;
    font-weight: normal;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-box {
    border: 1.5px solid #cdd8da;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    margin-bottom: 36px;
}

.confirm-box-head {
    background: var(--main-color);
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    padding: 11px 16px;
    border-radius: 8px;
}

.confirm-box-body {
    padding: 18px 8px 6px;
}

.confirm-box-lead {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.confirm-box-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.confirm-box-check input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
    cursor: pointer;
}

.confirm-box-note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #8a8a8a;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(to right, #ff4b2b, #ff416c);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
    margin-top: 20px;
}

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



        /* ステップバー */
        .steps-bar {
            background: #fff;
            border-bottom: 1px solid #e0f2f3;
            padding: 16px 20px;
        }

        .steps-inner {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .step-dot {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .step-dot .circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #ddd;
            color: #999;
            font-weight: bold;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .step-dot.done .circle {
            background: #00849c;
            color: #fff;
        }

        .step-dot.active .circle {
            background: linear-gradient(135deg, #ff3333, #ff3366);
            color: #fff;
            box-shadow: 0 2px 8px rgba(255,51,51,0.4);
        }

        .step-dot .label {
            font-size: 0.65rem;
            color: #999;
            font-weight: bold;
            white-space: nowrap;
        }

        .step-dot.done .label,
        .step-dot.active .label {
            color: #333;
        }

        .step-line {
            flex: 1;
            height: 2px;
            background: #ddd;
            margin-bottom: 16px;
            max-width: 60px;
        }

        .step-line.done {
            background: #00849c;
        }

        /* メインコンテナ */
        .verify-container {
            max-width: 600px;
            margin: 24px auto;
            padding: 0 16px 40px;
        }

        .verify-page-header {
            text-align: center;
            padding: 8px 0 20px;
        }

        .verify-page-header h1 {
            font-size: 1.4rem;
            color: #2c445d;
            font-weight: 900;
            margin-bottom: 6px;
        }

        .verify-page-header p {
            font-size: 0.82rem;
            color: #777;
            line-height: 1.7;
        }

        /* カード */
        .verify-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0,132,156,0.08);
            margin-bottom: 20px;
            overflow: hidden;
        }

        .card-header {
            background: linear-gradient(135deg, #00849c, #006b7e);
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .card-header .icon {
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.2);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .card-header h2 {
            color: #fff;
            font-size: 1rem;
            font-weight: 900;
            margin: 0;
        }

        .card-header p {
            color: rgba(255,255,255,0.8);
            font-size: 0.75rem;
            margin: 2px 0 0;
        }

        .card-body {
            padding: 20px;
        }

        /* 注意書き */
        .notice-box {
            background: #fff8e1;
            border: 1px solid #ffe082;
            border-radius: 8px;
            padding: 12px 14px;
            margin-bottom: 20px;
        }

        .notice-box p {
            font-size: 0.8rem;
            color: #795548;
            line-height: 1.7;
            margin: 0;
        }

        .notice-box p::before {
            content: "⚠️ ";
        }

        /* アップロードグループ */
        .upload-group {
            margin-bottom: 20px;
        }

        .upload-label {
            display: block;
            font-weight: bold;
            color: var(--main-color);
            margin-bottom: 8px;
            border-left: 4px solid var(--main-color);
            padding-left: 10px;
            font-size: 0.9rem;
        }

        .upload-label .required {
            display: inline-block;
            background: #ff3366;
            color: #fff;
            font-size: 0.65rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 6px;
            font-weight: bold;
            vertical-align: middle;
        }

        .upload-label .optional {
            display: inline-block;
            background: #aaa;
            color: #fff;
            font-size: 0.65rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 6px;
            font-weight: bold;
            vertical-align: middle;
        }

        /* テキスト入力・名前グリッド */
        .text-input {
            width: 100%;
            padding: 12px 14px;
            border: 1.5px solid #b0d8df;
            border-radius: 8px;
            font-size: 0.95rem;
            color: #333;
            background: #f9fdfe;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }

        .text-input:focus {
            outline: none;
            border-color: var(--main-color);
            background: #fff;
        }

        .name-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .verify-container .form-group {
            margin-bottom: 0;
        }

        .upload-area {
            border: 2px dashed #b0d8df;
            border-radius: 12px;
            background: #f0fbfc;
            padding: 28px 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.25s;
            position: relative;
            min-height: 110px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .upload-area:hover {
            border-color: var(--main-color);
            background: #e5f6f9;
        }

        .upload-area.has-file {
            border-color: #00849c;
            border-style: solid;
            background: #e5f6f9;
            padding: 16px;
        }

        .upload-area input[type="file"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
            width: 100%;
            height: 100%;
        }

        .upload-icon {
            font-size: 2.2rem;
            display: block;
            margin-bottom: 8px;
        }

        .upload-title {
            font-weight: bold;
            color: #333;
            font-size: 0.9rem;
            margin-bottom: 4px;
        }

        .upload-sub {
            font-size: 0.72rem;
            color: #888;
        }

        /* プレビュー */
        .upload-preview {
            display: none;
            position: relative;
            margin: 0 auto;
            width: fit-content;
        }

        .upload-preview img {
            max-width: 100%;
            max-height: 160px;
            border-radius: 8px;
            object-fit: cover;
            border: 2px solid #00849c;
            display: block;
        }

        .remove-btn {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 26px;
            height: 26px;
            background: #ff3366;
            color: #fff;
            border: none;
            border-radius: 50%;
            font-size: 0.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 2px 6px rgba(255,51,102,0.4);
            z-index: 1;
        }

        .upload-check {
            display: none;
            color: #00849c;
            font-weight: bold;
            font-size: 0.82rem;
            margin-top: 8px;
            text-align: center;
        }

        /* 表面・裏面の2列 */
        .id-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        /* 同意チェック */
        .agree-box {
            background: #f9fbfc;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 20px;
        }

        .agree-box label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.85rem;
            color: #555;
            cursor: pointer;
            line-height: 1.6;
        }

        .agree-box input[type="checkbox"] {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 2px;
            accent-color: var(--main-color);
        }

        /* 送信ボタン */
        .btn-submit-verify {
            width: 100%;
            background: linear-gradient(to right, #ff4b2b, #ff416c);
            color: #fff;
            border: none;
            padding: 18px;
            border-radius: 50px;
            font-size: 1.15rem;
            font-weight: 900;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(255,65,108,0.35);
            transition: transform 0.2s, box-shadow 0.2s;
            letter-spacing: 0.04em;
        }

        .btn-submit-verify:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(255,65,108,0.45);
        }

        .btn-submit-verify:active {
            transform: scale(0.98);
        }

        .btn-submit-verify:disabled {
            background: #ccc;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
        }

        .security-badge {
            text-align: center;
            margin-top: 12px;
            font-size: 0.75rem;
            color: #888;
        }

        .security-badge span {
            margin: 0 6px;
        }

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