/* CSS カスタムプロパティ定義 */
:root {
  /* カラー */
  --color-primary-02: #f09c85;
  --color-primary-05: #e24115;
  --color-secondary-00: #fcf8f2;
  --color-secondary-03: #e6d3c5;
  --color-secondary-07: #917865;
  --color-gray-00: #ffffff;
  --color-gray-09: #242424;
  --color-gray-10: #161616;

  /* タイポグラフィ */
  --font-family: 'Noto Sans JP', sans-serif;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* フォントサイズ */
  --font-size-h1: 42px;
  --font-size-h1-title: 36px;
  --font-size-h1-blog-title: 28px;
  --font-size-h2: 24px;
  --font-size-h3: 20px;
  --font-size-h4: 18px;
  --font-size-h7: 12px;
  --font-size-p1: 16px;
  --font-size-countdown: 100px;

  /* ライン高 */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-loose: 2;

  /* スペーシング */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 64px;
  --spacing-3xl: 120px;

  /* ブレークポイント */
  --breakpoint-tablet: 641px;
  --breakpoint-desktop: 1024px;
  --breakpoint-desktop-large: 1280px;
  --breakpoint-ultra-wide: 1920px;
}

.is_sp {
  display: none;

  /* スマホ表示時に改行を有効化 */
  @media (max-width: 640px) {
    display: inline;
  }
}

/* リセットCSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-p1);
  line-height: var(--line-height-loose);
  color: var(--color-gray-09);
  background-color: var(--color-secondary-00);
  overflow-x: hidden;
  font-weight: var(--font-weight-medium);
}


/* ロゴ - Mobile First (390px) */
.hero-logo {
  max-width: 270px;
  margin: 204px auto 40px auto;
}

.main-logo {
  width: 100%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ヒーローセクション */
.hero-main-image {
  max-width: 1280px;
  display: block;
  margin: 0 auto;
}

.hero-main-image > img {
  width: 100%;
}

.main-logo.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* タイトル */
.hero-title {
  max-width: 340px;
  margin: 100px auto 0;
  padding-top: var(--spacing-xs);
  padding-bottom: var(--spacing-xs);
  border-top: solid 2px var(--color-primary-05);
  border-bottom: solid 2px var(--color-primary-05);
}

.main-content {
  margin-top: 16px;
}

.title-content {
  padding: var(--spacing-sm) 0;
  text-align: center;
  border-top: solid 2px var(--color-primary-05);
  border-bottom: solid 2px var(--color-primary-05);

}

.title-content .title-content__lead {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-black);
  color: var(--color-primary-05);
  line-height: var(--line-height-normal);
  margin-bottom: var(--spacing-xs);
}

.launch-date {
  font-weight: var(--font-weight-black);
  color: var(--color-primary-05);
  line-height: var(--line-height-normal);
}

.launch-date .year,
.launch-date .month,
.launch-date .action {
  font-size: var(--font-size-h1-title);
}

.launch-date .unit {
  font-size: var(--font-size-h1-blog-title);
}


/* ソーシャルセクション */
.social-section {
  padding: var(--spacing-3xl) var(--spacing-md) 0;
  text-align: center;
}

.social-section h3 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-normal);
  margin-bottom: var(--spacing-xl);
}

.social-links {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  list-style: none;
  max-width: 540px;
  margin: 0 auto;
}

.social-links > li {
  width: calc(100% - var(--spacing-lg) / 2);
}

.social-link {
  display: block;
  padding: var(--spacing-md);
  background-color: var(--color-gray-00);
  border-radius: 40px;
  line-height: 1;
  width: 100%;
}

.social-link:hover {
  transform: scale(1.05);
}

.social-icon {
  width: 32px;
  height: 32px;
}

/* イントロダクションセクション */
.introduction-section {
  padding: 0 var(--spacing-md) var(--spacing-3xl);
  max-width: 540px;
  margin: 120px auto 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.section-header h2 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
}

.section-divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-primary-05);
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: center;
}

.intro-image > img {
  width: 100%;
  aspect-ratio: 358 / 476;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.intro-text p {
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-loose);
}

.signature {
  font-weight: var(--font-weight-bold) !important;
}

/* フッター */
.footer {
  padding: var(--spacing-2xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-link {
  font-size: var(--font-size-p1);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-05);
  text-decoration: none;
  line-height: var(--line-height-loose);
  text-align: center;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.company-logo {
  width: 56px;
  height: 56px;
}

.copyright {
  font-size: var(--font-size-h7);
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-10);
  line-height: var(--line-height-normal);
  text-align: center;
}

/* フローティングページアップ */
.floating-pageup {
  position: fixed;
  bottom: 20px;
  right: 0;
  z-index: 1000;
}

.floating-pageup button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

.pageup-icon {
  width: 66px;
  height: auto;
}

.pageup-text {
  font-size: var(--font-size-h7);
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-09);
}

/* 640px viewport スタイル */
@media (min-width: 640px) {
  /* ロゴ */
  .hero-logo {
    margin-top: 160px;
  }

  .main-content {
    margin-top: 70px;
  }

  /* SNS見出しで改行 */
  .social-section h2 {
    line-height: 1.4;
  }

  /* イントロダクションセクション - max-width削除、画像を100%に */
  .introduction-section {
    max-width: none;
    padding: 0 var(--spacing-md);
  }

  .intro-image > img {
    width: 100%;
    aspect-ratio: 540 / 396;
  }
}

/* 641px viewport スタイル */
@media (min-width: 641px) {
  /* ロゴ */
  .hero-logo {
    margin-top: 167px;
  }

  .main-content {
    margin-top: 36px;
  }

  .introduction-section {
    max-width: 540px;
  }

  /* SNS見出しで改行＋ボタン上余白追加 */
  .social-section h2 {
    margin-bottom: calc(var(--spacing-xl) + 40px);
  }
}

/* 1280px以上のデスクトップスタイル */
@media (min-width: 1280px) {
  body {
    font-size: 18px;
  }

  /* ヒーローセクション - 横並びレイアウト */
  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
  }

  /* ロゴ - 346px幅*/
  .hero-logo {
    max-width: 346px;
    margin: 167px auto 0;
  }

  /* メインビジュアル画像を横幅いっぱいに */
  .hero-main-image {
    max-width: 100%;
  }

  .hero-title {
    max-width: 600px;
  }

  .title-content .title-content__lead {
    font-size: 32px;
  }

  .launch-date .year,
  .launch-date .month,
  .launch-date .action {
    font-size: 42px;
  }

  /* START セクション - 横並び配置 */
  .main-content {
    max-width: 1280px;
  }

  .hero-main-image {
    order: 2;
  }

  .start-content {
    order: 1;
    text-align: left;
  }

  /* ソーシャルセクション */
  .social-section {
    padding: var(--spacing-3xl) var(--spacing-lg) 0;
  }

  .social-section h3 {
    font-size: 32px;
  }

  .social-links {
    max-width: 400px;
  }
  .intro-image {
    flex: 0 0 400px;
  }

  .intro-text {
    flex: 1;
  }

  .section-header h2 {
    font-size: 48px;
  }
}

/* 1920px以上の超ワイドスクリーンスタイル */
@media (min-width: 1920px) {
  body {
    font-size: 20px;
  }

  /* ヒーローセクション - 超ワイド対応 */
  .hero-section {
    max-width: 1600px;
    padding: 0 var(--spacing-2xl);
  }

  .hero-title {
    max-width: 800px;
    margin-bottom: 120px;
  }

  .title-content .title-content__lead {
    font-size: 40px;
  }

  .launch-date .year,
  .launch-date .month,
  .launch-date .action {
    font-size: 52px;
  }

  /* START セクション - 大胆な横並び配置 */
  .main-content {
    grid-template-columns: 1.2fr 0.8fr;
    max-width: 1600px;
    gap: 120px;
    padding: 120px var(--spacing-2xl);
  }


  .countdown-days {
    font-size: 140px;
  }

  .countdown-unit {
    font-size: 32px;
  }

  /* ソーシャルセクション */
  .social-section {
    padding: 120px var(--spacing-2xl);
  }

  .social-section h2 {
    font-size: 40px;
  }

  .social-links {
    max-width: 600px;
    gap: 60px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  /* イントロダクションセクション */
  .introduction-section {
    padding: 0;
  }

  .intro-content {
    gap: 120px;
  }

  .intro-image {
    flex: 0 0 500px;
  }

  .section-header h2 {
    font-size: 56px;
  }

  .intro-text {
    font-size: 18px;
  }

  /* フッター */
  .footer {
    padding: var(--spacing-3xl) var(--spacing-2xl);
  }

  .footer-nav {
    gap: 60px;
  }

  .footer-link {
    font-size: 18px;
  }

  .company-logo {
    width: 72px;
    height: 72px;
  }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  .main-logo {
    transition: none;
  }

  .social-link {
    transition: none;
  }
}
