:root {
    --ink: #0a0908;
    --ink-2: #13100d;
    --ivory: #f3ebdd;
    --muted: #b3a795;
    --amber: #e9ab69;
    --line: rgba(243, 235, 221, .16);
    --gutter: clamp(20px, 5vw, 88px);
    --display: 'Italiana', 'Shippori Mincho', serif;
    --didone: 'Bodoni Moda', 'Shippori Mincho', serif;
    --gold: #d9b886;
    --latin: 'Jost', 'Shippori Mincho', sans-serif;
    --jp: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
    margin: 0;
    background: var(--ink);
    color: var(--ivory);
    font-family: var(--jp);
    font-size: 17px;
    line-height: 2;
    letter-spacing: .04em;
    line-break: strict;
    word-break: auto-phrase;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
section[id] { scroll-margin-top: 64px; }

/* ---------- 共通 ---------- */
.label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--latin);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--amber);
}
.label::before {
    content: '';
    width: 48px;
    height: 1px;
    background: var(--amber);
    box-shadow: 0 0 10px 1px rgba(233, 171, 105, .7);
}
.label-center { justify-content: center; }
.section-title {
    font-size: clamp(30px, 3.4vw, 50px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
    margin-top: 24px;
}
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px var(--gutter);
    transition: background .5s, padding .5s;
    background: linear-gradient(to bottom, rgba(10, 9, 8, .62), rgba(10, 9, 8, 0));
}
.site-header.is-solid {
    padding-block: 14px;
    background: rgba(10, 9, 8, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}
.brand-word { font-family: var(--didone); font-size: 24px; letter-spacing: .42em; color: var(--gold); }
.brand-tag { font-family: var(--latin); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); opacity: .9; }
.site-header.is-solid .brand-word { font-size: 20px; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
    position: relative;
    font-family: var(--latin);
    font-size: 13px;
    letter-spacing: .2em;
    padding: 6px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: var(--amber);
    box-shadow: 0 0 8px rgba(233, 171, 105, .8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    background: none;
    border: 0;
    cursor: pointer;
}
.menu-toggle span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1px;
    background: var(--ivory);
    transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background: var(--ink);
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}
.js .hero-img { animation: settle 3.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); filter: brightness(.55); } to { transform: none; filter: none; } }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 210px at 0 0, rgba(10, 9, 8, .62), rgba(10, 9, 8, 0)),
        linear-gradient(to right, rgba(10, 9, 8, 0) 52%, rgba(10, 9, 8, .35) 100%),
        linear-gradient(to bottom, rgba(10, 9, 8, 0) 72%, var(--ink) 100%);
}
.hero-copy {
    position: absolute;
    left: 58%;
    right: 3%;
    top: 52%;
    transform: translateY(-50%);
}
.hero-title {
    font-family: var(--didone);
    font-weight: 500;
    font-variation-settings: 'opsz' 30;
    font-size: min(7.6vw, 14.5vh);
    line-height: .98;
    letter-spacing: -.005em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.gold {
    background: linear-gradient(180deg, #ecd3a8 0%, #c99d64 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.rise { display: block; }
.js .rise { animation: rise 1.6s var(--ease) both .5s; }
.js .mask:nth-child(2) .rise { animation-delay: .68s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.hero-sub {
    margin-top: clamp(16px, 2.4vh, 28px);
    font-size: clamp(19px, 2.1vw, 32px);
    font-weight: 500;
    letter-spacing: .24em;
    line-height: 1.6;
}
.hero-poem {
    margin-top: clamp(20px, 4vh, 44px);
    padding-left: 26px;
    border-left: 1px solid var(--gold);
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 2.05;
    letter-spacing: .14em;
    color: rgba(243, 235, 221, .88);
}
.hero-mark {
    margin-top: clamp(20px, 4vh, 44px);
    font-family: var(--latin);
    font-size: clamp(10px, .85vw, 13px);
    letter-spacing: .32em;
    text-transform: uppercase;
    line-height: 1.6;
}
.hero-mark span { display: block; font-family: var(--didone); font-size: clamp(22px, 2.3vw, 36px); letter-spacing: .3em; color: var(--gold); text-transform: none; }
.js .hero-sub { animation: fade 1.6s ease both 1.2s; }
.js .hero-poem { animation: fade 1.6s ease both 1.5s; }
.js .hero-mark { animation: fade 1.6s ease both 1.8s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.scroll-cue {
    position: absolute;
    right: var(--gutter);
    bottom: 0;
    width: 44px;
    height: 88px;
    display: flex;
    justify-content: center;
}
.scroll-cue i {
    display: block;
    width: 1px;
    height: 100%;
    background: var(--amber);
    box-shadow: 0 0 10px 1px rgba(233, 171, 105, .7);
    transform-origin: top;
    animation: drip 2.8s var(--ease) infinite;
}
@keyframes drip {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Mission ---------- */
.mission {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 6vw, 112px);
    padding: clamp(96px, 13vw, 200px) 0 clamp(96px, 13vw, 200px) var(--gutter);
}
.mission-title {
    margin-top: 32px;
    font-size: clamp(27px, 3.5vw, 54px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .06em;
    word-break: keep-all;
}
.prose { margin-top: clamp(32px, 4vw, 56px); max-width: 36em; }
.prose p + p { margin-top: 1.2em; }
.mission-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Business ---------- */
.business { position: relative; background: var(--ink-2); }
.biz-stage { display: none; }
.biz-body { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.biz-item + .biz-item { margin-top: 72px; }
.biz-inline { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 28px; }
.biz-no {
    display: block;
    font-family: var(--latin);
    font-size: 13px;
    letter-spacing: .3em;
    color: var(--amber);
}
.biz-en {
    margin-top: 10px;
    font-family: var(--display);
    font-size: clamp(38px, 4.8vw, 72px);
    line-height: 1.15;
    letter-spacing: .01em;
}
.biz-item h3 {
    margin-top: 20px;
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 2;
    color: var(--muted);
    max-width: 26em;
}

@media (min-width: 900px) {
    .js .business { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .js .biz-stage {
        display: block;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
        background: var(--ink);
    }
    .js .biz-stage img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 1.1s ease, transform 2.2s var(--ease);
    }
    .js .biz-stage img.is-active { opacity: 1; transform: none; }
    .biz-light {
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%;
        background: var(--amber);
        box-shadow: 0 0 18px 2px rgba(233, 171, 105, .75);
        transform: scaleY(0);
        transform-origin: top;
    }
    .js .biz-body { padding: 0 var(--gutter) 0 clamp(48px, 6vw, 112px); }
    .js .biz-head { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8vh; }
    .js .biz-inline { display: none; }
    .js .biz-item { min-height: 86vh; margin: 0; display: flex; align-items: center; }
    .js .biz-item:last-child { min-height: 100vh; }
}

/* ---------- Vision ---------- */
.vision { background: var(--ink); }
.vision-photo { position: relative; aspect-ratio: 21 / 9; overflow: hidden; }
.vision-photo img { width: 100%; height: 100%; object-fit: cover; }
.vision-photo::after {
    content: '';
    position: absolute;
    inset: 60% 0 0 0;
    background: linear-gradient(to bottom, rgba(10, 9, 8, 0), var(--ink));
}
.vision-text { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(96px, 12vw, 180px); }
.vision-copy {
    margin: 32px auto 0;
    max-width: 22em;
    font-size: clamp(22px, 2.7vw, 40px);
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: .06em;
    text-align: center;
}

/* ---------- Company ---------- */
.company {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(32px, 5vw, 80px);
    padding: clamp(96px, 11vw, 160px) var(--gutter);
    background: var(--ink-2);
}
.profile { border-top: 1px solid var(--line); }
.profile > div {
    display: grid;
    grid-template-columns: 12em minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.profile dt { color: var(--muted); font-size: 15px; }
.profile dd a { border-bottom: 1px solid rgba(233, 171, 105, .55); transition: color .3s; }
.profile dd a:hover { color: var(--amber); }

/* ---------- Contact ---------- */
.contact {
    position: relative;
    padding: clamp(112px, 14vw, 210px) var(--gutter);
    text-align: center;
    background: radial-gradient(70% 90% at 50% 100%, rgba(233, 171, 105, .17), rgba(233, 171, 105, 0) 72%), var(--ink);
}
.contact-mail {
    display: inline-block;
    margin-top: 36px;
    font-family: var(--display);
    font-size: clamp(32px, 7vw, 108px);
    line-height: 1.2;
    transition: color .4s;
}
.contact-mail:hover { color: var(--amber); }
.contact-tel {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    font-family: var(--latin);
    font-size: clamp(17px, 1.7vw, 24px);
    font-weight: 300;
    letter-spacing: .14em;
    transition: color .4s;
}
.contact-tel:hover { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    padding: 0 var(--gutter) 28px;
    border-top: 1px solid rgba(233, 171, 105, .4);
    overflow: hidden;
}
.footer-word {
    font-family: var(--display);
    font-size: 21.5vw;
    line-height: 1.12;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(to bottom, rgba(243, 235, 221, .3), rgba(243, 235, 221, .02));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-copy { font-family: var(--latin); font-size: 12px; letter-spacing: .16em; color: var(--muted); text-align: right; }

/* ---------- Tablet / Mobile ---------- */
@media (max-width: 899px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 0 var(--gutter);
        background: var(--ink);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s, visibility .4s;
    }
    .nav a { font-family: var(--display); font-size: 42px; letter-spacing: .01em; line-height: 1.3; width: fit-content; }
    .menu-open { overflow: hidden; }
    .menu-open .nav { opacity: 1; visibility: visible; }
    .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

    /* 顔を中心に切り抜き、下を暗くして文字を置く */
    .hero-img { object-position: 31% 30%; }
    .hero-shade {
        background:
            linear-gradient(to bottom, rgba(10, 9, 8, .55) 0, rgba(10, 9, 8, 0) 16%),
            linear-gradient(to bottom, rgba(10, 9, 8, 0) 44%, rgba(10, 9, 8, .78) 62%, var(--ink) 100%);
    }
    .hero-copy { left: var(--gutter); right: var(--gutter); top: auto; bottom: 7%; transform: none; }
    .hero-title { font-size: 17vw; }
    .hero-sub { font-size: clamp(18px, 5.2vw, 30px); }
    .hero-poem { font-size: clamp(13px, 3.6vw, 16px); padding-left: 18px; margin-top: 20px; }
    .hero-mark { display: none; }
    .scroll-cue { display: none; }

    .mission { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
    .mission-photo { margin-right: calc(var(--gutter) * -1); margin-left: 12%; }

    .biz-head { margin-bottom: 48px; }
    .vision-photo { aspect-ratio: 4 / 3; }

    .company { grid-template-columns: minmax(0, 1fr); }
    .profile > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .scroll-cue i { transform: none; }
}
