/* ==========================================================
   比嘉洋貴 公式サイト
   カラー：黒（全体背景） / 白（文字） / 黄（アクセント）
   ブレークポイント：600px（タブレット） / 900px（PC）
   ========================================================== */

:root {
  --c-black: #0a0a0a;
  --c-card: #141414;
  --c-card-hover: #1c1c1c;
  --c-line: #2a2a2a;
  --c-line-strong: #444444;
  --c-yellow: #f2cf3d;
  --c-white: #ffffff;
  --c-text: #e6e6e6;
  --c-muted: #a8a8a8;

  /* プライバシーポリシー（白背景ページ）用 */
  --c-line-light: #d9d9d9;
  --c-gray-dark: #5c5c5c;

  --ff-en: "Oswald", "Arial Narrow", sans-serif;
  --ff-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --container: 1040px;
  --gutter: 16px;
  --header-h: 64px;
  --section-pad: clamp(64px, 9vw, 112px);
}

@media (min-width: 600px) {
  :root { --gutter: 40px; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--ff-ja);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-black);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.logo,
.profile__person,
.program__title { font-feature-settings: "palt"; }

/* 日本語の文節単位で改行（対応ブラウザのみ） */
.hero__title,
.media-item__title,
.book__title,
.program__title { word-break: auto-phrase; }

body.is-menu-open { overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}
.section--light :focus-visible { outline-color: var(--c-black); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--c-yellow);
  color: var(--c-black);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons / Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .7em 2em;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  border: 1px solid currentColor;
  transition: background-color .2s, color .2s, border-color .2s;
}
/* 塗りボタン（送信など） */
.btn--dark {
  color: var(--c-black);
  background: var(--c-white);
  border-color: var(--c-white);
}
.btn--dark:not(.is-disabled):not(:disabled):hover {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}
/* 線ボタン */
.btn--outline {
  color: var(--c-white);
  background: transparent;
  border-color: var(--c-white);
}
.btn--outline:not(.is-disabled):hover {
  color: var(--c-black);
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}
.btn:disabled,
.btn.is-disabled {
  cursor: not-allowed;
  color: var(--c-muted);
  background: transparent;
  border-color: var(--c-line-strong);
}
.btn.is-disabled .icon--arrow { display: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--c-white);
  border-bottom: 1px solid var(--c-yellow);
  transition: color .2s;
}
.text-link:hover { color: var(--c-yellow); }

.status-badge {
  display: inline-block;
  padding: .1em .7em;
  font-family: var(--ff-ja);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.7;
  color: var(--c-muted);
  border: 1px solid var(--c-line-strong);
  white-space: nowrap;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--c-white);
}
.logo__en {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--c-yellow);
}
.logo__ja {
  margin-top: 6px;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-black);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -10px;
}
.menu-toggle__bar {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--c-white);
}
.menu-toggle__bar:nth-child(1) { top: 16px; }
.menu-toggle__bar:nth-child(2) { top: 23px; }
.menu-toggle__bar:nth-child(3) { top: 30px; }
.is-menu-open .menu-toggle__bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.is-menu-open .menu-toggle__bar:nth-child(2) { display: none; }
.is-menu-open .menu-toggle__bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.gnav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: 16px var(--gutter) 40px;
  background: var(--c-black);
  overflow-y: auto;
}
.is-menu-open .gnav { display: block; }
.gnav__list a {
  display: block;
  padding: 16px 0;
  font-family: var(--ff-en);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}
.gnav__list a:hover { color: var(--c-yellow); }

@media (min-width: 900px) {
  .logo__en { font-size: 1.75rem; }
  .menu-toggle { display: none; }
  .gnav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .gnav__list {
    display: flex;
    gap: 32px;
  }
  .gnav__list a {
    padding: 8px 0;
    font-size: .9375rem;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
  }
  .gnav__list a:hover { border-bottom-color: var(--c-yellow); }
}

/* ==========================================================
   HERO
   SP：写真を画面幅いっぱいに表示し、その下にコピー
   PC：写真を右端・上下いっぱいに配置し、左の黒地にコピー
   写真はトリミング・加工せず全体を表示
   ========================================================== */
.hero {
  background: var(--c-black);
  border-bottom: 1px solid var(--c-line);
}
.hero__inner {
  display: flex;
  flex-direction: column;
}
.hero__photo { order: -1; }
.hero__photo img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.hero__body {
  padding: 40px var(--gutter) 56px;
}

.hero__title {
  font-size: clamp(2.125rem, 1.1rem + 4.4vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--c-white);
}
.hero__title span { display: inline-block; }
.hero__title span:last-child { color: var(--c-yellow); }

.hero__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2em 1em;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.hero__name-ja {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-white);
}
.hero__name-en {
  font-family: var(--ff-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-muted);
}

@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1600px;
    margin-inline: auto;
    /* コピーの左端をほかのセクションの本文と揃える */
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .hero__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 48px 64px 0;
  }
  .hero__title { font-size: clamp(2.75rem, 3.9vw, 4rem); }
  .hero__name { max-width: 30em; }
  .hero__name-ja { font-size: 1.5rem; }

  .hero__photo { order: 0; flex-shrink: 0; }
  .hero__photo img {
    width: auto;
    max-width: none;
    height: clamp(560px, calc(100svh - var(--header-h)), 860px);
  }
}

/* ==========================================================
   Section common（全セクション黒背景・細線で区切る）
   ========================================================== */
.section {
  padding-block: var(--section-pad);
  background: var(--c-black);
}
.section + .section { padding-top: 0; }
.section + .section > .container::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--section-pad);
  background: var(--c-line);
}

.sec-title {
  margin-bottom: clamp(36px, 5vw, 56px);
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .1em;
  color: var(--c-white);
}
.sec-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--c-yellow);
}

.section-more {
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
}

/* ---------- プロフィール ---------- */
.profile__name { margin-bottom: 40px; }
.profile__title {
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .08em;
  color: var(--c-yellow);
}
.profile__person {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.3;
  color: var(--c-white);
}
.profile__person span {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-en);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-muted);
}
.profile__text {
  max-width: 38em;
  line-height: 2;
}
.profile__lead {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.95;
  color: var(--c-white);
  padding-left: 18px;
  border-left: 2px solid var(--c-yellow);
}
/* 元の段落ごとに大きめ、段落内の区切りは小さめの間隔 */
.prose__group { margin-top: 2.2em; }
.prose__group p + p { margin-top: 1em; }

@media (min-width: 900px) {
  .profile {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
  }
  .profile__name { margin-bottom: 0; }
}

/* ---------- メディア実績 ---------- */
.media-list { border-top: 1px solid var(--c-line); }
.media-item {
  display: grid;
  gap: 20px;
  padding-block: 32px;
  border-bottom: 1px solid var(--c-line);
}
/* 最後の項目はセクション区切り線と重なるため下線なし */
.media-item:last-child { border-bottom: 0; padding-bottom: 0; }
.media-item__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-card);
}
/* 掲載画像は16:9の枠内に縮小し、トリミングせず全体を表示（縦長画像は左右に余白） */
.media-item__visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
a.media-item__visual { transition: opacity .2s; }
a.media-item__visual:hover { opacity: .85; }


.media-item__meta {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-muted);
}
.media-item__title {
  margin-top: 6px;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-white);
}
.media-item__text {
  margin-top: 12px;
  font-size: .9375rem;
}
.media-item__body .text-link { margin-top: 16px; }

.quote {
  margin-top: 20px;
  padding: 20px 22px;
  background: var(--c-card);
  border-left: 2px solid var(--c-yellow);
}
.quote blockquote { margin: 0; }
.quote p {
  font-size: .9375rem;
  line-height: 2;
}
.quote figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  color: var(--c-muted);
}

.video {
  position: absolute;
  inset: 0;
  display: block;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  color: var(--c-black);
  background: var(--c-yellow);
  border-radius: 50%;
  transition: background-color .2s;
}
.video__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video:hover .video__play { background: var(--c-white); }
.video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 700px) {
  .media-item {
    grid-template-columns: 340px 1fr;
    gap: 48px;
    padding-block: 44px;
  }
}

/* ---------- 書籍 ---------- */
.book-list {
  display: grid;
  gap: 48px;
}
.book {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  align-content: start;
}
.book__cover {
  display: block;
  aspect-ratio: 5 / 8;
  overflow: hidden;
  background: var(--c-card);
}
.book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a.book__cover { transition: opacity .2s; }
a.book__cover:hover { opacity: .85; }
.book__cover--placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--c-line-strong);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--c-muted);
}
.book__meta {
  display: inline-block;
  padding: 0 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-text);
  border: 1px solid var(--c-line-strong);
}
.book__title {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--c-white);
}
.book__publisher {
  margin-top: 8px;
  font-size: .875rem;
  color: var(--c-muted);
}
.book__body .text-link { margin-top: 14px; }

@media (min-width: 900px) {
  .book-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .book {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book__cover { width: 72%; }
}

/* ---------- 講座案内（PC 2列×2行 / SP 1列） ---------- */
.program-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.program-grid li { display: flex; }
.program {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 148px;
  padding: 28px 28px 24px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  transition: background-color .2s, border-color .2s;
}
.program__title {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-white);
}
.program__go,
.program > .status-badge {
  margin-top: auto;
  align-self: flex-end;
}
.program__go {
  padding-top: 16px;
  color: var(--c-yellow);
}
.program__go .icon { width: 22px; height: 22px; }
a.program[href]:hover {
  background: var(--c-card-hover);
  border-color: var(--c-line-strong);
}
.program.is-disabled { cursor: default; }
.program.is-disabled .program__title { color: var(--c-muted); }
.program.is-disabled .program__go { display: none; }

/* ---------- お問い合わせ ---------- */
.contact { max-width: 720px; }
.contact__intro { margin-bottom: 24px; }

/* フォームメーラー埋め込み：白いフォームを黒背景上のパネルとして表示 */
.contact__embed {
  color-scheme: light;
  background: var(--c-white);
  border-top: 3px solid var(--c-yellow);
}
.contact__embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- SNS ---------- */
.sns-list {
  display: grid;
  gap: 12px;
}
@media (min-width: 600px) {
  .sns-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .sns-list { grid-template-columns: repeat(3, 1fr); }
}
.sns {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 16px 20px;
  color: var(--c-white);
  background: var(--c-card);
  border: 1px solid var(--c-line);
  transition: background-color .2s, border-color .2s;
}
.sns__icon {
  width: 28px;
  height: 28px;
  color: var(--c-white);
  transition: color .2s;
}
.sns__name {
  flex: 1;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .06em;
}
.sns__go { color: var(--c-muted); }
.sns:hover {
  background: var(--c-card-hover);
  border-color: var(--c-line-strong);
}
.sns:hover .sns__icon { color: var(--c-yellow); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  padding-block: 64px 32px;
  background: var(--c-black);
  border-top: 4px solid var(--c-yellow);
}
.logo--footer { margin-bottom: 32px; }
.company {
  display: grid;
  gap: 10px;
  font-size: .875rem;
  line-height: 1.8;
}
.company div {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 16px;
}
.company dt { color: var(--c-muted); }
.company a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.company a:hover { color: var(--c-yellow); }

.footer-links {
  margin-top: 32px;
  font-size: .875rem;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--c-yellow); }

.copyright {
  margin-top: 48px;
  padding-top: 20px;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
}

/* ==========================================================
   下層ページ（プライバシーポリシー：白背景の本文）
   ========================================================== */
.section--light { background: var(--c-white); color: var(--c-black); }
.section + .section--light > .container::before { display: none; }

.page-head {
  padding-block: 56px 48px;
  background: var(--c-black);
}
.page-head__en {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-yellow);
}
.page-head__title {
  margin-top: 12px;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-white);
}

.page-head + .section { padding-top: 56px; }

.doc {
  max-width: 44em;
  font-size: .9375rem;
  line-height: 2;
}
.doc h2 {
  margin-top: 56px;
  padding-top: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  border-top: 2px solid var(--c-black);
}
.doc p,
.doc ul,
.doc dl { margin-top: 16px; }
.doc ul { padding-left: 1.4em; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc dl div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
}
.doc dt { font-weight: 700; }
.doc__date {
  margin-top: 56px;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
}
