/* 河田純一 プロフィールページ
   配色は weavo のブランド（白 / #555A59 / #46C0D0）に合わせている。
   #46C0D0 は白地の文字だとコントラスト不足のため、文字・リンクには濃色 --ink を使う。 */
:root {
  --primary: #46c0d0;
  --ink: #1c7a86;
  --tint: #f2fafb;
  --text: #555a59;
  --strong: #3e4342;
  --muted: #6b706f;
  --line: #e1e6e6;
  --base: #ffffff;
  --font: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', 'Yu Gothic', Meiryo, system-ui, sans-serif;
  --font-en: 'Helvetica Neue', Arial, 'Hiragino Sans', system-ui, sans-serif;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

h1, h2 {
  margin: 0;
  color: var(--strong);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

p { margin: 0; }
p + p { margin-top: 1.2em; }

a { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--base);
  color: var(--ink);
  padding: 12px 16px;
  border: 2px solid var(--ink);
  z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 760px; }

.label {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 14px;
}

.nb { display: inline-block; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(72px, 14vw, 160px) clamp(150px, 16vw, 200px);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.875rem, 6vw, 3.5rem); }
.lead { margin-top: 28px; max-width: 32em; font-size: 1.0625rem; }

.weave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(80px, 12vw, 160px);
  opacity: 0.7;
  pointer-events: none;
}
.weave path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.weave .weave--sub { stroke: var(--ink); stroke-opacity: 0.25; }

/* Sections */
.section { padding-block: clamp(64px, 10vw, 112px); }
.section--tint { background: var(--tint); }
.section h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 28px; }

blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--primary);
}
blockquote p {
  color: var(--strong);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  line-height: 1.7;
}

.chips {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  background: var(--base);
  border: 1px solid var(--line);
  padding: 8px 18px;
  color: var(--strong);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.links { list-style: none; margin: 0; padding: 0; }
.links a {
  display: block;
  padding: 22px 24px;
  background: var(--base);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s;
}
.links a:hover { border-color: var(--ink); }
.links li + li { margin-top: 12px; }
.links__name { display: block; color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.links__desc { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }

.footer {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* 3つの軸 */
.section--first { padding-top: clamp(56px, 8vw, 96px); }

.themes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.theme {
  background: var(--base);
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  padding: 28px 24px;
}
.theme__en {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 0;
}
.theme h3 {
  margin: 8px 0 12px;
  color: var(--strong);
  font-size: 1.375rem;
  letter-spacing: 0.08em;
}
.theme p + p { margin-top: 0; }
.theme > p:last-child { font-size: 0.9375rem; line-height: 1.9; margin-top: 0; }

@media (min-width: 768px) {
  .themes { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* 相談ボタン */
.cta { margin-top: 40px; }
.cta--section { margin-top: 32px; }
.cta__target {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 56px;
  padding: 14px 32px;
  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s;
}
.btn:hover { background: #15626c; }
.btn:focus-visible { outline: 3px solid var(--strong); outline-offset: 3px; }
.btn__arrow {
  width: 0.55em;
  height: 0.55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
@media (max-width: 767px) { .btn { width: 100%; } }

.note { margin-top: 20px; color: var(--muted); font-size: 0.875rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } }

/* プロフィール写真 */
.portrait {
  display: block;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 0 32px;
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .portrait { float: right; width: 260px; margin: 6px 0 24px 40px; }
}
