/*
Theme Name: RESTART202605
*/

/* ─────────────────────────────────────
   カラー変数
───────────────────────────────────── */
:root {
  --color_navy:        #0a1628;
  --color_navy_mid:    #112240;
  --color_navy_light:  #1a3460;
  --color_blue:        #1e6fb5;
  --color_blue_bright: #2d8ef0;
  --color_red:         #c22735;
  --color_green:       #009841;
  --color_white:       #ffffff;
  --color_off_white:   #f4f7fb;
  --color_gray_light:  #e8edf5;
  --color_gray_text:   #8a9ab5;
  --color_text:        #0a1628;
  --color_text_sub:    #3d5070;
}

/* ─────────────────────────────────────
   使用フォント
───────────────────────────────────── */
:root {
  --NotoSans:  "Noto Sans JP", sans-serif;
  --NotoSerif: "Noto Serif JP", sans-serif;
  --Outfit:    "Outfit", sans-serif;
}

/* ─────────────────────────────────────
   ベース
───────────────────────────────────── */
html {
  font-size: min(calc(10 / 1280 * 100vw), 10px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--NotoSans);
  color: var(--color_text);
  background: var(--color_white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/* ─────────────────────────────────────
   フェードアニメーション
───────────────────────────────────── */
.fade_in {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_up {
  transform: translateY(2rem);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0, 0.42, 0.58, 1);
}

.fade_in.show {
  opacity: 1;
}

.fade_up.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─────────────────────────────────────
   共通セクション
───────────────────────────────────── */
.section_inner {
  max-width: 120rem;
  margin: 0 auto;
}

.section_label {
  font-family: var(--Outfit);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color_blue);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.section_label::before {
  content: '';
  display: block;
  width: 2.4rem;
  height: 0.1rem;
  background: var(--color_blue);
}

.section_title {
  font-size: clamp(2.8rem, 3.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color_navy);
  margin-bottom: 1.6rem;
}

.section_desc {
  font-size: 1.6rem;
  line-height: 1.85;
  color: var(--color_text_sub);
  max-width: 60rem;
}

.more_link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color_blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.more_link:hover {
  opacity: 0.7;
}

/* ─────────────────────────────────────
   共通ボタン
───────────────────────────────────── */
.btn_primary {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--color_blue);
  padding: 1.4rem 3.6rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn_primary:hover {
  background: var(--color_blue_bright);
  transform: translateY(-0.1rem);
}

.btn_outline {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.4rem 3.6rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn_outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ─────────────────────────────────────
   RESPONSIVE（スマホ：699.98px以下）
───────────────────────────────────── */
@media screen and (max-width: 699.98px) {
  html {
    font-size: calc(10 / 375 * 100vw);
  }

  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  /* 共通セクション */
  .section_inner {
    padding: 0;
  }

  .section_title {
    font-size: 2.8rem;
  }

  .section_desc {
    font-size: 1.4rem;
  }

  /* 共通ボタン */
  .btn_primary,
  .btn_outline {
    width: 100%;
    text-align: center;
    padding: 1.4rem 2rem;
  }
}
