@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Noto+Serif+JP:wght@200;300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ed-white:       #f4f0e8;
  --ed-dim:         rgba(244, 240, 232, 0.70);
  --ed-faint:       rgba(244, 240, 232, 0.38);
  --ed-line:        rgba(244, 240, 232, 0.20);
  --ed-text:        #38322D;
  --ed-text-light:  #6B6058;
  --ed-accent:      #A6895A;
  --ed-accent-dark: #1C2B1A;
  --ed-card:        rgba(251, 249, 245, 0.92);
}

body {
  min-height: 100vh;
  font-family: 'Noto Serif JP', serif;
  color: var(--ed-text);
  background-color: #1a2318;
}

.ed-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('http://natsume-still.com/wp-content/uploads/2026/04/ChatGPT-Image-2026%E5%B9%B44%E6%9C%8825%E6%97%A5-14_30_37.png');
  background-size: cover;
  background-position: center 55%;
}

.ed-bg-fixed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 10, 0.38);
}

/* ── ヘッダー ── */
.ed-header {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(16px, 2.5vw, 28px) clamp(24px, 4vw, 56px);
  background: rgba(10, 16, 10, 0.45);
  border-bottom: 1px solid var(--ed-line);
}

.ed-header__logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.22em;
  color: var(--ed-white);
  text-decoration: none;
  text-transform: uppercase;
}

.ed-header__nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  list-style: none;
}

.ed-header__nav a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.24em;
  color: var(--ed-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.ed-header__nav a:hover { color: var(--ed-white); }

/* ── メインレイアウト ── */
.ed-page {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: clamp(40px, 6vh, 80px) clamp(16px, 4vw, 32px);
}

.ed-card {
  width: 100%;
  max-width: 760px;
  background: var(--ed-card);
  border-radius: 2px;
  padding: clamp(40px, 6vw, 80px) clamp(32px, 6vw, 80px);
  box-shadow: 0 8px 48px rgba(10, 16, 10, 0.32);
}

/* ── プロフィールヘッダー ── */
.ed-profile {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(40px, 6vh, 64px);
  padding-bottom: clamp(32px, 5vh, 48px);
  border-bottom: none;
}

.ed-profile__photo {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(166, 137, 90, 0.35);
  flex-shrink: 0;
}

.ed-profile__name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.12em;
  color: var(--ed-text);
  margin-bottom: 6px;
  line-height: 2.2;
}

.ed-profile__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.22em;
  color: var(--ed-accent);
  text-transform: uppercase;
}

/* ── セクション共通 ── */
.ed-section {
  margin-bottom: clamp(40px, 6vh, 64px);
}

/* 大きい英字タイトルが上 */
.ed-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  color: var(--ed-text);
  line-height: 1;
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(166, 137, 90, 0.2);
}

/* 小さい日本語ラベルが直下に密着 */
.ed-section__label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ed-accent);
  margin-top: 6px;
  margin-bottom: 24px;
  display: block;
}

/* ── 本文（the_content経由） ── */
.ed-content p {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--ed-text);
  margin-bottom: 1.4em;
}

/* WPエディタのh2をセクションタイトル風に */
.ed-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  color: var(--ed-text);
  line-height: 1;
  margin-top: clamp(40px, 6vh, 64px);
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(166, 137, 90, 0.2);
}

/* ── セクション本文 ── */
.ed-section__body {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--ed-text);
  margin-top: 20px;
}

.ed-section__body br {
  display: block;
  margin-bottom: 0.8em;
  content: '';
}

/* ── ルビ（ふりがな） ── */
.ed-profile__name ruby {
  ruby-align: center;
}

.ed-profile__name rt {
  font-family: 'Noto Serif JP', serif !important;
  font-weight: 200 !important;
  font-size: 11px !important;
  letter-spacing: 0.3em !important;
  color: var(--ed-accent) !important;
  padding-bottom: 6px;
}

/* ── CTAボタン（Self Check） ── */
.ed-cta {
  display: block;
  width: fit-content;
  margin-top: 24px;
  padding: 14px 36px;
  background-color: var(--ed-accent-dark);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  border-radius: 0;
  transition: background-color 0.25s;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
}

.ed-cta:hover {
  background-color: #2e4a2b;
  color: #ffffff;
}

/* ── storyページボタン ── */
.ed-story-btn {
  display: block !important;
  width: fit-content !important;
  margin-top: 28px !important;
  padding: 13px 32px !important;
  background-color: var(--ed-accent-dark) !important;
  color: #f4f0e8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  letter-spacing: 0.14em !important;
  border-radius: 0 !important;
  border: none !important;
  transition: background-color 0.25s, color 0.25s;
  font-family: 'Noto Serif JP', serif !important;
  font-weight: 300 !important;
}

.ed-story-btn:hover {
  background-color: #2e4a2b !important;
  color: #f4f0e8 !important;
}

/* ── SNSボタン ── */
.ed-sns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ed-sns__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ed-accent);
  color: var(--ed-accent);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  border-radius: 2px;
  transition: background-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.ed-sns__btn:hover {
  background-color: var(--ed-accent-dark);
  border-color: var(--ed-accent-dark);
  color: #ffffff;
}

.ed-sns__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── フッター ── */
.ed-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 24px;
  background: rgba(10, 16, 10, 0.55);
  border-top: 1px solid var(--ed-line);
}

.ed-footer p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ed-faint);
}

/* ── モバイル ── */
@media (max-width: 767px) {
  .ed-profile { flex-direction: column; text-align: center; }
  .ed-card { padding: 32px 20px; }
  .ed-header { padding: 14px 20px; }
  .ed-sns { justify-content: center; }
  .ed-sns__btn { padding: 7px 11px; font-size: 11px; }
}
