/* aster-office.com — Wix版のレイアウトを再現 */
:root {
  --navy: #1c2d5b;
  --blue: #3d9be9;
  --orange: #ee9a00;
  --text: #444;
  --muted: #8f8f8f;
  --line: #e3e3e3;
  --panel: #f7f7f7;
  --active: #ece8e1;
  --gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --header-h: 124px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--gothic); font-weight: 300; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); background: #fff; z-index: 50; transition: background-color .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .86); }
.header-inner { max-width: 980px; height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.logo img { width: 165px; height: auto; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.gnav li { position: relative; }
.gnav a { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 0 0 4px; }
.gnav .en { font-size: 15px; color: var(--text); padding: 4px 17px; line-height: 1.6; }
.gnav .ja { font-size: 12px; color: var(--muted); letter-spacing: .12em; margin-top: 6px; }
.gnav li.active .en, .gnav a:hover .en { background: var(--active); }
.gnav .submenu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); list-style: none; padding: 6px 0; margin: 0; min-width: 150px; z-index: 5; }
.gnav .submenu a { padding: 6px 18px; font-size: 14px; align-items: flex-start; }
.gnav .submenu a:hover { background: var(--active); }
.gnav li.has-sub:hover .submenu, .gnav li.has-sub:focus-within .submenu { display: block; }
.sns-x img { width: 30px; height: 30px; }
.menu-toggle { display: none; }

main { padding-top: var(--header-h); }

/* ---------- side dot nav (top page) ---------- */
.dot-nav { position: fixed; right: 64px; top: 50%; transform: translateY(-80px); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dot-nav a { color: var(--blue); text-decoration: none; font-size: 16px; display: flex; align-items: center; gap: 12px; line-height: 1.6; }
.dot-nav a::after { content: ""; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; }
.dot-nav a.current::after { background: var(--blue); }

/* ---------- sections ---------- */
.sec-title { font-family: var(--gothic); font-weight: 500; font-size: 24px; color: var(--text); text-align: center; margin: 0 0 60px; letter-spacing: .02em; }
.sec-title::after { content: ""; display: block; width: 36px; height: 2px; background: currentColor; margin: 6px auto 0; }
.sec-title.light { color: #e0e0e0; }

.hero { background: var(--navy); min-height: 633px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px; }
.hero-logo { width: min(580px, 80vw); height: auto; }
.hero-copy { color: #fff; font-family: var(--mincho); font-weight: 600; font-size: 15px; margin: 90px 0 0; letter-spacing: .05em; text-align: center; }

.sec-profile { padding: 92px 16px 110px; }
.talent-grid { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 64px; row-gap: 70px; }
.talent-card { width: 240px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; }
.talent-card .photo { display: block; width: 240px; height: 360px; padding: 8px; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.talent-card img { width: 100%; height: 100%; object-fit: cover; }
.talent-card .card-name { font-family: var(--mincho); font-size: 30px; margin-top: 26px; line-height: 1.4; }
.talent-card .card-role { font-family: var(--mincho); font-size: 15px; margin-top: 8px; letter-spacing: .05em; }
.talent-card .photo, .talent-card .card-name { transition: transform .35s ease, box-shadow .35s ease, color .35s ease; }
/* マウス操作のPCだけ：カーソルを合わせた人を強調 */
@media (hover: hover) and (pointer: fine) {
  .talent-card:hover .photo { transform: scale(1.08); box-shadow: 0 14px 30px rgba(28, 45, 91, .35); }
  .talent-card:hover .card-name { color: var(--navy); transform: translateY(6px); }
  .talent-grid:hover .talent-card:not(:hover) .photo { opacity: .75; transition: opacity .35s ease, transform .35s ease; }
}

.sec-news { background: var(--navy); padding: 58px 16px 50px; }
.news-panel { max-width: 909px; margin: 0 auto; background: linear-gradient(#ececec, #fff 120px); border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); padding: 26px 50px 40px; }
.news-list { margin: 0 0 40px; padding-left: 20px; font-family: var(--mincho); font-size: 16px; color: #000; }
.news-list li { margin: 6px 0; }
.news-list a { color: #000; }
.news-more { text-align: right; margin: -30px 0 30px; font-family: var(--gothic); font-size: 14px; }
.news-more a { color: var(--navy); }
.news-index { list-style: none; padding: 0; margin: 0; }
.news-index li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.news-index .d { color: var(--muted); font-family: var(--gothic); font-size: 14px; }
.news-index a { color: #000; }
.schedule-title { font-family: var(--mincho); font-weight: 400; font-size: 22px; color: var(--text); text-align: center; margin: 40px 0 26px; }
.timetree { max-width: 742px; margin: 0 auto; }
.timetree iframe { width: 100%; min-height: 700px; aspect-ratio: 680 / 720; border: none; display: block; }

.sec-company { padding: 50px 16px 90px; }
.company-table { max-width: 620px; margin: 0 auto; }
.company-table div { display: grid; grid-template-columns: 150px 1fr; gap: 0 20px; padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.company-table dt { font-size: 16px; }
.company-table dd { margin: 0; font-size: 15px; color: #000; }
.company-table a { color: var(--text); }

.sec-contact { background: var(--navy); padding: 54px 16px 56px; }
.contact-lead { color: #fff; font-family: var(--mincho); text-align: center; font-size: 16px; margin: -30px 0 28px; }
.contact-form { max-width: 465px; margin: 0 auto; background: rgba(255, 255, 255, .11); padding: 20px 21px 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.6); background: #fff; color: #333; font: 15px var(--gothic); padding: 9px 12px; border-radius: 0; }
.contact-form button { align-self: center; margin-top: 8px; background: transparent; color: #fff; border: 1px solid #fff; font: 15px var(--gothic); padding: 8px 46px; cursor: pointer; }
.contact-form button:hover { background: rgba(255,255,255,.15); }
.contact-form button[disabled] { opacity: .5; cursor: default; }
.form-status { color: #fff; text-align: center; margin: 0; min-height: 1.6em; }
.hp { position: absolute; left: -9999px; }
.cf-turnstile { align-self: center; }

.site-footer { padding: 34px 16px 30px; text-align: center; }
.footer-links { display: flex; gap: 40px; justify-content: center; font-size: 12px; }
.footer-links a { color: #000; text-decoration: none; }
.site-footer .sns-x { display: inline-block; margin: 18px 0 8px; }
.site-footer .copy { font-size: 14px; margin: 0; }

/* ---------- profile page ---------- */
.page-profile main { background: var(--navy); padding-bottom: 60px; }
.profile-panel { max-width: 1270px; margin: 60px auto 0; background: #fff; }
.profile-head { display: grid; grid-template-columns: 420px 1fr; min-height: 560px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-text { padding: 108px 60px 50px 120px; font-family: var(--mincho); color: #000; }
.profile-text h1 { font-weight: 400; font-size: 48px; margin: 0; line-height: 1.3; }
.profile-text .romaji { font-size: 22px; margin-left: 8px; }
.profile-text .role { font-size: 22px; margin: 6px 0 22px; }
.profile-text .info p, .profile-text .links p { font-size: 14px; margin: 0; line-height: 2.3; }
.profile-text .links { margin-top: 28px; }
.ic-link { width: 14px; height: 14px; vertical-align: -2px; margin-left: 6px; color: #aaa; }
.sub-title { font-family: var(--mincho); font-weight: 500; font-size: 24px; text-align: center; color: var(--text); margin: 0 0 30px; }
.profile-extra { background: var(--panel); padding: 40px 0 30px; }
.screening { max-width: 960px; margin: 0 auto; padding: 0 24px; font-family: var(--mincho); color: #000; font-size: 14px; }
.screening h3 { font-weight: 500; font-size: 16px; margin: 0 0 6px; }
.screening ul { margin: 0; padding-left: 24px; }
.screening .video { max-width: 896px; margin: 30px auto 6px; aspect-ratio: 16 / 9; }
.screening .video iframe { width: 100%; height: 100%; border: 0; }
.screening .note { text-align: right; font-family: var(--gothic); font-size: 12px; }
.profile-voices, .profile-works { padding: 56px 24px 40px; }
.profile-works .works { max-width: 960px; margin: 0 auto; }
.filmography { font-family: var(--mincho); color: #000; }
.fg-genre { font-weight: 400; font-size: 20px; margin: 30px 0 6px; }
.fg-year { font-weight: 400; font-size: 16px; margin: 14px 0 6px; }
.filmography ul { margin: 0; padding-left: 24px; font-size: 14px; line-height: 2.1; }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; max-width: 1000px; margin: 0 auto; }
.two-col .sub-title { text-align: left; font-size: 18px; }
.fg-box { max-height: 640px; overflow-y: auto; padding-right: 16px; border-right: 1px solid var(--line); }
.fg-box .fg-genre { font-family: var(--gothic); font-size: 14px; font-weight: 500; margin-top: 24px; }
.fg-box ul { font-family: var(--gothic); font-size: 13px; line-height: 2; }
.fg-box .fg-year { font-family: var(--gothic); font-size: 13px; font-weight: 500; color: #555; margin: 10px 0 2px; }
.voices { max-width: 960px; margin: 0 auto; }
.voice { margin-bottom: 18px; }
.voice p { margin: 0 0 4px; font-size: 13px; color: #000; }
.voice p span { color: var(--muted); margin-left: 8px; font-size: 12px; }
.voice audio { width: 100%; max-width: 340px; height: 36px; }
.profile-contact { text-align: center; padding: 30px 16px 50px; font-family: var(--mincho); color: #000; }
.profile-contact h2 { font-weight: 400; font-size: 20px; margin: 0 0 8px; }
.profile-contact a { color: #000; }

/* ---------- article / simple pages ---------- */
.article-page { background: #fff; padding: calc(var(--header-h) + 60px) 16px 90px; }
.article { max-width: 800px; margin: 0 auto; font-family: var(--mincho); color: #000; font-size: 15px; }
.article h1 { font-weight: 500; font-size: 26px; text-align: center; margin: 0 0 36px; }
.article .article-sub { font-weight: 500; font-size: 20px; text-align: center; margin: 6px 0 30px; }
.article h3 { font-weight: 600; font-size: 17px; margin: 34px 0 10px; }
.article h4 { font-weight: 600; font-size: 15px; margin: 22px 0 6px; }
.article p { margin: 0 0 10px; }
.article ul, .article ol { padding-left: 24px; }
.article .date { text-align: center; color: var(--muted); font-family: var(--gothic); }
.article .sign { text-align: right; margin-top: 30px; }
.article .btn { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 8px 22px; border-radius: 6px; font-family: var(--gothic); font-size: 14px; }
.article .back { margin-top: 50px; text-align: center; font-family: var(--gothic); font-size: 14px; }
.terms div { display: grid; grid-template-columns: 220px 1fr; gap: 0 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dd { margin: 0; }

/* ---------- recruit ---------- */
.page-recruit main { background: #f7f7f7; }
.recruit-hero { background: var(--navy); height: 166px; display: flex; align-items: center; justify-content: center; }
.recruit-hero h1 { color: #fff; font-family: var(--gothic); font-weight: 500; font-size: 54px; margin: 0 0 0 330px; letter-spacing: .01em; }
.recruit-intro { max-width: 980px; margin: 0 auto; padding: 44px 16px 50px; }
.recruit-intro h2 { font-weight: 500; font-size: 40px; color: #222; margin: 0 0 18px; }
.recruit-intro p { font-size: 18px; color: #222; line-height: 2.1; margin: 0; }
.recruit-photo { position: relative; }
.recruit-tag { position: absolute; left: max(16px, calc(50% - 490px)); top: -50px; background: var(--navy); color: #fff; font-size: 30px; line-height: 1.3; padding: 20px 16px 26px; z-index: 2; font-family: var(--gothic); font-weight: 400; }
.slider { overflow: hidden; background: #111; --w: min(56%, 807px); }
.slider-track { display: flex; will-change: transform; }
.slide { flex: 0 0 var(--w); aspect-ratio: 1000 / 563; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .8s ease; }
.slide.is-current img { filter: none; }
.recruit-box { max-width: 690px; margin: 60px auto 90px; background: linear-gradient(#ececec, #fff 140px); box-shadow: 0 2px 8px rgba(0,0,0,.15); padding: 36px 30px 50px; color: #222; font-size: 14px; line-height: 2.1; }
.recruit-box .label { display: inline-block; background: #e3e6ee; font-weight: 400; font-size: 18px; padding: 10px 38px; margin: 30px 0 16px; }
.recruit-box .label:first-child { margin-top: 0; }
.recruit-box h4 { font-weight: 500; margin: 22px 0 4px; }
.recruit-box .strong { font-weight: 500; margin: 10px 0 0; }
.recruit-box p { margin: 0 0 6px; }
.recruit-box ul { padding-left: 22px; margin: 4px 0; }

/* ---------- apps ---------- */
.page-apps main { background: #f7f7f7; }
.apps-hero { background: var(--navy); color: #fff; text-align: center; padding: 44px 16px 40px; }
.apps-hero h1 { font-weight: 500; font-size: 48px; margin: 0; line-height: 1.2; }
.apps-hero p { margin: 6px 0 0; letter-spacing: .2em; color: #cfd6e6; }
.apps-lead { text-align: center; font-family: var(--mincho); color: #222; font-size: 15px; margin: 50px 16px 40px; }
.app-list { max-width: 980px; margin: 0 auto; padding: 0 16px 90px; display: flex; flex-direction: column; gap: 28px; }
.app-card { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); display: grid; grid-template-columns: 96px 1fr 180px; gap: 28px; padding: 30px; align-items: start; }
.app-card.no-shot { grid-template-columns: 96px 1fr; }
.app-card.has-wide { grid-template-columns: 96px 1fr; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.app-icon.initials { background: #eef0f5; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.app-icon.initials span { white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--navy); text-align: center; padding: 0 8px; word-break: keep-all; overflow-wrap: anywhere; }
.app-media { display: flex; flex-direction: column; gap: 16px; }
.app-media.wide { grid-column: 2 / -1; max-width: 640px; }
.app-shot, .app-thumb { display: block; cursor: zoom-in; text-decoration: none; }
.app-shot img { width: 100%; border-radius: 18px; border: 1px solid #e3e3e3; box-shadow: 0 6px 16px rgba(0,0,0,.12); transition: transform .25s ease; }
.app-media.wide .app-shot img { border-radius: 12px; }
.app-thumb img { width: 100%; border: 1px solid #e3e3e3; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,.10); transition: transform .25s ease; }
.app-thumb span { display: block; font-size: 11px; color: var(--muted); text-align: center; margin-top: 4px; }
@media (hover: hover) { .app-shot:hover img, .app-thumb:hover img { transform: scale(1.03); } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 15, 30, .88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 48px); object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.lightbox-close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.app-body h2 { font-family: var(--mincho); font-weight: 500; font-size: 26px; margin: 0; color: #000; line-height: 1.4; }
.app-body h2 small { font-family: var(--gothic); font-size: 13px; color: var(--muted); margin-left: 10px; font-weight: 400; }
.app-body .tagline { color: var(--navy); font-weight: 500; margin: 2px 0 10px; }
.app-body p { margin: 0 0 8px; font-size: 14px; color: #222; }
.app-body ul { margin: 0 0 10px; padding-left: 20px; font-size: 13px; color: #333; }
.app-body .price { font-size: 12px; color: var(--muted); }
.platforms { display: flex; gap: 6px; margin: 0 0 6px !important; }
.platforms span { font-size: 11px; border: 1px solid var(--navy); color: var(--navy); padding: 0 8px; border-radius: 10px; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px !important; }
.store { display: inline-block; text-decoration: none; color: #fff; background: #000; font-size: 13px; padding: 7px 16px; border-radius: 6px; }
.store.googleplay { background: #01875f; }
.store.web { background: var(--navy); }
.store-links .more { font-size: 13px; color: var(--navy); }
.legal-links { display: flex; gap: 16px; margin: 6px 0 0 !important; }
.legal-links a { font-size: 12px; color: var(--muted); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dot-nav { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .logo img { width: 120px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; order: 3; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }
  .site-header .sns-x { margin-left: auto; margin-right: 8px; }
  .gnav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 10px 0 40px; }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; }
  .gnav a { flex-direction: row; gap: 14px; padding: 12px 24px; align-items: baseline; }
  .gnav .en { padding: 0; }
  .gnav .ja { margin: 0; }
  .gnav .submenu { display: block; position: static; transform: none; box-shadow: none; padding: 0 0 0 24px; }
  .hero { min-height: 420px; }
  .hero-copy { margin-top: 50px; font-size: 13px; }
  .talent-grid { column-gap: 24px; row-gap: 40px; }
  .talent-card, .talent-card .photo { width: 160px; }
  .talent-card .photo { height: 240px; padding: 6px; }
  .talent-card .card-name { font-size: 22px; margin-top: 16px; }
  .news-panel { padding: 22px 18px 30px; }
  .company-table div { grid-template-columns: 1fr; padding: 18px 0; }
  .profile-panel { margin-top: 0; }
  .profile-head { grid-template-columns: 1fr; }
  .profile-photo { aspect-ratio: 3 / 4; max-height: 70vh; }
  .profile-text { padding: 30px 20px; }
  .profile-text h1 { font-size: 34px; }
  .two-col { grid-template-columns: 1fr; }
  .terms div { grid-template-columns: 1fr; }
  .news-index li { grid-template-columns: 1fr; gap: 2px; }
  .recruit-hero { height: 110px; }
  .recruit-hero h1 { font-size: 36px; margin: 0; }
  .recruit-intro h2 { font-size: 30px; }
  .recruit-intro p { font-size: 15px; }
  .recruit-tag { font-size: 20px; top: -36px; padding: 12px; }
  .slider { --w: 82%; }
  .recruit-box { margin: 40px 16px 60px; padding: 26px 18px 36px; }
  .app-card { grid-template-columns: 64px 1fr; padding: 20px; gap: 16px; }
  .app-icon { width: 64px; height: 64px; border-radius: 15px; }
  .app-icon.initials span { font-size: 9px; padding: 0; white-space: nowrap; }
  .app-media { grid-column: 1 / -1; flex-direction: row; justify-content: center; align-items: flex-start; }
  .app-media > a { width: min(45%, 200px); }
  .app-media.wide > a { width: 100%; }
  .apps-lead br { display: none; }
}
