/* ---- 共通CSSからの差分（現状維持のための上書き） ---- */
.footer-sub .sns { flex-wrap: nowrap; }
@media (max-width: 920px) {
  .h-nav a { border-bottom: 1px solid #f0ede6; }
}

/* ============================================================
   soukyu.com「プロフィール」v2
   人柄＋経歴・実績の“厚み”で信頼させるページ。
   3条件の理屈は載せず joken.html へ誘導（役割分担を維持）。
   トーン：白×紙グレー／見出し明朝・本文ゴシック#4a4a46／朱アクセント
   ※一人称は「私」（soukyu.com 共通）
   ※活動の記録・代表作リンクは現行 soukyu.com/profile/ の実データを移植
   ============================================================ */

html { scroll-behavior: smooth; }
body { font-family: 'Noto Serif JP', serif; background: var(--bg); color: var(--sumi); overflow-x: hidden; }
img { max-width: 100%; display: block; }
section[id] { scroll-margin-top: 78px; }

/* ---------- 製図グリッド（v5共通） ---------- */

/* ---------- ヘッダー（index.html / joken.html と共通） ---------- */

/* ---------- 本文ラッパ ---------- */
.ds-wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px) 96px; }

.ds-hero { padding: clamp(44px, 7vw, 88px) 0 clamp(30px, 4vw, 52px); }
.ds-label { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--shu); margin-bottom: 20px; }
/* v5: 他ページの見出しラベルと同じ朱の角マーカー */
.ds-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--shu);
  margin-right: 10px;
  vertical-align: middle;
}
h1 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: 0.05em; line-height: 1.35; margin-bottom: 18px; }
.prof-title { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.9; color: var(--ink-body); }

/* プロフィール導入 */
.profile-intro {
  /* #profile で飛んできたとき、追従ヘッダーの下に隠れないようにする */
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: stretch;
  margin-bottom: 56px;
}
.prof-photo { border-radius: 14px; overflow: hidden; background: var(--cream); }
.prof-photo img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* 想い（マニフェスト・強調ブロック） */
.prof-manifesto {
  background: var(--cream);
  border-radius: 18px;
  padding: 44px clamp(22px, 4vw, 48px);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prof-manifesto .ds-label { text-align: left; }
.prof-manifesto .ds-label::before { display: none; }
.prof-manifesto p {
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 18px;
}
.prof-manifesto .sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  font-weight: 400;
  line-height: 2.05;
  color: var(--ink-body);
  letter-spacing: 0;
  margin-bottom: 0;
}

.ds-sec { margin-bottom: 64px; }
.ds-sec > h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}
.ds-sec > h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--shu);
  margin-top: 12px;
  margin-bottom: 26px;
}
.ds-sec p:not(.ds-label) { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); line-height: 2.1; color: var(--ink-body); margin-bottom: 16px; }
.ds-sec p .em { color: var(--shu); font-weight: 700; }
.ds-sec p .em-link {
  color: var(--shu);
  font-weight: 700;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.ds-sec p .em-link:hover { color: var(--sumi); }

/* 現在の活動・資格カード */
.prof-quals {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  border-radius: 14px;
  padding: 26px clamp(20px, 3vw, 34px);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
}
.ds-sec .prof-quals .q {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-body);
}
.prof-quals .q::before { content: '—'; color: var(--shu); font-weight: 700; }
.prof-quals .q strong { color: var(--sumi); font-weight: 700; }

/* 略歴（年表） */
.prof-history { font-family: 'Noto Sans JP', sans-serif; }
.prof-history dl { display: grid; grid-template-columns: 112px 1fr; gap: 14px 22px; align-items: center; }
.prof-history dt { font-weight: 700; color: var(--shu); font-size: 15.5px; letter-spacing: 0.04em; white-space: nowrap; }
.prof-history dd { font-size: clamp(15.5px, 1.3vw, 16.5px); line-height: 1.8; color: var(--ink-body); }

.profile-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  font-family: 'Noto Sans JP', sans-serif;
}
.profile-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #e2dccd;
  border-radius: 999px;
  color: var(--sumi);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.profile-sns a:hover {
  transform: translateY(-2px);
  border-color: var(--shu);
  color: var(--shu);
}

/* 活動の記録（展覧会・掲載） */
.activity { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); }
.activity-group h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sumi);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ece7da;
}
.activity-list { list-style: none; font-family: 'Noto Sans JP', sans-serif; }
.activity-list li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.8; color: var(--ink-body); padding: 7px 0; border-bottom: 1px dashed #efeadd; }
.activity-list li:last-child { border-bottom: 0; }
.activity-list .yr { font-weight: 700; color: var(--shu); letter-spacing: 0.02em; }
.activity-list a { color: var(--sumi); text-decoration: none; border-bottom: 1px solid #ddd5c5; transition: color 0.2s, border-color 0.2s; }
.activity-list a:hover { color: var(--shu); border-color: var(--shu); }

/* 代表的な制作実績・学びたい方へ：リンクカード */
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--link-card-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--sumi);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.link-card:hover { transform: translateY(-3px); border-color: var(--link-card-border-hover); box-shadow: 0 12px 30px rgba(31, 31, 31, 0.08); }
.link-card .eyebrow { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--shu); }
.link-card strong { font-size: 16px; line-height: 1.5; letter-spacing: 0.02em; }
.link-card span { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; line-height: 1.8; color: var(--ink-body); }
.link-card .arrow { font-family: 'Noto Sans JP', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--sumi); margin-top: 4px; }

.ds-inline-btn {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--sumi);
  text-decoration: none;
  border: 1.5px solid #d8d2c4;
  border-radius: 999px;
  padding: 11px 26px;
  margin-top: 18px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ds-inline-btn:hover { background: var(--sumi); color: #fff; border-color: var(--sumi); }

/* CTA */
.ds-cta { background: var(--cream); border-radius: 18px; padding: 46px 24px; text-align: center; margin-top: 24px; }
.ds-cta h2 { font-size: clamp(20px, 2.3vw, 27px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; margin-bottom: 14px; border: 0; padding: 0; }
.ds-cta p { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17px); line-height: 2.05; color: var(--ink-body); margin-bottom: 26px; }

/* ---------- フッター（index.html / joken.html と共通） ---------- */

.footer-sub a:hover { color: #fff; }

@media (max-width: 700px) {
  .ds-wrap { padding: 0 20px 64px; }
  .profile-intro { grid-template-columns: 1fr; margin-bottom: 44px; }
  .prof-photo { max-width: 360px; width: 100%; margin: 0 auto; }
  .prof-manifesto { text-align: center; }
  .prof-manifesto .ds-label { text-align: center; }
  .prof-quals { grid-template-columns: 1fr; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
  .prof-history dl { grid-template-columns: 72px 1fr; }
  .activity { grid-template-columns: 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .btn { width: 100%; text-align: center; }
}
