@charset "utf-8";
/* --- ヘッダー全体（画面横幅いっぱい） --- */
.hero-section {
    position: relative;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

/* --- 背景画像 --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景画像を暗くして文字を読みやすくする */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),  url('/common/upload/files/building/building_title.png?filetime=1778302579'); /* ★実際の背景画像のURLに書き換えてください */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* --- コンテンツ配置 --- */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px; /* 全体の幅 */
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左・中・右に均等に分ける */
}

/* 左側の見えない箱（中央テキストをど真ん中に保つため） */
.hero-left-spacer {
    width: 150px; /* 右側のバッジと同じくらいの幅にする */
}

/* --- 中央テキストエリア --- */
.hero-center-text {
    text-align: center;
    flex-grow: 1;
}

/* ★「岡山県全域対応・安心の自社施工」の背景色を変更 */
.top-tag {
    background-color: #0E96B1 !important; /* オレンジ(#f59e0b)からターコイズ(#0E96B1)に変更 */
    color: #ffffff !important;
    display: inline-block !important;
    padding: 6px 24px !important;
    border-radius: 50px !important;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}

.main-title {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8) !important;
}

.sub-message {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* --- ボタンエリア --- */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-blue, .btn-red,.btn-green {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important; /* 青い下線を消す */
    font-size: 18px !important;
    color: #ffffff !important; /* 文字を白にする */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    min-width: 200px;
}

/* オレンジボタンの色はそのまま維持 */
.btn-blue { background-color: #00a0ea !important; }
.btn-red { background-color: #E60000 !important; }
.btn-green { background-color: #06C755 !important; }

/* --- 右側：実績バッジ --- */
.hero-right-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 150px;
    align-items: flex-end;
}

/* ★丸いバッジのフチの色を変更 */
.circle-badge {
    width: 110px !important;
    height: 110px !important;
    background-color: #0f172a !important; /* 濃紺 */
    border: 3px solid #0E96B1 !important; /* オレンジ(#f59e0b)からターコイズ(#0E96B1)に変更 */
    border-radius: 50% !important; /* 完全な丸 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;
}

.badge-label {
    font-size: 11px !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
    text-align: center !important;
}

/* バッジ内の文字色を白に統一 */
.badge-val {
    font-size: 30px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.badge-val2 {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.circle-badge .unit {
    font-size: 12px !important;
    margin-left: 2px !important;
    color: #ffffff !important;
}

/* --- スマホ・タブレット対応（前回と同じ） --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    .hero-left-spacer { display: none; }
    .hero-right-badges {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .circle-badge {
        width: 90px !important;
        height: 90px !important;
    }
    .badge-val { font-size: 22px !important; }
}

@media (max-width: 600px) {
    .main-title { font-size: 30px !important; }
    .sub-message { font-size: 16px !important; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-blue,  .btn-red,  .btn-green { width: 100%; max-width: 300px; }
}


/*解体工事費用が変わるポイント*/
/* セクション全体の余白 */
.cost-points {
  padding: 40px 20px;
  max-width: 550px;
  margin: 0 auto;
}

/* タイトル */
.section-title {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  margin-bottom: 25px;
  text-align: left;
}

/* リスト全体のスタイル */
.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各項目：アイコンと文字を横並びに */
.point-list li {
  display: flex;
  align-items: center;
  font-size: 19px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* アイコン部分の調整 */
.icon {
  margin-right: 18px;
  font-size: 22px;
  width: 32px; /* アイコンの幅を統一 */
  text-align: center;
  color: #555; /* アイコンの色 */
}


/* 全体の親要素：他と干渉しないよう固有名を使用 */
.okayama-section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 地図エリア */
.okayama-map-box {
    flex: 0 0 400px;
}

.okayama-map-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* ボタンエリア */
.okayama-button-box {
    flex: 1;
}

/* グリッドレイアウト */
.okayama-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* PCで5列 */
    gap: 8px;
}

/* ボタン単体のデザイン（重要度を高めるためクラスを詳細に記述） */
.okayama-grid .okayama-town-btn {
    background-color: #ffffff !important; /* 背景は白 */
    color: #333333 !important;            /* 文字色 */
    border: 1.5px solid #0097af !important; /* 指定の青枠 */
    border-radius: 4px;
    padding: 6px 2px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: default;
}

/* --- レスポンシブ対応 --- */

/* 画面幅 1024px以下：4列 */
@media (max-width: 1024px) {
    .okayama-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 画面幅 768px以下（スマホ）：縦並び・3列 */
@media (max-width: 768px) {
    .okayama-section-container {
        flex-direction: column;
    }
    .okayama-map-box {
        flex: 0 0 auto;
        width: 80%;
        max-width: 300px;
    }
    .okayama-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
}


/*解体工事の金額の目安*/
/* 表全体のコンテナ */
.intex-price-wrapper {
    max-width: 900px;
    margin: 40px auto;
    border-top: 1px solid #0097af;   /* 上の枠線 */
    border-left: 1px solid #0097af;  /* 左の枠線 */
    border-right: 1px solid #0097af; /* 右の枠線 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    box-sizing: border-box;
}

/* 1行ずつの設定 */
.intex-price-row {
    display: flex;
    border-bottom: 1px solid #0097af; /* 行の下線 */
    box-sizing: border-box;
}

/* 左側の見出し部分（水色背景） */
.intex-price-header {
    background-color: #0097af; /* サイトカラーの水色 */
    color: #ffffff;
    width: 25%; /* 左側の幅 */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
}

/* 右側の内容部分（白背景） */
.intex-price-body {
    background-color: #ffffff;
    width: 75%; /* 右側の幅 */
    padding: 20px 30px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* 金額のスタイル */
.intex-price-amount {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    width: 200px; /* 金額エリアの幅を固定して説明文の開始位置を揃える */
    flex-shrink: 0; /* 幅を縮めない */
}

/* 「円/坪(税抜)」などの小さな単位部分 */
.intex-price-amount span {
    font-size: 14px;
    font-weight: normal;
    margin-left: 2px;
}

/* 説明文のスタイル */
.intex-price-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* --- レスポンシブ対応（スマホ画面） --- */
@media (max-width: 768px) {
    .intex-price-row {
        flex-direction: column; /* スマホでは縦並びに */
    }
    
    .intex-price-header {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        justify-content: flex-start; /* スマホでは左寄せが見やすい */
    }
    
    .intex-price-body {
        width: 100%;
        flex-direction: column; /* 金額と説明も縦並びに */
        align-items: flex-start;
        padding: 15px 20px;
        gap: 8px;
    }
    
    .intex-price-amount {
        width: 100%;
        font-size: 24px;
    }
}



/*解体工事の流れ*/
/* 全体のラッパー（幅を広くし、余白を増やしました） */
.c-flow-wrapper {
    max-width: 1000px; /* 800px から 1000px へ拡大 */
    margin: 60px auto;
    padding: 40px 50px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f8f9fa;
    border-radius: 12px;
}

/* タイトル */
.c-flow-main-title {
    text-align: center;
    font-size: 28px; /* 大きく調整 */
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* タイムライン本体 */
.c-flow-timeline {
    position: relative;
    padding-left: 80px; /* 左側の丸アイコン用スペースを拡大 */
}

/* タイムラインの縦線 */
.c-flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 38px; /* 丸の中心に合わせる */
    width: 4px;
    background: #0097af;
    border-radius: 2px;
}

/* 各工程のアイテム */
.c-flow-item {
    position: relative;
    margin-bottom: 25px; /* 間隔を少し広く */
}

.c-flow-item:last-child {
    margin-bottom: 0;
}

/* 番号の丸アイコン（サイズとフォントを大きく） */
.c-flow-marker {
    position: absolute;
    top: 50%;
    left: -80px;
    margin-left: 10px;
    transform: translateY(-50%);
    width: 60px; /* 50px から 60px へ拡大 */
    height: 60px;
    background-color: #0097af;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 52px; /* ボーダー分(4px×2)を引いて中央揃え */
    font-size: 24px; /* 18px から 24px へ拡大 */
    font-weight: bold;
    font-family: Impact, Arial Black, sans-serif;
    border: 4px solid #f8f9fa;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
}

/* 白いカード部分（内側の余白を広げてワイドに） */
.c-flow-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 40px; /* 縦横の余白を拡大 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border-left: 8px solid #0097af; /* 線も少し太く */
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 80px;
    box-sizing: border-box;
}

.c-flow-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* 英語のサブタイトル（大きく） */
.c-flow-en {
    font-size: 15px; /* 12px から 15px へ拡大 */
    color: #999;
    letter-spacing: 1.5px;
    width: 140px; /* スペースを広く確保 */
    flex-shrink: 0;
    font-weight: bold;
}

/* 日本語のタイトル（大きく） */
.c-flow-title {
    font-size: 22px; /* 18px から 22px へ拡大 */
    font-weight: bold;
    color: #333;
    margin: 0;
    flex-grow: 1;
}

/* --- レスポンシブ対応（スマホ表示） --- */
@media (max-width: 768px) {
    .c-flow-wrapper {
        padding: 30px 20px; /* スマホでは外側の余白を小さく */
    }
    
    .c-flow-main-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .c-flow-timeline {
        padding-left: 55px; /* スマホ用の線スペース */
    }
    
    .c-flow-timeline::before {
        left: 25px; /* 線を細かく調整 */
    }

    .c-flow-marker {
        left: -55px;
        margin-left: 5px;
        width: 44px;
        height: 44px;
        line-height: 36px;
        font-size: 18px;
        border-width: 4px;
    }

    .c-flow-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        border-left-width: 6px;
    }

    .c-flow-en {
        font-size: 12px;
        width: auto;
        margin-bottom: 6px;
    }

    .c-flow-title {
        font-size: 18px;
    }
}


/*近隣対策、安全対策*/
/* 全体のコンテナ */
.safety-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    text-align: center;
}

/* タイトル */
.safety-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* カードを並べるグリッド */
.safety-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 画面幅が狭いと自動で折り返す */
    gap: 15px;
}

/* 個別のカードデザイン */
.safety-card {
    /* 画像のような薄いグレーのグラデーション */
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    border: 1px solid #dcdcdc;
    border-radius: 8px; /* 少し角丸に */
    width: 150px;       /* PCでの基本幅 */
    padding: 20px 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* アイコンのスタイル */
.safety-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
    color: #444; /* アイコンの色（濃いグレー） */
}

.safety-icon svg {
    width: 100%;
    height: 100%;
}

/* テキストのスタイル */
.safety-text {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* --- レスポンシブ対応（スマホやタブレット向け） --- */
@media (max-width: 800px) {
    .safety-card {
        width: calc(33.333% - 15px); /* タブレットでは3列 */
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .safety-grid {
        gap: 10px;
    }
    .safety-card {
        width: calc(50% - 10px); /* スマホでは2列 */
        padding: 15px 5px;
    }
    .safety-icon {
        width: 35px;
        height: 35px;
    }
    .safety-text {
        font-size: 12px;
    }
}

