@charset "UTF-8";
/*!
Theme Name: AISLE
Theme URI: https://aisle-weld.com
Description: AISLE（アイル）｜プラント配管・ボイラー溶接 コーポレートサイト。モノクロUI＋肉球/猫モチーフ。テンプレ7（c7-1）ベースをモック準拠で再スキン。
Author: AISLE
Version: 1.0.0
Text Domain: aisle
*/
/* =========================================================
   AISLE 実装メモ
   - 正はモックアップ（aisle_mockup.html）。本ファイルはその移植。
   - モックの単一ページJSルーター（.page{display:none}）は撤去。
     WordPressでは各ページが実テンプレート＝常時表示。
   - ブレイクポイント（指示書 §3）: $pc:1441px / $tab:1024px / $sp:768px
   ========================================================= */
:root {
  --ink: #0c0c0d;
  --ink-2: #171718;
  --ink-3: #222224;
  --paper: #ffffff;
  --paper-2: #f3f2f0;
  --paper-3: #e7e6e3;
  --gray: #8c8c8c;
  --gray-2: #5a5a5c;
  --line: rgba(12, 12, 13, 0.12);
  --line-d: rgba(255, 255, 255, 0.14);
  --maxw: 1140px;
  --pad: 5vw;
  --jp: "Murecho", sans-serif;
  --en: "Archivo", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

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

.en {
  font-family: var(--en);
  letter-spacing: 0.06em;
}

/* ===== paw motif ===== */
.paw {
  display: inline-block;
  transform: translateY(0.05em);
}

/* ===== loading ===== */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading.done {
  opacity: 0;
  visibility: hidden;
}

#loading .mark {
  font-family: var(--en);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: #fff;
  letter-spacing: 0.04em;
  display: flex;
  align-items: flex-end;
  gap: 0.15em;
}

#loading .mark img {
  width: 30%;
  height: clamp(2rem, 6vw, 3.4rem);
  width: auto;
  filter: brightness(0) invert(1); /* 暗いローディング背景に合わせ白で表示 */
}

#loading .mark .paw {
  font-size: 0.42em;
  color: #fff;
  animation: pawbeat 1.1s infinite ease-in-out;
}

@keyframes pawbeat {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-0.25em);
  }
}
#loading .bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

#loading .bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: #fff;
  animation: slide 1.1s infinite ease;
}

@keyframes slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
/* ===== header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.9rem var(--pad);
  border-color: var(--line);
}

.h-logo {
  font-family: var(--en);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: flex-end;
  gap: 0.12em;
  transition: color 0.4s;
}

.h-logo img {
  height: 1.5rem;
  width: auto;
  /* 黒ロゴPNGを上部（暗いヒーロー上）では白に。スクロール時は黒へ。 */
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}

header.scrolled .h-logo img {
  filter: brightness(0); /* 元画像の地色に関わらず真っ黒に */
}

.h-logo .paw {
  font-size: 0.4em;
  transform: translateY(-0.1em);
}

header.scrolled .h-logo {
  color: var(--ink);
}

.h-nav {
  display: flex;
  align-items: center;
  gap: 2vw;
}

.h-nav ul {
  display: flex;
  gap: 1.8vw;
  list-style: none;
}

.h-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.4s;
}

header.scrolled .h-nav a {
  color: var(--ink);
}

.h-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.h-nav a:hover::after,
.h-nav a.cur::after {
  width: 100%;
}

.h-contact {
  font-family: var(--en);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.35s;
}

header.scrolled .h-contact {
  border-color: var(--ink);
  color: var(--ink);
}

.h-contact:hover {
  background: #fff;
  color: var(--ink);
}

header.scrolled .h-contact:hover {
  background: var(--ink);
  color: #fff;
}

.h-burger {
  display: none;
}

/* SP drawer */
.sp-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.sp-drawer.open {
  opacity: 1;
  visibility: visible;
}

.sp-drawer ul {
  list-style: none;
  text-align: center;
}

.sp-drawer a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  display: block;
  padding: 0.9rem 0;
}

.sp-drawer .sp-close {
  position: absolute;
  top: 4vh;
  right: 7vw;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
}

/* ===== hero ===== */
#top_main {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ヒーロー 横スライドスライダー */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-track {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background: radial-gradient(120% 90% at 75% 25%, #3a3a3d 0%, #1a1a1c 45%, #0a0a0b 100%);
}

.hero-slide .simg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#top_main .photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.4) 0%, rgba(8, 8, 9, 0.55) 55%, rgba(8, 8, 9, 0.88) 100%);
  z-index: 1;
}

#top_main .lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  z-index: 2;
  background-image: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255, 255, 255, 0.5) 38px 40px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}

#top_main .grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#top_main .watermark {
  position: absolute;
  right: -2vw;
  top: 18%;
  z-index: 2;
  font-family: var(--en);
  font-weight: 900;
  font-size: 30vw;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.02em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 4;
  padding: 0 var(--pad) 16vh;
  color: #fff;
  width: 100%;
}

.hero-label {
  font-family: var(--en);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: rise 0.9s ease 0.4s forwards;
}

.hero-label .paw {
  margin-right: 0.6em;
  font-size: 0.9em;
}

.hero-text h1 {
  font-family: var(--jp);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.hero-text h1 span {
  display: block;
  overflow: hidden;
}

.hero-text h1 span i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  animation: rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text h1 span:nth-child(1) i {
  animation-delay: 0.55s;
}

.hero-text h1 span:nth-child(2) i {
  animation-delay: 0.72s;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.12em;
  max-width: 36em;
  opacity: 0;
  animation: rise 0.9s ease 1s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 6vh;
  z-index: 4;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--en);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.4);
  animation: cue 2s infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* ===== section common ===== */
.sec-label {
  font-family: var(--en);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  font-weight: 700;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.sec-label .paw {
  color: var(--ink);
  font-size: 0.85rem;
}

.sec-title {
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

/* ===== greeting ===== */
#greeting {
  padding: 8rem var(--pad);
  position: relative;
  overflow: hidden;
}

#greeting .bg-paw {
  position: absolute;
  right: -4vw;
  bottom: -6vw;
  font-size: 32vw;
  color: var(--paper-2);
  z-index: 0;
}

.greet-wrap {
  max-width: 780px;
  margin: auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.greet-wrap .sec-label {
  justify-content: center;
}

#greeting h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.5;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

#greeting h2 em {
  font-style: normal;
  position: relative;
}

#greeting h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.16em;
  background: var(--ink);
  opacity: 0.12;
  z-index: -1;
}

#greeting p {
  font-size: 0.95rem;
  color: var(--gray-2);
  line-height: 2.2;
  max-width: 34em;
  margin: 0 auto;
}

/* ===== flow (TOP) ===== */
#top_flow {
  background: var(--ink);
  color: #fff;
  padding: 7rem var(--pad);
  position: relative;
  overflow: hidden;
}

#top_flow .bg-paw {
  position: absolute;
  left: -3vw;
  top: -4vw;
  font-size: 26vw;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
}

#top_flow .biz-head,
.flow,
.cat-trail,
.cat-cap {
  position: relative;
  z-index: 1;
}

.flow {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.flow-step {
  flex: 1;
  padding: 0 1.1rem;
}

.flow-step .no {
  font-family: var(--en);
  font-weight: 900;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.16);
  line-height: 1;
}

.flow-step h3 {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.6rem;
}

.flow-step p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.9;
}

.flow-link {
  flex: none;
  align-self: flex-start;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
}

.cat-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 3.6rem auto 0;
  color: rgba(255, 255, 255, 0.42);
}

.cat-trail .paw {
  font-size: 0.85rem;
}

.cat-trail .paw:nth-child(odd) {
  transform: translateY(-5px) rotate(-12deg);
}

.cat-trail .paw:nth-child(even) {
  transform: translateY(3px) rotate(8deg);
}

.cat-trail .cat {
  font-size: 1.9rem;
  color: #fff;
  margin-left: 0.4rem;
  animation: catpop 2.4s infinite ease-in-out;
}

@keyframes catpop {
  0%, 90%, 100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-4px);
  }
}
.cat-cap {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-top: 1rem;
}

/* ===== know banners ===== */
#know {
  padding: 6rem var(--pad);
}

.know-wrap {
  max-width: var(--maxw);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.know-card {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  border-radius: 3px;
}

.know-card .bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.know-card:nth-child(1) .bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), radial-gradient(120% 120% at 30% 20%, #3d3d40, #131315);
}

.know-card:nth-child(2) .bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), radial-gradient(120% 120% at 70% 20%, #333336, #0f0f10);
}

.know-card .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(60deg, transparent 0 30px, rgba(255, 255, 255, 0.05) 30px 31px);
}

.know-card:hover .bg {
  transform: scale(1.06);
}

.know-card .shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.74));
}

.know-card .label {
  position: relative;
  z-index: 3;
  padding: 2rem;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.know-card .label .jp {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.know-card .label .en {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-top: 0.3rem;
}

.know-card .label .arr {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.35s;
}

.know-card:hover .label .arr {
  background: #fff;
  color: var(--ink);
}

/* ===== top biz teaser ===== */
#top_biz {
  background: var(--ink);
  color: #fff;
  padding: 7rem var(--pad);
}

.biz-head {
  max-width: var(--maxw);
  margin: 0 auto 4rem;
}

.biz-head .sec-label {
  color: var(--gray);
}

.biz-head .sec-label .paw {
  color: #fff;
}

.biz-head .sec-title {
  color: #fff;
}

.biz-teaser {
  max-width: var(--maxw);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.bt-card {
  border: 1px solid var(--line-d);
  border-radius: 3px;
  padding: 2.4rem;
  display: block;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.bt-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.bt-card .no {
  font-family: var(--en);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--gray);
  letter-spacing: 0.2em;
}

.bt-card h3 {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin: 0.6rem 0 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.bt-card h3 .en-s {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.bt-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.9;
}

.bt-card .go {
  margin-top: 1.2rem;
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.bt-card:hover .go {
  gap: 1rem;
}

.biz-foot {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  text-align: center;
}

.biz-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  padding: 1rem 2.6rem;
  border-radius: 2px;
  transition: all 0.35s;
}

.biz-foot a:hover {
  background: #fff;
  color: var(--ink);
}

/* ===== flex banners ===== */
#flex_contents {
  padding: 6rem var(--pad);
}

.flex-wrap {
  max-width: var(--maxw);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.flex-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flex-card .bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.flex-card:nth-child(1) .bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)), radial-gradient(130% 100% at 40% 30%, #39393c, #101012);
}

.flex-card:nth-child(2) .bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)), radial-gradient(130% 100% at 60% 30%, #2e2e31, #0c0c0d);
}

.flex-card:hover .bg {
  transform: scale(1.08);
}

.flex-card .shade {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.74));
  transition: background 0.4s;
}

.flex-card:hover .shade {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
}

.flex-card .c {
  position: relative;
  z-index: 3;
  color: #fff;
}

.flex-card .c .en {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  display: block;
  margin-bottom: 0.6rem;
  transition: color 0.4s;
}

.flex-card:hover .c .en {
  color: rgba(255, 255, 255, 0.9);
}

.flex-card .c .jp {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  transition: letter-spacing 0.4s;
}

.flex-card:hover .c .jp {
  letter-spacing: 0.18em;
}

.flex-card .c .arr {
  margin: 1.2rem auto 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}

.flex-card:hover .c .arr {
  background: #fff;
  color: var(--ink);
  transform: translateY(4px);
}

/* ===== footer ===== */
footer {
  background: var(--ink);
  color: #fff;
  padding: 5rem var(--pad) 2rem;
  position: relative;
  overflow: hidden;
}

footer .bg-paw {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 34vw;
  color: rgba(255, 255, 255, 0.025);
  z-index: 0;
}

/* フッター背景写真（ACF: base_type / footer_bg） */
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: bottom;
}

.footer-bg-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.8) 0%, rgba(12, 12, 13, 0.9) 100%);
}

/* 写真使用時は肉球を少しだけ濃く（写真に負けないよう） */
footer.has-bg .bg-paw {
  color: rgba(255, 255, 255, 0.05);
}

.f-cta {
  max-width: var(--maxw);
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
  text-align: center;
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  padding: 4rem 0;
}

.f-cta .lab {
  font-family: var(--en);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.f-cta h2 {
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.f-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  transition: all 0.35s;
  border: 1px solid #fff;
}

.f-cta .btn:hover {
  background: transparent;
  color: #fff;
}

.f-bottom {
  max-width: var(--maxw);
  margin: auto;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.f-logo .mark {
  font-family: var(--en);
  font-weight: 900;
  font-size: 1.8rem;
  display: flex;
  align-items: flex-end;
  gap: 0.12em;
}

.f-logo .mark img {
  height: 1.8rem;
  width: auto;
  filter: brightness(0) invert(1); /* 暗いフッター背景に合わせ白で表示 */
}

.f-logo .mark .paw {
  font-size: 0.4em;
  transform: translateY(-0.1em);
}

.f-logo .tag {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.2em;
  margin-top: 0.6rem;
}

.f-cat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
}

.f-cat .paw {
  font-size: 0.7rem;
}

.f-cat .cat {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
}

.f-contact-line {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
}

.f-contact-line .f-add {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.f-contact-line .f-tel {
  margin-top: 0.4rem;
}

.f-contact-line .f-tel a {
  font-family: var(--en);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.f-contact-line .f-tel i {
  font-size: 0.85rem;
}

.f-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  list-style: none;
  justify-content: flex-end;
}

.f-menu a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.f-menu a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.copyright p {
  font-family: var(--en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gray);
}

.copyright .paw {
  margin: 0 0.4em;
  color: rgba(255, 255, 255, 0.4);
}

/* footer SNS（将来用・通常はコメントアウトで保持） */
#footer_sns {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 3rem var(--pad) 0;
}

#footer_sns h2 {
  font-family: var(--en);
  letter-spacing: 0.3em;
  font-size: 1rem;
  margin-bottom: 1rem;
}

#footer_sns ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  justify-content: center;
}

#footer_sns a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ===== to top ===== */
.totop {
  position: fixed;
  right: 2vw;
  bottom: 3vh;
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  border: 1px solid var(--ink);
}

.totop.show {
  opacity: 1;
  visibility: visible;
}

.totop:hover {
  transform: translateY(-4px);
}

/* ===== reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.22s;
}

.reveal.d3 {
  transition-delay: 0.34s;
}

.reveal.d4 {
  transition-delay: 0.46s;
}

/* ===== page hero (下層共通) ===== */
.page-hero {
  position: relative;
  min-height: 48vh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 10rem var(--pad) 3.5rem;
}

.page-hero .lines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  z-index: 2;
  background-image: repeating-linear-gradient(115deg, transparent 0 38px, rgba(255, 255, 255, 0.5) 38px 40px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.page-hero .wm {
  position: absolute;
  right: -1vw;
  top: 30%;
  z-index: 2;
  font-family: var(--en);
  font-weight: 900;
  font-size: 20vw;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.045);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.page-hero .inner {
  position: relative;
  z-index: 3;
  color: #fff;
  width: 100%;
}

.page-hero .en-lab {
  font-family: var(--en);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 1rem;
}

.page-hero .en-lab .paw {
  margin-right: 0.6em;
  color: #fff;
}

.page-hero h1 {
  font-weight: 900;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.crumb {
  margin-top: 1.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.crumb a {
  color: var(--gray);
  transition: color 0.3s;
}

.crumb a:hover {
  color: #fff;
}

.crumb span {
  margin: 0 0.6rem;
  opacity: 0.5;
}

.page-hero .shade {
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.55), rgba(8, 8, 9, 0.82));
  z-index: 1;
}

/* ===== generic layout ===== */
.wrap {
  max-width: var(--maxw);
  margin: auto;
}

.section-pad {
  padding: 6rem var(--pad);
}

.lead {
  max-width: 760px;
  margin: auto;
  text-align: center;
  padding: 6rem var(--pad) 2rem;
}

.lead .sec-label {
  justify-content: center;
}

.lead h2 {
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}

.lead h2 em {
  font-style: normal;
  position: relative;
  z-index: 1;
}

.lead h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.16em;
  background: var(--ink);
  opacity: 0.12;
  z-index: -1;
}

.lead p {
  color: var(--gray-2);
  font-size: 0.95rem;
  line-height: 2.2;
}

/* ===== service detail rows ===== */
.srv-list {
  max-width: var(--maxw);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding-bottom: 2rem;
}

.srv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  scroll-margin-top: 90px;
}

.srv-row:nth-child(even) {
  direction: rtl;
}

.srv-row:nth-child(even) > * {
  direction: ltr;
}

.srv-img {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
}

.srv-img .bg {
  position: absolute;
  inset: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.srv-row:hover .srv-img .bg {
  transform: scale(1.05);
}

.srv-row:nth-child(1) .bg {
  background: linear-gradient(135deg, #2b2b2e, #0d0d0e), repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, 0.05) 22px 23px);
}

.srv-row:nth-child(2) .bg {
  background: linear-gradient(135deg, #323235, #101012), repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px);
}

.srv-row:nth-child(3) .bg {
  background: linear-gradient(135deg, #28282b, #0b0b0c), repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, 0.05) 26px 27px);
}

.srv-row:nth-child(4) .bg {
  background: linear-gradient(135deg, #303033, #0e0e10), repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, 0.05) 24px 25px);
}

.srv-img .shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.srv-img .no {
  position: absolute;
  top: 1.2rem;
  left: 1.4rem;
  z-index: 3;
  font-family: var(--en);
  font-weight: 900;
  font-size: 4.4rem;
  color: rgba(255, 255, 255, 0.13);
  line-height: 1;
}

.srv-img .tag {
  position: absolute;
  bottom: 1.2rem;
  left: 1.4rem;
  z-index: 3;
  font-family: var(--en);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
}

.srv-txt .en-s {
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--gray);
  font-weight: 700;
}

.srv-txt h3 {
  font-weight: 900;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: 0.04em;
  margin: 0.5rem 0 1.2rem;
}

.srv-txt p {
  color: var(--gray-2);
  font-size: 0.92rem;
  line-height: 2.1;
  margin-bottom: 1.2rem;
}

.srv-txt ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.srv-txt li {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  color: var(--gray-2);
}

.srv-txt li .paw {
  font-size: 0.7em;
  margin-right: 0.4em;
  opacity: 0.5;
}

/* ===== strengths ===== */
.strength {
  background: var(--ink);
  color: #fff;
  padding: 7rem var(--pad);
  position: relative;
  overflow: hidden;
}

.strength .bg-paw {
  position: absolute;
  right: -3vw;
  bottom: -5vw;
  font-size: 30vw;
  color: rgba(255, 255, 255, 0.03);
}

.str-grid {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}

.str-card {
  border: 1px solid var(--line-d);
  padding: 2.6rem;
  border-radius: 3px;
}

.str-card .no {
  font-family: var(--en);
  font-weight: 900;
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.2em;
}

.str-card h3 {
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0.8rem 0 1rem;
  letter-spacing: 0.04em;
}

.str-card h3 .paw {
  color: #fff;
  font-size: 0.6em;
  margin-left: 0.4em;
  transform: translateY(-0.15em);
}

.str-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 2;
}

/* ===== gallery + lightbox (works) ===== */
.gallery {
  max-width: var(--maxw);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  background: #000;
}

.tile .bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile:hover .bg {
  transform: scale(1.08);
}

.tile .ov {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 9, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
  z-index: 3;
}

.tile:hover .ov {
  background: rgba(8, 8, 9, 0.45);
}

.tile .ov i {
  color: #fff;
  font-size: 1.4rem;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.4s;
}

.tile:hover .ov i {
  opacity: 1;
  transform: scale(1);
}

.tile .cat {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  font-family: var(--en);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

.g1 {
  background: linear-gradient(135deg, #2b2b2e, #0d0d0e), repeating-linear-gradient(45deg, transparent 0 20px, rgba(255, 255, 255, 0.05) 20px 21px);
}

.g2 {
  background: linear-gradient(135deg, #333336, #101012), repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.05) 24px 25px);
}

.g3 {
  background: linear-gradient(135deg, #26262a, #0b0b0c), repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px);
}

.g4 {
  background: radial-gradient(120% 120% at 30% 20%, #3a3a3d, #101012);
}

.g5 {
  background: linear-gradient(135deg, #2e2e31, #0e0e10), repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.05) 22px 23px);
}

.g6 {
  background: radial-gradient(120% 120% at 70% 30%, #343437, #0c0c0d);
}

.note-line {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.note-line .paw {
  margin-right: 0.4em;
  opacity: 0.6;
}

.lb {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 9, 0.94);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  padding: 6vw;
}

.lb.open {
  opacity: 1;
  visibility: visible;
}

.lb .lb-stage {
  transform: scale(0.82);
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
}

.lb.open .lb-stage {
  transform: scale(1);
  opacity: 1;
}

.lb .lb-img {
  width: min(960px, 86vw);
  height: min(620px, 76vh);
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  display: block;
  background: #1a1a1c;
}

.lb .lb-cap {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  margin-top: 1.2rem;
}

.lb .lb-close {
  position: absolute;
  top: 4vh;
  right: 5vw;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.35s;
}

.lb .lb-close:hover {
  background: #fff;
  color: var(--ink);
  transform: rotate(90deg);
}

/* ===== table (company / recruit) ===== */
.info-table {
  width: 100%;
  max-width: var(--maxw);
  margin: auto;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.info-table tr {
  border-bottom: 1px solid var(--line);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 1.5rem 1.2rem;
  font-size: 0.9rem;
  vertical-align: top;
}

.info-table th {
  width: 28%;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--paper-2);
}

.info-table td {
  color: var(--gray-2);
  line-height: 1.9;
}

.info-table td .tbd {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  border: 1px dashed var(--line);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  margin-left: 0.4rem;
}

.info-table a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* ===== philosophy ===== */
.philo {
  background: var(--paper-2);
  padding: 6rem var(--pad);
  text-align: center;
}

.philo .sec-label {
  justify-content: center;
}

.philo h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
}

.philo p {
  max-width: 36em;
  margin: auto;
  color: var(--gray-2);
  font-size: 0.95rem;
  line-height: 2.2;
}

/* ===== recruit positions ===== */
.pos-list {
  max-width: var(--maxw);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pos {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.2rem 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: background 0.35s;
}

.pos:hover {
  background: var(--paper-2);
}

.pos .l .en-s {
  font-family: var(--en);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--gray);
}

.pos .l h3 {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}

.pos .l p {
  font-size: 0.85rem;
  color: var(--gray-2);
  margin-top: 0.5rem;
}

.pos .arr {
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.35s;
}

.pos:hover .arr {
  background: var(--ink);
  color: #fff;
}

/* ===== contact form ===== */
.form {
  max-width: 720px;
  margin: auto;
  padding: 0 var(--pad) 6rem;
}

.form .row {
  margin-bottom: 1.8rem;
}

.form label {
  display: block;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.form label .req {
  font-family: var(--en);
  font-size: 0.62rem;
  color: #fff;
  background: var(--ink);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.6rem;
  letter-spacing: 0.1em;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem 1.1rem;
  font-family: var(--jp);
  font-size: 0.92rem;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form .submit {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.form .submit button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s;
}

.form .submit button:hover {
  background: transparent;
  color: var(--ink);
}

.form .formnote {
  text-align: center;
  font-size: 0.74rem;
  color: var(--gray);
  margin-top: 1.4rem;
  letter-spacing: 0.04em;
}

/* フォームプラグイン側のマークアップ吸収（Snow Monkey Forms / CF7） */
.form .smf-item,
.form .wpcf7 p {
  margin-bottom: 1.4rem;
}

.form .smf-button__btn,
.form .wpcf7 input[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s;
  width: auto;
}

.form .smf-button__btn:hover,
.form .wpcf7 input[type=submit]:hover {
  background: transparent;
  color: var(--ink);
}

/* ===== policy ===== */
.policy {
  max-width: 820px;
  margin: auto;
  padding: 1rem var(--pad) 6rem;
}

.policy .intro {
  color: var(--gray-2);
  font-size: 0.92rem;
  line-height: 2.1;
  margin-bottom: 3rem;
}

.policy section {
  margin-bottom: 2.6rem;
}

.policy h2 {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
}

.policy p {
  color: var(--gray-2);
  font-size: 0.9rem;
  line-height: 2.1;
}

.policy ul {
  margin: 0.8rem 0 0 1.2rem;
  color: var(--gray-2);
  font-size: 0.9rem;
  line-height: 2;
}

/* ===== sample / ACF images ===== */
.simg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
  display: block;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.yl {
  color: #c00;
} /* 未入力デフォルトの目印（実装指示書 §4-1） */
/* 改行ユーティリティ：.br_sp = SPのみ改行 / .br_pc = PC・タブのみ改行 */
.br_sp {
  display: none;
}

.br_pc {
  display: inline;
}

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .news-wrap {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}
@media (max-width: 768px) {
  :root {
    --pad: 6vw;
  }
  .lead-contact {
    padding: 6rem 3vw 2rem;
  }
  .br_sp {
    display: inline;
  }
  .br_pc {
    display: none;
  }
  .h-nav ul,
  .h-contact {
    display: none;
  }
  .h-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .h-burger span {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: background 0.4s;
  }
  header.scrolled .h-burger span {
    background: var(--ink);
  }
  #top_main {
    min-height: 520px;
  }
  .hero-text {
    padding-bottom: 14vh;
  }
  .scroll-cue {
    display: none;
  }
  .know-wrap,
  .flex-wrap {
    grid-template-columns: 1fr;
  }
  .biz-teaser {
    grid-template-columns: 1fr;
  }
  .srv-row,
  .srv-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.4rem;
  }
  .srv-img {
    height: 240px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .str-grid {
    grid-template-columns: 1fr;
  }
  .f-bottom {
    flex-direction: column;
  }
  .f-menu ul {
    justify-content: flex-start;
  }
  #greeting {
    padding: 5rem var(--pad);
  }
  .flow {
    flex-direction: column;
    gap: 1.4rem;
  }
  .flow-link {
    display: none;
  }
  .cat-trail {
    gap: 0.7rem;
  }
  .cat-trail .cat {
    font-size: 1.5rem;
  }
  .info-table th {
    width: 36%;
  }
  .info-table th,
  .info-table td {
    padding: 1.1rem 0.8rem;
    font-size: 0.82rem;
  }
  .pos {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* =========================================================
   contact form（Contact Form 7 ＋ Multi-Step Forms）
   STEP1 /contact/ ・ STEP2 /contact-confirm/ ・ STEP3 /contact-completion/
   ========================================================= */

/* ---- ステップ表示（入力→確認→完了） ---- */
.form-steps {
  max-width: 720px;
  margin: 0 auto 3.4rem;
  padding: 0 var(--pad);
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-steps li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gray);
}
.form-steps li + li::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--line);
  margin: 0 1rem;
  flex: none;
}
.form-steps .no {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.62rem;
  flex: none;
  transition: all 0.35s;
}
.form-steps .tx {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.form-steps .tx .en {
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}
.form-steps .tx .jp {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}
.form-steps .done {
  color: var(--gray-2);
}
.form-steps .done .no {
  border-color: var(--gray-2);
}
.form-steps .cur {
  color: var(--ink);
}
.form-steps .cur .no {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---- CF7 基本 ---- */
.form .wpcf7 {
  margin: 0;
}
.form .wpcf7-form-control-wrap {
  display: block;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #b6b6b6;
}
.form label .any {
  font-family: var(--en);
  font-size: 0.62rem;
  color: var(--gray-2);
  border: 1px solid var(--line);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.6rem;
  letter-spacing: 0.1em;
}

/* ---- バリデーション ---- */
.form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.6rem;
  color: #c0392b;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.form input.wpcf7-not-valid,
.form textarea.wpcf7-not-valid {
  border-color: #c0392b;
}
.form .wpcf7 form .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.84rem;
  line-height: 1.9;
  text-align: center;
  color: var(--gray-2);
}
.form .wpcf7 form.invalid .wpcf7-response-output,
.form .wpcf7 form.unaccepted .wpcf7-response-output,
.form .wpcf7 form.payment-required .wpcf7-response-output,
.form .wpcf7 form.failed .wpcf7-response-output,
.form .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #c0392b;
  color: #c0392b;
}
.form .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---- プライバシーポリシー同意 ---- */
.form .policy-agree {
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.form .policy-agree .wpcf7-list-item {
  margin: 0;
}
.form .policy-agree label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.form .policy-agree input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  margin: 0;
  flex: none;
  border: 0;
  background: none;
  border-radius: 0;
  accent-color: var(--ink);
}
.form .policy-note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--gray-2);
  letter-spacing: 0.02em;
}
.form .policy-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- 送信／戻るボタン ---- */
.form .btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}
.form .wpcf7 input[type="submit"],
.form .wpcf7 input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3.2rem;
  border-radius: 2px;
  width: auto;
  min-width: 15rem;
  cursor: pointer;
  transition: all 0.35s;
  -webkit-appearance: none;
  appearance: none;
}
.form .wpcf7 input[type="submit"]:hover,
.form .wpcf7 input[type="button"]:hover {
  background: transparent;
  color: var(--ink);
}
.form .wpcf7 input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form .wpcf7 input.wpcf7-previous {
  background: transparent;
  color: var(--gray-2);
  border-color: var(--line);
  min-width: 11rem;
  padding: 1.1rem 2.4rem;
}
.form .wpcf7 input.wpcf7-previous:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink);
}
.form .wpcf7-spinner {
  margin: 0 0 0 0.6rem;
}

/* ---- 確認画面（[multiform] の値表示） ---- */
.form-confirm .conf-list {
  border-top: 1px solid var(--line);
}
.form-confirm .conf-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.4rem 1.8rem;
  align-items: start;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
.form-confirm .conf-row .lb {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.form-confirm .conf-row .val {
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--gray-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.form-confirm .conf-row .val:empty::after {
  content: "（未入力）";
  color: var(--gray);
  font-size: 0.86rem;
}

/* ---- 完了画面 ---- */
.form .thanks {
  text-align: center;
  padding: 1rem 0 2rem;
}
.form .thanks .mark {
  font-size: 1.9rem;
  color: var(--ink);
  opacity: 0.45;
  margin-bottom: 1.4rem;
}
.form .thanks h2 {
  font-weight: 900;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.form .thanks .tx {
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--gray-2);
}
.form .thanks .note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--gray);
}
.form .thanks .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.8rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  transition: all 0.35s;
}
.form .thanks .btn:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 768px) {
  .form-steps li + li::before {
    width: 1.1rem;
    margin: 0 0.5rem;
  }
  .form-steps li {
    gap: 0.45rem;
  }
  .form-steps .no {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.55rem;
  }
  .form-steps .tx .en {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
  .form-steps .tx .jp {
    font-size: 0.55rem;
  }
  .form-confirm .conf-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.2rem 0.1rem;
  }
  .form .btns {
    flex-direction: column-reverse;
    gap: 0.8rem;
  }
  .form .wpcf7 input[type="submit"],
  .form .wpcf7 input[type="button"] {
    width: 100%;
    min-width: 0;
    padding: 1.1rem 1.4rem;
  }
}


/* ---- 確認画面に直接アクセスされた場合の案内 ---- */
.form .wpcf7 form.init .wpcf7-response-output,
.form .wpcf7 form.resetting .wpcf7-response-output,
.form .wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}
.form .form-gate {
  text-align: center;
  padding: 2rem 0 1rem;
}
.form .form-gate p {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--gray-2);
  margin-bottom: 2.2rem;
}
.form .form-gate .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  transition: all 0.35s;
}
.form .form-gate .btn:hover {
  background: transparent;
  color: var(--ink);
}
/*# sourceMappingURL=style.css.map */
