/* 全体地盤 */
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 auto;
  color: #fff;
  overflow-x: hidden;
  background: #000;
}

main {
  font-family: "Zen Kaku Gothic New", "Roboto", sans-serif;
}

h1 {
  font-size: clamp(40px, calc(2.5vw + 20px), 56px);
}

h2 {
  font-size: clamp(26px, calc(1.875vw + 10px), 32px);
  text-align: center;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.typing::after {
  content: "|";
  animation: blink 0.7s steps(1) infinite;
  font-weight: 300;
}

.typing.done::after {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

h3 {
  font-size: clamp(16px, calc(1.4vw + 6px), 20px);
}

p {
  font-size: clamp(14px, calc(1.17vw + 4px), 16px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

ul {
  list-style: none;
}

ol {
  list-style: circle;
}

a {
  text-decoration: none;
  color: black;
}

img {
  width: 100%;
  height: auto;
}

.mw {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.4s, border-color 0.4s;
}

.site-header__logo { color: #1a1a1a; }
.site-header__nav a { color: #888; }

.site-header--dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header--dark .site-header__logo { color: #fff; }
.site-header--dark .site-header__nav a { color: rgba(255, 255, 255, 0.6); }

.site-header--light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: #e5e5e5;
}

.site-header--light .site-header__logo { color: #1a1a1a; }
.site-header--light .site-header__nav a { color: #888; }

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.4s;
  display: flex;
  align-items: end;
  gap: 8px;
}

.site-header__logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-header__nav a {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.4s;
}

/* ===== セクション共通 ===== */
.section-label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #aaa;
  text-align: center;
  margin-bottom: 8px;
}

/* ===== CTA section ===== */
.cta-section {
  position: relative;
  z-index: 100;
  background: #f8f8f8;
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.cta-label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.cta-section h2 {
  color: #1a1a1a;
  font-weight: 500;
  font-size: clamp(22px, calc(1.8vw + 10px), 32px);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.cta-lead {
  color: #888;
  font-size: clamp(13px, calc(0.7vw + 6px), 15px);
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.cta-section .detail-btn-box a {
  background: #244268;
  border: 1px solid #244268;
  color: #fff;
  backdrop-filter: none;
  border-radius: 0;
  padding: 1rem 4rem;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
}

.cta-section .detail-btn-box a:hover {
  opacity: 0.7;
}

/* ===== 詳しく見るボタン ===== */
.detail-btn-box {
  text-align: center;
}

.detail-btn-box a {
  display: inline-block;
  background: rgba(36, 66, 104, 0.05);
  border: 1px solid rgba(36, 66, 104, 0.4);
  color: rgba(36, 66, 104, 0.8);
  padding: 1rem 3.5rem;
  margin: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 8px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.detail-btn-box a:hover {
  background: #244268;
  color: #fff;
  border-color: #244268;
}

/* ===== フッター ===== */
.site-footer {
  position: relative;
  z-index: 100;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  padding: 40px 1rem;
  text-align: center;
}

.site-footer__policy {
  display: inline-block;
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin: 0 1rem 16px;
  transition: color 0.3s;
}

.site-footer__policy:hover {
  color: #1a1a1a;
}

.site-footer p {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
}

/*======星空===============================*/
/* 星空の背景のスタイル */
.stars {
  position: relative;
  width: 100%;
  background: #000000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(20, 61, 87, 1) 69%, rgba(22, 68, 94, 1) 100%);
  overflow: hidden;
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: twinkle 3s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/*見出し横 星マーク*/
.title-box {
  text-align: center;
}

.h-star {
  position: relative;
  padding-left: 36px;
  display: inline-block;
}

.h-star::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: url("../img/h-star.png") no-repeat center/contain;
}

/* ===== 共通アニメーション ===== */
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== 共通レスポンシブ ===== */
@media screen and (max-width: 768px) {
  .site-header__nav {
    gap: 1.2rem;
  }

  .site-header__nav a {
    font-size: 12px;
  }

  .cta-section {
    padding: 80px 0;
  }
}
