/*
Theme Name: Lightning Child Sample
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* =========================================================
   ◆ フッター（背景色・文字色・著作権の一部非表示）
========================================================= */
.site-footer {
  background-color: #009fe8;
  color: #ffffff;
}
.site-footer a { color: inherit; }
.site-footer a:hover { opacity: .85; }
.site-footer-copyright p:nth-child(2) {
  display: none;
}

/* ----------------------------------------------------
   Minimal Card UI - 原研哉風ミニマルデザイン
   横3列カラムのリンク付きカード
   ---------------------------------------------------- */

:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --border-color: #dddddd;
  --accent-color: #333333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "YuGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

.section {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section {
    margin: 40px auto;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  min-height: 140px;
  background-color: #ffffff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: #b5b5b5;
  background-color: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  outline: none;
}

.card-text {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  color: var(--accent-color);
  white-space: pre-line;
}

/* ----------------------------------------------------
   Dual Heading - 英語 + 日本語ミニマル見出し
   ---------------------------------------------------- */

.dual-heading {
  display: flex;
  flex-direction: column;
  gap: 4px; /* 行間だけを軽く調整（スペーサーではない） */
}

.dual-heading__en {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #666666;
  text-transform: uppercase;
}

.dual-heading__ja {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0.06em;
}

/* =========================================================
   ◆ Lightning固定ページタイトル＆カバー非表示
========================================================= */
.page-header,
.vk_pageHeader,
.page-header-container,
.page-header-inner {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
}

/* ----------------------------------------------------
   3枚のミニマルカード（原研哉風ニュアンス）
   ---------------------------------------------------- */

.hara-cards {
  width: 100%;
  background: #ffffff;
}

.hara-cards-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px; /* 全体の左右余白を固定して揃える */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  box-sizing: border-box;
}

.hara-card {
  border: 1px solid #dddddd;
  background: #fafafa;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hara-card:hover {
  background: #f2f2f2;
  border-color: #bbbbbb;
}

.hara-card a {
  display: block;
  padding: 36px 24px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-sizing: border-box;
}

.hara-card-text {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 400;
}

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

@media (max-width: 900px) {
  .hara-cards-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hara-cards-inner {
    grid-template-columns: 1fr;
    padding: 0 16px; /* スマホの左右余白を16pxに揃える */
    gap: 20px;
  }
}



/* ---------------------------------------------
   番号付きリスト（ミニマル仕様）
--------------------------------------------- */
.hara-section-list {
  margin: 16px 0 0;
  padding-left: 1.2em; /* 見出しと揃えるコンパクトなインデント */
  color: #333;
}

.hara-section-list li {
  margin: 0 0 16px;
}

.hara-section-list h3 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #111;
}

.hara-section-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
}

/* ====== スライダー本体 ====== */
.hara-slider-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 36px;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* スクロールバー（原研哉風・薄い） */
.hara-slider-row::-webkit-scrollbar {
  height: 6px;
}

.hara-slider-row::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.22);
  border-radius: 3px;
}

.hara-slider-row::-webkit-scrollbar-track {
  background: #f2f2f2;
}

/* ====== 各スライド ====== */
.hara-slide {
  flex: 0 0 auto;
  width: auto;
  height: 240px;                 /* ← 高さだけ固定して画像比率バラバラ対応 */
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding: 8px;
  border-radius: 4px;
}

.hara-slide img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
  transition: opacity .3s ease;
}

.hara-slide img:hover {
  opacity: 1;
}

/* ----------------------------------------------------
   Minimal External Link Button
   ---------------------------------------------------- */

.minimal-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #cccccc;
  color: #111111;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.minimal-btn:hover,
.minimal-btn:focus-visible {
  background-color: #f7f7f7;
  border-color: #999999;
}

/* ----------------------------------------------------
   Minimal Number Block (原研哉風)
   ---------------------------------------------------- */

.exp-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 600px;
  padding: 0 24px;
}

.exp-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-num,
.exp-num-static {
  font-size: 2.2rem;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.02em;
}

.exp-plus {
  font-size: 1.4rem;
  margin-left: 2px;
}

.exp-label {
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 0.03em;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .exp-numbers {
    grid-template-columns: 1fr;
  }
}

/* サイト全体を Noto Sans JP Light に統一 */
body {
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 300 !important;
}

/* テーマの見出し太字を打ち消す（確実版） */
h1, h2, h3, h4, h5, h6,
p, a, li, span, div {
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 300 !important;
}

/* ----------------------------------------------------
   ABOUT US - 原研哉風ミニマルデザイン
   ---------------------------------------------------- */

.hara-about {
  background: #ffffff;
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.hara-about-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* タイトル */
.hara-about-heading {
  margin-bottom: 48px;
}

.hara-about-en {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 4px;
}

.hara-about-ja {
  font-size: 28px;
  font-weight: 300;
  color: #111;
  margin: 0;
  letter-spacing: 0.05em;
}

.hara-about-sub {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}

/* 2カラム */
.hara-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* 左カラムの情報 */
.hara-about-list {
  margin: 0;
}

.hara-about-row {
  display: flex;
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
}

.hara-about-row dt {
  width: 120px;
  font-size: 13px;
  color: #555;
}

.hara-about-row dd {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

.hara-about-row a {
  color: #007acc;
  text-decoration: none;
}

.hara-about-row a:hover {
  text-decoration: underline;
}

/* 右カラム */
.hara-about-mini-title {
  margin: 0 0 16px;
  font-size: 16px;
  color: #111;
  font-weight: 300;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 4px;
}

.hara-about-business {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hara-about-business li {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hara-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hara-about-right {
    margin-top: 20px;
  }

  .hara-about-inner {
    padding: 0 16px;
  }
}

/* ----------------------------------------------------
   Story Block（文章を魅せるミニマルデザイン）
   ---------------------------------------------------- */

.hara-story {
  background: #ffffff;
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.hara-story-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hara-story-block {
  padding-left: 20px;
  border-left: 1px solid #e5e5e5; /* ← 極細ライン（控えめ） */
}

.hara-story-block p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.03em;
  color: #333333;
}

/* 小さな強さを加えるための最後の行の余韻 */
.hara-story-block p:last-child {
  margin-bottom: 0;
}

/* スマホ最適化 */
@media (max-width: 600px) {
  .hara-story-inner {
    padding: 0 16px;
  }

  .hara-story-block {
    padding-left: 16px;
    border-left-color: #e8e8e8;
  }

  .hara-story-block p {
    font-size: 14px;
    line-height: 1.95;
  }
}

/* ----------------------------------------------------
   Minimal Button（原研哉風）
   ---------------------------------------------------- */

.hara-minimal-btn {
  display: inline-block;
  padding: 10px 26px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #111111;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: 
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.hara-minimal-btn:hover,
.hara-minimal-btn:focus-visible {
  background: #f7f7f7;
  border-color: #bfbfbf;
}

/* ----------------------------------------------------
   Books Section  - 原研哉風ミニマル
   ---------------------------------------------------- */

.hara-books {
  background: #ffffff;
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.hara-books-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* タイトル */
.hara-books-heading {
  margin-bottom: 48px;
}

.hara-books-en {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #999;
}

.hara-books-ja {
  margin: 0;
  font-size: 22px;
  color: #111;
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* 書籍アイテム */
.hara-book-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
}

.hara-book-image img {
  width: 100%;
  height: auto;
  border: 1px solid #eee; /* 書影を引き立てる最薄の枠 */
}

/* 書籍テキスト */
.hara-book-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #111;
  font-weight: 300;
}

.hara-book-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}

/* Amazonボタン（ミニマル） */
.hara-book-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.hara-book-btn:hover {
  background: #f7f7f7;
  border-color: #bfbfbf;
}

/* スマホ対応 */
@media (max-width: 700px) {
  .hara-book-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hara-books-inner {
    padding: 0 16px;
  }
}

/* ----------------------------------------------------
   Hara Overlap SVG - 写真にSVGを重ねるレイアウト
   ---------------------------------------------------- */

/* 写真ブロック */
.hara-photo-block {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hara-photo-block img {
  width: 100%;
  height: auto;
  display: block;
}

/* SVGブロック（右寄り × 上に食い込ませる） */
.hara-svg-overlap {
  position: relative;
  max-width: 960px;
  margin: -120px auto 0;  /* ← 上へ深く食い込ませる */
  padding: 0 24px;
  z-index: 10;
  pointer-events: none; /* 必要なら：クリックを後ろへ通す */
}

.hara-svg-overlap img {
  width: 200px; /* SVG画像のサイズ */
  height: auto;
  float: right; /* ← 右寄せの決定打 */
}

/* スマホ対応 */
@media (max-width: 600px) {
  .hara-photo-block {
    padding: 0 16px;
  }

  .hara-svg-overlap {
    margin-top: -80px; /* 食い込み量を少し弱く */
    padding: 0 16px;
  }

  .hara-svg-overlap img {
    width: 140px; /* 可読性優先で少し小さく */
  }
}

/* ----------------------------------------------------
   Posted on バッジ（#1c96d4 / 角丸 / ミニマル）
   ---------------------------------------------------- */

.hara-posted {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #333;
  margin: 0;
}

.hara-posted-label {
  display: inline-block;
  background: #1c96d4;
  color: #ffffff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------
   Hara Audio Section - 原研哉風ミニマルMP3（複数曲）
   ---------------------------------------------------- */

.hara-audio {
  background: #ffffff;
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}

.hara-audio-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* タイトル */
.hara-audio-heading {
  margin-bottom: 48px;
}

.hara-audio-en {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 4px;
}

.hara-audio-ja {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  color: #111;
  letter-spacing: 0.05em;
}

/* 各曲ブロック */
.hara-audio-block {
  border-left: 1px solid #e5e5e5;
  padding: 0 0 32px 20px;
  margin-bottom: 40px;
}

.hara-audio-title {
  margin: 0 0 12px;
  font-size: 15px;
  color: #222;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.hara-audio-block audio {
  width: 100%;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .hara-audio-inner {
    padding: 0 16px;
  }

  .hara-audio-block {
    padding-left: 16px;
    border-left-color: #e8e8e8;
    margin-bottom: 32px;
  }
}

/* ----------------------------------------------------
   Hara Loop Slider - full width + fade edges
   ---------------------------------------------------- */

.hara-loop {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 0; /* ← 全幅用に余白なし */
  position: relative;
}

/* トラック部分 */
.hara-loop-track {
  display: flex;
  align-items: center;
  animation: haraLoop 30s linear infinite;
  width: max-content;
  gap: 12vw;
  padding: 60px 0; /* 縦の余白だけ追加 */
}

/* 巨大ロゴ */
.hara-loop img {
  width: 40vw;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.hara-loop a:hover img {
  opacity: 1;
}

/* 無限ループアニメ（10個 → 5個分送る） */
@keyframes haraLoop {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 2)); }
}

/* ----------------------------------------------------
   Fade Mask（左右フェード）
   ---------------------------------------------------- */

.hara-loop::before,
.hara-loop::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14vw;        /* ← フェードの幅 */
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* 左のフェード（左から白に溶ける） */
.hara-loop::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
}

/* 右のフェード（右から白に溶ける） */
.hara-loop::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
}

/* スマホ調整 */
@media (max-width: 700px) {
  .hara-loop img {
    width: 70vw;
  }
  .hara-loop-track {
    gap: 16vw;
    padding: 40px 0;
  }
  .hara-loop::before,
  .hara-loop::after {
    width: 20vw; /* スマホだとフェード幅を広めに */
  }
}


