/*
Theme Name: SHIRAKABA Works
Theme URI: https://shirakabaworks.com/
Author: SHIRAKABA Works
Description: SHIRAKABA Works専用のオリジナルWordPressテーマです。
Version: 1.0.0
Text Domain: shirakaba-works
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #24352f;
    background: #fbfdf9;
    line-height: 1.8;
}

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

a {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease, box-shadow 0.2s ease;
}

.header {
    max-width: 1200px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo {
    width: 150px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: #24352f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav a:hover {
    color: #2f6b4f;
}

.hero {
    background: #eef6ee;
    padding: 80px 24px;
}

.hero-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-label,
.section-label {
    display: inline-block;
    color: #2f6b4f;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-label {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(36, 53, 47, 0.06);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.hero-lead {
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.button,
.button-sub {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.button {
    background: #2f6b4f;
    color: #ffffff;
}

.button:hover {
    background: #244f3b;
    transform: translateY(-2px);
}

.button-sub {
    border: 2px solid #2f6b4f;
    color: #2f6b4f;
    background: #ffffff;
}

.button-sub:hover {
    background: #f6faf6;
    transform: translateY(-2px);
}

.hero-visual {
    width: 390px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.preparation-card,
.visual-card,
.service-card,
.price-card,
.contact-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(36, 53, 47, 0.08);
}

.preparation-card {
    padding: 30px;
    border: 2px solid rgba(47, 107, 79, 0.22);
}

.preparation-badge,
.planned-label {
    display: inline-block;
    background: #2f6b4f;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.preparation-badge {
    padding: 4px 12px;
    margin-bottom: 14px;
}

.preparation-card h2 {
    color: #2f6b4f;
    font-size: 1.45rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.preparation-card p:last-child {
    font-size: 0.95rem;
}

.mini-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.visual-card,
.service-card,
.price-card,
.contact-card {
    padding: 28px;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
}

.visual-card h3,
.service-card h3,
.price-card h3,
.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.visual-card p,
.service-card p,
.price-card p,
.contact-card p {
    font-size: 0.95rem;
}

.notice-section {
    max-width: 1100px;
    margin: auto;
    padding: 40px 24px 0;
}

.notice-box {
    background: #ffffff;
    border: 1px solid #d9e8dc;
    border-left: 5px solid #2f6b4f;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 10px 24px rgba(36, 53, 47, 0.05);
}

.notice-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #2f6b4f;
    font-weight: 800;
}

.notice-dot {
    width: 10px;
    height: 10px;
    background: #2f6b4f;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(47, 107, 79, 0.12);
}

.section {
    max-width: 1100px;
    margin: auto;
    padding: 96px 24px;
}

.section-green {
    max-width: none;
    background: #eef6ee;
}

.section-green > .section-heading,
.section-green > .card-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2,
.about-text h2 {
    color: #2f6b4f;
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-heading > p:last-child {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.price-card {
    height: 100%;
}

.price-card {
    position: relative;
    text-align: center;
}

.price-card .card-icon {
    margin-left: auto;
    margin-right: auto;
}

.price {
    color: #2f6b4f;
    font-size: 2rem;
    font-weight: 800;
    margin: 12px 0 4px;
}

.price-note {
    margin-top: 12px;
    color: #64736d;
    font-size: 0.82rem !important;
}

.main-price {
    border: 2px solid #2f6b4f;
    transform: translateY(-8px);
}

.planned-label {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 11px;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 16px;
}

.about-visual {
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    background: #eef6ee;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(36, 53, 47, 0.08);
}

.about-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-section {
    padding-top: 80px;
}

.contact-grid {
    max-width: 760px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-grid.single-contact {
    grid-template-columns: 1fr;
    max-width: 640px;
}

.contact-card {
    color: #24352f;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(36, 53, 47, 0.12);
}

.contact-note {
    margin-top: 10px;
    color: #64736d;
    font-size: 0.85rem !important;
}

.footer {
    background: #24352f;
    color: #ffffff;
    text-align: center;
    padding: 44px 24px;
}

.footer-logo {
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-status {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.82;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 900px) {

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .hero {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hero-inner,
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 520px;
    }

    .preparation-card {
        text-align: left;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .main-price {
        transform: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 560px) {

    .header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav {
        gap: 10px 16px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .hero,
    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button,
    .button-sub {
        width: 100%;
        text-align: center;
    }

    .mini-card-grid {
        grid-template-columns: 1fr;
    }

    .notice-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .notice-box {
        padding: 22px;
    }

    .contact-card {
        flex-direction: column;
    }
}
