/* ------------------------------
   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: #FFFFFF; /* 白文字 */
}

/* タイトル（オレンジ） */
.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #FF7B00; /* 建設の定番オレンジ */
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* サブタイトル */
.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.4);
}

/* スマホ対応 */
@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: #F5F5F5; /* ライトグレー */
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    color: #222; /* ダークグレー */
}

.std-image {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;

    border: 4px solid #FF7B00; /* オレンジ枠 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transition: 0.25s;
}

.std-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.std-title {
    font-size: 30px;
    font-weight: bold;
    margin-top: 0;
    color: #222;
    position: relative;
    padding-left: 16px;
}

/* 左のオレンジライン */
.std-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 26px;
    background: #FF7B00;
    border-radius: 3px;
}

.std-content {
    margin-top: 15px;
    line-height: 1.8;
    color: #444;
    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: #F5F5F5;
    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: #222;
}

.gallery-caption {
    flex: 1;
    line-height: 1.7;
}

.gallery-img {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;

    border: 4px solid #FF7B00; /* オレンジ枠 */
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    transition: 0.25s;
}

.gallery-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.gallery-text {
    flex: 1;
    min-width: 260px;
}

.gallery-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
    position: relative;
    padding-left: 14px;
}

.gallery-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height:22px;
    background: #FF7B00;
    border-radius: 3px;
}

.gallery-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* ------------------------------ 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;
}
