
/* =========================================
ベーススタイル
========================================= */
:root {
    --primary-color: #00449e;
    --accent-color: #e60012;
    --bg-color: #f4f8fb;
    --text-color: #333;
    --border-color: #ddd;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* 画像のレスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

 /* --- 共通設定 (index.htmlと同じ) --- */
:root {
    --primary-navy: #003366;
    --accent-blue: #2d8fb8;
    --highlight-gold: #d4af37; /* 高級感・報酬をイメージする金 */
    --alert-red: #e74c3c;      /* 強調用 */
    --text-main: #333;
    --bg-light: #f5f5f7;
    --white: #fff;
}
body { font-family: "Helvetica Neue", Arial, sans-serif; margin: 0; padding: 0; color: var(--text-main); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

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



/* =========================================
ユーティリティ & レイアウト
========================================= */
.container-airprice {
max-width: 1000px;
margin: 0 auto;
padding: 0 15px; /* スマホでの左右余白 */
background-color: #fff;
box-sizing: border-box;
}

.text-red { color: var(--accent-color); font-weight: bold; }
.text-center { text-align: center; }

/* Flexboxラッパー（PCは横並び、スマホは縦並び） */
.flex-box-airprice {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.flex-item-airprice {
flex: 1;
min-width: 300px; /* PCでも狭くなりすぎないように */
}

.logo-container {
height: 100%;
display: flex; align-items: center;
}
.logo-img {
height: 85px;
width: auto;
}
.menu-btn {
background: var(--primary-navy);
color: white;
border-radius: 50%; width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.4rem;
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1000px;
margin: 0 auto;
padding: 0 15px;
}
.logo { font-size: 1.2rem; font-weight: bold; }
.header-links { font-size: 0.8rem; }

/* メニュー（共通） */
/* .nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,51,102,0.95); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.4s; display: flex; align-items: center; justify-content: center; }
.nav-overlay.active { opacity: 1; visibility: visible; }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 3rem; color: white; cursor: pointer; }
.nav-list a { color: white; font-size: 1.5rem; font-weight: bold; margin: 15px 0; display: block; text-align: left; } */

/* footer { background: #222; color: #999; padding: 40px 20px; text-align: center; font-size: 0.8rem; } */

/* ヒーローエリア */
.hero-airprice {
background-color: #eef9ff;
padding: 30px 15px;
text-align: center;
border-bottom: 5px solid var(--primary-color);
}
.hero-airprice h1 {
color: var(--primary-color);
margin: 0 0 10px;
font-size: 1.6rem;
}
.hero-airprice p {
font-size: 1rem;
font-weight: bold;
margin: 0;
}

/* ページ内ナビボタン */
.anchor-nav {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
padding: 20px 0;
background: #fff;
}
.anchor-nav a {
display: block;
background: #fff;
border: 1px solid var(--primary-color);
color: var(--primary-color);
text-decoration: none;
padding: 8px 12px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: bold;
transition: background 0.2s;
}
.anchor-nav a:hover {
background: var(--primary-color);
color: #fff;
}

/* セクション共通 */
section {
padding: 30px 0;
border-bottom: 1px solid var(--border-color);
}
.section-title-airprice {
background: var(--primary-color);
color: #fff;
padding: 10px 15px;
border-radius: 4px;
margin-bottom: 20px;
font-size: 1.3rem;
}
h3 {
color: var(--primary-color);
border-left: 5px solid var(--primary-color);
padding-left: 10px;
margin-top: 25px;
margin-bottom: 15px;
font-size: 1.2rem;
}

/* 標準工事ボックス */
.standard-work-box {
border: 2px solid #ffcc00;
padding: 15px;
border-radius: 8px;
background: #fffdf5;
}
.work-list {
list-style: none;
padding: 0;
margin: 0;
}
.work-list li {
margin-bottom: 8px;
padding-left: 25px;
position: relative;
font-weight: bold;
}
.work-list li::before {
content: "✔";
color: var(--primary-color);
position: absolute;
left: 0;
top: 0;
}

/* =========================================
料金テーブル（レスポンシブ対応版）
========================================= */
table.price-table {
width: 100%;
border-collapse: collapse;
margin: 15px 0;
font-size: 0.95rem;
}
table.price-table th, 
table.price-table td {
border: 1px solid #ccc;
padding: 12px;
text-align: left;
}
table.price-table th {
background-color: #e6f2ff;
color: var(--primary-color);
width: 30%;
font-weight: normal;
}
table.price-table td.price-cell {
text-align: right;
font-weight: bold;
color: var(--accent-color);
font-size: 1.1rem;
white-space: nowrap; /* 価格が折り返されないように */
}

/* 室外機などのカード */
.option-card {
border: 1px solid #ddd;
padding: 15px;
border-radius: 8px;
background: #fff;
margin-bottom: 15px;
}
.option-card h4 {
margin: 10px 0 5px;
font-size: 1.1rem;
color: #333;
}

/* 注意書き */
.note {
font-size: 0.8rem;
color: #666;
background: #f9f9f9;
padding: 10px;
border-radius: 4px;
margin-top: 10px;
}

/* CTAバナー */
.cta-banner {
background: linear-gradient(135deg, #00449e, #0077e6);
color: #fff;
padding: 25px 15px;
text-align: center;
border-radius: 8px;
margin: 30px 0;
}
.cta-button {
display: inline-block;
background: #fff;
color: var(--primary-color);
padding: 12px 30px;
font-size: 1.1rem;
font-weight: bold;
text-decoration: none;
border-radius: 50px;
margin-top: 15px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* フッター */
/* footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
font-size: 0.75rem;
} */

/* =========================================
スマホ向けレイアウト調整 (max-width: 768px)
========================================= */
@media (max-width: 768px) {
/* Flexboxを縦積みに強制 */
.flex-box-airprice {
    flex-direction: column;
    gap: 15px;
}
/* .flex-item {
    min-width: 100%;
} */

/* テーブルのスマホ表示（カード型リスト風に変更） */
table.price-table, 
table.price-table tbody, 
table.price-table tr, 
table.price-table th, 
table.price-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

table.price-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden; /* 角丸用 */
}

table.price-table th {
    width: 100%;
    background-color: #e6f2ff;
    border: none;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    padding: 10px 15px;
}

table.price-table td {
    width: 100%;
    border: none;
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
}

table.price-table td:last-child {
    border-bottom: none;
}

/* 価格セルの右寄せ調整 */
table.price-table td.price-cell {
    text-align: right;
    background-color: #fff;
}
/* 価格セルの前に「目安:」などを疑似要素でつける例（必要なら）
    今回はシンプルにするため省略 */

/* ヘッダー調整 */
.header-inner {
    flex-direction: column;
    gap: 5px;
}
.header-links { display: none; } /* スマホではリンクを隠す、またはハンバーガーメニューにする等 */
}
