* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #2c3e50; /* 繧ｹ繧ｿ繧､繝ｪ繝・す繝･縺ｪ繝繝ｼ繧ｯ繧ｰ繝ｬ繝ｼ */
    --pure-white: #ffffff;
    --light-gray: #f4f7f9;    /* 貂・ｽ疲─縺ｮ縺ゅｋ讌ｵ阮・＞髱偵∩繧ｰ繝ｬ繝ｼ */
    --accent-blue: #0077b6;   /* 菫｡鬆ｼ諢溘・縺ゅｋ髱・*/
    --accent-green: #2a9d8f;  /* 繧ｫ繧ｸ繝･繧｢繝ｫ縺ｧ隕ｪ縺励∩繧・☆縺・ｷ・*/
    --text-dark: #34495e;
    --bg-soft: #fcfdff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--pure-white);
    color: var(--text-dark);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img { max-width: 100%; height: auto; display: block; }

.sp-row-break { display: none; }
.pc-row-break { display: block; }

@media (max-width: 768px) {
    .sp-row-break { display: block; }
    .pc-row-break { display: none; }
}

/* 笏€笏€ REVEAL ANIMS 笏€笏€ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 改行制御ユーティリティ */
.sp-row-break { display: none; }
.pc-row-break { display: block; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, padding 0.3s;
    backdrop-filter: blur(10px);
}
nav.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
    padding: 12px 20px;
}
.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 45px;
    width: auto;
}
.logo i { color: var(--accent-green); }
.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-green); }

.header-contact {
    display: flex;
    gap: 10px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pure-white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
}
.header-cta.phone { background: var(--accent-blue); }
.header-cta.web { background: var(--accent-green); }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.hero-img.active { opacity: 1; }

.hero-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 30%,
      rgba(255, 255, 255, 0.3) 60%,
      transparent 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-catchcopy {
    text-align: left;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-catchcopy h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--primary-black);
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-catchcopy .sub-catch {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.8s forwards;
}

.hero-badge {
    width: 140px;
    height: 140px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
    transition: transform 0.3s;
}
.hero-badge.green {
    background: var(--accent-green);
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.3);
}
.hero-badge:hover { transform: scale(1.05) translateY(-10px); }
.badge-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.hero-marquee-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 4;
    overflow: hidden;
    height: 90px;
    display: flex;
    align-items: center;
}
.hero-marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
}
.hero-marquee-track span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 10vw, 120px);
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    opacity: 0.08;
    padding-right: 80px;
    line-height: 1;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

section { padding: 100px 0; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

#troubles, #features, #works, #flow, #faq, #contact { background-color: var(--light-gray); }
#about, #services, #voice, #message, #company { background-color: var(--pure-white); }

.section-title-wrap { text-align: center; margin-bottom: 4rem; }
.section-title {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.section-title .en {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(56px, 10vw, 104px);
    line-height: 0.8;
    color: var(--accent-blue);
    opacity: 0.08;
    letter-spacing: 0.05em;
}
.section-title .jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(20px, 3vw, 29px);
    font-weight: 900;
    color: var(--primary-black);
    margin-top: -1.4rem;
    position: relative;
    letter-spacing: 0.15em;
    z-index: 1;
}
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    margin-top: 1.2rem;
    border-radius: 2px;
}

.troubles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.trouble-item {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.trouble-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.trouble-icon {
    color: var(--pure-white);
    background: var(--accent-green);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 3px;
}
.trouble-item:nth-child(even) .trouble-icon { background: var(--accent-blue); }
.trouble-text { font-weight: 500; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text h3 {
    font-size: 29px;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    line-height: 1.5;
}
.about-text p { margin-bottom: 1.5rem; }
.about-image img { border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

/* 逕ｻ蜒丈ｻ倥″迚ｹ蠕ｴ繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.feature-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}
.feature-card:hover { transform: translateY(-8px); }
.feature-img {
    height: 220px;
    position: relative;
}
.feature-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.feature-content {
    padding: 2.5rem 2rem 2rem;
    position: relative;
    flex: 1;
}
.feature-num {
    position: absolute;
    top: -25px; left: 20px;
    background: var(--accent-blue);
    color: var(--pure-white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--pure-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.feature-card:nth-child(even) .feature-num { background: var(--accent-green); }
.feature-card h3 {
    font-size: 20px;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.feature-card p {
    color: #666;
    line-height: 1.7;
}

.service-category { margin-bottom: 6rem; }
.service-category:last-child { margin-bottom: 0; }
.service-header {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}
.service-header i { font-size: 40px; color: var(--accent-blue); }
.service-header h3 { font-size: 29px; color: var(--primary-black); }
.service-desc { margin-bottom: 2rem; max-width: 100%; }

.service-hero-img { width: 100%; height: 350px; border-radius: 20px; object-fit: cover; margin-bottom: 2rem; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.service-grid-img { width: 100%; height: 250px; border-radius: 16px; object-fit: cover; margin-bottom: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.service-horizontal {
    display: flex; gap: 2.5rem; align-items: stretch;
}
.service-horizontal-img { flex: 1; max-width: 45%; }
.service-horizontal-img img { width: 100%; height: 100%; min-height: 250px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); object-fit: cover;}
.service-horizontal-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 768px) {
    .service-horizontal { flex-direction: column; gap: 1.5rem; }
    .service-horizontal-img { max-width: 100%; }
}

.price-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .price-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    .price-card {
        padding: 1.25rem;
    }
    .price-card h4 {
        font-size: 18px;
        margin-bottom: 0.25rem;
    }
    .price-card .spec {
        min-height: auto;
        margin-bottom: 0.5rem;
    }
    .price-card .price {
        font-size: 24px;
    }
}
.price-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    border-top: 5px solid var(--accent-green);
}
.price-card.blue { border-top-color: var(--accent-blue); }
.price-card h4 { font-size: 19px; margin-bottom: 0.5rem; color: var(--primary-black); }
.price-card .spec { color: #666; display: block; margin-bottom: 1rem; min-height: 45px;}
.price-card .price { font-size: 29px; font-weight: 900; color: var(--accent-blue); }
.price-card .price span { font-size: 16px; }

.water-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.water-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border: 1px solid var(--light-gray);
}
.water-img { height: 200px; position: relative; }
.water-img img { width: 100%; height: 100%; object-fit: cover; }
.water-badge {
    position: absolute; top: 15px; left: 15px;
    background: var(--accent-green); color: #fff;
    padding: 6px 16px; border-radius: 30px;
    font-size: 14px; font-weight: bold;
}
.water-body { padding: 1.5rem; }
.water-body h4 { font-size: 19px; margin-bottom: 0.5rem; }
.water-body p { color: #666; margin-bottom: 1rem; }
.water-price { font-size: 22px; font-weight: bold; color: var(--accent-blue); margin-bottom: 1rem; border-bottom: 1px solid #eee; padding-bottom: 1rem;}
.water-case { background: var(--light-gray); padding: 12px; border-radius: 8px; color: #555;}

.btn-detail {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 30px;
    background: var(--pure-white); color: var(--accent-blue);
    border: 2px solid var(--accent-blue); border-radius: 30px;
    text-decoration: none; font-weight: 700; transition: all 0.3s;
}
.btn-detail:hover { background: var(--accent-blue); color: var(--pure-white); }

/* 譁ｽ蟾･莠倶ｾ・(Re+PAZ Style) */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: block;
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.work-imgs {
    display: flex;
    flex-direction: column;
}
.work-img-box {
    position: relative;
    height: 180px;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}
.work-img-box:last-child {
    border-bottom: none;
}
.work-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}
.work-img-box:hover::after {
    opacity: 1;
}
.work-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.work-card:hover .work-img {
    transform: scale(1.05);
}
.work-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-black);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    letter-spacing: 0.1em;
    z-index: 2;
    border-radius: 20px;
}
.work-label.after {
    background: var(--accent-green);
}
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    color: #fff;
    z-index: 3;
    transition: all 0.3s;
    pointer-events: none;
}
.work-img-box:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.zoom-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}
.image-modal.show {
    display: flex;
    opacity: 1;
}
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid var(--pure-white);
    border-radius: 8px;
    object-fit: contain;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover {
    color: var(--accent-green);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.voice-card {
    background: var(--light-gray); padding: 2rem; border-radius: 20px; position: relative;
}
.voice-icon { font-size: 48px; color: var(--accent-green); opacity: 0.15; position: absolute; top: 1rem; right: 1.5rem; }
.voice-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 1rem; }
.voice-stars { color: #f39c12; font-size: 14px; letter-spacing: 2px; }
.voice-name { font-weight: bold; color: var(--primary-black); font-size: 18px; }
.voice-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; line-height: 1.6; color: #555; }
.read-more-check { display: none; }
.read-more-check:checked + .voice-text { -webkit-line-clamp: unset; }
.read-more-label { display: block; margin-top: 10px; cursor: pointer; color: var(--accent-blue); font-weight: bold; text-align: center; font-size: 14px; }
.read-more-label::after { content: "続きを読む ▼"; }
.read-more-check:checked ~ .read-more-label::after { content: "閉じる ▲"; }

.flow-container {
    display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto;
}
.flow-step {
    display: flex; align-items: center; background: var(--pure-white); padding: 1.5rem 2rem;
    border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); gap: 1.5rem;
}
.flow-num {
    font-size: 22px; font-weight: 900; color: var(--pure-white); background: var(--accent-blue);
    width: 50px; height: 50px; display: flex; justify-content: center; align-items: center;
    border-radius: 50%; flex-shrink: 0;
}
.flow-step:nth-child(even) .flow-num { background: var(--accent-green); }
.flow-text h4 { font-size: 18px; margin-bottom: 0.3rem; }
.flow-text p { color: #666; }

#message {
    background-image: url('../img/messagebg.jpg');
    background-size: cover;
    background-position: center;
}
.message-box {
    max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, 0.92);
    padding: 4rem; border-radius: 24px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.message-box h3 { font-size: 29px; color: var(--accent-blue); margin-bottom: 2rem; line-height: 1.5; }
.message-box p { line-height: 2; margin-bottom: 1rem; }
.message-sign { 
    margin-top: 2rem; font-weight: bold; 
    display: inline-flex; align-items: center; gap: 15px; text-align: left;
}
.message-avatar {
    width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { background: var(--pure-white); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid #eee;}
summary {
    padding: 1.5rem; font-weight: bold; cursor: pointer; list-style: none;
    display: flex; align-items: center; text-align: left;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: 'Q.'; color: var(--accent-blue); font-size: 22px; margin-right: 15px; font-family: 'Bebas Neue', sans-serif;}
summary::after { content: '+'; font-size: 24px; color: var(--accent-green); transition: transform 0.3s; margin-left: auto; padding-left: 15px; }
details[open] summary::after { transform: rotate(45deg); }
.faq-ans { padding: 0 1.5rem 1.5rem 4rem; color: #555; position: relative; text-align: left; }
.faq-ans::before { content: 'A.'; color: var(--accent-green); font-weight: bold; font-size: 22px; font-family: 'Bebas Neue', sans-serif; position: absolute; left: 1.5rem; }

.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.company-info dl { display: flex; flex-wrap: wrap; border-top: 1px solid #e0e0e0; }
.company-info dt { width: 30%; padding: 1.2rem 0; font-weight: bold; border-bottom: 1px solid #e0e0e0; color: var(--accent-blue); }
.company-info dd { width: 70%; padding: 1.2rem 0; border-bottom: 1px solid #e0e0e0; }
.map-wrap iframe { width: 100%; height: 350px; border-radius: 16px; }
.company-links { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.sns-btn, .hp-btn {
    display: inline-flex; align-items: center; gap: 10px;
    color: white; padding: 12px 24px; border-radius: 30px; text-decoration: none; font-weight: bold;
    transition: transform 0.3s;
}
.sns-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.hp-btn {
    background: var(--accent-blue);
}
.sns-btn:hover, .hp-btn:hover { transform: translateY(-3px); opacity: 0.9; }

.cta-card {
    background: linear-gradient(135deg, var(--pure-white), var(--light-gray));
    border: 2px solid var(--accent-blue);
    border-radius: 24px; padding: 4rem 2rem; text-align: center;
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.1);
}
.cta-lead { font-size: 24px; font-weight: bold; margin-bottom: 2.5rem; color: var(--primary-black); line-height: 1.6;}

.cta-buttons-wrap {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 15px;
    padding: 1.2rem 2.5rem; border-radius: 50px;
    text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
}
.cta-btn.phone { background: var(--accent-blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3); }
.cta-btn.web { background: var(--accent-green); color: #fff; box-shadow: 0 8px 20px rgba(42, 157, 143, 0.3); }
.cta-btn:hover { transform: translateY(-5px); }
.cta-btn .btn-icon { font-size: 29px; }
.cta-btn .btn-text { text-align: left; }
.cta-btn .btn-text .label { display: block; font-size: 14px; font-weight: normal; opacity: 0.9; }
.cta-btn .btn-text .number { display: block; font-size: 24px; font-weight: 900; }
.cta-btn .btn-text .subtext { display: block; font-size: 19px; font-weight: 900; margin-top: 2px; }

footer { background: var(--primary-black); color: white; text-align: center; padding: 3rem 2rem 3rem; }
.footer-logo { font-size: 24px; font-weight: bold; margin-bottom: 1.5rem; color: white;}
.footer-logo img { height: 40px; width: auto; margin: 0 auto; max-width: 100%; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 2rem; flex-wrap: wrap;}
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.3s;}
.footer-links a:hover { color: var(--pure-white); }

/* Mobile Menu */
.hamburger-btn { display: none; }

/* SP CTA Bar */
.sp-cta-bar { display: none; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    /* 改行制御 */
    .pc-row-break { display: none; }
    .sp-row-break { display: block; }
    
    body { font-size: 14px; }
    nav { padding: 15px 20px; }
    .logo img { height: 35px; }
    .header-contact { display: none; }
    .nav-links {
        position: fixed; top: 0; left: 100%; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98); margin: 0; padding: 0;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: 0.3s ease-in-out; z-index: 1000;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 18px; font-weight: bold; }
    .hamburger-btn {
        display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; position: relative;
    }
    .hamburger-btn span { width: 30px; height: 2px; background: var(--primary-black); transition: 0.3s;}
    .hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-btn.active span:nth-child(2) { opacity: 0; }
    .hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero { height: auto; min-height: auto; padding-top: 66px; display: flex; flex-direction: column; }
    .hero-bg { position: relative; height: 50vh; min-height: 250px; order: 1; }
    .hero-gradient { display: none; }
    .hero-marquee-wrap { position: relative; bottom: auto; order: 2; margin-top: -90px; z-index: 4; }
    .hero-content {
        position: relative; bottom: auto; left: auto; transform: none;
        flex-direction: column; text-align: center; gap: 30px;
        padding: 40px 20px; background: var(--pure-white); order: 3;
    }
    .hero-catchcopy { text-align: center; }
    .hero-catchcopy .sub-catch { text-align: left; }
    .hero-badges { justify-content: center; gap: 15px; }
    .hero-badge { width: 110px; height: 110px; padding: 10px; }
    .badge-text { font-size: 13px; }
    section { padding: 50px 0; }
    .service-category { margin-bottom: 3rem; }
    .service-category:last-child { margin-bottom: 0; }
    .about-content, .company-grid { grid-template-columns: 1fr; }
    .service-hero-img { height: 250px; margin-bottom: 1.5rem; }
    .service-header h3 { font-size: 25px; }
    .trouble-item { padding: 1rem; }
    .price-card { padding: 1rem !important; }
    .price-card .spec { margin-bottom: 0px; min-height: 0; }
    .sp-btn-center { text-align: center; }
    .flow-step { padding: 1rem; }
    .message-box { padding: 1rem; text-align: left; }
    .message-box h3 { font-size: 25px; }
    .company-links, .works-links { flex-direction: column; align-items: center; }
    .company-links .hp-btn, .company-links .sns-btn, .works-links a { width: 100%; max-width: 320px; justify-content: center; }
    .cta-card { padding: 1rem; }
    .cta-lead { font-size: 20px; }
    .cta-buttons-wrap { flex-direction: column; }
    .cta-btn { width: 100%; justify-content: center; padding: 1rem; }
    .cta-btn .btn-text .number { font-size: 20px; }
    .cta-btn .btn-text .subtext { font-size: 18px; }
    .footer-logo img { height: 35px; }

    /* SP Sticky CTA */
    .sp-cta-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
        background: var(--pure-white); box-shadow: 0 -2px 15px rgba(0,0,0,0.1); height: 70px;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
    }
    .sp-cta-bar.show {
        transform: translateY(0);
    }
    .sp-cta-btn {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 4px; text-decoration: none; font-weight: 700; font-size: 12px;
    }
    .sp-cta-btn.phone { background: #fff; color: var(--accent-blue); border-right: 1px solid #eee; }
    .sp-cta-btn.mail { background: var(--accent-green); color: #fff; }
    .sp-cta-btn i { font-size: 19px; }
    
    /* フッターがSPのCTAバーに隠れないようにする */
    footer { padding: 3rem 2rem 6rem; }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

