/* ==========================================================================
   私について（/about/）
   1. 表紙（街の絵のカバー＋丸い写真＋名前＋ひとことの事実）
   2. 3つの章（なにを・なぜ・どうやって）の左右の組み方
   3. 進め方の3枚のカード
   4. これまでの道のり（年表）
   5. 好きなこと（4枚のカード。絵はカードの下端にそろえる）
   6. ご相談の帯（上の線の重なりを消す）

   ▼ 組み替え：900px以下で章を1列に、767px以下でスマホの細かい調整
   ========================================================================== */

/* ---------- 1. 表紙 ----------
   site.js が追従CTAの表示判定に .page-head を使うので、.page-head を付けたうえで見た目を上書きする */
.page-head.about-cover { background: transparent; border-bottom: 0; padding: 0; }

/* カバー：トップの街の絵を横長の帯で（絵の上のほう＝空と街並みを見せる） */
.about-cover__band { height: 300px; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--sky); }
.about-cover__band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }

/* 丸い写真と名前：写真はカバーに重ね、名前はカバーの下端から32pxあける */
.about-cover__profile { display: flex; gap: 44px; align-items: flex-end; margin-top: -110px; padding-bottom: 64px; }
.about-cover__photo {
	position: relative; z-index: 2; flex: none;
	width: 240px; height: 240px; object-fit: cover; object-position: center 20%;
	border-radius: 50%; border: 5px solid var(--paper); box-shadow: 0 0 0 3px var(--ink); background: var(--white);
}
.about-cover__name { align-self: flex-start; padding: 142px 0 8px; }
.about-cover__brand { font-size: 15px; font-weight: 700; color: var(--orange-text); }
.page-head.about-cover h1 { margin-top: 2px; font-size: 48px; line-height: 1.3; }
.about-cover__en { margin-left: 16px; font-family: var(--font-num); font-size: 20px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.about-cover__catch { margin-top: 8px; font-size: 19px; font-weight: 700; }

/* ひとことの事実（チップ） */
.about-chips { list-style: none; padding: 0 0 70px; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.4; }

/* ---------- 2. 3つの章：左に大きな問いの見出し、右に読みものの本文 ---------- */
.about-sec { padding-block: clamp(64px, 8vw, 96px); }
.about-sec .h2 { font-size: clamp(28px, 3.6vw, 38px); }
.story { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.story-q { position: sticky; top: calc(var(--header-h) + 24px); }
.story-q .num { display: block; font-family: var(--font-num); font-weight: 800; font-size: 64px; line-height: 1; color: var(--orange); -webkit-text-stroke: 2px var(--ink); }
.story-q .num + .eyebrow { margin-top: 14px; }
.story-body p { margin-bottom: 18px; font-size: 18px; line-height: 2; }
.story-body .lead { margin-bottom: 24px; font-size: 26px; font-weight: 900; line-height: 1.6; }
/* 作業の様子（3人に分身したキャラのイラスト） */
.story-body__img { display: block; margin-top: 28px; width: 100%; max-width: 640px; height: auto; }

/* ---------- 3. 進め方の3枚のカード ---------- */
.about-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-how > div { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 26px 24px; }
.story-body .about-how__title { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.5; }
.story-body .about-how__text { margin: 10px 0 0; font-size: 16px; line-height: 1.9; }

/* ---------- 4. これまでの道のり（年表：左に縦線、点を並べる） ---------- */
.story-q__chara { display: block; width: 150px; margin-top: 28px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.tl::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 3px; background: var(--line-soft); }
.tl li { position: relative; padding-bottom: 30px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -34px; top: 8px; width: 21px; height: 21px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
.tl li.now::before { background: var(--orange); }
.tl .when { font-family: var(--font-num); font-weight: 800; font-size: 14px; color: var(--orange-text); }
.tl h3 { margin: 2px 0 4px; font-size: 21px; font-weight: 900; line-height: 1.5; }
.tl p { font-size: 16px; }

/* ---------- 5. 好きなこと（4枚。絵はカードの下端にそろえる） ---------- */
.about-likes-sec { padding-block: clamp(64px, 7vw, 80px); }
.about-likes { list-style: none; margin-top: 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-likes li { display: flex; flex-direction: column; background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 24px; }
.about-likes__title { font-size: 19px; font-weight: 900; }
.about-likes__text { margin-top: 6px; font-size: 15px; }
/* margin-top:auto で、文章の長さが違っても絵が下端にそろう */
.about-likes img { display: block; width: 140px; height: 120px; object-fit: contain; object-position: center bottom; margin: auto auto 0; padding-top: 16px; box-sizing: content-box; }

/* ---------- 6. ご相談の帯：直前のセクションの下線と重なるので、上の線は消す ---------- */
.cta-band { border-top: 0; }


/* ==========================================================================
   組み替え（タブレット：900px以下）
   ========================================================================== */
@media (max-width: 900px) {
	.story { grid-template-columns: 1fr; gap: 28px; }
	.story-q { position: static; }
	.about-how { grid-template-columns: 1fr; gap: 16px; }
	.about-likes { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.story-q__chara { display: none; } /* 1列のときは年表の前にキャラが入ると間延びするので隠す */

	/* 表紙：写真と名前を縦に並べる */
	.about-cover__band { height: 220px; }
	.about-cover__profile { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: -90px; padding-bottom: 40px; }
	.about-cover__photo { width: 180px; height: 180px; }
	.about-cover__name { align-self: auto; padding: 0; }
	.about-chips { padding-bottom: 56px; }
}


/* ==========================================================================
   組み替え（スマホ：767px以下）余裕を意識：本文16px前後・注記13px以上
   ========================================================================== */
@media (max-width: 767px) {
	.about-cover__band { height: 160px; }
	.about-cover__profile { margin-top: -70px; }
	.about-cover__photo { width: 140px; height: 140px; border-width: 4px; }
	.page-head.about-cover h1 { font-size: 34px; }
	/* 英語の名前は次の行へ */
	.about-cover__en { display: block; margin-left: 0; font-size: 16px; }
	.about-cover__catch { font-size: 17px; }
	.chip { font-size: 14px; min-height: 36px; padding: 0 14px; }

	.story-q .num { font-size: 52px; }
	.story-body p { font-size: 16px; line-height: 1.95; }
	.story-body .lead { font-size: 21px; }
	.story-body .about-how__title { font-size: 18px; }
	.tl h3 { font-size: 19px; }

	.about-likes li { padding: 18px; }
	.about-likes__title { font-size: 17px; }
	.about-likes img { width: 100px; height: 88px; padding-top: 12px; }
}

/* とても狭い画面（480px以下）：好きなことは1列 */
@media (max-width: 480px) {
	.about-likes { grid-template-columns: 1fr; }
}
