/* =============================================
   Pattern 20: Nordic Calm
   hygge — Lifestyle Design Studio — 品質向上版
   ============================================= */

:root {
    --c-warm-gray: #F8F6F2;
    --c-charcoal: #2C3E50;
    --c-beige: #E8D5B7;
    --c-sand: #C4AE8A;
    --c-white: #ffffff;
    --c-muted: #8B8680;

    --f-display: "Outfit", "Noto Sans JP", sans-serif;
    --f-body: "Noto Sans JP", "Outfit", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-charcoal);
    background: var(--c-warm-gray);
    line-height: 1.9;
    font-weight: 300;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== ヘッダー ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== ロゴ ===== */
.logo {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--c-charcoal);
}

/* ===== ナビ ===== */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--c-muted);
    font-family: var(--f-display);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-charcoal);
    transition: width 0.3s;
}

.nav a:hover {
    color: var(--c-charcoal);
}

.nav a:hover::after {
    width: 100%;
}

/* ===== ヒーロー ===== */
.hero {
    padding-top: 100px;
}

.hero-split {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-label {
    font-family: var(--f-display);
    font-size: 0.8rem;
    color: var(--c-sand);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--c-charcoal);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--c-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-img {
    border-radius: 8px;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s;
}

.hero-img:hover img {
    transform: scale(1.03);
}

/* ===== ボタン ===== */
.btn-nordic {
    display: inline-block;
    padding: 14px 35px;
    background: var(--c-charcoal);
    color: var(--c-warm-gray);
    text-decoration: none;
    font-family: var(--f-display);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-nordic:hover {
    background: var(--c-sand);
    color: var(--c-charcoal);
    transform: translateY(-2px);
}

/* ===== セクション ===== */
.section {
    padding: 100px 0;
}

.section--warm {
    background: var(--c-beige);
}

.section-title {
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-ja {
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--c-muted);
    letter-spacing: 0.15em;
    margin-top: 10px;
    display: block;
}

/* ===== About（左右分割 + 写真） ===== */
.about-split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-area {
    border-radius: 8px;
    overflow: hidden;
}

.about-img-area img {
    width: 100%;
    display: block;
    transition: transform 0.6s;
}

.about-img-area:hover img {
    transform: scale(1.03);
}

.about-cols {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-col p {
    font-size: 0.95rem;
    line-height: 2.2;
    color: var(--c-muted);
}

/* ===== 写真帯 ===== */
.photo-band {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.6);
}

.band-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.band-quote {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--c-white);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.band-cite {
    font-family: var(--f-display);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    letter-spacing: 0.05em;
}

/* ===== サービス（写真付き） ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    background: var(--c-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 30px;
}

.service-num {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--c-sand);
    display: block;
    margin-bottom: 10px;
}

.service-body h3 {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-body p {
    font-size: 0.85rem;
    color: var(--c-muted);
    line-height: 1.9;
}

/* ===== プロダクト ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--c-white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--c-sand);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--c-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-q {
    padding: 20px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-charcoal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--c-sand);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-muted);
    transition: transform 0.3s;
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

details[open] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-a {
    padding: 0 25px 25px;
    color: var(--c-muted);
    font-size: 0.85rem;
    line-height: 1.9;
}

/* ===== フッター ===== */
.footer {
    padding: 50px 20px;
    border-top: 1px solid var(--c-beige);
}

.footer-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.75rem;
    color: var(--c-muted);
}

/* ===== アニメーション ===== */
.anim {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.anim-up {
    transform: translateY(40px);
}

.anim.anim-left {
    transform: translateX(-40px);
}

.anim.anim-right {
    transform: translateX(40px);
}

.anim.anim-scale {
    transform: scale(0.95);
}

.anim.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.15s;
}

.anim-delay-2 {
    transition-delay: 0.3s;
}

.anim-delay-3 {
    transition-delay: 0.45s;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-split-content {
        grid-template-columns: 1fr;
    }

    .about-cols {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .photo-band {
        height: 280px;
    }

    .band-quote {
        font-size: 1.5rem;
    }
}