/*
Template:ystandard
Theme Name:koken-recruit
*/

body{
  width:100%;
  height:100%;
  margin:0 auto;
  padding:0;
  background:#ffffff;
  font-size:16px;
  line-height:1.8em;

}
a{
  text-decoration:none;
}

ol, ul{
  margin: 0;
  padding:0;
}
ul{
  list-style:none;
}

h1, h2, h3, h4, h5, h6{
  margin: 0em;
  padding: 0;
  line-height: 1.5;
  letter-spacing: .05em;
}

h1+h2, h2+h3, h3+h4, h4+h5, h5+h6{
  margin-top: 0;
}

.entry-content h1+h2, .entry-content h2+h3, .entry-content h3+h4, .entry-content h4+h5, .entry-content h5+h6{
  margin-top: 0em;
}

td, th{
  border-right:none;
  border-bottom:none;
}

tr{
  border-left:none;
}

amp-img, img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p{
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6{
  margin: 0em;
}

.ponly{
  display:none;
}
.monly{
  display:block;
}

.site-branding .custom-logo {
   margin-left:2em;
}

.footer-main {
    padding-top: 1em;
	padding-bottom: 1em;}

.footer-poweredby{
  display:none;
}
.grecaptcha-badge{

  visibility: hidden;
}
.container{
  width: 100%;
  padding: 0;
  margin: 0 auto;
  max-width: var(--width-max);
}

.hd, .lp, .ft, .nw {
  --bl: #0b3fa0;   /* メインブルー */
  --bd: #082c73;   /* 濃いブルー */
  --lt: #2a5bc4;   /* 青背景上の英字 */
  --rd: #e5261f;   /* アクセントレッド */
  --tn: #f0f4fa;   /* 薄青 */
  --t2: #e1e9f7;   /* 薄青(濃) */
  --ln: #c9d2e3;   /* 罫線 */
  --tx: #222;
  --ff: "Montserrat", "Arial Black", sans-serif;
}
.lp { --k: 1; --p: 64px; --q: 56px; --sc: #d9e2f5; }   /* --q:セクション上下余白 / --sc:見出し英字色（--k, --p は現在未使用）*/

/* ---------- リセット（ystandardの.entry-content装飾対策：.lp配下で詳細度を上げています）---------- */
.lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp { color: var(--tx); line-height: 1.8; overflow: hidden; }
.lp img { display: block; max-width: 100%; height: auto; }
.lp p { margin: 0; }
.lp ul { margin: 0; padding: 0; list-style: none; }
.lp a { text-decoration: none; }
.lp h1, .lp h2, .lp h3 { margin: 0; padding: 0; border: 0; background: none; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.lp h2::before, .lp h2::after, .lp h3::before, .lp h3::after { content: none; }
.lp section { position: relative; }
.lp .sp { display: inline; }
.lp .in, .nw .in { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* フェードイン（JS有効時のみ）*/
.js .fd { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .fd.on { opacity: 1; transform: none; }

/* ==========================================================
   ヘッダー ／ グローバルナビ（WP標準 wp_nav_menu）
   ========================================================== */
.hd {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 16px;
  background: var(--bl);
  transition: box-shadow .3s;
}
.hd.sc { box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.hd .logo img { width: 130px; }

.mb { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.mb span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.mb span:nth-child(1) { top: 14px; }
.mb span:nth-child(2) { top: 21px; }
.mb span:nth-child(3) { top: 28px; }
.mb.op span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mb.op span:nth-child(2) { opacity: 0; }
.mb.op span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gn { position: absolute; top: 60px; left: 0; width: 100%; max-height: 0; overflow: hidden; background: var(--bd); transition: max-height .4s ease; }
.gn.op { max-height: 80vh; overflow-y: auto; }
.gn .menu { margin: 0; padding: 0; list-style: none; }
.gn .menu li { border-top: 1px solid rgba(255,255,255,.2); }
.gn .menu a { display: block; padding: 16px; color: #fff; text-decoration: none; font-weight: 700; }
.gn .menu a:hover { background: var(--rd); }
.gn .sub-menu { margin: 0; padding: 0 0 0 16px; list-style: none; }
.gn .sub-menu a { font-weight: 400; font-size: 14px; }

/* ==========================================================
   見出し（共通）
   ========================================================== */
.lp .st { position: relative; margin: 0 0 28px; padding-top: 22px; line-height: 1.2; color: var(--tx); }
.lp .st .en { position: absolute; left: 20px; top: -4px; font-family: var(--ff); font-size: 52px; font-weight: 800; font-style: italic; line-height: 1; color: var(--sc); white-space: nowrap; pointer-events: none; }
.lp .st .jp { position: relative; display: block; font-size: 24px; font-weight: 700; }
.lp .st::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 14px; background: var(--rd); transform: skewX(-30deg); }

/* ==========================================================
   写真（角カット＋斜めライン）…About / Message / カード共通
   ========================================================== */
.lp .im { --c: 28px; --lc: #b3bfd8; --lc1: #b3bfd8; position: relative; }   /* --lc1:左上の線 / --lc:右下の線 */
.lp .im img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.lp .im.v img { aspect-ratio: 4 / 5; object-position: center top; }
.lp .im::before, .lp .im::after {
  content: ""; position: absolute; width: calc(var(--c) + 12px); height: calc(var(--c) + 12px); pointer-events: none;
}
.lp .im::before { top: -12px; left: -12px; background: linear-gradient(to bottom right, transparent calc(50% - .75px), var(--lc1) calc(50% - .75px), var(--lc1) calc(50% + .75px), transparent calc(50% + .75px)); }
.lp .im::after { right: -12px; bottom: -12px; background: linear-gradient(to bottom right, transparent calc(50% - .75px), var(--lc) calc(50% - .75px), var(--lc) calc(50% + .75px), transparent calc(50% + .75px)); }

/* ==========================================================
   メインビジュアル（base_eye.png ＋ 文字）
   ・画像に「RECRUIT」の文字と左上の白い斜線が入っているため、CSSでは重ねません
   ・キャッチコピー … RECRUIT の上（画像の高さの 25.9% の位置）
   ・リード文     … 画像の下部（PC・タブレット） / 画像の下の黒地（スマホ）
   ・スマホ …… 画像を --kvw の幅に拡大し、中央の「RECRUIT」が残るよう左右を切り抜き
   ========================================================== */
.lp .kv { --kvw: 165vw; position: relative; overflow: hidden; color: #fff; text-align: center; background: #08090d; }
.lp .kv-pic { position: relative; height: calc(var(--kvw) / 2.088); overflow: hidden; }   /* 2.088 = 画像の縦横比 1282:614 */
.lp .kv-bg { position: absolute; top: 0; left: 50%; width: var(--kvw); max-width: none; height: auto; transform: translateX(-50%); }
.lp .kv-pic::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 18%; background: linear-gradient(rgba(8,9,13,0), #08090d); pointer-events: none; }   /* 下の黒地となじませる */
.lp .kv-cp { position: absolute; top: 25.9%; right: 0; left: 0; z-index: 1; transform: translateY(-50%); font-size: 14px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.lp .kv-tx { padding: 4px 20px 32px; font-size: 13px; line-height: 2; }
.lp .vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* h1：画面には出さず、SEO・読み上げ用 */

/* ==========================================================
   ページ内ナビ（白）
   ========================================================== */
.lp .an { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 16px; background: #fff; border-bottom: 1px solid var(--ln); }
.lp .an li { width: calc((100% - 8px) / 2); }          /* スマホ：2列（楕円の幅をそろえる。7個目は中央） */
.lp .an a { display: block; padding: 8px 4px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--bl); text-align: center; white-space: nowrap; border: 1px solid var(--bl); border-radius: 20px; transition: background .3s, color .3s; }
.lp .an a:hover { background: var(--bl); color: #fff; }

/* ==========================================================
   ① About（青）
   ========================================================== */
.lp .ab { padding: var(--q) 0; color: #fff; background: var(--bl); }
.lp .ab .st { color: #fff; }
.lp .ab-bx { display: grid; gap: 32px; }
.lp .ab-ti { margin: 0 0 14px; font-size: 20px; line-height: 1.6; color: #fff; }
.lp .ab-tx p { font-size: 15px; line-height: 2; }
.lp .ab-tx p + p { margin-top: 1em; }

/* ==========================================================
   ② Message（薄青）
   ========================================================== */
.lp .mg { padding: var(--q) 0; background: var(--tn); }
.lp .mg-bx { display: grid; gap: 32px; }
.lp .mg-im { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
.lp .mg-ti { margin: 0 0 14px; font-size: 20px; line-height: 1.7; color: var(--bl); }
.lp .mg-tx p { font-size: 15px; line-height: 2; }
.lp .mg-tx p + p { margin-top: 1em; }
.lp .mg-nm { margin-top: 20px; font-size: 24px; font-weight: 600; line-height: 1.75; text-align: right; }
.lp .mg-nm small { display: block; font-size: 14px; font-weight: 400; color: #555; }

/* ==========================================================
   ③⑤ 部門紹介 / 先輩の声（白＋青の斜め背景）
   <960px：タイトル部分に青い帯／960px〜：左上に大きな青い三角
   ========================================================== */
.lp .bs { padding: 0 0 56px; background: #fff; }
.lp .lst { display: grid; grid-template-columns: 1fr; gap: 44px 24px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* タイトル（スマホ・タブレット：青帯） */
.lp .ttl { --cut: 32px; --sc: var(--lt); position: relative; isolation: isolate; margin: 0 -20px; padding: 44px 20px 76px; color: #fff; }
.lp .ttl .st { color: #fff; }
.lp .ttl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bl); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.lp .ttl::after { content: ""; position: absolute; left: var(--ox, 0px); bottom: var(--oy, 0px); z-index: -1;   /* 位置調整：.ttl { --ox:◯px; --oy:◯px; } */
  width: 130px; height: 56px; transform: scale(.7); transform-origin: 0 100%;
  background: linear-gradient(135deg, transparent 49.5px, var(--rd) 49.5px, var(--rd) 70.7px, transparent 70.7px, transparent 79.2px, #fff 79.2px, #fff 83.4px, transparent 83.4px); }
.lp .ttl p { font-size: 15px; line-height: 2; }

/* カード */
.lp .lst > .cd { position: relative; }
.lp .ttl + .cd { margin-top: -100px; }          /* 1枚目の写真を青帯に重ねる（角カットから青が見える）*/
.lp .ttl + .cd .im { --lc1: #fff; }             /* 青の上に乗る左上ラインは白 */
.lp .cd { text-align: center; }
.lp .cd h3 { margin: 18px 0 0; font-size: 18px; line-height: 1.4; color: var(--tx); }
.lp .cd h3 span { margin-left: 1em; }
.lp .cd .yr { margin: 2px 0 8px; font-size: 13px; color: #555; }
.lp .cd p { font-size: 14px; line-height: 1.9; text-align: left; }
.lp .cd h3 + p { margin-top: 8px; }

/* ==========================================================
   ④ Mission（薄青・濃）
   ========================================================== */
.lp .ms { padding: var(--q) 0; background: var(--t2); }
.lp .ms-ct { margin: 0 0 16px; font-size: 22px; font-weight: 800; line-height: 1.7; letter-spacing: .04em; color: var(--bd); }
.lp .ms-ct .mk { background: linear-gradient(transparent 60%, rgba(229,38,31,.25) 60%); }   /* マーカー風の下線 */
.lp .ms-sb { max-width: 40em; margin: 0 0 40px; font-size: 15px; line-height: 2; }
/* 3つの柱：カードではなく、大きな数字＋罫線で見せるタイポグラフィ構成 */
.lp .ms-ls { border-top: 2px solid var(--bd); }
.lp .ms-ls li { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; padding: 24px 0; border-bottom: 1px solid #aebbd8; }
.lp .ms-ls .no { grid-row: 1 / 4; font-family: var(--ff); font-size: 44px; font-weight: 800; font-style: italic; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--bl); }
.lp .ms-ls .lb { display: block; font-family: var(--ff); font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--rd); }
.lp .ms-ls h3 { margin: 2px 0 6px; font-size: 20px; line-height: 1.5; color: var(--bd); }
.lp .ms-ls p { font-size: 14px; line-height: 1.9; }

/* ==========================================================
   ⑥ 求人内容（薄青 / table）
   ========================================================== */
.lp .rc { padding: var(--q) 0; background: var(--tn); }
.lp .sh { margin: 36px 0 14px; padding: 2px 0 2px 12px; font-size: 18px; line-height: 1.4; color: var(--tx); border-left: 4px solid var(--rd); }
.lp .tb { display: block; width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; background: none; }
.lp .tb tbody { display: block; }
.lp .tb tr { display: block; margin: 0 0 12px; border: 0; background: none; }
.lp .tb th, .lp .tb td { display: block; width: 100%; margin: 0; padding: 12px 16px; font-size: inherit; line-height: 1.8; text-align: left; vertical-align: top; }
.lp .tb th { color: #fff; background: var(--bl); border: 1px solid var(--bl); font-weight: 700; }
.lp .tb td { background: #fff; border: 1px solid var(--ln); border-top: 0; }
.lp .tb ul { padding-left: 1.2em; list-style: disc; }
.lp .nt { margin-top: 14px; font-size: 13px; color: #555; }

/* ==========================================================
   装飾なしセクション（About / Message / Mission / 求人内容）の見出し・写真
   ========================================================== */
.lp .ab .st, .lp .mg .st, .lp .ms .st, .lp .rc .st { padding-top: 0; }
.lp .ab .st::after, .lp .mg .st::after, .lp .ms .st::after, .lp .rc .st::after { display: none; }
.lp .ab .st .en, .lp .mg .st .en, .lp .ms .st .en, .lp .rc .st .en { position: static; display: block; margin-bottom: 6px; font-size: 14px; font-style: normal; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--rd); }
.lp .ab .st .en { color: rgba(255,255,255,.75); }   /* 青背景では赤ではなく白系 */
.lp .ab .im img, .lp .mg .im img { clip-path: none; }
.lp .ab .im::before, .lp .ab .im::after, .lp .mg .im::before, .lp .mg .im::after { display: none; }

/* ==========================================================
   エントリー CTA（青）
   ========================================================== */
.lp .ct { padding: var(--q) 0; color: #fff; text-align: center; background: var(--bl); }
.lp .ct-tx { font-size: 20px; font-weight: 700; line-height: 1.7; }
.lp .ct-bx { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 24px; }
.lp .tel { color: #fff; font-family: var(--ff); font-size: 30px; font-weight: 800; line-height: 1.3; }
.lp .tel small { display: block; font-family: sans-serif; font-size: 12px; font-weight: 400; }
.lp .btn { display: block; width: 100%; max-width: 320px; padding: 14px 0; color: #fff; background: var(--rd); border: 2px solid var(--rd); border-radius: 4px; font-size: 20px; font-weight: 800; letter-spacing: .15em; text-align: center; transition: background .3s, color .3s; }
.lp .btn:hover { color: var(--rd); background: #fff; }

/* ==========================================================
   新着情報（WP標準：.nw 内のマークアップ用）
   ========================================================== */
.nw { padding: 48px 0 24px; background: #fff; }
.nw .st { margin: 0 0 24px; line-height: 1.2; }
.nw .st .en { display: block; font-family: var(--ff); font-size: 32px; font-weight: 800; font-style: italic; color: var(--bl); }
.nw .st .jp { font-size: 16px; font-weight: 700; }
.nw .ls { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ln); }
.nw .ls li { border-bottom: 1px solid var(--ln); }
.nw .ls a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px 4px; color: var(--tx); text-decoration: none; transition: background .3s; }
.nw .ls a:hover { background: var(--tn); }
.nw .dt { font-size: 14px; color: #666; }
.nw .cat { padding: 0 12px; font-size: 12px; line-height: 22px; color: #fff; background: var(--bl); border-radius: 11px; }
.nw .nm { width: 100%; font-weight: 700; }

/* ==========================================================
   フッター（紺：CTAの青と区別）
   ========================================================== */
.ft { padding: 40px 0 24px; color: #fff; background: #0c1a3a; text-align: center; }
.ft .logo { display: inline-block; }
.ft address { margin: 16px 0; font-size: 14px; font-style: normal; line-height: 1.9; }
.fl { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 16px; padding: 0; list-style: none; }
.fl a { color: #fff; font-size: 13px; text-decoration: underline; }
.cr { margin: 0; font-size: 12px; opacity: .8; }

/* ==========================================================
   タブレット 768px〜
   ========================================================== */
@media (min-width: 768px) {
  .lp { --k: 1.3; --p: 84px; --q: 72px; }
  .lp .sp { display: none; }
  .lp .in, .nw .in { padding: 0 32px; }
  .lp .im { --c: 34px; }
	

  /* メインビジュアル：画像を横幅いっぱいに。文字は画像上に重ねる（サンプルと同じ位置・画像幅に比例したサイズ） */
  .lp .kv-pic { height: auto; }
  .lp .kv-bg { position: static; width: 100%; max-width: 100%; transform: none; }
  .lp .kv-pic::after { display: none; }
  .lp .kv-cp { font-size: clamp(14px, 2.3vw, 40px); }
  .lp .kv-tx { position: absolute; right: 0; bottom: 8%; left: 0; padding: 0 20px; font-size: clamp(11px, 1.45vw, 24px); text-shadow: 0 1px 6px rgba(0,0,0,.5); }

  .lp .an { gap: 12px; padding: 20px;display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 16px; background: #fff; border-bottom: 1px solid var(--ln); }
  .lp .an li { width: calc((100% - 36px) / 4); }          /* タブレット：4列（2段目は中央） */
  .lp .an a { padding: 8px 4px; font-size: 15px; }

  .lp .st { margin-bottom: 36px; }
  .lp .st .en { left: 28px; font-size: 72px; }
  .lp .st .jp { font-size: 28px; }

  .lp .ab-bx { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .lp .ab-ti { font-size: 24px; }
  .lp .mg-bx { grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
  .lp .mg-im { order: 0; max-width: none; }
  .lp .mg-ti { font-size: 24px; }
  .lp .ms-ct { font-size: 28px; }
  .lp .ms-ls { display: grid; grid-template-columns: repeat(3, 1fr); }
  .lp .ms-ls li { display: block; padding: 28px 24px 0; border-bottom: 0; border-left: 1px solid #aebbd8; }
  .lp .ms-ls li:first-child { padding-left: 0; border-left: 0; }
  .lp .ms-ls .no { display: block; margin-bottom: 14px; font-size: 64px; }

  /* 部門紹介／先輩の声：2カラム */
  .lp .bs { padding-bottom: 72px; }
  .lp .lst { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; padding: 0 32px; }
  .lp .ttl { --cut: 44px; grid-column: 1 / -1; margin: 0 -32px; padding: 56px 32px 92px; }
  .lp .ttl p { max-width: 34em; }
  .lp .lst > .cd:last-child { grid-column: 1 / -1; width: calc(50% - 16px); margin: 0 auto; }   /* 奇数枚の最後を中央に */
  .lp .cd h3 { font-size: 20px; }

  .lp .sh { font-size: 20px; }
  .lp .tb { display: table; font-size: 15px; }
  .lp .tb tbody { display: table-row-group; }
  .lp .tb tr { display: table-row; margin: 0; }
  .lp .tb th, .lp .tb td { display: table-cell; width: auto; padding: 16px 20px; border: 1px solid var(--ln); }
  .lp .tb th { width: 26%; color: var(--bl); background: var(--t2); }

  .lp .ct-tx { font-size: 26px; }
  .lp .ct-bx { flex-direction: row; justify-content: center; gap: 40px; }
  .lp .tel { font-size: 36px; text-align: left; }
  .lp .btn { width: 280px; }

  .nw .st .en { font-size: 44px; }
  .nw .ls a { flex-wrap: nowrap; padding: 20px 8px; }
  .nw .nm { width: auto; }
}

/* ==========================================================
   小型PC 960px〜
   ========================================================== */
@media (min-width: 960px) {
  .lp { --k: 1.6; --p: 100px; --q: 88px; }
  .lp .in, .nw .in { padding: 0 40px; }
  .lp .an { padding: 20px 40px; }
  .lp .an li { width: calc((100% - 72px) / 7); }          /* 小型PC：7個を1行に */
  .lp .an a { font-size: 14px; }

  /* グローバルナビを横並びに */
  .hd { height: 80px; padding: 0 32px; }
  .hd .logo img { width: 180px; }
  .mb { display: none; }
  .gn { position: static; width: auto; max-height: none; overflow: visible; background: none; }
  .gn .menu { display: flex; gap: 4px; }
  .gn .menu li { position: relative; border: 0; }
  .gn .menu a { padding: 8px 14px; font-size: 14px; border-radius: 4px; }
  .gn .sub-menu { position: absolute; top: 100%; left: 0; min-width: 200px; padding: 0; background: var(--bd); opacity: 0; visibility: hidden; transition: opacity .3s; }
  .gn .menu li:hover > .sub-menu { opacity: 1; visibility: visible; }
  .gn .sub-menu li { border-top: 1px solid rgba(255,255,255,.2); }
  .gn .sub-menu a { font-size: 13px; border-radius: 0; }

  .lp .st .en { font-size: 88px; }
  .lp .st .jp { font-size: 32px; }
  .lp .ab-bx { gap: 64px; }
  .lp .ab-ti { font-size: 26px; }
  .lp .mg-bx { gap: 64px; }
  .lp .ms-ct { font-size: 34px; }
  .lp .ms-ls li { padding: 36px 36px 0; }
  .lp .ms-ls .no { font-size: 84px; }
  .lp .ms-ls h3 { font-size: 22px; }
  .lp .ms-ls p { font-size: 15px; }
  .lp .tb th { width: 22%; }

  /* 部門紹介／先輩の声：3カラム＋左上の青い三角（カンプ再現）
     青い三角形と赤い帯は「1枚目の写真(2列目)の左上」を基準に配置します。
       ・斜めの辺は、写真の上辺を左端から --dp の位置で横切る45°の線
       ・--dp は、見出しの文章が青の外に出ない最小値を自動計算（画面が広いときは 72px）
     ▼ 赤い帯の位置は .lst の変数で調整できます（セクションごとに上書き可：.sv .lst { --r1: 300px; } など）
        --r1 : 赤い太帯の開始位置（写真の上端から下へ◯px）   大きいほど帯が短く、下から始まる
        --rw : 赤い太帯の太さ
        --t1 : 赤い細帯の開始位置（写真の上端から下へ◯px）
        --t2 : 赤い細帯の終了位置（写真の上端から下へ◯px）
        --rg : 青い辺と赤い細帯の間隔
        --rt : 赤い細帯の太さ
        --dp : 青い斜め辺の位置（固定したい場合は 100px のように指定）
     ▼ 各パーツを「そのまま平行移動」する変数（正の値＝右／下へ、負の値＝左／上へ）
        --rx, --ry : 赤い太帯   （初期値 24px, 0px … カンプのように青い辺へ少しはみ出して重なる）
        --tx, --ty : 赤い細帯
        --bx, --by : 青い三角形
        ・青い辺から離す／はみ出させる … --rx を大きく（例 30px）、重ねたいなら小さく（0 で辺にぴったり、負で内側）
        ・辺に沿って下へ動かす … --rx:-◯px; --ry:◯px; ／ 上へ動かす … --rx:◯px; --ry:-◯px;  */
  .lp .bs { padding-bottom: 96px; }
  /* 右上の斜線：セクションの上端をまたいで、上のセクションに重ねて表示
     ::before = 太い青線 / ::after = 細い線（現在は青）（別パーツなので、それぞれ単独で動かせます）
     ▼ 調整用の変数（.bs に指定。セクションごとに .sv / .vc で上書き可）
        【長さ】 --h  : 2本まとめた長さ（初期値 80px）／ --h1 : 太い青線だけ ／ --h2 : 細い線だけ
        【太さ】 --w1 : 太い青線の太さ（初期値 40px）／ --w2 : 細い線の太さ（初期値 16px）
        【間隔】 --g  : 青線と赤線のすき間（初期値 6px）
        【位置】 --sx, --sy : 2本まとめて（--sx 正＝左へ / --sy 負＝上へ。初期値 0px, -28px）
                 --x1, --y1 : 青線だけ（正＝右・下 / 負＝左・上）
                 --x2, --y2 : 細い線だけ（正＝右・下 / 負＝左・上）
        例）.sv { --h1: 90px; --w1: 40px; }   … 青線を長く・太く                       */
  .lp .bs { --h: 80px; --h1: var(--h); --h2: var(--h); --w1: 40px; --w2: 16px; --g: 6px; }
  .lp .bs::before, .lp .bs::after {
    content: ""; position: absolute; z-index: 2; top: var(--sy, -28px); right: var(--sx, 0px); width: 400px; pointer-events: none;
  }
  .lp .bs::before {   /* 太い青線：右端から16pxの位置が上端の右角 */
    height: var(--h1); background: var(--bl); transform: translate(var(--x1, -8px), var(--y1, 0px));
    clip-path: polygon(calc(384px - var(--w1)) 0, 384px 0, calc(384px - var(--h1)) var(--h1), calc(384px - var(--w1) - var(--h1)) var(--h1));
  }
  .lp .bs::after {    /* 細い線：太い青線の右隣（すき間 --g） */
    height: var(--h2); background: var(--bl); transform: translate(var(--x2, 16px), var(--y2, -16px));
    clip-path: polygon(calc(384px + var(--g)) 0, calc(384px + var(--g) + var(--w2)) 0, calc(384px + var(--g) + var(--w2) - var(--h2)) var(--h2), calc(384px + var(--g) - var(--h2)) var(--h2));
  }
  .lp .lst {
    --gx: 32px;                                                            /* 列の間隔 */
    --cw: calc((min(100vw, 1200px) - 80px - 2 * var(--gx)) / 3);           /* 1列の幅 */
    --dp: max(72px, calc(470px - var(--cw) - var(--gx)));                  /* 斜めの辺が写真の上辺を横切る位置 */
    --r1: 260px; --rw: 62px;                                               /* 赤い太帯 */
    --t1: 135px; --t2: 300px; --rg: 14px; --rt: 30px;                      /* 赤い細帯 */
    --rx: 24px; --ry: 0px; --tx: -40px; --ty: 80px; --bx: 0px; --by: 0px;     /* 平行移動 */
    position: relative; grid-template-columns: repeat(3, 1fr); gap: 64px var(--gx); padding: 72px 40px 0;
    clip-path: inset(0 -100vw 0 -100vw);    /* 大きな図形がセクションの上下にはみ出さないよう、上下だけ切る */
  }
  .lp .lst::before, .lp .lst::after, .lp .ttl::after {
    content: ""; position: absolute; z-index: 0; top: -1500px; width: 3000px; height: 3000px; pointer-events: none;
  }
  .lp .lst::before, .lp .lst::after { grid-column: 2 / 3; grid-row: 1 / 2; left: calc(var(--dp) - 1500px); }   /* 基準＝1枚目の写真のマス */
  .lp .lst::before { background: var(--bl); clip-path: polygon(0 0, 100% 0, 0 100%); transform: translate(var(--bx), var(--by)); }   /* 青い三角形 */
  .lp .lst::after { background: var(--rd); transform: translate(var(--rx), var(--ry));                      /* 赤い太帯 */
    clip-path: polygon(
      calc(1500px - var(--rw) - var(--r1)) calc(1500px + var(--r1)),
      calc(1500px - var(--r1)) calc(1500px + var(--r1)),
      0 3000px,
      0 calc(3000px - var(--rw))); }
  .lp .ttl::after { z-index: -1; bottom: auto; transform: translate(var(--tx), var(--ty)); background: var(--rd);   /* 赤い細帯（1列目のマス基準） */
    left: calc(var(--dp) + var(--cw) + var(--gx) - 1500px);
    clip-path: polygon(
      calc(1500px + var(--rg) - var(--t1)) calc(1500px + var(--t1)),
      calc(1500px + var(--rg) + var(--rt) - var(--t1)) calc(1500px + var(--t1)),
      calc(1500px + var(--rg) + var(--rt) - var(--t2)) calc(1500px + var(--t2)),
      calc(1500px + var(--rg) - var(--t2)) calc(1500px + var(--t2))); }
  .lp .lst > * { position: relative; z-index: 1; }
  .lp .ttl + .cd { margin-top: 0; }
  .lp .ttl { grid-column: auto; margin: 0; padding: 0; }
  .lp .ttl::before { display: none; }
  .lp .ttl .st .en { left: 24px; font-size: min(5.2vw, 68px); }   /* 隣のカードにはみ出さない大きさ */
  .lp .ttl .st .jp { font-size: 28px; }
  .lp .ttl p { max-width: 15em; font-size: 14px; line-height: 1.9; }
  .lp .lst > .cd:last-child { grid-column: auto; width: auto; margin: 0; }
  .lp .cd p { font-size: 13px; }

  .nw { padding: 72px 0 48px; }
  .lp .ct-tx { font-size: 30px; }
}

/* ==========================================================
   大型PC 1280px〜
   ========================================================== */
@media (min-width: 1280px) {
  .lp { --k: 1.8; --p: 112px; --q: 96px; }
  .lp .im { --c: 40px; }
  .lp .an { padding-right: calc((100% - 1100px) / 2); padding-left: calc((100% - 1100px) / 2); }   /* 大型PC：幅1100pxに収める */
  .lp .an a { font-size: 15px; }
  .hd { padding: 0 48px; }
  .gn .menu { gap: 12px; }
  .gn .menu a { font-size: 15px; }

  .lp .st .en { font-size: 104px; }
  .lp .ab-ti { font-size: 30px; }
  .lp .mg-ti { font-size: 28px; }
  .lp .ms-ct { font-size: 40px; }

  .lp .bs { padding-bottom: 120px; }
  .lp .lst { --gx: 48px; gap: 80px var(--gx); padding-top: 96px; }
  .lp .cd p { font-size: 14px; }

  .lp .ct-tx { font-size: 34px; }
  .lp .tel { font-size: 44px; }
  .nw .st .en { font-size: 56px; }
}


/* ==========================================================
   Contact Form 7 応募フォーム  mobile-first CSS
   WordPress「外観 > カスタマイズ > 追加CSS」または子テーマのstyle.cssへ貼り付け
   ========================================================== */


.entry-form {
  --ink: #1d2733;
  --muted: #6b7785;
  --line: #d9dee4;
  --paper: #ffffff;
  --tint: #f3f5f7;
  --accent: #0e6a73;       /* 深いペトロールブルー */
  --accent-dark: #0a4f56;
  --accent-soft: #e2f1f2;
  --alert: #d6372d;
  --radius: 10px;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px; /* iOSの自動ズーム防止のため16px以上 */
  line-height: 1.7;
  box-sizing: border-box;
}
.entry-form *,
.entry-form *::before,
.entry-form *::after { box-sizing: inherit; }

/* CF7が自動挿入する<br>・<p>の余白を無効化 */
.entry-form br { display: none; }
.entry-form p { margin: 0; }

/* ---------- セクション ---------- */
.entry-form__section {
  margin: 0 0 24px;
  padding: 20px 16px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.entry-form__heading {
  margin: 0 0 8px;
  padding: 0 0 0 12px;
  border-left: 4px solid var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}
.entry-form__heading small {
  margin-left: .5em;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
}

/* ---------- 行 ---------- */
.entry-form__row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.entry-form__row:last-child { border-bottom: 0; }

.entry-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: .9375rem;
  font-weight: 700;
}
.entry-form__row--block { padding-top: 8px; }

/* 必須バッジ */
.entry-form .req {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--alert);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 入力部品 ---------- */
.entry-form .wpcf7-form-control-wrap { display: block; }

.entry-form input[type="text"],
.entry-form input[type="email"],
.entry-form input[type="tel"],
.entry-form input[type="number"],
.entry-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background-color: var(--tint);
  color: var(--ink);
  font: inherit;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.entry-form ::placeholder { color: #9aa5b1; }

.entry-form input:focus,
.entry-form select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ドロップダウンの矢印 */
.entry-form select {
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 年齢 */
.entry-form__field--age { display: flex; align-items: center; gap: 10px; }
.entry-form__field--age .wpcf7-form-control-wrap { width: 110px; }
.entry-form__field--age .unit { font-weight: 500; }
.entry-form input[type="number"] { -moz-appearance: textfield; }
.entry-form input[type="number"]::-webkit-outer-spin-button,
.entry-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- ラジオ・チェックボックス（チップ型） ---------- */
.entry-form .wpcf7-radio,
.entry-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entry-form .wpcf7-list-item { margin: 0; }
.entry-form .wpcf7-list-item label { display: block; cursor: pointer; }

/* 本物のinputは視覚的に隠す（キーボード操作は可能） */
.entry-form .wpcf7-list-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.entry-form .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--tint);
  font-size: .9375rem;
  line-height: 1.3;
  transition: all .15s;
  user-select: none;
}
.entry-form .wpcf7-list-item input:checked + .wpcf7-list-item-label {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
/* チェックボックスは選択時にチェックマークを表示 */
.entry-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 700;
}
.entry-form .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label {
  box-shadow: 0 0 0 4px var(--accent-soft);
  border-color: var(--accent);
}
@media (hover: hover) {
  .entry-form .wpcf7-list-item label:hover .wpcf7-list-item-label { border-color: var(--accent); }
}

/* ---------- 送信ボタン ---------- */
.entry-form__submit { margin-top: 8px; text-align: center; }
.entry-form input[type="submit"],
.entry-form .wpcf7-submit {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #e5261f;
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .15s, transform .1s;
  -webkit-appearance: none;
  appearance: none;
}
.entry-form input[type="submit"]:hover { background: var(--accent-dark); }
.entry-form input[type="submit"]:active { transform: translateY(1px); }
.entry-form input[type="submit"]:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }

.entry-form .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* ---------- バリデーション・結果メッセージ ---------- */
.entry-form .wpcf7-not-valid { border-color: var(--alert) !important; }
.entry-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--alert);
  font-size: .8125rem;
}
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: .9375rem;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); background: var(--accent-soft); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--alert); }

/* ==========================================================
   タブレット以上（768px〜）：ラベル左・入力右の2カラム
   ========================================================== */
@media (min-width: 768px) {
  .entry-form { font-size: 17px; }

  .entry-form__section { padding: 28px 36px 12px; margin-bottom: 32px; }
  .entry-form__heading { margin-bottom: 12px; }

  .entry-form__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: 24px;
    padding: 20px 0;
  }
  .entry-form__row--block { display: block; padding-top: 12px; }
  .entry-form__label { margin: 0; padding-top: 12px; justify-content: space-between; }

  /* 入力幅：標準は中幅、住所・メールは広め */
  .entry-form__field { max-width: 360px; }
  .entry-form__field--wide { max-width: 100%; }
  .entry-form__field--chips { max-width: 100%; }
  .entry-form__field--age { max-width: 240px; }

  .entry-form__submit { margin-top: 16px; }
  .entry-form input[type="submit"] { display: inline-block; width: auto; min-width: 320px; }
}

/* 動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .entry-form * { transition: none !important; }
}

