@charset "utf-8";

/* ヒーローエリア */
.c-contract-hero { position: relative; height: 300px; background: #000; overflow: hidden; }
.c-contract-hero__img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.c-contract-hero__content { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); text-align: center; color: #fff; }
.c-contract-hero__title { font-size: 2.4rem; font-weight: bold; margin-bottom: 5px; }
.c-contract-hero__sub { font-size: 1.1rem; }

/* 青い太枠の強調メッセージボックス */
.c-message-box--blue-strong {
    border: 3px solid #0070b8; /* 御幸建設ブルーの太枠 */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    margin: 20px 0;
    position: relative;
}

/* メッセージボックス内の青い縦線 */
.c-message-box--blue-strong::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background-color: #0070b8;
}

.c-message-box--blue-strong .c-message-box__text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0070b8;
    line-height: 1.6;
}

/* グレーの見出しボックス (c-step-unit) */
.c-step-unit { margin-bottom: 40px; border: 1px solid #eee; border-radius: 0 0 8px 8px; }

.c-step-header {
    background-color: #9ea1a3; /* 落ち着いたグレー */
    color: #fff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
}

.c-step-badge {
    background-color: #e6007e; /* アクセントのピンク */
    font-size: 13px;
    font-weight: bold;
    padding: 3px 12px;
    margin-right: 20px;
    border-radius: 2px;
}

.c-step-title { font-size: 1.25rem; font-weight: bold; margin: 0; flex: 1; }

.c-step-body { padding: 30px; background-color: #fff; }

/* 共通リストスタイル */
.c-dot-list { list-style: none; padding: 0; }
.c-dot-list li { position: relative; padding-left: 25px; margin-bottom: 12px; line-height: 1.7; }
.c-dot-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #0070b8;
    font-size: 12px;
    top: 2px;
}

/* 区切り線 */
.c-section-divider { border: none; border-top: 1px solid #e0e0e0; margin: 50px 0; }

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .c-message-box--blue-strong { padding: 30px 20px; }
    .c-message-box--blue-strong .c-message-box__text { font-size: 1.1rem; }
    .c-step-header { flex-direction: column; align-items: flex-start; }
    .c-step-badge { margin-bottom: 10px; }
}

/* シンプルなカード形式のコンテナ */
.c-intro-card--simple {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* 重要な「課題解決」部分を強調するボックス */
.c-highlight-box--blue {
    background-color: #f0f7ff; /* 薄いブルーの背景 */
    border-left: 5px solid #0070b8; /* 御幸建設ブルーのアクセント線 */
    padding: 25px 30px;
    margin-top: 20px;
}

/* テキストの基本スタイル */
.c-text-main {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* 共通ユーティリティ */
.u-bold { font-weight: bold; }
.u-text-blue { color: #0070b8; }
.u-mb-25 { margin-bottom: 25px; }

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .c-intro-card--simple {
        padding: 25px 20px;
    }
    .c-highlight-box--blue {
        padding: 20px;
    }
}

/* 3個並びのグリッドコンテナ */
.c-sales-step-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

/* 各カードのスタイル */
.c-sales-step-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* カードの上部（ラベル部分） */
.c-sales-step-card__head {
    background-color: #0070b8; /* 御幸建設ブルー */
    padding: 8px 15px;
    text-align: center;
}

.c-sales-step-card__label {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* カードの本文エリア */
.c-sales-step-card__body {
    padding: 20px;
    flex-grow: 1;
    text-align: center;
}

.c-sales-step-card__title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.c-sales-step-card__text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* スマホ対応（縦並びにする） */
@media screen and (max-width: 768px) {
    .c-sales-step-grid {
        flex-direction: column;
    }
}

/* 3個並びのグリッドコンテナ */
.c-sales-step-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

/* カードスタイル */
.c-sales-step-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* カード上部ヘッダー */
.c-sales-step-card__head {
    background-color: #0070b8; /* 御幸建設ブルー */
    padding: 8px 15px;
    text-align: center;
}

.c-sales-step-card__label {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* カード本文 */
.c-sales-step-card__body {
    padding: 20px;
    flex-grow: 1;
    text-align: center;
}

.c-sales-step-card__title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.c-sales-step-card__text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    text-align: left; /* 長文になるため左寄せを推奨 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .c-sales-step-grid {
        flex-direction: column;
    }
}

/* グリッドコンテナ共通 */
.c-sales-step-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

/* 2個並び専用の調整 */
.c-sales-step-grid--col2 .c-sales-step-card {
    flex: 0 0 calc(50% - 10px); /* 半分の幅から余白を引く */
}

/* カードスタイル（これまでのものと共通） */
.c-sales-step-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* ...（中略：ヘッダーやタイトルのスタイル）... */

.c-sales-step-card__text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* スマホ対応：1列にする */
@media screen and (max-width: 768px) {
    .c-sales-step-grid,
    .c-sales-step-grid--col2 {
        flex-direction: column;
    }
    .c-sales-step-grid--col2 .c-sales-step-card {
        flex: 1;
    }
}

/* オレンジ基調のメインカード */
.c-content-card--orange {
    background-color: #fffaf0; /* 非常に薄いオレンジ */
    border-left: 5px solid #f39800; /* オレンジのアクセント線 */
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* オレンジ版のステップカード */
.c-sales-step-card--orange .c-sales-step-card__head {
    background-color: #f39800; /* ヘッダーをオレンジに */
}

.c-sales-step-card--orange .c-sales-step-card__title {
    color: #f39800;
}

/* リンクボタンの強調 */
.c-tag-item--link {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0070b8; /* 目立つようにブルーに */
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.c-tag-item--link:hover {
    background-color: #005a96;
    text-decoration: underline;
}

/* 共通テキスト調整 */
.u-mt-40 { margin-top: 40px; }

/* セクション間の詰まりを解消 */
.c-contract-section {
    padding-top: 60px;
    padding-bottom: 80px; /* 下幅を広げてゆとりを持たせる */
    border-bottom: 1px solid #eee;
}

/* オレンジセクションの背景色調整 */
.c-contract-section--orange {
    background-color: #fffaf0;
    border-bottom: none;
}

/* ステップカードのグリッド余白 */
.c-sales-step-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* カード間の間隔を広げる */
    margin-top: 40px;
}

/* センタリング用ユーティリティ */
.u-text-center {
    text-align: center !important;
	margin-bottom: 40px;
}

/* リンクボタンのスタイル */
.c-btn-link {
    display: inline-block;
    padding: 20px 60px;
    background-color: #0070b8; /* 御幸建設ブルー */
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px; /* 丸みのあるボタンに */
    box-shadow: 0 4px 15px rgba(0, 112, 184, 0.3);
    transition: all 0.3s ease;
}

.c-btn-link:hover {
    background-color: #005a96;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 184, 0.4);
}

/* カード内のテキスト左寄せ（読みやすさ重視） */
.c-sales-step-card__text {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .c-sales-step-grid {
        flex-direction: column;
        gap: 20px;
    }
    .c-btn-link {
        width: 100%;
        padding: 15px 20px;
    }
}