/* ===========================================================
   回想法とは（チラシ再現ページ）
   配色・書体はチラシ入稿データ（260825_ccnl_ueda2541sama_A4_srhn.pptx）に準拠
   =========================================================== */

.kso {
  --kso-green:      #006934;  /* 見出し・本文の濃緑 */
  --kso-green-mid:  #45A86C;  /* アイコン・枠線・番号丸 */
  --kso-band:       #EBF5EC;  /* 薄緑の帯 */
  --kso-brown:      #7A6A56;  /* ラベル・キャプション */
  --kso-quote-text: #604C3F;  /* 寄稿欄の文字 */
  --kso-quote-bg:   #FFFDED;  /* 寄稿欄・円の背景 */
  --kso-quote-line: #F9C158;  /* 寄稿欄の枠線 */
  --kso-ink:        #231815;  /* 黒文字 */
}

/* ===========================================================
   特設ページ用のヘッダー・フッター
   公式サイトのグローバルナビは使わず、独立した情報ページとして見せる
   =========================================================== */
.kso-sp-header {
  background: var(--white);
  border-bottom: 2px solid var(--kso-green);
  padding: 26px 0 22px;
  text-align: center;
}

.kso-sp-eyebrow {
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.kso-sp-title {
  font-size: clamp(19px, 2.9vw, 27px);
  font-weight: 700;
  color: var(--kso-green);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 9px;
}

.kso-sp-owner {
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.kso-sp-footer {
  background: var(--kso-band);
  border-top: 1px solid rgba(0, 105, 52, 0.15);
  padding: 34px 0 30px;
  text-align: center;
}

.kso-sp-footer-owner {
  font-size: 14px;
  font-weight: 500;
  color: var(--kso-green);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.kso-sp-footer-link {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2px;
  transition: var(--transition);
}
.kso-sp-footer-link:hover { color: var(--kso-green); border-bottom-color: var(--kso-green); }

.kso-sp-copy {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 18px;
}

/* ヘッダーが固定でなくなるので、上の余白を取り直す */
.kso-special .kso-hero { padding-top: 52px; }

/* ===== ページヘッダー（チラシ上部） ===== */
.kso-hero {
  padding: calc(var(--nav-h) + 56px) 0 0;
  background: var(--white);
  overflow-x: clip;   /* 装飾の音符が横スクロールを生まないように */
}

/* ─── チラシ実測比率（コンテンツ幅540.4pt を 100% とする）───
   回想法 38.8% ／ 間隔 10.0% ／ 丸2つ 46.6% ／ 右の余白 4.6%      */
.kso-hero-inner {
  display: flex;
  align-items: center;
}

/* 「懐かしい映像や音楽と」を「回想法」と同じ幅に揃える（チラシと同じ体裁） */
.kso-hero-title-block {
  width: 38.8%;
  flex: 0 0 auto;
}

.kso-hero-lead {
  font-size: min(29px, 2.6vw);
  font-weight: 500;
  color: var(--kso-green);
  margin: 0 0 8px;
  text-align: justify;
  text-align-last: justify;
  letter-spacing: 0;
}

.kso-hero-title {
  /* 3文字×(1em+字間0.09em) が枠幅38.8%と一致するサイズ */
  font-size: min(126px, 11.4vw);
  font-weight: 700;
  color: var(--kso-green);
  letter-spacing: 0.09em;
  line-height: 1.12;
  margin: 0;
  white-space: nowrap;
  /* 末尾の字間の余りを打ち消す */
  margin-right: -0.09em;
}

/* ===== 丸イラスト2つ（チラシの実測配置）=====
   直径115pt・中心の差が横1.10倍／縦0.42倍                       */
.kso-circles {
  --D: min(229px, 21.2vw);
  position: relative;
  width: calc(var(--D) * 2.104);
  height: calc(var(--D) * 1.417);
  flex: 0 0 auto;
  margin-left: 10%;     /* チラシ実測の間隔 */
}

.kso-circle {
  position: absolute;
  width: var(--D);
  height: var(--D);
  border-radius: 50%;
  background: var(--kso-quote-bg);
  text-align: center;
}

.kso-circle-a { left: 0;  bottom: 0; }   /* レコード：左下 */
.kso-circle-b { right: 0; top: 0; }      /* 映写機：右上 */

/* チラシ実測：文字は円の高さ13.5%、イラストは65%の位置が中心 */
.kso-circle-cap {
  position: absolute;
  top: 13.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: max(10px, calc(var(--D) * 0.076));
  font-weight: 400;
  color: var(--kso-brown);
  line-height: 1.5;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin: 0;
}

.kso-circle img {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 49%;
  height: auto;
}
.kso-circle-b img { width: 53%; }

/* 散らした音符 */
.kso-music {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.kso-circles .n-y1 { width: calc(var(--D) * 0.11); left: 33%;  top: 6%; }
.kso-circles .n-t1 { width: calc(var(--D) * 0.12); left: -7%;  top: 24%; }
.kso-circles .n-g1 { width: calc(var(--D) * 0.13); right: -8%; top: 2%; }
.kso-circles .n-p1 { width: calc(var(--D) * 0.23); right: -9%; top: 60%; }

/* ===== 「回想法」とは ===== */
.kso-about {
  background: var(--kso-band);
  padding: 30px 0 0;
  margin-top: 26px;
}

/* ─── チラシ実測比率 ───
   本文 58.8% ／ 間隔 10.7% ／ イラスト（絵の実寸）29.7%          */
.kso-about-inner {
  display: flex;
  align-items: flex-end;
}

.kso-about-text  { width: 58.8%; flex: 0 0 auto; }

.kso-about-title {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 600;
  color: var(--kso-green);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.kso-about-body {
  font-size: min(20px, 1.88vw);   /* チラシ 10.5pt = コンテンツ幅の1.94% */
  line-height: 2.0;
  letter-spacing: 0.05em;
  color: var(--kso-ink);
  padding-bottom: 30px;
}

.kso-about-visual {
  width: 29.7%;
  flex: 0 0 auto;
  margin-left: 10.7%;
  align-self: flex-end;
}
/* チラシではシニアが帯の上端をはみ出す。帯の高さを押し広げないよう上に引き上げる */
.kso-about-visual img { width: 100%; height: auto; display: block; margin-top: -40px; }

/* ===== 4つの効果 ===== */
.kso-effects { padding: 64px 0; background: var(--white); }

.kso-effects-head {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.kso-effects-head .kso-music { width: 26px; }
.kso-effects-head .n-y2 { left: 12%;  top: 2%; }
.kso-effects-head .n-t2 { left: 85%;  top: 2%; }
.kso-effects-head .n-p2 { left: 7%;   top: 52%; width: 32px; }
.kso-effects-head .n-y3 { left: 90%;  top: 52%; }

.kso-effects-head .l1 {
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 600;
  color: var(--kso-green);
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.kso-effects-head .l2 {
  font-size: clamp(19px, 2.7vw, 26px);
  font-weight: 600;
  color: var(--kso-green);
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.kso-effects-head .l2 strong { font-weight: 700; }

.kso-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kso-card {
  position: relative;
  border: 1.5px solid var(--kso-green-mid);
  border-radius: 14px;
  background: var(--white);
  padding: 40px 16px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.kso-card-num {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--kso-green-mid);
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kso-card-icon { height: 58px; display: flex; align-items: center; }
.kso-card-icon img { max-height: 58px; width: auto; }

.kso-card-text {
  font-size: clamp(13px, 1.5vw, 14px);
  font-weight: 600;
  color: var(--kso-brown);
  line-height: 1.6;
  letter-spacing: 0.07em;
}

/* ===== まとめ文 ===== */
.kso-summary {
  padding: 0 0 64px;
  background: var(--white);
  text-align: center;
}

.kso-summary p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--kso-green);
  line-height: 2.0;
  letter-spacing: 0.02em;
}
.kso-summary strong { font-weight: 700; }

/* ===== 寄稿欄（枠で明確に区切る） ===== */
.kso-quote-wrap { padding: 0 0 64px; background: var(--white); }

.kso-quote {
  border: 2px solid var(--kso-quote-line);
  border-radius: 14px;
  background: var(--kso-quote-bg);
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 30px;
  align-items: start;
}

/* 写真の白フチ（チラシと同じ体裁） */
.kso-quote-photo {
  margin: 0;
  width: 100%;
  background: var(--white);
  padding: 2.8%;              /* チラシ実測：写真幅の約2.9% */
  border-radius: 7px;
  box-shadow: 0 3px 11px rgba(0,0,0,0.15);
}

.kso-quote-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.kso-quote-title {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--kso-quote-text);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.kso-quote-body {
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--kso-quote-text);
  line-height: 1.95;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.kso-quote-name {
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--kso-quote-text);
  letter-spacing: 0.07em;
}
.kso-quote-name .nm { margin-left: 1.6em; letter-spacing: 0.12em; }

/* ===== 締めのタグライン ===== */
.kso-tagline {
  padding: 0 0 72px;
  background: var(--white);
}

.kso-tagline-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.kso-tagline-inner span {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--kso-green);
  letter-spacing: 0.01em;
  text-align: center;
}

.kso-tagline-inner::before,
.kso-tagline-inner::after {
  content: '';
  width: clamp(28px, 7vw, 82px);
  height: 1.5px;
  background: var(--kso-green);
  flex-shrink: 0;
}

/* ===== 注記 ===== */
.kso-note {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 72px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--gray-500);
  text-align: center;
}

/* ===========================================================
   レスポンシブ
   =========================================================== */
@media (max-width: 900px) {
  .kso-cards { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

@media (max-width: 768px) {
  .kso-hero { padding-top: calc(var(--nav-h) + 32px); }
  .kso-special .kso-hero { padding-top: 34px; }
  .kso-sp-header { padding: 20px 0 17px; }
  .kso-hero-inner { flex-direction: column; align-items: center; gap: 28px; }
  .kso-hero-title-block { width: auto; }
  .kso-hero-title { font-size: min(72px, 17vw); }
  .kso-hero-lead { font-size: min(17px, 3.9vw); }
  .kso-circles { --D: clamp(96px, 26vw, 120px); margin-left: 0; }

  .kso-about { padding-top: 36px; }
  .kso-about-inner { flex-direction: column; align-items: stretch; }
  .kso-about-text { width: auto; }
  .kso-about-body { font-size: 15px; padding-bottom: 24px; }
  .kso-about-visual { width: auto; max-width: 320px; margin: 0 auto; }
  .kso-about-visual img { margin-top: 0; }

  .kso-effects { padding: 48px 0; }

  .kso-quote {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px;
    justify-items: center;
  }
  .kso-quote-photo { max-width: 176px; }
  .kso-quote-title { text-align: center; }
  /* 肩書と氏名が途中で切れないよう、氏名を改行して見せる */
  .kso-quote-name .nm { display: block; margin-left: 0; margin-top: 6px; }
}

@media (max-width: 480px) {
  .kso-cards { grid-template-columns: 1fr; gap: 34px; }
  /* 画面が狭いと見出し脇の音符が文字に重なるため隠す */
  .kso-effects-head .kso-music { display: none; }
}

/* width/height属性を付けた分、CSS側で高さを自動に戻す（CLS対策） */
.kso-circle img,
.kso-about-visual img,
.kso-card-icon img,
.kso-music,
.kso-quote-photo img { height: auto; }
