/* =========================================================
   成田丈士 自己紹介HP（osaru-life.com）
   Design tokens: メイングリーン #80CE51 / テキストグリーン #2BA543
   Font: Zen Kaku Gothic New
   1つの流動的（fluid）レイアウトでPC/SP共通対応
   ========================================================= */

:root {
  --green-main: #80CE51;   /* 図形・ボーダー */
  --green-text: #2BA543;   /* 見出し・アクセント */
  --green-light: #BFEFA0;  /* ヒーロー見出し */
  --ink: #26241F;          /* 本文・見出し黒 */
  --gray: #8a8880;         /* サブテキスト */
  --gray-dark: #55534a;    /* サブテキスト濃 */
  --bg: #FFFFFF;
  --card-bg: #FAFAF7;
  --origin-bg: #F3FAF0;    /* 由来ボックス */
  --border: rgba(38, 36, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1.85;
}

img { max-width: 100%; }

/* ---- ページラッパー & 背景装飾 ---- */
.page { position: relative; overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { top: -140px; right: -140px; width: 380px; height: 380px; background: rgba(128, 206, 81, 0.08); }
.blob-2 { top: 900px;  left: -160px; width: 320px; height: 320px; background: rgba(128, 206, 81, 0.06); }
.blob-3 { bottom: -120px; right: -100px; width: 300px; height: 300px; background: rgba(128, 206, 81, 0.07); }

/* ---- コンテナ ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 32px);
  padding-right: clamp(20px, 5vw, 32px);
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: 900px; }

/* ---- 共通ヘッダー（下層ページ） ---- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(38, 36, 31, 0.1);
}
.brand { text-decoration: none; color: inherit; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.brand__en   { font-size: 10.5px; letter-spacing: 0.14em; color: var(--gray); margin-top: 3px; text-transform: uppercase; }

.nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.nav a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
  transition: color 0.2s, opacity 0.2s;
}
.nav a:hover { opacity: 1; color: var(--green-text); }
.nav a.is-active { color: var(--green-text); opacity: 1; font-weight: 700; }

/* ---- ヒーロー（Homeのみ） ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 32px) 68px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 28, 14, 0.1) 0%, rgba(18, 28, 14, 0.45) 65%, rgba(18, 28, 14, 0.78) 100%);
  z-index: 1;
}
.hero__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 32px);
  z-index: 3;
}
.hero__brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; color: #fff; }
.hero__brand-en   { font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.75); margin-top: 3px; text-transform: uppercase; }
.hero__nav { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.hero__nav a {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.hero__nav a:hover { opacity: 1; color: var(--green-light); }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: end;
}
.hero__overline {
  font-size: 12.5px;
  letter-spacing: 0.28em;
  color: var(--green-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.4;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.hero__title .accent { color: var(--green-light); }
.hero__lead { font-size: 16px; color: rgba(255, 255, 255, 0.92); margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }

.hero__meta { border-left: 2px solid var(--green-main); padding-left: 22px; }
.hero__meta-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.hero__meta-place { font-size: 13px; color: rgba(255, 255, 255, 0.8); }

.nowrap { white-space: nowrap; }

/* ---- 下層ページ ヘッダー見出し ---- */
.page-head { padding-top: 72px; padding-bottom: 20px; }
.overline {
  font-size: 12.5px;
  letter-spacing: 0.28em;
  color: var(--green-text);
  font-weight: 700;
  margin-bottom: 20px;
}
.page-title {
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.page-sub { font-size: 14.5px; color: var(--gray); margin: 0; }

/* ---- 区切り（緑の点線） ---- */
.divider { width: 64px; height: 0; border-top: 2px dashed rgba(43, 165, 67, 0.4); }
.divider-wrap { position: relative; z-index: 1; }

/* ---- 本文セクション ---- */
.section { padding-top: 40px; position: relative; z-index: 1; }
.section-label {
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--green-text);
  font-weight: 700;
  margin-bottom: 14px;
}
.section p { font-size: 16px; color: var(--ink); margin: 0 0 14px; max-width: 680px; }
.section p:last-of-type { margin-bottom: 0; }
.section .note { font-size: 13.5px; color: var(--ink); opacity: 0.6; margin: 14px 0 0; }

/* マーカー風ハイライト */
.mark {
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(128, 206, 81, 0.4) 62%);
}
.section .mark { font-weight: 600; }

/* ---- 写真グリッド ---- */
.photo-grid {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}
.photo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
.photo-grid img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(12%) contrast(0.95) brightness(1.04) saturate(0.9);
}
.photo-grid--portrait img { aspect-ratio: 9 / 16; object-position: top; }

/* ---- カードグリッド（Home「もう少し私のことを」） ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 26px 24px;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--green-main); }
.card__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-text);
  margin-bottom: 12px;
  display: inline-block;
  border: 1.5px solid var(--green-main);
  border-radius: 14px;
  padding: 3px 12px;
}
.card__title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.card__desc  { font-size: 13px; color: var(--gray-dark); margin: 0 0 14px; }
.card__more  { font-size: 12px; color: var(--green-text); }

/* ---- セクション見出し（MORE ABOUT ME 等） ---- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--green-text);
  font-weight: 700;
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 28px;
}
.h2--tight { margin-bottom: 12px; }
.section-note { font-size: 13.5px; color: var(--gray); margin: 0 0 32px; }

/* ---- What's Next / 特色カード（上部緑ボーダー） ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card-bg);
  border-top: 3px solid var(--green-main);
  padding: 28px 26px;
}
.feature__no { font-size: 12px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 10px; }
.feature__title { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.feature__desc  { font-size: 13.5px; color: var(--gray-dark); margin: 0; }
.feature__desc--sm { font-size: 13px; line-height: 1.75; }

/* ---- 由来ボックス（Family） ---- */
.origin {
  background: var(--origin-bg);
  border-left: 3px solid var(--green-main);
  padding: 28px 30px;
  text-align: center;
}
.origin__label { font-size: 12px; letter-spacing: 0.16em; color: var(--green-text); font-weight: 700; margin-bottom: 12px; }
.origin__quote { font-size: 22px; font-weight: 900; color: var(--ink); margin: 0 0 10px; letter-spacing: 0.02em; }
.origin__desc  { font-size: 13.5px; color: var(--ink); opacity: 0.75; margin: 0; }

/* ---- インライン SNS（Hometown 発信欄） ---- */
.sns-inline { display: flex; gap: 14px; margin: 24px 0 0; }

/* ---- 戻るリンク ---- */
.back-link { text-align: center; padding: 64px 0 8px; position: relative; z-index: 1; }
.back-link a {
  font-size: 13px;
  color: var(--green-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 36, 31, 0.14);
  padding-bottom: 2px;
}

/* ---- フッター ---- */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid rgba(38, 36, 31, 0.1);
  padding: 56px clamp(20px, 5vw, 32px) 64px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.site-footer--sub { margin-top: 32px; }
.footer__catch { font-size: 19px; font-weight: 900; color: var(--green-text); margin-bottom: 20px; letter-spacing: 0.02em; }
.footer__nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 26px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.72;
  transition: color 0.2s, opacity 0.2s;
}
.footer__nav a:hover { opacity: 1; color: var(--green-text); }
.footer__place { font-size: 12px; color: var(--gray); letter-spacing: 0.04em; }
.footer__top {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  color: var(--green-text);
  text-decoration: none;
  border: 1px solid var(--green-main);
  border-radius: 20px;
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s;
}
.footer__top:hover { background: var(--green-main); color: #fff; }

/* ---- SNSアイコン（円形アウトライン） ---- */
.sns { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.sns--left { justify-content: flex-start; margin-bottom: 0; }
.sns a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sns a:hover { background: var(--green-main); color: #fff; }
