/* ============================================
   河合 舜平 リンク集（https://shumpei.kaleido.style/）
   /       … リンク集（黒い背景・白いボタン）
   /work/  … お仕事の依頼（白いシート）

   方針：作り物を減らす。
   ・ボタンは白い箱に、そのサービスのロゴと文字だけ
   ・再生数やインサイトは載せない（資料でだけ渡す）
   ・黄色は「仕事の入口」と「メールを送る」だけ
   ・角の丸みは3種類だけ（6＝写真 / 10＝ボタン / 18＝シート）
   ============================================ */

:root {
  --ink: #16181D;
  --text: #2A2D33;
  --muted: #6B7078;
  --line: #E4E5E7;
  --paper: #FFFFFF;
  --night: #0E0F11;    /* 背景の黒 */
  --sun: #FDD247;      /* KALEIDOの黄 */
  --navy: #012677;     /* KALEIDOの紺。文字リンクだけ */

  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Barlow Semi Condensed', 'Zen Kaku Gothic New', sans-serif;

  --side: 16px;        /* 画面の左右の余白 */
  --pad: 20px;         /* シートの中の左右の余白 */
}

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

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

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sheet :focus-visible { outline-color: var(--navy); }
.contact :focus-visible { outline-color: var(--sun); }

/* 背景は黒一色。写真にしたいときは、ここに background: url(/img/bg.jpg) center / cover を足す */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--night);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ---------- 日本語／英語の切りかえ ---------- */
html:not([data-lang="en"]) [data-l="en"],
html[data-lang="en"] [data-l="ja"] { display: none !important; }

.lang {
  position: absolute;
  top: 10px;
  right: var(--side);
  z-index: 2;
  display: flex;
  gap: 2px;
}

.lang button {
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ============================================
   リンク集（/）
   ============================================ */

/* ---------- 名前とひとこと ---------- */
.me {
  padding: 22px 4px 16px;
  color: #fff;
}

.me__face {
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.me__name {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.me__latin {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.me__bio {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

/* ひとことの中の区切り（traveler | KALEIDO CEO） */
.me__sep { margin: 0 9px; opacity: 0.55; }

.me__sns {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.me__sns a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* ---------- ボタン（白い箱に、ロゴと文字） ---------- */
.btn {
  display: block;
  margin-top: 8px;
  padding: 15px 16px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.btn:active { background: #F2F2F2; }

.btn__logo {
  display: block;
  width: auto;
  margin-bottom: 9px;
}

.btn__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.btn__note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* 決めた位置（<wbr>）でだけ改行する。iPhoneでも単語の途中で切れない */
.btn__title,
.btn__note,
.feature__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 仕事の入口（黄色） */
.btn--work { margin-top: 0; background: var(--sun); }
.btn--work:active { background: #F2C534; }
.btn--work .btn__title { font-size: 16px; }
.btn--work .btn__note { color: var(--ink); }

/* ---------- 僕が使ってるもの ---------- */
.travel { padding-top: 22px; }

.travel__title {
  padding: 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.travel__notice {
  margin-top: 2px;
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

/* 年間スポンサー（Holafly）の大きいボタン */
.sponsor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 184px;
  margin-top: 8px;
  padding: 46px 16px 20px;
  border-radius: 10px;
  background: #E6485C; /* Holaflyのロゴの色 */
  color: #fff;
  text-decoration: none;
}

.sponsor:active { background: #D83F53; }

.sponsor__title {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.sponsor__logo { width: auto; height: 78px; }

.sponsor__sub {
  margin-top: -6px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* ============================================
   お仕事の依頼（/work/）
   ============================================ */

/* ---------- 上の帯（リンク集へ戻る） ---------- */
.topbar {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding-top: 4px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.back img {
  width: 36px;
  height: 36px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- 白いシート ---------- */
.sheet {
  margin: 6px calc(var(--side) * -1) 0;
  padding: 32px var(--pad) 36px;
  border-radius: 18px 18px 0 0;
  background: var(--paper);
}

.sheet__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.sheet__title--next {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}

.sheet h3 {
  margin-top: 44px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.sheet p { margin-top: 10px; }

.cap { font-size: 13px; line-height: 1.7; color: var(--muted); }

.textlink {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* ---------- メールのボタン ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sheet .actions { margin-top: 18px; }

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--sun);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.go:active { background: #F2C534; }

.go--line {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.go--line:active { background: #F2F2F2; }

/* 「アドレスをコピー」を押したあとの表示 */
.copy__done { display: none; }
.is-done .copy__idle { display: none; }
.is-done .copy__done { display: inline; }

.sheet .addr {
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
  user-select: all;
}

/* ---------- フォロワー（3つ横並び） ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div { padding: 12px 0 11px; }
.stats > div + div { padding-left: 14px; border-left: 1px solid var(--line); }

.stats dt {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.stats dd {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- PR投稿の例（横にスクロール） ---------- */
.reels {
  display: flex;
  gap: 8px;
  margin: 12px calc(var(--pad) * -1) 0;
  padding: 0 var(--pad);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reels::-webkit-scrollbar { display: none; }

.reel {
  flex: none;
  width: 128px;
  scroll-snap-align: start;
  color: var(--ink);
  text-decoration: none;
}

.reel__img,
.feature__img { position: relative; display: block; }

.reel__img img {
  width: 128px;
  height: 192px;
  object-fit: cover;
  border-radius: 6px;
  background: #EEE;
}

/* 再生マーク（押すと動画が開く） */
.reel__img::after,
.feature__img::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 9px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

.reel__cap {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- 出演した番組（小さい写真＋文） ---------- */
.feature {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  color: var(--ink);
  text-decoration: none;
}

.feature__img img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  background: #EEE;
}

.feature__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.feature__note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- これまでのお取引（ロゴが横に流れる） ---------- */
.logos {
  margin: 14px calc(var(--pad) * -1) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.logos + .logos { margin-top: 6px; }

.logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.logos__track--rtl { animation: logos-rtl 34s linear infinite; }
.logos__track--ltr { animation: logos-ltr 38s linear infinite; }

.logos__item {
  flex: none;
  display: flex;
  align-items: center;
  height: 52px;
  margin-right: 38px; /* gap ではなく余白で空ける（半分ずらしたときに継ぎ目がずれない） */
}

.logos__item img { width: auto; height: 46px; }

@keyframes logos-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logos-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- お受けできること ---------- */
.plain { margin-top: 12px; border-top: 1px solid var(--line); }

.plain li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.plain b { display: block; font-size: 15px; color: var(--ink); }

.plain--links li { padding: 0; font-size: 15px; }

.plain--links a {
  display: flex;
  align-items: center;
  min-height: 50px;
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* ---------- ご依頼の流れ（順番があるので番号を振る） ---------- */
.steps {
  margin-top: 12px;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.steps b { display: block; font-size: 15px; color: var(--ink); }

/* ---------- ご相談はメールで（ページの締め） ---------- */
.contact {
  margin: 48px -4px 0;
  padding: 26px 20px 24px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  scroll-margin-top: 12px;
}

.contact__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.sheet .contact p { font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.sheet .contact .actions { margin-top: 18px; }
.contact .go--line { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.contact .go--line:active { background: rgba(255, 255, 255, 0.14); }
.sheet .contact .addr { color: rgba(255, 255, 255, 0.72); }

/* ---------- 会社概要（2列の素朴な表） ---------- */
.rows {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 15px;
}

.rows th,
.rows td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}

.rows tr:first-child th,
.rows tr:first-child td { border-top: 1px solid var(--line); }

.rows th { width: 84px; color: var(--muted); font-size: 13px; }

/* ---------- フッター ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  font-size: 12px;
  color: var(--muted);
}

.foot--dark {
  margin-top: 36px;
  padding: 0 4px 36px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 狭い画面 ---------- */
@media (max-width: 359px) {
  .me__name { font-size: 30px; }
  .feature { grid-template-columns: 104px 1fr; }
  .feature__img img { width: 104px; height: 104px; }
}

/* ---------- パソコンで開いたとき ---------- */
@media (min-width: 720px) {
  .sheet { border-radius: 18px; margin-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos { overflow-x: auto; }
  .logos__track { animation: none; }
}
