/* ===== HT Labs コーポレートサイト 共通スタイル（洗練ブルー・高級版） ===== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --navy:        #0B1B3A;
  --navy-deep:   #081328;
  --cobalt:      #2563EB;
  --cobalt-dark: #1D4ED8;
  --cobalt-soft: #EAF0FE;
  --ink:         #182135;
  --ink-muted:   #5C6678;
  --paper:       #FAF8F4;
  --white:       #FFFFFF;
  --gold:        #B08A3E;
  --gold-soft:   #F4ECD9;
  --line:        #E7E2D8;
  --line-light:  #EFEBE2;

  --serif: 'Fraunces', 'Zen Kaku Gothic New', serif;
  --sans:  'Zen Kaku Gothic New', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--cobalt); text-decoration: none; transition: opacity 0.25s; }
a:hover { opacity: 0.7; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ===== ヘッダー ===== */
.header {
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.header__logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.header__logo span { color: var(--cobalt); }
.header__nav { display: flex; gap: 38px; list-style: none; }
.header__nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--cobalt);
  transition: width 0.3s;
}
.header__nav a:hover { color: var(--cobalt); opacity: 1; }
.header__nav a:hover::after { width: 100%; }
.header__nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(circle at 86% 16%, rgba(176, 138, 62, 0.06), transparent 42%),
    var(--paper);
}
.hero__grain {
  position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-family: var(--serif);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: rise 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 28px;
  animation: rise 0.9s cubic-bezier(0.22,1,0.36,1) 0.08s both;
}
.hero__title strong { color: var(--cobalt); }
.hero__title .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--cobalt);
}
.hero__desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 2.1;
  animation: rise 0.9s cubic-bezier(0.22,1,0.36,1) 0.16s both;
}
.hero__cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: rise 0.9s cubic-bezier(0.22,1,0.36,1) 0.24s both;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  font-family: var(--sans);
}
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 1px 2px rgba(11,27,58,0.15); }
.btn-primary:hover { background: var(--cobalt-dark); opacity: 1; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,0.28); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); opacity: 1; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11,27,58,0.32); }
.btn-outline { background: transparent; color: var(--cobalt); border: 1px solid var(--cobalt); }
.btn-outline:hover { background: var(--cobalt); color: #fff; opacity: 1; }

/* ===== セクション共通 ===== */
.section { padding: 120px 0; }
.section--alt { background: var(--white); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--cobalt); opacity: 0.5; }
.eyebrow--center { justify-content: center; }

/* 旧クラス互換（section-label → eyebrow スタイル） */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--cobalt); opacity: 0.5; }
.text-center .section-label { justify-content: center; }

.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 2.1;
}
.text-center { text-align: center; }

/* ===== 事業内容カード ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.business-card {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11,27,58,0.1);
}
.business-card__icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--gold-soft);
}
.business-card__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.business-card__desc { color: var(--ink-muted); font-size: 14.5px; line-height: 1.95; }
.business-card__status {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-top: 20px;
}
.business-card__status--launching { background: var(--gold-soft); color: var(--gold); }
.business-card__status--planning { background: var(--cobalt-soft); color: var(--cobalt-dark); }
.business-card__status--available { background: #E3F2EA; color: #2E7D52; }

/* ===== ミッションセクション ===== */
.mission {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(37,99,235,0.26), transparent 60%),
    var(--navy);
  color: #fff;
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.mission::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(176,138,62,0.14), transparent 68%);
  border-radius: 50%;
}
.mission__title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--gold-soft);
  position: relative; z-index: 1;
}
.mission__statement {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.6;
  max-width: 840px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

/* ===== 会社概要テーブル ===== */
.company-info { max-width: 760px; margin: 56px auto 0; }
.company-info dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.company-info dt {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 14.5px;
}
.company-info dd {
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 14.5px;
}

/* ===== 規約・ポリシー文書 ===== */
.document { max-width: 800px; margin: 0 auto; padding: 24px 0; }
.document h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 18px;
  color: var(--navy);
  border-left: 3px solid var(--cobalt);
  padding-left: 18px;
}
.document h3 { font-size: 1.1rem; font-weight: 700; margin-top: 24px; margin-bottom: 12px; color: var(--navy); }
.document p { margin-bottom: 16px; color: var(--ink-muted); line-height: 2; }
.document ul, .document ol { margin: 16px 0 16px 24px; color: var(--ink-muted); }
.document li { margin-bottom: 8px; line-height: 1.9; }
.document__meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  text-align: right;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ===== お問い合わせ ===== */
.contact-card {
  background: var(--white);
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-card__title { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-card__email {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cobalt);
  display: block;
  margin: 28px 0;
}
.contact-card__note { font-size: 0.9rem; color: var(--ink-muted); margin-top: 28px; line-height: 1.9; }

/* ===== フッター ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}
.footer__brand span { color: #93C5FD; }
.footer__brand-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.9; }
.footer__col h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer__col a:hover { color: #fff; opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .header__nav.is-open { display: flex; }
  .header__nav li { border-bottom: 1px solid var(--line); }
  .header__nav a { display: block; padding: 16px 32px; }
  .header__nav-toggle { display: block; }

  .hero { padding: 80px 0 64px; }
  .section { padding: 80px 0; }
  .company-info dl { grid-template-columns: 1fr; }
  .company-info dt { border-bottom: none; padding-bottom: 4px; }
  .company-info dd { padding-top: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand-col { grid-column: 1 / -1; }
  .contact-card { padding: 36px 24px; }
}
