@charset "UTF-8";

/* =====================================
   Standard Design System
   Simple, Clean, Friendly
   ===================================== */
:root {
    /* Colors - Warm orange & neutral gray */
    --c-white: #ffffff;
    --c-bg: #faf7f4;          /* warm light cream */
    --c-bg-alt: #f3efe9;      /* slightly deeper */
    --c-primary: #e07828;     /* warm orange */
    --c-primary-light: #e8923e;
    --c-primary-pale: #fdf0e5;
    --c-secondary: #e8923e;   /* warm orange accent */
    --c-text: #3d3530;
    --c-text-light: #7a6e65;
    --c-border: #e6ddd5;
    --c-line: #06c755;
    --c-teal: #e07828;         /* alias for company page */
    --border-radius-card: 16px; /* alias for company page */

    /* Typography */
    --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1080px;
    --header-height: 70px;
    --border-radius: 10px;
    --border-radius-lg: 16px;
}

/* =====================================
   Base
   ===================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #1e293b;
    background-color: #f0f5ff;
    line-height: 1.9;
    font-size: 15px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

ul { list-style: none; }

/* =====================================
   Layout
   ===================================== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.bg-white {
    background-color: #ffffff;
}

/* =====================================
   Plumbing Tool Decorations (per-section)
   ===================================== */

/* Illustration decorations (SVG overlays) */
.nature-deco-leaves,
.nature-deco-branch,
.nature-deco,
.nature-deco-dots {
    position: relative;
    overflow: hidden;
}

.nature-deco-leaves::before,
.nature-deco-branch::before,
.nature-deco::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 0;
}

.nature-deco-leaves > .container,
.nature-deco-branch > .container,
.nature-deco > .container,
.nature-deco-dots > .container {
    position: relative;
    z-index: 1;
}

.nature-deco-leaves::before {
    background-image:
        url("../svg/faucet.svg"),
        url("../svg/tools.svg"),
        url("../svg/wrench.svg");
    background-size: 150px auto, 150px auto, 150px auto;
    background-position: right 10px top 20px, left 10px center, right 0 bottom 0;
}

.nature-deco-branch::before {
    background-image:
        url("../svg/faucet.svg"),
        url("../svg/tools.svg"),
        url("../svg/wrench.svg");
    background-size: 150px auto, 150px auto, 150px auto;
    background-position: right 15px top 15px, left 15px center, right 5px bottom 5px;
}

.nature-deco::before {
    background-image:
        url("../svg/faucet.svg"),
        url("../svg/tools.svg"),
        url("../svg/wrench.svg");
    background-size: 150px auto, 150px auto, 150px auto;
    background-position: right 12px top 25px, left 12px center, right 8px bottom 8px;
}

/* =====================================
   Typography
   ===================================== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title .en {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #2563eb;
    margin-bottom: 5px;
    font-weight: 700;
}

.section-title .ja {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
}

.section-title .ja::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #3b82f6;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* =====================================
   Header
   ===================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo a {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.3;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: #4a6080;
    white-space: nowrap;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    gap: 22px;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a6080;
}

.nav-list a:hover {
    color: #2563eb;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1e293b;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* =====================================
   Buttons
   ===================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #2563eb;
    background-color: transparent;
    color: #2563eb;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.btn:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.btn i { margin-right: 8px; }

.btn-mail {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-mail:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-amber {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-amber:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-line {
    background-color: #06c755;
    color: #ffffff;
    border-color: #06c755;
}

.btn-line:hover {
    background-color: #05b34c;
    border-color: #05b34c;
}

/* =====================================
   Hero
   ===================================== */
.hero {
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
}

/* Note: we fallback to standard images path */
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(30,30,30,0.3) 100%);
}

.hero-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 400;
    opacity: 0.9;
}

/* =====================================
   News (Adapted from Natural base)
   ===================================== */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.news-list li {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #bfdbfe;
    transition: background-color 0.2s ease;
}

.news-list li:hover {
    background-color: #e6edfc;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list .news-date {
    font-size: 0.85rem;
    color: #2563eb;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.news-list .news-title {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.6;
}

.news-list .news-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-list .news-title a:hover {
    color: #2563eb;
}

@media screen and (max-width: 768px) {
    .news-list li {
        flex-direction: column;
        gap: 6px;
        padding: 16px 20px;
    }
}

/* =====================================
   About
   ===================================== */
.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image { flex: 1; }

.about-image img {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-text { flex: 1; }

.about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e293b;
    border-left: 4px solid #2563eb;
    padding-left: 15px;
}

.about-text p {
    margin-bottom: 12px;
    color: #4a6080;
}

/* =====================================
   Features
   ===================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 35px 20px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #bfdbfe;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #2563eb;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.feature-card p {
    font-size: 0.85rem;
    color: #4a6080;
}

/* =====================================
   Pricing
   ===================================== */
.price-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #bfdbfe;
}

.pop-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pop-table th, .pop-table td {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid #bfdbfe;
}

.pop-table thead th {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
}

.pop-table thead th:first-child { width: 65%; }

.pop-table th {
    font-weight: normal;
    color: #4a6080;
    font-size: 0.9rem;
}

.pop-table .price {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 700;
}

.pop-table tr:last-child td { border-bottom: none; }

.pop-table .highlight td {
    background-color: #dbeafe;
}

.td-note {
    display: block;
    font-size: 0.8rem;
    color: #4a6080;
    margin-top: 4px;
}

/* =====================================
   Works (Adapted from Natural base)
   ===================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    justify-items: center;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #bfdbfe;
    transition: transform 0.25s ease;
    width: 100%;
}

.work-card:hover { transform: translateY(-3px); }

.work-badge {
    position: static;
    display: table;
    margin: 12px auto 0;
    background-color: #2563eb;
    color: #ffffff;
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

/* work-img-pair matches Natural structure but Standard styles */
.work-img-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 15px;
    margin-top: 45px;
}

.work-img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}

.work-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-card:hover .work-img-box img { transform: scale(1.05); }

.img-label {
    position: absolute;
    top: 6px; left: 6px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #ffffff;
    z-index: 2;
}

.img-label.before { background-color: #888; }
.img-label.after { background-color: #2563eb; }

.work-content {
    padding: 10px 20px 20px;
}

.work-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e293b;
}

.work-content p {
    font-size: 0.85rem;
    color: #4a6080;
}

/* =====================================
   Area & FAQ
   ===================================== */
.area-box {
    text-align: center;
    padding: 35px;
    background-color: #dbeafe;
    border-radius: 16px;
    border: 1px solid #bfdbfe;
}

.area-box h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1e293b;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #bfdbfe;
}

.faq-item summary {
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
    color: #1e293b;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 400;
    color: #2563eb;
}

.faq-item[open] summary::after { content: '−'; }

.faq-answer {
    padding: 0 0 18px 0;
    color: #4a6080;
}

/* =====================================
   CTA
   ===================================== */
.cta-block {
    text-align: center;
    margin-top: 40px;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #bfdbfe;
}

.cta-message {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =====================================
   Footer
   ===================================== */
/* Override footer wave if any - simply hide it as Standard doesn't use it */
.footer-wrap {
    margin-top: 40px;
}
.footer-wave {
    display: none; 
}

.footer {
    background-color: #1e293b;
    color: #b0bcc8;
    padding: 60px 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.4rem;
    color: #ffffff;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #8a9aab;
    font-size: 0.85rem;
}

.footer-nav a:hover { color: #ffffff; }

.company-info {
    border-top: 1px solid #4a5568;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #8a9aab;
    font-size: 0.85rem;
}

.company-info h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #5a6a7a;
}

/* =====================================
   Floating Buttons
   ===================================== */
.floating-container {
    position: fixed;
    right: 18px; bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #2563eb;
    font-size: 1.3rem;
    box-shadow: 0 3px 12px rgba(224,120,40,0.3);
    position: relative;
    border: none;
    transition: all 0.25s ease;
}

.float-btn:hover {
    background-color: #3b82f6;
    transform: scale(1.08);
}

.float-btn .label {
    position: absolute;
    right: 65px;
    background: #1e293b;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
}

.float-btn:hover .label { opacity: 1; }

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 40px; }
.mt-4 { margin-top: 40px; }

/* =====================================
   Responsive
   ===================================== */

@media screen and (max-width: 1024px) {
    .hamburger { display: block; }
    .global-nav {
        position: fixed;
        top: 70px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        transition: left 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .global-nav.active { left: 0; }

    .global-nav .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .global-nav .nav-list li a {
        font-size: 1.3rem;
        color: #1e293b;
    }

    .section {
        padding: 60px 0;
    }

    .section-title .ja {
        font-size: 1.4rem;
    }

    .hero-title { font-size: 2.2rem; }
    .about-flex, .footer-top, .company-info { flex-direction: column; }
}

@media screen and (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .works-grid { grid-template-columns: 1fr; }

    .logo-sub { display: none; }
    .logo-main { font-size: 1.5rem; }

    .float-btn { width: 60px; height: 60px; font-size: 1.5rem; }

    .nature-deco-leaves::before,
    .nature-deco-branch::before,
    .nature-deco::before {
        background-size: 75px auto, 75px auto, 75px auto;
    }
}
