@charset "UTF-8";
/* ==========================================================================
   株式会社成楽 コーポレートサイト
   ベース：A×C 折衷案3（FV＝静謐・余白／事業内容＝縦書きタイトル）
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-soft: #55504b;
  --muted: #8a8580;
  --line: #dad6d1;
  --paper: #f5f4f2;
  --blush: #f6eeec;
  --brown: #2a2223;
  --brown-text: #5b4f50;
  --accent: #b81f25;
  --rose: #e3b9b6;
  --white: #fff;

  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --en: "Cormorant Garamond", serif;
  --en-sans: "Outfit", sans-serif;

  --wrap: 1200px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1440px; }
.wrap--narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 見出しラベル ---------- */
.label-en { font-family: var(--en); font-size: 18px; letter-spacing: .2em; color: var(--muted); line-height: 1.6; }
.label-c { font-family: var(--en-sans); font-weight: 600; font-size: 13px; letter-spacing: .24em; color: var(--accent); line-height: 1.6; }
.sec-title { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.6; letter-spacing: .12em; }
.sec-title-c { font-weight: 900; font-size: 36px; line-height: 1.5; letter-spacing: .06em; }
.sec-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.lead { color: var(--ink-soft); font-size: 15px; }

/* ---------- ボタン・リンク ---------- */
.more { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .14em; }
.more__icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.more__icon svg { width: 14px; height: 14px; stroke: currentColor; }
.more:hover .more__icon { background: var(--accent); border-color: var(--accent); color: var(--white); }
.more--solid .more__icon { background: var(--accent); border-color: var(--accent); color: var(--white); width: 48px; height: 48px; }
.more--solid { font-weight: 700; font-size: 14px; letter-spacing: .08em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 36px; border-radius: 999px; border: none;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; cursor: pointer;
  background: var(--ink); color: var(--white); transition: background .2s;
}
.btn:hover { background: var(--accent); color: var(--white); }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: #8f161b; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- ヘッダー ---------- */
.site-header { position: relative; z-index: 50; background: var(--white); }
.site-header__inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo img { height: 24px; width: auto; }
.gnav { display: flex; align-items: center; gap: 40px; font-size: 13px; letter-spacing: .14em; }
.gnav a[aria-current="page"] { color: var(--accent); }
.gnav__contact { padding: 9px 24px; border-radius: 999px; background: var(--ink); color: var(--white); }
.gnav .gnav__contact:hover, .gnav .gnav__contact[aria-current="page"] { background: var(--accent); color: var(--white); }
.menu-btn {
  display: none; width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--ink); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; stroke: currentColor; }

/* ---------- FV（トップ） ---------- */
.hero { position: relative; height: 760px; overflow: hidden; background: #0e6b8a; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__copy {
  position: absolute; right: 12%; top: 120px;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 500; font-size: 40px;
  color: var(--white); line-height: 2.2; letter-spacing: .3em;
}
.hero__en { position: absolute; left: 40px; bottom: 36px; font-family: var(--en); font-size: 20px; color: var(--white); letter-spacing: .08em; line-height: 1.4; }

/* ---------- 下層ページヘッダー ---------- */
.page-head { padding: 72px 0 64px; }
.page-head__title { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.5; letter-spacing: .14em; margin-top: 4px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--accent); }
.page-visual { height: 420px; overflow: hidden; }
.page-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 事業内容（縦書きタイトル） ---------- */
.section { padding: 160px 0; }
.section--s { padding: 120px 0; }
.svc-list { display: flex; flex-direction: column; gap: 120px; margin-top: 88px; }
.vrow { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .8fr); gap: 56px; align-items: start; }
.vrow--rev { grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.2fr); }
.vrow--rev .vrow__img { order: 3; }
.vrow--rev .vrow__ttl { order: 2; }
.vrow--rev .vrow__txt { order: 1; }
.vrow__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.vrow__ttl { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.5; letter-spacing: .24em; }
.vrow__txt { padding-top: 8px; }
.vrow__num { font-family: var(--en); font-size: 72px; line-height: 1; color: var(--rose); }
.vrow__en { margin-top: 10px; font-family: var(--en); font-size: 16px; letter-spacing: .18em; color: var(--accent); }
.vrow__desc { margin-top: 24px; color: var(--ink-soft); font-size: 14px; }
.vrow .more { margin-top: 28px; }

/* ---------- 代表挨拶（A） ---------- */
.message { background: var(--paper); }
.message__inner { padding: 140px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.message__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.message__sub { margin-top: 4px; font-size: 14px; letter-spacing: .14em; color: var(--ink-soft); }
.message__catch { margin-top: 24px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 2; letter-spacing: .14em; }
.message__body p { margin-top: 16px; color: var(--ink-soft); font-size: 14px; }
.message__body p:first-child { margin-top: 32px; }
.signature { margin-top: 36px; }
.signature__role { font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); }
.signature__name { margin-top: 2px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .24em; }

/* ---------- 取扱商品（C） ---------- */
.products { background: var(--blush); color: var(--brown); }
.brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.brand + .brand { margin-top: 112px; }
.brand--rev .brand__img { order: 2; }
.brand__img img { width: 82%; margin: 0 auto; }
.brand__img--photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.brand__ttl { margin-top: 10px; font-weight: 900; font-size: 32px; line-height: 1.5; letter-spacing: .04em; }
.brand__name { margin-top: 12px; font-family: var(--en-sans); font-weight: 500; font-size: 18px; letter-spacing: .08em; }
.brand__desc { margin-top: 20px; color: var(--brown-text); }
.brand__items { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--brown); }
.brand__items li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.brand__links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; }

/* ---------- お知らせ（C） ---------- */
.news { color: var(--brown); }
.news-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.news-card { display: block; }
.news-card__img { overflow: hidden; border-radius: 18px; }
.news-card__img img { width: 100%; aspect-ratio: 13 / 8; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__date { margin-top: 16px; font-family: var(--en-sans); font-size: 14px; color: #7a6d6e; line-height: 1.6; }
.news-card__ttl { margin-top: 4px; font-weight: 500; line-height: 1.8; }
.news__foot { margin-top: 56px; }

/* ---------- 記事 ---------- */
.article { padding-bottom: 140px; }
.article__date { font-family: var(--en-sans); font-size: 14px; color: #7a6d6e; }
.article__body { margin-top: 48px; }
.article__body p + p { margin-top: 1.2em; }
.article__figs { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.article__figs img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.article__figs--single img { aspect-ratio: auto; max-width: 480px; }
.video { margin-top: 48px; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pager { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }

/* ---------- 汎用コンテンツ ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split--top { align-items: start; }
.split--info { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split__img img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.6; letter-spacing: .1em; }
.h3 + p, .h3 + .lead { margin-top: 20px; }
.prose p + p { margin-top: 1.2em; }
.prose p { color: var(--ink-soft); }
.bg-paper { background: var(--paper); }
.bg-blush { background: var(--blush); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips li { padding: 6px 20px; border-radius: 999px; background: var(--white); font-size: 14px; }
.bg-white .chips li, .section:not([class*="bg-"]) .chips li { background: var(--paper); }

.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--en); font-size: 56px; line-height: 1; color: var(--rose); }
.steps h4 { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .1em; line-height: 1.6; }
.steps p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

.item-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: var(--white); }
.item__brand { margin-top: 16px; font-family: var(--en-sans); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.item__name { margin-top: 2px; font-weight: 700; font-size: 16px; line-height: 1.7; }
.item__desc { margin-top: 6px; font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

.profile { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: center; }
.profile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.profile__name { font-family: var(--en); font-size: 28px; letter-spacing: .14em; line-height: 1.4; }

/* ---------- 会社情報 ---------- */
.info { display: grid; grid-template-columns: 10em minmax(0, 1fr); border-top: 1px solid var(--ink); font-size: 15px; }
.info dt, .info dd { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; }
.map { margin-top: 32px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- お問い合わせCTA ---------- */
.cta { background: var(--paper); }
.cta__inner { padding: 120px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.cta__tel { font-family: var(--en); font-size: 44px; letter-spacing: .06em; line-height: 1.2; }
.cta__note { font-size: 13px; color: var(--ink-soft); }

/* ---------- フォーム ---------- */
.form { margin-top: 56px; }
.form__row { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.form__row:first-child { border-top: 1px solid var(--ink); }
.form__label { font-weight: 700; font-size: 15px; padding-top: 12px; line-height: 1.6; }
.req, .opt { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 500; letter-spacing: .1em; padding: 1px 10px; border-radius: 999px; vertical-align: 2px; }
.req { background: var(--accent); color: var(--white); }
.opt { background: var(--paper); color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid transparent;
  background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7;
  transition: border-color .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.textarea { min-height: 220px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 48px; }
.is-error .input, .is-error .select, .is-error .textarea { border-color: var(--accent); background: #fdf3f3; }
.form__error { margin-top: 8px; color: var(--accent); font-size: 13px; line-height: 1.6; }
.form__hint { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form__value { padding-top: 12px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.form__agree { margin-top: 40px; text-align: center; font-size: 14px; }
.form__agree label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.form__agree a { text-decoration: underline; text-underline-offset: 3px; }
.form__actions { margin-top: 48px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.form__alert { margin-top: 40px; padding: 18px 24px; border-radius: 12px; background: #fdf3f3; color: var(--accent); font-size: 14px; line-height: 1.8; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-steps { display: flex; justify-content: center; gap: 12px; margin-top: 8px; font-family: var(--en); font-size: 15px; letter-spacing: .16em; color: var(--muted); }
.form-steps li { display: flex; align-items: center; gap: 12px; }
.form-steps li + li::before { content: ""; width: 32px; height: 1px; background: var(--line); }
.form-steps .is-current { color: var(--accent); }
.complete { text-align: center; padding: 40px 0 0; }
.complete .h3 { margin-bottom: 24px; }

/* ---------- フッター（C） ---------- */
.site-footer { background: var(--brown); color: var(--white); }
.site-footer__inner { padding: 88px 0 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer__logo img { height: 26px; width: auto; }
.site-footer__addr { margin-top: 24px; font-size: 14px; color: #d9cfcf; line-height: 2; }
.fnav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 56px; font-size: 13px; letter-spacing: .1em; align-content: start; }
.fnav a { color: #d9cfcf; }
.fnav a:hover { color: var(--white); }
.site-footer__bottom { margin-top: 64px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.copyright { font-family: var(--en-sans); font-size: 12px; letter-spacing: .14em; color: #a89c9d; }
.site-footer__sub { font-size: 12px; color: #a89c9d; }

/* ---------- ドロワー（SP） ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; background: var(--white); padding: 24px 20px 40px; display: none; overflow-y: auto; }
.drawer.is-open { display: block; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.drawer__nav { margin-top: 40px; display: flex; flex-direction: column; }
.drawer__nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 18px; letter-spacing: .14em; display: flex; justify-content: space-between; align-items: baseline; }
.drawer__nav a span { font-family: var(--en); font-size: 14px; color: var(--muted); }
.drawer .btn { margin-top: 40px; width: 100%; }
body.is-locked { overflow: hidden; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0 160px; }
.notfound__code { font-family: var(--en); font-size: 120px; line-height: 1; color: var(--rose); }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1080px) {
  .gnav { gap: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .site-header__inner { height: 72px; }
  .site-logo img { height: 20px; }
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { height: 560px; }
  .hero__copy { font-size: 26px; right: 24px; top: 56px; }
  .hero__en { left: 20px; bottom: 24px; font-size: 16px; }
  .section { padding: 96px 0; }
  .section--s { padding: 80px 0; }
  .sec-title { font-size: 28px; }
  .sec-title-c { font-size: 28px; }
  .page-head { padding: 40px 0 40px; }
  .page-head__title { font-size: 28px; }
  .breadcrumb { margin-bottom: 24px; }
  .page-visual { height: 240px; }
  .svc-list { gap: 72px; margin-top: 48px; }
  .vrow, .vrow--rev { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vrow--rev .vrow__img, .vrow--rev .vrow__ttl, .vrow--rev .vrow__txt { order: 0; }
  .vrow__ttl { writing-mode: horizontal-tb; font-size: 22px; }
  .vrow__num { font-size: 52px; }
  .message__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 96px 0; }
  .message__img img { aspect-ratio: 16 / 10; }
  .message__catch { font-size: 24px; }
  .brand, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .brand--rev .brand__img { order: 0; }
  .brand + .brand { margin-top: 80px; }
  .brand__ttl { font-size: 24px; }
  .news-grid, .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .profile { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .profile img { max-width: 180px; }
  .info { grid-template-columns: 7em minmax(0, 1fr); font-size: 14px; }
  .cta__inner { grid-template-columns: minmax(0, 1fr); padding: 80px 0; }
  .cta__tel { font-size: 34px; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
  .form__label { padding-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer__inner { padding: 64px 0 32px; }
}
@media (max-width: 560px) {
  .news-grid, .item-grid { grid-template-columns: minmax(0, 1fr); }
  .fnav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
