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

.page-roof-repair {
    overflow-x: hidden;
    background: #F9F1E8;
}

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


/* =================================
   Page-specific: 屋根修理LP spacing / background adjustments
================================= */
.page-roof-repair .reasons-section {
    background-color: #01B0F1;
}

.page-roof-repair .customer-voice-section {
    background-color: #F9F1E8;
}

.page-roof-repair .customer-voice-section_ttl {
    color: #01B0F1;
}

.page-roof-repair .customer-voice-section_archive_txt {
    color: #404040;
}

.page-roof-repair .reasons-section {
    padding-top: clamp(32px, 4vw, 52px);
    padding-bottom: clamp(32px, 4vw, 52px);
}

.page-roof-repair .reasons-section_cta {
    display: none;
}

.page-roof-repair .reasons-lp {
    padding-top: clamp(44px, 4vw, 52px);
    padding-bottom: clamp(40px, 4vw, 52px);
}

.page-roof-repair .price-section--notebook {
    padding: clamp(24px, 4vw, 48px) clamp(20px, 5.4%, 104px);
}

.page-roof-repair .fire-insurance-section {
    /* Keep the orange inner card + blue outer container consistent with front-page blue-area flow */
}

.page-roof-repair .area-section {
    background-color: #E7F5FF;
    background-image: none;
    padding: clamp(48px, 5vw, 72px) clamp(20px, 5.4%, 104px);
}

.page-roof-repair .area-section_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-roof-repair .area-section_inner {
    position: relative;
}

.page-roof-repair .area-section_heading_service {
    font-size: clamp(17px, 1.65vw, 22px);
    font-weight: 800;
    color: #404040;
    margin: 0 0 8px;
    line-height: 1.4;
}

.page-roof-repair .area-section_en {
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 700;
    color: #E3D5C3;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin: 0;
}

.page-roof-repair .area-section_lead {
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 500;
    color: #404040;
    letter-spacing: 0.05em;
    line-height: 1.85;
    margin: 0;
    text-align: left;
    width: auto;
    flex: 1;
    max-width: none;
    position: relative;
    z-index: 1;
}

.page-roof-repair .area-section_box {
    width: auto;
    border: none;
    background-color: #fff;
    padding: clamp(28px, 3vw, 36px) clamp(20px, 2.5vw, 28px) clamp(24px, 2.5vw, 32px);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 94, 149, 0.06);
    margin-top: 40px;
}

.page-roof-repair .area-section_pref {
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 700;
    color: #404040;
    margin: 0 0 clamp(12px, 1.5vw, 16px);
    line-height: 1.4;
}

.page-roof-repair .area-section_cities {
    font-size: clamp(12px, 0.95vw, 14px);
    font-weight: 500;
    color: #666;
    letter-spacing: 0.05em;
    line-height: 1.9;
}

.page-roof-repair .area-section_cities a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.page-roof-repair .area-section_cities a:hover {
    color: #01B0F1;
}

.page-roof-repair .area-section_pipe {
    color: #ccc;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .page-roof-repair .area-section_lead {
        width: 100%;
        flex: none;
        padding-right: 0;
    }
}

.page-roof-repair .area-section--roof {
    padding-top: 40px;
}

.page-roof-repair .company-section {
    background-color: #fff;
    padding: clamp(48px, 5vw, 72px) clamp(20px, 5.4%, 104px);
}

.page-roof-repair .company-section_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.page-roof-repair .company-section_heading {
    flex: none;
    padding-top: 0;
}

.page-roof-repair .company-section_ttl {
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 700;
    color: #01B0F1;
    letter-spacing: 0.1em;
    margin: 0 0 6px;
    white-space: normal;
    line-height: 1.3;
}

.page-roof-repair .company-section_en {
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 700;
    color: #E3D5C3;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin: 0;
}

.page-roof-repair .company-section_body {
    width: 100%;
}

.page-roof-repair .company-section_tbl tr {
    border-top: 1px solid rgba(1, 176, 241, 0.25);
}

.page-roof-repair .company-section_tbl tr:last-child {
    border-bottom: 1px solid rgba(1, 176, 241, 0.25);
}

.page-roof-repair .company-section_tbl th,
.page-roof-repair .company-section_tbl td {
    padding: clamp(12px, 1.4vw, 16px) 0;
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(13px, 1vw, 15px);
    color: #404040;
    letter-spacing: 0.05em;
    vertical-align: top;
}

.page-roof-repair .company-section_tbl th {
    width: clamp(88px, 8vw, 112px);
    font-weight: 700;
    padding-right: 16px;
}

.page-roof-repair .company-section_tbl td {
    font-weight: 500;
}

.page-roof-repair .company-section_cta {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(16px, 2vw, 24px);
}

.page-roof-repair .company-section_btn,
.page-roof-repair .company-section_link {
    display: inline-flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 14px);
    text-decoration: none;
    transition: opacity 0.2s;
}

.page-roof-repair .company-section_btn:hover,
.page-roof-repair .company-section_link:hover {
    opacity: 0.85;
}

.page-roof-repair .company-section_btn {
    background-color: #2b3a6d;
    color: #fff;
    padding: 18px 28px 18px 36px;
    border-radius: 100px;
}

.page-roof-repair .company-section_btn_txt,
.page-roof-repair .company-section_link_txt {
    font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
    color: inherit;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.page-roof-repair .company-section_btn_arrow,
.page-roof-repair .company-section_link_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(38px, 3.2vw, 44px);
    height: clamp(38px, 3.2vw, 44px);
    border-radius: 50%;
    background-color: #DFF1FF;
    color: #01B0F1;
    font-size: clamp(14px, 1.2vw, 16px);
    flex-shrink: 0;
}

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

/* プレースホルダー（背景画像用の枠） */
.roof-repair-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;
}

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

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

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

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

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

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

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

.roof-repair-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;
}

.roof-repair-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;
}

.roof-repair-comic-intro__line {
    display: block;
}

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

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

.roof-repair-comic-intro__vtext .roof-repair-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. お悩み（ずらし配置） */
.roof-repair-comic-worries {
    position: relative;
}

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

.roof-repair-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;
}

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

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

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

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

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

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


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

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

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

    .roof-repair-comic-intro__visual {
        left: -12px;
    }

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

    .roof-repair-comic-intro__balloon {
        width: 95px;
    }

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

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

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

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

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

    .page-roof-repair .company-section_inner {
        display: block;
    }

    .page-roof-repair .company-section_heading {
        margin-bottom: 20px;
    }

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



