/*
  style-about-risnn.css
  璃寸についてページ専用スタイル
  Okoh Risnn — 白基調・シック
*/

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --gold:       #c8a86a;
  --gold-light: #d4b483;
  --text-main:  #1a2c42;
  --text-sub:   rgba(26,44,66,0.70);
  --text-light: rgba(26,44,66,0.42);
  --bg:         #f2f8ff;
  --bg-card:    #F7FAFF;
  --border:     rgba(0,72,152,0.18);
  --ruri-light:  #4d8fcc;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(to bottom, rgba(0,72,152,0.1) 0px, var(--bg) 80px);
  color: var(--text-main);
  font-family: 'Noto Serif JP', serif;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom cursor ── */
.cursor {
  width: 6px; height: 6px;
  background: var(--ruri-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(0,72,152,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.4s ease;
}
@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ── ナビゲーション（style-greeting.cssと共通） ── */
.incense-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  height: 64px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.admin-bar .incense-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .incense-header { top: 46px; }
}

.header-logo,
.header-logo:hover,
.header-logo:focus,
.header-logo:active,
.header-logo:visited {
  font-family: 'Pinyon Script', cursive;
  font-size: 22px;
  color: var(--ruri-light) !important;
  opacity: 0.75;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  outline: none;
}
.header-logo:hover { opacity: 1; }

.incense-nav { display: flex; align-items: center; }
.incense-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0; padding: 0;
}
.incense-nav-list li a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.45em;
  color: rgba(42, 37, 32, 0.62);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
  white-space: nowrap;
}
.incense-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ruri-light);
  transition: width 0.35s ease;
}
.incense-nav-list li a:hover { color: var(--ruri-light); }
.incense-nav-list li a:hover::after { width: 100%; }

.incense-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px; height: 28px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.incense-nav-toggle span {
  display: block;
  width: 100%; height: 1px;
  background: rgba(42, 37, 32, 0.55);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.incense-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.incense-nav-toggle.open span:nth-child(2) { opacity: 0; }
.incense-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  .incense-nav-toggle { display: flex; }
  .incense-nav {
    position: fixed;
    top: 64px; left: 0; width: 100%;
    background: var(--bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 32px 6% 40px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
  }
  .incense-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .incense-nav-list { flex-direction: column; align-items: flex-start; gap: 28px; }
  .incense-nav-list li a { font-size: 13px; letter-spacing: 0.5em; color: rgba(42,37,32,0.75); }
}

/* ── ページヒーロー ── */
.ab-hero {
  padding: 148px 8% 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.ab-hero::before {
  content: '';
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ruri-light));
  margin: 0 auto 40px;
}
.ab-hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.55em;
  color: var(--ruri-light);
  opacity: 0.65;
  display: block;
  margin-bottom: 18px;
}
.ab-hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.45em;
  color: var(--text-main);
}

/* ── 本文エリア ── */
.ab-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 8% 120px;
}

/* ── 漢字解説ブロック ── */
.ab-kanji-block {
  margin-bottom: 80px;
}

.ab-kanji-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 48px 0;
}

/* 漢字一文字 */
.ab-kanji-char {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(72px, 10vw, 120px);
  color: var(--ruri);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0;
  user-select: none;
}

.ab-kanji-content {
  padding-top: 8px;
  flex: 1;
}

.ab-kanji-reading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.55em;
  color: var(--ruri-light);
  opacity: 0.6;
  display: block;
  margin-bottom: 16px;
}

.ab-kanji-meaning {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2.6;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* 故事成語 */
.ab-kanji-idiom {
  display: block;
  margin-top: 20px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: 0.2em;
  color: var(--text-main);
}
.ab-kanji-idiom-desc {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-top: 6px;
  padding-left: 1em;
  border-left: 1px solid var(--border);
}

/* 区切り線 */
.ab-kanji-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── 名前に込めた思い ── */
.ab-message {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 52px 48px;
  margin-bottom: 64px;
  position: relative;
}
.ab-message::before {
  content: '❝';
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: var(--ruri-light);
  opacity: 0.2;
  position: absolute;
  top: 20px; left: 24px;
  line-height: 1;
}

.ab-message-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2.8;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  text-align: justify;
  margin-bottom: 24px;
}
.ab-message-text:last-child { margin-bottom: 0; }

.ab-message-text em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-main);
  border-bottom: 1px solid rgba(184,150,106,0.4);
  padding-bottom: 1px;
}

/* ── 前のページへ戻る ── */
.ab-back {
  text-align: center;
}
.ab-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-light);
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.45em;
  transition: color 0.3s;
}
.ab-back-link:hover { color: var(--ruri-light); }
.ab-back-line {
  display: block;
  width: 32px; height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}
.ab-back-link:hover .ab-back-line { width: 48px; }

/* ── フッター ── */
.ab-footer {
  text-align: center;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.ab-footer .brand {
  font-family: 'Pinyon Script', cursive;
  font-size: 24px;
  color: var(--ruri-light);
  opacity: 0.45;
}
.ab-footer .copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-top: 12px;
  display: block;
}

/* ── リビール ── */
.ab-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.ab-reveal.visible { opacity: 1; transform: translateY(0); }
.ab-reveal:nth-of-type(2) { transition-delay: 0.15s; }
.ab-reveal:nth-of-type(3) { transition-delay: 0.30s; }

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .ab-kanji-item { gap: 24px; }
  .ab-kanji-char { font-size: 64px; }
  .ab-message { padding: 40px 28px; }
}