/* ============================================================
   アルベリア・シルカ 公式サイト 共通スタイル
   世界観: 夜の静けさ×金の光
   ブランド・ネイビー × 金のロゴ × 白の明朝・センター揃え

   基調色はロゴ画像 `company-docs/logos/gold_gradation.jpg` の背景から実測した
   #001E42。金も同画像のグラデーションから実測(#8A6D2F〜#EDE38A)。
   2026-07-27 ヒロキさん指示で漆黒(#0f0e11)から全面変更。
   ============================================================ */

:root {
  --bg: #001e42;            /* ブランド・ネイビー(基調・ロゴ背景と同色) */
  --bg-deep: #001630;       /* さらに深い紺(ヘッダー/フッター) */
  --panel: #072d57;         /* カード・パネル(altより一段明るい) */
  --panel-2: #0a3563;       /* さらに一段明るいパネル */
  --gold: #c8a35a;          /* 金(アクセント) */
  --gold-soft: #b0904b;     /* 落ち着いた金 */
  --gold-line: rgba(200, 163, 90, .35);
  --text: #eae6dc;          /* 生成りがかった白 */
  --text-dim: #9faabc;      /* 補助テキスト(紺に合わせて寒色寄り) */
  --line: #123a63;          /* 罫線 */
  --ink: #00152e;           /* 金のボタンに乗せる濃紺の文字 */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --gold-grad: linear-gradient(115deg, #8a6d2f 0%, #ba9948 32%, #ede38a 58%, #c8a35a 85%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .75; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 22, 48, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.brand-mark { width: 42px; height: 42px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
}

.brand-tagline {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--gold-soft);
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.global-nav a {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--text);
}

.global-nav a.current { color: var(--gold); }

.nav-line-btn {
  font-family: var(--sans);
  background: var(--gold-grad);
  color: var(--ink) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .8rem !important;
  letter-spacing: .08em;
  font-weight: 500;
}

.nav-line-btn:hover { opacity: .85; }

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(200, 163, 90, .14), transparent 65%),
    var(--bg-deep);
  text-align: center;
  padding: 110px 24px 120px;
}

.hero-mark {
  width: 110px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 0 24px rgba(200, 163, 90, .35));
}

.hero-tagline {
  font-family: var(--serif);
  /* 下限は1.5rem(24px)だと「人生を、根本から再構築する。」14字が375px幅に収まらず
     「る。」だけ次行に落ちた(2026-07-31 iPhone実機で発覚)。5.4vwで320px幅まで2行に収まる */
  font-size: clamp(1.28rem, 5.4vw, 2.4rem);
  font-weight: 600;
  color: #f5f2e9;
  letter-spacing: .12em;
  line-height: 2;
}

.hero-sub {
  margin-top: 30px;
  font-size: .95rem;
  color: var(--text-dim);
  letter-spacing: .12em;
  line-height: 2.3;
}

/* ---------- 汎用セクション ---------- */

.section { padding: 96px 24px; }

.section.alt { background: #04264c; }

.section-inner { max-width: 880px; margin: 0 auto; }

.section-inner.wide { max-width: 1080px; }

.section-label {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  letter-spacing: .18em;
  color: rgba(234, 230, 220, .1);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  color: #f5f2e9;
  text-align: center;
  letter-spacing: .16em;
  margin-bottom: 52px;
  line-height: 1.9;
}

.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--gold-grad);
}

.lead { text-align: center; line-height: 2.5; margin-bottom: 40px; }

.nowrap { white-space: nowrap; } /* 泣き別れさせたくない語をまとめる */

/* 日本語の改行を文節単位にする(Chrome/Edge対応。非対応ブラウザは従来動作にフォールバック)。
   狭い段では語の途中で割れて読みにくくなるため、あわせて .nowrap も併用している */
body, .card p, .card h3, .growth-item li, .growth-goal, .growth-sub, .lead, .prose p {
  word-break: auto-phrase;
}

.prose { text-align: center; }
.prose p + p { margin-top: 1.7em; }

.center { text-align: center; }

/* ---------- 哲学の引用 ---------- */

.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--gold);
  text-align: center;
  letter-spacing: .12em;
  line-height: 2.5;
  padding: 46px 20px;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  margin: 60px 0 0;
}

/* ---------- カード ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 48px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 42px 30px;
  text-align: center;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #f5f2e9;
  letter-spacing: .12em;
  margin-bottom: 18px;
  line-height: 1.8;
}

.card p {
  font-size: .87rem;
  line-height: 2.2;
  color: var(--text-dim);
}

.card .card-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .3em;
  display: block;
  margin-bottom: 12px;
}

/* ---------- ステージ ---------- */

.stage-list { margin-top: 48px; display: grid; gap: 22px; }

.stage {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-soft);
  border-radius: 4px;
  padding: 38px 36px;
}

.stage-badge {
  font-family: var(--serif);
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .22em;
  padding: 7px 0;
  margin-top: 4px;
}

.stage h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: #f5f2e9;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.stage .stage-meta {
  font-family: var(--sans);
  font-size: .76rem;
  color: var(--gold-soft);
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.stage p { font-size: .89rem; line-height: 2.2; color: var(--text-dim); }

/* ---------- 3ステージの成長図 ---------- */

.growth { margin-top: 64px; }

.growth-lead {
  text-align: center;
  font-size: .92rem;
  color: var(--text-dim);
  line-height: 2.2;
  margin-bottom: 40px;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.growth-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-soft);
  border-radius: 4px;
  padding: 30px 26px 32px;
  text-align: center;
}

.growth-tree {
  width: 100%;
  max-width: 128px;
  height: auto;
  color: var(--gold);
  margin-bottom: 16px;
}

.growth-stage {
  font-family: var(--serif);
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 10px;
}

.growth-item h4 {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: #f5f2e9;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.growth-sub {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
  margin-bottom: 22px;
}

.growth-label {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--text-dim);
  padding-top: 18px;
  border-top: 1px solid var(--gold-line);
  margin-bottom: 12px;
}

.growth-item ul { list-style: none; margin-bottom: 22px; }

.growth-item li {
  font-size: .84rem;
  line-height: 2;
  color: var(--text);
}

.growth-goal {
  font-size: .82rem;
  line-height: 2.1;
  color: var(--text-dim);
  text-align: left;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- 図版 ---------- */

.figure { margin: 56px auto 0; max-width: 760px; }

.figure img { border-radius: 4px; box-shadow: 0 10px 50px rgba(0, 8, 22, .55); }

/* ロゴを本文中で見せるとき(about「ロゴに込めたこと」) */
.logo-feature {
  width: 132px;
  margin: 0 auto 44px;
  filter: drop-shadow(0 0 26px rgba(200, 163, 90, .32));
}

/* 人物写真は明るいので、金のヘアラインと余白で紺の地に馴染ませる */
.figure.portrait { max-width: 620px; margin-top: 48px; }

.figure.portrait img {
  border: 1px solid var(--gold-line);
  padding: 8px;
  background: var(--panel);
  box-shadow: 0 14px 60px rgba(0, 8, 22, .6);
}

.figure figcaption {
  text-align: center;
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: 16px;
  letter-spacing: .1em;
}

/* ---------- 注記・法的ボックス ---------- */

.note-box {
  background: var(--panel-2);
  border-left: 2px solid var(--gold);
  padding: 28px 32px;
  font-size: .84rem;
  line-height: 2.2;
  margin-top: 48px;
  border-radius: 0 4px 4px 0;
  color: var(--text-dim);
  text-align: left;
}

.note-box strong { color: var(--gold); font-weight: 600; }

/* ---------- CTA ---------- */

.cta {
  background:
    radial-gradient(ellipse 70% 90% at 50% 115%, rgba(200, 163, 90, .2), transparent 65%),
    var(--bg-deep);
  color: var(--text);
  text-align: center;
  padding: 104px 24px;
  border-top: 1px solid var(--line);
}

.cta .section-title { color: #f5f2e9; }

.cta p { color: var(--text-dim); font-size: .92rem; line-height: 2.4; }

.cta-btn {
  font-family: var(--sans);
  display: inline-block;
  margin-top: 42px;
  background: var(--gold-grad);
  color: var(--ink) !important;
  font-size: .95rem;
  letter-spacing: .12em;
  padding: 18px 60px;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 6px 30px rgba(200, 163, 90, .25);
}

.cta-note {
  margin-top: 36px;
  font-family: var(--sans);
  font-size: .74rem !important;
  color: #7f8ca0 !important;
  line-height: 2.1 !important;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- テーブル(会社概要) ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: .9rem;
}

.info-table th, .info-table td {
  border-bottom: 1px solid var(--line);
  padding: 22px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 2;
}

.info-table th {
  width: 9em;
  color: var(--gold-soft);
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* ---------- 人物 ---------- */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.profile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 46px 38px;
  text-align: center;
}

.profile .profile-role {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--gold-soft);
  margin-bottom: 12px;
}

.profile h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: .22em;
  margin-bottom: 24px;
}

.profile p { font-size: .88rem; line-height: 2.3; color: var(--text-dim); text-align: left; }

.profile .profile-mission {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: .92rem;
  color: var(--text);
  line-height: 2.3;
  text-align: center;
}

/* ---------- 法的ページ長文 ---------- */

.legal-body { font-size: .9rem; line-height: 2.3; color: var(--text-dim); }

.legal-body h3 {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: #f5f2e9;
  letter-spacing: .1em;
  margin: 52px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-line);
}

.legal-body p + p { margin-top: 1.2em; }

.legal-body ul { margin: 14px 0 14px 1.4em; }

.legal-body ul ul { margin-top: 6px; margin-bottom: 6px; }

.legal-body li { margin-bottom: 6px; }

/* ---------- 準備中 ---------- */

.placeholder {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-dim);
  line-height: 2.5;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--text-dim);
  padding: 72px 24px 44px;
  font-size: .8rem;
  border-top: 1px solid var(--line);
}

.footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; }

.footer-mark { width: 52px; margin: 0 auto 22px; opacity: .9; }

.footer-brand {
  font-family: var(--serif);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: .2em;
  margin-bottom: 6px;
}

.footer-brand-en {
  font-family: var(--serif);
  font-size: .66rem;
  letter-spacing: .26em;
  color: var(--gold-soft);
  margin-bottom: 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  list-style: none;
  margin-bottom: 36px;
}

.footer-nav a {
  font-family: var(--sans);
  color: var(--text-dim);
  font-size: .78rem;
  letter-spacing: .1em;
}

.copyright { color: #5e6c82; font-size: .72rem; letter-spacing: .12em; font-family: var(--sans); }

/* ---------- レスポンシブ ---------- */

@media (max-width: 720px) {
  .header-inner { flex-direction: column; height: auto; padding: 14px 16px 12px; gap: 10px; }
  .global-nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 76px 20px 84px; }
  .hero-mark { width: 88px; }
  .section { padding: 68px 20px; }
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .stage-badge { max-width: 140px; }
  .growth-grid { grid-template-columns: 1fr; gap: 18px; }
  .growth-tree { max-width: 108px; }

  /* 会社概要・特商法の表: th の width:9em + nowrap が原因で画面からはみ出していたため
     (2026-07-31 iPhone実機で発覚)、スマホでは項目名と内容を縦に積む */
  .info-table, .info-table tbody, .info-table tr,
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table tr { border-bottom: 1px solid var(--line); }
  .info-table th {
    white-space: normal;
    border-bottom: none;
    padding: 20px 0 2px;
    font-size: .82rem;
  }
  .info-table td { padding: 0 0 20px; }
}
