@charset "UTF-8";
/* ==========================================================================
   Domus LP — base.css
   Figmaデザイントークンをそのまま変数化した土台。
   個別セクションのスタイルは style.css 側に書く。
   ========================================================================== */

/* --------------------------------------------------
   1. デザイントークン（Figma variables 由来）
   -------------------------------------------------- */
:root {
  /* color: background */
  --bg-base:        #fefefe;
  --bg-soft:        #fbf9ef;
  --bg-placeholder: #e9e0d5;

  /* color: line */
  --line-base:      #e6dccf;
  --line-grid:      rgba(191, 176, 158, .20);  /* 方眼柄の罫線 */

  /* color: text */
  --text-main:      #3f3733;
  --text-sub: #4e4744;
  --text-muted:     #a2958a;
  --text-inverse:   #ffffff;

  /* color: accent */
  --accent-base:    #c97b3e;
  --accent-dark:    #b06a32;

  /* typography */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
             "Yu Gothic", "Meiryo", sans-serif;
  /* キャッチコピー用の丸ゴシック */
  --font-jp-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
                   "Yu Gothic", "Meiryo", sans-serif;
  --font-script: "Cedarville Cursive", cursive;
  --font-serif-en: "Cormorant Garamond", "Times New Roman", serif;

  /* letter-spacing（Figma上は 0.04em / 0.06em の2値のみ） */
  --ls-wide:   0.03em;
  --ls-wider:  0.06em;

  /* layout */
  --container:      1100px;  /* 本文カラム幅 */
  --container-wide: 1200px;  /* カード系のワイドカラム */
  --gutter:         40px;

  /* section padding（Figma実測: 上下 88–96px） */
  --section-pt: 96px;
  --section-pb: 96px;

  /* effect */
  --radius:      4px;
  --radius-sm:   2px;
  --shadow-cta:  0 4px 14px rgba(77, 61, 46, .12);
  --ease:        cubic-bezier(.25, .46, .45, .94);
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-pt: 64px;
    --section-pb: 64px;
  }
}

/* --------------------------------------------------
   2. リセット
   -------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* ここに overflow を指定するとヘッダーの position:sticky が効かなくなるので入れない。
     横スクロール防止は body 側の overflow-x:hidden で行う */
}

/* 追従ヘッダーの高さ分、アンカー遷移先に余白を確保 */
:target,
section[id],
main[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: var(--ls-wide);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 横スクロール防止 */
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}

a:hover { opacity: .7; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------
   3. タイポグラフィ確定値
   Figma実測値をベースに、768px以下でclamp縮小
   -------------------------------------------------- */
.u-en-label {          /* SERVICE / FLOW / COMPANY 等 */
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--accent-base);
  text-align: center;
}

.u-heading-lv1 {       /* MVのみ 48px＝キャッチコピー。丸ゴシックで柔らかく */
  font-family: var(--font-jp-round);
  font-size: clamp(28px, 3.34vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-wide);
}

.u-heading-lv2 {       /* セクション見出し 32px */
  font-size: clamp(22px, 2.23vw, 32px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: var(--ls-wide);
  text-align: center;
}

.u-heading-lv3 {       /* カード見出し 24px */
  font-size: clamp(18px, 1.67vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  /* letter-spacing: var(--ls-wide); */
}

.u-heading-lv4 {       /* 小見出し 20px */
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-wide);
}

.u-lead {
  font-size: clamp(15px, 1.12vw, 16px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: var(--ls-wide);
  color: var(--text-sub);
}

.u-body {
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--text-sub);
}

/* SPだけで効かせる改行 */
.u-br-sp { display: none; }

@media (max-width: 640px) {
  .u-br-sp { display: inline; }
}

.u-caption {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
}

/* --------------------------------------------------
   4. レイアウトユーティリティ
   -------------------------------------------------- */
.l-container,
.l-container--wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-container {
  max-width: calc(var(--container) + var(--gutter) * 2);
}

.l-container--wide {
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}

.l-section {
  padding-block: var(--section-pt) var(--section-pb);
  position: relative;
}

.l-section__head {
  text-align: center;
  margin-bottom: 48px;
}

.l-section__head .u-en-label + .u-heading-lv2 { margin-top: 14px; }

@media (max-width: 768px) {
  .l-section__head { margin-bottom: 32px; }
}

/* --------------------------------------------------
   5. ボタン
   -------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 200px;
  padding: 13px 20px 13px 24px;
  border: 1px solid var(--accent-base);
  border-radius: var(--radius);
  background: var(--accent-base);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: var(--ls-wider);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.c-btn:hover {
  opacity: 1;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.c-btn--lg {
  min-width: 336px;
  padding: 15px 24px 15px 36px;
  font-size: 18px;
}

.c-btn--outline {
  background: transparent;
  color: var(--accent-base);
  min-width: 0;
  padding: 11px 20px;
  font-size: 14px;
  justify-content: center;
  letter-spacing: var(--ls-wider);
}

.c-btn--outline:hover {
  background: var(--accent-base);
  color: var(--text-inverse);
}

.c-btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}

/* ホバー：矢印アイコンが少し右へ動く */
.c-btn:hover .c-btn__icon { transform: translateX(5px); }

.c-btn--lg .c-btn__icon { width: 22px; height: 22px; }

/* Font Awesome アイコン（<i>）で使う場合。インライン要素なので幅ではなく字送りで揃える */
i.c-btn__icon {
  width: auto;
  height: auto;
  font-size: 16px;
  line-height: 1;
}

.c-btn--lg i.c-btn__icon { font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
  .c-btn__icon { transition: none; }
  .c-btn:hover .c-btn__icon { transform: none; }
  .c-textlink::after { transition: none; }
  .c-textlink:hover::after { transform: none; }
}

/* SPは大ボタンも本文なみの文字サイズに落とす */
@media (max-width: 820px) {
  .c-btn--lg {
    min-width: 0;
    padding: 13px 20px 13px 24px;
    font-size: 15px;
  }

  .c-btn--lg .c-btn__icon { width: 18px; height: 18px; }
  .c-btn--lg i.c-btn__icon { font-size: 18px; }
}

@media (max-width: 480px) {
  .c-btn,
  .c-btn--lg { width: 100%; min-width: 0; }

  /* MVのボタンはイラストと並べるので幅を広げない */
  .p-mv__btn { width: auto; }
}

/* テキストリンク（詳しく見る →） */
.c-textlink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  color: #6a605a;
}

.c-textlink::after {
  content: "→";
  transition: transform .3s var(--ease);
}

.c-textlink:hover::after { transform: translateX(4px); }

.c-textlink--sm {
  font-size: 13px;
  gap: 10px;
  letter-spacing: var(--ls-wide);
}
