@charset "UTF-8";

/* =========================================
   1. 基本設定 & 変数定義
   ========================================= */

/* --- ネイビー・エレクトリック カラー設定 --- */
:root {
    --bg-body: #021526;       /* 深いネイビー（背景） */
    --bg-card: #03203a;       /* 少し明るいネイビー（カード） */
    --main-color: #00F0FF;    /* エレクトリック・シアン（メイン：電気・技術） */
    --accent-color: #FF0044;  /* アラート・レッド（アクセント：警告・CV） */
    --text-main: #ffffff;     /* 白テキスト */
    --text-sub: #b0c4de;      /* 青みがかったグレー */
}

/* --- アニメーション定義 --- */
/* 脈打つボタン */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 68, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 20px 10px rgba(255, 0, 68, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 68, 0); transform: scale(1); }
}
/* ふわっと浮き上がるフェードイン */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- リセット & 基本設定 --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden; /* 横スクロール防止 */
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   2. 共通クラス & UIコンポーネント
   ========================================= */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 100px 0; /* 余白を少し広げてリッチに */
    border-bottom: 1px solid #1a3a5a;
}
.text-center { text-align: center; }

/* 文字色クラス */
.text-cyan { color: var(--main-color); text-shadow: 0 0 8px rgba(0, 240, 255, 0.4); }
.text-red { color: var(--accent-color); text-shadow: 0 0 8px rgba(255, 0, 68, 0.4); }

/* --- CTAボタン（アニメーション付き） --- */
.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #cc0033);
    color: #fff;
    font-weight: 900;
    padding: 20px 50px;
    font-size: 1.3rem;
    border-radius: 4px;
    transition: all 0.3s;
    margin-top: 30px;
    border: 1px solid #ff6688;
    animation: pulse-red 2s infinite;
}
.btn-cta:hover {
    background: #fff;
    color: var(--accent-color);
    animation: none;
    box-shadow: 0 0 30px var(--accent-color);
}

/* --- 見出しスタイル --- */
h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--main-color), transparent);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* =========================================
   3. ヘッダー & ナビゲーション
   ========================================= */

/* 固定ナビゲーション */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 21, 38, 0.95);
    border-bottom: 1px solid var(--main-color);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.05em;
}
.nav-btn {
    background: var(--accent-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}
.nav-btn:hover {
    background: #fff;
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    margin-top: 60px; /* ナビの高さ分あける */
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 4px solid var(--main-color);
    background-color: var(--bg-body);
    background-size: cover;
    background-position: center;
    /* 必要に応じて background-image をここで指定 */
}
.hero-content {
    animation: fadeInUp 1s ease-out 0.5s backwards;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 240, 255, 0.1);
    letter-spacing: 0.1em;
}

/* =========================================
   4. 各セクションスタイル
   ========================================= */

/* --- Concept: No.1 Pole --- */
.logic {
    background: linear-gradient(135deg, #021526 0%, #05203a 100%);
    position: relative;
    overflow: hidden;
}
.logic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--main-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
}
.logic-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}
.logic-text { flex: 1; }
.logic-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--main-color);
}
.logic-img {
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s;
}
.logic-img:hover {
    transform: scale(1.02);
}
.logic-img img {
    border: 1px solid var(--main-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}
.emphasis-box {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(90deg, rgba(255, 0, 68, 0.1), transparent);
    padding: 25px;
    margin: 30px 0;
}

/* --- Risk Factors --- */
.risk-section {
    background-color: #010d18;
}
.risk-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.risk-item {
    background: var(--bg-card);
    border: 1px solid #1a4a6a;
    padding: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    position: relative;
}
.risk-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 68, 0.3);
}
.risk-num {
    display: block;
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    font-weight: 900;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    border: 1px solid #1a3a5a;
}
.comparison-table th, .comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #1a3a5a;
    text-align: center;
}
.comparison-table th {
    background-color: #000;
    color: var(--text-sub);
    font-size: 0.9rem;
}
.comparison-table .our-col {
    background-color: rgba(0, 240, 255, 0.05);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    color: #fff;
    font-weight: bold;
}
.comparison-table th.our-col {
    color: var(--main-color);
    background-color: rgba(0, 240, 255, 0.1);
    border-top: 2px solid var(--main-color);
    font-size: 1.2rem;
}
.comparison-table tr:last-child .our-col {
    border-bottom: 2px solid var(--main-color);
}

/* --- Product Section --- */
.product {
    background: radial-gradient(circle at center, #05203a 0%, #021526 100%);
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}
.product-title {
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.product-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 60px;
    color: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature-box {
    padding: 25px;
    background: rgba(2, 21, 38, 0.8);
    border: 1px solid #1a3a5a;
    border-left: 4px solid var(--main-color);
    transition: 0.3s;
}
.feature-box:hover {
    background: rgba(0, 240, 255, 0.1);
}
.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--main-color);
}
.feature-box p { font-size: 0.95rem; color: var(--text-sub); }

/* --- Customization & Utility Model --- */
.patent-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 2px;
    margin-left: 15px;
    vertical-align: middle;
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(255, 0, 68, 0.5);
}
.custom-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.custom-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--text-sub);
    color: var(--text-sub);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
}

/* --- Trust Section --- */
.trust-col {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid #1a3a5a;
}
.trust-col h3 {
    color: var(--main-color);
    margin-bottom: 25px;
    border-bottom: 1px solid #1a3a5a;
    padding-bottom: 15px;
}
.check-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #ddd;
}
.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
}

/* =========================================
   5. ラインナップ (LINEUP) セクション
   ========================================= */

.lineup-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* 英語タイトル（LINEUP）をさらに大きく */
.lineup-section .section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* 日本語タイトル（ニーズに合わせて...）を特大・太字に */
.lineup-section .section-header p {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* 冒頭のリード文 */
.lineup-lead {
    font-size: 1.2rem;
    line-height: 2;
    color: #ddd;
    margin-bottom: 60px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* カードを横並びにするグリッド */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: stretch;
}

/* --- カード共通デザイン --- */
.plan-card {
    background: rgba(2, 21, 38, 0.95);
    border-radius: 16px;
    padding: 60px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s;
}

/* --- Plan A（規格）：青 --- */
.plan-standard {
    border: 3px solid var(--main-color);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.15) 0%, rgba(2, 21, 38, 0.98) 60%);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
    z-index: 2;
}
/* Plan A リボン */
.plan-standard::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--main-color);
    color: #021526;
    font-size: 1rem;
    font-weight: 900;
    padding: 10px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

/* --- Plan B（オーダー）：赤 --- */
.plan-order {
    border: 3px solid var(--accent-color);
    background: linear-gradient(0deg, rgba(255, 0, 68, 0.15) 0%, rgba(2, 21, 38, 0.98) 60%);
    box-shadow: 0 0 50px rgba(255, 0, 68, 0.1);
}
/* Plan B リボン */
.plan-order::before {
    content: "PROFESSIONAL";
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--accent-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    padding: 10px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

/* --- 内部テキストの調整 --- */
.plan-badge {
    display: inline-block;
    align-self: center;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    font-weight: 900;
}
.plan-standard .plan-badge { background: var(--main-color); color: #000; }
.plan-order .plan-badge { background: var(--accent-color); color: #fff; }

.plan-card h3 {
    text-align: center;
    font-size: 2.2rem;
    margin: 0 0 25px 0;
    color: #fff;
    border: none;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.plan-card h3 span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #ccc;
    font-weight: normal;
    letter-spacing: 0;
}
.plan-order h3 { text-shadow: 0 0 20px rgba(255, 0, 68, 0.6); }

/* キャッチコピー枠 */
.plan-catch {
    text-align: center;
    font-weight: bold;
    color: var(--main-color);
    font-size: 1.25rem;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(0, 240, 255, 0.05);
    border-left: 6px solid var(--main-color);
    line-height: 1.6;
}
.plan-order .plan-catch {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(255, 0, 68, 0.1);
}

/* 説明文 */
.plan-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.9;
    color: #eee;
    text-align: justify;
}

/* スペックボックス */
.spec-box {
    background: #000;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-family: "Courier New", monospace;
}
.spec-box dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 30px;
}
.spec-box dt {
    color: #888;
    font-size: 0.9rem;
    text-align: right;
    align-self: center;
}
.spec-box dd {
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 1px solid #222;
    padding-bottom: 5px;
}
.plan-order .spec-box dd { color: var(--accent-color); }

/* リスト（メリット・注意点） */
.plan-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 2.2em;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
}
.plan-list li strong {
    font-size: 1.2rem;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    text-decoration-color: var(--main-color);
    margin-right: 8px;
}
.plan-order .plan-list li strong { text-decoration-color: var(--accent-color); }

.plan-list.good li::before {
    content: "✔";
    position: absolute;
    left: 0; top: 0;
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}
.plan-order .plan-list.good li::before { color: var(--accent-color); }

.plan-list.note {
    margin-top: 30px;
    padding-top: 30px;
}
.plan-list.note li {
    font-size: 1rem;
    color: #bbb;
}
.plan-list.note li::before {
    font-size: 1.2em;
    top: 2px;
}

/* --- チェックシート誘導ボックス（縦並び・中央揃え） --- */
.checksheet-box {
    background: #fff;
    color: #021526;
    padding: 60px 30px;
    border-radius: 16px;
    text-align: center;
    border: 6px solid var(--main-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}
.checksheet-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.03),
        rgba(0,0,0,0.03) 20px,
        transparent 20px,
        transparent 40px
    );
    pointer-events: none;
}
.checksheet-box h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 900;
}

/* 縦並びレイアウト */
.check-action {
    margin-top: 40px;
    display: flex;
    flex-direction: column; /* 常に縦に並べる */
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.check-label {
    margin: 0;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
    width: auto !important; /* 強制的に幅自動 */
}

/* ボタン */
.btn-check {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 20px 80px;
    border-radius: 80px;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 6px 0 #900; 
    position: relative;
    top: 0;
}
.btn-check:hover {
    background: #d10030;
    top: 6px;
    box-shadow: 0 0 0 #900;
}

/* =========================================
   6. CTA & フッター
   ========================================= */

.cta-section {
    background: linear-gradient(0deg, #000 0%, #021526 100%);
    padding: 100px 0;
    text-align: center;
}
.urgent-box {
    border: 2px solid var(--accent-color);
    background: rgba(255, 0, 68, 0.15);
    color: #ffcccc;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
    font-weight: bold;
    display: inline-block;
    animation: pulse-red 3s infinite;
}

.contact-form {
    max-width: 650px;
    margin: 40px auto 0;
    text-align: left;
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid #1a3a5a;
    border-top: 4px solid var(--main-color);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--main-color);
    font-size: 0.9rem;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: #010d18;
    border: 1px solid #1a3a5a;
    color: #fff;
    border-radius: 4px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--main-color);
}

/* Googleフォーム */
.google-form-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.google-form-wrapper iframe {
    width: 100%;
    max-width: 100%;
    border: none;
    filter: invert(1) hue-rotate(180deg);
    opacity: 0.9;
}

/* フッター */
footer {
    background: #000;
    border-top: 2px solid #1a3a5a;
    padding: 60px 0 20px;
    text-align: left;
}
.footer-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: none;
    padding: 0;
    display: block;
    text-align: left;
}
.footer-info p {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.footer-links { margin-top: 20px; }
.footer-links a {
    display: inline-block;
    background: #1a3a5a;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #1a3a5a;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 1px solid #1a3a5a;
}
.footer-links a:hover {
    background: var(--main-color);
    color: #021526;
    border-color: var(--main-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: translateY(-3px);
}
.copyright {
    margin-top: 40px;
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    border-top: 1px solid #111;
    padding-top: 20px;
}

/* =========================================
   7. 施工アルバム (Album) ページ用
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.gallery-item {
    background: var(--bg-card);
    border: 1px solid #1a3a5a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
    border-color: var(--main-color);
}
.gallery-img-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-bottom: 1px solid #1a3a5a;
}
.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover .gallery-img-box img {
    transform: scale(1.1);
}
.gallery-caption { padding: 20px; }
.gallery-caption h4 {
    color: var(--main-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
}
.gallery-caption p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* =========================================
   8. セルフチェック (Check) ページ用
   ========================================= */

.check-container {
    background: #0b1d2e;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #1a3a5a;
}
.check-item {
    background: rgba(2, 21, 38, 0.8);
    border: 1px solid #333;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: 0.2s;
}
.check-item:hover {
    border-color: var(--main-color);
    background: rgba(0, 240, 255, 0.05);
}
.check-label {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    width: 100%;
}
.check-input { display: none; }
.check-box-design {
    width: 30px;
    height: 30px;
    border: 2px solid #666;
    border-radius: 4px;
    margin-right: 20px;
    position: relative;
    flex-shrink: 0;
    background: #fff;
    transition: 0.2s;
}
.check-input:checked + .check-box-design {
    background: var(--main-color);
    border-color: var(--main-color);
}
.check-input:checked + .check-box-design::after {
    content: "✔";
    color: #000;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.check-text h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
    border: none;
}
.check-text p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}
.note-text {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: 5px !important;
}
.btn-help {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 20px;
    padding: 2px 10px 2px 5px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-help .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--main-color);
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-weight: bold;
    font-size: 10px;
}

/* 判定結果ボックス */
.result-box {
    background: #fff;
    color: #021526;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
    margin-bottom: 40px;
    transition: all 0.5s ease;
}
.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    height: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    margin: 0;
}
.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}
.result-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    border: none;
    line-height: 1.4;
}
.result-btn {
    margin-top: 20px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}
.result-sub-info {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* 地盤注意書き */
.ground-notice {
    margin-top: 30px;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-left: 5px solid #ff9900;
    border-radius: 4px;
    text-align: left;
    color: #444;
}
.ground-notice strong {
    color: #d35400;
    display: block;
    margin-bottom: 10px;
}
.ground-notice p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* モーダル */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    max-width: 90%;
    width: 500px;
    position: relative;
    text-align: center;
    border: 4px solid var(--main-color);
}
.modal-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #021526;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
    padding-bottom: 5px;
}
.close-modal {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

/* =========================================
   9. メディアクエリ (スマホ対応)
   ========================================= */

@media (max-width: 768px) {
    /* 全体 */
    .hero-content h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .product-title { font-size: 3rem; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 10px; }
    .trust-content { flex-direction: column; }
    .btn-cta { padding: 15px 30px; font-size: 1.1rem; }
    .nav-logo { font-size: 1rem; }
    .nav-btn { padding: 6px 12px; font-size: 0.8rem; }
    .footer-info { text-align: center; }
    .footer-info h3 { text-align: center; }
    .contact-form { padding: 20px 10px; }

    /* LINEUPセクションのスマホ最適化 */
    .lineup-wrapper {
        padding: 40px 15px;
    }
    .lineup-section .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    .lineup-section .section-header p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .plan-card {
        padding: 40px 20px;
    }
    .plan-card h3 {
        font-size: 1.6rem;
    }
    .plan-card h3 span {
        font-size: 0.85rem;
    }
    .plan-catch {
        font-size: 1rem;
        padding: 15px;
    }
    .plan-desc {
        font-size: 0.95rem;
        text-align: left;
    }
    .spec-box { padding: 15px; }
    .spec-box dl { gap: 10px 15px; }
    .spec-box dd { font-size: 1rem; }
    
    .plan-standard::before,
    .plan-order::before {
        font-size: 0.7rem;
        padding: 5px 10px;
        right: 10px;
        top: -15px;
    }

    /* チェックシートボックス（スマホ） */
    .checksheet-box {
        padding: 40px 20px;
    }
    .checksheet-box h4 {
        font-size: 1.4rem;
    }
    .check-label {
        font-size: 1.3rem;
    }
    .btn-check {
        width: 100%;
        padding: 18px 0;
        font-size: 1.2rem;
    }
}

/* --- 施工事例ページへのリンクボタン --- */
.btn-pdf {
    display: inline-block;
    border: 1px solid var(--main-color); /* 青い枠線 */
    color: var(--main-color);            /* 青い文字 */
    padding: 15px 40px;                  /* ボタンの大きさ */
    border-radius: 50px;                 /* 丸くする */
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    background: rgba(0, 240, 255, 0.05); /* うっすら青い背景 */
    margin-top: 20px;
}

/* マウスを乗せた時の動き */
.btn-pdf:hover {
    background: var(--main-color);       /* 背景を青く塗りつぶす */
    color: #021526;                      /* 文字を黒く */
    box-shadow: 0 0 15px var(--main-color); /* 光らせる */
    transform: translateY(-3px);         /* 少し浮き上がる */
}

/* --- フローティング（追従）お問い合わせボタン --- */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color); /* 目立つ赤色 */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(255, 0, 68, 0.5);
    z-index: 9999; /* 常に一番手前に表示する設定 */
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 2px solid #fff; /* 白枠をつけてより目立たせる */
    animation: pulse-red 2s infinite; /* 以前作った脈打つアニメーションを流用 */
}

.floating-btn:hover {
    transform: translateY(-5px);
    background: #d10030;
}

.floating-icon {
    font-size: 1.4rem;
}

/* スマホでは画面の一番下にベタ付けする（一番クリックされやすい形） */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 0;
        right: 0;
        width: 100%;            /* 横幅いっぱいに */
        border-radius: 0;       /* 四角くする */
        justify-content: center;/* 中央揃え */
        padding: 18px 0;
        font-size: 1.2rem;
        border: none;
        border-top: 2px solid #fff; /* 上だけに白線を引く */
        animation: none;        /* スマホだと動きが邪魔になることがあるので止める */
    }
}