/* ==================================
   Base
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family:
    "Noto Sans JP",
    sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

@import url('https://fonts.cdnfonts.com/css/ds-digital');

/* ==================================
   Layout
================================== */
.l-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

/* ==================================
   ヘッダー
================================== */

.header {
  background: #2163c1;
}

.header__inner {
  max-width: 750px;
  height: 60px;
  margin: 0 auto;
  padding: 10px 20px;
}

.header__logo {
  display: block;
  width: 180px;
}

.header__logo img {
  display: block;
  width: 100%;
  height: auto;
}



@media screen and (max-width: 750px) {

  .header {
    height: 50px;
  }

  .header__inner {
    padding: 8px 12px;
  }

  .header__logo {
    width: 150px;
  }

    .header-alert {
    padding: 6px 8px;
    font-size: 14px;
  }

}

/* ==================================
   FV
================================== */

.fv {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.fv__image img {
  width: 100%;
  display: block;
}

.fv-alert {
  max-width: 750px;
  margin: 0 auto;
  padding: 8px 12px;

  text-align: center;

  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;

  background:
    repeating-linear-gradient(
      -45deg,
      #e60012 0,
      #e60012 10px,
      #ff3b3b 10px,
      #ff3b3b 20px
    );
}

@media screen and (max-width: 750px) {

  .fv-alert {
    padding: 6px 8px;
    font-size: 15px;
  }

}

.fv__cta {
  position: relative;
  margin-top: -50px; /* ←画像に食い込ませる */
  z-index: 10;
  padding: 0 16px 16px;
}

.fv__check {
  width: calc(100% - 32px);
  max-width: 690px;
  margin: 24px auto 0;
}

.fv__check img {
  display: block;
  width: 100%;
  height: auto;
}

.fv__complete img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==================================
   CTAボタン装飾
================================== */

.cta-btn {
  width: calc(100% - 32px);
  max-width: 690px;

  margin: -85px auto 24px;

  padding: 20px 24px;

  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;

  background: linear-gradient(180deg, #2ed85a 0%, #00a83b 100%);
  border-radius: 18px;

  box-shadow: 0 8px 0 #007d2c,
              0 12px 20px rgba(0,0,0,.18);

  text-decoration: none;
  color: #fff;

  overflow: hidden;

  position: relative;
  z-index: 10;
}

.cta-left {
  position: relative;
  width: 100px;
  height: 95px;
}

.cta-line {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #fff;
  color: #06c755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  z-index: 10;
}

.cta-line::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

/* 30秒バッジ */

.cta-badge {
  position: absolute;
  left: 18px;
  top: 42px;
  width: 120px;
  padding: 12px 4px;
  background: #fff45c;
  color: #009a36;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  z-index: 5;
}

.cta-badge strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}


.cta-main {
  min-width: 0;
}

.cta-result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cta-result > span {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.slot {
  background: #111;
  padding: 4px 12px;
  border-radius: 7px;
}

.slot span {
  display: block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
}

.cta-result strong {
  font-size: 34px;
  font-weight: 900;
  white-space: nowrap;
}

.cta-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}

.arrow {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #fff;
  color: #00a83b;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;

  padding-bottom: 4px; /* ←追加 */
}

/* ==================================
   750px以下調整
================================== */

@media screen and (max-width: 750px) {
  .cta-btn {
    width: calc(100% - 24px);
    margin: -50px auto 20px; /* ←追加 */
    padding: 14px 20px 14px 12px;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    border-radius: 14px;
    overflow: visible;
    position: relative;
    z-index: 10;
  }

  .cta-left {
    position: relative;
    width: 92px;
    height: 88px;
  }

  .cta-line {
    top: -5px; 
    left: 15px;
    width: 45px;
    height: 45px;
    font-size: 15px;
    z-index: 10;
  }

  .cta-line::after {
    left: 22px;
    bottom: -4px;
    width: 10px;
    height: 10px;
  }

  .cta-badge {
    left: 10px;
    top: 40px;
    width: 86px;
    padding: 6px 4px;
    border-radius: 10px;
    font-size: 10px;
    z-index: 5;
  }

  .cta-badge strong {
    font-size: 27px;
  }

  .cta-result {
    gap: 5px;
    margin-bottom: 4px;
  }

  .cta-result > span {
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .slot {
    padding: 3px 7px;
  }

  .slot span {
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: 1px;
  }

  .cta-result strong {
    font-size: clamp(16px, 4.8vw, 24px);
  }

  .cta-text {
    gap: 6px;
    font-size: clamp(24px, 6.6vw, 34px);
  }

  .arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
    padding-bottom: 4px;
  }
}


/* ==================================
   受給事例 見出し
================================== */

.case-heading {
  max-width: 750px;
  margin: 48px auto 24px;
  padding: 0 16px;
  text-align: center;
}

.case-heading__label {
  display: inline-block;
  position: relative;
  margin-bottom: 18px;
  padding: 6px 34px;
  background: #ff8700;
  color: #fff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.case-heading__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 11px 9px 0 9px;
  border-color: #ff8700 transparent transparent transparent;
}

.case-heading__title {
  color: #ff8700;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.35;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 750px) {
  .case-heading {
    margin: 36px auto 20px;
  }

  .case-heading__label {
    padding: 6px 26px;
    font-size: 14px;
  }

  .case-heading__title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .sp-only {
    display: block;
  }
}

/* ==================================
   事例訴求 スライダーセクション（枠内を動く仕様）
================================== */

.case {
  width: 100%;
  padding: 10px 0 40px;
}

/* 750pxのコンテナの内側だけで画像をクリップ（マスク）する */
.case-slider {
  width: 100%;
  overflow: hidden; /* ★ここで枠外にはみ出た画像を見えなくします */
  padding: 0 16px;  /* 左右に少し余白を作って全体の余白感と合わせます */
}

.case-slider__track {
  display: flex;
  animation: loop-scroll 30s linear infinite;
  width: max-content;
}

.case-slider__item {
  /* 枠の中に綺麗に収まるよう、PC時は1枚約340px（左右余白含む）で調整 */
  width: 340px;
  padding: 0 10px;
  flex-shrink: 0;
}

.case-slider__item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* タップ・ホールド、マウスホバーで一時停止 */
.case-slider__track:hover {
  animation-play-state: paused;
}

/* スマホ用のサイズ調整 */
@media screen and (max-width: 750px) {
  .case {
    padding: 5px 0 30px;
  }
  .case-slider {
    padding: 0 12px; /* スマホ時のコンテナ余白に合わせる */
  }
  .case-slider__item {
    /* スマホ画面（375px等）の枠内にちょうど1枚＋次のチラ見えが収まるサイズ */
    width: 280px;
    padding: 0 6px;
  }
}

/* ==================================
   無限ループ用アニメーション設定
================================== */
@keyframes loop-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ==================================
   CTAボタン
================================== */

.cta-link{
  display:block;
  text-decoration:none;
}

.fv .cta-wrap{
  margin:-128px auto 24px;
}

@media screen and (max-width:750px){

  .fv .cta-wrap{
    margin:-65px auto 20px;
  }

}

.cta-wrap{
  position:relative;
  width:calc(100% - 32px);
  max-width:690px;
  margin:0 auto 24px;
  z-index:10;
}



.cta-img{
  width:100%;
  display:block;
}

/* 数字全体 */
.slot-number{
  position:absolute;
  top: 33.5%;
  left: 30.5%;
  display:flex;
  gap:5px;
  z-index:10;
  transform:skewX(-8deg);
}

/* 各桁 */
.slot{
  width:62px;
  height:92px;
  overflow:hidden;

  background:transparent !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* リール */
.reel{
  display:flex;
  flex-direction:column;
  transition:transform .05s linear;
}

/* 数字 */
.reel div{
  width:62px;
  height:92px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-family: 'DSEG7-Classic', sans-serif;

  font-size:75px;
  font-weight:bold;
  line-height:1;

  color:#fff;

  letter-spacing:-6px;

  background:transparent;
  text-shadow:none;
}

@media screen and (max-width:750px){

  .slot-number{
    top: 31%;
    left: 30%;
    gap: 0px;
  }

  .slot{
    width:36px;
    height:58px;
  }

  .reel div{
    width:40px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-family: 'DSEG7-Classic', sans-serif;

    font-size:40px;
    font-weight:normal;
    line-height:1;

    color:#fff;

    letter-spacing:-4px;

    background:transparent;
    text-shadow:none;
  }

}

/* ==================================
   受給までの流れ
================================== */

.flow {
  max-width: 750px;
  margin: 0 auto;
  padding: 56px 24px;
  background: #fff;
}

.flow__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 34px;
  color: #2163c1;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.flow__title span {
  width: 120px;
  height: 2px;
  background: #2163c1;
}

.flow__list {
  display: flex;
  flex-direction: column;
}

.flow__item {
  display: grid;
  grid-template-columns: 72px 1fr 160px;
  align-items: center;
  gap: 18px;

  padding: 22px 24px;

  background: #fff;
  border: 2px solid #e7eef8;
  border-radius: 22px;
}

.flow__num {
  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #2163c1;
  color: #fff;

  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.flow__body h3 {
  margin-bottom: 8px;
  color: #2163c1;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}

.flow__body p {
  color: #001b4d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.flow__icon {
  min-height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f4f8ff;
  border-radius: 18px;
}

.flow__icon img {
  width: 120px;
  height: auto;
  display: block;
}

.flow__arrow {
  color: #2163c1;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  margin: 4px 0;
}

/* SP */
@media screen and (max-width: 750px) {
  .flow {
    padding: 40px 12px;
  }

  .flow__title {
    gap: 12px;
    margin-bottom: 24px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .flow__title span {
    width: 70px;
  }

  .flow__item {
    grid-template-columns: 46px 1fr 92px;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 16px;
  }

  .flow__num {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .flow__body h3 {
    margin-bottom: 5px;
    font-size: clamp(19px, 5.4vw, 25px);
  }

  .flow__body p {
    font-size: clamp(12px, 3.4vw, 15px);
    line-height: 1.65;
  }

  .flow__icon {
    min-height: 82px;
    border-radius: 14px;
  }

  .flow__icon img {
    width: 72px;
  }

  .flow__arrow {
    font-size: 26px;
    margin: 2px 0;
  }
}


/* ==================================
   FAQ
================================== */

.faq {
  max-width: 750px;
  margin: 0 auto;
  padding: 56px 20px;
  background: #f4f8ff;
}

.faq__title {
  margin-bottom: 30px;
  color: #2163c1;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 2px solid #dbe8fa;
  border-radius: 16px;
  overflow: hidden;
}

.faq__item summary {
  position: relative;
  padding: 20px 54px 20px 58px;
  color: #001b4d;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2163c1;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #2163c1;
  font-size: 30px;
  font-weight: 900;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 24px 22px 58px;
}

.faq__answer p {
  color: #333;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

@media screen and (max-width: 750px) {
  .faq {
    padding: 40px 12px;
  }

  .faq__title {
    font-size: 30px;
  }

  .faq__item summary {
    padding: 16px 44px 16px 50px;
    font-size: 16px;
  }

  .faq__item summary::before {
    left: 14px;
    top: 15px;
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  .faq__item summary::after {
    right: 16px;
    font-size: 26px;
  }

  .faq__answer {
    padding: 0 16px 18px 50px;
  }

  .faq__answer p {
    font-size: 14px;
  }
}

/* ==================================
   Footer
================================== */

.site-footer{
  background:#2163c1;
  padding:24px 20px;
}

.footer-inner{
  max-width:750px;
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.footer-logo{
  display:block;
  flex-shrink:0;
}

.footer-logo img{
  display:block;
  width:220px;
  height:auto;
}

.footer-nav ul{
  display:flex;
  align-items:center;
  gap:24px;

  margin:0;
  padding:0;
  list-style:none;
}

.footer-nav a{
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:opacity .2s;
}

.footer-nav a:hover{
  opacity:.8;
}

/* SP */
@media screen and (max-width:750px){

  .site-footer{
    padding:20px 12px;
  }

  .footer-inner{
    flex-direction:column;
    gap:16px;
    text-align:center;
  }

  .footer-logo img{
    width:180px;
  }

  .footer-nav ul{
    flex-direction:column;
    gap:12px;
  }

  .footer-nav a{
    font-size:13px;
  }

}

/* ==================================
   追尾CTA
================================== */

.fixed-cta{
  position:fixed;
  left:0;
  bottom:0;
  width:100%;

  z-index:9999;

  padding:0;

  background:none;
  box-shadow:none;

  pointer-events:none;

  /* 追加 */
  opacity:0;
  visibility:hidden;
  transform:translateY(100%);
  transition:all .3s ease;
}

/* 追加 */
.fixed-cta.is-show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.cta-wrap--fixed{
  width:65%;
  max-width:450px;

  margin:0 auto;

  pointer-events:auto;
}

/* 数字位置 */
.cta-wrap--fixed .slot-number{
  top:37.5%;
  left:32.5%;
  gap:3px;
}

/* 数字枠 */
.cta-wrap--fixed .slot{
  width:44px;
  height:38px;
}

/* 数字 */
.cta-wrap--fixed .reel div{
  width:24px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-family:'DSEG7Classic-Bold';

  font-size:42px;
  font-weight:normal;
  line-height:1;

  color:#fff;

  letter-spacing:-4px;

  background:transparent;
  text-shadow:none;
}

/* CTAが隠れない最低限の余白 */
body{
  padding-bottom:58px;
}

/* SP */
@media screen and (max-width:750px){

  .cta-wrap--fixed{
    width:90%;
    max-width:none;
  }

  .cta-wrap--fixed .slot-number{
    top:36%;
    left:32%;
    gap:1px;
  }

  .cta-wrap--fixed .slot{
    width:35px;
    height:34px;
  }

  .cta-wrap--fixed .reel div{
    width:22px;
    height:34px;

    font-size:36px;
    letter-spacing:-4px;
  }

  body{
    padding-bottom:52px;
  }

}


/* ==================================
   追加画像コンテンツ 幅調整
================================== */

/* 月収別受給額目安・再就職サポート広告 */
.benefit-estimate-image,
.case__reemployment-ad {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* 画像をコンテナ幅に合わせる */
.benefit-estimate-image img,
.case__reemployment-ad img {
  display: block;
  width: 100%;
  height: auto;
}
