/* ===========================================
   common-shinsotsu.css
   新卒サイト 共通スタイル
   =========================================== */

:root {
  /* メインカラー(オレンジ) */
  --shinsotsu-color-primary: #F49000;
  --shinsotsu-color-primary-light: #F5AA00;
  /* テキストカラー */
  --shinsotsu-color-text-base: #3E3A39;
  --shinsotsu-color-text-light: #666666;
  --shinsotsu-color-text-white: #FFFFFF;
  /* 背景色 */
  --shinsotsu-color-bg-base: #F8F7F4;

  /* フォント */
  --shinsotsu-font-family-base: 'Noto Sans JP', sans-serif;
  --shinsotsu-font-size-sm: 14px;
  --shinsotsu-font-size-md: 16px;
  --shinsotsu-font-size-lg: 32px;

  --shinsotsu-header-font-size-sm: 18px;
  --shinsotsu-header-font-size-md: 25px;
  --shinsotsu-header-font-size-lg: 45px;


  /* 画面幅 */
  --shinsotsu-container-width-sm: 1000px;
  --shinsotsu-container-width-md: 1200px;
  --shinsotsu-container-width-lg: 1450px;

  /* 左右余白：390px→25px / 1900px→60px で連続 */
  --shinsotsu-gutter: clamp(25px, calc(15.96px + 2.32vw), 60px);
}


/* @media screen and (max-width: 900px) {
  :root {
    --shinsotsu-gutter: 25px;
  }
} */




*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--shinsotsu-font-family-base);
  font-size: var(--shinsotsu-font-size-md);
  color: var(--shinsotsu-color-text-base);
  background-color: var(--shinsotsu-color-bg-base);
  margin: 0 auto;
  height: auto;
}


.shinsotsu_container {
  max-width: var(--shinsotsu-container-width-lg);
  min-width: 0;
  margin: 0 auto;
}

/* SP改行用ユーティリティ BP 576px */
.shinsotsu_br_sp {
  display: none;
}

@media screen and (max-width: 576px) {
  .shinsotsu_br_sp {
    display: inline;
  }
}

/* PC限定表示ユーティリティ BP 900px（各ページ本文のSP切り替えに合わせる） */
.shinsotsu_pc_only {
  display: inline;
}

@media screen and (max-width: 900px) {
  .shinsotsu_pc_only {
    display: none;
  }
}


/* 汎用アニメーション　ふわっと出る */
/* ===========================================
   shinsotsu fade animation
   =========================================== */

.shinsotsu_fade {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.shinsotsu_fade.is_visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================================
   パンくず（include/shinsotsu/breadcrumb.php）
   =========================================== */

.shinsotsu_breadcrumb {
  position: relative;
  z-index: 2;

  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;

  color: var(--shinsotsu-color-text-base);
}

.shinsotsu_breadcrumb_link {
  color: inherit;
  text-decoration: none;
}

.shinsotsu_breadcrumb_link:hover {
  opacity: 0.7;
}

.shinsotsu_breadcrumb_sep {
  margin: 0 12px;
  color: var(--shinsotsu-color-text-light);
}


/* ===========================================
   shinsotsu 職種診断 共通レイアウト
   （診断ページ / 結果ページ 共通）
   =========================================== */

.shinsotsu_diagnosis {
  min-height: 100vh;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--shinsotsu-color-primary), var(--shinsotsu-color-primary-light));
  padding-top: calc(var(--shinsotsu-header-height) + 40px);
}

.diagnosis_wrap {
  width: 100%;
}

/* この診断UIでは白枠(.diagnosis_panel)側で幅を制御するため、
   親コンテナ(.shinsotsu_container)の共通max-widthはここでは無効化する */
.shinsotsu_diagnosis .shinsotsu_container {
  max-width: none;
}

.diagnosis_screen {
  width: 100%;
}

.diagnosis_panel {
  max-width: 1730px;
  margin: 0 auto;
  background-color: var(--shinsotsu-color-bg-base);
  border-radius: 24px;
  padding: clamp(48px, calc(34.29px + 4.29vw), 96px) clamp(24px, calc(12.57px + 3.57vw), 64px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {
  .diagnosis_panel {
    border-radius: 16px;
  }
}

@media screen and (max-width: 576px) {
  .shinsotsu_diagnosis {
    padding: 24px 16px;
    padding-top: calc(var(--shinsotsu-header-height) + 24px);
  }
}


   /* セクション見出し
   =========================================== */ 

.shinsotsu_heading {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, calc(3.87px + 1.06vw), 24px);
  margin: 0;
}


.shinsotsu_heading_en {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: #EF9529;
}

.shinsotsu_heading_ja {
  font-size: clamp(30px, calc(26.13px + 0.99vw), 45px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #202627;
}

/* ▼ セクション見出し - responsive（BP:900px / SP期待値 390px 基準） --------- */

@media screen and (max-width: 900px) {
  .shinsotsu_heading_ja {
    line-height: 1.5;
  }

  .shinsotsu_heading {
    gap: 10px;
  }
}


/* ===========================================
   shinsotsu header
   =========================================== */

:root {
  --shinsotsu-header-height: 80px;
    /* 390px→900px で SP値→PC値へ緩やかに変動 */
  --shinsotsu-header-height-sp: clamp(60px, calc(44.71px + 3.92vw), 80px);
  --shinsotsu-header-bg-transparent: rgba(255, 255, 255, .82);
  --shinsotsu-color-line: #06C755;
  --shinsotsu-header-z: 1000;
}



/* 初期＝完全透過 */
.shinsotsu_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--shinsotsu-header-height);
  background-color: transparent;
  z-index: var(--shinsotsu-header-z);
  transition: background-color .3s ease, box-shadow .3s ease;
}

/* スクロール時＝ほんの少し透けた白 */
.shinsotsu_header.is_scrolled,
.shinsotsu_header.is_open {
  background-color: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}


.shinsotsu_header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 40px;
}

/* --- ロゴ --- */
.shinsotsu_header_logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.shinsotsu_header_logo_img {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 200px;
  height: 50px;
}

.shinsotsu_header_logo_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .3s ease;
}

/* 初期＝白ロゴ／スクロール後＝通常ロゴ */
.shinsotsu_header_logo_img_white  { opacity: 1; }
.shinsotsu_header_logo_img_normal { opacity: 0; }

.shinsotsu_header.is_scrolled .shinsotsu_header_logo_img_white,
.shinsotsu_header.is_open .shinsotsu_header_logo_img_white  { opacity: 0; }

.shinsotsu_header.is_scrolled .shinsotsu_header_logo_img_normal,
.shinsotsu_header.is_open .shinsotsu_header_logo_img_normal { opacity: 1; }

/* トップ・職種診断以外は常時ダークロゴ／ベースカラー文字（スクロール状態に依存しない） */
.shinsotsu_header--solid .shinsotsu_header_logo_img_white {
  opacity: 0;
}

.shinsotsu_header--solid .shinsotsu_header_logo_img_normal {
  opacity: 1;
}

.shinsotsu_header--solid .shinsotsu_header_logo_text {
  color: var(--shinsotsu-color-text-base);
}

.shinsotsu_header_logo_text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--shinsotsu-color-text-white);
  white-space: nowrap;
  transition: color .3s ease;
}

.shinsotsu_header.is_scrolled .shinsotsu_header_logo_text,
.shinsotsu_header.is_open .shinsotsu_header_logo_text {
  color: var(--shinsotsu-color-text-base);
}

/* --- 右側（CTA / ドロワー） --- */
.shinsotsu_header_right {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.shinsotsu_header_cta_list {
  display: flex;
  align-items: stretch;
  height: 100%;
  list-style: none;
}

.shinsotsu_header_cta_item {
  height: 100%;
}

.shinsotsu_header_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 100%;
  text-align: center;
  text-decoration: none;
  transition: opacity .3s ease;
}

.shinsotsu_header_cta:hover {
  opacity: .8;
}

.shinsotsu_header_cta_text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--shinsotsu-color-text-white);
}

.shinsotsu_header_cta_line {
  background-color: var(--shinsotsu-color-line);
}

.shinsotsu_header_cta_entry {
  background: linear-gradient(90deg, #F49101 0%, #F5A902 100%);
}

.shinsotsu_header_cta_entry {
  background: linear-gradient(90deg, #F49101 0%, #F5A902 100%);
}

/* 職種診断配下（自身も含む）ではENTRYボタンを単色に */
.shinsotsu_header--contents .shinsotsu_header_cta_entry {
  background: #2C2E31;
}

/* ドロワーボタンは常に白地（透過させない） */
.shinsotsu_header_drawer_btn {
  position: relative;
  /* ヘッダー高さと正方形で連動（PC 100 / SP 60） */
  width: var(--shinsotsu-header-height);
  height: var(--shinsotsu-header-height);
  padding: 0;
  border: none;
  border-left: 1px solid rgba(62, 58, 57, .12);
  background-color: #FFFFFF;
  cursor: pointer;
  appearance: none;
}

.shinsotsu_header_drawer_btn_lines {
  --lines-height: 30px;
  --lines-thickness: 3px;
  --lines-open-size: 40px; /* 追加：開いた時の正方形サイズ */

  position: absolute;
  top: 50%;
  left: 50%;
  width: 55px;
  height: var(--lines-height);
  transform: translate(-50%, -50%);
  transition: width .3s ease, height .3s ease;
}


.shinsotsu_header_drawer_btn_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--lines-thickness);
  background-color: var(--shinsotsu-color-primary);
  transition: transform .3s ease, opacity .3s ease;
}

.shinsotsu_header_drawer_btn_line:nth-child(1) { top: 0; }
.shinsotsu_header_drawer_btn_line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.shinsotsu_header_drawer_btn_line:nth-child(3) { bottom: 0; }

/* 開いているとき＝正方形の×に変形 */
.shinsotsu_header.is_open .shinsotsu_header_drawer_btn_lines {
  width: var(--lines-open-size);
  height: var(--lines-open-size);
}
.shinsotsu_header.is_open .shinsotsu_header_drawer_btn_line:nth-child(1) {
  transform: translateY(calc((var(--lines-open-size) - var(--lines-thickness)) / 2)) rotate(45deg);
}
.shinsotsu_header.is_open .shinsotsu_header_drawer_btn_line:nth-child(2) {
  opacity: 0;
}
.shinsotsu_header.is_open .shinsotsu_header_drawer_btn_line:nth-child(3) {
  transform: translateY(calc((var(--lines-open-size) - var(--lines-thickness)) / -2)) rotate(-45deg);
}

/* --- 固定ヘッダー用スペーサー（MVが無い下層ページで使用） --- */
.shinsotsu_header_spacer {
  height: var(--shinsotsu-header-height);
}

/* ===========================================
   shinsotsu drawer ※メニュー内容は仮
   =========================================== */

.shinsotsu_drawer {
  position: fixed;
  top: var(--shinsotsu-header-height);
  right: 0;
  width: 100%;
  max-width: calc(150px * 2 + var(--shinsotsu-header-height));
  height: calc(100vh - var(--shinsotsu-header-height));
  padding: 40px;
  background-color: #FFFFFF;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  z-index: calc(var(--shinsotsu-header-z) - 1);
  padding-top: 25px;
}

.shinsotsu_drawer.is_open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.shinsotsu_drawer_list {
  list-style: none;
}

.shinsotsu_drawer_item + .shinsotsu_drawer_item {
  border-top: 1px solid rgba(62, 58, 57, .12);
}

/* 最終アイテム（FAQ）の下にも同じボーダーを表示 */
.shinsotsu_drawer_item:last-child {
  border-bottom: 1px solid rgba(62, 58, 57, .12);
}

.shinsotsu_drawer_link {
  display: block;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shinsotsu-color-text-base);
  text-decoration: none;
  transition: color .3s ease;
}

/* .shinsotsu_drawer_link {
  display: block;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 3;
  color: var(--shinsotsu-color-text-base);
  text-decoration: none;
  transition: color .3s ease;
} */


/* .shinsotsu_drawer_link:hover {
  color: var(--shinsotsu-color-primary);
} */

/* ===========================================
   drawer 下部（CTA / SNS / コーポレートサイトリンク）
   =========================================== */

.shinsotsu_drawer_bottom {
  margin-top: 32px;
}

.shinsotsu_drawer_cta_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.shinsotsu_drawer_cta_item {
  width: 100%;
  max-width: 320px;
}

/* .shinsotsu_cta の SPメディアクエリ(width:360px)より優先させるため
   2クラス指定で詳細度を上げて確実に上書きする */
.shinsotsu_cta.shinsotsu_drawer_cta {
  width: 100%;
  max-width: 320px;
  border: 1px solid #F49001;
}

.shinsotsu_drawer_sns_list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  margin: 24px auto 0;
  list-style: none;
}

.shinsotsu_drawer_sns_link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity .3s ease;
}

.shinsotsu_drawer_sns_link:hover {
  opacity: .8;
}

.shinsotsu_drawer_sns_icon {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.shinsotsu_drawer_corporate_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 320px;
  margin: 16px auto 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--shinsotsu-color-text-base);
  text-decoration: none;
}

.shinsotsu_drawer_corporate_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.shinsotsu_drawer_corporate_link:hover .shinsotsu_drawer_corporate_icon {
  transform: translate(2px, -2px);
}



.shinsotsu_drawer_overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: calc(var(--shinsotsu-header-z) - 2);
}

.shinsotsu_drawer_overlay.is_open {
  opacity: 1;
}

/* ===========================================
   header / drawer - responsive
   BP: 900px（SP期待値 390px 基準）
   =========================================== */

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

  /* ヘッダー高さを一括で切替（header / drawer / spacer が追従） */
  :root {
    --shinsotsu-header-height: var(--shinsotsu-header-height-sp);
  }

  .shinsotsu_header_inner {
    padding-left: clamp(12px, calc(-9.41px + 5.49vw), 40px);
  }

  /* ロゴ：SPは縦積み */
  .shinsotsu_header_logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* .shinsotsu_header_logo_img {
    width: clamp(80px, calc(-11.76px + 23.53vw), 200px);
    height: clamp(20px, calc(-2.94px + 5.88vw), 50px);
    object-position: left center; 
  } */

    /* After */
  .shinsotsu_header_logo_img {
    width: clamp(80px, calc(-11.76px + 23.53vw), 200px);
    height: clamp(20px, calc(-2.94px + 5.88vw), 50px);
  }
  
  .shinsotsu_header_logo_img img {
    object-position: left center;
  }
  
  .shinsotsu_header_logo_text {
    font-size: clamp(10px, calc(5.41px + 1.18vw), 16px);
    letter-spacing: 0.02em;
    line-height: 1;
  }

  /* SPは「新卒採用」/「説明会予約」のみ */
  .shinsotsu_header_logo_text_prefix,
  .shinsotsu_header_cta_text_prefix {
    display: none;
  }

  .shinsotsu_header_cta {
    width: clamp(80px, calc(26.47px + 13.73vw), 150px);
  }

  .shinsotsu_header_cta_text {
    font-size: clamp(13px, calc(9.94px + 0.78vw), 17px);
    letter-spacing: 0;
    line-height: 1.1;
  }

  .shinsotsu_header_drawer_btn_lines {
    --lines-height: clamp(27px, calc(24.71px + 0.59vw), 30px);
    width: clamp(32px, calc(14.41px + 4.51vw), 55px);
  }

  /* --- drawer：全画面・フェードイン＋中身の下降 --- */

  .shinsotsu_drawer {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: calc(100dvh - var(--shinsotsu-header-height));
    padding: 20px; 
    transform: none;
    transition: opacity .3s ease, visibility .3s ease;
    padding-bottom: 60px;
  }


  .shinsotsu_drawer.is_open {
    transform: none;
  }

  .shinsotsu_drawer_list {
    transform: translateY(-16px);
    transition: transform .3s ease;
  }

  .shinsotsu_drawer.is_open .shinsotsu_drawer_list {
    transform: translateY(0);
  }

  .shinsotsu_drawer_item {
    border-bottom: 1px solid rgba(62, 58, 57, .15);
  }

  .shinsotsu_drawer_item + .shinsotsu_drawer_item {
    border-top: none;
  }

  .shinsotsu_drawer_item:first-child {
    padding-top: 16px;
  }

  .shinsotsu_drawer_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(56px, 10dvh, 76px);
    /* padding: 0 var(--shinsotsu-gutter); */
    padding: 13px 0;
    font-size: clamp(14px,2vw,18px);
    letter-spacing: 0.09em;
    line-height: 1;
  }

  .shinsotsu_drawer_list {
    max-width: clamp(320px, calc(-0.36px + 82vw), 738px);
    margin-inline: auto;
  }


  /* .shinsotsu_drawer_link {
    display: flex;
    align-items: center;
    min-height: clamp(56px, 10dvh, 76px);
    padding: 0 var(--shinsotsu-gutter);
    font-size: 18px;
    letter-spacing: 0.09em;
    line-height: 1;
  } */

  /* .shinsotsu_drawer_link::after {
    content: '→';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--shinsotsu-color-primary);
    border-radius: 50%;
    color: var(--shinsotsu-color-primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  } */

    /* --- drawer 下部（CTA / SNS / コーポレートサイトリンク） --- */
  /* .shinsotsu_drawer_bottom {
    padding-inline: var(--shinsotsu-gutter);
    margin-top: clamp(24px, calc(11.76px + 3.14vw), 32px);
  } */

  .shinsotsu_drawer_bottom {
    max-width: clamp(320px, calc(-0.36px + 82vw), 738px);
    margin-inline: auto;
    padding-inline: 0;
    margin-top: clamp(24px, calc(11.76px + 3.14vw), 32px);
  }

  /* 全画面表示のためオーバーレイは不要 */
  .shinsotsu_drawer_overlay {
    display: none;
  }
}

/* ===========================================
   shinsotsu footer
   =========================================== */

.shinsotsu_footer {
  background-color: #3E3A39;
  color: #ffffff;
}

.shinsotsu_footer_inner {
  width: min(1200px, calc(100% - clamp(48px, 6vw, 128px)));
  margin: 0 auto;
  padding: clamp(56px, 6vw, 78px) 0 25px;
}

.shinsotsu_footer_main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
}

.shinsotsu_footer_brand {
  flex: 0 0 clamp(210px, 20vw, 280px);
}

.shinsotsu_footer_logo {
  display: inline-block;
}

.shinsotsu_footer_logo_img {
  display: block;
  width: clamp(180px, 17vw, 240px);
  height: auto;
  filter: brightness(0) invert(1);
}

.shinsotsu_footer_sns_list {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: 30px;
}

.shinsotsu_footer_sns_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 3.5vw, 44px);
  height: clamp(34px, 3.5vw, 44px);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #ffffff;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.shinsotsu_footer_sns_link:hover {
  background-color: var(--keiken-color-primary);
  border-color: var(--keiken-color-primary);
  color: #ffffff;
}

.shinsotsu_footer_sns_icon {
  width: 23px;
  height: 23px;
}

.shinsotsu_footer_nav {
  flex: 1 1 auto;
  min-width: 0;
}

.shinsotsu_footer_nav_list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 35px);
  margin-top: 18px;
}

.shinsotsu_footer_nav_item {
  flex: 0 0 auto;
  min-width: 0;
}

.shinsotsu_footer_nav_link {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 14px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.shinsotsu_footer_nav_link:hover {
  color: var(--keiken-color-primary);
}

.shinsotsu_footer_subnav_list {
  display: block;
  margin-top: 8px;
}

.shinsotsu_footer_subnav_item + .shinsotsu_footer_subnav_item {
  margin-top: 6px;
}

.shinsotsu_footer_subnav_link {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.shinsotsu_footer_subnav_link::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  line-height: 1.5;
}

.shinsotsu_footer_subnav_link:hover {
  color: var(--keiken-color-primary);
}

.shinsotsu_footer_bottom {
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.shinsotsu_footer_link_list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.4vw, 36px);
}

.shinsotsu_footer_link_item {
  flex: 0 0 auto;
}

.shinsotsu_footer_link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #F5F7F8;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.shinsotsu_footer_external_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.shinsotsu_footer_link:hover  {
  color: inherit !important;
}
.shinsotsu_footer_link:hover .shinsotsu_footer_external_icon {
  transform: translate(2px, -2px);
}

.shinsotsu_footer_copyright {
  margin-top: clamp(18px, 2.4vw, 32px);
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.133em;
  text-align: center;
}

/* ===========================================
   keiken footer responsive
   BP: 900px
   =========================================== */

@media screen and (max-width: 900px) {
  .shinsotsu_footer {
    height: auto;
  }

  .shinsotsu_footer_inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: unset;
    padding:
      44px
      clamp(30px, 8vw, 72px)
      24px;
  }

  .shinsotsu_footer_main {
    display: contents;
  }

  .shinsotsu_footer_nav {
    order: 1;
  }

  .shinsotsu_footer_nav_list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
  }

  .shinsotsu_footer_nav_item {
    width: 100%;
  }

.shinsotsu_footer_nav_link {
  display: block;
  padding: clamp(10px, 1.6vw, 14px) 0;
  font-size: clamp(16px, calc(10.94px + 0.784vw), 18px);
  line-height: 1.6;
  white-space: nowrap;
  }

  .shinsotsu_footer_subnav_link {
    font-size: clamp(14px, calc(10.47px + 0.392vw), 16px);
    line-height: 1.7;
  }

  .shinsotsu_footer_subnav_list {
    display: block;
    margin-top: 0;
    padding-bottom: 8px;
  }

  .shinsotsu_footer_bottom {
    order: 2;
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  .shinsotsu_footer_link_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

.shinsotsu_footer_link_item {
  width: 100%;
  padding: clamp(10px, 1.6vw, 14px) 0;
  margin-bottom: 0;
}

  .shinsotsu_footer_link_item + .shinsotsu_footer_link_item {
    margin-top: 0;
  }

.shinsotsu_footer_link {
  font-size: clamp(14px, calc(10.47px + 0.392vw), 16px);
  line-height: 1.6;
}

  .shinsotsu_footer_brand {
    order: 3;
    flex: none;
    margin-top: 15px;
  }

  .shinsotsu_footer_logo_img {
    width: clamp(250px, 48vw, 300px);
  }

  .shinsotsu_footer_sns_list {
    gap: 16px;
    margin-top: 28px;
  }

  .shinsotsu_footer_sns_link {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

.shinsotsu_footer_copyright {
  order: 4;
  margin-top: clamp(84px, 8.8vw, 100px);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
}



/* ===========================================
   shinsotsu cta button（全セクション共通）
   色 : バリアントクラスで切り替え
   サークル位置 : --left / --right で切り替え（既定は右）
   =========================================== */

/* .shinsotsu_cta {
  --cta-bg: #F49000;
  --cta-color: #FFFFFF;
  --cta-circle-inset: 30px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px; 
  height: 65px;
  border-radius: 8px;
  background-color: var(--cta-bg);
  text-decoration: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
} */

/* After */
.shinsotsu_cta {
  --cta-bg: #F49000;
  --cta-color: #FFFFFF;
  --cta-circle-inset: 30px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px; 
  height: 65px;
  border-radius: 8px;
  background-color: var(--cta-bg);
  text-decoration: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  flex-shrink: 0;
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}

.shinsotsu_cta:hover {
  /* opacity: .85; */
  transform: translateY(-3px);
  box-shadow: 0 8px 24px  rgba(243, 152, 0, .36);
}



.shinsotsu_cta_text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--cta-color);
  /* letter-spacing の末尾アキ分を戻して中央バランスを取る */
  text-indent: 0.12em;
  padding-right: 20px;
}

.shinsotsu_cta_circle {
  position: absolute;
  top: 50%;
  right: var(--cta-circle-inset);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--cta-color);
  border-radius: 50%;
  color: var(--cta-color);
}

/* サークル左配置 */
.shinsotsu_cta--circle_left .shinsotsu_cta_circle {
  right: auto;
  left: var(--cta-circle-inset);
}

/* カラーバリアント：色パターンが増えたらここに追加 */
.shinsotsu_cta--white {
  --cta-bg: #FFFFFF;
  --cta-color: #F49000;
}

/* ▼ cta - responsive（BP:900px） --------- */

@media screen and (max-width: 900px) { 
  /* 期待値360px。左右余白内に収まらない幅では追従させる */ 
  .shinsotsu_cta {
    width: 360px;
  }
}



/* ===========================================
   shinsotsu aichat cta（共通部品）
   =========================================== */

.shinsotsu_aichat {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  background-color: #FEF0E2;
}

.shinsotsu_aichat_container {
  display: flex;
  align-items: center;
  gap: clamp(30px, calc(10.13px + 2.11vw), 60px);
  width: 100%;
  max-width: calc(var(--shinsotsu-container-width-lg) + var(--shinsotsu-gutter) * 2);
  margin: 0 auto;
  padding: 60px var(--shinsotsu-gutter);
}

.shinsotsu_aichat_body {
  flex: 1 1 auto;
  min-width: 0;
}

.shinsotsu_aichat_heading_ja {
  font-size: clamp(30px, calc(28.71px + 0.33vw), 35px);
}

.shinsotsu_aichat_text {
  margin-top: clamp(20px, calc(12.05px + 0.84vw), 32px);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 2;
  color: #202627;
}

.shinsotsu_aichat_body .shinsotsu_cta {
  margin-top: clamp(30px, calc(23.38px + 0.7vw), 40px);
}

/* 画像は縮小を許容し、テキストを潰さない */
.shinsotsu_aichat_image {
  flex: 0 1 585px;
  min-width: 0;
}

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

/* ▼ aichat - responsive（BP:900px / SP期待値 390px 基準） --------- */

@media screen and (max-width: 900px) {
  .shinsotsu_aichat {
    min-height: clamp(500px, calc(1205.88px - 78.43vw), 900px);
  }

  .shinsotsu_aichat_container {
    flex-direction: column;
    align-items: stretch;
    padding-block: clamp(40px, calc(24.71px + 3.92vw), 60px);
  }

  .shinsotsu_aichat_body {
    text-align: center;
  }

  /* 見出し・本文は左揃えのまま、CTAのみ中央に */
  .shinsotsu_aichat_body .shinsotsu_heading,
  .shinsotsu_aichat_text {
    text-align: left;
  }

  /* 左右余白いっぱいまで広げる */
  .shinsotsu_aichat_image {
    flex: 0 0 auto;
    width: calc(100% + var(--shinsotsu-gutter) * 2);
    margin-inline: calc(var(--shinsotsu-gutter) * -1);
  }

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

  .shinsotsu_aichat_body .shinsotsu_heading,
  .shinsotsu_aichat_text {
    align-self: stretch;
  }

  .shinsotsu_aichat_body .shinsotsu_cta {
    align-self: center;
    margin-top: clamp(30px, calc(23.38px + 0.7vw), 40px);
  }
}


/* ページ上部へ戻るボタン*/
.pagetop-btn {
    position: fixed;
    right: 40px;
    bottom: 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #F49000 0%, #F5AA00 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 899;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* JSで html に is-show が付与されたら表示する */
.pagetop-btn.is-show {
    opacity: 1;
    pointer-events: auto;
}

/* ホバー時のアクション */
.pagetop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 149, 0, 0.3);
}

.pagetop-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.pagetop-btn:hover svg {
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .pagetop-btn {
        display: none;
    }
}

