/* ==========================================================================
   PRIMA! ATELIER（確認用） 共通スタイル
   トップ（/atelier/）と作品ページ（/atelier/{作品}/）で共用する。
   変更したら、読み込み側の ?v= を更新する（キャッシュ対策）

   寸法は参考ページの実測値に合わせている（ブレークポイント 767 / 1023px の3段階）。
                   PC(1024〜)   タブレット(768〜1023)   スマホ(〜767)
   本文（欧文）    20px         18px                    18px
   本文（和文）    13px         13px                    12px（MIKIMOTOの実測に寄せる。欧文の値をそのまま当てると和文は大きすぎる）
   コンテナ左右    60px         30px                    30px（列の内側15pxは外側の負のマージンで打ち消す）
   ヘッダー高さ    100px        70px                    70px
   KV見出し        72px         72px                    38px
   ページ見出し    50px         38px                    28px
   作品名          34px / 1em   18px                    18px / 1.3em
   引用（和文）    17px         16px                    15px（署名 14px / 12px）
   補足（和文キャプション） 11px（VIEW などの欧文リンクは 14px / 12px のまま）
   キャプション    14px / 1.4em 14px                    12px
   ブロック間      120px        90px                    60px
   ========================================================================== */

:root {
    /* PRIMA! ブランドのガイドライン色 */
    --c-bg: #F9F9F9;
    --c-ink: #1A1A1A;
    --f-en: 'Marcellus', serif;
    --f-ja: 'Noto Sans JP', sans-serif;
    /* 欧文と和文が混ざる箇所用。--f-en の総称 serif が先に来ると和文が明朝になるため、総称は末尾にだけ置く */
    --f-mix: 'Marcellus', 'Noto Sans JP', sans-serif;

    --fs-body: 20px;
    /* 和文の本文・引用・補足。MIKIMOTO の実測（本文14px・多用12px・行間2.0）の小さい側に寄せる */
    --fs-ja: 13px;
    --fs-quote: 17px;
    --fs-note: 11px;
    --lh-ja: 2;
    --ls-ja: 0.05em;
    --container-pad: 60px;
    --col-pad: 15px;
    --header-h: 100px;
    --module-gap: 120px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--f-mix);
    font-size: var(--fs-body);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--c-ink);
}

a:focus-visible {
    outline: 2px solid var(--c-ink);
    outline-offset: 4px;
}

/* ---------- ヘッダー（ロゴのみ） ---------- */
.at-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(249, 249, 249, 0);
    transition: background-color 0.6s ease;
}

.at-header.is-revealed {
    background-color: rgba(249, 249, 249, 0.95);
}

.at-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--header-h);
    padding: 0 var(--container-pad);
}

.at-logo {
    font-family: var(--f-en);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    transition: color 0.6s ease;
}

.at-header.is-revealed .at-logo {
    color: var(--c-ink);
}

/* ---------- KV：画面いっぱいの写真。本文がこの上を重なってスクロールする ---------- */
.at-kv {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    background-color: var(--c-ink);
}

.at-kv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.at-kv-slide.is-active {
    opacity: 1;
}

.at-kv-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.at-kv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* 表示中の1枚を、拡大したまま横へゆっくり流す（10秒） */
.at-kv-slide.is-active img {
    animation: at-kv-pan 10s linear forwards;
}

@keyframes at-kv-pan {
    from { transform: translateX(0) scale(1.1); }
    to   { transform: translateX(-5%) scale(1.1); }
}

.at-kv-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-color: rgba(26, 26, 26, 0.5);
}

.at-kv-title {
    position: absolute;
    /* 中央より少し下（keisuke さん指示 2026-10-08）→ ほんの少し上へ 56% → 53%（2026-10-22） */
    top: 53%;
    left: 0;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0 20vw;
    transform: translateY(-50%);
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 54px;  /* 72px → 60px（keisuke さん指示 2026-10-08）→ ほんの少し小さく約0.9倍（2026-10-22） */
    line-height: 1.3;  /* 1.1 → PRIMA! と ATELIER の行間を少し広げる（2026-10-09） */
    letter-spacing: 1px;
}

.at-kv-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.75);
    color: var(--c-ink);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.at-kv-scroll:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.at-kv-scroll:focus-visible {
    outline-color: #fff;
}

/* KV を明るく見せる版（見比べ用。?kv=light で切り替わる）。オーバーレイを外し、文字・ロゴを墨色にする */
.at-kv--light .at-kv-overlay {
    background-color: transparent;
}

.at-kv--light .at-kv-title {
    color: var(--c-ink);
}

.at-kv--light .at-kv-scroll {
    background-color: rgba(26, 26, 26, 0.08);
}

.at-header.at-header--on-light .at-logo {
    color: var(--c-ink);
}

.at-kv-scroll svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
}

/* ---------- 本文 ---------- */
/* flow-root：見出しの上余白が外へ突き抜けて、KVが透けて見えないようにする */
.at-content {
    position: relative;
    z-index: 2;
    display: flow-root;
    background-color: var(--c-bg);
}

.at-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ページ見出し（上100 / 下30）。参考ページの下15pxは小さな SHARE 用の値で、和文の説明文を置くと張り付くため30pxにする */
.at-intro {
    display: flow-root;
    text-align: center;
}

.at-page-title {
    margin: 100px 0 30px;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 説明文（和文） */
.at-lead {
    width: 75%;
    margin: 0 auto 100px;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

/* 見出しの下に説明文が無いページ用。見出し → 最初のブロックをブロック間と同じ間隔にする */
.at-intro--title-only .at-page-title {
    margin-bottom: 0;
}

/* ---------- モジュール：写真・本文・引用を同じ間隔で積む ---------- */
/* 列の内側 15px を負のマージンで打ち消し、写真の端をコンテナの余白にそろえる */
.at-modules {
    display: flex;
    flex-flow: row wrap;
    margin: 120px calc(var(--col-pad) * -1) 0;
    padding: 0 0 var(--module-gap);
    list-style: none;
}

.at-module {
    width: 100%;
    margin: 0 auto var(--module-gap);
    padding: 0 var(--col-pad);
}

.at-module:last-child {
    margin-bottom: 0;
}

/* 16分割の幅。単独のモジュールは左右 auto で中央に置く */
.at-col-14 { width: 87.5%; }
.at-col-12 { width: 75%; }
.at-col-10 { width: 62.5%; }
.at-col-8  { width: 50%; }
.at-col-6  { width: 37.5%; }

/*
  2カラム（写真と本文を左右に並べる）。PCは 2列空け・6列・6列・2列空け、
  タブレットは 1列空け・7列・7列・1列空け。本文は写真の高さに対して上下中央
*/
.at-pair-left {
    width: 37.5%;
    margin-left: 12.5%;
    margin-right: 0;
}

.at-pair-right {
    width: 37.5%;
    margin-left: 0;
    margin-right: 12.5%;
}

/*
  左右に並べた行がセクションの最後に来たとき、右（最後の要素）は下余白0になるが、
  左に余白が残ると行の高さに乗って次のセクションとの間が広がる。左もそろえて0にする
  （スマホは縦に積むので、左の下にはブロック間の余白が要る）
*/
@media (min-width: 768px) {
    .at-pair-left:has(+ .at-pair-right:last-child) {
        margin-bottom: 0;
    }
}

/* 本文モジュール */
.at-text {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.at-text > div {
    width: 100%;
}

.at-text p {
    /* 段落の間は1行分（行間 2.0 と同じ 2em）。1em だと行間より狭く、段落の切れ目が見えない */
    margin: 2em 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

.at-text p:first-child {
    margin-top: 0;
}

.at-text p:last-child {
    margin-bottom: 0;
}

.at-work-name {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 1px;
}

/* 引用（和文のため斜体にはせず、大きさで差をつける） */
.at-quote p {
    margin: 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-quote);
    line-height: 1.8;
    letter-spacing: var(--ls-ja);
}

.at-quote .at-credit {
    display: block;
    margin-top: 15px;
    font-family: var(--f-mix);
    font-size: 14px;
    line-height: 1.4em;
}

/* 写真モジュール */
.at-figure {
    margin: 0;
}

.at-figure img {
    width: 100%;
    height: auto;
}

.at-figure-link {
    display: block;
    cursor: pointer;
}

.at-figure-link img {
    transition: opacity 0.3s ease;
}

.at-figure-link:hover img {
    opacity: 0.85;
}

.at-caption {
    margin: 30px 0 0;
    padding: 0 30px;
    text-align: center;
    font-size: var(--fs-note);
    line-height: 1.8;
    letter-spacing: var(--ls-ja);
}

.at-caption p {
    margin: 0;
}

/* キャプション1行目の作品名（欧文）。和文の素材行（11px）より大きく、行の間を4px空ける */
.at-caption .at-caption-name {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
}

.at-caption p + p {
    margin-top: 0;
}

.at-caption a {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.at-caption a:hover {
    opacity: 0.6;
}

/* 本文モジュールの中に置くリンク行（Back to Atelier など）。本文の指定より優先させる */
.at-text p.at-caption {
    margin-top: 30px;
    padding: 0;
    text-align: center;
    font-family: var(--f-en);
    font-size: 14px;
    line-height: 1.4em;
    letter-spacing: 0;
}

/* ---------- フッター（著作権表記のみ） ---------- */
.at-footer {
    position: relative;
    z-index: 2;
    padding: 60px var(--container-pad);
    background-color: var(--c-bg);
    text-align: center;
    font-size: 14px;
    line-height: 1.4em;
}

.at-footer p {
    margin: 0;
}

/* ---------- スクロールで現れる ---------- */
.at-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 1.2s ease-out;
}

.at-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- タブレット（768〜1023px） ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --fs-body: 18px;
        --fs-ja: 13px;
        --fs-quote: 16px;
        --container-pad: 30px;
        --header-h: 70px;
        --module-gap: 90px;
    }

    .at-logo { font-size: 18px; }
    .at-kv-title { padding: 0 90px; }
    .at-page-title { font-size: 38px; }
    .at-modules { margin-top: 90px; }
    .at-work-name { font-size: 18px; }

    /* タブレットでは写真を1段階広くする */
    .at-col-sm-8  { width: 50%; }
    .at-col-sm-10 { width: 62.5%; }
    .at-col-sm-12 { width: 75%; }

    .at-pair-left  { width: 43.75%; margin-left: 6.25%; }
    .at-pair-right { width: 43.75%; margin-right: 6.25%; }
}

/* ---------- スマホ（〜767px） ---------- */
@media (max-width: 767px) {
    :root {
        --fs-body: 18px;
        --fs-ja: 12px;
        --fs-quote: 15px;
        --container-pad: 30px;
        --header-h: 70px;
        --module-gap: 60px;
    }

    .at-logo { font-size: 18px; }

    .at-kv-title {
        font-size: 29px;  /* 32px → 約0.9倍（2026-10-22） */
        padding: 0 30px;
    }
    .at-kv-scroll {
        width: 50px;
        height: 50px;
        bottom: 60px;
    }
    .at-kv-scroll svg {
        width: 16px;
        height: 16px;
    }

    .at-page-title {
        margin: 60px 0 30px;
        font-size: 28px;
    }
    .at-lead {
        width: 100%;
        margin-bottom: 60px;
        text-align: left;
    }
    .at-modules { margin-top: 60px; }

    .at-work-name {
        font-size: 18px;
        line-height: 1.3em;
    }

    /* スマホは全モジュール全幅・1列 */
    .at-col-14, .at-col-12, .at-col-10, .at-col-8, .at-col-6,
    .at-pair-left, .at-pair-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* 和文の本文はスマホでは左揃え（中央揃えの長文は読みにくいため） */
    .at-text p { text-align: left; }

    .at-quote .at-credit { font-size: 12px; }

    .at-caption {
        padding: 0;
    }
    .at-caption a,
    .at-caption .at-caption-name { font-size: 12px; }
    .at-text p.at-caption {
        text-align: center;
        font-size: 12px;
    }

    .at-footer { padding: 40px var(--container-pad); font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .at-kv-slide { transition: none; }
    .at-kv-slide.is-active img { animation: none; }
    .at-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   2026-10-08 構成案（keisuke さん）に合わせた部品
   縦の間隔                         PC     タブレット  スマホ
   トップ KV → ATELIERの文章         160    120         90    （構成案「大きく余白」）
   トップ 文章 → 01                  240    180         120   （構成案「かなり余白」）
   番号 → 写真 / 写真 → 作品名       30     30          30
   作品名 → VIEW                     15     15          15
   VIEW → 次の番号                   340    255         170   （参考サイトの写真→写真の距離 約495px に合わせる。説明文が無い分を余白で取る）
   作品ページ ヘッダー → HERO写真    60     45          30
   HERO写真 → 作品名                 60     45          30
   作品名 → 作品文                   30     30          30
   セクションの上                    180    135         90    （ブロック間の1.5倍）
   セクション見出し → 中身           90     90          60
   ========================================================================== */

/* ---------- トップ ---------- */
.at-top-about {
    padding-top: 160px;
    text-align: center;
}

.at-top-about p {
    margin: 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

.at-top-works {
    margin-top: 240px;
}

/* 1作品＝番号・写真・作品名・VIEW をひとまとまりにする */
.at-work {
    text-align: center;
}

/* 作品同士の間隔。参考サイトは写真と写真の間に説明文と120pxの余白2回分があり、写真→写真が約495px（PC）。
   ATELIER は説明文が無いので、その分を余白で取って写真→写真の距離をそろえる */
.at-top-works > .at-work {
    margin-bottom: 340px;
}

.at-top-works > .at-work:last-child {
    margin-bottom: 0;
}

.at-work-num {
    margin: 0 0 30px;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 24px;  /* 34px → 約0.7倍（keisuke さん指示 2026-10-08） */
    line-height: 1;
    letter-spacing: 1px;
}

.at-work .at-figure {
    margin: 0 auto;
}

.at-work-title {
    margin: 30px 0 0;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 18px;  /* 20px → 約0.9倍（keisuke さん指示 2026-10-08） */
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.at-work-title a {
    text-decoration: none;
}

.at-work .at-caption {
    margin-top: 15px;
}

.at-work .at-caption a {
    font-size: 11px;  /* 14px → 約0.8倍（keisuke さん指示 2026-10-08） */
}

/* ---------- 作品ページ ---------- */
.at-hero {
    padding-top: calc(var(--header-h) + 60px);
    text-align: center;
}

.at-hero .at-figure {
    width: 87.5%;
    margin: 0 auto;
}

/* 正方形・縦長の HERO（作品を大きく見せるため 2026-10-09 に切り抜き直したもの）は、PC で巨大にならないよう 8列 */
.at-hero .at-figure.is-tall {
    width: 50%;
}

.at-hero-title {
    margin: 60px 0 0;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.at-hero-lead {
    width: 50%;
    margin: 30px auto 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

.at-section {
    padding-top: 180px;
}

.at-section-head {
    margin: 0 0 90px;
    text-align: center;
}

.at-section-label {
    margin: 0;
    font-family: var(--f-en);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.at-section-sub {
    margin: 8px 0 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-note);
    line-height: 1.8;
    letter-spacing: var(--ls-ja);
}

/* セクション内のモジュールは、見出しの余白で区切るので上下の余白を持たない */
.at-section .at-modules {
    margin-top: 0;
    padding-bottom: 0;
}

/* 写真が未着の枠。比率は style="--ar: 4 / 5" のように指定する */
.at-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--ar, 1);
    width: 100%;
    background-color: #ececec;
    color: #5f5f5f;
    font-family: var(--f-ja);
    font-size: var(--fs-note);
    letter-spacing: var(--ls-ja);
}

/* INFORMATION */
.at-info {
    width: 50%;
    margin: 0 auto;
}

.at-info-list {
    display: grid;
    grid-template-columns: 34% 66%;
    margin: 0;
    border-bottom: 1px solid var(--c-line, #dcdcdc);
}

.at-info-list dt,
.at-info-list dd {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--c-line, #dcdcdc);
    text-align: left;
}

.at-info-list dt {
    font-family: var(--f-en);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.at-info-list dd {
    font-family: var(--f-mix);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: 1.8;
    letter-spacing: var(--ls-ja);
}

.at-inquiry {
    margin-top: 60px;
    text-align: center;
}

.at-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 16px 48px;
    border: 1px solid var(--c-ink);
    background-color: transparent;
    color: var(--c-ink);
    font-family: var(--f-ja);
    font-weight: 400;
    font-size: var(--fs-ja);
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.at-btn:hover {
    background-color: var(--c-ink);
    color: var(--c-bg);
}

.at-btn:disabled,
.at-btn[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    background-color: transparent;
    color: var(--c-ink);
}

.at-inquiry-note {
    margin: 20px 0 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

.at-back {
    padding: 180px 0 120px;
    text-align: center;
}

.at-back .at-caption {
    margin: 0;
}

/* ---------- 問い合わせフォーム ---------- */
.at-form-page {
    padding: calc(var(--header-h) + 100px) 0 120px;
}

.at-form-page .at-page-title {
    margin: 0 0 30px;
    text-align: center;
}

.at-form-lead {
    margin: 0 0 60px;
    text-align: center;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

.at-form {
    width: 50%;
    margin: 0 auto;
}

.at-field {
    margin: 0 0 40px;
    padding: 0;
    border: 0;
}

.at-field-label {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    font-family: var(--f-ja);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: var(--ls-ja);
}

.at-req {
    margin-left: 8px;
    font-size: 10px;
    color: #5f5f5f;
}

/* 入力欄の文字は16px（スマホでの自動拡大を防ぐため） */
.at-input,
.at-textarea {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    background-color: #fff;
    color: var(--c-ink);
    font-family: var(--f-ja);
    font-size: 16px;
    line-height: 1.6;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
}

.at-textarea {
    min-height: 200px;
    resize: vertical;
}

.at-input:focus,
.at-textarea:focus {
    outline: none;
    border-color: var(--c-ink);
    box-shadow: 0 0 0 1px var(--c-ink);
}

.at-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-family: var(--f-mix);
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.at-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--c-ink);
    cursor: pointer;
}

.at-check-works {
    text-transform: uppercase;
}

.at-consent {
    margin: 0 0 40px;
    font-family: var(--f-ja);
    font-size: 13px;
    text-transform: none;
}

.at-consent a {
    text-underline-offset: 3px;
}

.at-form-submit {
    text-align: center;
}

.at-field-error,
.at-form-errors {
    color: #8a1c1c;
    font-family: var(--f-ja);
    font-size: 12px;
    line-height: 1.8;
}

.at-field-error {
    margin: 8px 0 0;
}

.at-form-errors {
    margin: 0 0 40px;
    padding: 16px 20px;
    border-left: 2px solid #8a1c1c;
    background-color: #fff;
}

.at-form-errors ul {
    margin: 0;
    padding-left: 1.2em;
}

/* ボット避けの欄。人には見えない */
.at-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.at-thanks {
    text-align: center;
}

.at-thanks p {
    margin: 0 0 1em;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: var(--fs-ja);
    line-height: var(--lh-ja);
    letter-spacing: var(--ls-ja);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .at-top-about { padding-top: 120px; }
    .at-top-works { margin-top: 180px; }
    .at-top-works > .at-work:not(:last-child) { margin-bottom: 255px; }
    .at-work-num { font-size: 13px; }
    .at-work-title { font-size: 16px; }

    .at-hero { padding-top: calc(var(--header-h) + 45px); }
    .at-hero .at-figure.is-tall { width: 62.5%; }
    .at-hero-title { margin-top: 45px; font-size: 38px; }
    .at-hero-lead { width: 62.5%; }
    .at-section { padding-top: 135px; }
    .at-info { width: 62.5%; }
    .at-back { padding: 135px 0 90px; }

    .at-form { width: 75%; }
}

@media (max-width: 767px) {
    .at-top-about { padding-top: 90px; }
    .at-top-works { margin-top: 120px; }
    .at-top-works > .at-work:not(:last-child) { margin-bottom: 170px; }
    .at-work-num { font-size: 13px; }
    .at-work-title { font-size: 16px; }
    .at-work .at-caption a { font-size: 10px; }

    .at-hero { padding-top: calc(var(--header-h) + 30px); }
    .at-hero .at-figure,
    .at-hero .at-figure.is-tall { width: 100%; }
    .at-hero-title { margin-top: 30px; font-size: 28px; }
    .at-hero-lead { width: 100%; }
    .at-section { padding-top: 90px; }
    .at-section-head { margin-bottom: 60px; }
    .at-section-label { font-size: 14px; }
    .at-info { width: 100%; }
    .at-info-list dt { font-size: 12px; }
    .at-back { padding: 90px 0 60px; }
    .at-btn { width: 100%; padding: 16px 20px; }

    .at-form-page { padding: calc(var(--header-h) + 60px) 0 60px; }
    .at-form-lead { text-align: left; margin-bottom: 40px; }
    .at-form { width: 100%; }
    .at-field { margin-bottom: 30px; }
}

/* ==========================================================================
   作品ページの文字を全体的に少し小さく（keisuke さん指示 2026-10-08）
   body.at-page-work（作品ページ）だけに効かせる。トップと問い合わせフォームは指示が無いので変えない
                          PC     タブレット  スマホ
   作品名（HERO）         50→40  38→30       28→22
   セクション見出し       18→16  18→16       14→12
   和文（作品文・説明・案内・価格表の値）13→12  13→12  12→11
   キャプション・価格表の項目名・Back      14→12  14→12  12→11
   ========================================================================== */
.at-page-work {
    --fs-ja: 12px;
}

.at-page-work .at-hero-title { font-size: 40px; }
.at-page-work .at-section-label { font-size: 16px; }
.at-page-work .at-caption .at-caption-name,
.at-page-work .at-caption a,
.at-page-work .at-info-list dt { font-size: 12px; }

@media (min-width: 768px) and (max-width: 1023px) {
    .at-page-work .at-hero-title { font-size: 30px; }
}

@media (max-width: 767px) {
    .at-page-work {
        --fs-ja: 11px;
    }
    .at-page-work .at-hero-title { font-size: 22px; }
    .at-page-work .at-section-label { font-size: 12px; }
    .at-page-work .at-caption .at-caption-name,
    .at-page-work .at-caption a,
    .at-page-work .at-info-list dt { font-size: 11px; }
}

/* ==========================================================================
   SWAROVSKI 3作品（PARAIBA / RUBY / CITRINE）の調整（2026-10-09 `swarovskyのページの依頼/`）
   body.at-page-v2 だけに効かせる。BEADED BAG・KAREN SILVER は指示が無いので変えない
   ========================================================================== */

/* 16列（横幅100%） */
.at-col-16 { width: 100%; }

/* ① HERO：作品写真を現状の約2倍の見え方に。
   写真の中の作品を約67%→約92%に詰めたうえで、PC の表示幅を 50%→75% にする（作品の見え方は約2倍）。
   スマホは元から全幅なので、写真の詰め方だけで大きくなる（約1.4倍） */
.at-page-v2 .at-hero .at-figure.at-hero-large { width: 75%; }

/* ⑥ INFORMATION：見出し・項目名・本文を少し小さく、罫線を控えめに、ボタンを少しコンパクトに */
.at-page-v2 #sec-info { font-size: 14px; }
.at-page-v2 .at-info-list { border-bottom-color: #ececec; }
.at-page-v2 .at-info-list dt,
.at-page-v2 .at-info-list dd {
    padding: 16px 0;
    border-top-color: #ececec;
}
.at-page-v2 .at-info-list dt { font-size: 11px; }
.at-page-v2 .at-info-list dd { font-size: 11px; }
.at-page-v2 .at-btn {
    min-height: 44px;
    padding: 12px 32px;
    font-size: 11px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .at-page-v2 .at-hero .at-figure.at-hero-large { width: 87.5%; }
}

@media (max-width: 767px) {
    .at-page-v2 .at-hero .at-figure.at-hero-large { width: 100%; }
    .at-page-v2 #sec-info { font-size: 11px; }
    .at-page-v2 .at-info-list dt,
    .at-page-v2 .at-info-list dd { font-size: 10px; }
    .at-page-v2 .at-btn {
        width: auto;
        padding: 12px 28px;
    }
}

/*
  SWAROVSKI 3作品：写真同士の間隔（2026-10-09）
  参考サイトは写真の下にキャプション（30px＋約2行）があり、写真→写真が約190px（PC）。
  FULL/DETAIL のラベルを外した分だけ距離が縮んでいたので、余白で同じ距離にそろえる
*/
.at-page-v2 { --module-gap: 190px; }

@media (min-width: 768px) and (max-width: 1023px) {
    .at-page-v2 { --module-gap: 140px; }
}

@media (max-width: 767px) {
    .at-page-v2 { --module-gap: 95px; }
}

/* ==========================================================================
   KAREN SILVER（2026-10-09 `karenページの依頼/`）
   文字サイズ・余白・INFORMATION は .at-page-v2（SWAROVSKI と共通）。ここは KAREN だけにある部品
   ========================================================================== */

/*
  ④ MAKING のモノクロ写真：完成品写真より少し控えめ。
  スマホは画面幅の75〜85%が目安 → 80%（393px幅で約314px）になるよう、列の幅を 95% にする
  （列の幅 95% × 363px − 内側の余白 30px ≈ 314px）
*/
.at-making-photo { width: 37.5%; }

/* ⑤ イメージ写真：大きめに、前後の余白を活かす（前後はセクションの余白 180 / 135 / 90px） */
.at-image-photo { width: 62.5%; }

/* INFORMATION の注記（※目の色・素材については…） */
.at-info-note {
    margin: 20px 0 0;
    font-family: var(--f-ja);
    font-weight: 300;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: var(--ls-ja);
    text-align: left;
}

/*
  MATERIAL の小見出し（BODY / STONE / METAL）。2026-10-21 `20261021-改修依頼/` の見本画像のフォーマット
  見本は小見出しが値より小さいグレー、項目同士は少し空ける
*/
.at-info-sub,
.at-info-subval { display: block; }
.at-info-sub {
    font-family: var(--f-en);
    font-size: 0.85em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5f5f5f;  /* 既存の補足文と同じグレー（背景 #F9F9F9 に対し 6:1 以上） */
}
.at-info-subval + .at-info-sub { margin-top: 0.6em; }

@media (min-width: 768px) and (max-width: 1023px) {
    .at-making-photo { width: 50%; }
    .at-image-photo { width: 75%; }
}

@media (max-width: 767px) {
    .at-making-photo { width: 95%; }
    .at-image-photo { width: 100%; }
    /* DETAIL（頭と尻尾）だけほんの少し大きく（約1.1倍）。2026-10-22 `20261021-改修依頼/追加依頼01`
       写真の中はビーズが枠いっぱいのため、枠ごと左右の余白へ少しはみ出させる（写真の背景はページと同じ色） */
    .at-page-karen .at-pair-right { width: 110%; margin-left: -5%; margin-right: -5%; }
    .at-info-note { font-size: 10px; }
}

/* ==========================================================================
   BEADED BAG（2026-10-09 `ビーズバックペーの修正依頼/`）
   文字サイズ・余白・INFORMATION は .at-page-v2（他の作品と共通）
   ========================================================================== */

/* ① HERO：正面写真を約2倍に。写真の中のバッグを約47%→約91%に詰め、PC は表示幅を 87.5% にする（約1.9倍）。
   スマホは全幅のまま（約1.9倍） */
.at-page-bag .at-hero .at-figure.at-hero-large { width: 87.5%; }

@media (max-width: 767px) {
    .at-page-bag .at-hero .at-figure.at-hero-large { width: 100%; }
}

/* ==========================================================================
   追加依頼（2026-10-09 13:43 `20261009-1343追加依頼/`）
   ========================================================================== */

/* 横幅画面いっぱい（端から端まで）。SWAROVSKI の金具と糸の写真、KAREN のビーズの寄り。
   列の中からはみ出させるので、本文側で横スクロールが出ないよう clip する */
.at-content { overflow-x: clip; }

.at-modules > .at-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}

/* スマホだけ横幅いっぱい（BAG のビーズの超接写。縦長なので PC では12列のまま） */
@media (max-width: 767px) {
    .at-modules > .at-bleed-sp {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
    }
}

/* トップの KV：スクロールの白い丸をなくし、矢印だけにする（タップできる範囲は 44px 角のまま） */
.at-kv-scroll,
.at-kv-scroll:hover {
    width: 44px;
    height: 44px;
    background-color: transparent;
    color: #fff;
}

.at-kv-scroll:hover { opacity: 0.7; }

.at-kv-scroll svg {
    width: 26px;
    height: 26px;
}

.at-kv--light .at-kv-scroll { color: var(--c-ink); background-color: transparent; }

@media (max-width: 767px) {
    .at-kv-scroll { width: 44px; height: 44px; }
    .at-kv-scroll svg { width: 24px; height: 24px; }
}
