@charset "UTF-8";

/*
 * HIROMEDO — frontend-skill 準拠（フルブリードヒーロー、カードレス、タイポ主役）
 */

:root {
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-ink: #0c1222;
  --color-muted: #5c6578;
  --color-line: rgba(12, 18, 34, 0.08);
  --color-accent: #1d4ed8;
  --color-accent-hover: #1e40af;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --header-h: 4.25rem;
  --space-section: clamp(3rem, 8vw, 5rem);
  --max-read: 38rem;
  --max-content: 68rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .h-hero-media,
  .site-brand img {
    animation: none !important;
  }
}

body.site-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ——— ヘッダー ——— */

#header.site-header,
header#header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.site-brand img {
  height: 2.5rem;
  width: auto;
  margin: 0;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav-links .buttonbox {
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  display: inline;
}

.site-nav-a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease-out), color 0.2s;
}

.site-nav-a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* SP ハンバーガー */

.nav-toggle,
#switch.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle,
  #switch.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.65rem;
    right: 1rem;
    z-index: 210;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-ink);
    border: none;
    border-radius: 999px;
    cursor: pointer;
  }

  #header.site-header #buttons.site-nav,
  #header #buttons.site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    z-index: 205;
    background: rgba(12, 18, 34, 0.92);
    backdrop-filter: blur(8px);
    padding: var(--header-h) 1.5rem 2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
  }

  #header #buttons.site-nav.is-open,
  #buttons.site-nav.is-open {
    display: flex;
  }

  .site-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav-links .buttonbox {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav-links .site-nav-a {
    display: block;
    padding: 1rem 0;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: none;
    border-bottom: none;
  }

  .site-nav-links .site-nav-a:hover {
    color: #93c5fd;
  }

  .site-header-inner {
    padding-right: 5rem;
  }
}

/* ——— メイン・フッター ——— */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  width: 100%;
}

.h-wrap {
  width: min(100% - 2rem, var(--max-content));
  margin-left: auto;
  margin-right: auto;
}

.h-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.h-section {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--color-line);
}

.h-section:last-of-type {
  border-bottom: none;
}

.h-prose p {
  margin: 0;
  color: var(--color-muted);
  max-width: var(--max-read);
}

.h-prose p + p {
  margin-top: 1rem;
}

.notice-panel {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
}

/* ——— トップ：フルブリードヒーロー ——— */

.h-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(52svh, 480px);
  max-height: min(72svh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0c1222;
}

.h-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: h-hero-zoom 18s var(--ease-out) forwards;
}

@keyframes h-hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.04);
  }
}

.h-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 18, 34, 0.88) 0%,
    rgba(12, 18, 34, 0.55) 48%,
    rgba(12, 18, 34, 0.2) 100%
  );
}

.h-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-content));
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  color: #fff;
}

.h-hero-brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin: 0 0 0.5rem;
  color: #bfdbfe;
}

.h-hero-title {
  font-size: clamp(1.65rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  max-width: 44rem;
}

.h-hero-lead {
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.h-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s;
}

.h-btn--primary {
  background: #fff;
  color: var(--color-ink);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.h-btn--primary:hover {
  color: var(--color-ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.h-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.h-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ページ用コンパクトヒーロー */

.page-hero {
  padding: var(--space-section) 0 calc(var(--space-section) * 0.65);
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: #fff;
  margin-bottom: 0;
  border-bottom: none;
}

.page-hero .h-wrap {
  position: relative;
  z-index: 1;
}

.page-hero-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 0.75rem;
}

.page-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  max-width: 32rem;
}

.page-hero-lead {
  color: #dbeafe;
  margin: 0 0 1rem;
  max-width: 34rem;
}

.page-hero-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.page-hero-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* 開催情報フィーチャー（カードではなく帯） */

.h-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow 0.25s var(--ease-out);
}

.h-feature:hover {
  box-shadow: 0 12px 40px rgba(12, 18, 34, 0.08);
  color: inherit;
}

.h-feature-visual {
  min-height: 14rem;
  background: #e8ecf2 center/cover no-repeat;
}

.h-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.h-feature-body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h-feature-title {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.h-feature-date {
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .h-feature {
    grid-template-columns: 1fr;
  }

  .h-feature-visual {
    min-height: 12rem;
  }

  .h-hero-actions .h-btn {
    width: 100%;
  }
}

/* リリース一覧：行レイアウト */

.h-release-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
}

.h-release-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.h-release-row:hover {
  background: rgba(29, 78, 216, 0.04);
  color: inherit;
}

.h-release-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8ecf2;
}

.h-release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-release-name {
  display: block;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.25rem;
}

.h-release-time {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .h-release-row {
    grid-template-columns: 5rem 1fr;
    gap: 0.75rem;
  }
}

/* 終端 CTA */

.h-section--cta {
  background: var(--color-ink);
  color: #fff;
  border-bottom: none;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.h-cta-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.h-cta-lead {
  margin: 0 auto 1.25rem;
  color: #94a3b8;
  max-width: 28rem;
}

.h-section--cta .h-btn--primary {
  background: #fff;
  color: var(--color-ink);
}

/* フッター */

#bottombox.site-footer-wrap,
.site-footer-wrap {
  margin-top: auto;
  background: var(--color-ink);
  color: #94a3b8;
}

.site-footer-inner {
  width: min(100% - 2rem, var(--max-content));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.site-footer-nav a {
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-footer-nav a:hover {
  color: #fff;
}

.site-footer-copy,
#bottom.site-footer-copy {
  font-size: 0.75rem;
  margin: 0;
  color: #64748b;
}

/* 事業：メディア行（カード化しない） */

.h-split-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.h-split {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
}

.h-split-visual {
  border-radius: 2px;
  overflow: hidden;
  background: #e8ecf2;
}

.h-split-visual img {
  width: 100%;
  display: block;
}

.h-split-body p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .h-split {
    grid-template-columns: 1fr;
  }
}

/* イベント詳細ブロック */

.event-detail {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-section);
  margin-top: 0;
}

.event-detail-title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.event-detail-visual {
  margin: 0 0 1rem;
}

.event-detail-visual img {
  width: 100%;
  max-width: 36rem;
  display: block;
}

.event-detail .linkbutton {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.65rem 1.25rem;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.event-detail .linkbutton:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

.event-detail > p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  max-width: 42rem;
}

.text-warn {
  color: #b45309;
  font-weight: 600;
}

.privacy-block {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.privacy-block strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.itadan-visual {
  display: block;
  max-width: min(100%, 520px);
  margin: 1.5rem auto 0;
  height: auto;
}

/* 取扱店ページ */
.store-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.store-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--color-surface);
}

.store-jump-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.store-page .title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.store-page .title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.store-page .box {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.storetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.storetable td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

.storetable tr:first-child td {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: rgba(12, 18, 34, 0.03);
}

.store-page .linkbutton {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.store-page .linkbutton:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

.fine-print {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* 企業情報 */

.h-dl-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
  max-width: 42rem;
}

.h-dl-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}

.h-dl-row dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.h-dl-row dd {
  margin: 0;
  color: var(--color-ink);
}

@media (max-width: 520px) {
  .h-dl-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.historytable {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.historytable > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.9375rem;
}

@media (max-width: 520px) {
  .historytable > div {
    grid-template-columns: 1fr;
  }
}

/* コラボ */

.h-media-feature {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.h-media-feature img {
  width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .h-media-feature {
    grid-template-columns: 1fr;
  }
}

/* アニメグッズ：製品ブロック */

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.product-unit {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}

.product-unit:last-child {
  border-bottom: none;
}

.product-unit .namebox {
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0 0 0.75rem;
  margin: 0 0 1rem;
  background: none;
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
}

.product-unit .goodsbox {
  display: grid;
  grid-template-columns: minmax(0, 12rem) 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .product-unit .goodsbox {
    grid-template-columns: 1fr;
  }
}

.product-unit .link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

.animegoods .subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.06em;
}

.bar {
  border: none;
  border-top: 1px solid var(--color-line);
  margin: 1.5rem 0;
}

/* フォーム */

.form-page .privacy-scroll {
  max-height: 14rem;
  overflow-y: auto;
  padding: 1rem;
  margin-top: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.form-page .errorbox {
  padding: 0.85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.form-page input[type="text"],
.form-page textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font: inherit;
}

.form-page textarea {
  min-height: 12rem;
  resize: vertical;
}

.form-page button.radius,
.form-page .radius {
  width: auto;
  min-width: 10rem;
}

/* 旧IDの干渉を打ち消し（レイアウトのみ） */

body.site-body #allbox {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.site-body #contents {
  background: transparent;
  padding: 0;
  margin: 0;
}

body.site-body #leftbox {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.site-body #rightbox {
  display: none;
}
