/* モバイルファースト：雨漏り修理ページ（改善版） - Lightning子テーマ用 */

/* 基本設定とリセット */
.rain-leak-page {
    line-height: 1.6;
    color: #333;
}

.rain-leak-page * {
    box-sizing: border-box;
}

.singlepage-wrap{
    max-width: 1000px;
    margin: 0 auto;
}
/* セクション共通スタイル */

section {
    padding-top: 40px!important;
}

.section-intro {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

/* ヒーローセクション */
.emergency-hero,.bg-shikkui {
    color: white;
    padding: 70px 20px 30px;
    text-align: center;
    margin: 20px 0 0;
    background-image: url(./images/emergency-hero-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
}

/*職人画像 */
.page-daihyou_syokunin {
    position: absolute;
    top: -40px;
    right: -30px;
    background-image: url(./images/tazawa.png);
    background-position: bottom 10px right -40px;
    background-size: 240px;
    background-repeat: no-repeat;
    width: 100%;
    height: 120%;
    z-index: 1;
}

.single-hero-content {
    height: 250px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.bg-shikkui {
    background-image: url(./images/bg-shikkui.jpg) !important;
}


.single-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block !important;
    color: #3989ba;
    text-align: left;
    max-width: 390px;
    margin-top: 30px;
}

.title-sub-sc {
    font-size: 2.3rem !important;
    padding: 0 10px 5px !important;
}

.title-sub-ab {
    font-size: 2.5rem !important;
    padding: 0 0 5px !important;
}


.title-sub{
    font-size: 2.3rem !important;
    position: relative;
    display: inline-block;
    padding: 5px 10px 0 !important;
}

.ame-yellow{
    font-size: 3rem !important;
    color: #ffc107;
    padding:0 !important;
    line-height: 4rem;
}
.percent{
    font-size: 2.5rem !important;
    padding:0 3px 0!important;
}
h1.single-hero-title span {
    position: relative;
    display: inline-block;
    font-size: 1.3rem;
    padding: 5px 10px;
}

h1.single-hero-title > span::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: -5px;
    top: -5px;
    right: -5px;
    background-color: #ffffff;
    z-index: -1;
    border-radius: 10px;
}

.emergency-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 20px 0;
    justify-content: center;
    position: relative;
    z-index: 999;
   
}

.badge {
    background: #123965;
    padding: 7px 6px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    width: 30%;
}

.badge:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}



    
.hero-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 25px 0;
    font-weight: 400;
}

.emergency-contact {
    margin-top: 25px;
}

.emergency-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 18px 25px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border: 2px solid transparent;
}

.emergency-btn:hover {
    background: #c82333;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.5);
    border-color: rgba(255,255,255,0.3);
}

.emergency-btn i {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.contact-note {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}



/* セクションタイトル */
h2 {
    font-size: 1.3rem;
    color: #123a66;;
    margin: 20px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3d7ad9;
    position: relative;
    text-align: center;
}
/*
h2:before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
}
 */
/* 緊急度チェックセクション */

.urgency-image img,.features-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.urgency-check {
    padding: 20px 20px;
    border-radius: 12px;
}

.symptom-grid {
    display: block;
    margin: 25px 0;
    gap: 20px;
}

.symptom {
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.symptom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.symptom.high-urgency {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
}

.symptom.medium-urgency {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
}

.symptom h3 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.symptom.medium-urgency h3 {
    color: #f57c00;
}

.symptom-list {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.symptom-list li {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.symptom-list li i {
    color: #dc3545;
    margin-top: 2px;
    flex-shrink: 0;
}

.action-note {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
}

.action-note.danger {
    background: rgba(220, 53, 69, 0.15);
    color: #721c24;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.action-note.warning {
    background: rgba(255, 193, 7, 0.15);
    color: #856404;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

/* 選ばれる理由セクション */


.why-choose-us h2{
    margin-top: -25px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3d7ad9;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--vk-color-custom-1) 0%, var(--wp--preset--color--luminous-vivid-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-item h3 {
    color: #3b89be;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-item p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 修理方法カード */
.repair-methods {
    background: white;
    padding: 0 20px 30px;
}

.method-grid {
    display: block;
    margin: 25px 0;
    gap: 20px;
}

.method-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.method-card.emergency {
    border-color: #dc3545;
}

.method-card.standard {
    border-color: #e8a635;
}

.method-card.premium {
    border-color: #4e95c4;
}

.method-price-note {
    font-size: 0.9rem;
        width: 90%;
    margin: 0 auto 2rem;
    max-width: 1000px;
}

.card-header {
    padding: 25px 25px 0;
    text-align: center;
}

.method-card h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    font-weight: 600;
}

.method-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b6b;
    margin: 5px 0 15px;
    display: block;
}

.method-card.emergency .price {
    color: #dc3545;
}

.method-card.premium .price {
    color: #6f42c1;
}

.card-content {
    padding: 0 25px 25px;
}

.duration {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.method-card ul {
    text-align: left;
    margin: 20px 0;
    font-size: 0.95rem;
    list-style: none;
    padding-left: 0;
}

.method-card ul li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.method-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.method-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-note {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    color: #495057;
}

.price-note {
        background: linear-gradient(135deg, #e3f2fd 0%, #f0f5ff 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid #2196f3;
}

.price-note p {
    margin: 8px 0;
    color: #424242;
}

/* 施工事例セクション */

.page-case-images {
    width: 100%;
    margin-bottom: -10px;
}

.case-before-after {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}
.image-container {
    width: 100%;
    position: relative;
    text-align: center;
}

.image-container img {
    width: 100%;
    height:180px;
    object-fit: cover;
}

/* 画像のホバーエフェクト追加 */
.image-container:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ラベルの強化 */
.case-image-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem 1rem;
    border-bottom-right-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.case-image-label.before {
background: rgb(255 255 255 / 79%);
    color: #2882c7;
}

.case-image-label.after {
    background: #2882c79e;
}

/* 矢印のアニメーション強化 */
.arrow {
    font-size: 1rem;
    font-weight: bold;
    color: #2882c7;
    align-self: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}


.page-case-studies {
    background: #f8f9fa;
    padding: 40px 0;
}
.section-studies-intro {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 20px;
}

.page-case-list {
    margin: 25px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.page-case-item {
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.page-case-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.page-case-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 13px;
}

.page-case-header h3 {
    color: #2c5aa0;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

page-case-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-text {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
}

.page-case-details {
    margin: 20px 0;
}

.page-case-info p {
    margin: 0 0 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.page-case-result {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.cost, .duration {
    background: #e37d2026;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #e37d24;
    font-size: 0.9rem;
    margin-top: 10px;
}

.customer-voice {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;

}

.customer-voice p {
    margin: 0;
    color: #1565c0;
    line-height: 1.6;
    border-bottom: 1px solid #2882c729;
    padding: 0 0 8px;
    margin-bottom: 5px;
}

i.fa-solid.fa-angles-right {
    margin: 0;
}

/* 対応手順ステップ */
.response-steps {
    padding: 0 2rem;
}

.steps {
    margin: 25px 0;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff8738 0%, #ff6b35 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-right: 10px;
}

.step-content {
    flex: 1;
    text-align: left;
}


.step-content h3 {
    color: #2c5aa0;
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}

/* 対応エリア */
.service-area {
    background: linear-gradient(135deg, #e3f2fd 0%, #f7eee8 100%);
    padding: 30px 0 70px;
    text-align: center;
}

.area-content h3 {
    color: #2c5aa0;
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.primary-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.area-tag {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.area-tag:hover {
    background: #3d7ad9;
    transform: translateY(-2px);
}

/* CTA セクション */
.service-cta {
    text-align: center;
}

.bg-arrow h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    border: none;
    padding: 0;
    color: #ff8738;

}

.bg-arrow h2:before {
    display: none;
}

.bg-arrow p {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

#page-contact {
    padding-top: 50px !important;
    margin-bottom: 80px;
}

.page-section-title-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.page-section-title:before {
    display: none;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-buttons-tel,
.page-buttons-mail {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    padding: 20px 25px;
    background: white;
    color: #28a745;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-buttons-tel:hover,
.page-buttons-mail:hover {
    background: #f8f9fa;
    color: #1e7e34;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-buttons-tel i,
.page-buttons-mail i {
    font-size: 1.5rem　!important;
}


.emergency-info {
    margin-bottom: 20px;
}

.promise-text {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 12px 0;
    font-size: 1rem;
    font-weight: 600;
}

.promise-icon {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: bold;
}


.mark_red {
    color: #ffcdd2;
    font-weight: 600;
}

.promise-comment {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

/* タブレット以上のレスポンシブ */
@media (min-width: 768px) {
    section {
    padding-bottom: 80px !important;
}

    .emergency-hero,.bg-shikkui {
        padding: 90px 40px;
    }
    
    .single-hero-title {
        font-size: 2.2rem;
    }
    
    .emergency-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-lead {
        font-size: 1.2rem;
    }
    
    .symptom-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .method-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .step {
        display: flex;
        align-items: center;
        text-align: left;
        flex-direction: row;
        gap: 20px;
    }
    
    .step-content {
        text-align: left;
    }
    
    .page-case-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .page-buttons-tel,
    .page-buttons-mail {
        width: auto;
        min-width: 300px;
    }
    
    h2, {
        font-size: 1.8rem;
        margin: 60px 0 20px;
        
    }

    .why-choose-us h2,.response-steps h2{
        margin: 40px 0 60px;
    }

    .page-case-images {
        flex-shrink: 0;
        margin-right: 25px;
    }
    
    .case-before-after {
        flex-direction: row;
        gap: 15px;
    }
    .page-daihyou_syokunin {
        top: -20px;
        right: 90px;
        background-size: 300px;
    }

    h2{
        font-size: 1.6rem;
    }
    .section-studies-intro{
        margin-bottom: 50px;
    }

    .bg-arrow{
        padding: 70px 20px 40px !important;
    }

    .image-container img {
    height:300px;
}
}

/* タブレット */
@media (min-width: 800px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* デスクトップ */
@media (min-width: 1024px) {

        .image-container img {
    height:400px;
}

    .emergency-hero,.bg-shikkui {
        padding: 100px 50px;
    }
    
    .single-hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .method-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-content {
        text-align: center;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .emergency-btn {
        display: inline-block;
        width: auto;
        min-width: 300px;
    }
}

/* 大画面対応 */
@media (min-width: 1200px) {
    section {
        padding: 30px 0;
    }
    
    .container {
        max-width: 1140px;
    }
}
/* icon */
i.fa-solid.fa-exclamation-triangle {
    color: #efb51b;
}

section.why-choose-us {
    padding: 0 2rem;
}

