/*
 * front-page.css
 * Re-start株式会社 TOPページ（index.php）専用スタイル
 * 読み込み順：reset.css → style.css → header.css → footer.css → front-page.css
 */

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 72rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero_photo {
  position: absolute;
  inset: 0;
  background: url('../img/3566221_m.jpg') center / cover no-repeat;
  background-color: var(--color_navy);
  position: fixed;
  z-index: -2;
}

.hero_video{
  position: absolute;
  inset: 0;
  position: fixed;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 22, 40, 0.92) 45%, rgba(10, 22, 40, 0.6) 100%);
  position: fixed;
  z-index: -1;
  object-fit:cover;
}

.hero_grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 111, 181, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 111, 181, 0.06) 1px, transparent 1px);
  background-size: 6rem 6rem;
}

.hero_glow {
  position: absolute;
  width: 80rem;
  height: 80rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 111, 181, 0.18) 0%, transparent 70%);
  top: -20rem;
  right: -20rem;
  pointer-events: none;
}

.hero_content {
  position: relative;
  z-index: 2;
  padding: 0 8rem;
  padding-top: 7.2rem;
  max-width: 128rem;
  margin: 0 auto;
  width: 100%;
}

.hero_label {
  font-family: var(--Outfit);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color_blue_bright);
  /* text-transform: uppercase; */
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero_label::before {
  content: '';
  display: block;
  width: 3.2rem;
  height: 0.1rem;
  background: var(--color_blue_bright);
}

.hero_title {
  font-size: clamp(4.8rem, 6vw, 8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 3.2rem;
  height: 3.3em;
}

.hero_title .accent_green {
  color: #009841;
}

.hero_desc {
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52rem;
  margin-bottom: 4.8rem;
}

.hero_actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.hero_stats {
  position: absolute;
  right: 8rem;
  bottom: 8rem;
  display: flex;
  gap: 4.8rem;
  z-index: 2;
}

.stat_item {
  text-align: right;
}

.stat_num {
  font-family: var(--Outfit);
  font-size: 7.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat_num span {
  font-size: 5rem;
  color: var(--color_blue_bright);
}

.stat_label {
  font-size: 1.6rem;
  color: var(--color_off_white);
  letter-spacing: 0.1em;
  margin-top: 0.6rem;
  font-weight: bold;
  font-family: var(--NotoSans);
}

.hero_scroll {
  position: absolute;
  bottom: 4rem;
  left: 8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.scroll_line {
  width: 4rem;
  height: 0.1rem;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll_line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color_blue_bright);
  animation: scroll_line_anim 2s ease-in-out infinite;
}

@keyframes scroll_line_anim {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.scroll_text {
  font-family: var(--Outfit);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* ─────────────────────────────────────
   MISSION
───────────────────────────────────── */
.mission {
  background: var(--color_off_white);
  padding: 12rem 8rem;
  /* background: rgb(244 247 251 / 90%); */
}

.mission_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.mission_visual {
  position: relative;
  padding-bottom: 4.8rem;
}

.mission_photo {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  border-radius: 1.2rem;
  display: block;
}

.mission_card_float {
  position: absolute;
  bottom: 0;
  right: -2.4rem;
  background: var(--color_navy);
  border-radius: 1rem;
  padding: 2.4rem 2.8rem;
  color: #fff;
  max-width: 26rem;
}

.mission_card_float .mission_card_label {
  font-family: var(--Outfit);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color_blue_bright);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.mission_card_float p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.65;
}

.mission_card_float .hl {
  color: #009841;
}

.mission_body {
  padding-left: 1.2rem;
}

.mission_points {
  list-style: none;
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mission_points li {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--color_text_sub);
}

.point_dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color_blue);
  margin-top: 0.9rem;
  flex-shrink: 0;
}

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.services {
  /* background: var(--color_off_white); */
  padding: 12rem 8rem;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 6.4rem;
}

.service_card {
  background: var(--color_white);
  border: 1px solid var(--color_gray_light);
  border-radius: 1.2rem;
  padding: 4rem 3.6rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.service_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.3rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service_card:hover {
  box-shadow: 0 1.6rem 4.8rem rgba(10, 22, 40, 0.08);
  transform: translateY(-0.4rem);
}

.service_card:hover::before {
  transform: scaleX(1);
}

.card_blue::before  { background: var(--color_blue); }
.card_green::before { background: var(--color_green); }
.card_red::before   { background: var(--color_red); }

.card_blue:hover  { border-color: rgba(30, 111, 181, 0.3); }
.card_green:hover { border-color: rgba(0, 152, 65, 0.3); }
.card_red:hover   { border-color: rgba(194, 39, 53, 0.3); }

.service_photo {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.8rem;
  display: block;
  margin-bottom: 2.4rem;
}

.service_num {
  font-family: var(--Outfit);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.num_blue  { color: var(--color_blue); }
.num_green { color: var(--color_green); }
.num_red   { color: var(--color_red); }

.service_title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color_navy);
  margin-bottom: 1.4rem;
  line-height: 1.3;
}

.service_desc {
  font-size: 1.4rem;
  line-height: 1.85;
  color: var(--color_text_sub);
}

.service_link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}

.service_link:hover { gap: 1rem; }

.link_blue  { color: var(--color_blue); }
.link_green { color: var(--color_green); }
.link_red   { color: var(--color_red); }

/* ─────────────────────────────────────
   FLOW（Re-startの仕組み）
───────────────────────────────────── */
.flow {
  /* background: var(--color_navy); */
  padding: 12rem 8rem;
}

.flow_inner {
  max-width: 110rem;
  margin: 0 auto;
}

.flow .section_label {
  color: var(--color_blue_bright);
}

.flow .section_label::before {
  background: var(--color_blue_bright);
}

.flow .section_title { color: #fff; }

.flow .section_desc {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 7.2rem;
}

.flow_diagram {
  display: flex;
  align-items: stretch;
  position: relative;
}

.flow_step {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 4rem 3.2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.flow_step:hover {
  border-color: rgba(45, 142, 240, 0.35);
}

.flow_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  flex-shrink: 0;
  color: var(--color_blue_bright);
  font-size: 2.2rem;
}

.flow_icon_wrap {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin-left: auto;
  margin-right: auto;
}

.icon_green  { background: rgba(0, 152, 65, 0.15); }
.icon_blue   { background: rgba(30, 111, 181, 0.18); }
.icon_purple { background: rgba(138, 100, 200, 0.18); }

.flow_step_sub {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.sub_green  { color: #009841; }
.sub_blue   { color: var(--color_blue_bright); }
.sub_purple { color: #c4a8f0; }

.flow_step_title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}

.flow_step_desc {
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}

.flow_step_tag {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border-radius: 2rem;
  letter-spacing: 0.06em;
}

.tag_green  { background: rgba(0, 152, 65, 0.18);    color: #009841; }
.tag_blue   { background: rgba(45, 142, 240, 0.18);  color: #7ec8fd; }
.tag_purple { background: rgba(138, 100, 200, 0.18); color: #c4a8f0; }

/* ─────────────────────────────────────
   WORKS（制作事例）
───────────────────────────────────── */
.works {
  /* background: var(--color_white); */
  padding: 12rem 8rem;
}

.works_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5.6rem;
}

.works_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}

.work_card {
  background: var(--color_off_white);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.work_card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 4.8rem rgba(10, 22, 40, 0.1);
}

.work_photo {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.work_info {
  padding: 2.8rem 3.2rem;
}

.work_tags {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.work_tag {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color_blue);
  background: rgba(30, 111, 181, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
}

.work_title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color_navy);
  margin-bottom: 0.6rem;
}

.work_client {
  font-size: 1.3rem;
  color: var(--color_gray_text);
}

/* ─────────────────────────────────────
   PARTNER（提携企業一覧）
───────────────────────────────────── */
.partner {
  background: var(--color_off_white);
  padding: 10rem 8rem;
  /* background: rgb(244 247 251 / 90%); */
}

.partner_header {
  margin-bottom: 5.6rem;
}

.partner_logo_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.partner_logo_box {
  background: var(--color_white);
  border: 1px solid var(--color_gray_light);
  border-radius: 0.8rem;
  padding: 2.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  min-height: 9rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-width: 0;
}

.partner_logo_box:hover {
  border-color: rgba(30, 111, 181, 0.3);
  box-shadow: 0 0.4rem 1.6rem rgba(10, 22, 40, 0.06);
  transform: translateY(-0.2rem);
}

.partner_logo{
  aspect-ratio: 1.2;
  object-fit: contain;
  /* padding-bottom: 1rem; */
}

.partner_logo_placeholder{
  aspect-ratio: 1.2;
  display: flex;
  align-items: center;
  /* height: 100%; */
  width: 100%;
  justify-content: center;
  background-color: rgba(30, 111, 181, 0.03);
}

.plb_name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color_navy);
}

.plb_area {
  font-size: 1.1rem;
  color: var(--color_gray_text);
  letter-spacing: 0.06em;
  display: block;
}

.plb_more {
  background: rgba(30, 111, 181, 0.03);
  border-style: dashed;
}

.plb_more .plb_name {
  color: var(--color_blue);
}

.partner_footer {
  text-align: center;
  margin-top: 4rem;
}

/* ─────────────────────────────────────
   SEMINAR（セミナー・説明会）
───────────────────────────────────── */
.seminar {
  background: var(--color_white);
  padding: 12rem 8rem;
}

.seminar_grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 5.6rem;
}

.seminar_card {
  display: grid;
  grid-template-columns: 12rem 1fr auto;
  align-items: center;
  gap: 4.8rem;
  padding: 3.6rem 4.8rem;
  background: var(--color_off_white);
  border: 1px solid var(--color_gray_light);
  border-radius: 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.seminar_card:hover {
  border-color: rgba(30, 111, 181, 0.25);
  box-shadow: 0 0.8rem 3.2rem rgba(10, 22, 40, 0.07);
}

.seminar_date_block {
  text-align: center;
  background: var(--color_navy);
  border-radius: 0.8rem;
  padding: 1.4rem;
  position: relative;
  height: 100%;
  aspect-ratio: 1;
}

.seminar_month {
  display: block;
  font-family: var(--Outfit);
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color_blue_bright);
  position: absolute;
  text-align: right;
  width: 1em;
  line-height: 1;
  top: 2rem;
}

.seminar_divider{
  color: #fff;
  position: absolute;
  /* font-size: 3rem; */
  top: 48%;
  left: 46%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 4rem;
  height: 0.2rem;
  background: #fff;
}

.seminar_day {
  display: block;
  font-family: var(--Outfit);
  font-size: 4.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-align: right;
  position: absolute;
  right: 1.7rem;
  bottom: 1.4rem;
  width: 1.1em;
  text-align: center;
}

.seminar_tag {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 0.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tag_online { background: rgba(30, 111, 181, 0.1); color: var(--color_blue); }
.tag_onsite { background: rgba(0, 152, 65, 0.1);   color: var(--color_green); }

.seminar_title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color_navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.seminar_meta {
  font-size: 1.4rem;
  color: var(--color_blue);
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.seminar_desc {
  font-size: 1.4rem;
  line-height: 1.75;
  color: var(--color_text_sub);
}

.seminar_btn {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  background: var(--color_blue);
  padding: 1.2rem 2.8rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
  display: inline-block;
}

.seminar_btn:hover {
  background: var(--color_blue_bright);
}

/* ─────────────────────────────────────
   NEWS（お知らせ / コラム）
───────────────────────────────────── */
.news {
  /* background: var(--color_off_white); */
  padding: 12rem 8rem;
}

.news_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.8rem;
}

.news_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.news_item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
  background: var(--color_white);
  border-radius: 0.8rem;
  overflow: hidden;
}

.news_item:hover {
  opacity: 0.75;
}

.news_photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  height: auto;
}

.news_body {
  padding: 1.6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.news_date {
  font-size: 1.2rem;
  color: var(--color_gray_text);
}

.news_badge {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color_blue);
  background: rgba(30, 111, 181, 0.08);
  padding: 0.3rem 1rem;
  border-radius: 0.3rem;
  width: fit-content;
}

.news_title {
  font-size: 1.5rem;
  line-height: 1.65;
  color: var(--color_text);
  flex: 1;
}

/* ─────────────────────────────────────
   CTA
───────────────────────────────────── */
.cta {
  background: var(--color_navy);
  padding: 12rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta_bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 111, 181, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 111, 181, 0.06) 1px, transparent 1px);
  background-size: 6rem 6rem;
}

.cta_photo_bg {
  position: absolute;
  inset: 0;
  background: url('../img/960540463.jpeg') center / cover no-repeat;
  opacity: 0.08;
}

.cta_content {
  position: relative;
  z-index: 2;
}

.cta_label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color_blue_bright);
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}

.cta_title {
  font-size: clamp(2.8rem, 4vw, 5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.cta_desc {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 48rem;
  margin: 0 auto 4.8rem;
}

.cta_actions {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────
   RESPONSIVE（スマホ：699.98px以下）
───────────────────────────────────── */
@media screen and (max-width: 699.98px) {

  /* HERO */
  .hero {
    padding-bottom: 8rem;
    height: 100svh;
  }

  .hero_photo{
    background-position: 75%;
  }

  .hero_video{
    height: 100%;
  }

  .hero_content {
    padding: 6rem 2.4rem 0;
  }

  .hero_label {
    font-size: 1.3rem;
    margin-bottom: 1.6rem;
  }

  .hero_label::before{
    
  }

  .hero_title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .hero_desc {
    font-size: 1.4rem;
    margin-bottom: 3.2rem;
  }

  .hero_actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .hero_scroll {
    left: 2.4rem;
    bottom: 2.4rem;
  }

  .stat_num {
    font-size: 4.2rem;
  }
  
  .stat_num span {
    font-size: 3rem;
  }
  
  .stat_label {
    font-size: 1.4rem;
  }

  .hero_stats{
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: max-content;
  }

  /* MISSION */
  .mission {
    padding: 7.2rem 2.4rem;
  }

  .mission_grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .mission_visual {
    padding-bottom: 8rem;
  }

  .mission_photo {
    height: 28rem;
  }

  .mission_card_float {
    right: 0;
    bottom: 0;
    max-width: 100%;
  }

  .mission_body {
    padding-left: 0;
  }

  /* SERVICES */
  .services {
    padding: 7.2rem 2.4rem;
  }

  .services_grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    margin-top: 4rem;
  }

  .service_card {
    padding: 2.8rem 2.4rem;
  }

  /* FLOW */
  .flow {
    padding: 7.2rem 2.4rem;
  }

  .flow_diagram {
    flex-direction: column;
    gap: 1.2rem;
  }

  .flow_arrow {
    width: auto;
    height: 4rem;
    transform: rotate(90deg);
  }

  .flow .section_desc {
    margin-bottom: 4rem;
  }

  /* WORKS */
  .works {
    padding: 7.2rem 2.4rem;
  }

  .works_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    margin-bottom: 3.2rem;
  }

  .works_grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .work_photo {
    height: 20rem;
  }

  /* PARTNER */
  .partner {
    padding: 7.2rem 2.4rem;
  }

  .partner_logo_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* SEMINAR */
  .seminar {
    padding: 7.2rem 2.4rem;
  }

  .seminar_card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.4rem;
  }

  .seminar_date_block {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: fit-content;
    padding: 1rem;
    width: 7rem;
  }

  .seminar_month{
    /* position: static; */
    top: 1rem;
    left: 1rem;
    font-size: 2.4rem;
  }

  .seminar_day {
    font-size: 2.4rem;
    right: 1rem;
    bottom: 1rem;
  }

  .seminar_title {
    font-size: 1.6rem;
  }

  .seminar_btn {
    width: 100%;
    text-align: center;
  }

  /* NEWS */
  .news {
    padding: 7.2rem 2.4rem;
  }

  .news_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
  }

  .news_list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .news_title {
    font-size: 1.4rem;
  }

  /* CTA */
  .cta {
    padding: 7.2rem 2.4rem;
  }

  .cta_title {
    font-size: 2.8rem;
  }

  .cta_desc {
    font-size: 1.4rem;
  }

  .cta_actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════
   LOADING SCREEN
═══════════════════════════════════════════ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
}

.loading_logo {
  width: 20rem;
  opacity: 0;
}

.loading_bar_wrap {
  width: 20rem;
  height: 0.1rem;
  background: var(--color_gray_light);
  overflow: hidden;
}

.loading_bar {
  height: 100%;
  width: 0;
  background: var(--color_navy);
  transition: width .05s linear;
}

.loading_pct {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .2em;
  color: var(--color_gray_text);
}

.loading_skip {
  position: absolute;
  bottom: 3.2rem;
  right: 3.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: var(--color_gray_text);
  cursor: pointer;
  transition: color .2s;
}

.loading_skip:hover { color: var(--color_navy); }

/* ═══════════════════════════════════════════
   SERVICES ピン止めレイアウト
═══════════════════════════════════════════ */
.services_pin_wrap {
  background: var(--color_off_white);
  border-top: 1px solid var(--color_gray_light);
  border-bottom: 1px solid var(--color_gray_light);
}

.services_pin_inner {
  position: relative;
  height: 100vh;
  min-height: 72rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 100%;
}

/* 左：テキストパネル（3枚重ねて切り替え） */
.svc_panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  padding: 10rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  z-index: 2;
  background: var(--color_off_white);
}

.svc_panel.is_active {
  opacity: 1;
  pointer-events: auto;
}

.svc_panel_content {
  max-width: 50rem;
}

.svc_panel_content .section_label {
  font-size: 1rem;
  margin-bottom: 2.4rem;
}

.svc_panel_num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--color_blue_bright);
  margin-bottom: 1.2rem;
}

.svc_panel_label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color_blue);
  margin-bottom: 1.2rem;
}

.svc_panel_title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 3.5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--color_navy);
  margin-bottom: 2rem;
}

.svc_panel_desc {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color_text_sub);
  margin-bottom: 3.2rem;
}

.svc_panel_link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--color_blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(30,111,181,.3);
  padding-bottom: .4rem;
  transition: gap .2s, border-color .2s;
  width: fit-content;
}

.svc_panel_link:hover {
  gap: 1rem;
  border-color: var(--color_blue);
}

/* 右：画像パネル */
.services_right {
  grid-column: 2;
  position: relative;
  overflow: hidden;
}

.svc_img_panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: scale(1.04);
}

.svc_img_panel.is_active {
  opacity: 1;
  transform: scale(1);
}

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

/* インジケーター */
.svc_indicators {
  position: absolute;
  bottom: 3.2rem;
  left: 3.2rem;
  z-index: 3;
  display: flex;
  gap: 1rem;
}

.svc_dot {
  width: 3.6rem;
  height: .15rem;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .3s, width .3s;
}

.svc_dot.is_active {
  background: #fff;
  width: 5.6rem;
}

.svc_progress_text {
  position: absolute;
  bottom: 3.2rem;
  right: 3.2rem;
  z-index: 3;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
}

/* ═══════════════════════════════════════════
   FLOW タイムライン（スクロール連動ライン）
═══════════════════════════════════════════ */
.flow_diagram {
  position: relative;
}

/* ドットラッパー（ラインの上に配置） */
.flow_dot_wrap {
  position: absolute;
  top: -3.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.flow_dot {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 0.15rem solid rgba(255,255,255,.2);
  background: var(--color_navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.flow_dot.active {
  border-color: #009841;
  background: rgba(74,222,128,.12);
  box-shadow: 0 0 1.6rem rgba(74,222,128,.4);
}

.flow_dot_inner {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: background .3s;
}

.flow_dot.active .flow_dot_inner {
  background: #009841;
}

/* プログレスライン（横に伸びていく） */
.flow_progress_line {
  position: absolute;
  top: -1.6rem; /* ドットの中心に合わせる */
  left: 0;
  height: .15rem;
  width: 0;
  background: #009841;
  box-shadow: 0 0 1rem rgba(74,222,128,.6);
  z-index: 1;
  pointer-events: none;
}

/* flow_stepをrelativeに（ドットの基準点） */
.flow_step {
  position: relative;
  /* padding-top: 2.4rem; */ /* ドット分の余白 */
}

/* ═══════════════════════════════════════════
   SP対応
═══════════════════════════════════════════ */
@media screen and (max-width: 699.98px) {
  /* ローディング */
  .loading_logo { width: 16rem; }

  /* サービスピン止め → 通常フロー */
  .services_pin_inner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .svc_panel {
    /* position: static; */
    width: 100%;
    /* opacity: 1; */
    pointer-events: auto;
    padding: 5rem 2.4rem;
    height: auto;
  }

  .services_left .svc_panel:first-child{
    position: relative;
  }

  .services_left{
    position: relative;
  }

  .services_right {
    grid-column: 1;
    height: 36rem;
  }

  .svc_indicators,
  .svc_progress_text {
    display: none;
  }

  /* FLOWドット非表示（SPでは横並び不可） */
  .flow_dot_wrap { display: none; }
  .flow_progress_line { display: none; }
  .flow_step {/* padding-top: 0; */}
}
