/* ==========================================================================
   Japan Business Insider — style.css （再構築版 / rebuilt）

   もとの style.css が失われたため、index.html のクラス名と、いただいた
   PDF の見た目をもとに作り直したものです。
   完全に同一ではありませんが、配色・書体・レイアウトはほぼ同じになります。

   気に入らない箇所は、下の「1. カラーとサイズの設定」を書き換えるだけで
   サイト全体に反映されます。
   ========================================================================== */


/* ==========================================================================
   1. カラーとサイズの設定（ここだけ変えれば全体が変わります）
   ========================================================================== */
:root {
  /* 背景 */
  --paper:      #f7f3ee;   /* 基本の背景（生成り）   */
  --warm:       #f0e8dc;   /* 少し濃いベージュの帯   */
  --warm-2:     #ece4d8;   /* カード内の面           */
  --dark:       #1a1410;   /* 黒背景・ボタン         */

  /* 文字 */
  --text:       #3d3530;
  --text-soft:  #4a3f38;
  --text-mute:  #837971;
  --on-dark:    #ddd8d4;
  --on-dark-mute: #b5b0ab;

  /* アクセント */
  --red:        #c0392b;   /* 朱色 */
  --red-dark:   #a52f22;
  --gold:       #b08a3e;

  /* 罫線 */
  --line:       #dcd7d3;
  --line-warm:  #d5cec3;
  --line-dark:  rgba(255,255,255,.14);

  /* 書体 */
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN",
           "Yu Mincho", Georgia, serif;
  --sans:  "DM Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
           "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* 余白・幅 */
  --maxw: 1180px;
  --gut:  clamp(22px, 5vw, 60px);
  --nav-h: 88px;
}

/* 中央に寄せた本文カラムを作るための余白計算。
   HTML に <div> を足さずに済むよう、セクションの padding で調整しています。 */
:root { --pad-x: max(var(--gut), calc((100% - var(--maxw)) / 2)); }


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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.26;
  color: var(--dark);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

::selection { background: var(--red); color: #fff; }


/* ==========================================================================
   3. 共通パーツ
   ========================================================================== */

/* 小見出しラベル（ABOUT ——、SERVICES —— など） */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: .70rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 26px;
}
.section-label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* スクロールで現れるアニメーション
   （index.html の <script> が .visible を付けます）           */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}


/* ==========================================================================
   4. ナビゲーション
   ========================================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  min-height: var(--nav-h);
  padding-inline: var(--gut);
  background: rgba(247, 243, 238, .93);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}
.nav-wordmark span { display: block; color: var(--red); }

.nav-meta {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
}
.nav-links a {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-links a:hover { color: var(--red); border-bottom-color: var(--red); }

/* 言語切り替え（EN / JA） */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  padding-left: 18px;
  border-left: 1px solid rgba(26, 20, 16, .18);
  line-height: 1;
}
.nav-lang a { opacity: .62; }
.nav-lang a:hover { opacity: 1; }
.nav-lang a[aria-current="true"] {
  opacity: 1;
  color: var(--red);
  border-bottom-color: var(--red);
}
.nav-lang .sep { color: var(--text-mute); opacity: .45; font-size: .74rem; }

@media (max-width: 900px) {
  nav { flex-wrap: wrap; gap: 12px 20px; padding-block: 16px; }
  .nav-meta { order: 3; width: 100%; }
  .nav-links { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 14px 20px; order: 4; }
  .nav-lang { margin-left: 0; padding-left: 14px; }
}


/* ==========================================================================
   5. ヒーロー
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  min-height: calc(100vh - var(--nav-h));
  background: var(--paper);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 76px);
}

.hero-kicker {
  font-size: .70rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  flex: none;
}

.hero-kanji {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0;
}
.hero-kanji .ja {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .5em;
  color: var(--text-mute);
  margin-bottom: .8em;
}

.hero-rule {
  width: 54px;
  height: 2px;
  background: var(--red);
  margin: 34px 0 30px;
}

.hero-sub {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--dark); font-weight: 700; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 1.15em 2.4em;
  background: var(--dark);
  color: #fff;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease;
}
.hero-cta:hover { background: var(--red); }

/* 右側の写真 */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--warm);
  min-height: 460px;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img { z-index: 0; }   /* 背景になる東京の写真 */
/* ↑ 写真が2枚重なっています。上に出したくない写真がある場合は
      index.html の該当する <img> の行を削除してください。 */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(247,243,238,.55) 0%,
              rgba(247,243,238,.10) 34%,
              rgba(26,20,16,.10) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-seal {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(18px, 3vw, 46px);
  z-index: 3;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(247, 243, 238, .92);
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: .84rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-right { min-height: 60vh; order: -1; }
  .hero-seal { width: 96px; height: 96px; font-size: .74rem; }
}


/* ==========================================================================
   6. ティッカー（黒帯の流し文字）
   ========================================================================== */
.ticker-wrap {
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
  border-block: 1px solid #221d19;
}
.ticker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  padding-block: 18px;
  animation: ticker 46s linear infinite;
}
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: clamp(20px, 3vw, 46px);
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ticker-item span {
  color: var(--red);
  font-family: var(--serif);
  letter-spacing: 0;
  text-transform: none;
  font-size: .95rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; width: 100%; overflow-x: auto; }
}


/* ==========================================================================
   7. About（persona）
   ========================================================================== */
.persona { background: var(--paper); }

.persona-portrait {
  position: relative;
  overflow: hidden;
  background: var(--warm);
  min-height: clamp(380px, 62vh, 720px);
}
.persona-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.persona-portrait-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(28px, 5vw, 60px) var(--gut);
  background: linear-gradient(to top, rgba(26,20,16,.82) 0%, rgba(26,20,16,0) 100%);
  color: #fff;
}
.persona-portrait-overlay h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: .3em;
}
.persona-portrait-overlay p {
  color: var(--on-dark-mute);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
}

.persona-content {
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
}
.persona-content > * { max-width: 860px; }
.persona-content h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: .8em;
}
.persona-content p { color: var(--text-soft); }

/* チェックリスト */
.credential-list { margin-top: clamp(36px, 5vw, 54px); }
.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-warm);
  font-size: .98rem;
  color: var(--text-soft);
}
.credential-list li:first-child { border-top: 1px solid var(--line-warm); }
.cred-icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: .42em;
}


/* ==========================================================================
   8. Insights（signal）— 黒背景
   ========================================================================== */
.signal {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  overflow: hidden;
}
/* 背景の大きな漢字 */
.signal::before {
  content: "情報";
  position: absolute;
  right: -.06em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(240px, 34vw, 480px);
  line-height: .8;
  color: rgba(255,255,255,.032);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.signal > * { position: relative; z-index: 1; }

.signal h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  max-width: 22ch;
}
.signal > p {
  color: var(--on-dark);
  max-width: 62ch;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 68px);
}
.signal-card:nth-child(n+3) {
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(30px, 4vw, 44px);
}
.signal-num {
  font-size: .70rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.signal-card h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  margin-bottom: .55em;
}
.signal-card p { color: var(--on-dark); font-size: .96rem; }

@media (max-width: 720px) {
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card:nth-child(n+2) {
    border-top: 1px solid var(--line-dark);
    padding-top: 30px;
  }
}


/* ==========================================================================
   9. Daily（ritual）
   ========================================================================== */
.ritual {
  background: var(--warm);
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
}

.ritual-stat-block {
  display: grid;
  gap: clamp(30px, 4vw, 48px);
  margin-bottom: clamp(56px, 8vw, 100px);
}
.ritual-stat {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 28px;
  max-width: 54ch;
}
.ritual-stat .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.7rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: .12em;
}
.ritual-stat .label {
  font-size: .70rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.ritual-stat .desc { font-size: .96rem; color: var(--text-soft); }

.ritual-content { max-width: 820px; }
.ritual-content h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: .8em;
}
.ritual-content p { color: var(--text-soft); }

.ritual-pull {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(26px, 3.4vw, 44px);
  background: rgba(255,255,255,.55);
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.75;
  color: var(--dark);
}


/* ==========================================================================
   10. Services
   ========================================================================== */
.services {
  background: var(--paper);
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
}

.services h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: .6em;
}
.services-intro {
  color: var(--text-soft);
  max-width: 62ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.services-list {
  border: 1px solid var(--line-warm);
  background: var(--warm-2);
}
.service-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(14px, 2vw, 32px);
  padding: clamp(30px, 3.8vw, 50px) clamp(24px, 3.4vw, 54px);
  border-bottom: 1px solid var(--line-warm);
}
.service-item:last-child { border-bottom: 0; }

.service-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--red);
  opacity: .85;
}
.service-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: .5em;
}
.service-body p { color: var(--text-soft); font-size: .97rem; }

@media (max-width: 760px) {
  .service-item { grid-template-columns: 1fr; }
  .service-num { font-size: 1.4rem; }
}


/* ==========================================================================
   11. CTA（黒背景）とフッター
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(76px, 11vw, 150px) var(--pad-x);
}
.cta-section::before {
  content: "日本";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(240px, 36vw, 460px);
  line-height: .8;
  color: rgba(255,255,255,.032);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-section > * { position: relative; z-index: 1; }

.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: .5em;
}
.cta-section p {
  color: var(--on-dark);
  max-width: 54ch;
  margin: 0 auto clamp(34px, 4vw, 50px);
}

.cta-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15em 2.6em;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cta-btn-light:hover { background: #fff; color: var(--dark); border-color: #fff; }

footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: clamp(52px, 7vw, 84px) var(--gut) clamp(34px, 4vw, 46px);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.footer-brand span { color: var(--red); }

.footer-note {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 30px;
}

.footer-ja {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .4em;
  color: var(--line-warm);
}


/* ==========================================================================
   12. 本文中に直接置かれた大きな写真
   （index.html にインラインで入っている <img> 用）
   ========================================================================== */
body > img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}


/* ==========================================================================
   13. 印刷
   ========================================================================== */
@media print {
  nav, .ticker-wrap, .hero-cta, .cta-btn-light { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .signal, .cta-section { background: #fff !important; color: #000 !important; }
  .signal h2, .signal-card h3, .cta-section h2 { color: #000 !important; }
  .signal::before, .cta-section::before { display: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
