/* ============================================================
   SalesBreaker Corporate — "Luxe" Design System
   ------------------------------------------------------------
   墨 × 生成り × ローズ × シャンパンゴールド
   Serif: Shippori Mincho / Cormorant Garamond
   Sans : Zen Kaku Gothic New
   ============================================================ */

:root {
    --ink:        #26211f;
    --ink-soft:   #55504c;
    --ink-mute:   #8c8681;
    --paper:      #f7f3ec;
    --paper-deep: #f1ebe1;
    --white:      #fffdf9;
    --rose:       #b3506c;
    --rose-deep:  #933f57;
    --rose-mist:  #f2e4e7;
    --gold:       #a8875a;
    --gold-soft:  rgba(168, 135, 90, 0.45);
    --line:       rgba(38, 33, 31, 0.14);
    --line-faint: rgba(38, 33, 31, 0.08);

    --serif-jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;
    --serif-en: "Cormorant Garamond", "Times New Roman", serif;
    --sans-jp:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

    --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 92px;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--paper);
    color: var(--ink-soft);
    font-family: var(--sans-jp);
    font-weight: 400;
    font-size: 15px;
    line-height: 2.1;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-feature-settings: "palt";
}

/* 紙の質感（微細グレイン） */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--rose-mist); color: var(--rose-deep); }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
.serif   { font-family: var(--serif-jp); }
.en      { font-family: var(--serif-en); }

.kicker {
    display: flex;
    align-items: center;
    gap: 1.1em;
    font-family: var(--serif-en);
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2.2rem;
}
.kicker::before {
    content: '';
    width: 3.2rem;
    height: 1px;
    background: var(--gold-soft);
    flex-shrink: 0;
}
.kicker--center {
    justify-content: center;
}
.kicker--center::after {
    content: '';
    width: 3.2rem;
    height: 1px;
    background: var(--gold-soft);
    flex-shrink: 0;
}

.display-1 {
    font-family: var(--serif-jp);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.display-2 {
    font-family: var(--serif-jp);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.75;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.display-3 {
    font-family: var(--serif-jp);
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.8;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.accent { color: var(--rose); }

.lead {
    font-size: 1.02rem;
    line-height: 2.4;
    color: var(--ink-soft);
}

/* セクション見出し（番号 + 英字 + 和文） */
.sec-head { margin-bottom: 4.5rem; }
.sec-head .sec-no {
    font-family: var(--serif-en);
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 1.2em;
    margin-bottom: 1.4rem;
}
.sec-head .sec-no::after {
    content: '';
    flex: 0 0 4rem;
    height: 1px;
    background: var(--gold-soft);
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-no { justify-content: center; }
.sec-head--center .sec-no::before {
    content: '';
    flex: 0 0 4rem;
    height: 1px;
    background: var(--gold-soft);
}

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}
.container--narrow { width: min(860px, 92%); }

.section { padding: clamp(6rem, 12vw, 10rem) 0; }
.section--flush-top { padding-top: 0; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background-color 0.6s var(--ease-luxe), box-shadow 0.6s var(--ease-luxe), border-color 0.6s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(247, 243, 236, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line-faint);
}
.header-inner {
    width: min(1240px, 94%);
    margin-inline: auto;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.brand-mark {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: transform 0.6s var(--ease-luxe);
}
.brand:hover .brand-mark { transform: rotate(8deg); }
.brand-name {
    font-family: var(--serif-en);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    color: var(--ink);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2.4rem;
}
@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
}
.nav-desktop a:not(.btn-contact) {
    position: relative;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    padding-bottom: 6px;
    transition: color 0.4s;
}
.nav-desktop a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 1px;
    background: var(--rose);
    transition: width 0.5s var(--ease-luxe), left 0.5s var(--ease-luxe);
}
.nav-desktop a:not(.btn-contact):hover { color: var(--ink); }
.nav-desktop a:not(.btn-contact):hover::after { width: 100%; left: 0; }
.nav-desktop a.is-active { color: var(--rose-deep); }
.nav-desktop a.is-active::after { width: 100%; left: 0; background: var(--rose); }

.btn-contact {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--paper);
    background: var(--ink);
    padding: 0.95em 2.6em;
    border-radius: 2px;
    transition: background-color 0.5s var(--ease-luxe), transform 0.5s var(--ease-luxe);
}
.btn-contact:hover { background: var(--rose-deep); transform: translateY(-2px); }

/* ハンバーガー */
.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px; height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 220;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn span {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 0.5s var(--ease-luxe), opacity 0.4s, background-color 0.4s;
}
.menu-btn span:nth-child(1) { width: 24px; }
.menu-btn span:nth-child(2) { width: 16px; }
.menu-btn.open span:nth-child(1) { transform: translateY(4px) rotate(20deg); width: 24px; }
.menu-btn.open span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); width: 24px; }

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(247, 243, 236, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-luxe), visibility 0.6s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
    font-family: var(--serif-jp);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.14em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease-luxe), transform 0.7s var(--ease-luxe), color 0.4s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover, .mobile-menu a.is-active { color: var(--rose-deep); }
.mobile-menu a.btn-contact {
    font-family: var(--sans-jp);
    font-size: 0.85rem;
    color: var(--paper);
    margin-top: 1rem;
}
.mobile-menu a.btn-contact:hover { color: var(--paper); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    padding: 1.35em 3.6em;
    border-radius: 2px;
    transition: all 0.55s var(--ease-luxe);
    cursor: pointer;
    border: 1px solid transparent;
}
.btn--primary {
    background: var(--ink);
    color: var(--paper);
}
.btn--primary:hover {
    background: var(--rose-deep);
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -18px rgba(147, 63, 87, 0.55);
}
.btn--ghost {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}
.btn--ghost:hover {
    border-color: var(--rose);
    color: var(--rose-deep);
    transform: translateY(-3px);
}
.btn--paper {
    background: var(--paper);
    color: var(--ink);
}
.btn--paper:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.4);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9em;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--ink);
    transition: color 0.4s;
}
.link-arrow .arrow-line {
    width: 3.4rem;
    height: 1px;
    background: var(--ink);
    position: relative;
    transition: width 0.5s var(--ease-luxe), background-color 0.4s;
}
.link-arrow .arrow-line::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 9px; height: 1px;
    background: inherit;
    transform-origin: right bottom;
    transform: rotate(-38deg);
    background: currentColor;
}
.link-arrow:hover { color: var(--rose-deep); }
.link-arrow:hover .arrow-line { width: 4.6rem; background: var(--rose-deep); }

/* ------------------------------------------------------------
   Decorative
   ------------------------------------------------------------ */
.deco-circle {
    position: absolute;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    pointer-events: none;
}
.deco-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(179, 80, 108, 0.10) 0%, transparent 65%);
}

.hairline { border: none; height: 1px; background: var(--line-faint); }

/* 縦書き */
.tategaki {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-feature-settings: "palt" 0;
}

/* アートパネル（写真の代替） */
.art-panel {
    position: relative;
    background:
        radial-gradient(120% 90% at 12% 8%, rgba(179, 80, 108, 0.13) 0%, transparent 55%),
        radial-gradient(110% 100% at 88% 92%, rgba(168, 135, 90, 0.14) 0%, transparent 58%),
        linear-gradient(160deg, var(--white) 0%, var(--paper-deep) 100%);
    border: 1px solid var(--line-faint);
    overflow: hidden;
}
.art-panel::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid var(--gold-soft);
    pointer-events: none;
}

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card {
    background: var(--white);
    border: 1px solid var(--line-faint);
    border-radius: 3px;
    transition: transform 0.7s var(--ease-luxe), box-shadow 0.7s var(--ease-luxe), border-color 0.5s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(179, 80, 108, 0.28);
    box-shadow: 0 34px 60px -38px rgba(38, 33, 31, 0.35);
}

.icon-ring {
    width: 64px; height: 64px;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose);
    transition: background-color 0.6s var(--ease-luxe), color 0.6s, border-color 0.6s;
}
.card:hover .icon-ring {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--paper);
}

/* ------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--ease-luxe), transform 1.2s var(--ease-luxe);
    transition-delay: var(--d, 0s);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
    background: var(--paper-deep);
    border-top: 1px solid var(--line-faint);
    padding: 5.5rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4.5rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3.5rem; }
}
.footer-brand .brand-name { font-size: 1.35rem; }
.footer-brand p {
    font-size: 0.82rem;
    line-height: 2.3;
    color: var(--ink-mute);
    max-width: 24rem;
    margin-top: 1.6rem;
}
.footer-col h3 {
    font-family: var(--serif-en);
    font-style: italic;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.8rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-col a {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    transition: color 0.4s;
}
.footer-col a:hover, .footer-col a.is-active { color: var(--rose-deep); }
.footer-bottom {
    border-top: 1px solid var(--line-faint);
    padding-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p, .footer-bottom a {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
}
.footer-bottom a { transition: color 0.4s; margin-left: 1.6rem; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--ink); }

/* ------------------------------------------------------------
   Forms（contact）
   ------------------------------------------------------------ */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.8em;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink);
    margin-bottom: 0.9rem;
}
.required-badge {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--rose-deep);
    border: 1px solid rgba(179, 80, 108, 0.45);
    border-radius: 2px;
    padding: 0.15em 0.8em;
}
.form-input {
    width: 100%;
    padding: 1.05em 1.2em;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: var(--sans-jp);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.45s, box-shadow 0.45s;
}
.form-input::placeholder { color: #c2bbb3; }
.form-input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(179, 80, 108, 0.08);
}
textarea.form-input { resize: none; line-height: 1.9; }

.custom-checkbox {
    width: 1.3rem; height: 1.3rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    background: var(--white);
    flex-shrink: 0;
    transition: all 0.3s;
}
.custom-checkbox:checked {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
}
.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: var(--paper);
    font-size: 0.85rem;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* ------------------------------------------------------------
   News cards（共通）
   ------------------------------------------------------------ */
.news-card {
    background: var(--white);
    border: 1px solid var(--line-faint);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.7s var(--ease-luxe), box-shadow 0.7s var(--ease-luxe), border-color 0.5s;
}
.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(179, 80, 108, 0.3);
    box-shadow: 0 34px 60px -38px rgba(38, 33, 31, 0.35);
}
.news-card .thumb {
    height: 200px;
    overflow: hidden;
    background: var(--paper-deep);
    border-bottom: 1px solid var(--line-faint);
}
.news-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(0.98);
    transition: transform 1.4s var(--ease-luxe), filter 0.8s;
}
.news-card:hover .thumb img { transform: scale(1.06); filter: saturate(1); }
.news-card .body {
    padding: 2rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}
.news-card .meta {
    display: flex;
    align-items: center;
    gap: 1.1em;
}
.news-card .cat {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--rose-deep);
    border: 1px solid rgba(179, 80, 108, 0.4);
    border-radius: 2px;
    padding: 0.2em 0.9em;
}
.news-card .date {
    font-family: var(--serif-en);
    font-style: italic;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
}
.news-card .title {
    font-family: var(--serif-jp);
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: var(--ink);
    transition: color 0.4s;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .title { color: var(--rose-deep); }

/* ローディング */
.loader-dot {
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-top-color: var(--rose);
    border-radius: 50%;
    animation: luxe-spin 1.1s linear infinite;
}
@keyframes luxe-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.tc { text-align: center; }
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) {
    .sp-only { display: none; }
    .pc-only { display: inline; }
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
