@charset "UTF-8";

.inherit-house {
    width: 100%;
    overflow: hidden;
    margin-bottom: 100px;
}

.inherit-house__container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 画像プレースホルダー（実際の運用時にimgタグと差し替えてください） */
.inherit-house__img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
    font-weight: bold;
    object-fit: cover;
}

/* --- 汎用装飾クラス --- */
.inherit-house__marker {
    background: linear-gradient(transparent 60%, #b3e5fc 60%);
    font-weight: bold;
    color: #111111;
}

/* --- セクション共通 --- */
.inherit-house__section {
    padding: 80px 0;
}

.inherit-house__section--bg-light {
    background-color: #f0f4f9;
}

.inherit-house__section-header {
    text-align: center;
    margin-bottom: 50px;
}

.inherit-house__section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0092E4;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.inherit-house__section-lead {
    font-size: 16px;
    color: #555555;
    margin: 0;
}

/* =========================================================
           ファーストビュー (参考サイトのデザインを踏襲)
        ========================================================= */
.inherit-house__hero {
    position: relative;
    /* 背景画像が入る想定のプレースホルダー背景 */
    background-color: #cccccc;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
    padding: 80px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.inherit-house__hero-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.inherit-house__hero-title {
    margin: 0 0 30px 0;
    line-height: 1.8;
    font-size: 32px;
}

.inherit-house__hero-title-row {
    display: block;
    margin-bottom: 8px;
}

.inherit-house__hero-title-normal {
    font-weight: 700;
    color: #111111;
}

.inherit-house__hero-title-bg {
    background-color: #0092e5;
    color: #ffffff;
    padding: 4px 12px;
    font-weight: 700;
    display: inline-block;
}

.inherit-house__hero-box {
    background-color: #ffffff;
    border-top: 5px solid #0092e5;
    max-width: 600px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.inherit-house__hero-box-title {
    font-size: 18px;
    font-weight: 700;
    color: #0092e5;
    margin: 0 0 16px 0;
    text-align: center;
}

.inherit-house__hero-box-text {
    font-size: 15px;
    color: #333333;
    margin: 0;
    line-height: 1.8;
}

/* =========================================================
           リスク・お悩みセクション (画像使用)
        ========================================================= */
.inherit-house__risk-list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inherit-house__risk-item {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.inherit-house__risk-img-wrap {
    width: 100%;
    height: 200px;
    /* 画像のアスペクト比維持 */
    background-color: #f4f8fa;
}

.inherit-house__risk-content {
    padding: 20px;
}

.inherit-house__risk-title {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    text-align: center;
    margin: 0 0 6px 0;
}

.inherit-house__risk-text {
    font-size: 15px;
    color: #555555;
    margin: 0;
    text-align: justify;
    line-height: 1.8;
}

/* =========================================================
           戸建特有のポイントセクション (画像使用)
        ========================================================= */
.inherit-house__point-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.inherit-house__point-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.inherit-house__point-img-wrap {
    flex: 0 0 40%;
    min-height: 250px;
    background-color: #e1e8ed;
}

.inherit-house__point-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inherit-house__point-head {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.inherit-house__point-number {
    background-color: #0092e5;
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.inherit-house__point-title {
    font-size: 19px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.4;
}

.inherit-house__point-text {
    font-size: 15px;
    color: #333333;
    margin: 0;
    text-align: justify;
}

/* =========================================================
           売却の流れセクション (幅調整)
        ========================================================= */
.inherit-house__flow-wrapper {
    position: relative;
    padding-left: 40px;
    width: 100%;
}

.inherit-house__flow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 64px;
    width: 2px;
    background-color: #d9eaf3;
}

.inherit-house__flow-step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.inherit-house__flow-step:last-child {
    margin-bottom: 0;
}

.inherit-house__flow-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 3px solid #0092e5;
    color: #0092e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 146, 229, 0.1);
}

.inherit-house__flow-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f4f8fa;
    position: relative;
}

.inherit-house__flow-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

.inherit-house__flow-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px 0;
}

.inherit-house__flow-text {
    font-size: 15px;
    color: #555555;
    margin: 0;
    text-align: justify;
}

/* =========================================================
           税金・特例セクション (border削除)
        ========================================================= */
.inherit-house__tax-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.inherit-house__tax-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

.inherit-house__tax-text {
    font-size: 15px;
    color: #333333;
    margin: 0 0 30px 0;
}

.inherit-house__tax-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f4f8fa;
    padding: 30px;
    border-radius: 8px;
}

.inherit-house__tax-list-item {
    font-size: 15px;
    color: #333333;
    margin-bottom: 16px;
    padding-left: 36px;
    position: relative;
    line-height: 1.6;
}

.inherit-house__tax-list-item:last-child {
    margin-bottom: 0;
}

.inherit-house__tax-list-icon {
    position: absolute;
    top: 2px;
    left: 0;
    fill: #ff6a00;
}

/* =========================================================
           選ばれる理由セクション
        ========================================================= */
.inherit-house__reasons-list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.inherit-house__reasons-item {
    flex: 1;
    text-align: center;
}

.inherit-house__reasons-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e6f4fc;
    margin-bottom: 20px;
}

.inherit-house__reasons-icon {
    fill: #0092e5;
}

.inherit-house__reasons-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.inherit-house__reasons-desc {
    font-size: 15px;
    color: #555555;
    text-align: left;
    margin: 0;
}

/* =========================================================
           よくあるご質問セクション
        ========================================================= */
.inherit-house__faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inherit-house__faq-item {
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
}

.inherit-house__faq-summary {
    padding: 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #111111;
    position: relative;
    list-style: none;
    /* デフォルトの矢印を消す */
    display: flex;
    align-items: center;
}

.inherit-house__faq-summary::-webkit-details-marker {
    display: none;
}

.inherit-house__faq-summary::before {
    content: 'Q.';
    color: #0092e5;
    font-size: 22px;
    margin-right: 12px;
    font-weight: bold;
}

.inherit-house__faq-answer {
    padding: 0 24px 24px 58px;
    /* Q.の幅分インデント */
    font-size: 15px;
    color: #555555;
    border-top: 1px dashed #e1e8ed;
    margin-top: -8px;
    /* 見た目の微調整 */
    padding-top: 24px;
    position: relative;
}

.inherit-house__faq-answer::before {
    content: 'A.';
    color: #ff6a00;
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    left: 24px;
    top: 24px;
}

/* =========================================================
           CTAセクション
        ========================================================= */
.inherit-house__cta {
    background: linear-gradient(135deg, #0092e5 0%, #006097 100%);
    padding: 80px 0;
    text-align: center;
}

.inherit-house__cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.inherit-house__cta-text {
    font-size: 15px;
    color: #ffffff;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

.inherit-house__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6a00;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 20px 60px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.inherit-house__cta-btn:hover {
    background-color: #e65f00;
    transform: translateY(-2px);
}

.inherit-house__cta-btn-icon {
    margin-left: 12px;
    fill: #ffffff;
}



@media (max-width: 750px) {
    .inherit-house__section {
        padding: 10vw 0;
    }

    .inherit-house__section-header {
        margin-bottom: 6vw;
    }

    .inherit-house__section-title {
        font-size: 4.8vw;
    }

    .inherit-house__section-lead {
        font-size: 3.2vw;
    }

    /* ヒーロー */
    .inherit-house__hero {
        padding: 8vw 4vw;
        min-height: auto;
    }

    .inherit-house__hero-title {
        font-size: 5vw;
        margin-bottom: 5vw;
    }

    .inherit-house__hero-title-bg {
        padding: 1vw 2vw;
    }

    .inherit-house__hero-box {
        padding: 4vw;
    }

    .inherit-house__hero-box-title {
        font-size: 3.8vw;
        margin-bottom: 3vw;
    }

    .inherit-house__hero-box-text {
        font-size: 3.2vw;
    }

    /* リスク */
    .inherit-house__risk-list {
        flex-direction: column;
        gap: 4vw;
    }

    .inherit-house__risk-img-wrap {
        height: 47vw;
    }

    .inherit-house__risk-content {
        padding: 4vw;
    }

    .inherit-house__risk-title {
        font-size: 4vw;
    }

    .inherit-house__risk-text {
        font-size: 3.2vw;
    }

    /* ポイント */
    .inherit-house__point-wrapper {
        gap: 6vw;
    }

    .inherit-house__point-card {
        flex-direction: column;
    }

    .inherit-house__point-img-wrap {
        width: 100%;
        min-height: 40vw;
    }

    .inherit-house__point-content {
        padding: 5vw 4vw;
    }

    .inherit-house__point-number {
        width: 9vw;
        height: 9vw;
        font-size: 4.5vw;
        margin-right: 2.5vw;
    }

    .inherit-house__point-title {
        font-size: 4.2vw;
    }

    .inherit-house__point-text {
        font-size: 3.2vw;
    }

    /* ステップ */
    .inherit-house__flow-wrapper {
        padding-left: 2vw;
    }

    .inherit-house__flow-wrapper::before {
        left: 6vw;
    }

    .inherit-house__flow-step {
        padding-left: 13vw;
        margin-bottom: 6vw;
    }

    .inherit-house__flow-badge {
        width: 9vw;
        height: 9vw;
        font-size: 3.8vw;
    }

    .inherit-house__flow-content {
        padding: 4vw;
    }

    .inherit-house__flow-title {
        font-size: 3.8vw;
    }

    .inherit-house__flow-text {
        font-size: 3.2vw;
    }

    /* 税金 */
    .inherit-house__tax-box {
        padding: 6vw 4vw;
    }

    .inherit-house__tax-title {
        font-size: 4.2vw;
        margin-bottom: 4vw;
    }

    .inherit-house__tax-text {
        font-size: 3.2vw;
        margin-bottom: 4vw;
    }

    .inherit-house__tax-list {
        padding: 4vw;
    }

    .inherit-house__tax-list-item {
        font-size: 3.2vw;
        padding-left: 6vw;
        margin-bottom: 2vw;
    }

    /* 選ばれる理由 */
    .inherit-house__reasons-list {
        flex-direction: column;
        gap: 6vw;
    }

    .inherit-house__reasons-icon-wrap {
        width: 14vw;
        height: 14vw;
        margin-bottom: 3vw;
    }

    .inherit-house__reasons-icon {
        width: 7vw;
        height: 7vw;
    }

    .inherit-house__reasons-title {
        font-size: 4.2vw;
    }

    .inherit-house__reasons-desc {
        font-size: 3.2vw;
    }

    /* FAQ */
    .inherit-house__faq-summary {
        font-size: 3.5vw;
        padding: 4vw;
    }

    .inherit-house__faq-summary::before {
        font-size: 4.8vw;
    }

    .inherit-house__faq-answer {
        padding: 3vw 4vw 4vw 11vw;
        font-size: 3.2vw;
    }

    .inherit-house__faq-answer::before {
        left: 4vw;
        font-size: 4.8vw;
    }

    /* CTA */
    .inherit-house__cta {
        padding: 8vw 0;
    }

    .inherit-house__cta-title {
        font-size: 4.8vw;
    }

    .inherit-house__cta-text {
        font-size: 3.2vw;
        margin-bottom: 5vw;
    }

    .inherit-house__cta-btn {
        padding: 3vw 6vw;
        font-size: 3.8vw;
        width: 100%;
    }

    .inherit-house__cta-btn-icon {
        width: 4.5vw;
        height: 4.5vw;
    }

    .inherit-house {
        margin-bottom: 15vw;
    }
}