@charset "utf-8";
/* CSS Document */

/* --- 基本設定 --- */
:root {
    --primary-color: #0d47a1; /* 濃いめの信頼感ある青 */
    --secondary-color: #f57c00; /* 少し落ち着いたオレンジ */
    --accent-color: #ffab00; /* 発色の良い黄色系CTA */
    --text-color: #37474f; /* 少し柔らかい黒 */
    --text-color-light: #546e7a;
    --bg-color: #f4f6f8;
    --bg-color-light: #f4f6f8; /* 薄いグレー */
    --bg-color-blue-light: #e3f2fd; /* 薄い青 */
    --border-color: #cfd8dc;
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.sp-only { display: inline; }
@media (min-width: 768px) {
.sp-only { display: none; }
}
.pc-only { display: none }
@media (min-width: 768px) {
.pc-only { display: inline; }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.8; /* 少し広げて読みやすく */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.no-scroll {
    overflow: hidden; /* メニュー表示時に背景スクロールを禁止 */
}

.container {
    width: 95%;
    max-width: 1160px; /* 少し広げる */
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}
a:hover {
    opacity: 0.8;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color); /* 基本の見出し色 */
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); } /* レスポンシブフォント */
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin-bottom: 1.8em; text-align: center; padding-bottom: 0.5em; border-bottom: 2px solid var(--primary-color); display: inline-block; left: 50%; position: relative; transform: translateX(-50%);}
h3 { font-size: clamp(1.3rem, 4vw, 1.7rem); margin-bottom: 1.2em; }
h4 { font-size: clamp(1.1rem, 3.5vw, 1.2rem); margin-bottom: 1em; color: var(--secondary-color); } /* 強みなどのサブ見出しはオレンジ */

section {
    padding: clamp(50px, 8vw, 80px) 0; /* レスポンシブパディング */
}
section:nth-child(odd) { /* 背景色を交互に */
    background-color: var(--bg-color-light);
}
section.hero, section.solution-lead, section.facility-lead, section.transport-lead, .footer { /* 特定セクションの背景色は維持 */
    background-color: initial;
}
.hero { background-color: var(--primary-color);}
.solution-lead { background-color: var(--primary-color); }
.facility-lead { background-color: var(--primary-color); }
.transport { background-color: var(--secondary-color); } /* transportセクションはオレンジベース */
.footer { background-color: var(--primary-color); }


/* --- ヘッダー --- */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0; /* 少し高さを出す */
    position: sticky;
    top: 0;
    z-index: 1000; /* メニューより手前 */
    transition: box-shadow 0.3s ease;
}
.header.is-scrolled { /* スクロール時に影を出す（JSでのクラス付与が必要） */
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ全体（リンク）のスタイル */
.logo-link {
    display: flex; /* 画像とテキストを横並びにする */
    align-items: center; /* 上下中央揃え */
    gap: 10px; /* 画像とテキストの間隔 */
    text-decoration: none; /* リンクの下線を消す */
}

/* ロゴ画像 */
.logo-link img {
    height: 45px; /* 既存の高さ指定をこちらに適用 */
    display: block; /* display:flexの子要素として */
}

/* ロゴテキスト */
.logo-text {
    font-size: 1.1rem; /* テキストサイズ */
    font-weight: 700; /* 太字 */
    color: var(--primary-color); /* テキストの色 (ヘッダーのテーマに合わせる) */
    line-height: 1; /* テキストの行高を詰める */
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1010; /* ナビより手前 */
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 3px;
}
/* ハンバーガーアニメーション（×印） */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* グローバルナビゲーション */
.global-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.global-nav li {
    margin-left: 25px;
}

.global-nav a {
    color: var(--text-color);
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.global-nav a::after { /* ホバー時の下線アニメーション */
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.global-nav a:hover {
    color: var(--secondary-color);
    opacity: 1;
}
.global-nav a:hover::after {
    width: 100%;
}

/* --- ヒーローセクション --- */
.hero {
    color: var(--white);
    /* 上下パディングと最小高さを指定 */
    padding: clamp(60px, 10vh, 100px) 0;
    min-height: 50vh;
    /* flexboxで中央揃え（スマホデフォルト） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* 背景画像とオーバーレイ */
    position: relative;
    overflow: hidden;
    background-image: url('../img/lp/hero-image.png'); /* デフォルト背景 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* 背景オーバーレイ */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)); /* 濃さ調整 */
    z-index: 1;
}

/* コンテンツコンテナ */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 95%; /* スマホでの最大幅 */
    padding: 0 10px; /* 左右の最低限パディング */
    width: 100%; /* flexアイテムとしての幅基準 */
	margin: 0 auto; /* 中央揃え */
    padding: 0 15px; /* 左右パディング */
    display: flex;
    flex-direction: column; /* スマホ(デフォルト)は縦積み */
    align-items: center; /* スマホでは中央揃え */
    gap: 40px; /* スマホでのテキストエリアとロゴエリアの間隔 */
    text-align: center; /* スマホでは中央揃え */
}

/* 左側：テキスト＆ボタンエリア */
.hero-text-area {
    max-width: 820px; /* テキストが広がりすぎないように */
}

/* 右側：企業ロゴエリア */
.hero-logos {
    width: 100%; /* スマホでは幅いっぱい */
    max-width: 400px; /* スマホでのロゴエリア最大幅 */
    display: flex;
    flex-direction: column; /* スマホではロゴ縦積み */
    align-items: center;
    gap: 15px; /* スマホでのロゴ間の隙間 */
    /* background-color: rgba(255, 255, 255, 0.1); */ /* ロゴ背景（任意） */
    /* padding: 20px; */
    /* border-radius: 8px; */
}

.logo-item {
    /* ロゴのスタイル（画像かテキストかで調整） */
    text-align: center; /* テキストの場合 */
}
.client-name { /* テキストロゴの場合のスタイル例 */
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

/* メインキャッチコピー */
.hero h1 {
    color: var(--white);
    margin-bottom: 0.6em;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-size: clamp(1.7rem, 5.5vw, 2.8rem); /* 文字サイズ */
}

/* サブテキスト */
.hero-sub {
    font-size: clamp(1.2rem, 3vw, 1.3rem); /* 文字サイズ */
    margin: 0 auto 2em auto; /* 上マージン0、左右autoで中央、下マージン */
    max-width: 700px; /* スマホでの最大幅 */
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* CTAボタン */
.hero .cta-button {
    margin-top: 1.5em;
}

/* スマホ改行用クラス */
.sp-only { display: inline; }


/* --- レスポンシブ調整 --- */

/* スマホ (〜767px) */
@media (max-width: 767px) {
    .hero {
        background-image: url('../img/lp/hero-image-sp.jpg'); /* スマホ用背景 */
    }
    /* スマホでは特に変更不要なスタイルは記述しない */
}

/* タブレット以上 (768px〜) */
@media (min-width: 768px) {
    .hero {
        min-height: 60vh;
        /* 左寄せに変更 */
        align-items: flex-start; /* !important 削除 */
        text-align: left;
    }

    .hero-content {
        flex-direction: row; /* 横並び */
        justify-content: flex-start; /* 左右に配置 */
        align-items: center; /* 上下中央揃え */
        text-align: left; /* 全体を左揃え基準に */
        gap: 1%; /* 左右エリアの間隔 */
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem); /* PCでの文字サイズ */
    }

    .hero-sub {
        font-size: clamp(1.2rem, 2.2vw, 1.5rem); /* PCでの文字サイズ */
        margin-left: 0; /* 左寄せのため auto を解除 */
        margin-right: 0;
        max-width: 600px;
    }
	.hero-logos { max-width: 30%; }
	.logo-item span{
    	font-size: 1.5em;
}

    .sp-only { display: none; } /* スマホ用改行を非表示 */
}

/* PC (1024px〜) */
@media (min-width: 1024px) {
    .hero {
         min-height: 65vh;
    }
    .hero-content {
        padding-left: 5%; /* さらに左に寄せる場合 */
    }
     .hero h1 {
        font-size: clamp(2.8rem, 4.5vw, 3.5rem); /* さらに大きく */
    }
     .hero-sub {
        font-size: clamp(1.5rem, 2vw, 2rem); /* さらに大きく */
    }
	.hero-text-area { width: 90%; }
    .hero-logos {
        /* width: 35%; */ /* 固定幅ではなく自動調整に */
        width: auto;
        max-width: 35%; /* 広がりすぎないように */
        flex-shrink: 0;
        /* ロゴの並び方や揃え方 */
        flex-direction: column;
        align-items: flex-start; /* ロゴを左揃えにする場合 */
        /* align-items: center; */ /* ロゴを中央揃えにする場合 */
        gap: 15px; /* ロゴ間の隙間 */
    }
}

/* ボタンにパルスアニメーションを追加 */
@keyframes cta-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
    50% { transform: scale(1.03); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }
    100% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
}
.cta-button {
    display: inline-flex; /* アイコンとテキストを横並びにするため */
    align-items: center; /* 上下中央揃え */
    justify-content: center; /* 左右中央揃え */
    gap: 0.6em; /* アイコンとテキストの間隔 */
    padding: 0.9em 1.8em; /* 上下左右のパディング (emでフォントサイズに連動) */
    font-size: 1.15rem; /* 基本フォントサイズ (レスポンシブで調整) */
    font-weight: 700;
    text-align: center;
    line-height: 1.4; /* 行の高さを調整 */
    border-radius: 10px; /* 角丸を少し調整 */
    border: 1px solid transparent; /* 枠線用のスペース確保 */
    border-bottom-width: 4px; /* 下に太い枠線で立体感を出す */
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none; /* aタグの下線除去 */
    min-width: 280px; /* 最低幅を確保（任意） */
    box-sizing: border-box; /* padding, border を含めて幅計算 */
	 animation: cta-pulse 2s infinite ease-in-out; 
}
/* ホバー時にはアニメーションを止める（任意） */
.cta-button:hover {
    animation-play-state: paused; /* ホバー中は停止 */
    /* 他のホバー効果 */
    background-color: #ffea00; /* 例: 黄色ボタンのホバー */
    border-color: #ffd600;
    transform: translateY(-2px) scale(1.03); /* 停止時のスタイル */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.cta-button .text-wrap {
    display: block; /* 改行を有効にするため */
}
.cta-button .sub-text { /* PC用サブテキスト */
    font-size: 1.2em;
    opacity: 0.9;
    display: block;
    margin-top: 0.2em;
    font-weight: 400; /* 通常の太さ */
}
.cta-button .sub-text2 { /* PC用サブテキスト */
    font-size: 1em;
    opacity: 0.9;
    display: block;
    margin-top: 0.5em;
    font-weight: 400; /* 通常の太さ */
}

.cta-button:hover {
    background-color: #ffea00; /* ホバー時さらに明るく */
    /* ▼▼▼ ホバー効果強化 ▼▼▼ */
    transform: translateY(-3px) scale(1.03); /* 少し上に動き、わずかに拡大 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* ホバー時の影をさらに濃く */
    /* ▲▲▲ ホバー効果強化 ▲▲▲ */
    opacity: 1;
}
.cta-button:active {
    transform: translateY(2px); /* 少し下に沈む */
    border-bottom-width: 2px; /* 下の太枠線を細く */
    box-shadow: none; /* 影を消す */
}

/* --- 危険物倉庫ボタン（黄色系）--- */
.cta-button:not(.cta-button-secondary):not(.cta-button-transport) { /* 他のクラスが付いていない場合 */
    background-color: #ffd600; /* 明るい黄色 */
    color: #333; /* 濃い文字色 */
    border-color: #ffc107; /* 下枠線の色（少し濃い黄色） */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.cta-button:not(.cta-button-secondary):not(.cta-button-transport):hover {
    background-color: #ffea00;
    border-color: #ffd600;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.cta-button:not(.cta-button-secondary):not(.cta-button-transport):active {
     background-color: #ffc107; /* active時の色 */
     border-color: #ffc107;
}

/* --- 電話ボタン（青系）--- */
.cta-button-secondary {
    background-color: var(--primary-color); /* 青 */
    color: var(--white);
    border-color: #0b3a7d; /* 下枠線の色（濃い青） */
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2);
}
.cta-button-secondary:hover {
    background-color: #1565c0; /* ホバー色 */
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}
.cta-button-secondary:active {
     background-color: #0b3a7d;
     border-color: #0b3a7d;
}

/* --- 自動車部品輸送ボタン（オレンジ系）--- */
.cta-button-transport {
    background-color: var(--secondary-color); /* オレンジ */
    color: var(--white);
    border-color: #d86d00; /* 下枠線の色（濃いオレンジ） */
    box-shadow: 0 4px 8px rgba(245, 124, 0, 0.25);
	border-radius: 80px; /* 角丸を少し調整 */
}
.cta-button-transport:hover {
    background-color: #fb8c00; /* ホバー色 */
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 124, 0, 0.3);
}
.cta-button-transport:active {
     background-color: #d86d00;
     border-color: #d86d00;
}
.cta-area {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-note {
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}
.cta-tel {
     font-size: 1.3em;
     display: block;
     font-weight: 700;
}
/* --- レスポンシブ調整 --- */
@media (max-width: 767px) {
    .cta-button {
        font-size: 1.05rem; /* スマホでは少し小さく */
        padding: 0.8em 1.5em;
        min-width: 260px;
    }
    .pc-only { display: none; } /* PC用テキスト非表示 */
}

@media (min-width: 768px) {
    .cta-button {
        font-size: 1.3rem; /* タブレットでのサイズ */
        padding: 1em 2em;
        min-width: 300px;
    }
    .sp-only { display: none; } /* スマホ用改行非表示 */
}

@media (min-width: 1024px) {
    .cta-button {
        font-size: 1.5rem; /* PCでのサイズ */
        padding: 1.1em 2.2em;
        min-width: 320px;
    }
}

/* --- 問題提起セクション --- */
.problem {
    background-color: var(--bg-color-light);
}
.problem .container {
    position: relative; /* h2の位置基準 */
}
.problem h2 {
    border: none; /* ここでは下線なし */
    text-align: left;
    position: static; /* h2の基準位置をリセット */
    transform: none;
    display: block;
    margin-bottom: 1.5em;
	font-size: 1.8em;
}
@media (min-width: 768px) {
.problem h2 {
    text-align: center;
	font-size: 2.3em;
}
}
.problem-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* ▼▼▼ リスト全体のスタイル ▼▼▼ */
.problem ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    counter-reset: problem-counter; /* 番号リセット */
    display: flex; /* flexboxに変更 */
    flex-direction: column; /* 縦積み */
    gap: 15px; /* 項目間の隙間 */
}
/* ▲▲▲ リスト全体のスタイル ▲▲▲ */

/* ▼▼▼ 各リスト項目のスタイル ▼▼▼ */
.problem li {
    background-color: var(--white);
    padding: 18px 20px 18px 55px; /* 左に番号スペース確保 */
    position: relative;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-color); /* テキスト色を標準に */
    overflow: hidden; /* 疑似要素はみ出し防止 */
}

/* 番号を疑似要素で作成 */
.problem li::before {
    counter-increment: problem-counter; /* 番号をカウントアップ */
    content: counter(problem-counter); /* 番号表示 */
    position: absolute;
    left: 0px; /* 左端に配置 */
    top: 0;
    height: 100%; /* 高さを項目に合わせる */
    width: 40px; /* 番号エリアの幅 */
    background-color: var(--primary-color); /* 番号エリア背景色 */
    color: var(--white); /* 番号文字色 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-right: 1px solid var(--border-color); /* 右側に線 */
}

.problem-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    text-align: center;
    position: relative;
    border-radius: 8px; /* 角丸 */
    overflow: hidden; /* 画像はみ出し防止 */
    width: 100%; /* スマホで幅いっぱい */
    max-width: 450px; /* PCでの最大幅 */
}
.problem-image span {
    color: #757575;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.problem-image img {
    display: block;
    width: 100%; /* 画像をコンテナに合わせる */
    height: 100%;
    object-fit: cover;
}

/* --- ソリューションセクション --- */
.solution-lead {
    background-color: var(--primary-color);
    color: var(--white);
    padding: clamp(45px, 9vw, 80px) 0;
    margin-bottom: 45px;
    text-align: center; /* 親要素で中央揃え */
    position: relative;
    overflow: hidden;
}

/* 背景装飾（例：斜めのライン）*/
.solution-lead::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        transparent 75%,
        transparent 100%
    );
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.5;
}

.solution-lead .container {
    position: relative;
    z-index: 2;
}

/* キャッチフレーズ */
.solution-catchphrase {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    margin-bottom: 0.5em;
    opacity: 0.9;
    font-weight: 700;
}

/* メイン見出し h2 */
.solution-lead h2 {
    border-bottom: none;
    display: inline-block; /* 中央揃えのため inline-block に変更 */
    position: relative; /* left/transform のため（不要な場合あり）*/
    margin-bottom: 1em;
    font-size: clamp(1.9rem, 6vw, 3rem);
    font-weight: 900;
    /* padding: 0 1em; を削除 */
    letter-spacing: 1.5px;

    /* グラデーション文字 */
    background: linear-gradient(to right, #fff, #ffeb3b, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* リード文 */
.solution-lead p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}

/* --- ソリューションセクション内の強みグリッド --- */
.strength-grid {
    display: grid;
    /* gap: 40px; */ /* gapではなく、各アイテムにmargin-bottomを設定 */
    grid-template-columns: 1fr!important; /* 常に1列 */
    margin-top: 50px;
    position: relative; /* 縦線の基準 */
}

.strength-item {
    background-color: var(--white);
    padding: 35px 30px 35px 30px; /* パディング調整 */
    border: none; /* 枠線削除 */
    border-radius: 12px; /* 角丸を大きく */
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.08); /* 影を調整 */
    position: relative; /* 番号配置の基準 */
    margin-bottom: 40px; /* 各アイテムの下に間隔を空ける */
}
/* ホバー効果 */
.strength-item:hover {
    box-shadow: 0 15px 35px rgba(0, 50, 100, 0.12);
}


/* 強み番号 */
.strength-number {
    position: absolute;
    left: -40px;
    top: -30px;
     background: linear-gradient(135deg, #e65100, #ffc107, #ffeb3b, #f57c00); /* 4色グラデーション */
    background-size: 300% 300%; /* グラデーション領域を大きく */
    background-position: left top; /* 初期位置 */
    color: var(--white); /* 白文字のまま or 濃い背景に合わせて調整 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* 影を少し強く */
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15); /* 影も少し濃く */
    z-index: 1;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 1s ease; /* background-position の transition */
}
@media (max-width: 768px) {
.strength-number {
    position: absolute;
    left: -16px;
    top: -20px;
    font-size: 1.2rem;
    width: 70px;
    height: 70px;
}
}
/* ▼▼▼ 強み番号のホバーエフェクト ▼▼▼ */
.strength-item:hover .strength-number {
    transform: scale(1.05); /* わずかに拡大（任意） */
    background-position: right bottom; /* グラデーションの表示位置を移動 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 強み見出し h3 */
.strength-item h3 {
    color: var(--primary-color); /* プライマリカラーで見出しを強調 */
    margin-top: 5px; /* 番号とのバランス調整 */
    margin-bottom: 0.8em;
    margin-left: 10px;
    font-size: 1.6rem; /* さらに大きく */
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    padding-bottom: 0.4em; /* 下線のスペース */
}
/* 見出しの下線 */
.strength-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px; /* 下線の長さ */
    height: 3px; /* 下線の太さ */
    background-color: var(--secondary-color); /* オレンジ色 */
    border-radius: 1.5px;
}
@media (max-width: 768px) {
.strength-item h3 {
    font-size: 1.3rem;
}
}

/* 強み説明文 ul/li */
.strength-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* margin-left: 50px; */ /* 番号がはみ出すためマージン不要 */
    color: var(--text-color-light); /* 説明文の色 */
}
.strength-item li {
     margin-bottom: 0.8em; /* 行間調整 */
     font-size: 1.2rem;
     position: relative;
     padding-left: 1.8em; /* マーカー用のスペース */
     line-height: 1.75; /* 行間調整 */
}
@media (max-width: 768px) {
.strength-item li {
     font-size: 1rem;
}
}
/* リストマーカーをカスタム */
.strength-item li::before {
    content: ''; /* アイコン等を入れる場合はここに */
    position: absolute;
    left: 0.2em;
    top: 0.6em; /* 位置調整 */
    width: 8px;
    height: 8px;
    background-color: transparent;
    border: 2px solid var(--secondary-color); /* オレンジ色の枠線マーカー */
    border-radius: 50%;
    /* content: '✓'; font-family: ...; などアイコンフォントも可 */
}

/* --- 施設紹介セクション --- */
.facility { background-color: var(--bg-color); } /* 背景色指定 */
.facility-lead {
    color: var(--white);
    padding: clamp(30px, 6vw, 40px) 0;
    margin-bottom: 50px;
}
.facility-lead h2 {
     color: var(--white);
     border: none;
     position: static;
     transform: none;
     display: block;
     text-align: center;
	padding: 1%;
	margin: 0;
}

.facility-grid {
    display: grid;
    gap: 35px; /* アイテム間の隙間 */
    /* ▼▼▼ 列数を調整 ▼▼▼ */
    grid-template-columns: 1fr; /* スマホは1列 */
    /* PCでの列数指定はメディアクエリで行う */
}

.facility-item {
    text-align: center;
    background-color: var(--white);
    border-radius: 10px; /* 角丸調整 */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 50, 100, 0.08); /* 影調整 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* 中身を縦に配置 */
    flex-direction: column;
}
.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 50, 100, 0.12);
}

.facility-image {
    background-color: #e0e0e0;
    min-height: 220px; /* 画像エリアの高さ調整 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    line-height: 0;
}
.facility-image img {
    display: block;
    width: 100%;
    height: 220px; /* 画像高さを固定 */
    object-fit: cover; /* 画像の表示方法 */
}
/* 画像がない場合のプレースホルダーテキスト（もし使う場合） */
/* .facility-image span { ... } */

.facility-item .facility-content {
    padding: 25px 30px; /* テキストエリアのパディング */
    flex-grow: 1; /* コンテンツが少ない場合も高さを揃える */
    display: flex;
    flex-direction: column;
}

.facility-item h3 {
    font-size: 1.3rem; /* 見出しサイズ調整 */
    padding: 0.7em;
	margin: 0;
    color: var(--primary-color);
}

.facility-item p, .facility-item ul {
    text-align: left;
    font-size: 1rem;
    color: var(--text-color-light);
    margin-top: auto; /* テキストを下に寄せる（任意）*/
    flex-grow: 1; /* 空きスペースを埋める */
	padding: 1em;
}
.facility-item ul {
    list-style: none;
}
.facility-item li {
    padding-left: 1.2em; /* マーカー用スペース */
    position: relative;
}
.facility-item li::before { /* リストマーカー */
    content: '・';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- レスポンシブ調整 --- */
@media (min-width: 768px) {
    .facility-grid {
        /* タブレットでも3列にするか、2列にするか選択 */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 自動調整 */
        /* または grid-template-columns: repeat(3, 1fr); */ /* 常に3列 */
    }
}

/* PC (1024px〜) では特に変更不要（上記で3列になっている想定） */
@media (min-width: 1024px) {
    /* .facility-grid { grid-template-columns: repeat(3, 1fr); } */ /* 768pxと同じでOK */
}

/* --- 輸送サービスセクション --- */
.transport {
    background-color:#ECAB35!important;
    color: var(--white);
    padding-bottom: 0; /* 下の白いエリアと繋げるため */
	position: relative;
}
.transport::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        transparent 75%,
        transparent 100%
    );
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.5;
}
.transport-lead {
    text-align: center;
    margin-bottom: 0; /* 白コンテナとくっつける */
    padding: clamp(40px, 8vw, 60px) 0;
}
.transport-lead h2 {
	text-align: center;
	display: block;
	color: #F38619;
	border-bottom: 2px solid #F38619;
	margin-bottom: 1em;
}
.transport-lead p {
	font-size: 1em;
	margin: 0;
	padding: 0;
}
@media (min-width: 768px) {
.transport-lead p {
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}
}
/* 白背景コンテナ */
.transport .container {
    background-color: var(--white);
    color: var(--text-color);
    padding-top: 50px; /* 見出しとのスペース確保 */
    padding-bottom: 50px;
    border-radius: 12px 12px 0 0;
    position: relative;
    top: -30px; /* 少し重ねる */
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
    margin-bottom: -30px;
}

.transport-problem {
    margin-bottom: 50px;
    /* problem-content クラスを削除した場合、
       ここで flexbox や grid の設定は不要 */
}

.transport-problem h3 {
    /* 見出しのスタイルは前回のものを維持 */
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    font-size: 1.3rem;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 0 auto 40px auto; /* 下マージンを確保 */
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.25);
    border: none;
    position: static;
    transform: none;
}
/* 新しく追加したリストと画像を囲むdiv */
.transport-problem-body {
    display: flex;
    flex-direction: column; /* スマホでは縦積み */
    gap: 30px; /* スマホでのリストと画像の隙間 */
	position: relative;
}

.transport-problem-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.transport-problem-body li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.8em;
    font-size: 1.1rem;
}
.transport-problem-body li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}
.transport-problem-body ul::after {
    content: '';
    display: none;
}

.transport-problem-body .problem-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px; /* 高さは適宜調整 */
    text-align: center;
    position: relative; /* spanの位置基準 */
    border-radius: 8px;
    overflow: hidden;
    width: 100%; /* スマホでは幅いっぱい */
    max-width: 450px; /* 中央寄せのために最大幅 */
    margin: 0 auto; /* スマホで画像が中央に来るように */
}
.transport-problem-body .problem-image img {
    display: block;
    width: 100%;
    height: auto; /* 高さは自動調整 */
    object-fit: cover; /* 必要なら */
}
.transport-problem-body .problem-image span { /* 画像がない場合 */
    color: #757575;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* --- レスポンシブ調整 (タブレット以上でリストと画像を横並び) --- */
@media (min-width: 768px) {
    .transport-problem-body {
        flex-direction: row; /* 横並びにする */
        align-items: center; /* 上下中央揃え */
        gap: 20px; /* 横並び時の隙間 */
    }
    .transport-problem-body ul {
        flex: 1 1 55%; /* flex-grow, flex-shrink, flex-basis (リストを少し広めに) */
        /* width: 55%; */ /* width指定でも可 */
    }
	.transport-problem-body li {
        font-size: 1.3em;
    }
    .transport-problem-body .problem-image {
        flex: 1 1 45%; /* 画像エリアの幅 */
        /* width: 45%; */
        margin: 1%; /* autoマージンを解除 */
        max-width: none; /* 最大幅制限を解除 */
    }
	.transport-problem h3 {
    font-size: 1.6rem;
}
}
@media (min-width: 1200px) {
    .transport-problem-body {
        flex-direction: row;
        align-items: flex-start; /* または center */
        gap: 40px;
        min-height: 300px;
    }

    .transport-problem-body ul {
        flex: 1 1 auto;
        padding-right: 10px;
    }

     /* ▼▼▼ PC/タブレットでイラストを表示・配置 ▼▼▼ */
    .transport-problem-body ul::after {
        display: block; /* ★★★ 表示させる ★★★ */
        width: 120px;
        height: 150px;
        background-image: url('../img/lp/worrying_person.png');
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        bottom: -30px;
        right: -20px;
        opacity: 0.8;
        z-index: 1;
        pointer-events: none;
    }
}

/* PCでの微調整（必要なら） */
@media (min-width: 1024px) {
     .transport-problem-body ul::after {
        width: 190px; /* 例：さらに大きく */
        height: 180px;
        bottom: -100px;
        right: -35px;
     }
}

/* ▼▼▼ 「サービスの強み」見出し確認・調整 ▼▼▼ */
.transport-strength {
    margin-bottom: 50px;
}
.transport-strength-title {
    background-color: var(--secondary-color); /* オレンジ背景 (確認) */
    color: var(--white); /* 白文字 (確認) */
    text-align: center;
    padding: 18px 25px; /* パディング調整 */
    font-size: 1.5rem;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.25); /* 影調整 */
    /* display: block; */ /* 必要ならブロック要素に */
}
.transport-strength-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr;
}
.transport-strength-item {
    background-color: var(--bg-color-light); /* 薄いグレー */
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.transport-strength-item h4 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8em;
}
.transport-strength-item p {
    color: var(--text-color-light);
    font-size: 1.1rem;
	font-weight: 900;
}
.transport-strength-item small {
    font-size: 0.85em;
    opacity: 0.8;
    display: block;
    margin-top: 8px;
}
@media (min-width: 768px) {
    /* タブレット表示: 2列 */
    .transport-strength-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 30px; /* タブレットでの隙間 */
    }
}
/* ▼▼▼ PC表示 (1024px以上): 2列に変更 ▼▼▼ */
@media (min-width: 1024px) {
    .transport-strength-grid {
         /* grid-template-columns: repeat(4, 1fr); */ /* ← 4列指定をコメントアウトまたは削除 */
         grid-template-columns: repeat(2, 1fr)!important; /* ← 2列指定に変更 */
         gap: 35px; /* PCでの隙間 */
         max-width: 800px; /* 2列にした際に中央に寄せる（任意） */
         margin-left: auto; /* 中央寄せ */
         margin-right: auto; /* 中央寄せ */
    }
}

.transport-trial {
    background-color: #FFFECB;
    padding: 35px;
    text-align: center;
    margin-bottom: 40px;
    border: 2px dashed #B10A0D; /* 線の色変更 */
    border-radius: 8px;
}
.transport-trial-title {
    color: #B10A0D;
    font-size: 1.6rem;
    margin-bottom: 1.2em;
    border: none;
    position: static;
    transform: none;
    display: block;
}
.trial-price, .trial-conditions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.trial-label {
    background-color: #B10A0D;
    color: var(--white);
    padding: 8px 18px; /* 少し調整 */
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.95rem;
}
.trial-price p { margin: 0; font-size: 1.1rem;text-align: left; }
.trial-price p strong {
    font-size: 1.8em; /* 強調 */
    color: #d32f2f; /* 少し濃い赤 */
    margin-left: 5px;
}
.trial-conditions p {
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
}
@media (min-width: 768px) {
.transport-trial {
	width: 85%;
	margin: 0 auto;
}
.trial-price, .trial-conditions {
    margin-left: 3.8em;
}
}
.transport-contact-lead {
    text-align: center;
    margin-bottom: 40px;
}

/* --- お問い合わせフロー --- */
.contact-flow {
    background-color: var(--bg-color-blue-light);
    padding-bottom: 80px;
}
.contact-flow h2 {
    border-color: var(--primary-color);
    color: var(--primary-color);
    margin-bottom: 2.5em;
}

.flow-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px; /* 間隔調整 */
}

.flow-steps li {
    background-color: var(--white);
    padding: 25px; /* パディングを一旦シンプルに */
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 80, 150, 0.08);
    min-height: 100px;
    display: flex; /* アイコンと番号、コンテンツの配置のため */
    align-items: center;
    gap: 20px; /* 各要素間の隙間 */
}

/* ステップ番号 */
.flow-steps li span {
    /* position: absolute; を削除 */
    /* left, top を削除 */
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px; /* サイズ調整 */
    height: 40px;
    border-radius: 50%;
    display: flex; /* 維持 */
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem; /* サイズ調整 */
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    flex-shrink: 0; /* 縮まないように */
    order: 1; /* 表示順（番号を最初に） */
}

/* ▼▼▼ Font Awesome アイコンのスタイル ▼▼▼ */
.flow-icon {
    font-size: 2.8rem; /* アイコンサイズ */
    color: var(--primary-color); /* アイコン色 */
    opacity: 0.8; /* 少し薄く（任意） */
    width: 50px; /* 幅を指定してレイアウトしやすく */
    text-align: center;
    flex-shrink: 0;
    order: 2; /* 表示順（番号の次） */
}

/* コンテンツエリア */
.flow-content {
    text-align: left;
    flex-grow: 1; /* 残りのスペースを埋める */
    order: 3; /* 表示順（アイコンの次） */
}
.flow-content h4 {
    margin: 0 0 0.4em 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}
.flow-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #2B2B2B;
    line-height: 1.6;
}


/* --- レスポンシブ調整 (PC/タブレットでの横並び) --- */
@media (min-width: 768px) {
    .flow-steps {
        flex-direction: row;
        gap: 20px;
        align-items: stretch;
        position: relative;
    }

    .flow-steps li {
        padding: 30px 20px; /* PC用パディング */
        flex: 1;
        flex-direction: column; /* 中身を縦に */
        align-items: center; /* 中身を中央揃え */
        text-align: center; /* テキストも中央揃え */
        min-height: 220px; /* PCでの最低高さ */
        gap: 15px; /* 中身の縦の隙間 */
    }

    /* 番号の配置 */
    .flow-steps li span {
        /* order: 1; のまま */
        /* サイズやマージンは必要なら調整 */
    }

    /* アイコンの配置 */
    .flow-icon {
        /* order: 2; のまま */
        font-size: 3.5rem; /* PCではアイコンを大きく */
        margin-top: 10px; /* 番号との間隔 */
    }

    /* コンテンツエリアの配置 */
    .flow-content {
        /* order: 3; のまま */
        /* text-align: center; は li から継承 */
    }
    .flow-content h4 { font-size: 1.15rem; }
    .flow-content p { font-size: 0.9rem; }


    /* ステップ間の矢印 */
    .flow-steps li:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -28px; /* 位置調整 */
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
        border-left: 18px solid var(--border-color);
        z-index: 10;
    }
}


/* --- フッター --- */
.footer {
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px; /* 縦横のギャップ */
}

.footer-nav a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.footer-nav a:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.7;
}

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

/* タブレットサイズ */
@media (max-width: 767px) {
    .hamburger {
        display: block; /* ハンバーガー表示 */
    }

    .global-nav {
        display: none; /* 通常ナビ非表示 */
        position: fixed; /* 画面固定 */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.98); /* 半透明背景 */
        backdrop-filter: blur(5px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1005;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
    }
    .global-nav.is-active {
        display: flex; /* アクティブ時に表示 */
        transform: translateY(0);
    }
    .global-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .global-nav li {
        margin: 0;
    }
    .global-nav a {
        display: block;
        padding: 18px 20px;
        font-size: 1.2rem;
        color: var(--primary-color); /* メニュー内リンク色 */
    }
     .global-nav a::after { display: none; } /* 下線アニメーション不要 */
     .global-nav a:hover { color: var(--secondary-color); opacity: 1; }
}

/* タブレットサイズ以上 */
@media (min-width: 768px) {
    .problem-content {
        flex-direction: row;
    }
    .problem ul {
        width: 55%;
    }
    .problem-image {
        width: 45%;
    }

    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-area {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
    }

    .transport-problem .problem-content {
        flex-direction: row;
    }
     .transport-problem ul {
        width: 55%;
		 padding: 2%;
    }
    .transport-problem .problem-image {
        width: 45%;
    }

    .transport-strength-grid {
         grid-template-columns: repeat(2, 1fr);
    }
    .trial-conditions p { text-align: left; } /* 条件テキスト左寄せ */

    .flow-steps {
        flex-direction: row;
        position: relative;
        align-items: stretch; /* 高さを揃える */
    }
    /* 矢印デザイン改善 */
    .flow-steps li:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -18px; /* 位置調整 */
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
        border-left: 18px solid #1C60B2;
        z-index: 1;
    }
     .flow-steps li:not(:last-child)::before {
        content: '';
        position: absolute;
        right: -20px; /* 位置調整 */
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 20px solid var(--border-color); /* 線の色 */
        z-index: 0;
     }
      .flow-steps li:last-child::after, .flow-steps li:last-child::before {
        display: none;
     }

     .company-info th { width: 25%;}
}

/* PCサイズ以上 */
@media (min-width: 1024px) {
    .strength-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* グリッドアイテム数が合わない場合の調整例（必要なら） */
    /* .strength-item:nth-last-child(-n+2):nth-child(3n+1) {
        grid-column: 2 / span 1;
    }
    .strength-item:nth-last-child(1):nth-child(3n+1) {
       grid-column: 2 / span 1;
    } */

    .facility-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .transport-strength-grid {
         grid-template-columns: repeat(4, 1fr);
    }

     .company-info th { width: 20%;}
}

/* --- 問い合わせフォームセクション --- */
.contact-form-section {
    background-color: var(--bg-color-light); /* または var(--white) など */
    padding-top: 60px;
    padding-bottom: 80px;
}
.contact-form-section h2 {
    /* 見出しスタイル (既存のh2スタイルを継承 or 個別指定) */
    border-color: var(--primary-color);
    color: var(--primary-color);
    margin-bottom: 1em;
}
.form-lead { /* フォーム説明文 */
    text-align: center;
    color: var(--text-color-light);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* Googleフォームを囲むコンテナ */
.google-form-container {
    max-width: 768px; /* フォームの最大幅（PCで見やすい幅に） */
    margin: 0 auto; /* 中央揃え */
    /* background-color: var(--white); */ /* 必要なら背景色 */
    /* padding: 20px; */ /* 必要なら内側余白 */
    border: 1px solid var(--border-color); /* 枠線 */
    border-radius: 8px; /* 角丸 */
    overflow: hidden; /* iframeのはみ出し防止 */
}

/* Googleフォームのiframe自体 */
.google-form-container iframe {
    display: block; /* block要素にしてmarginなどを有効に */
    width: 100%; /* コンテナいっぱいに表示 */
    border: none; /* 元のframeborder="0"と合わせて線を消す */
    min-height: 1000px; /* ★★★ 最小高さを設定 ★★★ */
    /* height: 1200px; */ /* 固定高さはレスポンシブで問題が出やすいのでmin-height推奨 */
}

/* --- レスポンシブ調整 --- */
@media (max-width: 767px) {
    .google-form-container {
        max-width: 100%; /* スマホでは横幅いっぱい */
        border: none; /* スマホでは枠線なしに（任意） */
        box-shadow: none; /* スマホでは影なしに（任意） */
        border-radius: 0; /* スマホでは角丸なしに（任意） */
    }
    .google-form-container iframe {
         min-height: 1100px; /* スマホでの最小高さ調整 */
    }
    .form-lead {
        font-size: 1rem;
        padding: 0 10px; /* スマホで左右に少し余白 */
    }
}

.wordpress-form-container {
    max-width: 768px; /* フォームの最大幅 */
    margin: 0 auto; /* 中央揃え */
    background-color: var(--white);
    padding: 30px 40px; /* 内側余白 */
    border: 1px solid var(--border-color);
    border-radius: 10px; /* 角丸を少し大きく */
    box-shadow: 0 8px 25px rgba(0, 50, 100, 0.08);
}

/* Contact Form 7 基本スタイル調整 */
.wpcf7-form .form-group {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1rem;
}

.wpcf7-form label .req,
.wpcf7-form label .any {
    font-size: 0.8em;
    font-weight: normal;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}
.wpcf7-form label .req {
    background-color: #ffebee; /* 赤系背景 */
    color: #c62828; /* 濃い赤文字 */
    border: 1px solid #ef9a9a;
}
.wpcf7-form label .any {
    background-color: #e8eaf6; /* 青系背景 */
    color: #3949ab; /* 濃い青文字 */
    border: 1px solid #9fa8da;
}

.wpcf7-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.5; /* 追加 */
    background-color: #f9fafb; /* 入力欄の背景を少し色付け */
}
.wpcf7-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
    background-color: var(--white); /* フォーカス時に白に */
}
.wpcf7-form textarea.form-control {
    min-height: 150px; /* テキストエリアの最小高さ */
    resize: vertical;
}

/* プレースホルダーのスタイル */
.wpcf7-form .form-control::placeholder {
    color: #90a4ae;
    opacity: 1;
}

/* reCAPTCHAエリア */
.wpcf7-form .recaptcha-wrap {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex; /* 中央揃えのため */
    justify-content: center;
}
/* Google reCAPTCHAのウィジェットが中央に来るように */
.g-recaptcha > div {
    margin: 0 auto !important;
}


/* 送信ボタン */
.wpcf7-form .submit-button-wrap {
    text-align: center; /* ボタンを中央に */
    margin-top: 30px;
}
.wpcf7-form .btn-submit {
    /* 既存の .cta-button スタイルをベースに調整 */
    background-color: var(--primary-color); /* 送信ボタンは青系 */
    color: var(--white);
    border: 1px solid transparent;
    border-bottom-width: 4px;
    border-color: #0b3a7d; /* 少し濃い青 */
    padding: 0.9em 2.5em; /* パディング調整 */
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2);
    text-decoration: none;
    min-width: 250px; /* 最低幅 */
}
.wpcf7-form .btn-submit:hover {
    background-color: #1565c0;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}
.wpcf7-form .btn-submit:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
    box-shadow: none;
    background-color: #0b3a7d;
    border-color: #0b3a7d;
}

/* Contact Form 7 のバリデーションエラーメッセージなど */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #c62828; /* エラーメッセージの色 */
    font-size: 0.9em;
    margin-top: 5px;
}
.wpcf7-form .wpcf7-response-output { /* 送信完了メッセージなど */
    margin: 20px 0 0 0;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}
.wpcf7-form .wpcf7-mail-sent-ok {
    border: 1px solid #388e3c; /* 緑系の枠線 */
    background-color: #e8f5e9; /* 薄い緑背景 */
    color: #2e7d32;
}
.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-spam-blocked {
    border: 1px solid #d32f2f; /* 赤系の枠線 */
    background-color: #ffebee; /* 薄い赤背景 */
    color: #c62828;
}
/* ▲▲▲ WordPressフォームコンテナのスタイル ▲▲▲ */


/* レスポンシブ */
@media (max-width: 767px) {
    .wordpress-form-container {
        padding: 20px; /* スマホではパディングを少し小さく */
    }
    .wpcf7-form .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .wpcf7-form label {
        font-size: 0.95rem;
    }
    .wpcf7-form .btn-submit {
        font-size: 1.1rem;
        padding: 0.8em 2em;
        min-width: 100%; /* スマホではボタン幅いっぱい */
    }
    .form-lead {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* --- サンクスページ専用スタイル --- */
.thank-you-page {
    background-color: var(--bg-color-light); /* LPの背景色に合わせる */
    padding: 80px 0;
    min-height: 70vh; /* 画面の高さいっぱいに近い表示 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-container {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.1);
}

.thank-you-icon {
    font-size: 4.5rem; /* アイコンサイズ */
    color: #4CAF50; /* 成功を表す緑色 */
    margin-bottom: 25px;
    line-height: 1;
}

.thank-you-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* h1サイズ調整 */
    color: var(--primary-color);
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.3;
    /* 既存のh1スタイルを継承する場合、ここは不要かも */
    border-bottom: none; /* 通常のh2とは異なるため下線なし */
    position: static;
    transform: none;
    display: block;
}

.thank-you-message {
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color-light);
}
.thank-you-message p {
    margin-bottom: 1.2em;
}
.thank-you-message p:last-child {
    margin-bottom: 0;
}

.thank-you-tel {
    font-weight: 700;
    color: var(--text-color);
}
.thank-you-tel a {
    color: var(--primary-color);
    text-decoration: underline;
}
.thank-you-tel a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.thank-you-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column; /* スマホでは縦積み */
    align-items: center;
    gap: 15px;
}

.thank-you-actions .cta-button {
    /* 既存の .cta-button スタイルを継承 */
    min-width: 260px; /* ボタンの最小幅 */
    /* 必要ならサイズや色を微調整 */
}
/* トップページへ戻るボタンはプライマリカラーなど */
.back-to-top-button {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: #0b3a7d; /* 下枠線 */
}
.back-to-top-button:hover {
    background-color: #1565c0;
    border-color: var(--primary-color);
}
.back-to-top-button:active {
     background-color: #0b3a7d;
     border-color: #0b3a7d;
}


/* レスポンシブ調整 */
@media (max-width: 767px) {
    .thank-you-page {
        padding: 40px 15px; /* スマホでの上下左右パディング */
    }
    .thank-you-container {
        padding: 30px 20px;
    }
    .thank-you-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    .thank-you-title {
        font-size: 1.6rem;
    }
    .thank-you-message {
        font-size: 0.95rem;
		text-align:left;
    }
}

@media (min-width: 768px) {
    .thank-you-actions {
        flex-direction: row; /* PCでは横並び */
        justify-content: center;
        gap: 25px;
    }
}