/*
Theme Name: Communitycom Theme Jobs01 Child
Template: communitycom-theme-jobs01
Author: fis株式会社
Description: fis.osaka（採用サイト）の子テーマ。親テーマ更新で消えてほしくない改修をここに入れる。テンプレートPHPを上書きしたい時は、親から同名ファイルをコピーして編集する。
Version: 1.0
Text Domain: communitycom-theme-jobs01-child
*/

/* ここにCSSを書くと親テーマのCSSより後に読み込まれる（＝上書きできる） */

/* ============================================================
 * ここから下は親テーマ style.css から複製（2026-07-20）
 * 親テーマが更新されて上書きされても、このCSSが残るようにするための保険。
 * 子テーマのCSSは親テーマのCSSより後に読み込まれるので、
 * 同じ指定が親側にも残っていても、こちらが優先されて表示は変わらない。
 * 元の場所＝親テーマ style.css の 33〜1017 行目。
 * 今後CSSを足す時は、親ではなくこのファイルの末尾に書くこと。
 * ============================================================ */

/* ───────────────
   5pilates 女性的シンプル枠線（枠は1つ＋四隅の飛び出し線）
──────────────── */
.fivepilates-simple-frame {
  position: relative;
  padding: 20px 40px 35px; /* 上だけ狭く、下はゆとり */
  margin: 40px auto;
  max-width: 780px;
  background: #ffffff;
  border: 1px solid #c8c8c8;  /* 枠線は1本だけ */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  border-radius: 4px;
}

/* 四隅の飛び出し線（細く上品に） */
.fivepilates-simple-frame::before,
.fivepilates-simple-frame::after {
  content: "";
  position: absolute;
  width: calc(100% + 20px);  /* はみ出し量 */
  height: calc(100% + 20px);
  top: -10px;
  left: -10px;
  border: 1px solid #c8c8c8;  /* 同じ細い枠で統一 */
  pointer-events: none;
  border-radius: 6px;
}

/* 上下だけ残す（左右線は切る） */
.fivepilates-simple-frame::before {
  border-left: none;
  border-right: none;
}

/* 左右だけ残す（上下線は切る） */
.fivepilates-simple-frame::after {
  border-top: none;
  border-bottom: none;
}

/* 5pilates 求人ページ｜Soliloquyスライダー調整 */
#soliloquy-container-590_1 {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

h1.content-Title {
  font-weight: 700;          /* 太字 */
  font-size: 2.0em !important;          /* 一回り大きく */
  line-height: 1.4;
  position: relative;
  margin-bottom: 0.8em;
}

@media screen and (max-width: 599px) {
    body h1.content-Title.content-Title {
        font-size: 1.7em !important;
    }
}


h2.wp-block-heading {
  position: relative;
  padding-bottom: 0.7em; /* ← 文字と下線の間 */
  margin-bottom: 24px;
}

h2.wp-block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 122, 0, 0.4);
}

/* h3 見出し：薄いオレンジ背景＋階層感 */
h3.wp-block-heading {
  background: #fff3e0;        /* 薄いオレンジ背景 */
  padding: 10px 16px;
  margin: 32px 0 16px;
  font-size: 1.05rem;         /* h2より控えめ */
  font-weight: 600;
  color: #e67e22;
  border-radius: 6px;
  position: relative;
	border-top:none !important;
}

/* 左に控えめなアクセントで階層を表現 */
h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #f5a623;
  border-radius: 6px 0 0 6px;
}



/* タイトル下の英字サブテキスト */
.content-Title::after {
  content: "fis-company";
  display: block;
  margin-top: 0.4em;
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 122, 0, 0.8); /* 薄めオレンジ */
  text-transform: lowercase;
}

/* 投稿ID 601丸投げプランページ のときだけサブテキストを変更 */
.page-id-601 .content-Title::after {
  content: "大手中小個人実績多数!!";
}

/* 投稿ID601マーケティング＋店舗展開コンサル “丸投げ” プランページ 専用 */

/* ID601専用（投稿/固定ページどっちでも効かせる） */

body.page-id-601 .wp-block-quote {
  position: relative;
  padding: 20px 24px 20px 60px;
  margin: 32px 0;
  background: #f7f7f7;
  border-left: 4px solid #333;
  line-height: 1.7;
}

/* 人物アイコン */
body.page-id-601 .wp-block-quote::before {
  content: "\f007"; /* user */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 22px;
  font-size: 20px;
  color: #333;
}


/* ページ601：リストを本文カラムに合わせて中央揃え */

/* outside を確実に潰す（同じセレクタ＋ショートハンドで上書き） */

body.page-id-601 ul.wp-block-list{
  list-style: disc inside !important;  /* ← inside を確定させる */
  margin: 1.5em 1.1em !important;
  padding-left: 0em !important;
  padding-right: 0.5em !important;
}

/* 点は左、本文だけを揃える */
body.page-id-601 ul.wp-block-list > li{
  padding-left: 1.2em !important;
  text-indent: -1.2em !important;
  margin-bottom: 0.6em !important;
    margin-left: 10px;
  font-size: 1.1em;
}

/* マーカー色 */
body.page-id-601 ul.wp-block-list > li::marker{
  color: rgba(255, 122, 0, 0.6);
}

body.page-id-601 ul.wp-block-list li{
  margin-right: 0em;
}


.mail-cta-wrap {
  text-align: center;
  margin: 40px 0;
}

/* マイクロコピー */
.mail-cta-microcopy {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 122, 0, 0.9);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
	color:#333;
}

/* ボタン */
.mail-cta-btn {
  display: inline-block;
  padding: 16px 36px;
  background-color: #ff7a00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 14px rgba(255, 122, 0, 0.35);
  transition: all 0.25s ease;
}

.mail-cta-btn:hover {
  background-color: #ff8f26;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.45);
  transform: translateY(-2px);
}

/* テキストのマーカー */

.marker {
  background: linear-gradient(
    transparent 65%,
    rgba(255, 235, 59, 0.6) 65%
  );
  padding: 0 2px;
}

/* 採用ページのアイキャッチ画像を消す */

body.postid-82 .content-EyeCatch,
body.postid-405 .content-EyeCatch,
body.postid-79 .content-EyeCatch {
    display: none !important;
}

/* =========================================
   fissaiyousite-eyecatch（求人ページ用アイキャッチ）
   - スマホ：下辺を下に凸のカーブ（上側を基準に楕円）
   - スマホ：画面横幅いっぱい（100dvwでフルブリード）
   - PC：通常幅＋下余白
   ========================================= */

/* =========================
   スマホ表示：下辺を下に凸のカーブに
   ========================= */
@media screen and (max-width: 1023px) {
  .fissaiyousite-eyecatch img {
    clip-path: ellipse(100% 95% at 50% 0%);
  }
}

@media (max-width: 768px) {
  html, body { overflow-x: clip; }

  .fissaiyousite-eyecatch {
    position: relative;
    width: 100vw !important;
    /* 親要素の中央基準で左右にはみ出させる（ズレに強い） */
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
    box-sizing: border-box;
  }

  .fissaiyousite-eyecatch img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    margin-bottom: 25px !important;
  }
}


/* PC表示：下余白だけ */
@media (min-width: 768px) {
  html, body { overflow-x: clip; }

  .fissaiyousite-eyecatch {
    margin-bottom: 20px;
  }

  .fissaiyousite-eyecatch img {
    display: block;
    width: 100%;
    height: auto !important;
  }
}


/* 採用ページインタビュー動画部分のYouTube縦動画用ラッパー */

/* ==============================
   テーマの15pxマージンを無効化
   （この動画ブロックだけ）
============================== */
.page .content-Body > .yt-short-block,
.single .content-Body > .yt-short-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ==============================
   ブロック外側：ページ余白
============================== */
.yt-short-block {
  padding: 0 16px;
  box-sizing: border-box;
}

/* ==============================
   動画ラッパー（スマホ用）
============================== */
.yt-short-wrapper {
  width: 100%;
  max-width: 340px;
  margin: 24px auto;
  position: relative;
  padding-top: 177.78%;      /* 9:16 */
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

/* iframe固定 */
.yt-short-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ==============================
   PC表示：横を「現在の2倍」に
============================== */
@media (min-width: 768px) {
  .yt-short-wrapper {
    width: 500px;            /* ← 250px × 2 */
    height: 888px;           /* ← 500 × 16 ÷ 9 */
    max-width: none;
    padding-top: 0;          /* padding-top方式を無効化 */
    margin: 48px auto;
    border-radius: 14px;
  }
}

/* ==============================
   PC表示：外側paddingを無効化
============================== */
@media (min-width: 768px) {
  .yt-short-block {
    padding-left: 0;
    padding-right: 0;
  }
}
/* ==============================
   PC表示：動画ブロックだけ画面中央(100vw)に出す
============================== */
@media (min-width: 768px) {

  /* ブロックを画面幅にして、左右のカラム制限から外す */
  .yt-short-block{
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box;
  }

  /* wrapperはそのまま中央でOK */
  .yt-short-wrapper{
    margin: 48px auto !important;
  }
}


/* ==============================
   ロゴ無限スクロール（JS同期 / ドラッグで加速）
============================== */

.logo-marquee{
  --logo-gap: 80px;
  --logo-box-w: 180px;
  --logo-h: 46px;

  width: 100%;
  overflow: hidden;                 /* ここは hidden（スクロール綱引きを断つ） */
  margin-top: 50px !important;
  margin-bottom: 50px !important;
  padding: 6px 0;
  position: relative;

  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;              /* 横ドラッグはJSが取る / 縦スクロールはOK */
}

.logo-marquee.is-dragging { cursor: grabbing; }

.logo-marquee{
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: grab;
  margin-bottom: 20px;
}

.logo-marquee:active{
  cursor: grabbing;
}

.logo-track{
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.logo-item{
  flex: 0 0 auto;
  padding: 0 30px;
}

.logo-item img{
  display: block;
  height: 50px;
  width: auto;
  max-width: none;
}

/* 左右フェード */
.logo-marquee.fade-edge::before,
.logo-marquee.fade-edge::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee.fade-edge::before{
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.logo-marquee.fade-edge::after{
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* スマホ */
@media (max-width: 767px){
  .logo-item{
    padding: 0 10px;
  }

  .logo-item img{
    height: 38px;
  }

  .logo-marquee.fade-edge::before,
  .logo-marquee.fade-edge::after{
    width: 40px;
  }
}
.logo-track{
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);

  /* 継ぎ目も均等余白 */
  padding-right: var(--logo-gap);
}

.logo-item{
  flex: 0 0 auto;
  width: var(--logo-box-w);
  display:flex;
  align-items:center;
  justify-content:center;
}

.logo-item img{
  display:block;
  height: var(--logo-h);
  width: 100%;
  object-fit: contain;
  opacity: .85;
  transition: opacity .3s ease;
  pointer-events:none;
}

.logo-item img:hover{ opacity:1; }

@media (max-width: 768px){
  .logo-marquee{
    --logo-gap: 48px;
    --logo-box-w: 140px;
    --logo-h: 36px;
  }
}


/* ==============================
   ご相談・お申し込みの流れ（完全版）
   ✅ 数字とテキストの中央ラインを一致
   ✅ 縦ラインをバッジ中心に一致
============================== */

.flow-apply{
  --flow-pad: 16px;     /* カード内側余白 */
  --badge-size: 44px;   /* バッジ直径 */

  max-width: 960px;
  margin: 32px auto;
  padding: 0 16px;
}

.flow-apply__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.flow-apply__item{
  position: relative;
  display: grid;
  grid-template-columns: var(--badge-size) 1fr;
  gap: 14px;
  align-items: center;                 /* グリッドの基準は中央 */
  padding: var(--flow-pad);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
}

/* バッジ */
.flow-apply__badge{
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(255, 122, 0, 0.9);
}

/* ★ここが肝：テキストは body 側で縦センターを取る */
.flow-apply__body{
  display: flex;
  align-items: center;                 /* ← バッジの中心線に揃える */
  min-height: var(--badge-size);       /* ← 基準高さをバッジに合わせる */
}

/* テキスト（テーマの影響を強めに潰す） */
.flow-apply .flow-apply__text{
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px;
  line-height: 1.5 !important;         /* 読みやすさ優先でOK（bodyで中央揃えするのでズレない） */
  letter-spacing: 0.02em;
}

/* 縦のつなぎ線：バッジ中心に完全一致させる */
.flow-apply__item:not(:last-child)::after{
  content: "";
  position: absolute;
  left: calc(var(--flow-pad) + (var(--badge-size) / 2)); /* ← バッジ中心X */
  top: calc(100% + 6px);
  width: 2px;
  height: 12px;
  background: rgba(255, 122, 0, 0.25);
  border-radius: 999px;
}

/* ==============================
   スマホ最適化
============================== */
@media (max-width: 480px){
  .flow-apply{
    --flow-pad: 14px;
    --badge-size: 40px;
    margin: 24px auto;
  }

  .flow-apply__item{
    border-radius: 12px;
    gap: 12px;
  }

  .flow-apply .flow-apply__text{
    font-size: 15px;
  }

  .flow-apply__item:not(:last-child)::after{
    height: 10px;
  }
}


/* YouTube埋め込み（レスポンシブ） */
/* ==============================
   丸投げプランのところの解説動画
============================== */
/* 外枠：中央配置 */
.yt-embed {
  width: 100%;
  max-width: 960px;          /* PCでの最大幅 */
  margin: 32px auto;         /* 中央寄せ */
  padding: 0 16px;           /* スマホ左右余白 */
  box-sizing: border-box;
}

/* 動画ラッパー */
.yt-embed__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #cccccc; /* ★枠線カラー（説明用にグレー） */
  border-radius: 0;          /* ★角丸なし */
}

/* aspect-ratio非対応対策 */
@supports not (aspect-ratio: 16 / 9) {
  .yt-embed__inner {
    padding-top: 56.25%;
  }
}

/* iframeフィット */
.yt-embed__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* テーマ側マージン打ち消し（ズレ防止） */
.page .yt-embed,
.single .yt-embed,
.entry-content .yt-embed,
.wp-block-html .yt-embed {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==============================
   LINE口コミ部分
============================== */

.voice-marquee{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  background: none;
  cursor: grab;
  margin-bottom: 20px;
}

.voice-marquee:active{
  cursor: grabbing;
}

.voice-track{
  display: flex;
  align-items: center;
  gap: 20px; /* 画像同士の隙間 */
  width: max-content;
  will-change: transform;
}

.voice-item{
  flex: 0 0 auto;
  width: 380px;
  overflow: hidden;
}

.voice-item img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.voice-item img:hover{
  transform: scale(1.02);
}

/* 左右フェード */
.voice-marquee.fade-edge::before,
.voice-marquee.fade-edge::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.voice-marquee.fade-edge::before{
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.voice-marquee.fade-edge::after{
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* =====================
   モーダル（拡大表示）
===================== */

.voice-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
  padding: 20px;
}

.voice-modal.active{
  opacity: 1;
  visibility: visible;
}

.voice-modal img{
  max-width: min(92vw, 900px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* スマホ */
@media (max-width: 768px){
  .voice-track{
    gap: 14px;
  }

  .voice-item{
    width: 280px;
  }

  .voice-item img{
    max-height: 240px;
  }

  .voice-marquee.fade-edge::before,
  .voice-marquee.fade-edge::after{
    width: 36px;
  }
}


/* =====================
   トレーナー採用アカウントボタンデザイン
===================== */

.recruit-line-cta {
  text-align: center;
  margin: 30px auto;
}

.recruit-line-copy {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #2f7d32;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.recruit-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
  background: linear-gradient(180deg, #3dde63 0%, #19b94b 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(25, 185, 75, 0.28),
              0 4px 0 #11913a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  min-width: 320px;
  position: relative;
}

.recruit-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(25, 185, 75, 0.34),
              0 4px 0 #11913a;
  filter: brightness(1.03);
}

.recruit-line-btn:active {
  transform: translateY(2px);
  box-shadow: 0 6px 14px rgba(25, 185, 75, 0.24),
              0 2px 0 #11913a;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.btn-text {
  line-height: 1.2;
}

@media (max-width: 767px) {
  .recruit-line-btn {
    width: 100%;
    max-width: 360px;
    min-width: auto;
    font-size: 16px;
    padding: 16px 22px;
  }

  .recruit-line-copy {
    font-size: 13px;
  }
}

/* =====================
   コンサルページアコーディオンメニューここから
===================== */

.studio-accordion-wrap {
  max-width: 680px;
  margin: 24px auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-family: sans-serif;
}
.studio-accordion-btn {
  width: 100%;
  background: #f5f5f5;
  border: none;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  transition: background 0.2s;
}
.studio-accordion-btn:hover {
  background: #ebebeb;
}
.studio-accordion-icon {
  display: inline-block;
  transition: transform 0.3s;
}
.studio-accordion-btn.open .studio-accordion-icon {
  transform: rotate(180deg);
}
.studio-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: #fff;
  padding: 0 20px;
}
.studio-accordion-body.open {
  max-height: 600px;
  padding: 16px 20px;
}
.studio-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.studio-list li {
  font-size: 14px;
  color: #444;
  padding: 4px 0;
  min-width: 120px;
}
.studio-list li::before {
  content: "・";
  color: #999;
}
/* =====================
   コンサルページアコーディオンメニューここまで
===================== */

/* 求人ページ：トレーナーの声を吹き出しで表示する */
.fis-voices{
  margin:22px 0 30px;
}
.fis-voices p{
  position:relative;
  display:inline-block;
  margin:0 0 12px 14px;
  max-width:100%;
  background:#f2f7f5;
  border-radius:16px;
  padding:13px 20px;
  line-height:1.75;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
}
.fis-voices p:last-child{
  margin-bottom:0;
}
/* 吹き出しのしっぽ */
.fis-voices p::before{
  content:"";
  position:absolute;
  left:-8px;
  top:20px;
  width:0;
  height:0;
  border-style:solid;
  border-width:6px 9px 6px 0;
  border-color:transparent #f2f7f5 transparent transparent;
}
/* 2つめ以降を少しずつ右にずらして、複数人の声に見せる */
.fis-voices p:nth-child(2){ margin-left:34px; background:#f7f4ef; }
.fis-voices p:nth-child(2)::before{ border-right-color:#f7f4ef; }
.fis-voices p:nth-child(3){ margin-left:54px; }
.fis-voices p:nth-child(4){ margin-left:74px; background:#f7f4ef; }
.fis-voices p:nth-child(4)::before{ border-right-color:#f7f4ef; }

@media (max-width:600px){
  .fis-voices p{ margin-left:10px !important; padding:12px 16px; }
}

