/*!
 * Growth Stage トップページ スマホ版リフレッシュ(第4案) v1 / 2026-11-28
 * 読み込み: header.php の </head> 直前(トップページのみ)
 * 効く範囲: 画面幅767px以下だけ。PC版には一切効かない
 * 戻し方: header.php に足した数行を消す(このファイルは残しても無害)
 */
/* Growth Stage スマホ版 短縮案(767px以下だけに効く・PC版は変わらない) */
@media (max-width: 767px) {

  /* ① INTRODUCTION:丸い写真を非表示・上の余白を詰める */
  .sec01 { padding-top: 56px !important; padding-bottom: 32px !important; }
  .sec01-r { display: none !important; }
  .sec01-detail { padding-top: 32px !important; }
  .sec01-detailImg { padding: 16px 0 !important; }

  /* ② 写真のコラージュ帯を低くする */
  .top-banner, .top-banner .banne-img { height: 180px !important; overflow: hidden; }
  .top-banner .banne-img img { width: 100%; height: 180px !important; object-fit: cover; }

  /* ③ SERVICE:2枚のカードを横スワイプに */
  .sec02 { padding-bottom: 56px !important; }
  .sec02-txt .pt40 { padding-top: 20px !important; }
  .sec02-list {
    display: flex !important; gap: 12px; padding-top: 28px !important;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-right: -20px !important; padding-right: 20px !important;
    scrollbar-width: none;
  }
  .sec02-list::-webkit-scrollbar { display: none; }
  .sec02-listItem { flex: 0 0 84%; scroll-snap-align: start; margin: 0 !important; list-style: none; }
  .sec02-listItem a { height: 100%; padding: 28px 18px !important; }

  /* ④ 取引実績:ロゴを4列に */
  .sec03 { padding-top: 48px !important; padding-bottom: 48px !important; }
  .sec03-list { gap: 6px; padding: 24px 0 20px !important; justify-content: flex-start !important; }
  .sec03-listItem { width: calc(25% - 4.5px) !important; margin: 0 !important; }
  .sec03-listItem img { width: 100%; height: auto; }

  /* ⑤ コラム:小さいサムネ+タイトルの一覧に */
  .top_works { padding-top: 48px !important; padding-bottom: 48px !important; }
  .blog_list_wrap { padding-top: 24px !important; }
  .blog_list { padding-bottom: 14px !important; margin-bottom: 14px !important; border-bottom: 1px solid #eee; }
  .blog_list > a { display: flex !important; gap: 12px; align-items: flex-start; }
  .blog_list_img_wrap { flex: 0 0 112px; width: 112px !important; height: 70px !important; }
  .blog_list_img { height: 70px !important; background-size: cover; background-position: center; }
  .blog_list_txt { flex: 1; padding-top: 0 !important; margin-top: 0 !important; }
  .blog_list_txt .company { font-size: 11px !important; margin: 0 0 4px !important; }
  .blog_list_ttl { font-size: 13px !important; line-height: 1.5 !important; margin: 0 !important;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .btn-blog { margin-top: 20px !important; }

  /* ⑥ 学生/企業の入口:イラストを外して横並び */
  .cv-list { display: flex !important; }
  .cv-listItem { flex: 1 1 50%; }
  .cv-listItem + .cv-listItem { border-left: 1px solid rgba(255,255,255,.15); }
  .cv-listItem a { padding: 36px 10px !important; }
  .cv-r { display: none !important; }
  .cv-l, .cv-l p { font-size: 11px !important; line-height: 1.6 !important; }
  .cv-l p br { display: none; }
  .cv-btn { font-size: 15px !important; }

  /* ⑦ フッターのリンクを2列に */
  .footer_content { padding-top: 32px !important; padding-bottom: 96px !important; }
  .footer_listWrap { padding-top: 24px !important; }
  .footer_list { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-bottom: 24px !important; }
  .footer_list li { margin-bottom: 8px !important; }

  /* ⑧ 画面下に固定ボタン(追加要素) */
  .gs-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .gs-sticky-cta a { flex: 1; text-align: center; font-weight: 700; font-size: 14px;
    padding: 13px 0; border-radius: 999px; text-decoration: none; }
  .gs-sticky-cta .co { color: #fff; background: linear-gradient(90deg,#F4BA40,#DA0783 55%,#5A3CF5); }
  .gs-sticky-cta .st { color: #222; background: #fff; border: 1.5px solid #222; }
  .grecaptcha-badge { bottom: 84px !important; }
}

/* ===== v2: A 仕上げ + B 重複の整理 ===== */
@media (max-width: 767px) {
  /* A-1 ヒーロー見出しを「サービス」で割らない */
  .mv-service-title { word-break: keep-all; overflow-wrap: anywhere; }
  /* A-2 スワイプの目印 */
  .gs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .gs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .2s, width .2s; }
  .gs-dots i.on { width: 20px; border-radius: 4px; background: linear-gradient(90deg,#F4BA40,#DA0783 55%,#5A3CF5); }
  /* A-3 入口の文の泣き別れ防止 */
  .cv-l p { text-wrap: balance; }

  /* B-1 実績の数字はヒーローに任せる(INTRODUCTIONの再掲を外す) */
  .sec01-detail > h3, .sec01-detailImg { display: none !important; }
  .sec01-detail { padding-top: 20px !important; }
  /* B-2 ロゴは「取引実績」の一覧に一本化(流れる帯を外す・動画サムネの位置は保つ) */
  .logoSlideWrap { display: none !important; }
  .logoSlide { padding-bottom: 8px !important; height: auto !important; }
  /* B-3 フッターのサービス再掲を外す */
  .footer .other-list { display: none !important; }
  /* B-4 SERVICEの説明文は2行+続きを読む */
  .sec02-txt p.pt40 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sec02-txt p.pt40.open { display: block; -webkit-line-clamp: unset; }
  .gs-more { margin-top: 6px; background: none; border: 0; padding: 4px 0; color: #fff; font-size: 12px;
    text-decoration: underline; text-underline-offset: 3px; opacity: .8; cursor: pointer; }
}
@media (max-width: 767px) { .sec01 { padding-top: 24px !important; } }

/* ===== v3: C 最初の画面の強化 ===== */
@media (max-width: 767px) {
  .mv-img { padding-top: 600px !important; }
  .mv-img .video-bg { left: -120% !important; width: 340% !important; top: -14% !important; height: 128% !important; }
  .mv-txt { top: auto !important; bottom: 22px !important; }
  .mv-txt h2 { font-size: 44px !important; line-height: 1.05 !important; }
  .mv-service-title { padding-top: 12px !important; }
  .gs-hero-lead { color: #fff; font-size: 13px; line-height: 1.75; margin: 10px 0 0; opacity: .92; text-wrap: balance; }
  .mvNum { padding-top: 12px !important; }
  .gs-hero-cta { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; margin-top: 16px; }
  .gs-hero-cta a { display: block; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3;
    padding: 12px 4px; border-radius: 999px; text-decoration: none; }
  .gs-hero-cta a small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
  .gs-hero-cta .co { color: #fff; background: linear-gradient(90deg,#F4BA40,#DA0783 55%,#5A3CF5); }
  .gs-hero-cta .st { color: #fff; border: 1.5px solid rgba(255,255,255,.85); background: rgba(0,0,0,.25); }
  /* 固定ボタンはヒーローを過ぎてから出す */
  .gs-sticky-cta { transform: translateY(110%); transition: transform .25s ease; }
  .gs-sticky-cta.show { transform: none; }
}
@media (max-width: 767px) {
  .mv-img { overflow: hidden; }
  .mv-txt { left: 20px !important; right: 20px !important; width: auto !important; }
  .gs-hero-lead { word-break: keep-all; overflow-wrap: anywhere; }
}

/* ===== v4: 一流仕上げ ===== */
@media (max-width: 767px) {
  :root { --gs-grad: linear-gradient(90deg,#F4BA40,#DA0783 55%,#5A3CF5); }

  /* 1) 見出しの型を1つに統一:英字の小見出し(グラデ)+日本語の大見出し */
  .ttl2_main, .ttl4_main { font-size: 12px !important; line-height: 1 !important; letter-spacing: .14em !important;
    text-transform: uppercase; font-family: "Libre Franklin", sans-serif !important; font-weight: 700 !important; margin: 0 0 10px !important; }
  .ttl2_sub, .sec03 .ttl2_sub { margin: 0 !important; }
  .ttl2_sub span { font-size: 24px !important; font-weight: 700 !important; color: #222 !important; letter-spacing: .04em; }
  .ttl2_sub span::after, .ttl2_sub::after { display: none !important; }
  .ttl1_main { font-size: 24px !important; line-height: 1.5 !important; }
  .ttl1_sub { font-size: 12px !important; letter-spacing: .14em !important; }

  /* 2) ヒーロー:大きな動画サムネを外し、ヒーロー内の「動画を見る」に */
  .thumbnail { opacity: 0 !important; pointer-events: none !important; height: 0 !important; }
  .logoSlide { display: none !important; }
  .gs-play { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-size: 12px;
    letter-spacing: .06em; background: none; border: 0; padding: 0; font-family: "Libre Franklin", sans-serif; font-weight: 600; }
  .gs-play i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; font-style: normal; font-size: 10px; }

  /* 3) 導入企業を最初の画面の直後へ(信頼の証拠を先に) */
  .sec03 { background: #fff !important; padding: 36px 0 8px !important; }
  .sec03 .ttl-wrapper { text-align: left; }
  .sec03-listItem { background: #f6f6f8; border-radius: 6px; }
  .sec03-listItem img { mix-blend-mode: multiply; }
  /* 矢印のグラデ定義がこのボタンのSVGにあるため display:none は使わない */
  .sec03-btn { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0 !important; margin: 0 !important; }
  .sec03 .inner_l { position: relative; }

  /* 4) 新設:成果で選ぶ「導入企業の声」 */
  .gs-cases { padding: 36px 0 44px; background: #fff; }
  .gs-cases .head { padding: 0 20px; }
  .gs-cases .eb { font: 700 12px/1 "Libre Franklin", sans-serif; letter-spacing: .14em; text-transform: uppercase;
    background: linear-gradient(90deg,#DA0783,#5A3CF5); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 10px; }
  .gs-cases h2 { font-size: 24px; font-weight: 700; color: #222; margin: 0; letter-spacing: .04em; line-height: 1.45; }
  .gs-cases .rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 20px 4px; scrollbar-width: none; }
  .gs-cases .rail::-webkit-scrollbar { display: none; }
  .gs-case { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: 20px; border-radius: 14px; overflow: hidden; background: #111; color: #fff; text-decoration: none; display: flex; flex-direction: column; }
  .gs-case .ph { height: 132px; background-size: cover; background-position: center; position: relative; }
  .gs-case .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0) 40%, #111 100%); }
  .gs-case .bd { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .gs-case .q { font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
  .gs-case .q em { font-style: normal; background: var(--gs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .gs-case .co { font-size: 11px; opacity: .7; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
  .gs-case .co b { font-weight: 500; }
  .gs-case .co span { font-size: 11px; opacity: 1; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; }
  .gs-cases .all { display: block; margin: 18px 20px 0; text-align: right; font-size: 13px; font-weight: 700; color: #222; text-decoration: none; }
  .gs-cases .all::after { content: " →"; }

  /* 5) INTRODUCTION:一行で言い切る引用 */
  .sec01 { padding-top: 40px !important; background: #faf9fb; }
  .sec01-detail p.gs-pull { font-size: 26px !important; font-weight: 700; line-height: 1.5 !important; letter-spacing: .02em; color: #222 !important; margin: 22px 0 14px !important; }
  .gs-pull em { font-style: normal; background: var(--gs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .sec01-detail { padding-top: 0 !important; }
  .sec01-detail p { font-size: 13px !important; line-height: 1.95 !important; color: #555 !important; }
  .sec01-bg { opacity: .5; }

  /* 6) 本文の行間を少し締める(読み物としての密度) */
  .sec02-txt p.pt40, .sec02-listTxt p { line-height: 1.85 !important; }

  /* 7) 最後の入口:企業を主役の大パネルに、学生は下に1行 */
  .cv-list { flex-direction: column !important; }
  .cv-listItem:nth-child(2) { order: -1; }
  .cv-listItem + .cv-listItem { border-left: 0 !important; }
  .cv-listItem:nth-child(2) a { padding: 40px 20px 32px !important; }
  .cv-listItem:nth-child(2) .cv-btn { font-size: 22px !important; }
  .cv-listItem:nth-child(2) .cv-l p { font-size: 13px !important; word-break: keep-all; overflow-wrap: anywhere; text-wrap: wrap; }
  .cv-listItem:nth-child(1) a { padding: 18px 20px 22px !important; border-top: 1px solid rgba(255,255,255,.14); }
  .cv-listItem:nth-child(1) .cv-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
  .cv-listItem:nth-child(1) .cv-l .cv-btn { font-size: 15px !important; white-space: nowrap; order: 2; }
  .cv-listItem:nth-child(1) .cv-l p { font-size: 11px !important; text-wrap: wrap; text-align: left; margin: 0 !important; padding: 0 !important; }

  /* 8) 固定ボタンをガラス調に軽く */
  .gs-sticky-cta { background: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .gs-sticky-cta a { font-size: 13px !important; padding: 12px 0 !important; }
}

/* v1.1: 写真コラージュ帯はスマホでは外す(低く切ると顔や枠が途中で切れて見えるため) */
@media (max-width: 767px) {
  .top-banner { display: none !important; }
}

/* PC幅ではJSで足した部品を必ず隠す(念のため) */
@media (min-width: 768px) {
  .gs-hero-lead, .gs-hero-cta, .gs-play, .gs-cases, .gs-pull, .gs-dots, .gs-more, .gs-sticky-cta { display: none !important; }
}
