:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6; 
    --secondary: #f59e0b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --line-color: #06C755;
    --mail-color: #f97316;
    --phone-color: #0284c7;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans JP', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; padding-bottom: 65px; }
@media (min-width: 769px) { body { padding-bottom: 70px; } }
.container { max-width: 1000px; margin: 0 auto; padding: 0 clamp(15px, 4vw, 20px); }
.section { padding: clamp(50px, 10vw, 80px) 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--secondary); }

/* Responsive Utilities */
@media (max-width: 768px) {
    .br-pc { display: none; }
}

.section-title { text-align: center; font-size: clamp(22px, 6vw, 28px); font-weight: 700; margin-bottom: clamp(25px, 6vw, 40px); color: var(--primary); line-height: 1.5; }
.section-title span { color: var(--secondary); border-bottom: 2px solid var(--secondary); }

.box-shadow { background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: clamp(20px, 6vw, 30px); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #172554 100%); color: #fff; text-align: center; padding: clamp(80px, 15vw, 120px) 20px clamp(60px, 12vw, 100px); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%); }
.hero-corner-logo { position: absolute; top: clamp(10px, 3vw, 20px); left: clamp(10px, 3vw, 20px); max-height: clamp(60px, 15vw, 90px); width: auto; z-index: 20; transition: transform 0.3s; }
.hero-corner-logo:hover { transform: scale(1.05); }
.hero-content { position: relative; z-index: 10; padding: 0 10px; }
.hero .subtitle { font-size: clamp(14px, 3.5vw, 18px); font-weight: 500; margin-bottom: 10px; letter-spacing: 2px; color: var(--secondary); }
.hero .title { font-size: clamp(34px, 8vw, 56px); font-weight: 900; margin-bottom: 20px; letter-spacing: 2px; line-height: 1.2; }
.hero .catchphrase { font-size: clamp(16px, 4.5vw, 24px); font-weight: 700; line-height: 1.6; }
.hero .sub-catchphrase { font-size: clamp(12px, 3.5vw, 16px); font-weight: 500; color: rgba(255, 255, 255, 0.85); margin-top: 6px; letter-spacing: 0.1em; }

/* Features (Circles) */
.features { padding: 0 20px 40px; margin-top: -50px; position: relative; z-index: 20; }
.circles-wrapper { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.circle { width: 150px; height: 150px; background-color: #fff; border: 4px solid var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); transition: transform 0.3s ease; }
.circle:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.circle-text { font-weight: 700; font-size: 16px; color: var(--primary); line-height: 1.4; }

/* Intro */
.intro-box { text-align: center; font-size: 16px; }
/* About List */
.about-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; list-style: none; text-align: left; margin-top: 30px; }
.about-list li { background: rgba(255, 255, 255, 0.9); padding: 20px; border-radius: 8px; box-shadow: var(--shadow-sm); display: flex; align-items: center; border-left: 4px solid var(--secondary); font-size: 16px; font-weight: 700; color: var(--text-main); }
.about-list .num { background: var(--primary); color: #fff; min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 15px; font-size: 16px; font-weight: 900; }
.cta-buttons { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto; width: 100%; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: clamp(14px, 4vw, 16px) 24px; border-radius: 50px; font-size: clamp(16px, 4.5vw, 18px); font-weight: 700; text-decoration: none; color: #fff; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.1); }
.btn-line { background-color: var(--line-color); }
.btn-mail { background-color: var(--mail-color); }
.btn-phone { background-color: var(--phone-color); }
.btn-primary { background-color: var(--primary); }
.btn-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* Services */
.service-desc { max-width: 800px; margin: 0 auto 40px; }
.service-desc p { margin-bottom: 20px; font-size: 16px; line-height: 2; color: var(--text-main); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 20px 0; }
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.service-paint { background-image: url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?q=80&w=800&auto=format&fit=crop'); }
.service-waterproof { background-image: url('https://images.unsplash.com/photo-1518837695005-2083093ee35b?q=80&w=800&auto=format&fit=crop'); }
.service-roof { background-image: url('https://images.unsplash.com/photo-1623055416551-ce5dd2eb582f?q=80&w=800&auto=format&fit=crop'); }
.service-exterior { background-image: url('https://images.unsplash.com/photo-1605814515286-d2427a0491fb?q=80&w=800&auto=format&fit=crop'); }
.service-disabled { pointer-events: none; filter: grayscale(80%); opacity: 0.85; }
.service-disabled .service-link-text { color: #94a3b8; font-size: 11px; letter-spacing: 0.15em; font-weight: 400; }
.service-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 0;
    transition: all 0.4s ease;
}
.service-item::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(191, 161, 95, 0.3);
    border-radius: 8px;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 2;
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
}
.service-item:hover::after {
    background: linear-gradient(135deg, rgba(37, 70, 163, 0.70) 0%, rgba(21, 32, 59, 0.85) 100%);
}
.service-item:hover::before {
    border-color: rgba(191, 161, 95, 0.8);
}
.service-icon, .service-item h3, .service-item p, .service-link-text {
    position: relative;
    z-index: 1;
}
.service-icon {
    font-size: 45px;
    color: #bfa15f;
    margin-bottom: 25px;
    z-index: 1;
}
.service-item h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
    font-family: "Yu Mincho", "Noto Serif JP", serif;
    z-index: 1;
}
.service-item p {
    color: #cbd5e1;
    z-index: 1;
}
.service-link-text {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    margin-top: 15px;
}
.service-item:hover .service-link-text {
    color: #fff;
}
.service-link-text i {
    font-size: 11px;
    color: #bfa15f;
    transition: transform 0.3s ease;
}
.service-item:hover .service-link-text i {
    transform: translateX(5px);
}


/* Pricing */
.section-desc { margin-bottom: 40px; font-size: 16px; text-align: center; }
.pricing-standard { text-align: center; margin-bottom: 50px; border-top: 5px solid var(--primary); }
.pricing-standard h3 { font-size: 22px; margin-bottom: 10px; }
.standard-note { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.standard-highlight { background: #fff8f1; padding: 30px; border-radius: 8px; position: relative; }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #ef4444; color: #fff; padding: 5px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.standard-highlight h4 { font-size: 24px; color: var(--text-main); margin-bottom: 10px; }
.standard-highlight .price { font-size: 24px; font-weight: 700; color: #ef4444; margin-bottom: 5px; }
.standard-highlight .price span { font-size: 40px; }
.standard-highlight .durability { font-weight: 700; margin-bottom: 15px; }
.subsection-title { text-align: center; font-size: 24px; margin-bottom: 10px; }
.note { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 40px; }

/* Pricing Table */
.table-responsive { overflow-x: auto; margin-bottom: 60px; padding: 0; border-radius: 12px; }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 800px; background: #fff; text-align: left; }
.pricing-table th, .pricing-table td { padding: 20px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.pricing-table th { background: var(--primary); color: #fff; font-weight: 700; text-align: center; white-space: nowrap; }
.pricing-table th .th-sub { font-size: 12px; font-weight: normal; color: #cbd5e1; }
.pricing-table td { font-size: 14px; line-height: 1.6; }
.pricing-table .td-grade { text-align: center; font-size: 18px; color: var(--primary); white-space: nowrap; }
.pricing-table .td-price { text-align: center; white-space: nowrap; color: var(--text-muted); }
.pricing-table .td-price-main { text-align: center; font-size: 18px; font-weight: 700; color: #ef4444; white-space: nowrap; }
.pricing-table .td-total { text-align: center; font-size: 16px; font-weight: bold; white-space: nowrap; }
.pricing-table .td-total-label { font-size: 12px; color: var(--text-muted); font-weight: normal; }
.pricing-table .stars { font-size: 14px; letter-spacing: 1px; }
.pricing-table .durability { font-size: 13px; color: var(--text-muted); }
.popular-row td { background-color: #fff8f1; }
.popular-row .td-grade { border-left: 5px solid var(--secondary); }
.badge-popular { display: block; background: #ef4444; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 12px; margin-bottom: 5px; width: max-content; margin-inline: auto; font-weight: bold; }
.recommend-row td { background-color: #f0f9ff; }
.recommend-row .td-grade { border-left: 5px solid var(--primary-light); }
.badge-recommend { display: block; background: var(--secondary); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 12px; margin-bottom: 5px; width: max-content; margin-inline: auto; font-weight: bold; }

/* Choice Guide & Works */
.choice-guide h3 { text-align: center; color: var(--primary); margin-bottom: 10px; }
.choice-guide > p { text-align: center; margin-bottom: 30px; font-size: 15px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice-item { background: var(--bg-light); padding: 20px; border-radius: 8px; border-top: 3px solid var(--primary); }
.choice-item h4 { margin-bottom: 10px; font-size: 18px; }
.choice-item p { font-size: 14px; }

.coming-soon { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); padding: 60px 20px; text-align: center; border-radius: 12px; }
.coming-soon h3 { font-size: 24px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }

/* Reasons */
.reason-cards { display: flex; flex-direction: column; gap: 40px; }
.reason-card { display: flex; gap: 30px; position: relative; padding-left: 80px; }
.reason-num { position: absolute; top: 20px; left: -20px; font-size: 60px; font-weight: 900; color: var(--primary-light); opacity: 0.2; line-height: 1; }
.reason-content h3 { font-size: 20px; color: var(--primary); margin-bottom: 15px; border-bottom: 2px solid var(--bg-light); padding-bottom: 10px; }
.reason-content p { font-size: 15px; }

/* Greeting Premium */
.greeting-wrapper { 
    background-color: #fff; 
    padding: 80px 60px; 
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.03);
}
.greeting-wrapper::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px solid #f3f4f6;
    pointer-events: none;
}
.greeting-content { position: relative; z-index: 1; }
.greeting-content p { 
    margin-bottom: 30px; 
    font-size: 17px; 
    line-height: 2.6; 
    letter-spacing: 0.1em; 
    color: #2c3e50; 
    font-family: 'Yuji Syuku', 'Yuji Boku', 'HG行書体', 'HGP行書体', 'HG正楷書体-PRO', 'YuKyokasho', 'Yu-Kyo', 'Yu Mincho', serif;
}
.greeting-content .signature { text-align: right; margin-top: 60px; padding-top: 30px; border-top: 1px solid #e5e7eb; }
.signature .sig-title { font-size: 12px; color: #94a3b8; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 8px; font-family: 'Noto Sans JP', sans-serif; }
.signature .sig-name { font-size: 28px; font-weight: 500; font-family: 'Yuji Syuku', 'Yuji Boku', 'HG行書体', 'HGP行書体', 'Yu Mincho', serif; color: var(--primary); letter-spacing: 0.15em; }

@media (max-width: 768px) {
    .greeting-wrapper { padding: 40px 25px; }
    .greeting-wrapper::before { top: 5px; left: 5px; right: 5px; bottom: 5px; }
    .greeting-content p { font-size: 14px; line-height: 2.2; letter-spacing: 0.05em; }
    .signature .sig-name { font-size: 22px; }
}

/* Footer */
.footer { background: var(--primary); color: #fff; padding: 60px 0 20px; text-align: center; }
.footer h2 { font-size: 32px; margin-bottom: 10px; }
.footer p { margin-bottom: 30px; color: #cbd5e1; }
.footer-buttons { flex-direction: row; justify-content: center; max-width: 600px; margin-bottom: 40px; }
.copyright { font-size: 14px; color: #94a3b8; border-top: 1px solid #334155; padding-top: 20px; }

/* Contact Form */
.contact-wrapper { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.required { background: #ef4444; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; vertical-align: middle; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-submit { text-align: center; margin-top: 40px; }
.form-submit .btn { background: var(--mail-color); border: none; cursor: pointer; max-width: 300px; margin: 0 auto; color: #fff; }

/* Fixed Bottom CTA */
.fixed-bottom-cta { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
.cta-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 5px; text-decoration: none; color: #fff; font-size: 11px; font-weight: 700; transition: filter 0.3s; }
.cta-btn:hover { filter: brightness(1.1); }
.cta-btn i { font-size: 20px; margin-bottom: 5px; }
.cta-phone { background-color: var(--phone-color); }
.cta-mail { background-color: var(--mail-color); }
.cta-line { background-color: var(--line-color); }
.cta-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* Responsive */
@media (min-width: 769px) {
    .fixed-bottom-cta { justify-content: center; }
    .cta-btn { flex: none; width: 25%; flex-direction: row; gap: 10px; font-size: 16px; padding: 18px; }
    .cta-btn i { font-size: 24px; margin-bottom: 0; }
}

@media (max-width: 768px) {
    .hero .title { font-size: 40px; }
    .hero .catchphrase { font-size: 18px; }
    .circle { width: 120px; height: 120px; }
    .circle-text { font-size: 14px; }
    .features { margin-top: -30px; padding-top: 0; }
    .choice-grid { grid-template-columns: 1fr; }
    .cost-item { flex-direction: column; align-items: flex-start; gap: 5px; }
    .reason-card { padding-left: 20px; }
    .reason-num { left: 10px; top: -10px; font-size: 40px; }
    .footer-buttons { flex-direction: column; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-item { padding: 30px 15px; }
    .service-icon { font-size: 32px; margin-bottom: 15px; }
    .service-item h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0.05em; }
    .service-link-text { font-size: 11px; letter-spacing: 0; gap: 4px; }
}
