﻿/*
  サイト全体の見た目を調整するファイルです。
  色や文字サイズ、余白を変えたいときは、この style.css を編集してください。
*/

:root {
  --bg: #eef7ff;
  --surface: #ffffff;
  --text: #1d2a35;
  --muted: #5d6f7d;
  --line: #d8e9f6;
  --accent: #1d8fd1;
  --accent-dark: #0f6397;
  --accent-soft: #dff4ff;
  --warm: #227fb5;
  --shadow: 0 14px 40px rgba(31, 77, 110, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(84, 190, 235, 0.22), transparent 34rem),
    radial-gradient(circle at top right, rgba(33, 150, 243, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 52%, #ffffff 100%);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(20px, calc((100vw - 1080px) / 2));
  background: rgba(248, 252, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo {
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

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

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 8px 12px;
  font: inherit;
}

.section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  min-height: 0;
  padding: 0 0 64px;
  color: var(--text);
}

.hero::after {
  display: none;
}

.hero-bg-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #031226;
}

.hero-text {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 233, 246, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.label {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 62px;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.35;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.45;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.hero .label {
  color: var(--accent-dark);
}

.hero .lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 18px auto 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  color: var(--accent-dark);
}

.button.secondary:hover {
  background: #c8ebff;
  border-color: var(--accent-dark);
}

.button.disabled-link {
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none;
}

.button.disabled-link:hover {
  transform: none;
  box-shadow: none;
}

.button.large {
  margin-top: 28px;
}

.hero-panel,
.card,
.note-item,
.project-card,
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  color: var(--text);
}

.panel-title {
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-panel ul,
.check-list {
  margin: 0;
  padding-left: 20px;
}

.section {
  padding: 72px 0;
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.about p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.project-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.staff-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  margin: -22px -22px 20px;
  width: calc(100% + 44px);
  border-bottom: 1px solid var(--line);
  background: #e6f4fb;
}

.project-visual {
  height: 120px;
  margin: -22px -22px 22px;
  border-bottom: 1px solid var(--line);
  background: url("images/project-codex.png") center / cover;
}

.visual-writing {
  background: url("images/project-writing.png") center / cover;
}

.visual-image {
  background: url("images/project-image.png") center / cover;
}

.visual-tool {
  background: url("images/project-tools.png") center / cover;
}

.card p,
.project-card p,
.note-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.note-list {
  display: grid;
  gap: 14px;
}

.note-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.note-item a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.project-grid {
  grid-template-columns: repeat(2, 1fr);
}

.project-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--warm);
  font-weight: 700;
}

.contact {
  padding: 36px;
  margin-bottom: 72px;
}

.project-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.intro-body p {
  color: var(--muted);
  font-size: 17px;
}

.featured-episode {
  border-top: 1px solid var(--line);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 670;
  object-fit: cover;
  border-radius: 6px;
  background: #e6f4fb;
}

.feature-card img.thumbnail-contain,
.thumbnail-frame img {
  object-fit: contain;
  background: #0c2b42;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.next-episode,
.booth-product {
  border-top: 1px solid var(--line);
}

.featured-product {
  padding-top: 58px;
}

.notice-box,
.asset-card,
.media-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-box {
  padding: 24px;
}

.product-box .contact-layout {
  margin: 22px 0;
}

.support-copy {
  color: var(--muted);
}

.inline-cta {
  margin: 28px 0;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 92px max(20px, calc((100vw - 920px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 18, 20, 0.88), rgba(10, 18, 20, 0.52)),
    url("images/ai-founder-hero.png") center / cover;
}

.article-hero-inner {
  max-width: 820px;
}

.article-body {
  max-width: 820px;
}

.article-body p {
  color: var(--text);
  font-size: 17px;
}

.media-section {
  max-width: 920px;
}

.media-frame {
  margin: 0;
  overflow: hidden;
}

.media-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 670;
  object-fit: cover;
  background: #e6f4fb;
}

.manga-frame img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  max-height: none;
}

.manga-pages {
  display: grid;
  gap: 28px;
}

.media-frame figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.asset-card {
  padding: 20px;
}

.asset-card p {
  color: var(--muted);
}

.external-routes {
  border-top: 1px solid var(--line);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.route-card::before {
  display: none;
}

.route-card > :not(.route-logo) {
  position: relative;
  z-index: 1;
}

.route-logo {
  position: relative;
  z-index: 1;
  width: 156px;
  max-width: 66%;
  height: auto;
  margin: 0 0 14px;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

.route-note {
  background: #ffffff;
}

.route-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 18px 42px rgba(30, 30, 30, 0.12);
}

.route-card.pending-route {
  opacity: 0.76;
}

.route-card.pending-route:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.route-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
}

.route-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.route-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.episode02-hero {
  background:
    linear-gradient(90deg, rgba(11, 32, 52, 0.9), rgba(17, 72, 110, 0.56)),
    url("images/project-tools.png") center / cover;
}

.episode02-thumbnail-hero {
  background:
    linear-gradient(90deg, rgba(11, 32, 52, 0.92) 0%, rgba(17, 72, 110, 0.68) 48%, rgba(15, 99, 151, 0.28) 100%),
    #0c2b42 url("images/episode02-thumbnail.png") right center / contain no-repeat;
}

.episode03-thumbnail-hero {
  background:
    linear-gradient(90deg, rgba(11, 32, 52, 0.82), rgba(17, 72, 110, 0.36)),
    url("images/episode03-thumbnail.png") center / cover;
}

.episode04-hero {
  background:
    linear-gradient(90deg, rgba(3, 18, 38, 0.92), rgba(3, 18, 38, 0.46)),
    url("images/ai-company-lab-hero-20260814.png") center / cover;
}

.game-ad-observer-hero {
  background:
    linear-gradient(90deg, rgba(3, 18, 38, 0.94), rgba(15, 99, 151, 0.56)),
    url("images/project-tools.png") center / cover;
}

.game-ad-observer-hero .label {
  color: #9edfff;
}

.game-ad-observer-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.social-video-section {
  border-top: 1px solid var(--line);
}

.social-video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
}

.vertical-video-frame {
  width: min(100%, 420px);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #07172b;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.vertical-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-video-copy {
  align-self: center;
}

.tool-section {
  max-width: 1080px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.metric-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.25;
}

.metric-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.table-preview {
  margin: 22px 0;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.table-preview table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.table-preview th,
.table-preview td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-preview th {
  background: var(--accent-dark);
  color: #fff;
}

.product-guide-hero {
  background:
    linear-gradient(90deg, rgba(11, 32, 52, 0.9), rgba(17, 72, 110, 0.58)),
    radial-gradient(circle at right top, rgba(158, 229, 255, 0.24), transparent 34rem),
    linear-gradient(135deg, #0c2b42, #1d8fd1);
}

.guide-section {
  border-top: 1px solid var(--line);
}

.guide-grid,
.purchase-grid {
  display: grid;
  gap: 18px;
}

.guide-grid {
  grid-template-columns: repeat(5, 1fr);
}

.guide-card,
.purchase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.guide-card {
  padding: 20px;
  color: var(--text);
  font-weight: 700;
}

.guide-body {
  max-width: 900px;
}

.two-column-list {
  columns: 2;
  column-gap: 38px;
}

.purchase-grid {
  grid-template-columns: repeat(2, 1fr);
}

.purchase-card {
  padding: 24px;
}

.purchase-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
}

.purchase-card p {
  color: var(--muted);
}

.purchase-card .button {
  margin-top: 10px;
}

.experiment-note {
  margin-top: 16px;
}

.loss-text {
  color: var(--warm);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.check-list li {
  margin-bottom: 8px;
}

.site-footer {
  padding: 28px 20px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero {
    padding: 0 0 48px;
  }

  .hero-text,
  .hero-visual {
    width: min(100% - 28px, 1080px);
  }

  .hero-panel {
    margin-top: 10px;
  }

  .section {
    width: min(100% - 28px, 1080px);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 25px;
  }

  .lead {
    font-size: 16px;
  }

  .about,
  .project-intro,
  .feature-card,
  .card-grid,
  .project-grid,
  .guide-grid,
  .purchase-grid,
  .contact-layout,
  .asset-grid,
  .route-grid,
  .metric-grid,
  .social-video-layout {
    grid-template-columns: 1fr;
  }

  .two-column-list {
    columns: 1;
  }

  .section {
    padding: 48px 0;
  }

  .note-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    padding: 24px;
    margin-bottom: 48px;
  }

  .project-visual {
    height: 96px;
  }

  .media-frame figcaption {
    font-size: 13px;
  }

  .manga-frame img {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}

