/*
Theme Name: ASTERHYTHM
Description: 株式会社Asterhythm（アステリズム）オフィシャルサイトのテーマ。白 × 紫、タレントが主役のデザイン（A案）。
Author: KEG
Version: 1.0.28
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: asterhythm
*/

:root {
  --bg: #ffffff;
  --lav: #f6f2fb;
  --lav2: #ece4f6;
  --purple: #7d5fb0;
  --purple-l: #b59bdc;
  --deep: #352a4c;
  --text: #3a3446;
  --mute: #8a8496;
  --line: #e6e0ee;
  --en: 'Cormorant Garamond', serif;
  --jp: 'Zen Kaku Gothic New', sans-serif;
  --min: 'Shippori Mincho', serif;
  --hd: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--jp); font-size: 15px; line-height: 1.9; letter-spacing: .04em; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 表示アニメーション */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-col { animation: none !important; }
}

/* ヘッダー */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; transition: background .4s, box-shadow .4s; }
.admin-bar .hd { top: 32px; }
.hd.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.hd-logo img { height: 38px; width: auto; }
.logo-text { font-family: var(--en); font-size: 24px; font-weight: 600; letter-spacing: .14em; color: var(--deep); }
.hd-nav { display: flex; gap: 34px; padding: 8px 30px; border-radius: 40px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(53, 42, 76, .1); }
.hd.is-scrolled .hd-nav { box-shadow: none; background: none; }
.hd-nav a { font-family: var(--en); font-size: 16px; font-weight: 600; letter-spacing: .18em; color: var(--deep); position: relative; }
.hd-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--purple); transition: right .3s; }
.hd-nav a:hover::after, .hd-nav a.is-current::after { right: 0; }
.hd-nav .is-aud { color: var(--purple); }
.hd-menu { display: none; }
@media (max-width: 1180px) and (min-width: 821px) {
  .hd { padding: 0 24px; }
  .hd-logo img { height: 32px; }
  .hd-nav { gap: 20px; padding: 8px 22px; }
  .hd-nav a { font-size: 14px; letter-spacing: .12em; }
}

/* ファーストビュー：左にロゴと言葉、右にタレント写真が上下に流れる */
.hero { position: relative; height: 100vh; min-height: 680px; max-height: 960px; overflow: hidden; background: linear-gradient(120deg, #fff 0%, #fff 38%, var(--lav) 100%); display: grid; grid-template-columns: 44% 56%; grid-template-rows: minmax(0, 1fr); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 40px 7vw; }
.hero-h1 { margin: 0; }
.hero-logo { width: min(540px, 96%); aspect-ratio: 1.45; object-fit: cover; margin-left: -24px; }
.hero-logo.is-text { display: block; aspect-ratio: auto; margin: 0; font-family: var(--en); font-size: 56px; font-weight: 500; letter-spacing: .12em; color: var(--deep); }
.hero-catch { margin: 26px 0 0; font-family: var(--min); font-size: clamp(22px, 2.4vw, 34px); white-space: nowrap; font-weight: 500; line-height: 1.7; color: var(--deep); letter-spacing: .12em; }
.hero-en { margin: 14px 0 0; font-family: var(--en); font-size: 20px; font-style: italic; color: var(--purple); letter-spacing: .14em; }
.hero-btn { margin-top: 36px; display: inline-flex; align-items: center; gap: 16px; align-self: flex-start; padding: 14px 34px; border: 1px solid var(--purple); border-radius: 40px; font-family: var(--en); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: var(--purple); transition: background .3s, color .3s; }
.hero-btn:hover { background: var(--purple); color: #fff; }
/* 3 columns, photos 260px wide (smaller when the right side is narrower than that) */
.hero-cols { position: relative; height: 100%; align-items: start; display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 12px; padding: 0; transform: rotate(-6deg); transform-origin: 60% 50%; }
.hero-col { display: flex; flex-direction: column; gap: 12px; animation: colUp 120s linear infinite; }
.hero-col:nth-child(2n) { animation-name: colDown; }
.hero-col:nth-child(4) { display: none; }
.hero-col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(53, 42, 76, .16); }
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes colDown { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, #fff); z-index: 1; pointer-events: none; }
.hero-scroll { position: absolute; left: 7vw; bottom: 34px; z-index: 3; font-family: var(--en); font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.hero-scroll::after { content: ''; display: inline-block; width: 60px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--mute); }

/* 見出し */
.sec { padding: 120px 0; }
.ttl { text-align: center; margin: 0 0 60px; font-weight: 400; }
.ttl b { display: block; font-family: var(--en); font-size: 54px; font-weight: 500; line-height: 1.1; letter-spacing: .16em; color: var(--deep); }
.ttl span { display: block; margin-top: 10px; font-size: 13px; color: var(--purple); letter-spacing: .3em; }
.ttl::before { content: ''; display: block; width: 34px; height: 30px; margin: 0 auto 14px; background: url(assets/img/butterfly.svg) center / contain no-repeat; }
.empty { text-align: center; color: var(--mute); }
.more { text-align: center; margin-top: 44px; }
.more a { font-family: var(--en); font-weight: 600; letter-spacing: .24em; color: var(--purple); border-bottom: 1px solid var(--purple-l); padding-bottom: 4px; }

/* お知らせ */
.news { background: var(--lav); }
.news-list { max-width: 880px; margin: 0 auto; list-style: none; background: #fff; border-radius: 16px; padding: 10px 40px; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 110px 1fr; align-items: center; gap: 10px; padding: 24px 0; }
.news-list time { font-family: var(--en); font-size: 17px; letter-spacing: .1em; color: var(--mute); }
.news-list em { font-style: normal; justify-self: start; font-size: 11px; letter-spacing: .12em; color: var(--purple); border: 1px solid var(--purple-l); border-radius: 20px; padding: 1px 12px; }
.news-list p { margin: 0; transition: color .3s; }
.news-list a:hover p { color: var(--purple); }
.news.is-page { background: none; }
.news.is-page .news-list { background: none; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.pagination { margin-top: 50px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 21px; border: 1px solid var(--line); font-family: var(--en); font-size: 17px; color: var(--deep); }
.pagination .page-numbers.current { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* タレント：大きめの写真で3列 */
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.talent-grid.is-small { grid-template-columns: repeat(5, 1fr); gap: 34px 20px; }
.t-card { display: block; }
.t-card figure { margin: 0; overflow: hidden; border-radius: 18px; position: relative; background: var(--lav); }
.t-card img, .t-noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s ease; }
.t-card figure::after { content: ''; position: absolute; inset: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(125, 95, 176, .1); }
.t-card:hover img { transform: scale(1.06); }
.t-card h3 { margin: 20px 0 0; font-family: var(--min); font-size: 21px; font-weight: 500; letter-spacing: .14em; color: var(--deep); text-align: center; }
.t-card p { margin: 2px 0 0; font-family: var(--en); font-size: 14px; letter-spacing: .26em; color: var(--purple); text-align: center; }
.talent-grid.is-small figure, .talent-grid.is-small figure::after { border-radius: 12px; }

/* TOP のタレント：横にゆっくり流れる1列（画面の端から端まで） */
.sec.talent { overflow-x: clip; }
.t-marquee { margin: 0 calc(50% - 50vw); overflow-x: auto; scrollbar-width: none; padding: 6px 0 16px; cursor: grab; }
.t-marquee::-webkit-scrollbar { display: none; }
.t-marquee.is-drag { cursor: grabbing; user-select: none; }
.t-slider { position: relative; }
.t-arrow { position: absolute; top: 135px; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 22px rgba(53, 42, 76, .18); cursor: pointer; transition: background .3s, transform .3s; }
.t-arrow:hover { background: var(--purple); transform: scale(1.06); }
.t-arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; border-top: 2px solid var(--purple); border-right: 2px solid var(--purple); transition: border-color .3s; }
.t-arrow:hover::before { border-color: #fff; }
/* at the edges of the screen (the row of photos runs from edge to edge, wider than the page) */
.t-arrow.is-prev { left: calc(50% - 50vw + 32px); }
.t-arrow.is-next { right: calc(50% - 50vw + 32px); }
.t-arrow.is-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.t-arrow.is-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.t-marquee img { -webkit-user-drag: none; user-select: none; }
.t-track { display: flex; width: max-content; }
/* margin (not gap) so the two copies are exactly the same width */
.t-track .t-card { flex: none; width: 270px; margin-right: 34px; }
.t-track .t-card h3 { font-size: 19px; }

/* 言葉の途中で折り返さない（site.js が言葉ごとに分ける） */
[data-phrase] { word-break: auto-phrase; }
.ph { display: inline-block; text-indent: 0; }
.talent-grid.is-small h3 { font-size: 15px; margin-top: 12px; }
.talent-grid.is-small p { font-size: 11px; letter-spacing: .18em; }

/* アーティスト */
.ar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 50px; align-items: start; }
.ar-card figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--lav); box-shadow: 0 18px 44px rgba(53, 42, 76, .12); }
.ar-card figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s ease; }
.ar-card figure a:hover img { transform: scale(1.04); }
.ar-info { text-align: center; }
.ar-info h2 { margin: 26px 0 0; font-family: var(--min); font-size: 26px; font-weight: 500; letter-spacing: .14em; color: var(--deep); }
.ar-en { margin: 2px 0 0; font-family: var(--en); font-size: 15px; letter-spacing: .26em; color: var(--purple); }
.ar-text { margin: 14px 0 0; }
.ar-info .btn-sub { font-family: var(--en); letter-spacing: .2em; }

/* TOP のアーティスト：2組を小さめに並べる */
.top-artist { background: var(--lav); }
.top-ar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.top-ar figure { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(53, 42, 76, .1); }
.top-ar img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s ease; }
.top-ar:hover img { transform: scale(1.04); }
.top-ar h3 { margin: 18px 0 0; text-align: center; font-family: var(--min); font-size: 20px; font-weight: 500; letter-spacing: .14em; color: var(--deep); }

/* 会社概要 */
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table div { display: grid; grid-template-columns: 120px 1fr; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.company-table dt { color: var(--purple); font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.company-table dd { margin: 0; }
.company-table a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* フッター */
.ft { padding: 70px 24px 34px; text-align: center; border-top: 1px solid var(--line); }
.ft-logo { display: inline-block; }
.ft-logo img { width: 210px; height: auto; margin: 0 auto; }
.ft nav { margin-top: 28px; display: flex; justify-content: center; gap: 30px; font-family: var(--en); font-weight: 600; letter-spacing: .18em; color: var(--deep); }
.ft-sns { margin: 26px 0 0; padding: 0; list-style: none; display: flex; justify-content: center; gap: 14px; }
.ft-sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lav); color: var(--purple); transition: background .3s, color .3s; }
.ft-sns a:hover { background: var(--purple); color: #fff; }
.ft-sns svg { width: 18px; height: 18px; }
.ft-privacy { margin: 26px 0 0; font-size: 12px; letter-spacing: .1em; }
.ft-privacy a { color: var(--deep); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cform-note a { color: var(--purple); text-decoration: underline; }
.ft small { display: block; margin-top: 18px; font-size: 11px; color: var(--mute); line-height: 1.9; }

/* 下層ページの見出し */
.page-hero { padding: 170px 0 80px; text-align: center; background: linear-gradient(180deg, #fff, var(--lav)); }
.page-hero .ttl { margin: 0; }
.page-hero .ttl b { font-size: 76px; }
.page-hero .ttl.is-plain b { font-family: var(--min); font-size: 36px; letter-spacing: .12em; }

/* タレントのくわしいページ */
.tp { padding: calc(var(--hd) + 70px) 0 100px; background: linear-gradient(160deg, #fff 0%, #fff 40%, var(--lav) 100%); }
.tp-box { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.tp-slides { position: relative; overflow: hidden; border-radius: 20px; background: var(--lav); box-shadow: 0 24px 60px rgba(53, 42, 76, .14); aspect-ratio: 4 / 5; }
.tp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.tp-slide.is-on { opacity: 1; }
.tp-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tp-prev, .tp-next { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); cursor: pointer; z-index: 2; box-shadow: 0 6px 18px rgba(53, 42, 76, .15); }
.tp-prev { left: 14px; }
.tp-next { right: 14px; }
.tp-prev::before, .tp-next::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2px solid var(--purple); border-right: 2px solid var(--purple); }
.tp-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.tp-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.tp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tp-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--lav); opacity: .55; transition: opacity .3s, border-color .3s; }
.tp-thumbs button.is-on { opacity: 1; border-color: var(--purple); }
.tp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tp-label { margin: 10px 0 0; font-family: var(--en); font-size: 14px; letter-spacing: .3em; color: var(--purple); }
.tp-name { margin: 8px 0 0; font-family: var(--min); font-size: 44px; font-weight: 500; letter-spacing: .14em; line-height: 1.4; color: var(--deep); }
.tp-en { margin: 4px 0 0; font-family: var(--en); font-size: 18px; letter-spacing: .3em; color: var(--purple); }
.tp-profile { margin: 36px 0 0; border-top: 1px solid var(--line); }
.tp-profile div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.tp-profile dt { color: var(--purple); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.tp-profile dd { margin: 0; }
.tp-note { margin: 28px 0 0; padding: 18px 24px; border-radius: 14px; background: var(--lav2); color: var(--deep); }
.tp-sns { margin-top: 30px; }
.tp-sns > p { margin: 0 0 10px; font-family: var(--en); font-weight: 600; letter-spacing: .26em; color: var(--deep); }
.tp-sns ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tp-sns a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 30px; background: var(--deep); color: #fff; font-family: var(--en); font-weight: 600; letter-spacing: .14em; transition: background .3s; }
.tp-sns a:hover { background: var(--purple); }
.tp-sns svg { width: 16px; height: 16px; }
.tp-body { padding-top: 90px; }
.tp-body .entry { max-width: 880px; }
.tp-others { background: var(--lav); }

/* 本文（お知らせ・経歴など） */
.entry { line-height: 2; }
.entry > :first-child { margin-top: 0; }
.entry h2 { margin: 2.4em 0 1em; padding-bottom: .5em; border-bottom: 1px solid var(--line); font-family: var(--min); font-size: 24px; font-weight: 500; letter-spacing: .12em; color: var(--deep); }
.entry h3 { margin: 2em 0 .6em; font-size: 17px; color: var(--purple); letter-spacing: .1em; }
.entry h3::before { content: '◆ '; font-size: 12px; vertical-align: 2px; }
.entry p { margin: 0 0 1.4em; }
.entry ul, .entry ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry li { margin: .3em 0; }
.entry a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 10px; }
.entry iframe { max-width: 100%; }
.entry .wp-block-embed iframe, .entry iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
.entry figure { margin: 0 0 1.6em; }

/* お知らせのくわしいページ */
.is-article { padding-top: 80px; }
.article { max-width: 860px; }
.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head p { margin: 0; display: flex; align-items: center; gap: 14px; }
.article-head time { font-family: var(--en); font-size: 18px; letter-spacing: .1em; color: var(--mute); }
.article-head em { font-style: normal; font-size: 11px; letter-spacing: .12em; color: var(--purple); border: 1px solid var(--purple-l); border-radius: 20px; padding: 1px 12px; }
.article-head h2 { margin: 12px 0 0; font-family: var(--min); font-size: 28px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; color: var(--deep); }
.article-photo { margin: 0 0 36px; }
.article-photo img { border-radius: 14px; }
.article-nav { margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 14px; }
.article-nav span:last-child { text-align: right; }
.article-nav a:hover { color: var(--purple); }
.article-nav .to-list { padding: 10px 30px; border-radius: 30px; border: 1px solid var(--purple-l); color: var(--purple); font-weight: 700; }

/* オーディションのページ */
.aud-lead { max-width: 760px; margin: 0 auto; text-align: center; }
.aud-lead .soon-big { display: inline-block; padding: 8px 34px; border-radius: 40px; background: var(--purple); color: #fff; font-family: var(--en); font-size: 20px; letter-spacing: .3em; }
.aud-lead .soon-big.is-open { background: linear-gradient(115deg, #8a6bc0, #c39be0); box-shadow: 0 10px 30px rgba(125, 95, 176, .3); }
.aud-lead h2 { margin: 30px 0 0; font-family: var(--min); font-size: 30px; font-weight: 500; color: var(--deep); letter-spacing: .1em; line-height: 1.7; }
.aud-lead p { margin: 24px 0 0; }
.btn-main { display: inline-block; margin-top: 34px; padding: 17px 60px; border-radius: 40px; background: var(--purple); color: #fff; font-weight: 700; letter-spacing: .16em; box-shadow: 0 10px 30px rgba(125, 95, 176, .3); transition: background .3s, transform .3s; }
.btn-main:hover { background: var(--deep); transform: translateY(-2px); }
.btn-sub { display: inline-block; margin-top: 20px; padding: 14px 46px; border-radius: 40px; border: 1px solid var(--purple); color: var(--purple); font-weight: 700; letter-spacing: .14em; transition: background .3s, color .3s; }
.btn-sub:hover { background: var(--purple); color: #fff; }
.aud-body { max-width: 880px; margin: 80px auto 0; }
.req { max-width: 880px; margin: 90px auto 0; border-radius: 20px; background: #fff; box-shadow: 0 10px 40px rgba(53, 42, 76, .08); padding: 50px 56px; }
.req h3, .flow h3 { margin: 0 0 26px; text-align: center; font-family: var(--en); font-size: 30px; font-weight: 500; letter-spacing: .2em; color: var(--deep); }
.req h3 small, .flow h3 small { display: block; font-family: var(--jp); font-size: 12px; color: var(--purple); letter-spacing: .26em; }
.req dl { margin: 0; }
.req dl div { display: grid; grid-template-columns: 150px 1fr; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.req dt { font-weight: 700; color: var(--purple); }
.req dd { margin: 0; }
.flow { margin: 90px auto 0; max-width: 980px; }
.flow ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 34px 20px 28px; border-radius: 18px; background: var(--lav); text-align: center; }
.flow li::before { content: 'STEP ' counter(f); display: block; font-family: var(--en); font-weight: 600; letter-spacing: .2em; color: var(--purple); font-size: 15px; }
.flow li b { display: block; margin-top: 8px; font-size: 17px; color: var(--deep); }
.flow li span { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); line-height: 1.7; }
.aud-note { margin: 80px auto 0; max-width: 760px; text-align: center; }
.aud-note p { margin: 30px 0 0; }

/* 会社概要のページ */
.company-page { max-width: 880px; }
.map { margin-top: 50px; border-radius: 18px; overflow: hidden; background: var(--lav); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* お問い合わせのページ */
.contact-page { max-width: 880px; }
/* the guidance and the notes in one lavender box, above the form */
.contact-lead { padding: 34px 40px; border-radius: 20px; background: var(--lav); text-align: center; }
.contact-lead p { margin: 0; font-size: 16px; color: var(--deep); }
.contact-lead .notes { margin: 20px auto 0; padding: 16px 0 0; max-width: 560px; border-top: 1px solid var(--lav2); list-style: none; font-size: 13px; color: var(--mute); }
.contact-lead .notes li { padding-left: 1.2em; text-indent: -1.2em; }
.contact-lead .notes li::before { content: '※'; display: inline-block; width: 1.2em; text-indent: 0; }
.contact-form { margin-top: 40px; scroll-margin-top: calc(var(--hd) + 20px); }
.cform { padding: 50px 56px; border-radius: 20px; background: #fff; box-shadow: 0 10px 40px rgba(53, 42, 76, .08); }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-row { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.cform-row label { padding-top: 12px; font-weight: 700; color: var(--deep); display: flex; align-items: center; gap: 10px; }
.cform-row em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 1px 8px; border-radius: 4px; }
.cform-row .is-req { background: var(--purple); color: #fff; }
.cform-row .is-any { background: var(--lav2); color: var(--mute); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--lav); font: inherit; font-size: 16px; color: var(--text); transition: border-color .3s, background .3s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--purple-l); background: #fff; }
.cform textarea { resize: vertical; min-height: 180px; }
.cform-note { margin: 24px 0 0; font-size: 13px; color: var(--mute); text-align: center; }
.cform-btn { margin: 26px 0 0; text-align: center; }
.cform-btn button { padding: 17px 70px; border: 0; border-radius: 40px; background: var(--purple); color: #fff; font: inherit; font-weight: 700; letter-spacing: .2em; cursor: pointer; box-shadow: 0 10px 30px rgba(125, 95, 176, .3); transition: background .3s, transform .3s; }
.cform-btn button:hover { background: var(--deep); transform: translateY(-2px); }
.cform-error { margin: 0 0 20px; padding: 16px 22px; border-radius: 12px; background: #fbeef0; color: #a3364a; font-size: 14px; }
.cform-done { padding: 60px 30px; border-radius: 20px; background: var(--lav); text-align: center; }
.cform-done b { display: block; font-family: var(--en); font-size: 40px; font-weight: 500; letter-spacing: .2em; color: var(--deep); }
.cform-done p { margin: 16px 0 0; }

/* スマホ */
@media (max-width: 820px) {
  :root { --hd: 62px; }
  body { font-size: 14px; }
  .wrap { width: calc(100% - 32px); }
  /* no backdrop-filter here: it would trap the fixed menu inside the header */
  .hd, .hd.is-scrolled { padding: 0 16px; background: rgba(255,255,255,.96); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hd-logo img { height: 30px; }
  .logo-text { font-size: 19px; }
  .hd-menu { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; border: 0; background: none; padding: 0; cursor: pointer; }
  .hd-menu i { display: block; width: 24px; height: 1.5px; background: var(--deep); transition: transform .3s, opacity .3s; }
  .is-menu .hd-menu i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .is-menu .hd-menu i:nth-child(2) { opacity: 0; }
  .is-menu .hd-menu i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hd-nav { position: fixed; inset: var(--hd) 0 auto; flex-direction: column; gap: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 20px 30px rgba(53, 42, 76, .1); background: rgba(255,255,255,.97); padding: 10px 24px 30px; transform: translateY(-130%); transition: transform .4s; z-index: -1; }
  .admin-bar .hd-nav { top: calc(var(--hd) + 32px); }
  .hd.is-scrolled .hd-nav { background: rgba(255,255,255,.97); box-shadow: 0 20px 30px rgba(53, 42, 76, .1); }
  .is-menu .hd-nav { transform: none; }
  .hd-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hd-nav a::after { display: none; }
  .hd-nav a.is-current { color: var(--purple); }

  /* same layout as the PC: words on the left, tilted photo columns on the right (behind a white fade) */
  /* one phone screen: svh = the height seen with the browser bars shown (iPhone 13 mini ≒ 630px) */
  .hero { display: block; height: min(100svh, 500px); min-height: 470px; max-height: none; }
  /* 3 columns of small photos (about 75px) on the right half; only the edge of the left column comes behind the words */
  .hero-cols { position: absolute; top: -12%; bottom: -12%; left: 44%; right: -8%; height: auto; grid-template-columns: repeat(3, 1fr); justify-content: stretch; gap: 8px; padding: 0; transform: rotate(-8deg); transform-origin: 30% 50%; z-index: 0; }
  .hero-col { gap: 8px; animation-duration: 100s; }
  .hero-col img { border-radius: 8px; box-shadow: 0 8px 18px rgba(53, 42, 76, .16); }
  @keyframes colUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 4px)); } }
  @keyframes colDown { from { transform: translateY(calc(-50% - 4px)); } to { transform: translateY(0); } }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 40%, rgba(255,255,255,.5) 52%, rgba(255,255,255,0) 64%); }
  .hero-catch, .hero-en { text-shadow: 0 0 6px #fff, 0 0 2px #fff, 0 0 12px #fff; }
  .hero::after { height: 120px; }
  .hero-copy { position: relative; z-index: 2; height: 100%; padding: var(--hd) 0 20px 22px; justify-content: center; }
  .hero-logo { width: 40%; max-width: 176px; margin-left: -8px; }
  .hero-logo.is-text { width: auto; font-size: 30px; margin: 0; }
  /* two lines each, so the words stay on the white side */
  .hero-catch { font-size: 17px; margin-top: 10px; line-height: 1.6; letter-spacing: .1em; white-space: nowrap; }
  .hero-en { font-size: 13px; margin-top: 8px; line-height: 1.6; letter-spacing: .06em; }
  .hero-catch .hl, .hero-en .hl { display: block; }
  .hero-btn { margin-top: 22px; padding: 11px 28px; font-size: 14px; background: rgba(255,255,255,.8); }
  .hero-scroll { display: none; }

  .sec { padding: 80px 0; }
  .ttl { margin-bottom: 40px; }
  .ttl b { font-size: 38px; }
  .news-list { padding: 4px 20px; }
  .news-list a { grid-template-columns: auto 1fr; gap: 4px 12px; padding: 18px 0; }
  .news-list p { grid-column: 1 / -1; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .talent-grid.is-small { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
  .t-card figure, .t-card figure::after { border-radius: 12px; }
  .t-card h3 { font-size: 16px; margin-top: 12px; }
  .t-card p { font-size: 11px; letter-spacing: .18em; }
  .talent-grid.is-small h3 { font-size: 13px; margin-top: 8px; }
  .t-track .t-card { width: 156px; margin-right: 16px; }
  .t-arrow { top: 84px; width: 40px; height: 40px; margin-top: -20px; }
  .t-arrow::before { width: 9px; height: 9px; }
  .t-arrow.is-prev { left: -6px; }
  .t-arrow.is-next { right: -6px; }
  .t-track .t-card h3 { font-size: 15px; }
  .talent-grid.is-small p { font-size: 9px; letter-spacing: .12em; }
  .ar-list { grid-template-columns: 1fr; gap: 50px; }
  .top-ar-list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .top-ar figure { border-radius: 10px; }
  .top-ar h3 { margin-top: 10px; font-size: 14px; letter-spacing: .08em; }
  .ar-card figure { border-radius: 12px; }
  .ar-info h2 { font-size: 21px; margin-top: 18px; }
  .company-table div { grid-template-columns: 106px 1fr; gap: 8px; padding: 16px 4px; }
  .company-table dt { letter-spacing: .06em; }
  .ft nav { flex-wrap: wrap; gap: 14px 22px; }

  .page-hero { padding: calc(var(--hd) + 56px) 0 54px; }
  .page-hero .ttl b { font-size: 44px; }
  .page-hero .ttl.is-plain b { font-size: 24px; }

  .tp { padding: calc(var(--hd) + 24px) 0 70px; }
  .tp-box { grid-template-columns: 1fr; gap: 34px; }
  .tp-slides { border-radius: 16px; }
  .tp-thumbs button { width: 56px; height: 56px; }
  .tp-name { font-size: 30px; }
  .tp-en { font-size: 15px; }
  .tp-profile div { grid-template-columns: 84px 1fr; padding: 14px 2px; }
  .tp-body { padding-top: 60px; }
  .entry h2 { font-size: 20px; }

  .is-article { padding-top: 50px; }
  .article-head h2 { font-size: 21px; }
  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-nav .to-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; }

  .aud-lead h2 { font-size: 21px; }
  .req { padding: 34px 22px; margin-top: 60px; }
  .req dl div { grid-template-columns: 1fr; padding: 14px 0; }
  .flow { margin-top: 60px; }
  .flow ol { grid-template-columns: 1fr 1fr; gap: 14px; }
  .btn-main { padding: 16px 44px; }
  .map iframe { height: 300px; }
  /* about 25 characters a line, so each sentence of the default text fits on one line */
  .contact-lead { padding: 20px 14px; border-radius: 16px; text-align: left; }
  /* about 26 characters a line inside the box, so each sentence of the default text fits on one line */
  .contact-lead p { font-size: 12px; letter-spacing: 0; }
  .contact-lead .notes { margin-top: 14px; padding-top: 12px; font-size: 11.5px; }
  .cform { padding: 20px 18px 34px; }
  .cform-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .cform-row label { padding-top: 0; }
  .cform-btn button { width: 100%; padding: 17px 20px; }
  .cform-done b { font-size: 30px; }
}
@media (max-width: 782px) {
  .admin-bar .hd { top: 46px; }
  .admin-bar .hd-nav { top: calc(var(--hd) + 46px); }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed !important; }
}
