/* ====== Base ====== */
:root {
  --brand: #0a5ea9;
  --brand-2: #ff8b2d;
  --text: #1f2937;
  --muted: #000000;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {

  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', Meiryo, Roboto, 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;*/
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

/*img{ max-width:100%; height:auto; display:block; }
a{ color: var(--brand); text-decoration: none; }
a:hover{ text-decoration: underline; }*/

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  background: #fff;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

.brand {
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-weight: 600;
}

.nav a.btn {
  color: #fff;
}


/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 0;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--brand);
}

.btn.primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn.lg {
  padding: .9rem 1.25rem;
  font-size: 1.05rem;
}

.btn.cta {
  background: var(--brand-2);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(3, 25, 56, .3), rgba(3, 25, 56, .55)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  padding: 10vh 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  margin: 0;
}

.lead {
 /* font-size: clamp(1rem, 1.2vw + .8rem, 1.5rem);*/
  opacity: .95;
  margin: .75rem 0 1.25rem;
}

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2.2rem);
  margin: 0 0 .5rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.3vw;
  margin: 0;
}

/* ===== Features ===== */
.features {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.25rem;
}

.feature {
  background: #ffffffcb;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.feature .icon {
  color: var(--brand);
}

.feature h3 {
  margin: .5rem 0;
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 1.1vw;
}

/* ===== Timeline ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  display: grid;
 grid-template-columns: 200px 2fr;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.timeline .time {
  font-weight: 800;
  color: var(--brand);
}

.timeline .detail {
  color: var(--text);
}

.note {
  margin-top: 20px;
  background: #fff;
  border-left: 6px solid var(--brand);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.note h3 {
  margin: 0 0 .25rem;
}

/* ===== Info ===== */
.info-grid {
  display: grid;
  gap: 18px;
  /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.list2 {
  margin: 0;
  padding-left: 1rem;
}

.list2 li{
text-indent: -1em;
padding-left: 1em;
}



.small {
  color: var(--muted);
  font-size: .9rem;
}


/* ===== CTA block ===== */
.cta-block {
  background: linear-gradient(90deg, var(--brand) 0%, #0b79d0 100%);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-inner h2 {
  margin: 0;
}

.cta-inner p {
  margin: .25rem 0 0;
  opacity: .95;
}

.cta-inner .btn {
  background: var(--brand-2);
  color: #fff;
}

/* ===== FAQ ===== */
details {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  margin: 10px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  float: right;
}

details[open] summary:after {
  content: '−';
}

/* ===== Footer ===== */
.site-footer {
  background: #0b1c2b;
  color: #bcd2e8;
  text-align: center;
  padding: 24px 0;
}

.site-footer a {
  color: #e6f0f9;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== アニメーション定義 ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Hero ===== */
.hero-content {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  /* 初期非表示 */
}

/* ===== 魅力カード ===== */
.card {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.card:nth-child(1) {
  animation-delay: 0.3s;
}

.card:nth-child(2) {
  animation-delay: 0.6s;
}

.card:nth-child(3) {
  animation-delay: 0.9s;
}

/* ===== タイムライン ===== */
.timeline li {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

.timeline li:nth-child(1) {
  animation-delay: 0.2s;
}

.timeline li:nth-child(2) {
  animation-delay: 0.4s;
}

.timeline li:nth-child(3) {
  animation-delay: 0.6s;
}

.timeline li:nth-child(4) {
  animation-delay: 0.8s;
}

.timeline li:nth-child(5) {
  animation-delay: 1.0s;
}

.timeline li:nth-child(6) {
  animation-delay: 1.2s;
}

.timeline li:nth-child(7) {
  animation-delay: 1.4s;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  background: #ff8b2d;
  color: white;
  padding: 0.8em 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}