/*
Theme Name: nk
Description: NKスケルトン - custom theme stylesheet
Version: 1.0.0
*/

/* =========================================================
   Base / Design Tokens
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&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(16px, 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: #111;
  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;
	position:relative;
}

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.sp{
	display:none;
}

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

/* ========================================
   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__img {
  height: 24px;
  width: auto;
  transition: 
    height 0.35s ease,
    transform 0.35s ease,
    opacity 0.3s ease;
  will-change: transform;
}

/* ===============================
   スクロール後（縮小状態）
   body に .is-scrolled を付与
================================= */
body.is-scrolled .site-header {
  background: #feb000;
	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);
	filter: brightness(0);
}


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

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

.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 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;
}


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

body.is-scrolled .nav-menu a{
	color:#000;
}

/* 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:#111;
}

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

.drawer-toggle__bar {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #111;
  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);
  transform: translate3d(105%, 0, 0);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 背景に“流れるグラデーション”をうっすら */
.drawer__panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:rgba(254, 176, 0, 1);
  transform: translate3d(0,0,0);
  animation: drawerGlow 8s linear infinite;
  opacity: .95;
  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(0,0,0,.04);
  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;
}

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

/* スタッガー（段階表示） */
.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,.95);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  position: relative;
  overflow: hidden;
}

.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(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
}

/* 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: rgba(0,0,0,0.85);
  border: 1px solid rgba(0,0,0,.8);
  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;
  }
}

/* ========================================
   Contact Menu Button（li.contact）
   通常：#feb000 / 角丸ボタン
   is-scrolled：#333 / #fff
======================================== */

/* li自体の余計な余白対策（メニューUI安定） */
.global-nav .nav-menu li.contact{
  display: flex;
  align-items: center;
}

/* 通常状態（未スクロール） */
.global-nav .nav-menu li.contact > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;              /* 既存ナビと高さ統一 */
  padding: 0 18px;
  border-radius: 999px;      /* 角丸 */
  background-color: #feb000; /* 指定色 */
  color: #111;               /* 視認性の高い黒文字 */
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  text-decoration: none;
  
  transition:all 0.3s ease;
}

/* hover（通常時） */
.global-nav .nav-menu li.contact > a:hover{
  background-color: #e6a200; /* 少しだけ濃い金色 */
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(254,176,0,0.35);
}

/* クリック時 */
.global-nav .nav-menu li.contact > a:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(254,176,0,0.25);
}

/* フォーカス（アクセシビリティ） */
.global-nav .nav-menu li.contact > a:focus-visible{
  outline: 2px solid rgba(254,176,0,0.7);
  outline-offset: 3px;
}

/* ========================================
   スクロール後（body.is-scrolled）
   背景 #333 / 文字 #fff
======================================== */
body.is-scrolled .global-nav .nav-menu li.contact > a{
  background-color: #333;
  color: #fff;
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
	border-radius:0;
}

/* スクロール後 hover */
body.is-scrolled .global-nav .nav-menu li.contact > a:hover{
  background-color: #444; /* 上品な明度差 */
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* current-menu時もボタン維持（WordPress対策） */
.global-nav .nav-menu li.contact.current-menu-item > a,
.global-nav .nav-menu li.contact.current_page_item > a{
  background-color: #feb000;
  color: #111;
}

/* スクロール＋current時 */
body.is-scrolled .global-nav .nav-menu li.contact.current-menu-item > a,
body.is-scrolled .global-nav .nav-menu li.contact.current_page_item > a{
  background-color: #333;
  color: #fff;
}


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

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__title--bg{
	font-family: 'Oswald', sans-serif;
	font-weight:500;
	letter-spacing:0.05em;
	position:absolute;
	z-index:0;
	display:block;
	top:0;
	left:0;
	transform:rotate(90deg) translate(-1em, 0);
	transform-origin:0% 100%;
	color:#feb000;
	font-size:3.5rem;
	text-transform:uppercase;
	line-height:1;
}


/* =========================================================
   Section Typography
========================================================= */
.section__title{
  margin: 0 0 2.5rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
  letter-spacing: .06em;
}

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



.section__title--jp{
  display:inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(231,237,246,.85);
  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: #acacac;
	color:#222;
}


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


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



.footer__container .footer__item{
	width:600px;
	max-width:100%;
	text-align:center;
}



.footer__title img{
	width:160px;
	max-width:70%;
	display:block;
	margin:0 auto 1.5rem auto;
}
.footer__address{
	font-size:0.9rem;
}

.footer__phone{
	font-size:1.45rem;
	font-weight:bold;
	margin:0 0 1.5rem;
	display:flex;
	justify-content:center;
	align-items:center;
}

.footer__phone img{
	width:15px;
	margin:0 0.25rem 0 0 ;
	display:block;
}

.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;
}

@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;
	}
}


/* =========================================================
   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; }
}





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

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

.nk-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: 50%;
  top: 50%;
  z-index: 2;
  color: #fff;
	transform:translate(-50%, -50%);
	min-width:240px;
}

@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 1.2s 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; }
.slide-copy .char:nth-child(12) { animation-delay: 0.60s; }
.slide-copy .char:nth-child(13) { animation-delay: 0.65s; }
.slide-copy .char:nth-child(14) { animation-delay: 0.70s; }
.slide-copy .char:nth-child(15) { animation-delay: 0.75s; }
.slide-copy .char:nth-child(16) { animation-delay: 0.80s; }
.slide-copy .char:nth-child(17) { animation-delay: 0.85s; }
.slide-copy .char:nth-child(18) { animation-delay: 0.90s; }
.slide-copy .char:nth-child(19) { animation-delay: 0.95s; }
.slide-copy .char:nth-child(20) { animation-delay: 1.00s; }

/* キーフレーム（高級系） */
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(0px) scale(0.2);
    filter: blur(6px);
  }
/*  60% {
    opacity: 1;
    transform: translateY(0px) scale(1.08);
    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;
}


.nk-swiper .swiper-slide{
	position:relative;
}
.nk-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の基準位置を確保 */
.nk-swiper {
  position: relative;
}

/* ページネーション本体 */
.nk-swiper .swiper-pagination {
	position: absolute;
	top: auto;
	bottom: 3rem;
	transform: translateY(-50%);
  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;

  z-index: 10;
  pointer-events: auto;
}

.nk-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* アクティブ時 */
.nk-swiper .swiper-pagination-bullet-active {
  background-color:#feb000;
}

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

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.nk-swiper .swiper-slide-active img,
.nk-swiper .swiper-slide-duplicate-active img,
.nk-swiper .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;
}

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

.news-ticker {
  width: 100%;
}

.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;
}

.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 About
======================================== */

section.home#about {
	background-color:#ddd;
	position:relative;
}

section.home#about01,
section.home#about03{
	background-color:#acacac;
	position:relative;
}


section.home#about02,
section.home#about04{
	background-color:#ddd;
	position:relative;
}

section.home#about .section__title--bg{
	font-family: 'Oswald', sans-serif;
	font-weight:500;
	letter-spacing:0.05em;
	position:absolute;
	z-index:0;
	display:block;
	top:0;
	left:0;
	transform:rotate(90deg) translate(-1em, 0);
	transform-origin:0% 100%;
	color:#feb000;
	font-size:3.5rem;
	text-transform:uppercase;
	line-height:1;
}

@media screen and (max-width:900px){
	section.home#about .section__title--bg{
		z-index:2;
		font-size:2rem;
	}		
}

section.home#about .container{
	position:relative;
	z-index:1;
}

section.home#about .about__container{
	display:flex;
	gap:3rem;
}

section.home#about .about__container .about__item{
	width:calc(50% - 1.5rem);
}

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

section.home#about .about__button a{
	background-color:#feb000;
	color:#fff;
	padding:0.5rem 3.5rem;
	border-radius:100vh;
	font-size:0.9rem;
	font-weight:bold;
	position:relative;
	line-height:1;
	transition:all 0.3s ease;
}

section.home#about .about__button a:before{
	position:absolute;
	display:block;
	content:'';
	width:1rem;
	height:1rem;
	background-image:url(assets/images/home/button__icon--down.svg);
	background-repeat:no-repeat;
	background-position:50% 50%;
	top:0.5rem;;
	right:0.5rem;
}

section.home#about .about__button a:hover{
	background-color:#333;
}

section.home#about .about__image{
	display:block;
	max-width:75%;
	margin:auto;
}

section.home.about{
	padding:0;
	overflow-x:clip;
}

section.home.about .about__container{
	display:flex;
	gap:0rem;
	width:100vw;
	margin:0 calc(50% - 50vw);
}

section.home.about.inverse .about__container{
	margin:0 0 0 calc(50% - 50vw);
	flex-direction:row-reverse;
}

section.home.about .about__container .about__item{
	display:flex;
	flex-direction:column;
	justify-content:center;
}

section.home.about .about__container .about__item:nth-child(1){
	width:40%;
	padding:1.5rem 3.5rem;
}

section.home.about .about__container .about__item:nth-child(2){
	width:60%;
}

@media screen and (max-width:900px){
	section.home#about .about__container{
		flex-direction:column-reverse;
	}
	section.home#about .about__container .about__item{
		width:100%!important;
	}
	section.home#about .about__image{
		max-width:55%;
	}
	section.home.about.inverse .about__container,
	section.home.about .about__container{
		flex-direction:column-reverse!important;
		margin:0;
		width:100%;
		padding-top:1.5rem!important;
		padding-bottom:1.5rem!important;
		padding-top:3.5rem!important;
		padding-bottom:3.5rem!important;
	}
	section.home.about .about__container .about__item{
		width:100%!important;
	}
	section.home.about .about__container .about__item:nth-child(1){
	padding:1.5rem 2.5rem;
	}
}

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

.about02 li{
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.about02 li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1em;
  color: #666;
}
/* ========================================
   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;
}

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:#acacac;
	color:#000;
	overflow-x:clip;
}


section.home#works .section__title span{
	position:relative;
}

section.home#works .section__title span:after{
	content:'';
	display:block;
	position:absolute;
	width:9rem;
	height:9rem;
	background-image:url(assets/images/home/works__title--icon.svg);
	background-size:contain;
	background-position:50% 50%;
	background-repeat:no-repeat;
	right:0;
	top:0;
	transform:translate(2.5rem, -75%);
	z-index:1;
}

.case-carousel .case-swiper{
	padding-bottom:4rem;
}

.case-swiper__slide{
background-color:#dddddd;
}
.case-swiper__thumb{
  aspect-ratio: 16 / 9;
  overflow:hidden;
  border-radius: 0px;
}
.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: 1.5rem;
}
.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{
  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__nav{
	position:absolute;
	bottom:1.5rem;
	transform:translate(0,0);
	z-index:1;
}
.case-swiper__prev.swiper-button-prev{
left:0;

}
.case-swiper__next.swiper-button-next{
right:0;
}

.case-swiper__nav{
	justify-content:flex-start;
	align-items:flex-end;
	margin:0rem 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__prev.swiper-button-prev,
.case-swiper__next.swiper-button-next{
	background-color: #feb000;
	color:#fff;
	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;
}


@media screen and (max-width:900px){
	section.home#works .section__title--bg{
		z-index:2;
		font-size:2rem;
		
	}
	section.home#works .section__title{
		align-items:center;
	}

}

/* ========================================
   Home Recruit
======================================== */

section.home#recruit{
	background-color:#ddd;
	
}

section.home#recruit .section__title span{
	position:relative;
}

section.home#recruit .section__title span:after{
	content:'';
	display:block;
	position:absolute;
	width:12rem;
	height:9rem;
	background-image:url(assets/images/home/recruit__title--icon.svg);
	background-size:contain;
	background-position:50% 50%;
	background-repeat:no-repeat;
	left:0;
	bottom:0;
	transform:translate(75%, 0%);
	z-index:1;
}


section.home#recruit  .container{
	
}

section.home#recruit{
	padding:0;
	overflow-x:clip;
}

section.home#recruit .recruit__container{
	display:flex;
	gap:0rem;
/*	width:calc(50vw + 50%);
	margin:0 calc(50% - 50vw) 0 0;*/
	width:100vw;
	margin:0 calc(50% - 50vw);
}

section.home#recruit .recruit__container .recruit__item:nth-child(1){
/*	width:560px;*/
	width:50vw;
/*	padding:1.5rem 1.5rem 1.5rem 0;*/
	padding:1.5rem 4.5rem;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
}

section.home#recruit .recruit__container .recruit__item:nth-child(2){
	width:calc(100% - 560px);
	width:50%;
}

@media screen and (max-width:900px){
	section.home#recruit{
	padding-bottom:5rem;
	}
	section.home#recruit .recruit__container{
		flex-direction:column-reverse;
		width:100vw;
	}
	section.home#recruit .section__title--bg{
		z-index:1;
		font-size:2rem;
		
	}
	section.home#recruit .section__title{

	}
	section.home#recruit .recruit__container .recruit__item:nth-child(1){
	padding:1.5rem 2.5rem;
	}
	section.home#recruit .section__title span:after{
	transform: translate(55%, 0%);
	}
}


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;
	margin:1.5rem 0 0 0;
}

section.home#recruit .recruit__button a{
	background-color:#feb000;
	color:#fff;
	padding:0.5rem 3.5rem;
	border-radius:100vh;
	font-size:0.9rem;
	font-weight:bold;
	position:relative;
	line-height:1;
	transition:all 0.3s ease;
}

section.home#recruit .recruit__button a:before{
	position:absolute;
	display:block;
	content:'';
	width:1rem;
	height:1rem;
	background-image:url(assets/images/home/button__icon--down.svg);
	background-repeat:no-repeat;
	background-position:50% 50%;
	top:0.5rem;;
	right:0.5rem;
}

section.home#recruit .recruit__button a:hover{
	background-color:#333;
}



@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 Company
======================================== */

section.home#company{
	background-color:#acacac;
	position:relative;
}

section.home#company .section__title span{
	position:relative;
}

section.home#company .section__title span:after{
	content:'';
	display:block;
	position:absolute;
	width:12rem;
	height:9rem;
	background-image:url(assets/images/home/company__title--icon.svg);
	background-size:contain;
	background-position:50% 50%;
	background-repeat:no-repeat;
	left:0;
	bottom:0;
	transform:translate(30%, 20%);
	z-index:1;
}

section.home#company .section__title--bg{
	transform:rotate(-90deg) translate(1em, 0);
	left:auto;
	right:0;
	transform-origin:100% 100%;
}

section.home#company{
	padding:0;
	overflow-x:clip;
}

section.home#company .company__container{
	display:flex;
	flex-direction:row-reverse;
	gap:0rem;
	width:100vw;
	margin:0 calc(50% - 50vw);
}

section.home#company .company__container .company__item:nth-child(1){
	width:50%;
	padding:1.5rem 3.5rem;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
}

section.home#company .company__container .company__item:nth-child(2){
	width:50%;
}

table.company{
	border-collapse:collapse;
	border-top:1px solid rgba(255,255,255,0.4);
}


table.company th{
	white-space:nowrap;
}

table.company th,
table.company td{
	text-align:left;
	padding:0.5rem;
	border-bottom:1px solid rgba(255,255,255,0.4);;
}

@media screen and (max-width:900px){
	section.home#company .section__title--bg{
		z-index:2;
		font-size:2rem;
	}
	section.home#company .company__container{
		flex-direction:column-reverse;
	}
	section.home#company .company__container .company__item{
		width:100vw!important;
	}
	
	section.home#company .company__container .company__item:nth-child(1){
		padding:1.5rem 2.5rem;
	}
}


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

section.home#contact{
	background-color:#ddd;
}


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


@media screen and (max-width:900px){
	section.home#contact .section__title--bg{
		z-index:0;
		font-size:2rem;
	}
	section.home#contact .section__title{
		align-items:center;
	}
}
/* ========================================
   Contact Form 7 - Simple Horizontal Layout
   label + input 横並び / 幅完全統一
======================================== */

/* 全体 */
.cf7-simple{
  max-width: 720px;
  margin: 0 auto;
}

/* 1行（横並び） */
.cf7-simple .cf7-row{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ラベル */
.cf7-simple .cf7-label{
  width: 12rem;
  flex-shrink: 0;
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
	display:block;
}

/* 入力フィールドラッパー（重要） */
.cf7-simple .cf7-field{
  flex: 1;
  min-width: 0; /* flex時の幅ズレ防止 */
	width:calc(100% - 12rem);
}

@media screen and (max-width:900px){
	.cf7-simple .cf7-field{
	width:100%;
	}
	.cf7-simple .cf7-row{
		padding:0;
	}
	.cf7-simple{
		max-width:90%;
		}
	.cf7-simple .cf7-row > p{
		margin-bottom:0;
	}
}

/* CF7自動生成のspan対策（幅統一の核心） */
.cf7-simple .wpcf7-form-control-wrap{
  display: block;
  width: 100%;
}

/* input / textarea 長さ完全統一 */
.cf7-simple input[type="text"],
.cf7-simple input[type="email"],
.cf7-simple textarea{
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* フォーカス */
.cf7-simple input[type="text"]:focus,
.cf7-simple input[type="email"]:focus,
.cf7-simple textarea:focus{
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* textarea高さだけ調整（幅はinputと完全一致） */
.cf7-simple textarea{
  height: 160px;
  resize: vertical;
}

/* 送信ボタンエリア */
.cf7-simple .cf7-actions{
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

/* 送信ボタン（黄色＋角丸） */
.cf7-simple input[type="submit"]{
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ffd400;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.15s ease, filter 0.2s ease;
}

/* hover */
.cf7-simple input[type="submit"]:hover{
  filter: brightness(0.95);
}

/* クリック時 */
.cf7-simple input[type="submit"]:active{
  transform: translateY(1px);
}

/* エラーメッセージ */
.cf7-simple .wpcf7-not-valid-tip{
  font-size: 13px;
  margin-top: 6px;
  color: #d00;
}

/* 送信結果メッセージ */
.cf7-simple .wpcf7-response-output{
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.wpcf7-spinner{
	display:block;
}

/* ========================
   SP対応（縦並び）
======================== */
@media (max-width: 640px){
  .cf7-simple .cf7-row{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cf7-simple .cf7-label{
    width: 100%;
  }

  .cf7-simple .cf7-actions{
    justify-content: center;
  }

  .cf7-simple input[type="submit"]{
    width: 100%;
  }
}





/* 16:9のスライダー */
.js-fade-swiper{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* 画像を全面に */
.js-fade-swiper .swiper-slide,
.js-fade-swiper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* アクティブ時 */
.js-fade-swiper .swiper-pagination-bullet-active {
  background-color:#feb000;
}

section#about01 .swiper-pagination{
	display:flex;
	justify-content:flex-start;
	padding-right:1.5rem;
	padding-left:1.5rem;
}

section#about02 .swiper-pagination,
section#about04 .swiper-pagination{
	display:flex;
	justify-content:flex-end;
	padding-right:1.5rem;
	padding-left:1.5rem;
}




/* ===== Page ===== */
.page {
  padding: 0px 0 0px;
}

.container--narrow {
  width: min(900px, 92%);
  margin: 0 auto;
}

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

.page-article__content h2 {
  margin: 16px 0 16px;
  font-size: 26px;
  font-weight: 800;
}

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

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

.page-article__content img {
  max-width: 100%;
  height: auto;
/*  margin: 24px 0;*/
/*  border-radius: 12px;*/
}

/* ========================================
   Page Header（KV / 下層ページヘッダー）
======================================== */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #18295c; /* 画像未設定時の保険 */
  color: #fff;
  overflow: clip;
}

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

/* pattern.webp オーバーレイ（任意：使わないなら削除OK） */
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/sanken/assets/images/common/pattern.webp");
  background-repeat: repeat;
  background-size: 320px auto;
  opacity: 0.18; /* 上品な薄さ */
  z-index: 2;
  pointer-events: none;
}

/* 内側コンテナ */
.page-header__inner {
  position: relative;
  z-index: 3;
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* 英語キッカー（例：NEWS / COMPANY） */
.page-header__kicker {
  margin: 0 0 10px;
  font-size: 13px;
  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;
  line-height: 1.3;
	text-align:center;
}

/* 日付（single用） */
.page-header__date {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ========================================
   スクロール縮小（is-scrolled対応）
======================================== */
body.is-scrolled .page-header {
  padding: 100px 0 60px;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
  .page-header {
    padding: 90px 0 50px;
  }

  .page-header__title {
    font-size: 26px;
  }

  .page-header__kicker {
    font-size: 12px;
    letter-spacing: 0.15em;
  }
}


/* ========================================
   Recruit
======================================== */
section.recruit:not(#nav){
	padding:4.5rem 0 4.5rem 0;
}

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

@media screen and (max-width:900px){
	section.recruit:not(#nav){
	padding:5.0rem 0 4.5rem 0;
	}

}

/* ==================================================
   Common Section Head
================================================== */
.section-head{
  position: relative;
  margin: 0 0 22px;
  z-index: 1;
}

.section-head__kicker{
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .78rem;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c81414, #ff4b1f);
}

.section-head__title{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: .06em;
  color: #111;
  font-weight: 800;
}

/* 背景の大きい英字（data-kickerで共通化） */
.section-head::before{
  content: attr(data-kicker);
  position: absolute;
  top: -0.5em;
  left: 0;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 500;
font-family: 'Oswald', sans-serif;
  line-height: 1;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
/* ========================================
   Recruit ナビ
======================================== */
/* ========================================
   Recruit Anchor Navigation
   横並び / 100vw / #feb000
======================================== */
.recruit#nav {
  position: sticky;
  top: 40px;
z-index:999;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-color: #333;

}

.recruit-nav {
  display: flex;
	flex-wrap:wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0rem 1rem;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  background: #333; /* 固定時の透け防止 */
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.recruit-nav li {
  flex: 0 0 auto;
}

.recruit-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}



/* スマホ最適化 */
@media (max-width: 768px) {
  .recruit-nav {
    justify-content: flex-start;
    gap: 0px;
    padding: 0;
  }

  .recruit-nav a {
    font-size: 14px;
    display:block;
	 text-align:center;
    white-space: nowrap; /* 改行防止 */
  }
	.recruit-nav li {
		width:33.333333%;
	}
	.recruit#nav {
		top:60px;
		}
}



/* ========================================
   Recruit メッセージ
======================================== */

/* ==================================================
   Recruit Section Base
================================================== */
.recruit-section{
  padding: 3.5rem 0;
}

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

/* ==================================================
   Message Card
================================================== */
.message-card{
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  padding: clamp(18px, 2.6vw, 28px);
}

.message-card p{
  margin: 0;
  color: #222;
  line-height: 2;
  font-size: 15px;
}

.message-card__note{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(254, 176, 0, 0.18); /* #feb000 の薄い版 */
  border: 1px solid rgba(254, 176, 0, 0.45);
  color: #111;
  font-weight: 700;
  line-height: 1.9;
}

/* responsive */
@media (max-width: 768px){
  .message-card{
    padding: 18px 14px;
  }
}


/* ========================================
   Recruit 魅力
======================================== */

/* ========================================
   Appeal Cards（働く魅力・環境用）
======================================== */
.appeal-cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.appeal-card{
  position: relative;
  padding: 24px 24px 22px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transition: 
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
  overflow: hidden;
}



.appeal-card__title{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* アイコン（丸ドット） */
.appeal-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, #feb000, #ffd54f);
  flex-shrink: 0;
}

.appeal-card__text{
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #333;
}

/* タブレット */
@media (max-width: 900px){
  .appeal-cards{
    grid-template-columns: 1fr;
  }
}

/* スマホ最適化 */
@media (max-width: 640px){
  .appeal-card{
    padding: 20px 16px 18px;
  }

  .appeal-card__title{
    font-size: 18px;
  }

  .appeal-card__text{
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ========================================
   Recruit 先輩の声
======================================== */


/* ========================================
   Recruit 求める人物像
======================================== */

/* ========================================
   Candidate List（求める人物像）
======================================== */
.candidate-list{
  margin-top: 24px;
}

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

/* 1行カード */
.candidate-list__item{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  position: relative;
  overflow: hidden;
}



/* 番号 */
.candidate-list__num{
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #feb000, #ffd54f);
  box-shadow: 0 6px 16px rgba(200,20,20,0.25);
  flex-shrink: 0;
}

/* テキスト */
.candidate-list__text{
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* スマホ最適化 */
@media (max-width: 640px){
  .candidate-list__item{
    padding: 16px 14px;
    gap: 14px;
  }

  .candidate-list__num{
    min-width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .candidate-list__text{
    font-size: 15px;
  }
}


/* ========================================
   Recruit 募集要項
======================================== */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.8;
}

.recruit-table th,
.recruit-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7ee;
  vertical-align: top;
}

.recruit-table th {
  width: 200px;
  background: #f7f8fb;
  font-weight: 700;
  color: #333;
  text-align: left;
  white-space: nowrap;
}

.recruit-table td {
  color: #111;
}

/* スマホ最適化（縦積み） */
@media (max-width: 768px) {
  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    border-bottom: none;
    padding-bottom: 4px;
    background: none;
    color: #666;
    font-size: 14px;
  }

  .recruit-table td {
    padding-top: 0;
/*    margin-bottom: 16px;*/
  }

  .recruit-table tr {
    display: block;
/*    border-bottom: 1px solid #e5e7ee;
    padding-bottom: 12px;
    margin-bottom: 12px;*/
  }
}

/* =========================
   Floating Button（Merged）
   - 見切れ対策：safe-area + 縦書きはspanだけ
========================= */

body .recruit__button--floating{
  position: fixed;
  bottom: 3.5rem;
  right: max(0px, env(safe-area-inset-right)) !important; /* 見切れ対策 */
  left: auto !important;
  z-index: 99;
  transition: all 0.3s ease;
}

body.is-scrolled .recruit__button--floating{
  position: fixed;
  bottom: 1.5rem;
  right: max(0px, env(safe-area-inset-right)) !important; /* 念のため維持 */
  z-index: 99;
}

.recruit__button--floating a{
  position: relative;
  right: 0;

  display: flex;
  flex-direction: column; /* 縦積みで安定 */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 1rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;

  color: #000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  background-color: #feb000;

  z-index: 0;
  transition: all 0.3s ease;

  /* a全体は横書きに戻す（縦書きはspanだけに付与） */
  writing-mode: horizontal-tb;
  text-orientation: mixed;

  /* 右端欠け保険 */
  overflow: visible;
  max-width: 3.5rem;
}

.recruit__button--floating a img{
  width: 0.9rem;
  height: auto;
  display: block;
  margin: 0; /* リセット */
  flex: 0 0 auto;
}

.recruit__button--floating a span{
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
}

body.is-scrolled .recruit__button--floating a{
  padding: 0.9rem 0.6rem; /* 縦積み前提で安定 */
}

.recruit__button--floating a:hover{
  background-color: rgba(225,225,225,0.7);
  color: #000;
}







    /* full width（左右はみ出しもOK） */
    section.loop-slider{
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      overflow:hidden;
      position: relative;
      padding: 0!important;
    }



    .loop-viewport{
      position:relative;
      z-index:1;
    }

    /* 1列の帯 */
    .loop-track{
      display:flex;
      align-items:center;
      gap: var(--gap);
      will-change: transform;
      animation: marquee var(--duration, 30s) linear infinite;
      transform: translate3d(0,0,0);
    }

    /* 1セット分（JSで複製して並べる） */
    .loop-set{
      display:flex;
      align-items:center;
      gap: var(--gap);
    }

    .loop-item{
      flex: 0 0 auto;
      height: var(--h);
      overflow:hidden;
		margin:0!important;
    }

    /* “横長1枚でもOK”→横長比率に寄せたい場合 */
    .loop-item.is-wide{
      width: clamp(320px, 42vw, 680px);
    }

    /* 複数画像→カード幅を一定に */
    .loop-item.is-card{
      width: clamp(220px, 26vw, 420px);
    }

    .loop-item img{
      width:100%;
      height:100%;
/*      object-fit: cover;*/
      display:block;
      transform: translateZ(0);
display:block;
		line-height:0;
    }

    @keyframes marquee{
      from{ transform: translate3d(0,0,0); }
      to  { transform: translate3d(calc(-1 * var(--set-width, 1000px)),0,0); }
      /* “1セット分”だけ左へ移動 → 直後に同じ内容が続くので途切れない */
    }


/* =========================
   Recruit Message Card
========================= */

.message-card{
  margin-top: clamp(40px, 6vw, 80px);
  display:flex;
  align-items:center;
  gap: clamp(40px, 6vw, 80px);
  background:#fff;
  padding: 1.5rem;
  border-radius:6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* 左テキスト */
.message-card__body{
  flex:1;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height:1.9;
  color:#333;
}

/* 右写真 */
.message-card__image{
  flex:1;
  margin:0;
  overflow:hidden;
  border-radius:4px;
}

.message-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px){

  .message-card{
    flex-direction:column;
  }

  .message-card__image{
    width:100%;
    aspect-ratio:16 / 10;
  }

}




.recruit-voice--premium {
  padding: 80px 0;
  background:
    linear-gradient(to bottom, #f7f3eb 0, #f7f3eb 180px, #fff 180px, #fff 100%);
}

.recruit-voice--premium .voice-premium-list {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.recruit-voice--premium .voice-premium-card {
  background: #fff;
  border: 1px solid #ebe4d9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.recruit-voice--premium .voice-premium-card__profile {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  background: linear-gradient(135deg, #fffaf0, #f7f1e4);
  border-bottom: 1px solid #eee4d4;
}

.recruit-voice--premium .voice-premium-card__badge {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #feb000, #ffd54f);
  color: #333;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.recruit-voice--premium .voice-premium-card__body {
  flex: 1;
  min-width: 0;
}

.recruit-voice--premium .voice-premium-card__lead {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b48828;
}

.recruit-voice--premium .voice-premium-card__name {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #18295c;
}

.recruit-voice--premium .voice-premium-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
}

.recruit-voice--premium .voice-premium-card__metaItem {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.recruit-voice--premium .voice-premium-card__metaItem dt {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #7b7b7b;
}

.recruit-voice--premium .voice-premium-card__metaItem dd {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.recruit-voice--premium .voice-premium-qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 32px 32px;
}

.recruit-voice--premium .voice-premium-qa__item {
  margin: 0;
  height: 100%;
  padding: 18px 18px 16px;
  background: #fcfbf8;
  border: 1px solid #efe8dc;
  border-radius: 4px;
}

.recruit-voice--premium .voice-premium-qa__item dt {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  color: #18295c;
}

.recruit-voice--premium .voice-premium-qa__item.voice-premium-qa__item--message dt {
  padding-left: 4.5em;
}

.recruit-voice--premium .voice-premium-qa__item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: #d59a00;
  font-weight: 700;
}

.recruit-voice--premium .voice-premium-qa__item dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

.recruit-voice--premium .voice-premium-qa__item--message {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff8e6, #fffdf6);
  border-color: #f1ddb0;
}

.recruit-voice--premium .voice-premium-qa__item--message dt::before {
  content: "Message";
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  top: 0.2em;
display:block;
}

@media (max-width: 991px) {
  .recruit-voice--premium .voice-premium-qa {
    grid-template-columns: 1fr;
  }

  .recruit-voice--premium .voice-premium-qa__item--message {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .recruit-voice--premium {
    padding: 56px 0;
    background:
      linear-gradient(to bottom, #f7f3eb 0, #f7f3eb 120px, #fff 120px, #fff 100%);
  }

  .recruit-voice--premium .voice-premium-list {
    gap: 24px;
    margin-top: 32px;
  }

  .recruit-voice--premium .voice-premium-card {
    border-radius: 18px;
  }

  .recruit-voice--premium .voice-premium-card__profile {
    gap: 16px;
    padding: 22px 18px;
    align-items: flex-start;
  }

  .recruit-voice--premium .voice-premium-card__badge {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    font-size: 1.15rem;
  }

  .recruit-voice--premium .voice-premium-card__lead {
    font-size: 0.75rem;
  }

  .recruit-voice--premium .voice-premium-card__name {
    margin-bottom: 10px;
    font-size: 1.15rem;
  }

  .recruit-voice--premium .voice-premium-card__meta {
    display: grid;
    gap: 6px;
  }

  .recruit-voice--premium .voice-premium-card__metaItem {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .recruit-voice--premium .voice-premium-card__metaItem dt,
  .recruit-voice--premium .voice-premium-card__metaItem dd,
  .recruit-voice--premium .voice-premium-qa__item dt,
  .recruit-voice--premium .voice-premium-qa__item dd {
    font-size: 1rem;
  }

  .recruit-voice--premium .voice-premium-qa {
    gap: 12px;
    padding: 18px 18px 20px;
  }

  .recruit-voice--premium .voice-premium-qa__item {
    padding: 14px 14px 13px;
    border-radius: 12px;
  }
}

.container__404{
	padding:3.5rem 0;
	text-align:center;
}


.button__404{
	  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;
}


.privacy-policy{
	width:100%;
	height:10rem;
	overflow-y:scroll;
	padding:1.5rem;
	border:1px solid #ccc;
	background-color:#eeeeee;
	border-radius:0.75rem;
}

.privacy-policy h3{
	margin:0 0 1.5rem;
}

.privacy-policy p{
	margin:0 0 1rem;
}

.privacy-policy-agree{
	text-align:center;
}

.required{
	background-color:#c00;
	color:#fff;
	padding:0.15rem 0.5rem;
	line-height:1;
	border-radius:0.25rem;
	font-size:0.75rem;
}