@charset "UTF-8";

/* --- 1. 基本設定 & 変数 --- */
:root {
    --primary-color: #003366;
    /* 信頼のネイビー */
    --accent-color: #e67e22;
    /* 行動を促すオレンジ */
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

/* --- 2. ヘッダー --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-name {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
}

header nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

header nav ul li a:hover {
    color: var(--accent-color);
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

/* --- 3. ヒーローセクション --- */
#hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    color: var(--white);
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-subtext {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-area {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    color: white;
}

/* --- 4. 悩みセクション (LP独自) --- */
#problems {
    background: #111;
    color: #eee;
    padding: 100px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.problem-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    font-weight: bold;
}

.problem-summary {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 40px;
    color: var(--white);
}

/* --- 5. 選ばれる理由 / 強み --- */
#features {
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-grid article {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* --- 6. サービス詳細 --- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- 7. 進め方 (Process) --- */
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    counter-reset: my-counter;
}

.process-list li {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    padding-top: 50px;
}

.process-list li::before {
    counter-increment: my-counter;
    content: "STEP 0" counter(my-counter);
    position: absolute;
    top: 20px;
    left: 30px;
    font-weight: 800;
    color: var(--accent-color);
}

/* --- 8. 会社概要 & FAQ --- */
#faq-company {
    background: #f0f4f8;
}

.flex-row {
    display: flex;
    gap: 60px;
}

.faq-area,
.company-area {
    flex: 1;
}

details {
    background: white;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
}

dl dt {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 15px;
}

dl dd {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* --- 9. お問い合わせフォーム --- */
#contact form {
    max-width: 800px;
    margin: 40px auto 0;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.row {
    display: flex;
    gap: 20px;
}

.col {
    flex: 1;
}

.required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
}

.submit-btn {
    width: 100%;
    padding: 25px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #d35400;
    transform: scale(1.02);
}

/* --- 10. レスポンシブ --- */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2rem;
    }

    .cta-area {
        flex-direction: column;
    }

    .row {
        flex-direction: column;
    }

    .flex-row {
        flex-direction: column;
    }

    header nav {
        display: none;
    }

    /* スマホ用メニューが必要な場合はJSで実装 */
}

/* --- アニメーション --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- ヘッダー・ナビゲーション修正 --- */

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* サイト名のリンク下線を消す */
.site-name a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
}

/* ナビゲーションのリスト設定 */
header nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    /* メニュー間の余白 */
    list-style: none;
    /* ← 点を消す */
    margin: 0;
    padding: 0;
}

/* リンク全体の共通設定 */
header nav ul li a {
    text-decoration: none;
    /* ← 下線を消す */
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* ホバー時に色を変える */
header nav ul li a:not(.nav-btn):hover {
    color: var(--accent-color);
}

/* 「お問い合わせ」ボタンの個別スタイル */
.nav-btn {
    background: var(--primary-color);
    color: #ffffff !important;
    /* 文字色は白 */
    padding: 10px 24px !important;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease !important;
    display: inline-block;
}

.nav-btn:hover {
    background: #004a99;
    /* 少し明るくする */
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* style.css に追加・上書き */
header nav ul {
    list-style: none;
    /* 点を消す */
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    /* 下線を消す */
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 700;
}

/* 「お問い合わせ」だけ特別なボタンにする */
header nav ul li a.nav-btn {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    transition: opacity 0.3s;
}

.submit-btn {
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
}

/* --- 1. ナビゲーションのクリーンアップ --- */
header nav ul {
    list-style: none;
    /* リストの点を削除 */
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    /* 下線を削除 */
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
}

header nav ul li a:not(.nav-btn):hover {
    color: var(--accent-color);
}

/* 右端のお問い合わせボタンを強調 */
header .nav-btn {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

header .nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* --- 2. 見出し（H2）のデザイン強化 --- */
h2 {
    margin-bottom: 60px;
    /* 下のコンテンツとの余白を確保 */
    padding-bottom: 25px;
    /* 下線との距離を広げる */
}

h2::after {
    width: 40px;
    /* 線を少し短くしてスマートに */
    height: 5px;
    border-radius: 5px;
}

/* --- 3. フォームとボタンのブラッシュアップ --- */
#contact form {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* 影をより柔らかく */
}

/* 送信ボタン（オレンジ）の質感を向上 */
.submit-btn {
    border-radius: 50px !important;
    /* 角を丸めてモダンに */
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    border: none;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3) !important;
    transition: all 0.3s ease !important;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4) !important;
    filter: brightness(1.1);
}

/* --- 4. モバイル対応の微調整 --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        /* 横並びを維持 */
        justify-content: space-between;
    }

    header nav {
        display: none;
        /* スマホでは一旦隠す（ハンバーガーメニュー用） */
    }

    #hero h1 {
        font-size: 2rem;
        /* スマホで文字が溢れないように */
    }
}

/* --- フォームのレイアウト修正 --- */

/* 入力項目を包む行の設定 */
#contact .row {
    display: flex;
    flex-wrap: wrap;
    /* 幅が狭まった時に自動で折り返すように設定 */
    gap: 20px;
    /* 左右・上下の項目間に 20px の余白を作る */
    margin-bottom: 20px;
}

/* 各入力項目の設定 */
#contact .col {
    flex: 1;
    /* 基本は均等に横並び */
    min-width: 280px;
    /* 画面が狭くなった時、この幅以下にならずに折り返す */
}

/* ラベルと入力欄の間の余白 */
#contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* 入力欄自体の微調整 */
#contact input,
#contact select,
#contact textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    /* 枠線を含めて幅を計算する設定 */
}

/* スマホ表示（768px以下）での調整 */
@media (max-width: 768px) {
    #contact .row {
        gap: 15px;
        /* スマホでは少し隙間を詰める */
    }

    #contact .col {
        min-width: 100%;
        /* スマホでは必ず1枚1行（縦並び）にする */
    }
}

/* Heroセクションに背景画像を入れる場合 */
#hero {
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 51, 102, 0.8)),
        url('images/hero-bg.jpg') center/cover no-repeat;
}

/* サービスカードにアイコンを入れる場合 */
.service-card h3::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* カテゴリごとにアイコンを変える例 */
#service-system h3::before {
    background-image: url('icons/system.svg');
}

#service-sales h3::before {
    background-image: url('icons/sales.svg');
}

/* style.css */
#hero {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 51, 102, 0.85)),
        url('../image/「ネットワーク」や「成長」を連想させる抽象的なブルー系のグラフィック.png') center/cover no-repeat;
}

/* style.css */
.problem-img {
    display: block;
    max-width: 200px;
    margin: 0 auto 30px;
    filter: grayscale(1) opacity(0.8);
    /* 少し落ち着いた色に調整 */
}

/* style.css */
.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* アイコンをタイトルと横並びに、かつ中心を合わせる */
.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-icon {
    width: 48px;
    /* 小さすぎず大きすぎないサイズ */
    height: 48px;
    object-fit: contain;
}

/* 打ち合わせ風景写真を自然に配置 */
.process-visual-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin: 40px auto;
    /* 上下に余白 */
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#hero {
    padding: 160px 0 120px;
    /* 背景画像の設定：オーバーレイ（濃い紺色）を重ねて文字を白く際立たせる */
    background: linear-gradient(rgba(0, 31, 63, 0.75), rgba(0, 51, 102, 0.85)),
        url('../image/信頼感のあるオフィス、打ち合わせ風景.png') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* 文字に影をつけて視認性アップ */
}

.hero-subtext {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 40px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* 悩みセクション内のパズル画像調整 */
.problem-img {
    display: block;
    max-width: 180px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* --- ヒーローセクション（背景とレイアウト） --- */
#hero {
    padding: 140px 0 100px;
    /* オフィス風景を背景に設定 */
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 51, 102, 0.85)),
        url('../image/信頼感のあるオフィス、打ち合わせ風景.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    /* テキストを左寄せにして右側に画像スペースを作る */
}

.hero-content {
    flex: 1.2;
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    animation: floating 3s ease-in-out infinite;
    /* 少し浮遊させてモダンに */
}

.hero-graphic {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    border-radius: 20px;
    /* 角を少し丸める */
}

/* 浮遊アニメーション */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* モバイル表示の調整 */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        /* スマホでは画像を文字の上に */
        margin-bottom: 30px;
    }

    .hero-graphic {
        max-width: 280px;
    }
}

.problem-img {
    /* 画像を完全に白黒にする */
    filter: grayscale(100%);

    /* 任意：少し暗くして背景に馴染ませる場合 */
    /* opacity: 0.7; */
}

.problem-img {
    /* 彩度を30%まで落とす（70%の退色） */
    filter: saturation(30%);

    /* またはグレースケールの数値を下げる */
    /* filter: grayscale(70%); */
}

.problem-img {
    filter: grayscale(100%);
    /* 初期状態は白黒 */
    transition: filter 0.5s ease;
    /* 変化を滑らかにする */
}

.problem-img:hover {
    filter: grayscale(0%);
    /* ホバーすると元の色に戻る */
}

/* --- 7. 進め方 (Process) の修正 --- */
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    counter-reset: my-counter;
    /* --- 追加：ブラウザ標準の数字を消す --- */
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.process-list li {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    padding-top: 50px;
}

/* STEP 01〜04 の表示（こちらは維持されます） */
.process-list li::before {
    counter-increment: my-counter;
    content: "STEP 0" counter(my-counter);
    position: absolute;
    top: 20px;
    left: 30px;
    font-weight: 800;
    color: var(--accent-color);
}

/* セクション共通のパディングを強化 */
section {
    padding: 120px 0;
    /* 上下 80px から 120px に拡大 */
}

/* ヒーローセクションの下の余白も調整 */
#hero {
    padding: 160px 0 140px;
    /* 下側を少し広めに */
}

/* お問い合わせセクションの下側に大きな余白を作る */
#contact {
    padding-bottom: 150px;
    /* 次の要素（フッター）との距離を確保 */
}

/* フッター自体のパディングも調整 */
footer {
    padding: 80px 0;
    margin-top: 0;
    /* 隙間が空きすぎる場合はここを調整 */
}

footer small {
    display: block;
    margin-top: 30px;
    padding-bottom: 20px;
    /* 最下部に少しだけ遊びを作る */
    opacity: 0.7;
}

/* --- 全てのリンクから下線を消す --- */
a {
    text-decoration: none !important;
}

/* --- ヘッダーナビゲーションの調整 --- */
header nav ul li a {
    text-decoration: none;
    /* ホバー時も下線を出さない */
}

header nav ul li a:hover {
    text-decoration: none;
}

/* --- ボタン類（Heroエリア・送信ボタン）の調整 --- */
.btn,
.nav-btn,
.submit-btn,
.btn-primary,
.btn-secondary {
    text-decoration: none !important;
    display: inline-block;
    /* 崩れ防止 */
}

/* --- フッターのリンクも同様に修正 --- */
footer a {
    text-decoration: none;
}

/* 進め方のリスト構造を調整 */
.process-list {
    display: flex;
    flex-direction: column;
    /* 縦に並べる（LPらしい流れを作るため） */
    gap: 40px;
    list-style: none;
    padding: 0;
}

.process-list li {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    padding-top: 60px;
    /* STEPラベル用の余白 */
}

/* テキストと画像のレイアウト */
.process-item-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.process-text {
    flex: 1;
}

.process-text strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.process-image {
    flex: 0.8;
    text-align: center;
}

.process-image img {
    width: 100%;
    max-width: 300px;
    /* 推奨サイズ付近に調整 */
    height: auto;
    border-radius: 10px;
}

/* スマホ表示では縦並びにする */
@media (max-width: 768px) {
    .process-item-content {
        flex-direction: column;
        text-align: center;
    }

    .process-image {
        order: -1;
        /* 画像をテキストの上に */
        margin-bottom: 20px;
    }
}

/* --- 事業内容アイコンのサイズ統一 --- */
.service-header {
    display: flex;
    flex-direction: column;
    /* アイコンをタイトルの上に配置 */
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 80px;
    /* アイコンの幅を統一 */
    height: 80px;
    /* アイコンの高さを統一 */
    object-fit: contain;
    /* アスペクト比を維持して収める */
    margin-bottom: 15px;
    /* 背景が白い画像の場合、少し影をつけると浮き出て綺麗に見えます */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

/* --- 進め方（4ステップ）の画像サイズ調整 --- */
.process-list li {
    padding-top: 70px;
    margin-bottom: 30px;
}

.process-item-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.process-text {
    flex: 1;
}

.process-image {
    flex: 0 0 350px;
    /* 画像の幅を 350px に固定してガタつきを防ぐ */
    max-width: 350px;
}

.process-image img {
    width: 100%;
    height: 250px;
    /* 高さを固定して揃える */
    object-fit: cover;
    /* 枠に合わせてトリミングし、サイズを統一 */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* --- スマホ表示時のサイズ調整 --- */
@media (max-width: 768px) {
    .process-item-content {
        flex-direction: column;
    }

    .process-image {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .process-image img {
        height: auto;
        /* スマホでは比率を維持 */
        max-height: 200px;
    }
}

/* =========================
   Modern polish patch (append)
   ========================= */

/* 1) ベースの質感（フォント/余白/背景） */
:root {
    --ink: #0b1220;
    --muted: #5b667a;
    --line: rgba(15, 23, 42, .10);
    --card: rgba(255, 255, 255, .86);
    --card2: rgba(255, 255, 255, .72);
    --shadow: 0 20px 50px rgba(2, 6, 23, .10);
    --shadow2: 0 12px 30px rgba(2, 6, 23, .08);
    --radius: 18px;
}

body {
    color: var(--ink);
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

section {
    position: relative;
    isolation: isolate;
}

/* 2) “薄い背景グラデ”で今っぽく */
main {
    background:
        radial-gradient(1200px 700px at 10% 0%, rgba(230, 126, 34, .10), transparent 55%),
        radial-gradient(1200px 700px at 90% 10%, rgba(0, 51, 102, .12), transparent 55%),
        linear-gradient(#fff, #fff);
}

/* 3) ヘッダー：クラス制御（JSで .is-scrolled 付与） */
header {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

header.is-scrolled {
    box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
}

header .site-name a {
    letter-spacing: .02em;
}

/* 4) ナビのホバーを“下線アニメ”に（ボタン以外） */
header nav ul li a:not(.nav-btn) {
    position: relative;
}

header nav ul li a:not(.nav-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    opacity: .9;
}

header nav ul li a:not(.nav-btn):hover::after {
    transform: scaleX(1);
}

/* 5) Hero：文字の読みやすさ＋ボタンの質感 */
#hero {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

#hero h1 {
    letter-spacing: .02em;
}

.btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .30);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .18);
}

/* 6) カード：ガラス感＋浮き上がり */
.feature-grid article,
.service-card,
#faq-company details,
#contact form {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
    border-radius: var(--radius);
}

.feature-grid article:hover,
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* 7) “強み(strength)” セクションの見た目を統一（今は素のarticleなので） */
#strength .container>article {
    background: var(--card2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow2);
}

#strength .container {
    display: grid;
    gap: 18px;
}

#strength h2 {
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    #strength .container {
        grid-template-columns: repeat(2, 1fr);
    }

    #strength h2 {
        grid-column: 1 / -1;
    }
}

/* 8) FAQ details：開閉の視覚を少し洗練 */
details summary {
    cursor: pointer;
    font-weight: 700;
}

details[open] {
    border-color: rgba(230, 126, 34, .35);
}

/* 9) フォーム：フォーカスを“ブランド色”に */
input,
select,
textarea {
    transition: box-shadow .2s ease, border-color .2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(230, 126, 34, .55);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, .18);
}

/* 10) アニメ：減らしたい人用 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* 11) フッターを少し上品に */
footer {
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: linear-gradient(#fff, #f7f9fc);
}

/* 12) モバイルナビ（ボタン追加する場合に効く） */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .70);
    box-shadow: 0 10px 20px rgba(2, 6, 23, .06);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 6px auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    header nav {
        display: block;
    }

    header nav ul {
        display: none;
        position: absolute;
        top: 64px;
        right: 5%;
        left: 5%;
        background: rgba(255, 255, 255, .92);
        border: 1px solid rgba(15, 23, 42, .10);
        border-radius: 16px;
        padding: 14px;
        box-shadow: 0 20px 50px rgba(2, 6, 23, .10);
        flex-direction: column;
        gap: 10px;
    }

    header nav.is-open ul {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }
}

/* FAQ: 見た目を少しリッチに */
.faq-area details {
    border: 1px solid rgba(15, 23, 42, .10);
}

.faq-area summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
}

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

.faq-area summary::after {
    content: "＋";
    font-weight: 800;
    opacity: .7;
    transition: transform .2s ease;
}

.faq-area details[open] summary::after {
    content: "—";
}

.faq-area details p {
    margin-top: 10px;
    color: #5b667a;
    line-height: 1.9;
}

footer {
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(#ffffff, #f7f9fc);
}

footer p {
    margin: 0;
    color: #5b667a;
    font-size: 14px;
    letter-spacing: 0.02em;
}

footer {
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(#ffffff, #f7f9fc);
}

footer p {
    margin: 0;
    color: #5b667a;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ===== Header Logo Fix ===== */
.site-name {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    /* ← ロゴの最大幅を制限 */
}

.logo-img {
    width: 100%;
    max-width: 200px;
    /* ← PC時の最大横幅 */
    height: auto;
    display: block;
}

/* スマホ */
@media (max-width: 768px) {
    .logo-link {
        max-width: 160px;
    }

    .logo-img {
        max-width: 150px;
    }
}