@charset "UTF-8";

/* ==========================================================================
   Pattern 48: Traditional Craft (和モダン・スプリットレイアウト)
   Designer: "和モダンのエディトリアルデザイナー"
   Concept: 画面分割、縦書きタイポグラフィ（writing-mode）、広大な余白による静けさ
   ========================================================================== */

:root {
    /* 日本の伝統色を意識したカラーパレット */
    --c-bg: #FCFAF8;
    /* 胡粉色（ごふんいろ）に近い温かみのある白 */
    --c-text: #2B2B2B;
    /* 墨色 */
    --c-text-light: #666666;
    --c-accent: #AE4A3E;
    /* 弁柄色（べんがらいろ） */
    --c-line: #E2DBD4;

    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    --left-width: 45vw;
    /* 左側の固定幅 */
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-serif);
    /* 明朝体ベース */
    line-height: 2;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.6;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* =========================================
   Layout (Split)
========================================= */
/* PCでの左右分割 */
.l-split-container {
    display: flex;
    min-height: 100vh;
}

/* 左側：固定ビジュアル（position: sticky） */
.l-visual-fixed {
    position: sticky;
    top: 0;
    width: var(--left-width);
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* 右側：スクロールコンテンツ */
.l-content-scroll {
    width: calc(100vw - var(--left-width));
    padding: 100px 8vw 100px;
    background-color: var(--c-bg);
}

/* =========================================
   Left Visual Area
========================================= */
.c-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.c-visual-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    /* テキストを見やすくするため少し暗く */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 15s linear;
}

/* JSによる画像切り替え時のフェード用 */
.c-visual-bg img.is-hidden {
    opacity: 0;
}

/* ホバー等を行わなくてもゆっくりズームする極上の演出 */
.c-visual-bg:hover img {
    transform: scale(1.05);
}

.l-header {
    position: relative;
    z-index: 10;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 家紋代わりのシンプルな丸 */
.c-logo__mark {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--c-accent);
}

.l-global-nav ul {
    gap: 30px;
    display: flex;
}

.l-global-nav a {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
}

.c-vertical-scroll-prompt {
    position: absolute;
    bottom: 0;
    left: 50px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 20px;
    transform-origin: left bottom;
    transform: rotate(-90deg);
    /* 縦にする */
}

.c-line {
    width: 50px;
    height: 1px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.c-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: flowLine 2s infinite;
}

@keyframes flowLine {
    to {
        left: 100%;
    }
}

/* =========================================
   Right Content Area (Typography)
========================================= */
.p-section {
    margin-bottom: 20vh;
}

/* 縦書きのタイトル */
.c-title-vertical {
    writing-mode: vertical-rl;
    font-size: 48px;
    line-height: 1.5;
    letter-spacing: 0.15em;
    font-weight: 400;
    margin-bottom: 50px;
    color: var(--c-text);
}

/* 縦書きのテキストブロック */
.c-vertical-textbox {
    writing-mode: vertical-rl;
    font-size: 16px;
    line-height: 2.5;
    letter-spacing: 0.1em;
    height: 400px;
    /* 縦書きの場合は高さの確保が重要 */
}

/* 横書きのセクションタイトル */
.c-title-horizontal {
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--c-accent);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.c-title-horizontal::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--c-accent);
}

.p-intro__text {
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin-left: 20px;
    /* 縦書きタイトルの左側に配置するイメージ */
}

/* Products */
.p-products__list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.c-product-card {
    display: flex;
    gap: 40px;
    align-items: center;
}

.c-product-card__thumb {
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
}

.c-product-card__thumb img {
    transition: transform 0.6s;
}

.c-product-card:hover .c-product-card__thumb img {
    transform: scale(1.05);
}

.c-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    border: 1px solid var(--c-line);
    padding: 4px 12px;
    margin-bottom: 15px;
    color: var(--c-text-light);
}

.c-product-card__name {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.c-product-card__desc {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 2;
}

/* FAQ */
.p-faq__list {
    display: flex;
    flex-direction: column;
}

.c-faq-item {
    border-bottom: 1px solid var(--c-line);
    padding: 20px 0;
}

.c-faq-item__q {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: var(--c-text);
}

.c-faq-item__q::-webkit-details-marker {
    display: none;
}

.c-faq-item__icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-faq-item__icon::before,
.c-faq-item__icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-accent);
    transition: transform 0.3s;
}

.c-faq-item__icon::before {
    width: 14px;
    height: 1px;
}

.c-faq-item__icon::after {
    width: 1px;
    height: 14px;
}

details[open] .c-faq-item__icon::after {
    transform: rotate(90deg) scaleY(0);
}

.c-faq-item__a {
    padding-top: 15px;
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 2;
}

/* =========================================
   Footer
========================================= */
.l-footer {
    border-top: 1px solid var(--c-line);
    padding-top: 50px;
}

.l-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.l-footer__info strong {
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
}

.l-footer__info p {
    font-size: 13px;
    color: var(--c-text-light);
}

.l-footer__links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--font-sans);
    font-size: 13px;
}

.l-footer__copyright {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--c-text-light);
    text-align: center;
}

/* =========================================
   Animations
========================================= */
.js-fade-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js-fade-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* =========================================
   Responsive
========================================= */
@media screen and (max-width: 900px) {

    /* PCの左右分割を解除し、縦並びに */
    .l-split-container {
        flex-direction: column;
    }

    .l-visual-fixed {
        position: relative;
        width: 100%;
        height: 60vh;
    }

    .c-vertical-scroll-prompt {
        display: none;
    }

    .l-header {
        padding: 30px;
    }

    .l-global-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .l-content-scroll {
        width: 100%;
        padding: 60px 20px;
    }

    .c-title-vertical {
        writing-mode: horizontal-tb;
        /* スマホでは横書きに戻す */
        font-size: 32px;
        margin-bottom: 30px;
    }

    .c-vertical-textbox {
        writing-mode: horizontal-tb;
        height: auto;
    }

    .c-product-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .c-product-card__thumb {
        width: 100%;
    }

    .l-footer__inner {
        flex-direction: column;
        gap: 40px;
    }
}