/* ==========================================================
   株式会社トラシオン メインスタイル
   配色:ロレックス公式サイトを参考にしたグリーン × ゴールド
   色を変える場合は :root の値だけ変更してください
   ========================================================== */
:root {
  --green: #006039;        /* ロレックスグリーン */
  --green-deep: #00442a;
  --green-dark: #0a2a1d;
  --gold: #a37e2c;         /* ロレックスゴールド */
  --gold-light: #c9a55c;
  --cream: #f1efe9;
  --white: #ffffff;
  --ink: #1b1b1b;
  --muted: #6b6b66;
  --line: #ddd8cc;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.en-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s;
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.3; color: #fff; position: relative; z-index: 110; }
.logo-en { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 600; letter-spacing: .18em; }
.logo-ja { font-size: .68rem; letter-spacing: .2em; opacity: .85; }
.site-header.scrolled,
body.is-sub .site-header {
  background: var(--green);
  box-shadow: 0 1px 0 rgba(163,126,44,.6);
}
.nav-list { display: flex; gap: 36px; }
.nav-list a {
  font-size: .82rem; color: #fff; position: relative; padding: 6px 0; letter-spacing: .12em;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold-light); transition: width .3s;
}
.nav-list a:hover::after { width: 100%; }

.menu-btn {
  display: none; position: relative; z-index: 110;
  width: 32px; height: 20px; background: none; border: 0; cursor: pointer;
}
.menu-btn span { position: absolute; left: 0; width: 100%; height: 1px; background: #fff; transition: .3s; }
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 50%; }
.menu-btn span:nth-child(3) { bottom: 0; }
.menu-btn.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { bottom: 50%; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 17px 52px; font-size: .88rem; letter-spacing: .18em;
  border: 1px solid var(--gold); transition: .3s; cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: transparent; color: var(--gold-light); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff;
  /* 写真を使う場合は下の background を url("../img/hero.jpg") center/cover に置き換え */
  background:
    linear-gradient(rgba(0,30,18,.35), rgba(0,30,18,.55)),
    radial-gradient(circle at 80% 15%, rgba(163,126,44,.28) 0%, transparent 45%),
    linear-gradient(135deg, var(--green-deep) 0%, var(--green) 55%, var(--green-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner { max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 24px; }
.hero .en-label { color: var(--gold-light); display: block; margin-bottom: 22px; }
.hero h1 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.8rem); line-height: 1.55; letter-spacing: .1em;
}
.hero-lead { margin: 28px 0 44px; max-width: 560px; font-size: .95rem; opacity: .9; }
.scroll-mark {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif; font-size: .75rem; letter-spacing: .3em;
  writing-mode: vertical-rl; color: #fff;
}
.scroll-mark::after {
  content: ""; display: block; width: 1px; height: 48px; margin: 12px auto 0; background: var(--gold-light);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: #fff; }
.section-dark { background: var(--green-dark); color: #fff; }
.section-head { margin-bottom: 72px; }
.section-head .en-label { display: block; }
.section-head h2 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 2rem; letter-spacing: .14em; margin-top: 4px;
}
.section-head.center::after,
.section-head::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin-top: 20px;
}
.section-head.center::after { margin-left: auto; margin-right: auto; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; position: relative;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
}
.about-visual::before {
  content: ""; position: absolute; inset: 16px; border: 1px solid var(--gold);
}
.about-visual strong {
  font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 2.6rem; letter-spacing: .3em; padding-left: .3em;
}
.about-visual .en-label { color: var(--gold-light); margin-bottom: 8px; }
.catch { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 1.5rem; line-height: 1.8; margin-bottom: 28px; color: var(--green); }
.about p { color: var(--muted); margin-bottom: 20px; }

/* Business */
.section-green .section-head h2 { color: #fff; }
.section-green .en-label { color: var(--gold-light); }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.biz {
  padding: 40px 32px; border: 1px solid rgba(201,165,92,.45);
  background: rgba(0,0,0,.12); transition: background .3s, transform .3s;
}
.biz:hover { background: rgba(0,0,0,.25); transform: translateY(-4px); }
.biz-no { font-family: "Cormorant Garamond", serif; font-size: 1.8rem; color: var(--gold-light); }
.biz h3 { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 1.25rem; margin: 6px 0 2px; }
.biz-sub { font-family: "Cormorant Garamond", serif; font-size: .9rem; letter-spacing: .15em; color: var(--gold-light); margin-bottom: 14px; }
.biz p:last-child { font-size: .88rem; opacity: .88; }

/* Strength */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.strength { padding-top: 24px; border-top: 1px solid var(--gold); }
.strength-no { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.strength h3 { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 1.15rem; margin: 10px 0; color: var(--green); }
.strength p { font-size: .9rem; color: var(--muted); }

/* News */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; gap: 32px; padding: 24px 8px; transition: padding .3s, color .3s; }
.news-list a:hover { padding-left: 20px; color: var(--green); }
.news-list time { min-width: 100px; font-size: .85rem; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 1.05rem; letter-spacing: .1em; }
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 6px 14px; border: 1px solid var(--line); }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* Company */
.company-table { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--green); }
.company-table dt, .company-table dd { padding: 24px 8px; border-bottom: 1px solid var(--line); }
.company-table dt { font-weight: 500; color: var(--green); }

/* Contact */
.section-dark .section-head h2 { color: #fff; }
.contact-text { opacity: .85; margin-bottom: 48px; }
.contact-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.contact-hours { margin-top: 32px; font-size: .8rem; opacity: .65; }

/* ---------- Footer ---------- */
.site-footer { background: #05140d; color: #b6b9b2; padding: 64px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-logo { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; letter-spacing: .2em; color: #fff; }
.footer-name { font-size: .8rem; margin-bottom: 14px; }
.footer-addr { font-size: .8rem; line-height: 2; }
.footer-links { display: flex; gap: 32px; font-size: .82rem; align-items: flex-start; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { text-align: center; font-size: .7rem; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.08); letter-spacing: .1em; }

/* ---------- Sub pages ---------- */
.sub-hero {
  padding: 168px 24px 72px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  border-bottom: 3px solid var(--gold);
}
.sub-hero .en-label { color: var(--gold-light); }
.sub-hero h1 { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 1.9rem; letter-spacing: .14em; margin-top: 4px; }
.sub-content { padding-top: 80px; padding-bottom: 120px; }
.entry-date { display: block; color: var(--gold); margin-bottom: 20px; font-family: "Cormorant Garamond", serif; letter-spacing: .1em; }
.entry-thumb { margin-bottom: 32px; }
.entry-body p { margin-bottom: 1.4em; }
.entry-body h2 { font-family: "Noto Serif JP", serif; font-size: 1.5rem; color: var(--green); margin: 2em 0 .8em; padding-bottom: 8px; border-bottom: 1px solid var(--gold); }
.entry-body h3 { font-family: "Noto Serif JP", serif; font-size: 1.2rem; margin: 1.8em 0 .6em; color: var(--green); }
.entry-body ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.4em; }
.back-link { margin-top: 64px; }
.back-link a { color: var(--green); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------- Fade-in ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s; }
.fade.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .about, .strength-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { aspect-ratio: 16/10; }
  .menu-btn { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: 105;
    background: rgba(0,38,24,.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .global-nav.open { opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; text-align: center; gap: 28px; }
  .nav-list a { font-size: 1.05rem; }
  .news-list a { flex-direction: column; gap: 2px; }
  .company-table { grid-template-columns: 1fr; }
  .company-table dt { padding-bottom: 0; border-bottom: 0; color: var(--gold); font-size: .85rem; }
  .company-table dd { padding-top: 2px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
  .section-head { margin-bottom: 48px; }
}
@media (max-width: 600px) {
  .biz-grid { grid-template-columns: 1fr; }
  .btn { padding: 16px 36px; }
  .hero-lead br.pc { display: none; }
}
@media (min-width: 861px) {
  .hero-lead br.pc { display: inline; }
}
