@charset "UTF-8";
/*
Theme Name: T-Welld
Theme URI: https://t-welld.com/
Description: 株式会社T-Welld オリジナルテーマ（継ぎ目に、未来を継ぐ。／ Weld the Future.）
Author: PEEES OSAKA
Version: 1.0.0
*/
/* =========================================================
   デザイントークン
   ========================================================= */
/* 立ち上がりが速く、終わりがゆっくり止まる上質な減速カーブ */
/* 左右の余白 */
/* =========================================================
   ブレークポイント（モバイルファースト：SPベース → min-width で拡張）
   ========================================================= */
/* 写真プレースホルダー（素材差し替え前のダミー） */
/* 背景写真の共通指定 */
/* =========================================================
   リセット
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #070707;
  color: #ececec;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  overflow-x: hidden;
  word-break: auto-phrase;
  line-break: strict;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

body.is-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ib {
  display: inline-block;
}

br.pc {
  display: none;
}

@media screen and (min-width: 768px) {
  br.pc {
    display: inline;
  }
}

/* =========================================================
   共通パーツ
   ========================================================= */
.sec {
  position: relative;
  padding: 80px 24px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .sec {
    padding: 120px 48px;
  }
}

@media screen and (min-width: 1441px) {
  .sec {
    padding: 150px 48px;
  }
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
}

@media screen and (min-width: 1441px) {
  .inner {
    max-width: 1200px;
  }
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.en {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1;
}

.sec-en {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: #ed1c24;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .sec-en {
    font-size: 16px;
    margin-bottom: 22px;
  }
}

.sec-ttl {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(23px, 6.2vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.12em;
}

@media screen and (min-width: 1024px) {
  .sec-ttl {
    font-size: 38px;
  }
}

.lead {
  max-width: 34em;
  margin: 26px auto 0;
  color: #c9c9c9;
  font-size: 14px;
  line-height: 2.2;
}

@media screen and (min-width: 768px) {
  .lead {
    font-size: 15px;
    margin-top: 28px;
  }
}

.note {
  margin-top: 14px;
  font-size: 12px;
  color: #9c9c9c;
  line-height: 1.9;
}

/* 溶接ビード区切り */
.bead {
  display: block;
  width: 140px;
  height: 10px;
  margin: 32px auto 0;
  background: radial-gradient(circle at 50% 50%, rgba(237, 28, 36, 0.9) 0 2px, transparent 2.5px) 0 50%/10px 10px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

@media screen and (min-width: 768px) {
  .bead {
    margin-top: 36px;
  }
}

/* ボタン：赤グラデが左からスライドインして塗りつぶす */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 240px;
  height: 56px;
  padding: 0 32px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  letter-spacing: 0.2em;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s, color 0.4s;
}

@media screen and (min-width: 768px) {
  .btn {
    margin-top: 44px;
  }
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

.btn::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.btn:hover, .btn:focus-visible {
  border-color: transparent;
}

.btn:hover::before, .btn:focus-visible::before {
  transform: none;
}

.btn.solid {
  border-color: transparent;
}

.btn.solid::before {
  transform: none;
  opacity: 0.9;
}

.btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 写真プレースホルダー */
.ph {
  position: relative;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
  overflow: hidden;
}

/* =========================================================
   下層ページ共通
   ========================================================= */
.mv {
  position: relative;
  display: grid;
  place-items: center;
  height: 56vw;
  min-height: 280px;
  max-height: 460px;
  margin-top: 64px;
  text-align: center;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .mv {
    margin-top: 80px;
    height: 34vw;
  }
}

.mv .mv-img {
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  transition: transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.55), rgba(7, 7, 7, 0.9));
}

.mv .mv-body {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

@media screen and (min-width: 768px) {
  .mv .mv-body {
    padding: 0 48px;
  }
}

.mv .mv-en {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(34px, 11vw, 72px);
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1;
}

.mv .mv-ja {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #ed1c24;
}

.crumb {
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9c9c9c;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  .crumb {
    padding: 16px 48px;
  }
}

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

/* 見出し付きテーブル */
.tbl {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

@media screen and (min-width: 768px) {
  .tbl {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.tbl div {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  .tbl div {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: baseline;
    gap: 24px;
    padding: 22px 8px;
  }
}

.tbl dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #ed1c24;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.tbl dd {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.9;
}

@media screen and (min-width: 768px) {
  .tbl dd {
    margin-top: 0;
  }
}

.tbl dd small {
  display: block;
  font-size: 11px;
  color: #9c9c9c;
}

/* 下部CTA */
.cta {
  padding: 76px 24px;
  text-align: center;
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  .cta {
    padding: 90px 48px;
  }
}

.cta .sec-ttl {
  font-size: clamp(21px, 5.6vw, 30px);
}

.cta .note {
  margin-top: 4px;
}

.cta-tel {
  display: inline-block;
  margin-top: 22px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(30px, 9vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

.cta-tel small {
  font-size: 0.5em;
  margin-right: 8px;
  color: #ed1c24;
}

/* Googleマップ */
.map {
  height: 300px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  .map {
    height: 420px;
  }
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* エリアのレール（TOP／事業内容で共用） */
.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 44px;
}

@media screen and (min-width: 768px) {
  .rail {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 52px;
  }
}

.rail::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.12));
}

@media screen and (min-width: 768px) {
  .rail::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28) 20%, rgba(255, 255, 255, 0.28) 80%, transparent);
  }
}

.rail li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #bdbdbd;
}

@media screen and (min-width: 768px) {
  .rail li {
    width: auto;
    height: auto;
    flex: 1;
    letter-spacing: 0.2em;
  }
}

.rail li span {
  background-color: #070707;
  padding: 0 14px;
}

@media screen and (min-width: 768px) {
  .rail li span {
    padding: 0 8px;
    white-space: nowrap;
  }
}

.rail li.home {
  height: 78px;
}

@media screen and (min-width: 768px) {
  .rail li.home {
    height: auto;
    flex: 1.6;
  }
}

.rail li.home span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border: 1px solid #ed1c24;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .rail li.home span {
    padding: 12px 18px;
  }
}

.rail li.home small {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #ed1c24;
}

/* 番号付きフロー（事業内容／採用で共用） */
.flow-list {
  max-width: 620px;
  margin: 40px auto 0;
}

@media screen and (min-width: 768px) {
  .flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 44px;
  }
}

.flow-list li {
  position: relative;
  padding: 20px 0;
}

@media screen and (min-width: 768px) {
  .flow-list li {
    padding: 22px 8px;
  }
}

.flow-list li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.28);
}

@media screen and (min-width: 768px) {
  .flow-list li + li::before {
    left: 0;
    top: 38px;
    width: 100%;
    height: 1px;
  }
}

.flow-list b {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 22px;
  color: #ed1c24;
}

.flow-list h4 {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.flow-list p {
  font-size: 13px;
  color: #9c9c9c;
}

/* 5つのT（継手） */
.joints {
  position: relative;
  max-width: 260px;
  margin: 40px auto 0;
  /* 溶接シーム：レールの上を赤い線が伸び、先端に白いスパークが走る
     （FVと同じ演出を5つのTに適用。SPは縦、768px〜は横） */
  /* .is-weld は画面に入るたび付け外しされるため、溶接演出は再入場で再生される
     （.is-in は一度きりのフェードアップ用。JSは footer.php） */
  /* シームが走り終える流れに合わせて継手が順に点灯 */
  /* ホバー／タップした継手だけ強く発光（.is-hot はタップ時にJSが付与） */
}

@media screen and (min-width: 768px) {
  .joints {
    max-width: none;
    margin-top: 44px;
  }
}

.joints::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  margin-left: -3px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

@media screen and (min-width: 768px) {
  .joints::before {
    left: 0;
    right: 0;
    top: 13px;
    bottom: auto;
    width: auto;
    height: 6px;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }
}

.joints .joints-seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .joints .joints-seam {
    left: 0;
    right: 0;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 2px;
    margin-left: 0;
  }
}

.joints .joints-seam::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, rgba(75, 6, 7, 0), #4b0607 20%, #ed1c24 75%, #fff);
}

@media screen and (min-width: 768px) {
  .joints .joints-seam::before {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(75, 6, 7, 0), #4b0607 20%, #ed1c24 75%, #fff);
  }
}

.joints .joints-spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 10px 3px #fff, 0 0 24px 8px rgba(255, 120, 110, 0.7), 0 0 60px 20px rgba(237, 28, 36, 0.4);
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .joints .joints-spark {
    left: 0;
    top: 50%;
  }
}

.joints.is-weld .joints-seam::before {
  animation: jointSeamY 1.6s cubic-bezier(0.6, 0.05, 0.3, 1) forwards;
}

@media screen and (min-width: 768px) {
  .joints.is-weld .joints-seam::before {
    animation-name: jointSeamX;
  }
}

.joints.is-weld .joints-spark {
  animation: jointSparkY 1.6s cubic-bezier(0.6, 0.05, 0.3, 1) forwards;
}

@media screen and (min-width: 768px) {
  .joints.is-weld .joints-spark {
    animation-name: jointSparkX;
  }
}

@media screen and (min-width: 768px) {
  .joints ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

.joints .joint {
  position: relative;
  padding: 22px 0;
  background-color: #070707;
}

@media screen and (min-width: 768px) {
  .joints .joint {
    padding: 0 6px;
    background: none;
  }
}

.joints .joint + .joint {
  margin-top: 34px;
}

@media screen and (min-width: 768px) {
  .joints .joint + .joint {
    margin-top: 0;
  }
}

.joints .joint::before {
  content: "";
  display: block;
  width: 26px;
  height: 10px;
  margin: 0 auto 16px;
  border-radius: 2px;
  background-color: #2a2a2a;
  transition: background 0.8s, box-shadow 0.8s, transform 0.35s;
  /* シームが通過したタイミングで継手が点灯するよう少し遅らせる */
  transition-delay: calc(var(--d, 0s) + 0.28s);
}

@media screen and (min-width: 768px) {
  .joints .joint::before {
    width: 10px;
    height: 26px;
    margin: 0 auto 18px;
  }
}

.joints.is-weld .joint::before,
.joints .joint.is-in::before {
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  box-shadow: 0 0 18px rgba(237, 28, 36, 0.55);
}

.joints .joint:hover::before, .joints .joint.is-hot::before {
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  box-shadow: 0 0 26px rgba(237, 28, 36, 0.9), 0 0 64px 10px rgba(237, 28, 36, 0.35);
  transform: scale(1.14);
  /* 点灯ディレイが残るとホバーが遅れて見えるため打ち消す */
  transition-duration: 0.35s;
  transition-delay: 0s;
}

.joints .joint:hover .en, .joints .joint.is-hot .en {
  color: #fff;
}

.joints .joint:hover p, .joints .joint.is-hot p {
  color: #cfcfcf;
}

.joints .joint .en {
  display: block;
  font-size: 32px;
  font-weight: 400;
  transition: color 0.35s;
}

@media screen and (min-width: 768px) {
  .joints .joint .en {
    font-size: 30px;
  }
}

@media screen and (min-width: 1024px) {
  .joints .joint .en {
    font-size: 38px;
  }
}

.joints .joint .en::first-letter {
  color: #ed1c24;
}

.joints .joint p {
  margin-top: 8px;
  font-size: 13px;
  color: #9c9c9c;
  line-height: 1.6;
  transition: color 0.35s;
}

/* 5つのT：溶接シームのキーフレーム */
@keyframes jointSeamY {
  to {
    height: 100%;
  }
}

@keyframes jointSeamX {
  to {
    width: 100%;
  }
}

@keyframes jointSparkY {
  0% {
    opacity: 0;
    top: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100%;
  }
}

@keyframes jointSparkX {
  0% {
    opacity: 0;
    left: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 100%;
  }
}

/* 本文エディタ出力 */
.editor {
  text-align: left;
  margin-top: 28px;
  font-size: 14px;
  line-height: 2.1;
  color: #cfcfcf;
}

.editor p + p {
  margin-top: 1.4em;
}

.editor img {
  margin: 1.6em auto;
}

.editor a {
  color: #ed1c24;
  text-decoration: underline;
}

/* ページャー */
.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.pager span,
.pager a {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  transition: border-color 0.3s, background 0.3s;
}

.pager a:hover {
  border-color: #ed1c24;
}

.pager .current,
.pager .is-on {
  border-color: transparent;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
}

.pager .wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================
   スクロールリビール
   -----------------------------------------------------------
   .rv      … 基本のフェードアップ
   .rv-ttl  … 見出し。下からマスクで拭い上げる
   .rv-img  … 写真。下から上へワイプして現れる
   .rv-line … 区切り線。中央から左右へ伸びる
   ========================================================= */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.rv.is-in {
  opacity: 1;
  transform: none;
}

/* 見出し：マスクで下から立ち上がる */
.rv-ttl {
  opacity: 0;
  clip-path: inset(0 0 108% 0);
  transform: translateY(0.34em);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), clip-path 1.25s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: clip-path, transform;
}

.rv-ttl.is-in {
  opacity: 1;
  /* グローや濁点が切れないよう、終端は外側へ逃がす */
  clip-path: inset(-30% -30% -30% -30%);
  transform: none;
}

/* 写真：下から上へワイプ */
.rv-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.rv-img.is-in {
  clip-path: inset(0 0 0 0);
}

/* 区切り線：中央から伸びる */
.rv-line {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.rv-line.is-in {
  transform: none;
}

/* 下層メインビジュアルの立ち上がり（マスクで拭い上げる） */
.mv-en,
.mv-ja {
  opacity: 0;
  clip-path: inset(0 0 108% 0);
  transform: translateY(0.3em);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, clip-path 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mv-ja {
  transition-delay: 0.45s;
}

.is-loaded .mv-en,
.is-loaded .mv-ja {
  opacity: 1;
  clip-path: inset(-30% -30% -30% -30%);
  transform: none;
}

.is-loaded .mv .mv-img {
  transform: none;
}

/* =========================================================
   管理画面から使える装飾ユーティリティ
   ========================================================= */
.u-c-red {
  color: #ed1c24;
}

.u-c-white {
  color: #fff;
}

.u-c-muted {
  color: #9c9c9c;
}

.u-bold {
  font-weight: 700;
}

.u-lg {
  font-size: 1.2em;
}

.u-sm {
  font-size: 0.85em;
}

/* =========================================================
   モーション低減
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .rv,
.rv-ttl,
.rv-img,
.rv-line,
.mv-en,
.mv-ja {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* =========================================================
   パーシャル
   ========================================================= */
/* =========================================================
   ローディング
   黒背景 → シンボルがフェードイン → 赤グラデのビードが左から右へ
   最短1.4秒 / window.load で解除 / 3秒で強制解除（JSはfooter.php）
   ========================================================= */
.ld {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background-color: #070707;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.ld svg {
  width: 74px;
  height: 66px;
  opacity: 0;
  animation: ldMark 0.9s ease 0.1s forwards;
}

.ld .ld-bar {
  position: absolute;
  left: 50%;
  bottom: calc(50% - 74px);
  width: 140px;
  height: 1px;
  margin-left: -70px;
  background-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.ld .ld-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: ldBar 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}

.is-loaded .ld {
  opacity: 0;
  visibility: hidden;
}

@keyframes ldMark {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ldBar {
  to {
    transform: scaleX(1);
  }
}

/* =========================================================
   ヘッダー / ドロワー
   SP: ロゴ＋電話アイコン＋メールボタン＋ハンバーガー
   1024px〜: グローバルナビ＋電話番号テキスト
   ========================================================= */
.hd {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 0 0 18px;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.85), rgba(7, 7, 7, 0));
  transition: background 0.4s;
  /* ハンバーガーはグローバルナビが出ない幅（〜1023px）だけ表示
     （.hd-act a, .hd-act button より詳細度を上げるため .hd-act .burger） */
}

@media screen and (min-width: 768px) {
  .hd {
    height: 80px;
    padding-left: 36px;
  }
}

.hd.is-scrolled {
  background-color: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hd .hd-logo {
  display: block;
  min-width: 0;
}

.hd .hd-logo svg,
.hd .hd-logo img {
  display: block;
  width: 132px;
  /* 320px幅の端末でロゴとアクションボタンがぶつからないようにする */
  max-width: 38vw;
  height: 33px;
  color: #fff;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .hd .hd-logo svg,
.hd .hd-logo img {
    width: 168px;
    max-width: none;
    height: 42px;
  }
}

.hd .gnav-pc {
  display: none;
}

@media screen and (min-width: 1024px) {
  .hd .gnav-pc {
    display: flex;
    align-items: center;
    /* 項目が6つあるため、1024px付近では余白を詰める */
    gap: clamp(16px, 1.8vw, 28px);
    margin-left: auto;
    margin-right: clamp(16px, 2vw, 28px);
    font-size: 13px;
    letter-spacing: 0.14em;
  }
}

.hd .gnav-pc a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.hd .gnav-pc a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #ed1c24;
  transform: scaleX(0);
  transition: transform 0.4s;
}

.hd .gnav-pc a:hover::after, .hd .gnav-pc a.is-here::after {
  transform: scaleX(1);
}

.hd .hd-act {
  display: flex;
  height: 100%;
}

.hd .hd-act a,
.hd .hd-act button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .hd .hd-act a,
.hd .hd-act button {
    width: 80px;
    height: 80px;
  }
}

.hd .hd-act svg {
  width: 18px;
  height: 18px;
}

.hd .hd-act .mail {
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
}

.hd .hd-act .hd-tel-txt {
  display: none;
}

@media screen and (min-width: 1024px) {
  .hd .hd-act .hd-tel-txt {
    display: flex;
    width: auto;
    align-items: center;
    padding: 0 24px;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 20px;
    letter-spacing: 0.1em;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media screen and (min-width: 1024px) {
  .hd .hd-act .tel-ico {
    display: none;
  }
}

.hd .hd-act .burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 1024px) {
  .hd .hd-act .burger {
    display: none;
  }
}

.hd .hd-act .burger .burger-bars {
  position: relative;
  display: block;
  width: 26px;
  height: 12px;
}

.hd .hd-act .burger .burger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1), background-color 0.4s;
}

.hd .hd-act .burger .burger-bars span:nth-child(1) {
  top: 0;
}

.hd .hd-act .burger .burger-bars span:nth-child(2) {
  bottom: 0;
}

.hd .hd-act .burger .burger-txt {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1;
  color: #cfcfcf;
  transition: color 0.4s;
}

.hd .hd-act .burger .burger-txt::before {
  content: "Menu";
}

.hd .hd-act .burger:hover .burger-bars span, .hd .hd-act .burger:focus-visible .burger-bars span {
  background-color: #ed1c24;
}

.hd .hd-act .burger:hover .burger-txt, .hd .hd-act .burger:focus-visible .burger-txt {
  color: #fff;
}

/* 開いている間はバーが中央で交差してXになる（12px の箱の中心＝6px へ寄せる） */
.is-open .hd .burger .burger-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.is-open .hd .burger .burger-bars span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.is-open .hd .burger .burger-txt {
  color: #fff;
}

.is-open .hd .burger .burger-txt::before {
  content: "Close";
}

/* ---------- ドロワー ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 内容がはみ出す高さでも上が切れないように safe を付ける */
  justify-content: safe center;
  gap: 4px;
  background-color: rgba(7, 7, 7, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s;
  text-align: center;
  /* 画面の低い端末（横向きなど）でメニューが切れないように */
  padding: 88px 24px calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  /* ハンバーガーが消える幅ではドロワーも使わない */
}

@media screen and (min-width: 768px) {
  .drawer {
    gap: 6px;
  }
}

@media screen and (min-width: 1024px) {
  .drawer {
    display: none;
  }
}

.drawer a {
  display: block;
  padding: 9px 0;
}

@media screen and (min-width: 768px) {
  .drawer a {
    padding: 10px 0;
  }
}

.drawer a b {
  display: block;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.2em;
}

.drawer a small {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #ed1c24;
  line-height: 1.4;
}

.drawer .drawer-tel {
  margin-top: 22px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 24px;
  letter-spacing: 0.12em;
}

@media screen and (min-width: 768px) {
  .drawer .drawer-tel {
    margin-top: 26px;
  }
}

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

/* =========================================================
   TOPページ
   FV / Philosophy / Business / Area / Recruit / 3カード
   ========================================================= */
/* ---------- FV ---------- */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  /* 横向きなど画面が低い端末で、FVが画面より高くならないようにする */
  min-height: min(600px, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #070707;
  /* ヒーローは写真1枚。SP用が登録されていれば <picture> で差し替わる */
  /* 暗幕は2枚構成。
     1枚目＝上下のスクリム（ヘッダーとスクロール表示の可読性）
     2枚目＝コピーの背後だけをやわらかく沈める座布団 */
  /* 溶接シーム演出はPhilosophyの5つのT（.joints-seam）に集約したため、FVでは使用しない */
  /* 赤字だと火花（暖色）に完全に埋もれるため、FVでは白。
     ブランドレッドは前後の細いラインで残す */
}

.fv .fv-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fv .fv-media.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

.fv .fv-media picture,
.fv .fv-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.fv .fv-media img {
  object-fit: cover;
  object-position: center;
  /* 火花の白飛びを抑えて、文字とコントラストを作る */
  filter: brightness(0.92) contrast(1.02) saturate(0.98);
  /* ゆっくり寄りが戻る（ローディング明けに1回だけ） */
  transform: scale(1.07);
  animation: fvZoom 9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.fv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.72) 0%, rgba(7, 7, 7, 0.2) 20%, rgba(7, 7, 7, 0.2) 62%, rgba(7, 7, 7, 0.8) 100%), radial-gradient(ellipse 74% 46% at 50% 50%, rgba(7, 7, 7, 0.5) 0%, rgba(7, 7, 7, 0.28) 55%, rgba(7, 7, 7, 0) 100%);
}

.fv .fv-mark {
  position: absolute;
  right: -38%;
  top: 50%;
  width: 120%;
  max-width: 760px;
  aspect-ratio: 73 / 66;
  transform: translateY(-50%);
  /* 写真の上なので控えめに（明るい写真で浮かないよう通常合成） */
  opacity: 0.05;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .fv .fv-mark {
    right: -8%;
    width: 70%;
  }
}

.fv .fv-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

@media screen and (min-width: 768px) {
  .fv .fv-body {
    padding: 0 48px;
  }
}

.fv .fv-catch {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(38px, 11.5vw, 84px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  /* 火花の明るい部分に重なっても読めるように2段でシャドウを敷く */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 0, 0, 0.65);
  opacity: 0;
  animation: fvRise 1.4s ease 0.3s forwards;
}

@media screen and (min-width: 1441px) {
  .fv .fv-catch {
    font-size: 92px;
  }
}

.fv .fv-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(15px, 4vw, 22px);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: fvRise 1.4s ease 0.7s forwards;
}

.fv .fv-en::before, .fv .fv-en::after {
  content: "";
  width: clamp(28px, 7vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(237, 28, 36, 0), #ed1c24);
  flex: 0 0 auto;
}

.fv .fv-en::after {
  background: linear-gradient(90deg, #ed1c24, rgba(237, 28, 36, 0));
}

.fv .fv-sub {
  max-width: 24em;
  margin: 30px auto 0;
  font-size: 13px;
  line-height: 2.1;
  color: #eaeaea;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 32px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: fvRise 1.4s ease 1.1s forwards;
}

@media screen and (min-width: 768px) {
  .fv .fv-sub {
    max-width: none;
    font-size: 14px;
  }
}

.fv .fv-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  transform: translateX(-50%);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.fv .fv-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 46px;
  margin: 10px auto 0;
  background: linear-gradient(#ed1c24, transparent);
  animation: fvDrip 2.2s ease-in-out infinite;
}

/* FVの演出はローディング明け後に再生 */
.fv-media img,
.fv-catch,
.fv-en,
.fv-sub {
  animation-play-state: paused;
}

.is-loaded .fv-media img,
.is-loaded .fv-catch,
.is-loaded .fv-en,
.is-loaded .fv-sub {
  animation-play-state: running;
}

@keyframes fvZoom {
  to {
    transform: scale(1);
  }
}

@keyframes fvRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fvDrip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- Philosophy ---------- */
#top_about {
  background-color: #070707;
}

#top_about.has-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#top_about.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.95));
}

#top_about.has-bg .inner {
  position: relative;
  z-index: 2;
}

#top_about .philo-txt {
  max-width: 30em;
  margin: 30px auto 0;
  font-size: 14px;
  line-height: 2.3;
  color: #cfcfcf;
}

#top_about .philo-sub {
  margin-top: 64px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 19px;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  #top_about .philo-sub {
    margin-top: 72px;
  }
}

/* ---------- Business ---------- */
#top_business {
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#top_business .biz-main {
  margin-top: 48px;
}

@media screen and (min-width: 768px) {
  #top_business .biz-main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 56px;
  }
}

#top_business .biz-main .biz-main-img {
  aspect-ratio: 4 / 3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  #top_business .biz-main .biz-main-img {
    aspect-ratio: 21 / 9;
  }
}

#top_business .biz-main .biz-main-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#top_business .biz-main .biz-main-img.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

#top_business .biz-main .biz-main-body {
  position: relative;
  margin: -36px 16px 0;
  padding: 34px 22px 38px;
  background-color: #070707;
  border-top: 2px solid #ed1c24;
}

@media screen and (min-width: 768px) {
  #top_business .biz-main .biz-main-body {
    max-width: 640px;
    margin: -80px auto 0;
    padding: 48px 56px 52px;
  }
}

#top_business .biz-main h3 {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

#top_business .biz-main .biz-copy {
  margin-top: 14px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(21px, 5.8vw, 32px);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

#top_business .biz-main p.t {
  margin-top: 16px;
  font-size: 13px;
  color: #bdbdbd;
  line-height: 2.1;
}

#top_business .biz-name {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #ed1c24;
}

#top_business .biz-subs {
  margin-top: 28px;
}

@media screen and (min-width: 768px) {
  #top_business .biz-subs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px;
  }
}

#top_business .biz-subs .biz-sub {
  padding: 34px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  #top_business .biz-subs .biz-sub {
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 22px;
  }
}

#top_business .biz-subs .biz-sub:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  #top_business .biz-subs .biz-sub:first-child {
    border-top: 0;
    border-left: 0;
  }
}

#top_business .biz-subs .biz-sub h3 {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

#top_business .biz-subs .biz-sub .biz-copy {
  margin-top: 10px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 19px;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

@media screen and (min-width: 1024px) {
  #top_business .biz-subs .biz-sub .biz-copy {
    font-size: 21px;
  }
}

/* ---------- Area ---------- */
#top_area {
  background-color: #070707;
  overflow: hidden;
}

#top_area .area-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  aspect-ratio: 73 / 66;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
}

#top_area .inner {
  position: relative;
  z-index: 2;
}

#top_area .area-note {
  margin-top: 40px;
  font-size: 12px;
  color: #9c9c9c;
  line-height: 2;
}

/* ---------- Recruit ---------- */
#top_recruit {
  padding: 0;
  background-color: #070707;
}

#top_recruit .rec-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#top_recruit .rec-bg.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

#top_recruit .rec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.55), rgba(7, 7, 7, 0.88)), linear-gradient(135deg, rgba(237, 28, 36, 0.25), transparent 60%);
}

#top_recruit .rec-in {
  position: relative;
  z-index: 2;
  padding: 110px 24px;
}

@media screen and (min-width: 768px) {
  #top_recruit .rec-in {
    padding: 180px 48px;
  }
}

#top_recruit .sec-ttl {
  font-size: clamp(28px, 8vw, 48px);
}

#top_recruit .rec-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 340px;
  margin: 30px auto 0;
}

@media screen and (min-width: 768px) {
  #top_recruit .rec-tags {
    max-width: none;
  }
}

#top_recruit .rec-tags li {
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  letter-spacing: 0.12em;
}

#top_recruit .btn {
  min-width: 260px;
}

/* ---------- 3カード ---------- */
#top_three {
  padding: 24px;
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  #top_three {
    padding: 0;
  }
}

#top_three .links-list {
  display: grid;
  gap: 18px;
}

@media screen and (min-width: 768px) {
  #top_three .links-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

#top_three .lk {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  #top_three .lk {
    aspect-ratio: 3 / 4;
  }
}

#top_three .lk .lk-img {
  position: absolute;
  inset: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#top_three .lk .lk-img.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

#top_three .lk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.1), rgba(7, 7, 7, 0.85));
}

#top_three .lk .lk-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 16px 28px;
}

#top_three .lk .en {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 34px;
  line-height: 1;
}

@media screen and (min-width: 1024px) {
  #top_three .lk .en {
    font-size: 42px;
  }
}

#top_three .lk .lk-ja {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #cfcfcf;
}

#top_three .lk .lk-copy {
  display: block;
  margin-top: 12px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

#top_three .lk .lk-bar {
  display: block;
  width: 28px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  transition: width 0.6s;
}

#top_three .lk:hover .lk-img, #top_three .lk:focus-visible .lk-img {
  transform: scale(1.06);
}

#top_three .lk:hover .lk-bar, #top_three .lk:focus-visible .lk-bar {
  width: 64px;
}

/* =========================================================
   会社概要
   代表メッセージ / 理念 / 会社概要テーブル
   ========================================================= */
.pg-company .msg {
  padding-top: 64px;
  /* PCは写真とテキストを左右に組む（SPは従来どおり縦積み・中央） */
}

@media screen and (min-width: 768px) {
  .pg-company .msg {
    padding-top: 80px;
  }
}

.pg-company .msg .msg-inner {
  text-align: left;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .msg-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    margin-top: 8px;
  }
}

.pg-company .msg .msg-img {
  aspect-ratio: 3 / 2;
  max-width: 520px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .msg-img {
    aspect-ratio: 4 / 5;
    max-width: none;
  }
}

.pg-company .msg .msg-img.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

.pg-company .msg .msg-ttl {
  margin-top: 36px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(24px, 6.6vw, 38px);
  letter-spacing: 0.12em;
  line-height: 1.6;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .msg-ttl {
    margin-top: 0;
    font-size: 40px;
  }
}

.pg-company .msg .msg-txt {
  max-width: 30em;
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 2.3;
  color: #cfcfcf;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .msg-txt {
    max-width: none;
    margin: 32px 0 0;
    font-size: 15px;
    line-height: 2.4;
  }
}

.pg-company .msg .sign {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .sign {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.pg-company .msg .sign b {
  display: block;
  margin-top: 4px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 1024px) {
  .pg-company .msg .note {
    margin-top: 18px;
  }
}

.pg-company .credo {
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  /* 背景が $ink のため、SPの継手の背景色を合わせる */
}

.pg-company .credo .credo-list {
  counter-reset: c;
  max-width: 560px;
  margin: 44px auto 0;
  text-align: left;
  /* PCは2列に並べて縦の長さを抑える */
}

@media screen and (min-width: 1024px) {
  .pg-company .credo .credo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    max-width: 900px;
    margin-top: 52px;
  }
}

.pg-company .credo .credo-list li {
  position: relative;
  padding: 18px 0 18px 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.9;
}

@media screen and (min-width: 768px) {
  .pg-company .credo .credo-list li {
    padding-left: 56px;
  }
}

.pg-company .credo .credo-list li::before {
  content: counter(c, decimal-leading-zero);
  counter-increment: c;
  position: absolute;
  left: 0;
  top: 18px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  color: #ed1c24;
}

.pg-company .credo .joint {
  background-color: #0e0e0e;
}

@media screen and (min-width: 768px) {
  .pg-company .credo .joint {
    background: none;
  }
}

.pg-company .outline {
  background-color: #070707;
}

/* =========================================================
   事業内容
   リード / 事業4ブロック / ワンストップ工程図 / 対応エリア
   ========================================================= */
.pg-service {
  /* 偶数ブロックは写真を右側へ */
}

.pg-service .svc {
  padding-top: 64px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  /* ---------- PC：写真とテキストを左右に組み、ブロックごとに向きを反転 ---------- */
}

@media screen and (min-width: 768px) {
  .pg-service .svc {
    padding-top: 80px;
  }
}

.pg-service .svc:last-of-type {
  padding-bottom: 64px;
}

@media screen and (min-width: 768px) {
  .pg-service .svc:last-of-type {
    padding-bottom: 80px;
  }
}

.pg-service .svc .svc-img {
  aspect-ratio: 4 / 3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .pg-service .svc .svc-img {
    aspect-ratio: 21 / 9;
  }
}

.pg-service .svc .svc-img.ph {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.08), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px), #141414;
}

.pg-service .svc .svc-body {
  position: relative;
  margin: -30px 14px 0;
  padding: 32px 20px 36px;
  background-color: #070707;
  border-top: 2px solid #ed1c24;
}

@media screen and (min-width: 768px) {
  .pg-service .svc .svc-body {
    max-width: 680px;
    margin: -70px auto 0;
    padding: 44px 52px 48px;
  }
}

.pg-service .svc .svc-body h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.pg-service .svc .svc-en {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #ed1c24;
}

.pg-service .svc .svc-copy {
  margin-top: 12px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(21px, 5.8vw, 30px);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.pg-service .svc .svc-txt {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 2.1;
  color: #c4c4c4;
}

.pg-service .svc .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.pg-service .svc .tags li {
  padding: 3px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #d6d6d6;
}

@media screen and (min-width: 1024px) {
  .pg-service .svc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
  }
  .pg-service .svc:last-of-type {
    padding-bottom: 0;
  }
  .pg-service .svc .svc-img {
    aspect-ratio: auto;
    min-height: 560px;
  }
  .pg-service .svc .svc-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    margin: 0;
    padding: 80px clamp(40px, 4.5vw, 88px);
    border-top: 0;
    border-left: 2px solid #ed1c24;
  }
  .pg-service .svc .svc-copy {
    font-size: 32px;
  }
  .pg-service .svc .svc-txt {
    font-size: 15px;
  }
  .pg-service .svc .tags {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 1024px) {
  .pg-service .svc--rev .svc-img {
    order: 2;
  }
  .pg-service .svc--rev .svc-body {
    order: 1;
    border-left: 0;
    border-right: 2px solid #ed1c24;
  }
}

.pg-service .flow {
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-service .area {
  background-color: #070707;
}

/* =========================================================
   施工事例（一覧のみ。詳細ページは持たず、モーダルで表示）
   SP1列 / 768px〜2列 / 1024px〜3列
   サムネイルが無くてもレイアウトが崩れないこと
   ========================================================= */
.pg-works .works-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .pg-works .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}

@media screen and (min-width: 1024px) {
  .pg-works .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pg-works .wk {
  /* カード全体がボタン */
  /* サムネイル無しでも成立させる */
}

.pg-works .wk .wk-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.pg-works .wk .wk-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pg-works .wk .wk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pg-works .wk.is-noimg .wk-btn {
  padding: 32px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.4s;
}

.pg-works .wk .wk-ttl {
  display: block;
  margin-top: 14px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.pg-works .wk.is-noimg .wk-ttl {
  margin-top: 0;
}

.pg-works .wk .meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9c9c9c;
  letter-spacing: 0.1em;
}

.pg-works .wk .wk-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #9c9c9c;
  transition: color 0.4s;
}

.pg-works .wk .wk-more::after {
  content: "";
  width: 20px;
  height: 1px;
  background-color: currentColor;
  transition: width 0.4s;
}

.pg-works .wk:hover .wk-img img, .pg-works .wk:focus-within .wk-img img {
  transform: scale(1.06);
}

.pg-works .wk:hover .wk-more, .pg-works .wk:focus-within .wk-more {
  color: #ed1c24;
}

.pg-works .wk:hover .wk-more::after, .pg-works .wk:focus-within .wk-more::after {
  width: 34px;
}

.pg-works .wk:hover.is-noimg .wk-btn, .pg-works .wk:focus-within.is-noimg .wk-btn {
  border-color: rgba(255, 255, 255, 0.28);
}

/* =========================================================
   施工事例モーダル
   ========================================================= */
.wk-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

@media screen and (min-width: 768px) {
  .wk-modal {
    padding: 40px;
  }
}

.wk-modal[hidden] {
  display: none;
}

.wk-modal .wk-modal-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(4, 4, 4, 0.88);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s;
  cursor: pointer;
}

.wk-modal .wk-modal-panel {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background-color: #070707;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wk-modal.is-open .wk-modal-bg {
  opacity: 1;
}

.wk-modal.is-open .wk-modal-panel {
  opacity: 1;
  transform: none;
}

.wk-modal .wk-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background-color: rgba(7, 7, 7, 0.8);
  color: #ececec;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

@media screen and (min-width: 768px) {
  .wk-modal .wk-modal-close {
    width: 60px;
    height: 60px;
  }
}

.wk-modal .wk-modal-close:hover, .wk-modal .wk-modal-close:focus-visible {
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
}

.wk-modal .wk-modal-close svg {
  width: 18px;
  height: 18px;
}

.wk-modal .wk-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 56px 20px 40px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .wk-modal .wk-modal-body {
    padding: 72px 56px 56px;
  }
}

.wk-modal .wk-modal-body:focus {
  outline: 0;
}

.wk-modal .wk-modal-ttl {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(20px, 5.2vw, 28px);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.wk-modal .wk-modal-copy {
  margin-top: 14px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(17px, 4.4vw, 22px);
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: #ed1c24;
}

.wk-modal .wk-modal-photos {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  /* 2枚目以降は並べる */
}

.wk-modal .wk-modal-photos img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .wk-modal .wk-modal-photos img:nth-child(n + 2) {
    grid-column: span 1;
  }
}

@media screen and (min-width: 768px) {
  .wk-modal .wk-modal-photos {
    grid-template-columns: repeat(2, 1fr);
  }
  .wk-modal .wk-modal-photos img:first-child {
    grid-column: 1 / -1;
  }
}

.wk-modal .wk-modal-lead {
  margin-top: 28px;
  font-size: 14px;
  line-height: 2.2;
  color: #cfcfcf;
  text-align: left;
}

.wk-modal .tbl {
  margin-top: 28px;
}

.wk-modal .tbl dt {
  font-size: 12px;
}

.wk-modal .wk-modal-detail {
  margin-top: 32px;
  text-align: left;
}

.wk-modal .wk-modal-detail h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #ed1c24;
}

.wk-modal .wk-modal-detail p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 2.1;
  color: #cfcfcf;
}

.wk-modal .editor {
  text-align: left;
}

.is-modal-open {
  overflow: hidden;
}

/* =========================================================
   採用情報
   仕事内容4種 / 募集要項 / 選考フロー / CTA
   ========================================================= */
.pg-recruit .job-sec {
  padding-top: 0;
}

.pg-recruit .job-sec .job-list {
  display: grid;
  gap: 2px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .pg-recruit .job-sec .job-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .pg-recruit .job-sec .job-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pg-recruit .job-sec .job {
  position: relative;
  padding: 36px 20px;
  background-color: #0e0e0e;
}

.pg-recruit .job-sec .job .en {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #ed1c24;
}

.pg-recruit .job-sec .job h3 {
  margin-top: 8px;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.12em;
}

.pg-recruit .job-sec .job p {
  margin-top: 8px;
  font-size: 13px;
  color: #bdbdbd;
  line-height: 1.9;
}

.pg-recruit .req {
  background-color: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================================================
   福利厚生
   4グループのカード一覧（SP1列 / 768px〜2列 / 1024px〜3列）
   ========================================================= */
.pg-welfare .wf-group {
  margin-top: 48px;
}

@media screen and (min-width: 768px) {
  .pg-welfare .wf-group {
    margin-top: 56px;
  }
}

.pg-welfare .wf-ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: #ed1c24;
}

.pg-welfare .wf-ttl::before, .pg-welfare .wf-ttl::after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.28);
}

.pg-welfare .wf-ttl b {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #fff;
}

.pg-welfare .wf-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

@media screen and (min-width: 768px) {
  .pg-welfare .wf-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media screen and (min-width: 1024px) {
  .pg-welfare .wf-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pg-welfare .wf-list li {
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.4s, background 0.4s;
}

.pg-welfare .wf-list li:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.02);
}

.pg-welfare .wf-list h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.pg-welfare .wf-list p {
  margin-top: 8px;
  font-size: 13px;
  color: #bdbdbd;
  line-height: 1.9;
}

/* =========================================================
   お問い合わせ（入力 / 確認 / 完了）
   -----------------------------------------------------------
   Contact Form 7 ＋ Multi-Step Module の実出力に合わせたスタイル。
   ・各項目は <label> 内に「見出し + <br> + コントロール」が入る
   ・必須／任意バッジは <span class="red"> / <span class="blue">
   ・確認画面の [multiform] は素のテキストとして出力される
   ・[previous] は input[type="button"].wpcf7-previous
   ========================================================= */
.pg-contact {
  /* ---------- 電話ブロック ---------- */
}

.pg-contact .form {
  max-width: 680px;
  margin: 44px auto 0;
  text-align: left;
  /* CF7 が出力するラッパー */
  /* ---------- 項目（ラベル） ---------- */
  /* CF7 の autop が入れる <br> は余分な行間になるため止め、
       間隔は .wpcf7-form-control-wrap の margin で作る */
  /* ---------- 必須／任意バッジ ---------- */
  /* ---------- 入力コントロール ---------- */
  /* ---------- プライバシーポリシー同意 ---------- */
  /* ---------- ボタン ---------- */
  /* 送信・確認ボタン（赤グラデ） */
  /* 戻るボタン（枠線＋ホバーで赤グラデ） */
  /* ボタンを含む段落は中央寄せ */
  /* ---------- バリデーション表示 ---------- */
}

.pg-contact .form .wpcf7 {
  margin: 0;
}

.pg-contact .form .wpcf7-form p {
  margin: 0 0 26px;
  font-size: 13px;
  line-height: 1.9;
}

.pg-contact .form .wpcf7-form p:last-child {
  margin-bottom: 0;
}

.pg-contact .form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: #ececec;
}

.pg-contact .form label > br {
  display: none;
}

.pg-contact .form span.red,
.pg-contact .form span.blue {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.8;
  vertical-align: 2px;
}

.pg-contact .form span.red {
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
}

.pg-contact .form span.blue {
  border: 1px solid rgba(127, 168, 201, 0.6);
  color: #7fa8c9;
}

.pg-contact .form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.pg-contact .form input[type="text"],
.pg-contact .form input[type="tel"],
.pg-contact .form input[type="email"],
.pg-contact .form input[type="url"],
.pg-contact .form input[type="number"],
.pg-contact .form input[type="date"],
.pg-contact .form select,
.pg-contact .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background-color: #101010;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  transition: border-color 0.3s;
}

.pg-contact .form input[type="text"]::placeholder,
.pg-contact .form input[type="tel"]::placeholder,
.pg-contact .form input[type="email"]::placeholder,
.pg-contact .form input[type="url"]::placeholder,
.pg-contact .form input[type="number"]::placeholder,
.pg-contact .form input[type="date"]::placeholder,
.pg-contact .form select::placeholder,
.pg-contact .form textarea::placeholder {
  color: #5f5f5f;
}

.pg-contact .form input[type="text"]:focus,
.pg-contact .form input[type="tel"]:focus,
.pg-contact .form input[type="email"]:focus,
.pg-contact .form input[type="url"]:focus,
.pg-contact .form input[type="number"]:focus,
.pg-contact .form input[type="date"]:focus,
.pg-contact .form select:focus,
.pg-contact .form textarea:focus {
  outline: 0;
  border-color: #ed1c24;
}

.pg-contact .form textarea {
  min-height: 180px;
  resize: vertical;
}

.pg-contact .form label.policy {
  margin-top: 36px;
  text-align: center;
  color: #cfcfcf;
  /* CF7 の use_label_element が出力する内側の label */
}

.pg-contact .form label.policy .wpcf7-form-control-wrap {
  display: inline-block;
  margin-top: 0;
}

.pg-contact .form label.policy .wpcf7-list-item {
  margin: 0;
}

.pg-contact .form label.policy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
}

.pg-contact .form label.policy a {
  color: #ed1c24;
  text-decoration: underline;
}

.pg-contact .form input[type="checkbox"],
.pg-contact .form input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #ed1c24;
  cursor: pointer;
}

.pg-contact .form .wpcf7-list-item-label {
  letter-spacing: 0.08em;
}

.pg-contact .form input[type="submit"],
.pg-contact .form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 56px;
  padding: 0 32px;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.4s;
  -webkit-appearance: none;
  appearance: none;
}

.pg-contact .form input[type="submit"]:hover,
.pg-contact .form button[type="submit"]:hover {
  opacity: 0.82;
}

.pg-contact .form input.wpcf7-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 56px;
  padding: 0 32px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: none;
  color: #ececec;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: border-color 0.4s, background 0.4s;
  -webkit-appearance: none;
  appearance: none;
}

.pg-contact .form input.wpcf7-previous:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
}

.pg-contact .form .wpcf7-form p:has(input[type="submit"]),
.pg-contact .form .wpcf7-form p:has(input.wpcf7-previous) {
  text-align: center;
  /* 戻る／送信が同じ段落に並ぶ場合の改行を詰める */
}

.pg-contact .form .wpcf7-form p:has(input[type="submit"]) br,
.pg-contact .form .wpcf7-form p:has(input.wpcf7-previous) br {
  display: none;
}

@media screen and (min-width: 768px) {
  .pg-contact .form .wpcf7-form p:has(input[type="submit"]),
.pg-contact .form .wpcf7-form p:has(input.wpcf7-previous) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .pg-contact .form .wpcf7-form p:has(input[type="submit"]) input[type="submit"],
.pg-contact .form .wpcf7-form p:has(input[type="submit"]) input.wpcf7-previous,
.pg-contact .form .wpcf7-form p:has(input.wpcf7-previous) input[type="submit"],
.pg-contact .form .wpcf7-form p:has(input.wpcf7-previous) input.wpcf7-previous {
    width: auto;
    min-width: 240px;
  }
}

.pg-contact .form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #ed1c24;
}

.pg-contact .form .wpcf7-not-valid {
  border-color: #ed1c24;
}

.pg-contact .form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  line-height: 1.9;
}

.pg-contact .form .wpcf7-form.invalid .wpcf7-response-output,
.pg-contact .form .wpcf7-form.unaccepted .wpcf7-response-output,
.pg-contact .form .wpcf7-form.payment-required .wpcf7-response-output {
  border-color: #ed1c24;
}

.pg-contact .form .wpcf7-spinner {
  margin: 0 12px;
}

.pg-contact .sec-tel {
  padding-top: 0;
}

.pg-contact .tel-box {
  max-width: 480px;
  margin: 32px auto 0;
  padding: 36px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-contact .tel-box h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

/* =========================================================
   確認画面
   [multiform] は素のテキストで出力されるため、
   1行目（項目名）と2行目（入力値）を ::first-line で描き分ける
   ========================================================= */
.pg-contact-confirm .form {
  /* 確認画面は「項目名 <br> 入力値」の2行構成なので <br> を残す */
}

.pg-contact-confirm .form .wpcf7-form p {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pg-contact-confirm .form .wpcf7-form p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pg-contact-confirm .form label > br {
  display: inline;
}

.pg-contact-confirm .form label {
  font-size: 15px;
  line-height: 2.1;
  color: #fff;
}

.pg-contact-confirm .form label::first-line {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #ed1c24;
}

.pg-contact-confirm .form .wpcf7-form p:has(input[type="submit"]),
.pg-contact-confirm .form .wpcf7-form p:has(input.wpcf7-previous) {
  padding-bottom: 0;
  margin-top: 24px;
  border-bottom: 0;
}

/* =========================================================
   プライバシーポリシー
   ========================================================= */
.pg-policy .policy-contents {
  margin-top: 44px;
  text-align: left;
}

.pg-policy .policy-contents h3 {
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
}

.pg-policy .policy-contents h3:first-child {
  margin-top: 0;
}

.pg-policy .policy-contents p {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 2.1;
  color: #cfcfcf;
}

.pg-policy .policy-contents .policy-list {
  margin-top: 14px;
}

.pg-policy .policy-contents .policy-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 2;
  color: #cfcfcf;
}

.pg-policy .policy-contents .policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 6px;
  height: 2px;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
}

/* 汎用ページ（固定ページ・404など） */
.pg-general .general-entry {
  text-align: center;
}

/* =========================================================
   フッター（お問い合わせセクション＋フッターナビ）
   ========================================================= */
#footer_contact {
  background-color: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#footer_contact[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.88), rgba(7, 7, 7, 0.94));
}

#footer_contact[style*="background-image"] .inner {
  position: relative;
  z-index: 2;
}

#footer_contact .ct-logo svg,
#footer_contact .ct-logo img {
  width: 220px;
  height: 55px;
  margin: 0 auto;
  color: #fff;
  object-fit: contain;
}

#footer_contact .ct-addr {
  margin-top: 22px;
  font-size: 13px;
  color: #bdbdbd;
  line-height: 2;
}

#footer_contact .sec-ttl {
  margin-top: 56px;
}

@media screen and (min-width: 768px) {
  #footer_contact .sec-ttl {
    margin-top: 64px;
  }
}

#footer_contact .ct-boxes {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  #footer_contact .ct-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

#footer_contact .ct-boxes .ct-box {
  padding: 38px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#footer_contact .ct-boxes .ct-box .sec-en {
  margin-bottom: 10px;
}

#footer_contact .ct-boxes .ct-box h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

#footer_contact .ct-boxes .ct-box .btn {
  margin-top: 24px;
  min-width: 100%;
}

@media screen and (min-width: 768px) {
  #footer_contact .ct-boxes .ct-box .btn {
    min-width: 240px;
  }
}

#footer_contact .ct-boxes .ct-box .note {
  margin-top: 8px;
  font-size: 12px;
  color: #9c9c9c;
  line-height: 1.8;
}

#footer_contact .ct-tel {
  display: inline-block;
  margin-top: 16px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 9vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

#footer_contact .ct-tel small {
  font-size: 0.5em;
  margin-right: 8px;
  color: #ed1c24;
}

/* SNSはアイコンだけだと気づかれないため、見出し＋名前付きボタンで見せる */
#footer_contact .sns-wrap {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#footer_contact .sns-lead {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #cfcfcf;
}

#footer_contact .sns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

#footer_contact .sns .sns-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.16em;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s, color 0.4s;
}

#footer_contact .sns .sns-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

#footer_contact .sns .sns-btn:hover, #footer_contact .sns .sns-btn:focus-visible {
  border-color: transparent;
  color: #fff;
}

#footer_contact .sns .sns-btn:hover::before, #footer_contact .sns .sns-btn:focus-visible::before {
  transform: none;
}

#footer_contact .sns .sns-btn span {
  line-height: 1;
}

#footer_contact .sns svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ---------- ページの先頭へ戻る ---------- */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background-color: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(6px);
  color: #ececec;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background 0.4s, border-color 0.4s, color 0.4s;
  -webkit-appearance: none;
  appearance: none;
}

@media screen and (min-width: 768px) {
  .to-top {
    right: 28px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    width: 60px;
    height: 60px;
  }
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.is-open .to-top,
.is-open .to-top.is-show {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.to-top:hover, .to-top:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #ed1c24 10%, #b2141a 65%, #4b0607 100%);
  color: #fff;
}

.to-top svg {
  width: 15px;
  height: 15px;
}

@media screen and (min-width: 768px) {
  .to-top svg {
    width: 16px;
    height: 16px;
  }
}

.to-top .to-top-en {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.ft {
  padding: 48px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  background-color: #040404;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 768px) {
  .ft {
    padding: 56px 48px calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

.ft .ft-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  max-width: 520px;
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #bdbdbd;
}

.ft .ft-nav a:hover {
  color: #fff;
}

.ft .ft-lic {
  margin-top: 24px;
  font-size: 11px;
  color: #9c9c9c;
}

@media screen and (min-width: 768px) {
  .ft .ft-lic {
    margin-top: 28px;
  }
}

.ft small {
  display: block;
  margin-top: 12px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6d6d6d;
}

@media screen and (min-width: 768px) {
  .ft small {
    margin-top: 14px;
  }
}

/*# sourceMappingURL=style.css.map */