@charset "UTF-8";

/* トップページ専用のカスタムCSS */
/* common.cssを上書きしないように、このファイルで調整を行います */

/* 汎用クラス */
.sp_only { display: none; }
@media (max-width: 1000px) {
  .sp_only { display: inline; }
}

@media (min-width: 1001px) {
    .top_sect {
      padding: 70px 70px;
    }
    .top_sect .top_sect_inner {
      margin-top: 40px;
    }
    .top_fv .top_fv_inner.is-login {
      padding: 0 20px;
    }
}
.errormsg {
  font-size: 14px;
  color: #F00;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .top_sect.feature {
    /* 提供HTMLは inner_wrapper 固定アンカーで実質 ~20px 相当。通常フロー化後は 60px だと広すぎる */
    margin-top: 20px;
  }
}

/* CTAセクション (Figma node-id 1:341(PC) & 1:2280(SP)) */
.cta_section {
  background-color: #f8f8f8;
  padding: 50px 0;
}

.cta_banner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 303px;
}

.cta_banner_content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
}

.cta_banner_header {
  background-color: #f5a100;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
}

.cta_banner_header p {
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 0;
  padding-left: 200px;
  font-family: "YuGothic", "Yu Gothic", "MS Gothic", sans-serif;
}

.cta_banner_body {
  background-color: #ffffff;
  height: 207px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 10px 10px;
  padding-left: 200px;
}

.cta_banner_subtext {
  font-size: 24px;
  color: #333333;
  margin-bottom: 25px;
  font-weight: bold;
  font-family: "YuGothic", "Yu Gothic", "MS Gothic", sans-serif;
}

.cta_banner_btn {
  display: inline-block;
  background-color: #f65757;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  padding: 20px 0;
  width: 450px;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0px 4px 3px 0px rgba(0, 0, 0, 0.16);
  transition: opacity 0.3s;
  line-height: 1.4;
}

.cta_banner_btn:hover {
  opacity: 0.8;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.cta_banner_image {
  position: absolute;
  left: 147px;
  bottom: 0;
  width: 283px;
  z-index: 2;
  pointer-events: none;
}

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

@media (max-width: 1200px) and (min-width: 768px) {
  .cta_banner { max-width: 90%; }
  .cta_banner_image { left: 40px; }
  .cta_banner_header p { font-size: 28px; padding-left: 250px; }
  .cta_banner_body { padding-left: 250px; }
  .cta_banner_subtext { font-size: 20px; }
  .cta_banner_btn { width: 350px; font-size: 16px; }
}

@media (max-width: 767px) {
  .cta_banner {
    max-width: 450px; width: 90%; min-height: 188px; margin: 0 auto;
    background-color: #ffffff; border-radius: 10px; overflow: hidden;
  }
  .cta_banner_content { filter: none; max-width: 100%; }
  .cta_banner_header { height: 53px; border-radius: 10px 10px 0 0; }
  .cta_banner_header p { font-size: 18px; padding-left: 50px; text-align: center; width: 100%; }
  .cta_banner_body { height: 135px; padding-left: 135px; padding-top: 10px; padding-right: 15px; align-items: center; justify-content: flex-start; }
  .cta_banner_subtext { font-size: 15px; margin-bottom: 15px; line-height: 1.2; text-align: center; }
  .cta_banner_btn { width: 202px; font-size: 13px; padding: 10px 5px; border-radius: 30px; }
  .cta_banner_image { width: 140px; left: 0px; top: 2.43px; bottom: auto; }
  .cta_banner_image img { border-radius: 0 0 0 10px; }
}

/* --------------------------------------------------------------------------
   サポートセクション (Figma node-id 1:351 / 1:2289)
-------------------------------------------------------------------------- */
.support_section {
  background-color: #f5a100;
  padding: 60px 0 80px;
}

.support_inner {
  max-width: 1240px;
  margin: 0 auto;
}

.support_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.support_title_icon {
  width: 50px;
  height: 50px;
}

.support_title h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  margin: 0;
  line-height: normal;
}

/* カードスタイル共通 */
.support_card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* PC向け (1001px以上) */
@media (min-width: 1001px) {
  #support_carousel {
    overflow: visible;
    width: 100%;
  }
  #support_carousel .support_cards {
    display: flex ;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto 30px;
    width: auto;
    height: auto;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
  }
  #support_carousel .support_card {
    width: 380px;
    height: 290px;
    padding: 25px 20px;
    margin: 0;
  }
  .support_nav_btn {
    display: none;
  }
}

/* カード内要素 */
.support_card_header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; }
.support_card_icon { width: 66px; height: 66px; flex-shrink: 0; }
.support_card_title_wrap { display: flex; flex-direction: column; gap: 4px; }
.support_card_label { font-size: 12px; color: #444444; }
.support_card_title { font-size: 22px; font-weight: bold; color: #444444; line-height: 1.2; }

.support_compare_box {
  background-color: #fef5e5;
  border: 2px solid #f5a100;
  border-radius: 6px;
  padding: 12px 10px;
  padding-right: 0px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  margin-bottom: 16px;
}
.support_compare_item { 
  display: flex; flex-direction: column; gap: 5px; 
}
.support_badge {
  display: inline-block;
  font-size: 10px;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  width: fit-content;
}
.support_badge.before { background-color: #999999; }
.support_badge.after { background-color: #f65757; }
.support_compare_text { font-size: 17px; font-weight: bold; line-height: 1.3; color: #424242; }
.support_compare_item.after .support_compare_text { color: #f65757; }
.support_arrow { height: 40px; flex-shrink: 0; }

.support_card_footer { text-align: center; }
.support_footer_text { font-size: 20px; color: #444444; font-weight: bold; line-height: 1.4; }
.support_footer_text span { color: #f65757; }
.support_note { color: #ffffff; font-size: 14px; text-align: left; max-width: 1200px; margin: 0 auto; }


@media (max-width: 1200px) { 
.support_note {
  max-width: 1000px;
  text-align: center;
}

}
/* SP・タブレット向け (1000px以下) */
@media (max-width: 1000px) {
  .support_section { padding: 24px 0 60px; overflow: hidden; }
  .support_title { flex-direction: column; gap: 4px; margin-bottom: 24px; }
  .support_title h2 { font-size: 22px; text-align: center; line-height: 1.4; }
  .support_title_icon { width: 30px; height: 30px; }

  #support_carousel {
    overflow: visible;
    padding: 0 40px 10px;
    width: 100%;
    position: relative;
    max-width: 450px;
    margin: 0 auto;
  }
  /* Swiperの絶対計算を邪魔しない */
  #support_carousel .support_cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
  }
  #support_carousel .support_card {
    width: 330px;
    height: 258px;
    padding: 18px 14px;
    flex-shrink: 0;
    /* margin: 0 auto を完全に削除し、Swiperの見切れを許可する */
  }

  .support_card_header { margin-bottom: 17px; }
  .support_card_icon { width: 50px; height: 50px; }
  .support_card_title { font-size: 18px; }

  .support_compare_box {
    width: 302px;
    height: 97px;
    padding: 15px 8px;
    gap: 4px;
  }
  .support_compare_text { font-size: 15px; }
  .support_badge { font-size: 9px; padding: 3px 6px; }
  .support_arrow { height: 34px; }
  .support_footer_text { font-size: 18px; line-height: 1.3; }
  .support_note { font-size: 12px; width: 350px; max-width: 95%; margin: 20px auto 0; text-align: left; }

  /* SPナビゲーション */
  .support_nav_btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #f5a100;
    border: 2px solid #ffffff;
    border-radius: 50%;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .support_nav_btn::after {
    color: #ffffff; 
    font-size: 8px;
    font-family: swiper-icons; 
    font-weight: 700;
    text-transform: lowercase;
    content: "";
    position: absolute;
    /* right: 5px; */
  }
  .support_prev { left: 5px; }
  .support_next { right: 5px; }
  .support_prev::after { content: "prev"; font-size: 16px; transform: translateX(-1px);}
  .support_next::after { content: "next"; font-size: 16px; transform: translateX(1px);}
  .support_nav_btn.swiper-button-disabled { opacity: 0.35; cursor: auto; }
}

/* 時給表示のフォントサイズ設定 */
.support_wage_label {
  font-size: 11px;
  vertical-align: baseline;
}

.support_wage_number {
  font-size: 18px;
  vertical-align: baseline;
}

.support_wage_unit {
  font-size: 13px;
  vertical-align: baseline;
}

.support_wage_plus {
  font-size: 11px;
  vertical-align: baseline;
}

.support_wage_exclamation {
  font-size: 18px;
  vertical-align: baseline;
}

/* --------------------------------------------------------------------------
   TOPページ SP表示崩れ修正（max-width: 900px のみ。PC・タブレットは対象外）
   固定 height / margin-bottom を廃止し、通常フローで下セクションと重ならないようにする
-------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* ① ヒーロー：ラッパーはコンテンツ高に追従。背景は幅100%・上寄せで顔が見える */
  .top_fv_inner_wrapper {
    height: auto;
    margin-bottom: 0;
    background-image: url(../img/fv_top_sp2.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
  }

  .top_fv.login .top_fv_inner_wrapper {
    background-image: url(../img/fv_top_sp.jpg);
  }

  /* ② エントリーボックス */
  /* max-width は common.css の 500px のまま（calc(100% - 32px) だと auto 左右マージン分だけ外側が広くなる） */
  .top_fv_memberentrybox {
    margin-bottom: 0;
  }

  .top_fv_memberentrybox_inner {
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px);
  }

  .top_fv_memberentrybox_container {
    gap: 20px;
  }

  .sns_login_list {
    gap: 16px;
  }

  /* ③ 対象者リスト：文字幅のチップ + 折り返し（はみ出し防止） */
  /* 提供HTMLどおり max-width: 400px は common.css に任せる */

  .top_fv_memberentry_target_list_wrapper_top,
  .top_fv_memberentry_target_list_wrapper_bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    margin-bottom: 0;
  }

  .top_fv_memberentry_target_list_wrapper_top {
    margin-bottom: 7px;
  }

  .top_fv_memberentry_target_list_wrapper_bottom li:nth-of-type(1) {
    margin: 0;
  }

  .top_fv_memberentry_target_list li {
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-wrap-mode: wrap;
    box-sizing: border-box;
  }

  .top_fv_memberentry_target_list li + li {
    margin-left: 0;
  }

  /* CTAボタン：テキストと矢印アイコンの重なり防止 */
  .top_fv_memberentry_submit_btn {
    padding-right: 44px;
    padding-left: 12px;
    font-size: clamp(14px, 4.2vw, 17.1px);
  }

  .top_fv_memberentry_submit_btn::before {
    right: 10px;
  }

  .top_fv_memberentry_submit_btn::after {
    right: 20px;
  }
}

/* 狭い端末：SNSボタンを1列に（2列だと Yahoo 等が折り返して破綻する） */
@media (max-width: 400px) {
  .top_fv .sns_login_list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .top_fv .sns_icon {
    width: 26px;
    margin-left: 4px;
    flex-shrink: 0;
  }

  .top_fv .sns_btn {
    height: 42px;
  }

  .top_fv .sns_text,
  .top_fv .sns_google .sns_text,
  .top_fv .sns_line .sns_text,
  .top_fv .sns_yahoo .sns_text,
  .top_fv .sns_facebook .sns_text {
    font-size: 14px;
    line-height: 1.2;
  }
}