/* =================================
   front-page.css
   トップページ専用スタイル（template-parts/top/）
================================= */

/* =================================
   Component: ページヒーロー
================================= */
.page-hero-section {
    position: relative;
    overflow: hidden;
    background: repeating-conic-gradient(
        #ffc200 0deg 9deg,
        #ffc800 9deg 18deg
    );
}

.page-hero-section_swiper {
    width: 100%;
    max-width: 600px;
}

/* スライド共通 */
.page-hero-section_slide {
    position: relative;
    min-height: 500px;
    background-color: #f5c800;
    overflow: hidden;
}


/* スライド内レイアウト */
.page-hero-section_slide_inner {
    position: relative;
    background-color: var(--color-white);
    padding: 0 0 20px;
}
.page-hero-section_slide_inner img {
    margin: 0 auto;
}

/* ページネーション */
.page-hero-section_pagination {
    position: absolute;
    bottom: 12px !important;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.page-hero-section_pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--color-black);
    opacity: 0.3;
    margin: 0 4px;
}

.page-hero-section_pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--color-black);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-section_slide {
        min-height: 440px;
    }

    .page-hero-section_slide_inner {
        min-height: 440px;
        padding: 0;
    }

}

/* =================================
   Component: アピールセクション
================================= */
.appeal-section {
    background-color: var(--color-white);
    padding: 32px 0;
}

.appeal-section_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 16px;
}

/* 左：テキスト */
.appeal-section_body {
    flex: 1;
    min-width: 0;
}

.appeal-section_ttl {
    font-size: 20px;
    font-weight: normal;
    color: #F7A80A;
    line-height: 1.5;
    margin: 0 0 16px;
}

.appeal-section_txt {
    font-size:20px;
    color: var(--color-black);
    line-height: 2;
    margin: 50px 0 180px 0;
}

/* 右：おかげさまで画像 */
.appeal-section_img {
    flex-shrink: 0;
    width: 120px;
    align-self: flex-start;
}

.appeal-section_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .appeal-section {
        padding: 28px 0;
    }

    .appeal-section_ttl {
        font-size: 18px;
    }

    .appeal-section_txt {
        margin: -60px 0 30px 0;
        font-size: 18px;
    }

    .appeal-section_img {
        width: 100px;
    }
    .appeal-section_inner {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 16px;
    }
}

/* =================================
   Component: 選ばれる理由
================================= */
.reasons-section {
    padding: 48px 0;
    background-color: var(--color-white);
}

.reasons-section_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* セクション見出し */
.reasons-section_heading {
    text-align: center;
}

.reasons-section_ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 900;
    color: #2F3E77;
    margin: 0;
    white-space: nowrap;
}

/* 両側の横罫線 */
.reasons-section_ttl_rule {
    display: block;
    flex: 1;
    height: 4px;
    background-color: var(--color-main);
    max-width: 30px;
}

/* リスト */
.reasons-section_list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 各アイテム */
.reasons-section_item {
    padding: 24px 0;
}


/* タイトル行（チェック + テキスト） */
.reasons-section_item_head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px var(--color-black);
    padding-bottom: 5px;
}

/* チェックアイコン円 */
.reasons-section_check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #6BC300;
    color: var(--color-white);
    font-size: 14px;
    margin-top: 1px;
}

/* タイトルテキスト */
.reasons-section_item_ttl {
    font-size: 16px;
    color: var(--color-black);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

/* 説明文 */
.reasons-section_item_txt {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
    margin: 0 0 16px;
}

/* 画像エリア */
.reasons-section_item_img {
    width: 100%;
    min-height: 180px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.reasons-section_item:first-of-type .reasons-section_item_img,
.reasons-section_item:last-of-type .reasons-section_item_img {
    aspect-ratio: 15 / 8;
    display: flex;
    align-items: end;
    object-fit: cover;
}

.reasons-section_item_img:empty {
    background-color: #ebebeb;
}

.reasons-section_item_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .reasons-section {
        padding: 40px 0;
    }

    .reasons-section_ttl {
        font-size: 24px;
    }

    .reasons-section_item {
        padding: 20px 0;
    }

    .reasons-section_item_ttl {
        font-size: 15px;
    }

    .reasons-section_item_img {
        min-height: 160px;
    }
}

/* =================================
   Component: 対応エリア 見た目調整
================================= */

/* 対応エリアは style.css の .area-section--leak-repair で区切り線を指定 */