﻿:root {
  --bg-body: #f0f4ff;
  --bg-glow-1: rgba(111, 182, 255, 0.28);
  --bg-glow-2: rgba(201, 120, 255, 0.32);
  --bg-glow-3: rgba(103, 232, 249, 0.18);
  --bg-glow-4: rgba(236, 233, 255, 0.34);
  --ink: #081432;
  --ink-soft: rgba(8, 20, 46, 0.7);
  --ink-inverse: rgba(255, 255, 255, 0.92);
  --accent: #5b7bff;
  --accent-strong: #2f54ff;
  --accent-soft: rgba(91, 123, 255, 0.18);
  --line-soft: rgba(24, 44, 104, 0.12);
}
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, var(--bg-glow-1) 0%, rgba(111, 182, 255, 0) 55%),
    radial-gradient(circle at 85% 20%, var(--bg-glow-2) 0%, rgba(201, 120, 255, 0) 60%),
    linear-gradient(180deg, #eef2ff 0%, #f9fbff 100%);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.7;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
body::before {
  background:
    radial-gradient(640px at -10% 110%, rgba(91, 123, 255, 0.38), rgba(91, 123, 255, 0)),
    radial-gradient(520px at 110% -20%, rgba(255, 158, 246, 0.25), rgba(255, 158, 246, 0));
}
body::after {
  background:
    radial-gradient(480px at 75% 75%, var(--bg-glow-3), rgba(103, 232, 249, 0)),
    radial-gradient(420px at 20% 70%, var(--bg-glow-4), rgba(236, 233, 255, 0));
  filter: blur(14px);
  opacity: 0.65;
}
a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #1f3bed;
}
.main {
  position: relative;
}
#mainArea {
  padding-bottom: 10px;
}
#firstview {
  /* margin: 0 0 0 calc(100% - 100vw); */
  margin: 0 auto; 
  width: 100vw;
  /* align-content: center; */
  height: 100%;
  /* width: calc(100% - 48px); */
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(28, 38, 78, 0.95) 6%, rgba(25, 52, 135, 0.9) 45%, rgba(88, 114, 255, 0.95) 100%);
  position: relative;
  overflow: hidden;
  color: var(--ink-inverse);
  box-shadow: 0 55px 110px -65px rgba(15, 23, 42, 0.78);
  padding-bottom: clamp(10px, 5vw, 20px);
  padding-left: clamp(10px, 5vw, 20px);
  padding-right: clamp(10px, 5vw, 20px);
}
#firstview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px at 15% 18%, rgba(255, 255, 255, 0.22), transparent 65%),
    radial-gradient(520px at 88% 10%, rgba(167, 199, 255, 0.35), transparent 70%),
    radial-gradient(440px at 50% 110%, rgba(26, 56, 153, 0.95), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.firstview-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 7vw, 56px);
  padding: clamp(48px, 9vw, 48px) clamp(40px, 8vw, 40px);
  z-index: 1;
}
.firstview-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  max-width: 520px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.firstview-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 3.7rem);
  line-height: 1.05;
}
.hero-summary {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}
.firstview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.firstview-actions .btn {
  border: 1.4px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px -20px rgba(10, 18, 42, 0.55);
}
.firstview-actions .btn.primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(229, 238, 255, 0.95) 100%);
  color: var(--accent-strong);
  border: none;
  box-shadow: 0 24px 52px -24px rgba(22, 41, 117, 0.42);
}
.firstview-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
}
.firstview-visual {
  background: rgba(15, 26, 68, 0.55);
  padding: clamp(14px, 2.2vw, 24px);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -48px rgba(9, 17, 54, 0.9);
}
.firstview-img {
  width: min(1000px, 100%);
}
.firstview-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}
.firstview-img.sp {
  display: none;
}
.section {
  position: relative;
  padding: clamp(88px, 14vw, 140px) 0;
}
.section--overview::before,
.section--features::before,
.section--muted::before,
.section--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.section--overview::before {
  background:
    radial-gradient(460px at 22% 12%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    radial-gradient(640px at 85% 5%, rgba(214, 234, 255, 0.55), rgba(214, 234, 255, 0));
}
.section--features {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 249, 255, 0.92) 100%);
}
.section--features::before {
  background:
    radial-gradient(540px at -5% 45%, rgba(118, 176, 255, 0.16), transparent 72%),
    radial-gradient(520px at 105% 40%, rgba(255, 210, 254, 0.18), transparent 75%);
}
.section--muted {
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.88) 0%, rgba(239, 245, 255, 0.88) 100%);
}
.section--muted::before {
  background: radial-gradient(360px at 18% 30%, rgba(126, 190, 255, 0.18), transparent 75%);
}
.section--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.92) 100%);
}
.section--accent::before {
  background: radial-gradient(420px at 82% 22%, rgba(255, 176, 224, 0.28), transparent 70%);
}
.section__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.section__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--accent-strong);
  margin: 0 0 14px;
}
.section__header {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.6vw, 18px);
  margin-bottom: clamp(36px, 6vw, 54px);
  max-width: 780px;
}
.section__title {
  margin: 0;
  font-size: clamp(2.1rem, 3.4vw, 2.6rem);
  line-height: 1.2;
}
.section__lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ink-soft);
}
.section__note {
  margin-top: 28px;
  color: var(--ink-soft);
}
.overview {
  display: grid;
  gap: clamp(32px, 5vw, 48px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  align-items: start;
}
.overview__text p {
  margin: 24px 0 0;
}
.overview__media {
  display: flex;
  justify-content: center;
}
.overview__media .media-gallery {
  width: 100%;
  max-width: 520px;
}
.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.point-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}
.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 91, 255, 1) 0%, rgba(91, 123, 255, 1) 100%);
  box-shadow: 0 0 0 6px rgba(91, 123, 255, 0.16);
}
.media-gallery {
  display: grid;
  gap: clamp(16px, 3vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  justify-items: center;
}
.media-gallery figure {
  margin: 0;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 70, 125, 0.08);
  text-align: center;
  box-shadow: 0 24px 44px -28px rgba(29, 52, 126, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.media-gallery figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 58px -24px rgba(47, 91, 255, 0.3);
}
.media-gallery img {
  width: 100%;
  border-radius: 18px;
  display: block;
  flex: 1 1 auto;
  object-fit: cover;
}
.media-gallery figcaption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.feature-groups {
  display: grid;
  gap: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: clamp(36px, 6vw, 56px);
}
.feature-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-group__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.link-stack {
  display: grid;
  gap: 18px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(47, 70, 126, 0.12);
  box-shadow: 0 18px 40px -26px rgba(15, 31, 75, 0.32);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 91, 255, 0.45);
  box-shadow: 0 28px 54px -28px rgba(47, 91, 255, 0.32);
}
.link-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.link-card span {
  font-size: 0.96rem;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, rgba(47, 91, 255, 1) 0%, rgba(105, 137, 255, 1) 100%);
  color: #fff;
  box-shadow: 0 22px 48px -24px rgba(47, 91, 255, 0.5);
}
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -26px rgba(47, 91, 255, 0.55);
}
.btn.ghost {
  background: transparent;
  color: inherit;
  border: 1.6px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn.outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1.4px solid rgba(47, 70, 126, 0.24);
  box-shadow: 0 12px 34px -26px rgba(15, 31, 75, 0.32);
}
.btn.outline:hover {
  border-color: rgba(47, 91, 255, 0.45);
  color: var(--accent-strong);
}
.btn.surface {
  background: linear-gradient(135deg, #20348f 0%, #3d5eff 100%);
  color: #fff;
}
.results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-weight: 500;
}
.results-list li {
  position: relative;
  padding-left: 24px;
}
.results-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-strong);
  font-size: 0.82rem;
}
.viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 38, 0.82);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  z-index: 9999;
}
.viewer img {
  max-width: min(960px, 90vw);
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 80px -30px rgba(12, 18, 52, 0.7);
}
.viewer-close {
  position: absolute;
  top: clamp(24px, 4vw, 36px);
  right: clamp(24px, 4vw, 36px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 1.45rem;
  text-decoration: none;
}
.viewer-close:hover {
  background: rgba(255, 255, 255, 0.38);
}
:target.viewer {
  display: flex;
}
.hash-anchor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
@media (max-width: 1200px) {
  .firstview-box {
    padding: clamp(44px, 9vw, 68px) clamp(32px, 6vw, 56px);
  }
  .section__container {
    padding: 0 clamp(18px, 4vw, 32px);
  }
}
@media (max-width: 960px) {
  .firstview-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .firstview-img.pc {
    display: none;
  }
  .firstview-img.sp {
    display: block;
    width: 100%;
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .overview__media .media-gallery {
    max-width: none;
  }
  .media-gallery {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
@media (max-width: 768px) {
  #mainArea {
    padding-bottom: 90px;
  }
  .section {
    padding: clamp(64px, 16vw, 96px) 0;
  }
  .section--overview {
    padding-top: clamp(72px, 18vw, 108px);
  }
  .section__title {
    font-size: clamp(1.8rem, 5vw, 2rem);
  }
  .section__lead {
    font-size: clamp(1.02rem, 3.6vw, 1.12rem);
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  #firstview {
    width: calc(100% - 20px);
  }
  .firstview-box {
    padding: clamp(32px, 12vw, 44px);
  }
  .section__container {
    padding: 0 clamp(14px, 5vw, 22px);
  }
  .media-gallery {
    grid-template-columns: 1fr;
  }
}
