/*
Theme Name: sanken
Description: 三建工業 - custom theme stylesheet
Version: 1.0.0
*/

/* =========================================================
   Base / Design Tokens
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
  --bg: #0b0f14;
  --bg2:#0f1620;
  --surface:#111a25;
  --text:#0f172a;          /* for light surfaces */
  --text-inv:#e7edf6;      /* for dark surfaces */
  --muted:#a9b6c8;
  --line: rgba(255,255,255,.12);
  --line2: rgba(15,23,42,.12);
  --accent:#2ea7ff;
  --accent2:#2be4b8;

  --container: 1120px;
  --gutter: clamp(20px, 3vw, 28px);

  --radius: 18px;
  --radius2: 26px;

  --shadow: 0 14px 50px rgba(0,0,0,.30);

  --fz-base: clamp(15px, 1.2vw, 16px);
  --lh: 1.8;

  --header-h: 76px;
}

/* WordPress の管理バーがあるとき */
body.admin-bar{
  --header-h: 92px;
}

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

html{
  font-size: var(--fz-base);
  scroll-behavior: smooth;
}

body{
  margin:0;
	color: #000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", sans-serif;
  line-height: var(--lh);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* recruit */
body.page-id-33 {
	background-color:#E9EDF1;
}

img{ max-width:100%; height:auto; display:block; }

a{
  color: inherit;
  text-decoration: none;
}

a:focus-visible{
  outline: 2px solid rgba(46,167,255,.75);
  outline-offset: 3px;
  border-radius: 6px;
}

.container{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}


br.pc{
	display:inline;
}

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

/* ========================================
   Parallax
======================================== */



/* =========================================================
   Component
========================================================= */

/* ========================================
   Button
======================================== */

.button-outline {

  position: relative;
  display: inline-block;
  padding: 0.35rem 3.5rem 0.35rem 3.5rem;
  border: 1px solid #000;
  border-radius: 999px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* 矢印：線2本（1rem * 1px）で「くの字」 */
.button-outline::before,
.button-outline::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 0.5rem;
  height: 1px;
  background-color: #000;
  transform-origin: right center;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

/* 上側の線 */
.button-outline::before {
  transform: translateY(-50%) rotate(35deg);
}

/* 下側の線 */
.button-outline::after {
  transform: translateY(-50%) rotate(-35deg);
}

/* hover：塗り＋矢印を少し右へ、矢印色は白へ */
.button-outline:hover {
  background-color: #000;
  color: #fff;
}

.button-outline:hover::before,
.button-outline:hover::after {
  background-color: #fff;
  /* translateY(-50%) を残しつつ、右へスライド */
  transform: translate(6px, -50%) rotate(var(--rot));
}

/* rotate角度をカスタムプロパティで保持（ホバー時に角度が消えないように） */
.button-outline::before { --rot: 35deg; }
.button-outline::after  { --rot: -35deg; }
.button-outline:hover::before { --rot: 35deg; }
.button-outline:hover::after  { --rot: -35deg; }



.button-outline.inverse {
  border-color:#fff;
	color:#fff;
}

.button-outline.inverse::before,
.button-outline.inverse::after{
	background-color:#fff;
}

.button-outline.inverse:hover::before,
.button-outline.inverse:hover::after{
	background-color:#000;
}
.button-outline.inverse:hover {
	color:#000;
	background-color:#fff;
}

/* =========================================================
   Header
========================================================= */
/* ========================================
   Sticky Header + Logo Shrink（企業サイト王道）
======================================== */

/* 初期ヘッダー */

.site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: 
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
	padding:1rem 0;
}


/* コンテナ高さ（初期） */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.35s ease;
}

.site-logo{
	font-size:1em;
	margin:0;
}

/* ロゴ初期サイズ */
.site-logo__img {
  height: 24px;
  width: auto;
  transition: 
    height 0.35s ease,
    transform 0.35s ease,
    opacity 0.3s ease;
  will-change: transform;
}

/* ===============================
   スクロール後（縮小状態）
   body に .is-scrolled を付与
================================= */

@media screen and (max-width:900px){
	.site-header {
		background: rgba(11, 15, 20, 0.32);
	}
}

body.is-scrolled .site-header {
  background: rgba(11, 15, 20, 0.92);
/*  backdrop-filter: blur(12px);*/
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
	padding:0;
}

/* ヘッダー高さをコンパクトに */
body.is-scrolled .site-header .container {
}

/* ロゴ縮小（ここがメイン） */
body.is-scrolled .site-logo__img {
  height: 20px;
  transform: translateY(0);
}


/* 管理バー対応（WordPressログイン時） */
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-logo a{
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 1.05rem;
  padding: 10px 0;
}

.site-logo a:hover{
  opacity: .92;
}

/* Nav */
.global-nav .nav-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 8px;
}

.global-nav .nav-menu > li{
  margin:0;
  padding:0;
}

.global-nav .nav-menu > li.recruit{
	display:none;
}

.global-nav .nav-menu a{
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(231,237,246,.88);
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  font-weight: 600;
  letter-spacing: .03em;
	text-transform:uppercase;
font-family: "Inter", sans-serif;
}

.global-nav .current-menu-item > a,
.global-nav .current_page_item > a{
  color: var(--text-inv);
}

/* small screens: 横スクロールメニュー */
@media (max-width: 960px){
  .site-header .container{
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .global-nav{
    width: 100%;
  }
  .global-nav .nav-menu{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .global-nav .nav-menu::-webkit-scrollbar{ display:none; }
}


/* =========================
  Drawer Menu (Hamburger)
========================= */

/* ヘッダー配置の最低限（必要なら調整） */
.site-header {

}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* PC: ふつうのナビ */
.global-nav { display: block; }

/* SP: ハンバーガー表示 */
.drawer-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.drawer-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,40,0,.35), rgba(255,120,0,.25), rgba(0,120,255,.18));
  filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}

.drawer-toggle:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.drawer-toggle:hover::before { opacity: 1; }

.drawer-toggle__label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
	color:#fff;
}

.drawer-toggle__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  position: relative;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  transition: background-color .25s ease, transform .25s ease;
}

.drawer-toggle__bar {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform .45s cubic-bezier(.2,.9,.2,1), opacity .25s ease;
}

.drawer-toggle__bar:nth-child(1) { transform: translateY(-6px); }
.drawer-toggle__bar:nth-child(2) { transform: translateY(0); }
.drawer-toggle__bar:nth-child(3) { transform: translateY(6px); }

/* 開いたとき：×に変形（アニメ強め） */
.is-drawer-open .drawer-toggle__icon { transform: rotate(90deg); }
.is-drawer-open .drawer-toggle__bar:nth-child(1) { transform: translateY(0) rotate(45deg); }
.is-drawer-open .drawer-toggle__bar:nth-child(2) { opacity: 0; }
.is-drawer-open .drawer-toggle__bar:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* レスポンシブ */
@media (max-width: 900px) {
  .global-nav { display: none; }
  .drawer-toggle { display: inline-flex; }
}

/* Drawer wrapper */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

/* Backdrop */
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,.40);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .45s ease;
}

/* Panel */
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(0,0,0,.06);
  transform: translate3d(105%, 0, 0);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
/*  box-shadow: -20px 0 60px rgba(0,0,0,.20);*/
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 背景に“流れるグラデーション”をうっすら */
.drawer__panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(135deg, rgba(255,40,0,.18), rgba(255,140,0,.12), rgba(0,120,255,.10), rgba(0,0,0,0));
  transform: translate3d(0,0,0);
  animation: drawerGlow 8s linear infinite;
  opacity: .7;
  pointer-events: none;
}

@keyframes drawerGlow {
  0%   { transform: translate3d(-6%, -4%, 0) rotate(0deg); }
  50%  { transform: translate3d( 6%,  4%, 0) rotate(10deg); }
  100% { transform: translate3d(-6%, -4%, 0) rotate(0deg); }
}

.drawer__head,
.drawer__nav,
.drawer__foot {
  position: relative;
  z-index: 1;
}

/* Head */
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}

.drawer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drawer__brandImg {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
  transform: translateY(0);
  transition: transform .35s ease;
}
.drawer__brand:hover .drawer__brandImg { transform: translateY(-1px); }

/* Close */
.drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255,255,255,.6);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
  position: relative;
}

.drawer__close:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,.06);
}

.drawer__closeIcon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
}
.drawer__closeIcon::before,
.drawer__closeIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 999px;
  transform-origin: center;
}
.drawer__closeIcon::before { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__closeIcon::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Nav */
.drawer__nav {
  padding: 10px 18px 0;
  overflow: auto;
}

/* menu ul */
.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

/* menu li */
.drawer-menu > li {
  opacity: 0;
  transform: translate3d(18px, 10px, 0);
  filter: blur(6px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.16, 1, .3, 1),
    filter .55s ease;
}

/* スタッガー（段階表示） */
.is-drawer-open .drawer-menu > li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.is-drawer-open .drawer-menu > li:nth-child(1) { transition-delay: .10s; }
.is-drawer-open .drawer-menu > li:nth-child(2) { transition-delay: .14s; }
.is-drawer-open .drawer-menu > li:nth-child(3) { transition-delay: .18s; }
.is-drawer-open .drawer-menu > li:nth-child(4) { transition-delay: .22s; }
.is-drawer-open .drawer-menu > li:nth-child(5) { transition-delay: .26s; }
.is-drawer-open .drawer-menu > li:nth-child(6) { transition-delay: .30s; }
.is-drawer-open .drawer-menu > li:nth-child(7) { transition-delay: .34s; }
.is-drawer-open .drawer-menu > li:nth-child(8) { transition-delay: .38s; }
.is-drawer-open .drawer-menu > li:nth-child(9) { transition-delay: .42s; }
.is-drawer-open .drawer-menu > li:nth-child(10){ transition-delay: .46s; }

/* links */
.drawer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius:6px;
  text-decoration: none;
  color: #111;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  position: relative;
  overflow: hidden;
font-family: "Inter", sans-serif;
	text-transform:uppercase;
	font-weight:600;
}

.drawer-menu li.contact {
	display:none;
}

.drawer-menu a::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(255,40,0,.18), rgba(255,140,0,.10), rgba(0,120,255,.10));
  opacity:0;
  transform: translate3d(-20%,0,0);
  transition: opacity .35s ease, transform .45s ease;
  pointer-events:none;
}

.drawer-menu a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:10px;
  height:2px;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  opacity: .9;
  pointer-events:none;
}

.drawer-menu a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  background: rgba(255,255,255,.80);
}
.drawer-menu a:hover::before { opacity: 1; transform: translate3d(0,0,0); }
.drawer-menu a:hover::after { transform: scaleX(1); }

/* current menu */
.drawer-menu .current-menu-item > a,
.drawer-menu .current_page_item > a {
  background: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.9);
}

/* Footer */
.drawer__foot {
  margin-top: auto;
  padding: 16px 18px 22px;
  display: grid;
  gap: 12px;
}

.drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
	border-radius:6px;
  text-decoration: none;
	color: #fff;
background: linear-gradient(135deg, #c81414, #ff4b1f);
  border: 1px solid rgba(255,40,0,.18);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.drawer__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  background: rgba(255,40,0,.16);
}

.drawer__ctaArrow {
  width: 18px;
  height: 18px;
  position: relative;
}
.drawer__ctaArrow::before,
.drawer__ctaArrow::after{
  content:"";
  position:absolute;
  right: 3px;
  top: 50%;
  width: 10px;
  height: 2px;
  background:#111;
  transform-origin: right center;
}
.drawer__ctaArrow::before { transform: translateY(-50%) rotate(35deg); }
.drawer__ctaArrow::after  { transform: translateY(-50%) rotate(-35deg); }
.drawer__note {
  margin: 0;
  font-size: 12px;
  opacity: .7;
}

/* Open state */
.is-drawer-open .drawer { pointer-events: auto; }
.is-drawer-open .drawer__backdrop { opacity: 1; }
.is-drawer-open .drawer__panel { transform: translate3d(0,0,0); }

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  .drawer__panel,
  .drawer__backdrop,
  .drawer-toggle,
  .drawer-toggle__bar,
  .drawer-menu > li,
  .drawer-menu a,
  .drawer__brandImg {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================
   Page Header (Full Width) + Pattern Overlay
   - no gradient overlay
   - featured image background
   - pattern repeats between image and title
========================= */

.page-header{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* フルブリード */
  min-height: clamp(220px, 40vh, 420px);
  display: flex;
  align-items: flex-end;
  overflow-x: clip;
}


body.page-id-33 .page-header,
body.parent-pageid-33 .page-header{
  min-height: 55vh;
}




/* 背景（アイキャッチ） */
.page-header__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* アイキャッチ未設定時の背景（グラデはOKとのことなのでここは残す／不要なら単色に） */
.page-header__bg--fallback{
  background: #0b0f14;
}

/* パターンオーバーレイ（ここが要） */
.page-header__pattern{
  position: absolute;
  inset: 0;
  z-index: 1; /* 背景の上・タイトルの下 */
  pointer-events: none;

  /* ★ パスが原因で見えないケースが多い
     style.css がテーマ直下ならこれでOK
     もし style.css が assets/css にあるなら ../images... に変える */
  background-image: url("assets/images/home/hero__pattern.webp");
  background-repeat: repeat;
  background-position: 0 0;
  background-size: auto;
}

/* タイトル領域 */
.page-header__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(24px, 6vw, 48px);

}

/* タイトル（重厚） */
.page-header__title{
  margin: 0;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
	text-align:center;
}

body.parent-pageid-33 .page-header__copy--recruit,
body.page-id-33 .page-header__copy--recruit{
	text-align:center;
	font-weight:bold;
	font-size:1.75rem;
	margin:0 0 1rem;
}

body.parent-pageid-33 .page-header__logo--recruit,
body.page-id-33 .page-header__logo--recruit{
	margin:0 auto;
	width:400px;
	max-width:100%;
	height:auto;
}

body.parent-pageid-33 body.page-id-33 .page-header__logo--recruit img
body.page-id-33 .page-header__logo--recruit img{
	display:block;
	width:400px;
	max-width:100%;
}

/* 本文との余白 */
.page-main{

}

/* 管理バー対応 */
.admin-bar .page-header{
  margin-top: 32px;
}
@media (max-width: 782px){
  .admin-bar .page-header{
    margin-top: 46px;
  }
}

/* =========================================================
   Main Layout
========================================================= */
.site-main{
padding-bottom: 80px;
	overflow-x:clip;
}

body.home .site-main{
  padding-bottom: 0px;
}


/* section 共通 */
section.home{
  padding: clamp(56px, 7vw, 92px) 0;
}

section.home:not(#hero){
  position: relative;
}

section.home:not(#hero)::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 35%, rgba(255,255,255,.01));
  pointer-events:none;
}




/* =========================================================
   Section Typography
========================================================= */
.section__title{
  margin: 0 0 2.5rem;

  letter-spacing: .06em;
}

.section__title--en{
  display:block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.1;
  position: relative;
  padding-bottom: 10px;
font-family: "Inter", sans-serif;
}



.section__title--jp{
  display:block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.section__copy{
  margin: 0 0 18px;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.section__description{
  color: rgba(231,237,246,.84);
  font-size: 1rem;
}

/* 本文の改行（br）を自然に見せる */
.section__description br{
  content:"";
}

@media (max-width: 640px){
  .section__title{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section__title--en::after{
    width: 56px;
  }
}
/* =========================================================
   Footer
========================================================= */
.site-footer{
  padding: 2.5rem 0;
	background-color: #201a1c;
	color:#fff;
}


.copyright{
  margin: 1.5rem 0 0 0;
  color: #fff;
  font-size: .92rem;
  letter-spacing: .05em;
	text-align:center;
}


.footer__container{
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:3rem;
}



.footer__container .footer__item:nth-child(1){
	width:calc(25% - 1.5rem);
}
.footer__container .footer__item:nth-child(2){
	width:calc(75% - 1.5rem);
}



.footer__title{
	font-size:1.25rem;
	font-weight:bold;
}
.footer__address{
	font-size:0.9rem;
}

.footer__phone{
	font-size:1.1rem;
	font-family: "Inter", sans-serif;
}

.footer-nav ul{
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-end;
	list-style:none;
	margin:0;
	padding:0;
}

.footer-nav ul li a{
	padding:0.5rem 0.75rem;
	color:#fff;
	text-transform:uppercase;
	font-family: "Inter", sans-serif;
}

@media screen and (max-width: 900px) {
	.footer__container{
		gap:1.75rem;
		flex-direction:column-reverse;
	}
	.footer__container .footer__item:nth-child(1),
	.footer__container .footer__item:nth-child(2){
		width:100%;
	}
	.footer-nav ul{
		justify-content:flex-start;
		}
	
	.footer-nav ul li{
		width:33.3333%;
		text-align:center;
	}
	.footer__container .footer__item:nth-child(1){
		text-align:center;
	}
}

/* =========================
   Floating Button
========================= */

.recruit__button--floating{
	position:fixed;
	bottom:1.5rem;
	right:1.5rem;
	z-index:99;
	height:2rem;
	transition: all 0.3s ease;
}

body.is-scrolled .recruit__button--floating{
	right:0.5rem;
	bottom:0.5rem;
}

.recruit__button--floating a{
  position: relative;
  display: inline-block;
  padding: 0.25rem 1.75rem 0.25rem 1rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size:0.9rem;
  line-height:1.5rem;
  height:2rem;
  background: transparent; /* ← グラデは消す */
  overflow: hidden;        /* 擬似要素を丸くクリップ */
  z-index: 0;
  transition: all 0.3s ease;
}

/* グラデーション本体（擬似要素） */
.recruit__button--floating a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;

  /* 赤 → ブラッディオレンジ 135deg */
  background: linear-gradient(135deg, #d10000, #ff3b00);

  transition: 
    transform 0.4s cubic-bezier(.22,.61,.36,1),
    filter 0.4s ease,
    opacity 0.3s ease;
}

.recruit__button--floating a{}

.recruit__button--floating a:hover::before{
opacity:0;
}

.recruit__button--floating a:hover{
	background-color:#fff;
	color:#d10000;
}

.recruit__button--floating a:after{
	position:absolute;
	content:'';
	display:block;
	width:1rem;
	height:1rem;
	background-image:url(assets/images/common/recruit__button--floating.svg);
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:contain;
	right:0.5rem;
	top:0.5rem;
	
}

@media screen and (max-width:1200px){
	.recruit__button--floating a{
		position:relative;
		display:flex;
		align-items:center;
		justify-content:center;
		width:1.5rem;
		min-height:7rem;
		line-height:0;
		writing-mode: vertical-rl;
		  text-orientation: upright;
	  line-height: 1;
	  letter-spacing: 0.1em;
		padding:1.5rem 0.75rem 0.5rem;
	transform:translate(0,-120%);
	}
	.recruit__button--floating a span.en{
		display:none;
	}
		.recruit__button--floating a span.jp{
		display:block;
		line-height:0;
		padding:0;
		width:1rem;
			position:relative;
		left:-0.55rem;
	}
	.recruit__button--floating a:after{
		right:0.25rem;
		top:0.35rem;
	}
}

/* =========================================================
   Utilities
========================================================= */
::selection{
  background: rgba(46,167,255,.35);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .global-nav .nav-menu a{ transition: none; }
}





.sanken-swiper {
  width: 100%;
  height: 100vh;
  min-height: 420px;
  position: relative;
}

.sanken-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.sanken-swiper .swiper-slide img{
	object-fit:cover;
	width:100%;
	height:100%;
}

.slide-card {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  left: 8%;
  bottom: 15%;
  z-index: 2;
  color: #fff;
}

@media screen and (max-width:900px){
	.slide-content {
		bottom:40%;
}
}

.slide-copy {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0em;
  overflow: hidden;
}

/* 1行単位 */
.slide-copy .line {
  display: block;
  overflow: hidden;
}

/* 1文字アニメーション初期状態 */
.slide-copy .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  filter: blur(6px);
	padding:0.025em;
	margin:0;

}

/* アニメーション発火（Swiperアクティブ時） */
.swiper-slide-active .slide-copy .char {
  animation: textReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 遅延（1文字ずつ） */
.slide-copy .char:nth-child(1)  { animation-delay: 0.05s; }
.slide-copy .char:nth-child(2)  { animation-delay: 0.10s; }
.slide-copy .char:nth-child(3)  { animation-delay: 0.15s; }
.slide-copy .char:nth-child(4)  { animation-delay: 0.20s; }
.slide-copy .char:nth-child(5)  { animation-delay: 0.25s; }
.slide-copy .char:nth-child(6)  { animation-delay: 0.30s; }
.slide-copy .char:nth-child(7)  { animation-delay: 0.35s; }
.slide-copy .char:nth-child(8)  { animation-delay: 0.40s; }
.slide-copy .char:nth-child(9)  { animation-delay: 0.45s; }
.slide-copy .char:nth-child(10) { animation-delay: 0.50s; }
.slide-copy .char:nth-child(11) { animation-delay: 0.55s; }

/* キーフレーム（高級系） */
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translateY(-1px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 矢印デザイン（上品） */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}



.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}


.sanken-swiper .swiper-slide{
	position:relative;
}
.sanken-swiper .swiper-slide:after {
	content:'';
	display:block;
	top:0;
	left:0;
	position:absolute;
	width:100%;
	height:100%;
	background-image:url(assets/images/home/hero__pattern.webp);
	background-attachment:fixed;
	z-index:1;
	
}

/* ========================================
   Swiper Pagination：右端・上下中央配置（確定版）
======================================== */

/* Swiperの基準位置を確保 */
.sanken-swiper {
  position: relative;
}

/* ページネーション本体 */
.sanken-swiper .swiper-pagination {
  position: absolute;
	right: 24px!important;
top: 50%!important;              /* ← 上下中央の基準 */
  left: auto!important;
  bottom: auto!important;

  transform: translateY(-50%); /* ← 真ん中に揃える最重要 */
  
  display: flex;
  flex-direction: column;      /* 縦並び */
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 30px!important;
  z-index: 10;
  pointer-events: auto;
}

/* ドットデザイン（企業サイト向け上品） */
.sanken-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important; /* Swiperデフォルト打ち消し */
  background: rgba(255,255,255,0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* アクティブ時（縦UI強調） */
.sanken-swiper .swiper-pagination-bullet-active {
   background: linear-gradient(45deg, #d10000, #ff3b00);
  height: 28px;
  border-radius: 999px;
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .sanken-swiper .swiper-pagination {
    right: 12px;
    gap: 10px;
  }
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.swiper-slide-active img,
.swiper-slide-duplicate-active img,
.swiper-slide-prev img {
  animation: zoomUp 7s linear 0s normal both;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}

/* ========================================
   Home Hero
======================================== */

section.home#hero{
	position:relative;
  min-height:100vh;
  display:flex;
  align-items: center;
	justify-content:center;
  position: relative;
  overflow: hidden;
	padding:0;
}

section.home#hero .container{
	bottom:0;
	background-color:rgba(255,255,255,0.65);
	position:absolute;
	margin:0 auto 1.5rem auto;
	border-radius:100vh;
	z-index:1;
	display:flex;
	flex-direction:row;
	justify-content:center;
	align-items:center;
	height:2rem;
	max-width:780px;
	
}

.hero__ticker--title{
	white-space:nowrap;
	background-color:#000;
	color:#fff;
	border-radius:100vh;
	padding-right:1rem;
	padding-left:1rem;
	display:flex;
	align-items:center;
	margin:0.2rem;
	font-family: "Inter", sans-serif;
}

/* =========================
   News Ticker (Vertical)
========================= */

.news-ticker {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-ticker__swiper {
  height: 1.5rem;
  overflow: hidden;
}

.news-ticker__slide {
  display: flex;
  align-items: center;
  height: 1.5rem;
	line-height:1.5;
}

.news-ticker__link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0; /* ellipsis必須 */
  padding: 0 8px;
}

.news-ticker__date {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color:#000;
font-family: "Inter", sans-serif;
}

.news-ticker__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; /* ←「…」省略 */
  font-weight: 600;
  color:#000;
  letter-spacing: 0.03em;
  transition: opacity 0.25s ease;
}

.news-ticker__link:hover .news-ticker__title {
  opacity: 0.7;
}

/* =========================
   Scroll 
========================= */
a.scroll-down{
  display: block;
  position: absolute;
	z-index:1;
  left: 0.5rem;
  bottom: 0;
  padding: 10px 10px 110px;
  overflow: hidden;
color:rgba(255,255,255,1);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: auto;
  text-decoration: none;
  writing-mode: vertical-lr;
	transition:all 0.5s ease 0s;
transform:translate(0 , 0);
}

a.scroll-down:hover{
	color:rgba(255,255,255,0.6);
}

a.scroll-down::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
	background:rgba(255,255,255,0.4);
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ========================================
   Home Vision
======================================== */

section.home#vision {
	background-color:#201a1c;
	color:#fff;
	background-image:url(assets/images/home/vision__image.svg);
	background-repeat:no-repeat;
	background-position:100% 100%;
	background-size:60% auto;
}

section.home#vision .vision__container{
	display:flex;
	gap:3rem;
}

section.home#vision .vision__container .vision__item{
	width:calc(50% - 1.5rem);
}

section.home#vision .vision__container .vision__item:nth-child(2){
	display:flex;
	align-items:flex-end;
}

section.home#vision .vision__button{
	text-align:center;
	margin:1.5rem 0 0 0;
}

@media screen and (max-width:900px){
	section.home#vision .vision__container{
		flex-direction:column;
	}
	section.home#vision .vision__container .vision__item{
		width:100%!important;
	}
}

/* ========================================
   Home Service
======================================== */

section.home#service{
	text-align:center;
	background-image:url('assets/images/home/service__bg.webp');
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-size:cover;
	color:#fff;
}

section.home#service .section__description{
	text-align:center;
}

section.home#service .section__title{
	justify-content:center;
}

section.home#service .service__button{
	margin:2.5rem 0 0 0;
}

/* ========================================
   Home Works
======================================== */

section.home#works{
	background-color:#fff;
	color:#000;
	overflow-x:hidden;
}

.case-swiper__link{
  display:block;
  text-decoration:none;
  color:inherit;
}
.case-swiper__thumb{
  aspect-ratio: 16 / 9;
  overflow:hidden;
  border-radius: 14px;
}
.case-swiper__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.case-swiper__thumb--dummy{
  width:100%;
  height:100%;
  background: #eee;
}
.case-swiper__body{
  padding: 12px 4px 0;
}
.case-swiper__title{
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 6px;
}
.case-swiper__excerpt{
  margin:0 0 10px;
  opacity:.8;
  line-height:1.7;
}
.case-swiper__more{
  display:inline-block;
  font-weight:600;
  opacity:.9;
}
.case-swiper__nav{
  margin-top: 8px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}


/* 外側：画面いっぱいにする */
.case-carousel{
  width: 100vw;
  margin-left: calc(50% - 50vw); /* 画面中央基準でフルブリード化 */
}

/* Swiperの左だけcontainerに揃えるための“開始位置”を作る */
.case-carousel .case-swiper{
  padding-left: var(--container-gutter);
  padding-right: 0; /* 右は画面端まで見せたい */
}

/* container幅に合わせたガター（左右余白）を変数化 */
:root{
  --container-gutter: 16px; /* SP */
}
@media (min-width: 768px){
  :root{ --container-gutter: 24px; }
}

/* もし container が max-width: 1200px; のように決まっているなら
   “container左端に揃える”ために、ガターを計算で出す方法もある */
@media (min-width: 1120px){
  :root{
    --container-gutter: calc((100vw - 1120px) / 2);
  }
}

.case-swiper__prev.swiper-button-prev,
.case-swiper__next.swiper-button-next{
	position:relative;
}

.case-swiper__nav{
	justify-content:flex-start;
	align-items:flex-end;
	margin:2.5rem 0 0 0;
}

.case-swiper__nav .button-outline{
	height:36px;
	display:flex;
	align-items:center;
	font-size:0.8rem;
	padding-right:2.5rem;
	padding-left:2.5rem;
	line-height:0;
}

.case-swiper__next.swiper-button-next{
	left:0!important;
}

.case-swiper__prev.swiper-button-prev{
	left:0!important;
}

.case-swiper__prev.swiper-button-prev,
.case-swiper__next.swiper-button-next{
	background-color: transparent;
	color:#000;
	width:36px;
	height:36px;
	border-radius:100vh;
	padding:5px;
	border-width:1px;
	transition:all 0.3s ease;
	}

.case-swiper__prev.swiper-button-prev:after,
.case-swiper__next.swiper-button-next:after{
		font-size:16px;
	}


.case-swiper__prev.swiper-button-prev:hover,
.case-swiper__next.swiper-button-next:hover{
	background-color:#000;
	color:#fff;
}


/* =========================
   Case More - Line Arrow (No Head)
   親 hover: .case-swiper__link
========================= */

.case-swiper__more{
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-right: calc(4rem + 0.75rem); /* 横棒分の余白 */
  color: inherit;
}

/* 横棒（メイン：4rem） */
.case-swiper__more::before{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4rem;
  height: 1px;
  background-color: currentColor;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.9;
}

/* 斜めの短い直線（0.5rem）※鏃ではなく装飾ライン */
.case-swiper__more::after{
  content: "";
  position: absolute;
  right: 0.1rem;
  top: 50%;
  width: 0.5rem;
  height: 1px;
  background-color: currentColor;
  transform: translateY(-50%) rotate(30deg) translateX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.9;
}

/* 親要素 hover で直線だけ上品に右へスライド */
.case-swiper__link:hover .case-swiper__more::before{
  transform: translateY(-50%) translateX(10px);
}

.case-swiper__link:hover .case-swiper__more::after{
  transform: translate(10px, -50%) rotate(30deg);
}

/* フォーカス対応（アクセシビリティ） */
.case-swiper__link:focus-visible .case-swiper__more::before{
  transform: translateY(-50%) translateX(10px);
}

.case-swiper__link:focus-visible .case-swiper__more::after{
  transform: translateY(-50%) rotate(30deg) translateX(10px);
}
/* ========================================
   Home Recruit
======================================== */

section.home#recruit{
	background-image:url(assets/images/home/recruit__bg.webp);
	background-size:cover;
	background-position:50% 50%;
	background-repeat:no-repeat;
	margin-bottom:9rem;
		color:#fff;
}

@media screen and (max-width:1100px){
	section.home#recruit{
	margin-bottom:17vw;
	}
}

@media screen and (max-width:900px){
	section.home#recruit{
	margin-bottom:0;
	}
}



section.home#recruit > .container{
	transform:translate(0,40%);
	
}

section.home#recruit .recruit__wrapper{
	background-color:#fff;
	border-radius:0.75rem;
	padding:1.5rem;
	box-shadow:0px 10px 15px rgba(0,0,0,0.4);
	color:#000;
}

section.home#recruit .recruit__container{
	display:flex;
	flex-wrap:wrap;
	gap:3rem;
}

section.home#recruit .recruit__description{
	margin:0 0 2.5rem;
}

section.home#recruit .recruit__container .recruit__item{
	width:calc(50% - 1.5rem);

}

section.home#recruit .recruit__subtitle span{
	font-weight:bold;
	padding:0 0 0.25rem;
	border-bottom:3px solid #444;
}

section.home#recruit .recruit__subtitle{
		position:relative;
	margin:0 0 1rem;
}


section.home#recruit .recruit__subtitle:before{
	position:absolute;
	content:'';
	width:100%;
	height:1px;
	background-color:#444;
	display:block;
	bottom:-1px;
}

section.home#recruit .recruit__image--caption{
	text-align:center;
	font-weight:bold;
	font-size:1.15rem;
}

section.home#recruit .recruit__image--kiso{
	display:block;
	margin:0 auto 1.5rem auto;
	max-width:35%;
}

section.home#recruit .recruit__container .recruit__item ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: num;
}

section.home#recruit .recruit__container .recruit__item ol > li {
  position: relative;
  padding-left: 2.2em; /* 丸の分だけ左余白 */
  counter-increment: num;
  line-height: 1.6;
	margin:0 0 0.5rem;
	font-weight:bold;
	font-size:1.15rem;
}

section.home#recruit .recruit__container .recruit__item ol > li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: 0.15em;

  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: #000;     /* 丸：黒 */
  color: #fff;          /* 数字：白 */

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 0.95em;
}

section.home#recruit .recruit__button{
	text-align:center;
}


@media screen and (max-width:900px){
	section.home#recruit {
		background-size:140% auto;
		background-position:50% 0%;	
	}
	section.home#recruit > .container{
		flex-direction:column;
		transform: translate(0, 2.5rem);

	}
	section.home#recruit .recruit__container .recruit__item{
		width:100%!important;
	}
}

/* ========================================
   Home Contact
======================================== */

section.home#contact{
	color:#000;
	text-align:center;
}


section.home#contact .section__title{
	justify-content:center;
}

section.home#contact .contact__number{
	font-size:1.75rem;
	font-weight:bold;
}

section.home#contact .contact__description{
	margin:0 0 2.5rem;
}


section.home#contact .contact__number{
display:flex;
	align-items:center;
	justify-content:center;
	margin:0 0 1rem;
	font-family: "Inter", sans-serif;
}


section.home#contact .contact__number .contact__icon--phone{
	width:36px;
	margin:0 0.5rem 0 0 ;
}








/* ========================================
   About / introduction
======================================== */

section.introduction{
  position: relative;
	padding:4.5rem 0;
}

.introduction__inner{
  position: relative;
}

/* 見出し */
.intro-head{
  margin-bottom: clamp(22px, 3vw, 34px);
}

.intro-head__kicker{
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .78rem;
  color: rgba(231,237,246,.78);
  text-transform: uppercase;
}


.intro-head__title{
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: .06em;
}

.intro-head__lead{
  margin: 0;
  line-height: 1.95;
}

/* =========================================
   ABOUT - Simple Flex Layout（最終仕様）
   ・1枚目：1列
   ・2〜4枚目：3列並列
   ・hoverなし
   ・色変更なし
   ・角丸6px（統一）
========================================= */

.about-grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 24px);
}

/* =========================
   共通カード（全カード同一ベース）
========================= */
.about-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px; /* 指定 */
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* 画像 */
.about-card figure {
  margin: 0;
}

.about-card figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.about-card__title {
  margin: 16px 18px 10px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #111827;
}

.about-card__text {
  margin: 0 18px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(17, 24, 39, 0.78);
}

/* =========================
   1枚目：1列（主役だが装飾差は最小）
========================= */
.about-card:nth-child(1) {
  flex: 0 0 100%;
  max-width: 100%;
}

/* 少しだけ情報量に見合う高さに（色は変えない） */
.about-card:nth-child(1) figure {

}

/* =========================
   2〜4枚目：完全並列3列（同格）
   ※4枚目も同じ扱いで目立たない
========================= */
.about-card:nth-child(n+2) {
  flex: 1 1 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 1024px) {
  /* タブレット：下段2列 */
  .about-card:nth-child(n+2) {
    flex: 1 1 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .about-card:nth-child(1) figure {

  }
}

@media (max-width: 640px) {
  /* SP：全て1列 */
  .about-card:nth-child(1),
  .about-card:nth-child(n+2) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* =========================
   Background Kicker - Infinite Scroll
   右 → 左 ループ（装飾）
========================= */

.intro-head{
  position: relative;
  z-index: 1;
}

/* 小さいキッカー（通常表示）は前面 */
.intro-head__kicker{
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .8rem;
 background: linear-gradient(135deg, #d10000, #ff3b00);
  text-transform: uppercase;
	color:#fff;
	padding:0.25rem 1rem;
}

.intro-head::before{
  content: attr(data-kicker) "  " attr(data-kicker) "  " attr(data-kicker);
  position: absolute;
  top: -3rem;
  right: 0 /* 右側からスタート */
  z-index: 0;
	font-size: 10vw;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
	color: rgba(0,0,0,0.05);

  pointer-events: none;
  user-select: none;

  /* 無限スクロール */
  animation: kickerScroll 30s linear infinite;
}


/* ループアニメーション（右→左） */
@keyframes kickerScroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* =========================
   Flow Section
========================= */
/* =========================================
   FLOW
========================================= */

.flow {
  padding-block: clamp(64px, 8vw, 120px);
}

.flow__inner {
  position: relative;
}

/* steps */
.flow-steps {
  list-style: none;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
}

/* card */
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
  padding: clamp(16px, 2.6vw, 22px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
  overflow: hidden;
}

/* image */
.flow-step__image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
}

.flow-step__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

/* number */
.flow-step__num {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 14px;

  color: #fff;
  background: linear-gradient(135deg, #d10000, #ff3b00);

}

/* body */
.flow-step__body {
  min-width: 0;
  padding-top: 6px;
}

.flow-step__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  letter-spacing: .02em;
  color: #111827;
}

.flow-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(17, 24, 39, .78);
}

/* hover */
@media (hover: hover) {
  .flow-step:hover .flow-step__image img {
    transform: scale(1.08);
  }

  .flow-step:hover {
    border-color: rgba(24, 41, 92, .18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .10);
  }
}

/* responsive */
@media (max-width: 820px) {
  .flow-step {
    grid-template-columns: 1fr;
  }

  .flow-step__num {
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
  }

  .flow-step__image {
    aspect-ratio: 16 / 9;
  }
}

/* accessible focus (if you later wrap li contents in a link) */
.flow-step :is(a, button):focus-visible {
  outline: 3px solid rgba(24, 41, 92, .35);
  outline-offset: 3px;
  border-radius: 12px;
}



/* =========================================
   Case Latest Shortcode
========================================= */

.case-latest-sc {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

/* columns */
.case-latest-sc--col-1 { grid-template-columns: 1fr; }
.case-latest-sc--col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-latest-sc--col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-latest-sc--col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.case-latest-sc__card {
  margin: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.case-latest-sc__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-latest-sc__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  overflow: hidden;
}

.case-latest-sc__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-latest-sc__img--dummy {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.case-latest-sc__title {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #111827;
}

/* more button */
.case-latest-sc__more {
  margin-top: clamp(18px, 2.4vw, 28px);
  display: flex;
  justify-content: center;
}

.case-latest-sc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .04em;
}

.case-latest-sc__btn::after {
  content: "›";
  font-size: 1.1em;
  line-height: 1;
}

/* responsive */
@media (max-width: 1024px) {
  .case-latest-sc--col-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .case-latest-sc--col-3,
  .case-latest-sc--col-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .case-latest-sc--col-2,
  .case-latest-sc--col-3,
  .case-latest-sc--col-4 { grid-template-columns: 1fr; }
}


/* ========================================
   Company
======================================== */

section.company {
	padding:3.5rem 0;
}

/* =========================
   Company DL - Horizontal Layout
========================= */

dl.company{
  display: grid;
  grid-template-columns: 130px 1fr; /* 左ラベル固定幅＋右可変 */
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 0;
}

/* 行の区切り線を作るため */
dl.company dt,
dl.company dd{
  padding: 0.5rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* 左側（項目） */
dl.company dt{
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  position: relative;
}

/* 左にアクセントライン（sankenデザイン相性◎） */
dl.company dt::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0;
      background: linear-gradient(135deg, #d10000, #ff3b00);
}

/* 右側（内容） */
dl.company dd{
  color:#111;
  line-height: 1.9;
}

/* ホバーでうっすら反応（高級感） */
dl.company dt:hover,
dl.company dd:hover{
  background: rgba(255,255,255,.03);
  transition: background 0.3s ease;
}

/* =========================
   Responsive（スマホは縦積み）
========================= */
@media (max-width: 768px){
  .company{
    grid-template-columns: 1fr; /* 1カラムに変更 */
  }

  .company dt{
    padding: 14px 16px 6px;
    border-bottom: none;
  }

  .company dd{
    padding: 0 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .company dt::before{
    display: none; /* SPはライン非表示でスッキリ */
  }
}

/* =========================================
   equipment - Equal Grid Layout
   ・全カード同サイズ
   ・PC：3列
   ・SP：2列
   ・角丸6px（統一）
   ・主役カードなし（完全同格）
========================================= */

.equipment-grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 24px);
}

/* =========================
   共通カード（全カード同一）
========================= */
.equipment-card {
  position: relative;
  flex: 1 1 calc((100% - 24px) / 2); /* 3列 */
  max-width: calc((100% - 24px) / 2);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* 画像 */
.equipment-card figure {
  margin: 0;
  background: #e5e7eb;
}

.equipment-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト */
.equipment-card__title {
  margin: 16px 18px 10px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #111827;
}

.equipment-card__text {
  margin: 0 18px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(17, 24, 39, 0.78);
}

/* =========================
========================= */
@media (max-width: 1024px) {
  .equipment-card {
    flex: 1 1 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}

/* =========================
   スマホ：2列
========================= */
@media (max-width: 640px) {
  .equipment-card {
    flex: 1 1 calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

/* =========================
   極小画面（任意：1列にしたい場合）
========================= */
@media (max-width: 380px) {
  .equipment-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ========================================
   Case archive
======================================== */

section.case{
	padding:3.5rem 0;
	color:#111;
}

/* =========================
   Case Shortcode Grid (flex)
========================= */

.case-sc{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 20px);
	color:#111;
}

/* columns（クラスで制御） */
.case-sc--col-1 .case-sc__card{ width: 100%; }
.case-sc--col-2 .case-sc__card{ width: calc(50% - (clamp(12px, 2vw, 20px) / 2)); }
.case-sc--col-3 .case-sc__card{ width: calc(33.3333% - (clamp(12px, 2vw, 20px) * 2 / 3)); }
.case-sc--col-4 .case-sc__card{ width: calc(25% - (clamp(12px, 2vw, 20px) * 3 / 4)); }

@media (max-width: 1024px){
  .case-sc--col-3 .case-sc__card,
  .case-sc--col-4 .case-sc__card{
    width: calc(50% - (clamp(12px, 2vw, 20px) / 2));
  }
}
@media (max-width: 640px){
  .case-sc__card{ width: 100% !important; }
}

/* card */
.case-sc__card{
  margin: 0;
}

.case-sc__link{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 20px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.case-sc__link:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  border-color: rgba(255,255,255,.16);
}

.case-sc__thumb{
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-sc__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .45s ease;
}

.case-sc__link:hover .case-sc__img{
  transform: scale(1.04);
}

.case-sc__img--dummy{
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.08);
}

.case-sc__title{
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.5;
  color: #111;
}

/* pagination */
.case-sc__pagination{
  margin-top: clamp(22px, 4vw, 40px);
}

.case-sc__pagination ul{
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.case-sc__pagination a,
.case-sc__pagination span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#111;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.case-sc__pagination a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.case-sc__pagination .current{
  background: rgba(55,55,55,.18);
  border-color: rgba(55,55,55,.35);
  color: #111;
}

.case-sc__empty{
  margin: 0;
  opacity: .85;
}



/* ========================================
   Case Single
======================================== */
/* =========================
   Single Case
========================= */



.case-hero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(260px, 46vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.case-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 50% 50%;
  transform: scale(1.02);
}

.case-hero__bg--fallback{
  background: #111a25;
}

/* 既存pattern（hero__pattern.webp） */
.case-hero__pattern{
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url(assets/images/home/hero__pattern.webp);
  background-repeat: repeat;
  background-position: 0 0;
  opacity: .25;
  pointer-events: none;
}

.case-hero__inner{
  position: relative;
  z-index: 2;
  padding-bottom: clamp(22px, 5vw, 46px);
}

/* Kicker */
.case-hero__kicker{
  display: inline-block;
  margin: 0 0 10px;
  padding: .25rem 1rem;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .18em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d10000, #ff3b00);
  border-radius: 999px;
}

/* Title */
.case-hero__title{
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  color: rgba(231,237,246,1);
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.case-single{
  padding: clamp(44px, 6vw, 80px) 0;
	color:#111;
}

.case-single__inner{
  display: grid;
  gap: 26px;
}

.case-single__article{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  box-shadow: 0 12px 20px rgba(0,0,0,.15);
  padding: clamp(18px, 3vw, 34px);
}

/* 本文の基本体裁（テーマに合わせて調整可） */
.case-single__content{
  line-height: 2.0;
}

.case-single__content h2,
.case-single__content h3{
  letter-spacing: .04em;
  margin-top: 1.6em;
}

.case-single__content a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   Prev / Next
========================= */

.case-nav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}

.case-nav__item{
  min-width: 0;
}

.case-nav__link{
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  color:#111;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  min-height: 72px;
}

.case-nav__link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}

.case-nav__label{
  font-size: .72rem;
  letter-spacing: .18em;
  opacity: .7;
}

.case-nav__title{
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-nav__center{
  display: grid;
  place-items: center;
}

.case-nav__back{
  white-space: nowrap;
}

/* SP */
@media (max-width: 900px){
  .case-nav{
    grid-template-columns: 1fr;
  }
  .case-nav__center{
    order: -1;
  }
}
/* =========================
   Case Eyecatch (本文先頭)
========================= */

.case-single__eyecatch{
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.case-single__eyecatch-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .6s ease;
}

/* hoverで微ズーム（高級演出） */
.case-single__eyecatch:hover .case-single__eyecatch-img{
  transform: scale(1.03);
}


/* =========================
   Case Nav with Thumbnail
========================= */

.case-nav{
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

/* カード本体 */
.case-nav__card{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 6px;
  text-decoration: none;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 20px rgba(0,0,0,.15);

  transition: 
    transform .35s cubic-bezier(0.22, 1, 0.36, 1),
    background .35s ease,
    border-color .35s ease;
}

.case-nav__card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
}

/* サムネ */
.case-nav__thumb{
  width: 120px;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.case-nav__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.case-nav__card:hover .case-nav__thumb img{
  transform: scale(1.06);
}

/* 画像なし */
.case-nav__thumb--dummy{
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0f14, #201a1c);
}

/* テキスト部分 */
.case-nav__body{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-nav__label{
  font-size: .7rem;
  letter-spacing: .2em;
  font-weight: 800;
  opacity: .6;
}

.case-nav__title{
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .04em;

  /* 長いタイトル省略 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 中央ボタン */
.case-nav__center{
  display: flex;
  align-items: center;
  justify-content: center;
	color:#111:

}

/* SP最適化 */
@media (max-width: 900px){
  .case-nav{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-nav__card{
    grid-template-columns: 90px 1fr;
    padding: 12px;
  }

  .case-nav__thumb{
    width: 90px;
  }

  .case-nav__center{
    order: -1;
  }
}

/* thumbnail専用サイズ（軽量＆均一） */
.case-nav__thumb{
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1; /* 正方形固定 */
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.case-nav__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* 歪み防止（最重要） */
  display: block;
}

/* SP最適化 */
@media (max-width: 768px){
  .case-single__eyecatch{
    margin: 0 0 20px;
    border-radius: 14px;
  }
}





.case-gallery {
  margin-top: 4rem;
}

.case-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-gallery__item {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

.case-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}

.case-gallery__item:hover img {
  transform: scale(1.03);
  opacity: .92;
}

@media (min-width: 768px) {
  .case-gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
}






/* =========================
   Contact Form 7 - Sanken Style
========================= */

.contact{
  padding: clamp(56px, 7vw, 92px) 0;
}

/* CF7全体カード */
.cf7{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  box-shadow: 0 12px 20px rgba(0,0,0,.15);
  padding: clamp(18px, 3vw, 34px);
}

/* 2カラム（label / input） */
.cf7__grid{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px 18px;
  align-items: start;
}

/* 1フィールドを「2列にまたがって」並べる */
.cf7__field{
  display: contents; /* gridの列を使うため */
}

.cf7__field--full .cf7__label{
  grid-column: 1;
}
.cf7__field--full .cf7__control{
  grid-column: 2;
}

/* label */
.cf7__label{
  font-weight: 800;
  letter-spacing: .06em;
  color: #111;
  padding-top: 12px;
}

/* 必須 */
.cf7__req{
  display: inline-flex;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(209,0,0,.35);
  border: 1px solid rgba(255,59,0,.35);
}

/* control wrapper */
.cf7__control{
  min-width: 0;
}

/* input / textarea */
.cf7__input,
.cf7__textarea{
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.05);
  color: #111;
  border-radius: 4px;
  padding: 14px 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}

.cf7__textarea{
  min-height: 180px;
  resize: vertical;
}

/* placeholder */
.cf7__input::placeholder,
.cf7__textarea::placeholder{
  color: #555;
}

/* focus */
.cf7__input:focus,
.cf7__textarea:focus{
  border-color: rgba(46,167,255,.55);
  box-shadow: 0 0 0 4px rgba(46,167,255,.18);
  background: rgba(15,22,32,.06);
}


.cf7-privacy-box {
  margin: 24px 0 16px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.cf7-privacy-box__inner {
  max-height: 9em;
  overflow-y: scroll;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.cf7-privacy-box__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.cf7-privacy-box__inner p {
  margin: 0 0 1em;
}

.cf7-privacy-box__inner p:last-child {
  margin-bottom: 0;
}

.wpcf7 form .cf7-privacy-box {
  margin-top: 16px;
}

.wpcf7 form .wpcf7-acceptance {
  display: block;
  margin: 14px 0 20px;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   Radio (pill)
========================= */

/* CF7のuse_label_elementのlabelをピル化 */
.cf7__control--radio .wpcf7-list-item{
  margin: 0 10px 10px 0;
  color:#111;
}

.cf7__control--radio .wpcf7-list-item label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.05);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
}

.cf7__control--radio .wpcf7-list-item label:hover{
  transform: translateY(-1px);
  background: rgba(15,22,32,.12);
  border-color: rgba(255,255,255,.10);
}

/* ネイティブradioを見た目調整 */
.cf7__control--radio input[type="radio"]{
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(231,237,246,.55);
  background: transparent;
  display: inline-grid;
  place-items: center;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.cf7__control--radio input[type="radio"]::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: scale(0);
  transition: transform .18s ease;
  background: linear-gradient(135deg, #d10000, #ff3b00);
}

.cf7__control--radio input[type="radio"]:checked{
  border-color: rgba(255,59,0,.75);
  box-shadow: 0 0 0 4px rgba(255,59,0,.15);
}

.cf7__control--radio input[type="radio"]:checked::before{
  transform: scale(1);
}

/* =========================
   Submit Button
========================= */

.cf7__actions{
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.cf7__submit{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;

  background: linear-gradient(135deg, #d10000, #ff3b00);
  box-shadow: 0 10px 14px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.cf7__submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,.38);
  filter: saturate(1.08);
}

.cf7__submit:active{
  transform: translateY(0);
}

/* CF7のスピナー位置調整 */
.wpcf7-spinner{
  margin-left: 10px;
}

/* エラー文・バリデーション */
.wpcf7-not-valid-tip{
  color: rgba(255,120,120,1);
  font-weight: 700;
  margin-top: 8px;
}

.wpcf7-response-output{
  border-radius: 16px;
  margin: 18px 0 0;
  padding: 14px 14px;
  border-color: rgba(255,255,255,.12);

}

/* =========================
   Responsive（←ここだけ調整）
   スマホ時：label → input を縦並び
========================= */
@media (max-width: 900px){
  .cf7__grid{
    grid-template-columns: 1fr; /* 1列化で縦並び */
  }

  /* display: contents のままだと崩れる環境対策 */
  .cf7__field{
    display: block;
  }

  .cf7__label{
    padding-top: 0;
    margin-bottom: 6px;
  }

  .cf7__actions{
    justify-content: center;
  }

  .cf7__submit{
    width: 100%;
  }
}



/* ==================================================
   recruit
================================================== */

section.recruit{
	padding:3.5rem 0;
}

@media screen and (max-width:900px){
	section.recruit{
	padding:6.5rem 0 3.5rem;
}
}


section.recruit.bg-gray{
	background-color:#dcdcdc;
}

section.recruit#voices{
	background-image:url(assets/images/recruit/voices__bg.webp);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:50% 50%;	
	position:relative
}


section.recruit#voices::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/home/hero__pattern.webp");
  background-repeat: repeat;
.benefit-cards  pointer-events: none;
}

section.recruit#voices .introduction__inner{
	  z-index: 3;
	position:relative;
}

section.recruit#voices .intro-head__title{
	color:#000;
}

section.recruit#daily-flow{
	background-image:url(assets/images/recruit/daily-flow__bg.webp);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:50% 50%;
	
}

section.recruit#last .intro-head__title{
	color:#fff;
}


section.recruit#daily-flow .intro-head__title{
	color:#111;
}
/* =========================================
   Lead Text - Center Decor Style
   ・中央寄せ
   ・1行目のみ大きく強調
   ・中央装飾ライン（企業サイト向け上品）
========================================= */

.lead-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center; /* 中央寄せ */
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: #333;
}

/* =========================
   メインコピー（1行目）
========================= */
.lead-text__main {
  font-size: clamp(24px, 3.5vw, 40px); /* 1行目を大きく */
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: clamp(20px, 3vw, 32px);
  position: relative;
  display: inline-block; /* 中央装飾のため */
  padding-bottom: 18px;
}

/* 中央装飾ライン（センター基準） */
.lead-text__main::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: clamp(60px, 8vw, 120px);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(135deg, #d10000, #ff3b00);
}

/* =========================
   本文テキスト
========================= */
.lead-text__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: #111;
  max-width: 780px;
  margin: 0 auto;
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .lead-text {

  }

  .lead-text__main {
    letter-spacing: 0.05em;
    padding-bottom: 14px;
  }

  .lead-text__sub {
    line-height: 1.9;
    font-size: 15px;
  }
}

/* =========================
   recruit 魅力
========================= */
/* ===== Benefits Cards ===== */
.benefit-cards {
  padding: clamp(48px, 6vw, 88px) 0;
  background: #333;
	border-radius:6px;
}

.benefit-cards__inner {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.benefit-card__media,
.benefit-card__media img{
	border-radius:4px;
}

.benefit-cards__head {
  margin-bottom: 28px;
}

.benefit-cards__title {
  margin: 0 0 10px;
  line-height: 1.2;
}

.benefit-cards__title-en {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 700;
}

.benefit-cards__title-jp {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
}

.benefit-cards__lead {
  margin: 0;
  color: #fff;
  line-height: 1.8;
}

.benefit-cards__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  position: relative;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 220px at -10% -20%, rgba(24,41,92,0.12), transparent 55%);
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: rgba(24,41,92,0.25);
}

.benefit-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #18295c;
  background: rgba(24,41,92,0.08);
  border: 1px solid rgba(24,41,92,0.12);
  border-radius: 999px;
}

.benefit-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}

.benefit-card__text {
  margin: 0;
  color: #444;
  line-height: 1.9;
}

/* responsive */
@media (max-width: 980px) {
  .benefit-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .benefit-cards__grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    padding: 20px 18px 18px;
    border-radius: 6px;
  }
}
.support-box {
text-align:center;
	padding:2rem 0 0 0;
}

/* リスト */
.support-box__list {
  display: flex;
	justify-content:center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.support-box__list li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0.04em;
  transition: all .2s ease;
}

.support-box__list li::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.7em;
  border-radius: 50%;
  background: #a8885c;
  flex: 0 0 auto;
}

/* hoverちょいリッチ */
.support-box__list li:hover {
  background: rgba(168, 136, 92, 0.15);
  border-color: rgba(168, 136, 92, 0.5);
}

/* テキスト */
.support-box__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 2;
  font-weight: 500;
}

.support-box__text strong {
  display: block;
  margin-bottom: 0.6em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.7;
  font-weight: 700;
  color: #fff;
}

/* SP */
@media (max-width: 767px) {
  .support-box__list li {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
  }
}

/* =========================
   recruit 先輩社員の声
========================= */
/* ===== Voices ===== */
.introduction__inner {
  margin: 0 auto;
}

.intro-head {
  margin-bottom: 18px;
}

/* card */
.voice {
  margin-top: 22px;
  border-radius: 6px;
  border: 1px solid #e6e8ef;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  overflow: hidden;
}

.voice__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(90deg, rgba(24,41,92,.10), transparent 65%);
  border-bottom: 1px solid #eef0f6;
}

.voice__label {
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 800;
  color: #18295c;
  background: rgba(24,41,92,.08);
  border: 1px solid rgba(24,41,92,.12);
  border-radius: 999px;
}

.voice__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

/* quote body */
.voice__body {
  position: relative;
  margin: 0;
  padding: 22px 22px 18px;
}


.voice__body p {
  margin: 0 0 14px;
  color: #333;
  line-height: 2;
  font-size: 15px;
}

.voice__body p:last-of-type {
  margin-bottom: 0;
}

/* emphasis */
.voice__mark {
  padding: 0 .3em;
  border-radius: 6px;
  background: rgba(255, 214, 0, .35);
  color: inherit;
}

/* tags */
.voice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.voice__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #444;
  background: #f4f5f8;
  border: 1px solid #e7e9f0;
}

/* responsive */
@media (max-width: 640px) {
  .voice__head {
    padding: 16px 14px 12px;
  }
  .voice__body {
    padding: 18px 14px 16px;
  }
  .voice__body::before {
    left: 10px;
  }
}

/* =========================
   recruit こんな方歓迎
========================= */
/* ===== Welcome / Ideal Candidates ===== */
.welcome {
  margin-top: 22px;
  padding: 22px 22px 20px;
  border: 1px solid #e6e8ef;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  overflow: hidden;
  position: relative;
}

.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 220px at -10% -20%, rgba(24,41,92,0.12), transparent 55%);
  pointer-events: none;
}

.welcome__lead {
  margin: 0 0 14px;
  color: #444;
  line-height: 1.9;
}

.welcome__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.welcome__item {
  position: relative;
  padding: 14px 14px 14px 44px;
  border-radius: 4px;
  background: #f7f8fb;
  border: 1px solid #eceef5;
  color: #111;
  line-height: 1.8;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.welcome__item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 10px;
  transform: translateY(-55%) rotate(-45deg);
  border-left: 3px solid #18295c;
  border-bottom: 3px solid #18295c;
  opacity: .9;
}

.welcome__item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(24,41,92,0.25);
}

/* note */
.welcome__note {
  margin-top: 16px;
  padding: 14px 14px 12px;
  border-radius: 4px;
  background: rgba(230, 120, 90, 0.3);
  border: 1px solid rgba(230, 120, 90, 0.6);;
}

.welcome__note-title {
  margin: 0 0 6px;
  font-weight: 800;
  color: #111;
  letter-spacing: .04em;
}

.welcome__note-text {
  margin: 0;
  color: #333;
  line-height: 1.9;
  font-size: 14px;
}

/* responsive */
@media (max-width: 640px) {
  .welcome {
    padding: 18px 14px 16px;
    border-radius: 16px;
  }
  .welcome__item {
    padding: 12px 12px 12px 40px;
    border-radius: 12px;
  }
  .welcome__item::before {
    left: 12px;
  }
}

/* =========================
   recruit 流れ
========================= */
/* ===== Day Flow Timeline ===== */
.dayflow {
  margin-top: 24px;
  padding: 24px 24px 26px;
  border-radius: 6px;
  border: 1px solid #e6e8ef;
  background:rgba(255,255,255,0.9);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.dayflow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 120px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #18295c, rgba(24,41,92,0.15));
}

.dayflow__lead {
  margin: 0 0 20px;
  color: #444;
  line-height: 1.9;
}

.dayflow__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dayflow__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 0 16px 0;
}

.dayflow__item:not(:last-child) {
  border-bottom: 1px dashed #eceef5;
}

.dayflow__time {
  position: relative;
  min-width: 100px;
  font-weight: 800;
  font-size: 18px;
  color: #18295c;
  letter-spacing: 0.05em;
}

.dayflow__time::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: #18295c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(24,41,92,0.12);
	margin:0 0.15rem 0 0;
}

.dayflow__content {
  flex: 1;
  color: #111;
  line-height: 1.9;
  font-size: 15px;
}

.dayflow__note {
  margin-left: 6px;
  font-size: 13px;
  color: #666;
}

/* hover subtle */
.dayflow__item:hover .dayflow__time {
  transform: translateX(2px);
  transition: transform .2s ease;
}

/* responsive */
@media (max-width: 768px) {
  .dayflow {
    padding: 20px 16px 22px;
  }

  .dayflow::before {
    left: 70px;
  }

  .dayflow__time {
    min-width: 60px;
    font-size: 16px;
  }

  .dayflow__time::after {
    right: -18px;
  }

  .dayflow__item {
    gap: 16px;
  }

  .dayflow__content {
    font-size: 14px;
  }
}


.recruit-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  font-size: 15px;
  line-height: 1.9;
}

.recruit-table th,
.recruit-table td {
  padding: 24px 20px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}

.recruit-table th {
  width: 240px;
  background: #f7f7f7;
  font-weight: 600;
  color: #18295c; /* あなたのよく使うネイビー系に最適 */
  letter-spacing: 0.05em;
}

.recruit-table td {
  background: #fff;
  color: #333;
}

@media (max-width: 768px) {
  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .recruit-table td {
    padding-top: 0;
    padding-bottom: 24px;
  }
}

.recruit__lead{
	color:#111;
	margin:0 0 1rem;
}

/* =========================
   応募ボタン
========================= */
/* ===== Recruit CTA Button ===== */
.recruit__button {
  margin-top: 40px;
  text-align: center;
	position:relative;
	z-index:1;
}

.recruit__button a {
  display: inline-block;
  padding: 12px 36px; /* ← 縦を詰めた */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #ffffff;
  border-radius: 999px; /* 角丸 */
  
  /* 濃い赤 → ブラッディオレンジ（高級感寄り） */
  background: linear-gradient(135deg, #c81414, #ff4b1f);

  border: 2px solid transparent;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.35s ease;

  /* 影も少し重めにして濃い色に合わせる */
  box-shadow: 0 8px 20px rgba(200, 20, 20, 0.35);
  position: relative;
  overflow: hidden;
}


.recruit__button a.button-outline::before, 
.recruit__button a.button-outline::after {
	background-color:#fff;
}

.recruit__button a.button-outline:hover::before, 
.recruit__button a.button-outline:hover::after {
	background-color:#c81414;
}

/* hover：白背景に反転（指定通り） */
.recruit__button a:hover {
  background: #ffffff;
  color: #c81414; /* 濃い赤に統一 */
  border-color: #c81414;
  box-shadow: 0 10px 24px rgba(200, 20, 20, 0.22);
}

/* クリック時 */
.recruit__button a:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(200, 20, 20, 0.25);
}

/* フォーカス（アクセシビリティ） */
.recruit__button a:focus-visible {
  outline: 2px solid #c81414;
  outline-offset: 3px;
}

/* スマホ最適化（採用ページ用に横幅確保） */
@media (max-width: 768px) {
  .recruit__button a {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px; /* モバイルだけ少し余裕 */
    font-size: 15px;
  }
}


/* ===============================
  対極カラー（青緑・ティール系）
=============================== */
.recruit__button a.button-cool {
  /* 深めのティール → 青緑グラデ */
  background: linear-gradient(135deg, #0f4c5c, #1aa6a6);

  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.35);
}

/* hover：白に反転 */
.recruit__button a.button-cool:hover {
  background: #ffffff;
  color: #0f4c5c;
  border-color: #0f4c5c;
  box-shadow: 0 10px 24px rgba(15, 76, 92, 0.22);
}

/* クリック */
.recruit__button a.button-cool:active {
  box-shadow: 0 4px 12px rgba(15, 76, 92, 0.25);
}

/* フォーカス */
.recruit__button a.button-cool:focus-visible {
  outline: 2px solid #0f4c5c;
}

/* outline用の擬似要素も色合わせ */
.recruit__button a.button-cool.button-outline::before, 
.recruit__button a.button-cool.button-outline::after {
  background-color: #fff;
}

.recruit__button a.button-cool.button-outline:hover::before, 
.recruit__button a.button-cool.button-outline:hover::after {
  background-color: #0f4c5c;
}

section.recruit#last{
	text-align:center;
	position:relative;
}
section.recruit#last:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/recruit/last__pattern.webp");
  background-repeat: repeat;
	background-position:0% 0%;
  opacity: 1; /* ← 濃さ調整（0.1〜0.35推奨） */
  z-index: 2;
  pointer-events: none;
	left:0;
	top:0;
	width:100%;
	height:100%;

}

section.recruit#last{
	background-image:url(assets/images/recruit/last__bg.webp);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:50% 20%;
	
}

section.recruit#last .container{
	position:relative;
	z-index:3;
}

.last__lead{
	font-size:1.5rem;
	font-weight:bold;
	color:#fff;
	margin:1rem 0;
}

/* =========================
   求人応募フォーム
========================= */
section.recruit .cf7{
	background-color:rgba(255,255,255,0.85);
}

section.recruit#form .intro-head{
	text-align:center;
}

/* =========================
   求人情報ナビ
========================= */

section.recruit#nav{
	padding:0;
	background:linear-gradient(135deg, #d10000, #ff3b00);
	position:sticky;
	top:40px;
	z-index:999;
}

section.recruit#nav ul{
	display:flex;
	margin:0;
	padding:0;
	list-style:none;
	justify-content:space-around;
	align-items:center;
}

section.recruit#nav ul li a{
	color:#fff;
	padding:0.75rem;
	display:inline-block;
	line-height:1;
	font-weight:bold;
}

@media screen and (max-width:900px){
	section.recruit#nav{
		display:none;
	}
}

/* =========================
   ニュースアーカイブ
========================= */

/* ===== Archive Post List ===== */
.archive-post {
  padding: 60px 0 80px;
}

.archive-head {
  margin-bottom: 32px;
}

.archive-head__kicker {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #18295c;
}

.archive-head__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e7ee;
}

.post-list__item {
  border-bottom: 1px solid #e5e7ee;
}

.post-list__link {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 6px;
  text-decoration: none;
  color: #111;
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.post-list__link:hover {
  background: #f7f8fb;
  padding-left: 14px;
}

.post-list__date {
  min-width: 110px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.post-list__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

.post-list__empty {
  padding: 40px 0;
  color: #777;
}

/* pagination */
.archive-pagination {
  margin-top: 40px;
}

.archive-pagination .nav-links {
  display: flex;
  gap: 8px;
}

.archive-pagination a,
.archive-pagination span {
  padding: 8px 14px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #111;
  border-radius: 6px;
}

.archive-pagination .current {
  background: #18295c;
  color: #fff;
  border-color: #18295c;
}






/* ===== Single Post ===== */
.single-post {
  padding: 0px 0 80px;
}

/* ヘッダー日付 */
.page-header__date {
  display: block;
  margin-top: 12px;
  font-size:1.5rem;
	text-align:center;
  opacity: 0.9;
  letter-spacing: 0.08em;
	color:#fff;
}

/* 記事 */
.container--narrow {
  width: min(800px, 92%);
  margin: 0 auto;
}

.post-article {
  margin-bottom: 60px;
}

.post-article__content {
  font-size: 16px;
  line-height: 2;
  color: #222;
}

/* 見出し整形（企業サイト向け） */
.post-article__content h2 {
  margin: 48px 0 16px;
  font-size: 26px;
  font-weight: 800;
  color: #111;
}

.post-article__content h3 {
  margin: 36px 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.post-article__content p {
  margin-bottom: 20px;
}

.post-article__content img {
  margin: 28px 0;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* メタ */
.post-article__meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e7ee;
}

.post-article__categories a {
  display: inline-block;
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 12px;
  text-decoration: none;
  background: #f4f6fb;
  border-radius: 999px;
  color: #18295c;
  font-weight: 600;
}

/* 前後記事 */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e7ee;
}

.post-navigation a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  transition: color .2s ease;
}

.post-navigation a:hover {
  color: #c81414; /* あなたのCTA赤と相性 */
}

/* 一覧戻るボタン */
/* ===== Back Button（CTA統一：赤グラデ） ===== */
.post-back {
  margin-top: 60px;
  text-align: center;
}

.post-back a {
  display: inline-block;
  padding: 12px 34px; /* 縦詰め仕様 */
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #ffffff;
  border-radius: 999px;
  
  /* 例の濃い赤 → ブラッディオレンジ */
  background: linear-gradient(135deg, #c81414, #ff4b1f);

  border: 2px solid transparent;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.35s ease;

  box-shadow: 0 8px 20px rgba(200, 20, 20, 0.35);
  position: relative;
  overflow: hidden;
}

/* hover：白背景に反転（採用CTAと同仕様） */
.post-back a:hover {
  background: #ffffff;
  color: #c81414;
  border-color: #c81414;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 20, 20, 0.22);
}

/* active（クリック感） */
.post-back a:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(200, 20, 20, 0.25);
}

/* フォーカス（アクセシビリティ） */
.post-back a:focus-visible {
  outline: 2px solid #c81414;
  outline-offset: 3px;
}

/* ===== Page Header with Pattern Overlay ===== */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 黒の可読性レイヤー（下） */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* pattern.webp オーバーレイ（上） */
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/home/hero__pattern.webp");
  background-repeat: repeat;
  background-size: 300px auto; /* 模様の密度調整 */
  opacity: 0.25; /* ← 濃さ調整（0.1〜0.35推奨） */
  z-index: 2;
  pointer-events: none;
}

/* テキストを最前面に */
.page-header__inner {
  position: relative;
  z-index: 3;
  width: min(1100px, 92%);
  margin: 0 auto;
  color: #fff;
}

.page-header__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: 700;
  opacity: 0.9;
}

.page-header__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: 0.05em;
}


/* ------------------------------------------------------------
 * 404
 * ------------------------------------------------------------ */
.container-404{
	margin:1.5rem 0 3.5rem;
	text-align:center;
}
.container_button-404{
	text-align:center;
}



/* ========================================
   求人ページ 固定バナー
======================================== */

.recruit-fixed-banner {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.recruit-fixed-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 150px;
  padding: 1rem 0.5rem;
  background: linear-gradient(135deg, #d10000, #ff3b00);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-decoration: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.recruit-fixed-banner__link:hover {
  opacity: 0.85;
  transform: translateX(-4px);
}

/* SP */
@media screen and (max-width: 900px) {
  .recruit-fixed-banner {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
    width: 100%;
  }

  .recruit-fixed-banner__link {
    width: 50%;
    min-height: auto;
    height: 56px;
    padding: 0 12px;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .recruit-fixed-banner__link:hover {
    transform: none;
  }
	.recruit-fixed-banner {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.recruit-fixed-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px); /* 下にスッと消える */
}
}

