/* ============================================================
   Hero（自動車用）
============================================================ */
.hero-wrapper {
    width:100%;
    margin:0 auto;
    overflow:hidden;
}

.hero {
    position:relative;
    height:350px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero-logo {
    position: static;   /* ← これが最重要 */
    display: block;
    margin: 20px 0 20px 20px;  /* 中央寄せしたい場合 */
    height: 55px;
}

/* ヒーロー内テキスト */
.hero-text {
    position: absolute;
    bottom: 12%;
    left: 5%;
    z-index: 2;
    color: #fff;
}

/* タイトル（青で強調） */
.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #0077CC;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* サブタイトル */
.hero-text p {
    font-size: 20px;
    color: #f0f0f0;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero {
        height:220px;
    }
    .hero-logo {
        height: 45px;
        width: auto;
    }
    .hero-text h1 {
        font-size: 32px;
    }
    .hero-text p {
        font-size: 16px;
    }
  .standard-section {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  /* 画像をスマホ幅に合わせる */
  .std-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* テキストブロックも幅100%に */
  .std-text-block {
    width: 100%;
    min-width: 0;
  }
}



/* ============================================================
   Standard Section（自動車用・明るい背景）
============================================================ */
.standard-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;

    background: #f7f7f7; /* 明るい背景 */
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: #111;
}

/* 画像 */
.std-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 8px;

    border: 4px solid #0077CC; /* 青枠 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);

    transition: 0.25s;
}

.std-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* タイトル */
.std-title {
    font-size: 30px;
    font-weight: bold;
    margin-top: 0;
    color: #111;
    position: relative;
    padding-left: 16px;
}

/* 左の青ライン */
.std-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 26px;
    background: #0077CC;
    border-radius: 3px;
}

/* 本文 */
.std-content {
    margin-top: 15px;
    line-height: 1.8;
    color: #333;
    font-size: 17px;
}

.std-text-block {
    flex: 1;
    min-width: 280px;
}


/* ============================================================
   Gallery Section（説明付き・横並び）
============================================================ */
.gallery-section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;

    background: #ffffff; /* 白背景で車が映える */
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 各アイテム（横並び） */
.gallery-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    color: #111;
}

.gallery-caption {
    flex: 1;
    line-height: 1.7;
}

/* 画像 */
.gallery-img {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;

    border: 4px solid #0077CC; /* 青枠 */
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);

    transition: 0.25s;
}

.gallery-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

/* 説明 */
.gallery-text {
    flex: 1;
    min-width: 260px;
}

/* タイトル */
.gallery-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #111;
    position: relative;
    padding-left: 14px;
}

/* 青ライン */
.gallery-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 22px;
    background: #0077CC;
    border-radius: 3px;
}

/* 説明文 */
.gallery-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}


/* ============================================================
   Legal Tabs（自動車用）
============================================================ */
.legal-tabs {
    margin: 50px auto;
    max-width: 900px;
    padding: 25px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: #111;
}

/* タブボタン */
.legal-tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-tab-buttons button {
    padding: 10px 22px;
    border: none;
    background: #0077CC;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.legal-tab-buttons button:hover {
    background: #005BBB;
}

.legal-tab-buttons button.active {
    background: #005BBB;
    border: 2px solid #003F7F;
}

/* 内容 */
.legal-tab-content {
    display: none;
    padding: 25px;
    background: #ffffff;
    border-radius: 6px;
    line-height: 1.8;
    color: #333;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.1);
}


/* ============================================================
   Table（料金表）
============================================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px auto;
    background: #ffffff;
    color: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 見出し（青背景） */
table th {
    background: #0077CC;
    color: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 3px solid #005BBB;
}

/* セル */
table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}

/* 偶数行 */
table tr:nth-child(even) {
    background: #f7f7f7;
}

/* ホバー */
table tr:hover {
    background: #e9f3ff;
    transition: 0.2s;
}


/* ============================================================
   CTA（自動車用）
============================================================ */
.section.cta {
    text-align: center;
    padding: 60px 20px;
    background: #005BBB;
    color: #fff;
}

/* CTA タイトル */
.section.cta h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

/* CTA 本文 */
.section.cta p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

/* CTA ボタン */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #ffffff;
    color: #005BBB;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #e9f3ff;
    transform: translateY(-3px);
}


/* ============================================================
   見出し（H2 / H3）
============================================================ */
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin: 40px auto 20px;
    position: relative;
    padding-left: 18px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 28px;
    background: #005BBB;
    border-radius: 3px;
}

.sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #111;
    margin: 25px 0 10px;
    border-left: 4px solid #0077CC;
    padding-left: 12px;
}


/* ============================================================
   Product Buy Button（購入ボタン）
============================================================ */
.product-buy-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #0077CC;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin: 20px auto;
    cursor: pointer;
    transition: 0.25s;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-buy-btn:hover {
    background: #005BBB;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
/* ------------------------------ FAQ Section ------------------------------ */

.faq-item {
    margin-bottom: 24px;        /* FAQ項目同士の余白 */
    padding-bottom: 16px;       /* 下に余白 */
    border-bottom: 1px solid #e5e5e5; /* 薄い区切り線で視線誘導 */
}

.faq-question {
    font-weight: bold;
    margin-bottom: 8px;         /* Q と A の間に余白 */
    font-size: 1.05rem;
}

.faq-answer {
    margin-left: 12px;          /* A を少し右にずらすと読みやすい */
    line-height: 1.7;           /* 行間を広げて読みやすく */
    font-size: 1rem;
}

body.rtl {
    direction: rtl;
    text-align: right;
}
