/* =============================================
   INDEX — hirasawa-official.com home
   ============================================= */

/* ---------- HERO ---------- */
.hx-hero {
  position: relative;
  min-height: 100svh;
  padding: 116px clamp(18px, 5vw, 56px) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, #16281F 0%, transparent 62%),
    var(--bg);
}
.hx-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 135vh);
  height: min(1100px, 135vh);
  pointer-events: none;
  opacity: .9;
}
.hx-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hx-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--text4);
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border2);
  margin-bottom: clamp(28px, 5vw, 52px);
}
.hx-site-tag { color: var(--brass); }

.hx-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.05fr) 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}

/* column headers */
.hx-col-en {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hx-col-jp {
  font-family: var(--font-display-jp);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text2);
  margin-bottom: 22px;
}
.hx-future { text-align: right; }
.hx-future .hx-col-jp { margin-bottom: 18px; }

.hx-future-lead {
  font-family: var(--font-display-jp);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 26px;
}

/* timeline */
.hx-timeline { list-style: none; }
.hx-tl-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 20px;
}
.hx-future .hx-tl-item {
  padding-left: 0;
  padding-right: 18px;
}
.hx-tl-item::before {
  content: '';
  position: absolute;
  top: 9px; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text5);
}
.hx-future .hx-tl-item::before { left: auto; right: 0; }
.hx-tl-item.is-key::before {
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(211, 168, 94, 0.14);
}
.hx-tl-era {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text4);
  margin-bottom: 4px;
}
.hx-tl-item.is-key .hx-tl-era { color: var(--brass); }
.hx-tl-text {
  display: block;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text2);
}
.hx-tl-item.is-dim .hx-tl-text { color: var(--text3); }

/* chips */
.hx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hx-chip {
  font-family: var(--font-sans-jp);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.hx-chip:hover { border-color: var(--brass); color: var(--brass); }

/* center column */
.hx-center { text-align: center; }
.hx-center-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text4);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color .2s ease;
}
.hx-center-tag:hover { color: var(--brass); }
.hx-center-quote {
  font-family: var(--font-display-jp);
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.72;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 14px;
}
.hx-center-sub {
  font-size: 13px;
  color: var(--text3);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.hx-portrait {
  display: inline-block;
  width: clamp(180px, 20vw, 244px);
  border-radius: 50%;
  padding: 8px;
  border: 1px solid rgba(211, 168, 94, 0.35);
  transition: border-color .3s ease, transform .4s ease;
}
.hx-portrait:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
}
.hx-portrait img { border-radius: 50%; width: 100%; height: auto; }

.hx-name-block { margin-top: 26px; }
.hx-name {
  font-family: var(--font-display-jp);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text);
  line-height: 1.4;
}
.hx-name-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--brass);
  margin-top: 10px;
}
.hx-name-role {
  font-family: var(--font-sans-jp);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-top: 12px;
}

/* bottom info bar */
.hx-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--border2);
}
.hx-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: 8px;
}
.hx-info-text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text3);
}

.hx-scroll-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text5);
  animation: hxBob 2.6s ease-in-out infinite;
}
@keyframes hxBob {
  0%, 100% { transform: translate(-50%, 0); opacity: .55; }
  50%      { transform: translate(-50%, 7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-scroll-hint { animation: none; }
}

@media (max-width: 980px) {
  .hx-hero-grid { grid-template-columns: 1fr; }
  .hx-center { order: -1; margin-bottom: 12px; }
  .hx-future { text-align: left; }
  .hx-future .hx-tl-item { padding-left: 18px; padding-right: 0; }
  .hx-future .hx-tl-item::before { left: 0; right: auto; }
  .hx-info-bar { grid-template-columns: 1fr; gap: 22px; }
  .hx-scroll-hint { display: none; }
}

/* ---------- SECTION SHELL ---------- */
.hx-sec {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 56px);
}
.hx-sec-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.hx-sec-title {
  font-family: var(--font-display-jp);
  font-size: clamp(23px, 2.9vw, 36px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 22px;
}
.hx-sec-lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 2.15;
  color: var(--text2);
  max-width: 46em;
}
.hx-sec-lead strong { color: var(--brass); font-weight: 500; }

/* ---------- MISSION ---------- */
.hx-mission { background: var(--bg2); }
.hx-mission-band {
  margin-top: clamp(34px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(30px, 5vw, 52px);
  background:
    linear-gradient(180deg, rgba(211,168,94,0.05), transparent 60%),
    var(--bg3);
  text-align: center;
}
.hx-mission-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--brass);
  margin-bottom: 18px;
}
.hx-mission-text {
  font-family: var(--font-display-jp);
  font-size: clamp(19px, 2.5vw, 30px);
  line-height: 1.75;
  letter-spacing: 0.08em;
  color: var(--text);
}
.hx-mission-theme {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border2);
  font-size: 13.5px;
  color: var(--text3);
  letter-spacing: 0.06em;
}
.hx-mission-theme b { color: var(--text); font-weight: 500; }

/* ---------- VALUES (4 cards) ---------- */
.hx-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(34px, 5vw, 54px);
}
.hx-value {
  border: 1px solid var(--border);
  border-top: 2px solid var(--brass);
  border-radius: 3px;
  padding: 30px 26px 32px;
  background: var(--bg2);
  transition: transform .3s ease, border-color .3s ease;
}
.hx-value:hover { transform: translateY(-4px); border-color: var(--brass-soft); }
.hx-value-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--brass);
}
.hx-value h3 {
  font-family: var(--font-display-jp);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 12px 0 14px;
}
.hx-value p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text3);
}

/* ---------- STRENGTHS (list) ---------- */
.hx-strengths { background: var(--bg2); }
.hx-str-list {
  list-style: none;
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--border2);
}
.hx-str-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px 22px;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--border2);
}
.hx-str-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.hx-str-name {
  font-family: var(--font-display-jp);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--text);
  margin-bottom: 8px;
}
.hx-str-desc {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text3);
  max-width: 44em;
}
@media (max-width: 640px) {
  .hx-str-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- FUTURE / FLOW ---------- */
.hx-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  margin-top: clamp(34px, 5vw, 52px);
}
.hx-flow-box {
  flex: 1 1 200px;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 26px 22px;
  background: var(--bg2);
  text-align: center;
}
.hx-flow-box--end { border-color: var(--brass-soft); }
.hx-flow-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--brass);
  margin-bottom: 12px;
}
.hx-flow-txt {
  font-family: var(--font-display-jp);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}
.hx-flow-arrow {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--brass);
  flex: 0 0 auto;
  padding: 0 2px;
}
@media (max-width: 720px) {
  .hx-flow { flex-direction: column; }
  .hx-flow-arrow { transform: rotate(90deg); text-align: center; }
}

/* ---------- CLOSING QUOTE ---------- */
.hx-closing {
  background:
    radial-gradient(ellipse at 50% 40%, #16281F 0%, transparent 65%),
    var(--bg);
  text-align: center;
}
.hx-closing-quote {
  font-family: var(--font-display-jp);
  font-size: clamp(20px, 2.7vw, 31px);
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--text);
  max-width: 22em;
  margin: 26px auto 0;
  position: relative;
}
.hx-closing-quote::before,
.hx-closing-quote::after {
  content: '';
  display: block;
  width: 34px; height: 1px;
  background: var(--brass);
  opacity: .55;
  margin: 0 auto;
}
.hx-closing-quote::before { margin-bottom: 26px; }
.hx-closing-quote::after  { margin-top: 26px; }
.hx-closing-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text4);
  letter-spacing: 0.08em;
}

/* ---------- CONTACT ---------- */
.hx-contact {
  background: var(--bg3);
  text-align: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 56px);
}
.hx-contact-title {
  font-family: var(--font-display-jp);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 18px 0 34px;
}
.hx-contact-foot {
  margin-top: 34px;
  font-size: 12.5px;
  line-height: 2;
  color: var(--text4);
}
