@charset "UTF-8";

/* ============================================================
   本多ゼミ ＠デジタルハリウッド大学
   骨格は tadah.tokyo と共通。違うのは色ひとつだけ。
   TaDah … 蛍光黄 #EBFF00 ／ ここ … 蛍光橙 #FF5000
   （デジタルハリウッドのオレンジ #FF4500 を蛍光側に振ったもの）
   ============================================================ */

:root {
  --ink: #1A1A19;
  --ink-2: #4A4A47;
  --ink-3: #7A7A75;
  --rule: #E6E6E2;
  --neon: #FF5000;
  --paper: #FFFFFF;
  --en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* 和欧混植：欧文と数字は Helvetica、かなと漢字は游ゴシックに落ちる */
  --jp: 'Helvetica Neue', Helvetica, Arial, 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; max-width: 100%;
  background: var(--paper); color: var(--ink);
  font-family: var(--jp);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 6px; }
.en { font-family: var(--en); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- first view ---------- */
.fv { position: relative; min-height: 60svh; display: flex; align-items: flex-end; overflow: hidden; background: #2A3A32; }
.fv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.fv::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,9,.78) 0%, rgba(10,10,9,.3) 45%, rgba(10,10,9,0) 72%); }
.fv-body { position: relative; z-index: 1; padding: 0 var(--gutter) 8vh; color: #fff; }
.fv-sup { margin: 0 0 1em; font-size: clamp(11px, 2.2vw, 13px); letter-spacing: .2em; font-weight: 500; opacity: .92; }
.fv-name { margin: 0; font-size: clamp(34px, 7vw, 72px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.fv-role { margin: 1em 0 0; display: inline-block; font-size: clamp(12px, 2.4vw, 15px); letter-spacing: .1em;
  font-weight: 700; background: var(--neon); color: #fff; padding: .4em .85em; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 34px); justify-content: center;
  padding: 16px var(--gutter);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.nav a { color: var(--ink-2); padding: 2px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--neon); text-decoration: none; }

/* ---------- section：TaDah と同じ、英語が大きく日本語が小さい ---------- */
.sec { max-width: 1060px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) var(--gutter); border-top: 1px solid var(--rule); }
.sec:first-of-type { border-top: 0; }
.sec-h { margin: 0 0 clamp(28px, 5vw, 48px); display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  font-weight: 700; line-height: 1; }
.sec-h .en { font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.03em; }
.sec-h .jp { font-size: 16px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }

/* ---------- posts ---------- */
.posts { list-style: none; margin: 0; padding: 0; }
.post { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: clamp(12px, 3vw, 32px);
  padding: clamp(22px, 4vw, 30px) 0; border-top: 1px solid var(--rule); }
.post:first-child { border-top: 0; padding-top: 0; }
.post-date { margin: 0; padding-top: .3em; font-family: var(--en); font-size: 13px; color: var(--ink-3);
  font-variant-numeric: tabular-nums; }
.post-body > :first-child { margin-top: 0; }
.post-body > :last-child { margin-bottom: 0; }
.post-title { margin: 0 0 .7em; font-size: clamp(16px, 3vw, 18px); font-weight: 700; line-height: 1.65; }
.post-body p { margin: 0 0 .9em; font-size: 15px; color: var(--ink-2); }
.post-body a { color: var(--ink); border-bottom: 2px solid var(--neon); }
.post-body a:hover { text-decoration: none; background: var(--neon); color: #fff; }
.post-body img { margin: 1.5em 0; }
.post-body ul, .post-body ol { margin: 0 0 .9em; padding-left: 1.4em; font-size: 15px; color: var(--ink-2); }
.post-body iframe { max-width: 100%; }
.post-body figure { margin: 1.5em 0; }
.post-body figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: .5em; }

/* これまでのお知らせ（折りたたみ） */
.more { margin-top: 32px; }
.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .7em;
  padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "＋"; font-size: 12px; }
.more[open] > summary::after { content: "－"; }
.more > summary:hover { background: var(--neon); border-color: var(--neon); color: #fff; }
.more .posts { margin-top: 24px; }
.more .post:first-child { border-top: 1px solid var(--rule); padding-top: clamp(22px, 4vw, 30px); }

/* ---------- prose ---------- */
.prose { max-width: 42em; }
.prose p { margin: 0 0 1.1em; font-size: 16px; color: var(--ink-2); }
.prose .lead { font-size: clamp(19px, 3.4vw, 26px); font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.55; margin-bottom: 1.2em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; font-size: 16px; color: var(--ink-2); }
.prose li { margin-bottom: .5em; padding-left: 1.3em; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--neon); }
.prose a { color: var(--ink); border-bottom: 2px solid var(--neon); }
.prose a:hover { text-decoration: none; background: var(--neon); color: #fff; }
.link-out { margin-top: 1.8em; font-size: 14px; font-weight: 700; }

.access { margin: 0; display: grid; grid-template-columns: 5.5em 1fr; gap: 12px 20px; font-size: 15px; }
.access dt { color: var(--ink-3); font-size: 13px; font-weight: 700; padding-top: .18em; }
.access dd { margin: 0; color: var(--ink-2); }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.profile-fig img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* ---------- footer ---------- */
/* ============================================================
   連絡の入口。FV が HONDA LAB. で開くので、ここは Say Hello. で閉じる。
   級数は画面幅から逆算して常に横いっぱい。
   4.25 ＝「Say Hello.」の幅（Helvetica Bold・字間 -0.05em でブラウザ実測 4.24em）。
   文言を変えたら、ここも測り直す。
   ============================================================ */
.foot {
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(28px, 3.4vw, 40px);
  text-align: left; background: var(--ink); color: #fff;
}
.foot-h {
  margin: 0; line-height: .86; font-family: var(--en); font-weight: 700;
  letter-spacing: -0.05em; white-space: nowrap; font-kerning: normal;
  font-size: calc((100vw - var(--gutter) * 2) / 4.25);
}
.foot-h .dot { color: var(--neon); }
.foot-sub { margin: clamp(22px, 3vw, 34px) 0 0; font-size: 14px; line-height: 1.9; color: #B4B4AE; }
.foot-ways { list-style: none; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0 clamp(28px, 4vw, 64px); }
.foot-ways a {
  display: flex; align-items: baseline; gap: .5em; padding: .35em 0;
  color: #fff; border-bottom: 2px solid transparent;
}
.foot-ways a:hover, .foot-ways a:focus-visible { text-decoration: none; border-bottom-color: var(--neon); }
.w-name { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.01em; }
.w-id { font-size: 13px; color: #9A9A94; }
.foot-ways a:hover .w-id { color: #fff; }
.foot-meta {
  margin: clamp(34px, 4.5vw, 58px) 0 0; padding-top: 18px; max-width: 46em;
  border-top: 1px solid #333330; font-size: 12px; line-height: 1.9; color: #86867F;
}

/* ---------- sp ---------- */
@media (max-width: 680px) {
  .post { grid-template-columns: 1fr; gap: 6px; }
  .post-date { padding-top: 0; }
  .profile { grid-template-columns: 1fr; }
  .profile-fig { max-width: 190px; }
  .access { grid-template-columns: 1fr; gap: 2px 0; }
  .access dd { margin-bottom: 14px; }
  .sec-h { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- hero：TaDah と同じ、大きなワードマーク ---------- */
.hero { padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(56px, 8vw, 88px); display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.hero-logo { margin: 0; line-height: .8; }
.hero-logo .en {
  display: block;
  /* 2行組。1行が画面幅いっぱいになる大きさ（HONDA = 5字、LAB. = 4字） */
  font-size: clamp(76px, 21vw, 340px);
  font-weight: 700; letter-spacing: -0.05em;
  white-space: nowrap;
  /* カーニングを効かせる。大きな文字ほど字間の粗が見えるので */
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}
/* L と A のあいだは、字面の三角形どうしが向き合って大きく空く。詰める */
.hero-logo .k-la { margin-left: -.085em; }
/* B のあとのピリオドも、同じ理由で寄せる */
.hero-logo .dot { color: var(--neon); margin-left: -.045em; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-lead {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; line-height: 1.5; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.hero-meta { text-align: right; }
.hero-org { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
/* 所属の英語表記。ロゴは HONDA LAB. で通すので、大学名はここでフルスペルにする */
.hero-org-en { margin: .55em 0 0; font-family: var(--en); font-size: 12px; line-height: 1.75;
  color: var(--ink-3); letter-spacing: .005em; }
.hero-zemi { margin: .9em 0 0; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  background: var(--neon); color: #fff; padding: .4em .85em; }

/* ---------- ゼミの写真（カルーセル）----------
   自動では動かさない。勝手に動くものは、このゼミが研究している
   「嫌われる広告」そのものなので。指で送れて、止まっている。 */
/* 見出しは .sec の枠内、カルーセルだけ画面幅いっぱいに出す */
.gallery-sec { overflow: hidden; }
.carousel {
  list-style: none; margin: 0 calc(50% - 50vw); padding: 0 max(var(--gutter), calc(50vw - 530px + var(--gutter)));
  display: flex; gap: clamp(12px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; }
.carousel > li { flex: 0 0 min(76vw, 620px); scroll-snap-align: center; }
.carousel figure { margin: 0; }
.carousel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rule); }
.carousel figcaption {
  margin-top: .9em; font-size: 13px; font-weight: 700; color: var(--ink);
  display: flex; align-items: baseline; gap: .8em;
}
.carousel figcaption span { font-family: var(--en); font-size: 12px; font-weight: 400; color: var(--ink-3); }
/* 最後の1枚のあとにも余白を置いて、中央にスナップできるようにする */
.carousel::after { content: ""; flex: 0 0 calc(var(--gutter) - clamp(12px, 2vw, 24px)); }

@media (max-width: 680px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-meta { text-align: left; }
}
