/* =================================
   page-yane.css
   屋根修理LP（page-yane.php）
================================= */

.page-yane {
    overflow-x: hidden;
}

/* =================================
   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: マンガ風ストーリー
================================= */
.yane-comic-section {
    padding: 56px 0;
}

.yane-comic-section_inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 12px;
}

/* プレースホルダー（背景画像用の枠） */
.yane-comic-ph {
    width: 100%;
    min-height: 120px;
    background-color: #d9d9d9;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.35) 8px,
        rgba(255, 255, 255, 0.35) 16px
    );
    box-sizing: border-box;
}

.yane-comic-ph--intro-bg {
    min-height: 220px;
    width: 90%;
}

.yane-comic-ph--worry-a {
    min-height: 140px;
}

.yane-comic-ph--worry-b {
    min-height: 130px;
}

.yane-comic-ph--worry-c {
    min-height: 140px;
}

.yane-comic-ph--character {
    min-height: 100px;
    width: 100px;
    border-radius: 50%;
    margin-left: auto;
}

/* 1. 導入 */
.yane-comic-intro {
    position: relative;
}

.yane-comic-intro__visual {
    position: relative;
    overflow: hidden;
    background-color: var(--color-white);
}

.yane-comic-intro__balloon {
    border: 3px solid var(--color-black);
    background-color: var(--color-white);
    padding: 20px 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    position: absolute;
    top: 0;
    right: 0;
}

.yane-comic-intro__vtext {
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.65;
    letter-spacing: 0.06em;
}

.yane-comic-intro__line {
    display: block;
}

.yane-comic-intro__line--em {
    color: var(--color-main);
}

.yane-comic-intro__vtext .yane-comic-intro__line:last-of-type {
    position: relative;
}

.yane-comic-intro__vtext .yane-comic-intro__line:last-of-type::after {
    display: block;
    content: '';
    width: 2px;
    height: 20px;
    background-color: var(--color-main);
    bottom: -25px;
    position: absolute;
    left: 50%;
}

/* 2. お悩み（ずらし配置） */
.yane-comic-worries {
    position: relative;
}

.yane-comic-worry {
    position: relative;
    margin-top: 30px;
    margin-bottom: 70px;
}

.yane-comic-worry__bubble {
    position: absolute;
    top: 30%;
    width: 200px;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    background-image: url(../images/comic-balloon.png);
    height: 210px;
    background-size: cover;
    z-index: 1;
}

.yane-comic-worry__bubble span {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateY(-40%) translateX(-50%); 
    width: 100%;
}

.yane-comic-worry__art {
    position: relative;
    width: 80%;
    left: 20%;
    border: 5px solid var(--color-black);
    background-color: #eee;
    overflow: hidden;
}

.yane-comic-worry--b {
    margin-bottom: 80px;
}

.yane-comic-worry--b .yane-comic-worry__art {
    left: 0;
}

.yane-comic-worry--b .yane-comic-worry__bubble {
    top: 35%;
    right: 0;
    transform: scale(-1, 1);
}
.yane-comic-worry--b .yane-comic-worry__bubble span {
    transform: scale(-1, 1);
    left: 0%;
    top: 25%;
}

/* 3. 解決バナー */
.yane-comic-solution {
    margin-bottom: 30px;
}


/* 4. フッターコピー */
.yane-comic-foot {
    background-color:var(--color-gray-light);
    padding: 18px 16px;
}

.yane-comic-foot__txt {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-black);
}

@media (max-width: 768px) {
    .yane-comic-section_inner {
        max-width: initial;
    }

    .yane-comic-intro__visual {
        left: -12px;
    }

    .yane-comic-intro__vtext {
        font-size: 20px;
    }

    .yane-comic-intro__balloon {
        width: 95px;
    }

    .yane-comic-worry {
        margin-bottom: 50px;
    }

    .yane-comic-worry__art {
        border: 3px solid var(--color-black);
    }

    .yane-comic-worry--b {
        margin-bottom: 60px;
    }

    .yane-comic-worry--a .yane-comic-worry__art,
    .yane-comic-worry--c .yane-comic-worry__art {
        left: calc(20% + 12px);
        border-right: none;
    }

    .yane-comic-worry--b .yane-comic-worry__art {
        left: -12px;
        border-left: none;
    }

}
@media (max-width: 600px) {
    .yane-comic-worry__bubble {
        width: 120px;
        font-size: 14px;
        height: 150px;
    }
    .yane-comic-worry__bubble span {
        top: 38%;
    }
}



/* lp-service-blocks（サービス一覧）は lp-service-blocks.css */
/* lp-service-cards（サービスカード一覧）は lp-service-cards.css */
