/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* background: #f5f5f5; */
  font-size: 15px;
  font-family:
    "Yu Gothic",
    "YuGothic",
    "游ゴシック",
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    sans-serif;
}

html,
body {
  overflow-x: hidden;
}

ul {
  padding: 0;
  margin: 0;
}

/* =========================
   LAYOUT
========================= */
.wrapper {
  /* display: flex; */
}

.content {
  margin-left: 260px;
  width: calc(100% - 260px);
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 200;
  overflow: visible;
}

.sidebar-inner {
  width: 100%;
  position: relative;
}

.logo-area {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #bfbfbf;
}

.logo-area img {
  width: 200px;
  display: inline-block;
}

/* =========================
   NAV
========================= */
.nav {
  width: 100%;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  position: relative;
  border-bottom: 1px solid #bfbfbf;
}


.nav-link {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: #FFF;
  position: relative;
  overflow: hidden;
  padding: 18px 10px 16px;
  transition: background 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #0d6db8;
  transition: width 0.3s ease;
  z-index: 1;
}

/* =========================
   PCサイドバー メニュー色分け
========================= */
@media screen and (min-width: 769px) {

  /* HOME */
  .sidebar .nav>ul>li:nth-child(1)>.nav-link::before {
    background: #0167b2;
  }

  /* ABOUT US */
  .sidebar .nav>ul>li:nth-child(2)>.nav-link::before {
    background: #4658a2;
  }

  /* BUSINESS */
  .sidebar .nav>ul>li:nth-child(3)>.nav-link::before {
    background: #7d438f;
  }

  /* OUR PROCESS */
  .sidebar .nav>ul>li:nth-child(4)>.nav-link::before {
    background: #cd1f64;
  }

  /* RECRUIT */
  .sidebar .nav>ul>li:nth-child(5)>.nav-link::before {
    background: #dd6a4b;
  }

  /* CONTACT */
  .sidebar .nav>ul>li:nth-child(6)>.nav-link::before {
    background: #e8a940;
  }

  .sidebar .nav>ul>li:nth-child(3) .mega-menu {
    background: #7d438f;
  }


}



.nav-link:hover::before,
.has-mega:hover>.nav-link::before {
  width: 100%;
}

.nav-text {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #444;
  transition: color 0.3s ease;
}

.nav-text::before {
  content: attr(data-en);
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 4px;
  font-family: "Poppins", sans-serif;
  color: #222;
  transition: color 0.3s ease;
}

.nav-link:hover .nav-text,
.nav-link:hover .nav-text::before,
.has-mega:hover>.nav-link .nav-text,
.has-mega:hover>.nav-link .nav-text::before {
  color: #fff;
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: fixed;
  top: 0;
  left: 260px;
  width: 260px;
  height: 100vh;
  background: #0d6db8;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999;
}

.mega-menu {
  display: flex;
  align-items: center;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  padding: 42px 18px 20px;
}

.mega-title-en {
  text-align: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 4px;
  font-family: "Poppins", sans-serif;
  margin: 0 0 6px;
}

.mega-title-jp {
  text-align: center;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 24px;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-list li {
  border: 0;
  margin: 0 0 32px;
}

.mega-list li:last-child {
  margin-bottom: 0;
}

.mega-list a {
  display: block;
  text-decoration: none;
  position: relative;
}

.mega-list img {
  display: block;
  width: 100%;
  height: auto;
}

.mega-link {
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 85%;
  background: #000;
  color: #fff;
  font-size: 10px;
  padding: 8px 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mega-text {
  position: relative;
  padding-right: 6px;
}

.mega-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mega-arrow {
  transition: transform 0.3s ease;
}

.mega-list a:hover .mega-text::after {
  transform: scaleX(1);
}

.mega-list a:hover .mega-arrow {
  transform: translateX(6px);
}

/* =========================
   LINE画像
========================= */

/* PC側 */
.line-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0 24px;
}

.line-area .line-btn {
  display: block;
  width: 250px;
  /* ← PC画像の大きさ。小さければ150pxなどに調整 */
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  min-width: 0;
}

.line-area .line-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* SP側 */
.line-area-sp {
  /* margin-top: 24px; */
  text-align: center;
}

.line-area-sp .line-btn {
  display: inline-block;
  width: 270px;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  min-width: 0;
}

.line-area-sp .line-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   LINE画像 ホバー
========================= */

/* PC・SP共通 */
.line-area .line-btn img,
.line-area-sp .line-btn img {
  transition: opacity 0.3s ease;
}

/* ホバー時に少し白っぽくする */
.line-area .line-btn:hover img,
.line-area-sp .line-btn:hover img {
  opacity: 0.75;
}


/* =========================
   MV
========================= */
:root {
  --side-width: 260px;
}

/* MV */
.mv {
  height: 120vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 初期状態：背景固定 */
.mv-inner {
  position: fixed;
  top: 0;
  left: var(--side-width);
  width: calc(100% - var(--side-width));
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

/* fixed解除後：サイズを変えずにMV内で止める */
.mv.is-fixed-end .mv-inner {
  position: absolute;
  top: calc(100% - 100vh);
  left: 0;
  width: 100%;
  height: 100vh;
}

/* スライド画像 */
.mv-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 2.8s ease,
    transform 7s ease;
  will-change: opacity, transform;
}

.mv-slide.current {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.mv-slide.next {
  opacity: 0;
  z-index: 2;
  transform: scale(1.01);
}

/* 文字は固定しない。スクロールと一緒に上へ流れる */
.mv-text {
  position: absolute;
  right: 10%;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 90%;
  max-width: 520px;
}

/* 
.mv-text img {
  width: 100%;
  height: auto;
  display: block;
} */

/* MV下部の白グラデーションは最初から出しておく */
.mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 260px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.25) 30%,
      rgba(255, 255, 255, 0.65) 60%,
      rgba(255, 255, 255, 0.92) 82%,
      #fff 100%);
}

/* MV下のコンテンツを前面に */
.mv+section,
.mv~section {
  position: relative;
  z-index: 5;
  background: #fff;
}


/* =========================
   MV TEXT
========================= */


/*0607追加分　ロゴ************************************************/
.mv-logo {
  display: flex;
  justify-content: flex-end;
}

.mv-logo img {
  display: block;
  width: clamp(300px, 28vw, 430px);
  height: auto;
}

.mv-copy .mv-sub {
  display: block;
  position: relative;
  z-index: 5;
  margin-top: 10px;
  color: #222;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: right;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.8),
    2px 2px 6px rgba(255, 255, 255, 0.7);
}

.mv-sub .char {
  opacity: 1 !important;
  transform: none !important;
}



/*0607追加分　ロゴ************************************************/

.mv-text {
  position: absolute;
  right: -50px;
  top: 70%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  max-width: none;
  padding: 0 5vw;
  text-align: right;
  overflow: visible;
}

.mv-copy {
  display: inline-block;
  max-width: 100%;
  color: #fff;
  letter-spacing: 0.04em;
}

.mv-copy .catch {
  /* font-family: Impact, "Arial Black", sans-serif; */
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-size: clamp(30px, 3.2vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #fff;
  text-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.75),
    6px 6px 10px rgba(0, 0, 0, 0.35);
}

/* .mv-copy .mv-sub {
  margin-top: 12px;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック", sans-serif;
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.75),
    4px 4px 8px rgba(0, 0, 0, 0.35);
} */

/* 文字アニメ用 */
/* .mv-copy .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
} */

.mv-copy .char.is-show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}



.sp-br500 {
  display: none;
}

.catch-line {
  display: inline;
}


/* =========================
   COMMON
========================= */
section {
  position: relative;
}

.sub {
  font-size: 12px;
  color: #fff;
  margin-bottom: 10px;
}


/* =========================
   TOP ABOUT
========================= */
.about {
  position: relative;
  padding: 120px 0 95px;
}

.about-inner {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}

.about-head {
  position: relative;
  height: 340px;
}

.about-sub {
  position: static;
  font-size: 11px;
  color: #333;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.about-sub::after {
  content: "";
  display: block;
  width: 49px;
  height: 1px;
  background: #222;
  margin-top: 3px;
}

.about-copy {
  position: absolute;
  top: 40px;
  left: 260px;
  width: 360px;
}

.about-title {
  font-size: 30px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #333;
  font-weight: 600;
}

.about-en {
  margin-top: 10px;
  font-size: 10px;
  color: #8a8a8a;
  line-height: 1.8;
}

.about-message {
  position: absolute;
  top: 250px;
  right: 40px;
  width: 550px;
}

.about-text {
  font-size: 15px;
  line-height: 2;
  color: #555;
  letter-spacing: 0.04em;
}

.about-name {
  margin-top: 18px;
  text-align: right;
  font-size: 11px;
  color: #333;
  letter-spacing: 0.08em;
}

.about-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 85px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
  z-index: 1000;
}

.about-btn span {
  position: relative;
  z-index: 2;
}

.about-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.about-btn:hover::before {
  transform: scaleX(1);
}

.about-btn:hover span {
  color: #000;
}

/* =========================
   下段ビジュアル
========================= */
.about-visual {
  position: relative;
  height: 520px;
  margin-top: 60px;
}

.about-img1 {
  position: absolute;
  left: 60px;
  top: 250px;
  /* width: 565px; */
  width: 50%;
  transform: translateX(-90px);
}

.about-img2 {
  position: absolute;
  right: 0px;
  top: 430px;
  width: 565px;
  z-index: 2;
}

/* =========================
   TOP_BUSINESS
========================= */
.business {
  position: relative;
  padding: 120px 0 120px;
}

.business-inner {
  position: relative;
  width: 100%;
}

.business-main {
  position: relative;
  width: 90%;
  height: 600px;
  padding: 80px 0 0 10vw;
  color: #000;
  background: url("../images/PC/business_senga.jpg") center/cover no-repeat;
  z-index: 3;
}

/* 上部を少しだけ強めにふわっと */
.business-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 125px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.45) 45%,
      rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}


.business-main .sub {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
  border-bottom: 1px solid #000;
  color: #000;
}

/* BUSINESS 見出し文字：白フチ */
.business-main .sub,
.business-main h2,
.business-main>p {
  color: #000;
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff,
    0 1px 0 #fff,
    1px 0 0 #fff,
    0 -1px 0 #fff,
    -1px 0 0 #fff;
}

.business-main h2 {
  font-size: 50px;
  letter-spacing: 4px;
}

.business-main p {
  font-size: 15px;
  line-height: 1.8;
}

.business-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 55px;
  padding: 15px 35px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.business-btn span {
  position: relative;
  z-index: 2;
}

.business-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: 1;
}

.business-btn:hover {
  color: #000;
}

.business-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.business-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 82%;
  margin-left: 20px;
  width: 50px;
  height: 1px;
  background: #fff;
}

.business-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 82%;
  margin-left: 20px;
  width: 50px;
  height: 1px;
  background: #fff;
}

/* =========================
   TOP BUSINESS ボタン
========================= */
.business-cards {
  position: absolute;
  right: 20%;
  top: 60%;
  transform: translateY(-35%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 40%;
  max-width: 515px;
  z-index: 4;
}

.card {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  text-decoration: none;
  color: inherit;
}

.card-link {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  min-height: 77px;
  background: #fff;
  color: #000;
  padding: 0 45px 0 35px;
  border: 1px solid #000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
}

/* 左から右に流れるホバー */
.card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.card:hover .card-link::before {
  transform: scaleX(1);
}

.card-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #000;
  line-height: 1.4;
  padding-right: 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: color 0.3s ease;
}

.card-arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 42px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  line-height: 1;
  font-size: 0;
  overflow: hidden;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.card-arrow::before {
  content: "→";
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.card:hover .card-text {
  color: #fff;
}

/* 黒丸自体は動かさない */
.card:hover .card-arrow {
  background: #fff;
  color: #000;
}

/* 中の矢印だけ動かす */
.card:hover .card-arrow::before {
  transform: translateX(4px);
}

/* 既存の文字下線ホバーを使わない場合 */
.card-text::after {
  display: none;
}

/* =========================
   水彩画像
========================= */
.bg-blue {
  position: absolute;
  left: -170px;
  top: -180px;
  width: 650px;
  transform: translateX(-150px);
  z-index: -1;
}

.bg-orange {
  position: absolute;
  right: -200px;
  bottom: -300px;
  width: 1000px;
  z-index: 0;
}

/* =========================
   TOP_RECRUIT
========================= */
.recruit {
  padding: 120px 0 100px;
  /* background: #f5f5f5; */
  position: relative;
}

.recruit-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 25px;
}

.recruit-head .sub {
  font-size: 12px;
  color: #222;
  margin-bottom: 6px;
}

.recruit-head .sub::after {
  content: "";
  display: block;
  width: 55px;
  height: 1px;
  background: #333;
  margin-top: 3px;
}

.recruit-head h2 {
  font-size: 30px;
  letter-spacing: 4px;
  position: relative;
}

.recruit-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50px;
  width: 1px;
  height: 50px;
  background: #000;
  transform: translateX(-50%);
}

.recruit-img {
  height: 450px;
  background: url("../images/PC/recruit.jpg") center/cover no-repeat;
  width: calc(100% - 260px);
  margin: auto;
}

.recruit-bottom {
  position: relative;
  width: calc(100% - 260px);
  margin-left: 250px;
  height: 120px;
}

.recruit-bottom::before {
  content: "";
  position: absolute;
  left: 34%;
  width: 1px;
  height: 65px;
  background: #000;
  transform: translateX(-50%);
}

.recruit-text {
  position: absolute;
  left: calc(34% + 40px);
  top: 25px;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: bold;
}

.recruit-btn {
  position: absolute;
  right: 10%;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 60px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 12px;
  overflow: hidden;
  border: 1px solid #000;
}

.recruit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.recruit-btn span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.recruit-btn:hover::before {
  transform: scaleX(1);
}

.recruit-btn:hover span {
  color: #000;
}



/* =========================
   TOP_CONTACT
========================= */
.contact {
  padding: 120px 0;
  /* background: #f5f5f5; */
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 260px);
  margin: auto;
  background: url("../images/PC/contact.jpg") center/cover no-repeat;
  padding: 120px 0;
  text-decoration: none;
  color: inherit;
}

.contact-title {
  font-size: 40px;
  letter-spacing: 6px;
  color: #333;
}

.contact-link {
  position: relative;
  display: inline-block;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #333;
  text-decoration: none;
}

.contact-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 235px;
  width: 200px;
  height: 1px;
  background: #333;
  margin-left: -100px;
  transform: scaleX(0);
  transform-origin: left;
}

.contact-inner:hover::after {
  animation: lineFlow 0.9s linear infinite;
}

/* ===== アニメーション ===== */
@keyframes lineFlow {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  45% {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* ←ここで一瞬止める */
  65% {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* ←右に抜ける */
  66% {
    transform: scaleX(1);
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  background: url("../images/PC/footer_bg.jpg") center/cover no-repeat;
  padding: 80px 120px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-left {
  max-width: 500px;
}

.footer-catch {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 2;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 15px;
}


.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-left {
  max-width: 500px;
}

.footer-catch {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 2;
}

.footer-logo img {
  width: 180px;
  margin-bottom: 5px;
}

.footer-tel-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-tel {
  font-size: 15px;
  margin: 0;
}

.footer-line img {
  width: 200px;
  margin-left: -12px;
}

.footer-license {
  font-size: 12px;
  color: #222;
}

.footer-right {
  font-size: 12px;
  color: #222;
}

.footer-license {
  font-size: 12px;
  color: #222;
}

.footer-right {
  font-size: 12px;
  color: #222;
}

/* =========================
   FOOTER LINE画像 ホバー
========================= */

.footer-line {
  display: inline-block;
}

.footer-line img {
  display: block;
  transition: opacity 0.3s ease;
}

.footer-line:hover img {
  opacity: 0.75;
}

/* =========================
   ABOUT PAGE
========================= */

.about-kv {
  height: 600px;
  background: url("../images/PC/mv_about.jpg") center/cover no-repeat;
}

.about-page-intro {
  max-width: 1000px;
  position: relative;
  margin: -30px auto 0;
  padding: 0 120px;
}

.about-page-title {
  text-align: right;
  font-size: 34px;
  letter-spacing: 4px;
  position: relative;
}

.about-page-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: #333;
}

.about-page-sub {
  text-align: right;
  font-size: 14px;
  color: #333;
  margin-top: 10px;
  font-weight: bold;
}

.about-page-text {
  margin: 60px auto 0;
  text-align: justify;
  line-height: 2.2;
  font-size: 15px;
}

.about-page-philosophy {
  background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 140px 0;

  overflow: hidden;
  margin-top: 10%;
}

.about-bg-pink {
  position: absolute;
  left: -480px;
  top: -380px;
  width: 900px;
  z-index: -1;
}

.about-bg-orange {
  position: absolute;
  right: -350px;
  bottom: -700px;
  width: 900px;
  z-index: 0;
}

.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: auto;
  padding-left: 120px;
  padding-right: 120px;
}

.philosophy-logo {
  display: block;
  margin: 0 auto 20px;
  width: 450px;
}

.philosophy-title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.2em;
  margin-bottom: 60px;
  color: #333;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 25px 30px 25px;
  gap: 20px;
}

.philosophy-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 15px;
  width: 60px;
  height: 1px;
  background: #000;
  transform: rotate(-45deg);
}

.philosophy-left {
  width: 120px;
  flex-shrink: 0;
}

.philosophy-left .jp {
  display: block;
  font-size: 33px;
  font-weight: bold;
  text-align: center;
}

.philosophy-left .en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  font-weight: bold;
  margin-top: -8px;
}

.philosophy-left.blue .jp,
.philosophy-left.blue .en {
  color: #2f6fff;
}

.philosophy-left.pink .jp,
.philosophy-left.pink .en {
  color: #e34b7b;
}

.philosophy-left.yellow .jp,
.philosophy-left.yellow .en {
  color: #f2a640;
}

.philosophy-text {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
}

/* =========================
   COMPANY
========================= */
.company {
  padding: 120px 0;
  width: calc(100% - 260px);
  margin-left: 120px;
}

.company-title {
  font-size: 26px;
  letter-spacing: 4px;
  margin-bottom: 50px;
}

.company-page-sub {
  position: static;
  /* ←これが一番重要 */
  font-size: 11px;
  color: #222;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.company-page-sub::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: #333;
  margin-top: 3px;
}

/* =========================
   リスト
========================= */
.company-item {
  display: flex;
  padding: 18px 0;
  position: relative;
}

.company-label {
  width: 110px;
  position: relative;

  font-size: 15px;
  font-weight: bold;
  text-align: center;
  align-items: center;
  display: grid;
}

.company-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 120px;
  height: 1px;
  background: #222;
}

.company-content {
  margin-left: 50px;
  flex: 1;
  position: relative;
  font-size: 15px;
  line-height: 2;
}

.company-content::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -12px;
  width: calc(100% - 20px);
  height: 1px;
  background: #222;
}

/* =========================
   MAP
========================= */

.company-map {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

.company-map>div {
  flex: 1;
}

.company-map iframe {
  width: 100%;
  height: 260px;
  display: block;
  border: none;
}

.company-map p {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
  letter-spacing: 0.05em;
}


/* =========================
  3ページ共通(外壁・屋根・防水)
========================= */
.business-page-intro {
  max-width: 1000px;
  position: relative;
  margin: -25px auto 100px;
  padding: 0 120px;
  z-index: 2;
}

.business-page-title {

  text-align: right;
  font-size: 34px;
  letter-spacing: 4px;
  position: relative;
}

.business-page-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: #333;
}

.business-page-sub {
  text-align: right;
  font-size: 14px;
  color: #333;
  margin-top: 10px;
  font-weight: bold;
}

.business-page-text {
  margin: 60px auto 70px;
  text-align: left;
  line-height: 2.2;
  font-size: 15px;
}

.business-about-left {
  width: 200px;
  position: relative;
}

.business-about-label {
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 6px;
  margin-left: 83px;
}

.business-about-label::after {
  content: "";
  display: block;
  width: 439px;
  height: 1px;
  background: #555;
  margin-top: 6px;
  position: absolute;
  left: -300px;
}

.business-page-about {
  position: relative;
  padding: 120px 0 60px;
  /* background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; */
}

.business-about-inner {
  margin: auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  /* margin-left: 13%; */
}

.business-about-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.business-about-flex h2 {
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 2px;
  width: 220px;
  word-break: keep-all;
  white-space: nowrap;
  padding-left: 78px;
  margin: 2% 0 1%
}

.business-about-flex .business-page-text {
  flex: none;
  max-width: 765px;
  margin-left: 100px;
  margin-top: 0;
  font-size: 15px;
  line-height: 2.4;
  color: #555;
}

/* =========================
   BUSINESS ACCORDION
========================= */
.business-accordion {
  width: 100%;
  margin: 80px 0 0;
}

.business-acc-item {
  width: 100%;
}

/* 閉じている見出し画像 */
.business-acc-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 280px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 3;
}

.business-acc-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像を少し暗く */
.business-acc-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

/* タイトル */
.business-acc-title {
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* 矢印 */
.business-acc-arrow {
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  transition: transform 0.3s ease;
}

/* 中身は最初閉じる */
.business-acc-panel {
  display: none;
  background: #fff;
}

/* 開いた時 */
.business-acc-item.is-open .business-acc-panel {
  display: block;
}

.business-acc-item.is-open .business-acc-arrow {
  transform: translateY(-50%) rotate(90deg);
}

/* 開いた中身の余白調整 */
.business-acc-panel .business-page-about {
  padding-top: 60px;
}

/* =========================
   PROCESS PAGE
========================= */
.process-page {
  padding: 0 67px 50px;
  z-index: 2;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 40px; */
}

.process-title {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0;
}

.process-subtitle {
  text-align: center;
  margin: 12px 0 70px;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #333;
}

/* ---------- 上部フロー ---------- */
.process-flow-top {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 55px;
}

.process-top-item {
  position: relative;
  min-width: 0;
}

.process-top-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* HTML上の矢印はグリッドから外す */
.process-top-arrow {
  display: none;
}

/* 各画像の間に矢印を表示 */
.process-top-item:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -19px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #333;
  line-height: 1;
  font-weight: bold;
}

/* ---------- 下部詳細：PCもCSSで作成 ---------- */
.process-detail {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* PCでは背景画像を使わない */
.process-bg {
  display: none;
}

.process-detail-item {
  position: relative;
  width: 100%;
  min-height: 210px;
  background: #fff;
  overflow: hidden;
  padding: 0;
}

/* 左の縦線 */
.process-detail-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 118px;
  bottom: 0;
  width: 8px;
  background: var(--process-color);
  z-index: 1;
}

/* 左上の番号丸 */
.process-detail-item::after {
  content: attr(data-num);
  position: absolute;
  left: -55px;
  top: -48px;
  width: 125px;
  height: 95px;
  background: var(--process-color);
  color: #fff;
  border-radius: 50%;
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 78px 0 0 42px;
  z-index: 2;
}

/* 中身 */
.process-detail-body {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 210px;
  padding: 38px 70px 38px 130px;
  display: grid;
  grid-template-columns: 135px 1fr;
  grid-template-areas:
    "icon title"
    "icon text"
    "icon contact";
  /* column-gap: 42px; */
  align-items: center;
}

/* タイトル */
.process-detail-body h3 {
  grid-area: title;
  margin: 0 0 19px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

/* アイコン */
.process-detail-icon {
  grid-area: icon;
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-detail-icon img {
  width: 110px;
  height: auto;
  display: block;
}

/* 本文 */
.process-detail-body p {
  grid-area: text;
  margin: 0;
  padding: 0;
  transform: none;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #333;
  padding-left: 6%;
}

/* お問い合わせ部分 */
.process-contact-box {
  grid-area: contact;
  display: flex;
  /* align-items: center; */
  gap: 48px;
  margin-top: 18px;
  padding-left: 0;
  flex-wrap: nowrap;
  padding-left: 6%;
}

/* TEL＋受付時間 */
.process-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.process-tel a {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.process-tel .tel-label {
  color: #111;
  font-size: 16px;
  margin-right: 4px;
  padding: 0;
  border: none;
  background: none;
}

.process-tel .tel-number {
  color: #0071b5;
  font-size: 28px;
  padding: 0;
  border: none;
  background: none;
}

/* 受付時間 */
.process-time {
  display: flex;
  align-items: center;
}

.process-time-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.process-time-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #999;
  color: #333;
  font-size: 12px;
  white-space: nowrap;
}

/* お問い合わせボタン */
.process-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 330px;
  min-height: 58px;
  background: #0071b5;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta-mail-icon {
  width: 26px;
  height: auto;
  display: block;
}

/* 色設定 */
.process-detail-item:nth-child(1) {
  --process-color: #0071b5;
}

.process-detail-item:nth-child(2) {
  --process-color: #40549a;
}

.process-detail-item:nth-child(3) {
  --process-color: #844392;
}

.process-detail-item:nth-child(4) {
  --process-color: #cf1d66;
}

.process-detail-item:nth-child(5) {
  --process-color: #df6a43;
}

.process-detail-item:nth-child(6) {
  --process-color: #e7b33d;
}

/* タイトル色 */
.process-detail-item:nth-child(1) h3 {
  color: #0071b5;
}

.process-detail-item:nth-child(2) h3 {
  color: #40549a;
}

.process-detail-item:nth-child(3) h3 {
  color: #844392;
}

.process-detail-item:nth-child(4) h3 {
  color: #cf1d66;
}

.process-detail-item:nth-child(5) h3 {
  color: #df6a43;
}

.process-detail-item:nth-child(6) h3 {
  color: #e7b33d;
}






.business-process-label {
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 6px;
  margin-left: 83px;
}

.business-process-label::after {
  content: "";
  display: block;
  width: 448px;
  height: 1px;
  background: #555;
  margin-top: 6px;
  position: absolute;
  left: -300px;
}

.business-page-process {
  position: relative;
  padding: 120px 27px 120px;
  background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.business-process-inner {
  margin: auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  /* margin-left: 13%; */
}

.business-process-flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.business-process-flex h2 {
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 2px;
  width: 220px;
  word-break: keep-all;
  white-space: nowrap;
  padding-left: 78px;
  margin: 1% 0 3%;
}






/* =========================
   buildin PAGE
========================= */




.building-map {
  margin: auto;
  padding: 50px 130px 40px;
}

.building-map img {
  width: 100%;
}




/* =========================
   EXTERIOR PAGE
========================= */

.exterior-kv {
  height: 600px;
  background: url("../images/PC/process/mv_flow.jpg") center/cover no-repeat;
}

.exterior-head {
  text-align: center;
  padding: 60px 0;
}

.exterior-head h2 {
  font-size: 28px;
  letter-spacing: 4px;
}

.exterior-head p {
  font-size: 12px;
  color: #333;
  margin-top: 10px;
}

.exterior-about {
  position: relative;
  padding: 80px 0;
}

.exterior-about-inner {
  padding-left: 120px;
  padding-right: 120px;
}

.exterior-about .sub {
  font-size: 12px;
  color: #888;
}

.exterior-about h3 {
  font-size: 22px;
  margin: 10px 0 20px;
}

.exterior-about .text {
  font-size: 15px;
  line-height: 2.4;
  color: #555;
}

.exterior-bg-green {
  position: absolute;
  right: 0;
  top: 50px;
  width: 250px;
}

.exterior-bg-blue {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
}

.exterior-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

/* =========================
   WORKS（exterior）
========================= */
.exterior-works {
  padding: 0px 130px 100px;
}

.exterior-section-title {
  font-size: 18px;
  margin: 23px 0 100px 2%;
  position: relative;
}

.exterior-section-title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -28px;
  width: 1px;
  height: 75px;
  background: #aaa;
}

.exterior-works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.exterior-work {
  text-align: left;
}

.exterior-work-img {
  width: 100%;
  /* height: 180px; */
  background: #ddd;
  margin-bottom: 10px;
}

.exterior-work-link {
  font-size: 12px;
  color: #333;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.exterior-work-link::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 4px;
  width: calc(100% - 18px);
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.works-card:hover .exterior-work-link::after {
  transform: scaleX(1);
}

.exterior-btn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  margin: 120px auto 50px;
  padding: 12px 11px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
}

.exterior-btn-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.exterior-btn-more span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.exterior-btn-more:hover::before {
  transform: scaleX(1);
}

.exterior-btn-more:hover span {
  color: #000;
}

.exterior-method {
  padding: 120px 0;
  background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.exterior-method-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.exterior-method-sub {
  font-size: 15px;
  color: #222;
  line-height: 2;
  margin-bottom: 60px;
}

.exterior-method-list {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.exterior-method-item {
  width: 26.5%;
  background: #fff;
  padding: 25px 20px;
  position: relative;
  text-align: left;
}

.exterior-method-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 15px;
  width: 60px;
  height: 1px;
  background: #222;
  transform: rotate(-45deg);
}

.exterior-method-img {
  position: relative;
  margin-bottom: 25px;
}

.exterior-method-img img {
  width: 100%;
  display: block;
}

.exterior-method-label {
  position: absolute;
  left: 0;
  bottom: -10px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
  width: 85%;
  z-index: 2;
}

.exterior-method-item p {
  font-size: 13px;
  color: #555;
  line-height: 2;
}

.exterior-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.exterior-work:hover img {
  opacity: 0.8;
}


/* =========================
施工事例ページ（共通）
========================= */
.exterior-work,
.roof-work,
.waterproof-work {
  display: block;
  text-decoration: none;
  color: #000;
}

.exterior-work-img img,
.roof-work-img img,
.waterproof-work-img img {
  width: 100%;
  display: block;
}

.exterior-work:hover img,
.roof-work:hover img,
.waterproof-work:hover img {
  opacity: 0.8;
}

.exterior-work-link,
.roof-work-link,
.waterproof-work-link {
  margin-top: 10px;
  font-size: 15px;
}


/* =========================
   ROOF PAGE
========================= */

.roof-kv {
  height: 600px;
  background: url("../images/PC/home/mv_kodate.jpg") center/cover no-repeat;
  position: relative;
}

.roof-bg-blue2 {
  position: absolute;
  right: -260px;
  top: -60px;
  width: 760px;
  z-index: 1;
}

.roof-bg-blue3 {
  position: absolute;
  right: -850px;
  top: -25px;
  width: 950px;
  z-index: 1;
}

.roof-bg-orange {
  position: absolute;
  left: -285px;
  bottom: 0px;
  width: 840px;
  z-index: 0;
}

.waterproof-bg-pink {
  position: absolute;
  left: -600px;
  top: 100px;
  width: 1200px;
  z-index: 1;
}

.waterproof-bg-orange {
  position: absolute;
  right: -150px;
  bottom: -650px;
  width: 800px;
  z-index: 0;
}

.roof-image {
  margin-top: 40px;
}

.roof-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* =========================
   WORKS
========================= */
.roof-works {
  padding: 0px 130px 100px;
}

.roof-section-title {
  font-size: 18px;
  margin: 23px 0 100px 2%;
  position: relative;
}

.roof-section-title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -28px;
  width: 1px;
  height: 75px;
  background: #aaa;
}

.roof-works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
}



.roof-work-img {
  width: 100%;
  /* height: 180px; */
  background: #ddd;
}

.roof-work {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.roof-work-link {
  margin-top: 10px;
  color: #333;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.roof-work-link::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 80%;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.roof-work:hover .roof-work-link::after {
  transform: scaleX(1);
}

.roof-work:hover .roof-work-link {
  color: #000;
}

.roof-btn-more {
  display: block;
  width: 30%;
  margin: 120px auto 50px;
  padding: 12px 11px;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
}

.roof-btn-more:hover {
  opacity: 0.8;
}

/* =========================
   FEATURE
========================= */
.roof-feature {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.roof-feature-title {
  font-size: 20px;
  margin-bottom: 20px;
}

.roof-feature-text {
  font-size: 14px;
  color: #222;
  margin-bottom: 60px;
  line-height: 2;
}

.roof-feature-list {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.roof-feature-item {
  width: 19%;
  background: #fff;
  padding: 26px 18px 22px;
  position: relative;
  text-align: left;
}

.roof-feature-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 15px;
  width: 60px;
  height: 1px;
  background: #9a9a9a;
  transform: rotate(-45deg);
}

.roof-feature-img {
  position: relative;
  margin-bottom: 26px;
}

.roof-feature-img img {
  display: block;
  width: 100%;
  height: auto;
}

.roof-feature-label {
  position: absolute;
  left: 0;
  bottom: -10px;
  display: inline-block;
  width: 85%;
  background: #000;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  padding: 10px 14px;
  z-index: 2;
}

.roof-feature-desc {
  font-size: 13px;
  color: #555;
  line-height: 2;
  margin-top: 0;
}

.roof-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.roof-work:hover img {
  opacity: 0.8;
}









/* =========================
   WORKS TAB
========================= */
.works-tabs-section {
  padding: 100px 130px 100px
}

.works-tabs-section .roof-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0 0 38px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  color: #222;
  white-space: nowrap;
}

.works-tabs-section .roof-section-title::before,
.works-tabs-section .roof-section-title::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: #777;
}

/* 既存の左線がある場合は無効化 */
.works-tabs-section .roof-section-title::before {
  position: static;
}

/* タブ */
.works-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 34px;
  /* max-width: 900px; */
  margin: 0 auto 70px;
}

/* 「すべて」だけ上段中央に配置 */
.works-tab[data-tab="all"] {
  grid-column: 2 / 3;
}

/* 下3つを2段目に並べる */
.works-tab[data-tab="exterior"] {
  grid-column: 1 / 2;
}

.works-tab[data-tab="roof"] {
  grid-column: 2 / 3;
}

.works-tab[data-tab="waterproof"] {
  grid-column: 3 / 4;
}

.works-tab {
  position: relative;
  width: 100%;
  height: 48px;
  background: #fff;
  border: 2px solid #777;
  border-radius: 8px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  z-index: 1;
}

.works-tab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
  z-index: -1;
}

/* ホバー時：左から右へ広がる */
.works-tab:hover {
  color: #fff;
  border-color: #000;
}

.works-tab:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ホバー解除時：右側へ抜ける */
.works-tab:not(:hover)::after {
  transform: scaleX(0);
  transform-origin: right center;
}

/* active状態 */
.works-tab.is-active {
  color: #fff;
  border-color: #000;
}

.works-tab.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* 一覧 */
.works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 24px;
}

.works-card {
  display: block;
  text-decoration: none;
  color: #222;
}

.works-card.is-hidden {
  display: none;
}

.works-card.is-fade-show {
  animation: worksFadeShow 0.7s ease forwards;
}

@keyframes worksFadeShow {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.works-card-img {
  position: relative;
  width: 100%;
  /* aspect-ratio: 4 / 2.45; */
  background: #d9d9d9;
  overflow: hidden;
}

.works-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SAMPLEなどのラベル */
.works-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* 詳しく見る */
.waterproof-work-link {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #333;
}

/* 画像ホバー */
.works-card:hover .works-card-img img {
  transform: scale(1.04);
  transition: transform 0.5s ease;
}

/* View more */
.exterior-btn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 255px;
  height: 44px;
  margin: 70px auto 0;
  background: #000;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.12em;
}

.exterior-btn-more span {
  color: #fff;
}

.exterior-btn-more:hover {
  opacity: 0.75;
}




/* =========================
   WATERPROOF PAGE
========================= */

.waterproof-kv {
  height: 600px;
  background: url("../images/PC/building/MV.jpg") center/cover no-repeat;
  position: relative;
}

.waterproof-kv-text {
  position: absolute;
  right: 120px;
  bottom: 40px;
  text-align: right;
}

.waterproof-about {
  position: relative;
  padding: 80px 0;
}

.waterproof-about-inner {
  width: calc(100% - 260px);
  margin-left: 260px;
  padding-left: 120px;
}

.waterproof-title {
  font-size: 22px;
  margin: 10px 0 20px;
}

.waterproof-text {
  line-height: 2.3;
  max-width: 700px;
}

/* 背景 */
.waterproof-bg-red {
  position: absolute;
  left: -100px;
  top: 150px;
  width: 650px;
}

.waterproof-bg-yellow {
  position: absolute;
  right: 0;
  bottom: -650px;
  width: 550px;
}

.waterproof-feature {
  padding: 100px 0;
}

.waterproof-feature-list {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.waterproof-feature-item {
  width: 350px;
  background: #fff;
  border: 1px solid #222;
  padding: 40px 30px 30px;
  box-sizing: border-box;
}

.waterproof-feature-head {
  background: #000;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 15px;
  margin-bottom: 20px;
  text-align: center;
}

.waterproof-feature-item p,
.waterproof-feature-item li {
  font-size: 13px;
  line-height: 2;
  color: #555;
}

.waterproof-feature-item ul {
  padding-left: 16px;
}

.waterproof-image {
  margin-top: 40px;
}

.waterproof-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}


/* =========================
   WORKS
========================= */
.waterproof-works {
  padding: 0px 130px 100px;
}

.waterproof-section-title {
  font-size: 18px;
  margin: 23px 0 100px 2%;
  position: relative;
}

.waterproof-section-title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -28px;
  width: 1px;
  height: 75px;
  background: #aaa;
}

.waterproof-works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.waterproof-work {
  text-align: left;
}

.waterproof-work-img {
  width: 100%;
  /* height: 140px; */
  background: #ddd;
  margin-bottom: 10px;
}

.waterproof-work-link {
  color: #333;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.waterproof-work-link::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 80%;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.waterproof-work:hover .waterproof-work-link::after {
  transform: scaleX(1);
}

.waterproof-work:hover .waterproof-work-link {
  color: #000;
}

.waterproof-btn-more {
  display: block;
  width: 30%;
  margin: 120px auto 50px;
  padding: 12px 11px;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
}

.waterproof-btn-more:hover {
  opacity: 0.8;
}


/* =========================
   WATERPROOF AREA
========================= */
.waterproof-area {
  padding: 120px 0;
  background-image: url("../images/PC/keieibg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.waterproof-area-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.waterproof-area-sub {
  font-size: 15px;
  color: #222;
  line-height: 2;
  margin-bottom: 60px;
}

.waterproof-area-list {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.waterproof-area-item {
  width: 20%;
  background: #fff;
  padding: 25px 20px;
  position: relative;
  text-align: left;
}

.waterproof-area-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 15px;
  width: 60px;
  height: 1px;
  background: #222;
  transform: rotate(-45deg);
}

.waterproof-area-img {
  position: relative;
  margin-bottom: 25px;
}

.waterproof-area-img img {
  width: 100%;
  display: block;
}

.waterproof-area-label {
  position: absolute;
  left: 0;
  bottom: -10px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
  width: 85%;
}

.waterproof-area-item p {
  font-size: 13px;
  color: #555;
  line-height: 2;
}

.waterproof-maintenance {
  position: relative;
  padding: 110px 0 50px;
  margin-top: 5%;
}

.waterproof-maintenance::before {
  content: "";
  position: absolute;
  left: 0;
  top: 70px;
  width: 320px;
  height: 1px;
  background: #aaa;
}

.waterproof-maintenance-inner {
  margin-left: 260px;
}

.waterproof-maintenance-title {
  font-size: 23px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.waterproof-maintenance-text {
  max-width: 700px;
  font-size: 15px;
  line-height: 2.2;
  color: #555;
  margin-left: 290px;
}

.waterproof-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.waterproof-work:hover img {
  opacity: 0.8;
}


/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  padding: 100px 40px;
}

.contact-page-inner {
  max-width: 1100px;
  margin: auto;
}

.contact-page-title {
  font-size: 26px;
  margin-bottom: 20px;
}

.contact-page-lead {
  margin-bottom: 15px;
  color: #222;
  line-height: 2.4;
  letter-spacing: 1px;
}

.contact-page-lead {
  position: relative;
  margin-bottom: 50px;
}

/* .contact-page-lead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
} */

/* ================/* =========================
   CONTACT LINE画像
========================= */
.contact-line-btn-wrap {
  text-align: left;
  /* PCは左寄せ */
  margin: 35px 0 50px;
}

.contact-line-btn {
  display: inline-block;
  width: 500px;
  /* PC画像を大きく */
  max-width: 100%;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-decoration: none;
  margin-left: -10px;
}

.contact-line-btn picture,
.contact-line-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   CONTACT LINE画像 ホバー
========================= */

.contact-line-btn {
  display: inline-block;
  background: #fff;
}

.contact-line-btn img {
  display: block;
  transition: opacity 0.3s ease;
}

.contact-line-btn:hover img {
  opacity: 0.75;
}



.contact-form {
  border-top: none;
  padding-top: 40px;
}

.contact-row {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-row label {
  width: 250px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
}

.confirm-width {
  display: flex;
  width: 228px;
}

.contact-row input,
.contact-row select,
.contact-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa;
}

.contact-row textarea {
  height: 260px;
}

.mt-8 {
  margin-top: 8px;
}

.mr-10 {
  margin-right: 10px !important;
}

input[type="checkbox"] {
  transform: scale(1.3);
}

.required {
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  margin-right: 15px;
}

.contact-row select,
.contact-row input {
  /* margin-bottom: 8px; */
}

.contact-row.confirm {
  align-items: center;
}

.contact-row.confirm input {
  width: auto;
  margin: 0 10px;
}

.contact-submit {
  text-align: center;
  margin-top: 50px;
}

.contact-submit button {
  width: 300px;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

.contact-submit button:hover {
  opacity: 0.8;
}

.contact-row.address {
  align-items: flex-start;
}

.contact-address {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-address select {
  width: 260px;
  margin-bottom: 10px;
}

.contact-address input {
  width: 100%;
  margin-bottom: 10px;
}


/* =========================
   RECRUIT PAGE
========================= */

.recruit-mv {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.recruit-mv-inner {
  width: 100%;
  height: 100%;
  background: url("../images/PC/mv_recruit.jpg") center/cover no-repeat;
}

.recruit-mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.55) 90%,
      #fff 100%);
}

.recruit-mv-text {
  position: absolute;
  left: 10%;
  top: 32%;
  transform: translateY(-50%);
  z-index: 2;
}

.recruit-mv-text h1 {
  font-size: 36px;
}

.recruit-mv-text p {
  font-size: 18px;
  font-weight: bold;
}


.recruit-bg-pink {
  position: absolute;
  left: -550px;
  top: 285px;
  width: 930px;
}

.recruit-bg-green {
  position: absolute;
  right: -525px;
  bottom: -140px;
  width: 1000px;
  z-index: -1;
}


.recruit-kv {
  height: 430px;
  background: url("../images/PC/mv_recruit.jpg") center/cover no-repeat;
}

.recruit-kv-inner {
  width: calc(100% - 260px);
  margin-left: 260px;
  padding: 80px 120px;
  position: relative;
  box-sizing: border-box;
}

.recruit-kv-text h2 {
  font-size: 28px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #222;
}

.recruit-kv-text p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #222;
}

.recruit-kv-label {
  position: absolute;
  right: 120px;
  bottom: 40px;
  background: #000;
  color: #fff;
  padding: 20px 40px;
  text-align: center;
  min-width: 250px;
  box-sizing: border-box;
}

.recruit-kv-label span {
  display: block;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.recruit-kv-label p {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
}


/* =========================
   ABOUT
========================= */

.recruit-page {
  position: relative;
  /* background: #f5f5f5; */
  padding: 120px 0 600px;
}

.recruit-page-inner {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}

.recruit-page-head {
  position: relative;
  height: 340px;
}

.recruit-page-sub {
  position: static;
  font-size: 11px;
  color: #222;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.recruit-page-sub::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: #222;
  margin-top: 8px;
}

.recruit-page-copy {
  position: absolute;
  top: 40px;
  left: 0px;
  width: 600px;
}

.recruit-page-title {
  font-size: 34px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #333;
  font-weight: 600;
}

.recruit-page-en {
  margin-top: 10px;
  font-size: 10px;
  color: #8a8a8a;
  line-height: 1.8;
}

.recruit-page-message {
  position: absolute;
  top: 275px;
  right: 177px;
  width: 735px;
  text-align: right;
}

.recruit-page-text {
  font-size: 15px;
  line-height: 2.3;
  color: #555;
  letter-spacing: 0.04em;
}

.recruit-page-name {
  margin-top: 18px;
  text-align: right;
  font-size: 11px;
  color: #333;
  letter-spacing: 0.08em;
}

.recruit-page-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 50px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: 0.3s;
}

.recruit-page-btn:hover {
  opacity: 0.8;
}

.recruit-page-img1 {
  position: absolute;
  left: 104px;
  top: 400px;
  width: 385px;
  transform: translateX(-90px);
}


/* =========================
   MESSAGE
========================= */

.recruit-message {
  position: relative;
  width: calc(100% - 260px);
  margin-left: 260px;
  padding: 120px 120px 100px;
}

.recruit-message {
  max-width: 1100px;
  margin-bottom: 60px;
}

.recruit-sub {
  font-size: 12px;
  color: #222;
  margin-bottom: 10px;
}

.recruit-message h3 {
  font-size: 26px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.recruit-en {
  font-size: 10px;
  color: #888;
  margin-top: 10px;
}

.recruit-message-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.recruit-image {
  width: 360px;
  flex-shrink: 0;
}

.recruit-image img {
  width: 100%;
}

.recruit-message-text {
  max-width: 420px;
  font-size: 15px;
  line-height: 2.4;
  color: #555;
}

.recruit-message::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 220px;
  height: 220px;
  background: url("../images/PC/bg_green.png") center/contain no-repeat;
  z-index: 0;
  opacity: 0.95;
}

.recruit-message::after {
  content: "";
  position: absolute;
  right: 0;
  top: 40px;
  width: 220px;
  height: 220px;
  background: url("../images/PC/bg-yellow.png") center/contain no-repeat;
  z-index: 0;
  opacity: 0.95;
}


/* =========================
   RECRUIT INFO
========================= */
.recruit-info {
  box-sizing: border-box;
  background: #eef1f3;
}

.recruit-info-head {
  display: flex;
  align-items: center;
}

.recruit-info-head-left {
  width: 345px;
  background: #1e6aa8;
  color: #fff;
  text-align: center;
  padding: 55px 0;
  font-size: 30px;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.recruit-info-head-right {
  flex: 1;
  padding: 45px 30px;
  font-size: 20px;
  color: #555;
  text-align: center;
  line-height: 2;
  letter-spacing: 1px;
  letter-spacing: 1.4px;
}

.recruit-info-body {
  display: flex;
  gap: 40px;
}

.recruit-info-left {
  width: 45%;
}

.recruit-info-left img {
  width: 100%;
  display: block;
}

.recruit-info-right {
  width: 45%;
  background: url("../images/PC/bg_recruit_info.jpg") center/cover no-repeat;
  padding: 18px 55px 90px 30px;
  box-sizing: border-box;
}

.recruit-info-copy {
  font-size: 20px;
  line-height: 2.3;
  color: #444;
  margin-bottom: 30px;
  letter-spacing: 1.4px;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  border: 1px solid #bdbdbd;
  padding: 20px 14px;
  font-size: 20px;
  text-align: center;
}

.recruit-table th {
  width: 200px;
  background: #1e6aa8;
  color: #fff;
}

.recruit-table td {
  background: rgba(255, 255, 255, 0.85);
}


.recruit-cta {
  padding: 100px 0 120px;
  text-align: center;
}

.recruit-cta-text {
  font-size: 20px;
  line-height: 2.2;
  color: #222;
  margin-bottom: 70px;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.recruit-contact {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 80px;
}


.recruit-tel {
  text-align: left;
  min-width: 420px;
}

.recruit-tel-sub {
  font-size: 12px;
  color: #333;
  margin-bottom: 12px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.recruit-tel-number {
  font-size: 30px;
  letter-spacing: 3px;
  margin-bottom: 18px;
  color: #111;
}

.recruit-tel-time {
  display: flex;
  align-items: center;
}

.recruit-tel-time .label {
  background: #000;
  color: #fff;
  padding: 8px 18px;
  font-size: 12px;
}

.recruit-tel-time .time {
  border: 1px solid #ccc;
  padding: 8px 18px;
  font-size: 12px;
  color: #333;
}

.recruit-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 460px;
  height: 110px;
  background: #e43b57;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-size: 21px;
}

.recruit-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.recruit-btn span {
  margin-right: 12px;
  font-size: 18px;
}

.recruit-btn:hover {
  opacity: 0.85;
}

.cta-mail-icon {
  width: 31px;
  height: auto;
}

/* =========================
   EMPLOYMENT CONDITIONS
========================= */
.employment-conditions {
  background: #f4f7fa;
  padding: 0 0 90px;
}

.employment-conditions-inner {
  width: 100%;
  margin: 0;
}

.employment-conditions-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 56px;
}

.employment-conditions-title {
  width: 345px;
  background: #1e6aa8;
  color: #fff;
  text-align: center;
  padding: 55px 0;
  font-size: 30px;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.employment-conditions-lead {
  flex: 1;
  padding: 60px 30px 0px;
  margin: 0;
  font-size: 20px;
  color: #555;
  text-align: center;
  line-height: 2;
  letter-spacing: 1.4px;
}

.employment-conditions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 0 42px;
}

.employment-category-title {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 26px;
}

.employment-category-title::before,
.employment-category-title::after {
  content: "";
  display: block;
  flex: 1;
  height: 2px;
  background: #0068b7;
}

.employment-category-title span {
  color: #0068b7;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.employment-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.employment-card {
  background: #fff;
  border: 1px solid #d6d6d6;
  min-height: 420px;
  padding: 26px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.employment-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 38px;
  padding: 0 18px;
  background: #0068b7;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.employment-pay-title {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.employment-price {
  color: #0068b7;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 22px;
  white-space: nowrap;
  font-size: 18px;
}

.employment-price span {
  font-size: 47px;
  letter-spacing: 0.04em;
}

.employment-line {
  width: 100%;
  height: 1px;
  background: #d9d9d9;
  margin-bottom: 20px;
}

.employment-bonus {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #333;
  margin-bottom: 24px;
}

.employment-license {
  width: 100%;
  background: #f0f4f7;
  border-radius: 6px;
  padding: 14px 10px;
  margin-bottom: 16px;
}

.employment-license p {
  color: #0068b7;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.employment-license ul {
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.employment-license li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.employment-note {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 18px;
}

.employment-support {
  margin-top: auto;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #333;
}

.employment-blank {
  min-height: 112px;
  width: 100%;
}

.employment-blank-small {
  min-height: 147px;
}

.employment-blank-large {
  min-height: 168px;
}

/* 下部の横線位置を全カードで揃える */
.employment-card>.employment-line:last-of-type {
  margin-top: auto;
  margin-bottom: 20px;
}

/* 支給文言側は auto を外す */
.employment-support {
  margin-top: 0;
}




/* =========================
   THANKSページ
========================= */

.thanks-page {
  padding: 120px 120px;
}

.thanks-inner {
  max-width: 600px;
}

.thanks-title {
  font-size: 22px;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.thanks-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 260px;
  height: 1px;
  background: #333;
}

.thanks-text {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
  margin-bottom: 60px;
}

.thanks-link {
  font-size: 12px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.1em;
  display: inline-block;
}

.thanks-link:hover {
  opacity: 0.6;
}

.back-toppage {
  text-align: center;
}

.back-toppage a {
  font-size: 16px;
  font-weight: bold;
}


/* =========================
施工事例 詳細
========================= */
.works-detail {
  padding: 80px 60px;
}

.works-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.works-header {
  margin-bottom: 40px;
}

.works-category {
  border-left: 2px solid #000;
  padding-left: 10px;
  font-size: 15px;
  margin-bottom: 10px;
}

.works-date {
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
}

.works-title {
  font-size: 22px;
  font-weight: 500;
}

.works-main img {
  width: 100%;
  margin-bottom: 20px;
}

.works-thumb {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.works-thumb img {
  width: 100%;
  max-width: calc(25% - 7px);
  background: #ccc;
}

.works-text {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}

.works-back {
  text-align: center;
  margin-bottom: 80px;
}

.works-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
}

.works-back a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.works-back a span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.works-back a:hover::before {
  transform: scaleX(1);
}

.works-back a:hover span {
  color: #000;
}

.works-pager {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.works-pager .prev,
.works-pager .next {
  width: 50%;
}

.works-pager .next {
  text-align: right;
}

.works-pager a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
}

.works-pager .label {
  font-size: 12px;
  color: #222;
}

.works-pager .title {
  font-size: 15px;
}

.works-pager .arrow {
  font-size: 16px;
  transition: 0.3s;
}

.next a:hover .arrow {
  transform: translateX(5px);
}

.works-pager a:hover .arrow {
  transform: translateX(5px);
  transition: 0.3s;
}

.prev a:hover .arrow {
  transform: translateX(-5px);
}

.works-main img {
  width: 100%;
  transition: opacity 0.4s ease;
}

.works-thumb img.active {
  opacity: 0.5;
}



/**********************************************
 * スクロールアニメ
 **********************************************/
.scroll-animate {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s ease-in-out, transform .8s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .scroll-animate,
  .scroll-animate.visible {
    transition: none;
    animation: none;
  }
}

[data-animation] {
  opacity: 0;
}

[data-animation].is-visible {
  opacity: 1;
}

@media (max-width: 767px) {
  .scroll-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/**********************************************
 * ローディング画面
 **********************************************/
html.loading,
body.loading {
  overflow: hidden;
  height: 100%;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading.hide {
  opacity: 0;
  visibility: hidden;
}

#loadingVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 読み込み待機中は白背景だけ表示 */
#loading.is-waiting #loadingVideo {
  opacity: 0;
}

/* 準備できたら動画をふわっと表示 */
#loading.is-playing #loadingVideo {
  opacity: 1;
}

#loadingVideo {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/**********************************************
 *  基本
 **********************************************/


.sp-header,
.sp-menu {
  display: none;
}

.pc-br {
  display: block;
}

.sp-br {
  display: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.img-retative {
  position: relative;
}

.line-area-sp {
  display: none;
}

/* =========================
   レスポンシブ　~768px
========================= */

/* ノートPCくらい */
@media screen and (max-width: 1700px) {

  .recruit-text {
    left: calc(15% + 40px);
  }

  .recruit-bottom::before {
    left: 15%;

  }

  .recruit-bottom {

    margin-left: 230px;
  }

}








@media screen and (max-width: 1280px) {



  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: block;
  }


  /* =========================
   SP系はデフォルト非表示
========================= */
  .sp-header,
  .sp-menu {
    display: block;
  }

  /* =========================
   BASE
========================= */
  body {
    font-size: 14px;
  }

  .content {
    margin-left: 0;
    width: 100%;
  }

  /* =========================
   SIDEBAR消す
========================= */
  .sidebar {
    display: none;
  }

  /* =========================
   HEADER（SP）
========================= */

  .sp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: #fff;
    z-index: 9999;
    border-bottom: 1px solid #ddd;
  }

  .sp-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .sp-logo img {
    height: 40px;
  }

  /* ハンバーガー */
  .hamburger {
    position: absolute;
    right: 17px;
    top: 32%;
    transform: translateY(-50%);

    width: 35px;
    height: 14px;
    cursor: pointer;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #999;
    left: 0;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) {
    top: 2px;
  }

  .hamburger span:nth-child(2) {
    bottom: 2px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(15deg);
    top: 6px;
  }

  .hamburger.active span:nth-child(2) {
    transform: rotate(-15deg);
    bottom: 6px;
  }

  /* =========================
   SP MENU 
========================= */

  .sp-menu>.sp-menu-inner>ul>li {
    position: relative;
  }

  .sp-menu>.sp-menu-inner>ul>li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    z-index: 1;
  }

  /* HOME */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(1)::before {
    background: #0167b2;
  }

  /* ABOUT US */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(2)::before {
    background: #4658a2;
  }

  /* BUSINESS */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(3)::before {
    background: #7d438f;
  }

  /* OUR PROCESS */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(4)::before {
    background: #cd1f64;
  }

  /* RECRUIT */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(5)::before {
    background: #dd6a4b;
  }

  /* CONTACT */
  .sp-menu>.sp-menu-inner>ul>li:nth-child(6)::before {
    background: #e8a940;
  }



  .sp-menu {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    transition: 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .sp-menu.active {
    right: 0;
  }

  .sp-menu ul,
  .sp-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sp-menu-inner>ul {
    width: 100%;
    border-top: 1px solid #bfbfbf;
  }

  .sp-menu-inner>ul>li {
    position: relative;
    border-bottom: 1px solid #bfbfbf;
  }

  .sp-menu-inner>ul>li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0d6db8;
  }

  .sp-menu a,
  .sp-menu span {
    display: block;
    text-align: center;
    padding: 18px 0 16px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #444;
    text-decoration: none;
  }

  .sp-menu a::before,
  .has-sub span::before {
    content: attr(data-en);
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: 4px;
    line-height: 1.2;
    font-family: "Poppins", sans-serif;
    color: #222;
  }

  .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #000;
  }

  .has-sub.active .sub-menu {
    max-height: 260px;
  }

  .sub-menu li {
    border-bottom: 1px solid #333;
  }

  .sub-menu li:last-child {
    border-bottom: none;
  }

  .sub-menu li::before {
    display: none;
  }

  .sub-menu a {
    display: block;
    padding: 20px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-align: right;
  }

  .sub-menu a::after {
    content: " >";
  }

  .has-sub span {
    cursor: pointer;
  }

  .sub-menu {
    position: relative;
    z-index: 2;
  }

  .has-sub.active::before {
    height: 100%;
    max-height: 75px;
  }

  .sp-menu-inner {
    position: relative;
    min-height: 100%;
    height: 100%;
  }

  /* =========================
   SP LINEボタン
========================= */
  .line-area-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 22px 0 24px; */
    border-top: 1px solid #bfbfbf;
    background: #fff;
  }

  .line-area-sp a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 152px;
    height: 34px;
    padding: 0 22px;
    background: #0d6db8;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    letter-spacing: 0.03em;
  }

  .line-area-sp img {
    display: none;
  }


  .mv-logo {
    justify-content: center !important;
  }

  .mv-logo img {
    width: min(72vw, 300px);
  }

  .mv-copy .mv-sub {
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
  }



  /* =========================
   MV
========================= */
  .mv {
    height: 95vh;
    margin-top: 75px;
  }

  .mv-text {
    right: 20px;
    top: 39%;
  }

  .mv-text h1 {
    font-size: 22px;
  }

  .mv-inner {
    background: url("../images/SP/top1.jpg") center/cover no-repeat;
    left: 0;
    width: 100vw;
  }

  .mv-text {
    left: 50%;
    right: auto;
    top: 38%;
    width: 100%;
    padding: 0 20px;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .mv-copy {
    display: block;
    width: 100%;
    text-align: center;
  }

  .mv-copy .catch,
  .mv-copy .mv-sub {
    text-align: center;
  }

  .mv-copy .catch {
    white-space: normal;
    line-height: 1.15;
    text-shadow:
      2px 2px 0 rgba(0, 0, 0, 0.65),
      3px 3px 6px rgba(0, 0, 0, 0.3);
  }

  .mv-copy .mv-sub {
    text-shadow:
      1px 1px 0 rgba(0, 0, 0, 0.6),
      2px 2px 5px rgba(0, 0, 0, 0.25);
  }



  /* =========================
   ABOUT
========================= */
  .about {
    padding: 40px 0px 0px;
  }

  .about-inner {
    max-width: 100%;
  }

  .about-head {
    height: auto;
    padding: 0 20px;
    display: block;
    z-index: 100;
  }

  .about-sub {
    margin-bottom: 20px;
  }

  .about-copy,
  .about-message {
    position: static;
    width: 100%;
  }

  .about-copy {
    margin-bottom: 30px;
  }

  .about-title {
    font-size: 22px;
  }

  .about-text {
    font-size: 13px;
  }

  .about-name {
    text-align: right;
  }

  .about-btn {
    display: block;
    text-align: center;
    margin: 60px auto 0;
    width: 70%;
    padding: 14px 46px;
  }

  .about-visual {
    position: relative;
    height: auto;
    margin-top: 40px;
    margin-bottom: 10%;
  }

  /* =========================
     画像エリア
  ========================= */

  .bg-blue {
    position: relative;
    left: 0;
    top: 0;
    width: 100vw;
    z-index: 0;
  }

  .bg-orange {
    position: absolute;
    right: -195px;
    bottom: -152px;
    width: 400px;
    z-index: 1;
  }

  .about-img1 {
    display: block;
    position: relative;
    width: 85%;
    left: 0;
    top: -100px;
    transform: none;
    z-index: 1;
  }

  .about-img2 {
    display: block;
    position: relative;
    width: 85%;
    margin-left: auto;
    margin-top: 20px;
    right: 0;
    top: -90px;
    z-index: 2;
  }


  /* =========================
   SP BUSINESS ボタン調整
========================= */


  .business {
    padding: 30px 0 15px;
    background: #fff;
  }

  .business-main h2 {
    font-size: 40px;
  }


  .business-main {
    width: 100%;
    padding: 30px 20px;
    height: 370px;
    background-position: center top;
  }

  .business-cards {
    position: relative;
    width: calc(100% - 40px);
    margin: -120px auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 5;
    right: 0%;
    /* padding-bottom: 10%; */
  }

  .card {
    width: 100%;
    max-width: none;
  }

  .card-link {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    min-height: 58px;
    padding: 0 16px 0 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #222;
    border-radius: 8px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .card-text {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: left;
    z-index: 2;
  }

  .card-arrow {
    width: 50px;
    height: 34px;
    background: #000;
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  /* SPではホバーアニメを切る */
  .card-link::before,
  .card-text::after {
    display: none;
  }

  .card:hover .card-text {
    color: #000;
  }

  .card:hover .card-arrow {
    transform: none;
    background: #000;
    color: #fff;
  }



  /* =========================
   RECRUIT
========================= */

  .recruit-head h2 {
    font-size: 24px;
  }

  .recruit-head h2::after {
    height: 43px;
    background: #000;
  }

  .recruit {
    padding: 70px 0px;
  }

  .recruit-img {
    height: 240px;
    width: 100vw;
  }

  .recruit-bottom {
    width: 100%;
    margin-left: 0;
    height: auto;
    padding-top: 15px;
    padding-left: 70px;
  }

  .recruit-bottom::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    width: 1px;
    height: 80px;
    background: #000;
  }

  .recruit-text {
    position: static;
    font-size: 16px;
    text-align: left;
    margin-bottom: 10px;
  }

  .recruit-btn {
    position: static;
    display: inline-block;
    font-size: 12px;
    padding: 4px 40px;
  }

  .recruit-btn::before {
    display: none;
  }

  .recruit-btn:hover span {
    color: #fff;
  }


  .recruit-btn span {
    font-size: 15px;
  }


  /* =========================
   CONTACT
========================= */
  .contact {
    padding: 0;
    z-index: 3;
  }

  .contact-inner {
    width: 100%;
    margin: 0;
    padding: 45px 20px;
  }

  .contact-title {
    font-size: 26px;
    margin-bottom: 0px;
  }

  .contact-link {
    font-size: 14px;
    padding-bottom: 3px;
    margin-top: 2px;
  }

  .contact-inner::after {
    transform: scaleX(1);
    animation: none;
    bottom: 42px;
  }


  /* =========================
   FOOTER
========================= */
  .footer {
    padding: 60px 20px;
  }

  .footer-tel-wrap {
    margin-bottom: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left {
    margin-bottom: 38px;
  }

  .footer-logo img {
    width: 140px;
  }

  .footer-right {
    margin: auto;
  }


  .works-tabs-section {
    padding: 100px 60px 90px;
  }

  .works-tabs-section .roof-section-title::before,
  .works-tabs-section .roof-section-title::after {
    width: 220px;
  }

  .works-list {
    gap: 38px 22px;
  }




  .building-map {
    margin: auto;
    padding: 60px 0 0px;

  }

  .works-tabs-section {
    padding: 40px 20px 70px;
  }

  .works-tabs-section .roof-section-title {
    gap: 14px;
    margin-bottom: 24px;
    font-size: 28px;
  }

  .works-tabs-section .roof-section-title::before,
  .works-tabs-section .roof-section-title::after {
    width: 70px;
  }

  .works-tabs {
    gap: 12px;
    margin-bottom: 45px;
  }

  .works-tab {
    height: 46px;
    font-size: 14px;
    border-radius: 7px;
  }

  .works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
  }

  .works-card-img {
    /* aspect-ratio: 4 / 2.45; */
  }

  .works-card-label {
    font-size: 26px;
  }

  .waterproof-work-link {
    margin-top: 10px;
    font-size: 12px;
  }

  .exterior-btn-more {
    width: 180px;
    height: 40px;
    margin-top: 55px;
  }


  /* =========================
   PROCESS SP
========================= */


  .business-acc-trigger {
    height: 150px;
  }

  .process-page {
    padding: 0 0 70px;
  }

  .process-inner {
    max-width: 100%;
    padding: 0;
  }

  .process-flow-top {
    display: none;
  }

  .process-detail {
    width: 100%;
    gap: 32px;
  }

  .process-detail-item {
    min-height: auto;
    padding: 38px 24px 38px;
    background: #fff;
    overflow: hidden;
  }

  .process-detail-item::before {
    left: 0;
    top: 75px;
    bottom: 0;
    width: 7px;
  }

  .process-detail-item::after {
    left: -40px;
    top: -40px;
    width: 93px;
    height: 65px;
    font-size: 38px;
    line-height: 1;
    padding: 58px 0 0 30px;
  }

  .process-detail-body {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .process-detail-body h3 {
    order: 1;
    margin: 0 0 26px 28px;
    font-size: 21px;
    line-height: 1.6;
    text-align: center;
  }

  .process-detail-icon {
    order: 2;
    margin: 0 0 28px;
  }

  .process-detail-icon img {
    width: 82px;
  }

  .process-detail-body p {
    order: 3;
    font-size: 12px;
    line-height: 2;
    width: 100%;
    text-align: left;
  }

  .process-contact-box {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 22px;
  }

  .process-tel {
    width: 100%;
    align-items: center;
    gap: 10px;
  }

  .process-tel .tel-label {
    font-size: 13px;
  }

  .process-tel .tel-number {
    font-size: 23px;
  }

  .process-time,
  .process-form-btn {
    width: 97%;
    max-width: 300px;
  }

  .process-time {
    display: flex;
    justify-content: center;
  }

  .process-time-label {
    width: 32%;
    min-height: 32px;
    padding: 0;
    font-size: 11px;
  }

  .process-time-text {
    width: 68%;
    min-height: 32px;
    padding: 0;
    font-size: 10px;
  }

  .process-form-btn {
    min-width: auto;
    min-height: 48px;
    font-size: 13px;
    gap: 10px;
    margin-bottom: 10px;
  }

  .cta-mail-icon {
    width: 20px;
  }

  /* =========================
   PROCESS SP 背景をCSSで再現
========================= */


  /* PC用のflowbg画像はSPでは非表示 */
  .process-bg {
    display: none;
  }

  .process-detail-item {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 38px 20px 46px;
    min-height: 360px;
  }

  /* 左の縦ライン */
  .process-detail-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 75px;
    bottom: 0;
    width: 7px;
    background: var(--process-color);
    z-index: 1;
  }

  .process-detail-item::after {
    content: attr(data-num);
    position: absolute;
    left: -40px;
    top: -40px;
    width: 93px;
    height: 65px;
    background: var(--process-color);
    color: #fff;
    border-radius: 50%;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 58px 0 0 30px;
    z-index: 2;
  }

  /* 色指定 */
  .process-detail-item:nth-child(1) {
    --process-color: #0071b5;
  }

  .process-detail-item:nth-child(2) {
    --process-color: #40549a;
  }

  .process-detail-item:nth-child(3) {
    --process-color: #844392;
  }

  .process-detail-item:nth-child(4) {
    --process-color: #cf1d66;
  }

  .process-detail-item:nth-child(5) {
    --process-color: #df6a43;
  }

  .process-detail-item:nth-child(6) {
    --process-color: #e7b33d;
  }


  /* =========================
   KV
========================= */
  .about-kv {
    height: 70vh;
    margin-top: 75px;
    background: url("../images/SP/a_mv.jpg") center/cover no-repeat;
  }

  .about-page-intro {
    padding: 40px 20px;
    margin-top: -55px;
  }

  .about-page-title {
    font-size: 30px;
    letter-spacing: 2px;
    padding-bottom: 0px;
  }

  .about-page-title::after {
    right: 100px;
    transform: translateX(50%);
    width: 200px;
  }

  .about-page-sub {
    font-size: 12px;
    margin-top: 8px;
  }

  .about-page-text {
    margin-top: 30px;
    font-size: 13px;
    line-height: 2;
  }

  /* =========================
   PHILOSOPHY
========================= */
  .about-page-philosophy {
    padding: 80px 20px;
  }

  .philosophy-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .philosophy-logo {
    width: 280px;
  }

  .philosophy-title {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .philosophy-item {
    align-items: center;
    padding: 20px 20px 20px 5px;
  }

  .philosophy-left {
    width: 100px;
    margin-bottom: 0px;
    text-align: center;
  }

  .philosophy-left .jp {
    font-size: 24px;
    line-height: 1.2;
  }

  .philosophy-text {
    font-size: 12px;
  }

  .philosophy-left .en {
    margin-top: 0px;
  }

  .about-bg-pink {
    display: none;
  }

  .about-bg-orange {
    width: 450px;
    right: -210px;
    bottom: -332px;
    bottom: -240px;
  }

  /* =========================
   COMPANY SP
========================= */
  .company {
    width: 100%;
    margin: 0;
    padding: 56px 16px 60px;
  }

  .company-page-sub {
    font-size: 12px;
    color: #222;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
  }

  .company-page-sub::after {
    content: "";
    display: block;
    width: 55px;
    height: 1px;
    background: #222;
    margin-top: 8px;
  }

  .company-title {
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 50px;
    line-height: 1.3;
  }

  .company-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: stretch;
    padding: 0 0 18px;
    margin-bottom: 18px;
    position: relative;
  }

  .company-label {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100%;
    width: 75px;
  }

  .company-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 66px;
    height: 1px;
    background: #222;
  }

  .company-content {
    font-size: 12px;
    line-height: 2;
    color: #333;
    position: relative;
    word-break: break-word;
    margin-left: 0px;
  }

  .company-content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: 100%;
    height: 1px;
    background: #222;
  }

  /* =========================
   MAP
========================= */
  .company-map {
    flex-direction: column;
    gap: 30px;
  }

  .company-map iframe {
    height: 200px;
  }


  /* =========================
   共通（3ページ）
========================= */

  .exterior-work-link::after,
  .roof-work-link::after,
  .waterproof-work-link::after {
    display: none;
  }


  .business-page-intro {
    margin: 0;
    padding: 40px 15px 0;
    text-align: center;
    margin-top: -60px;
  }

  .business-page-title {
    font-size: 30px;
    letter-spacing: 2px;
    padding-bottom: 0px;
  }

  .business-page-title::after {
    right: 90px;
    transform: translateX(50%);
    width: 180px;
  }

  .business-page-sub {
    font-size: 12px;
    margin-top: 8px;
  }

  .business-page-text {
    font-size: 12px;
    margin: 20px auto 0;
    line-height: 2;
  }

  .business-about-inner {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .business-about-flex {
    display: block;
  }

  .business-about-flex h2 {
    width: auto;
    font-size: 18px;
    margin-bottom: 20px;
    word-break: normal;
    padding-left: 44px;
  }

  .business-about-label {
    text-align: left;
    margin-left: 44px;
  }

  .business-about-label::after {
    content: "";
    position: absolute;
    left: -290px;
    height: 1px;
    background: #aaa;
    width: 388px;
  }

  .exterior-kv {
    height: 70vh;
    margin-top: 75px;
    background: url("../images/SP/y_mv.jpg") center/cover no-repeat;
  }

  /* =========================
   ABOUT
========================= */
  .business-page-about {
    padding: 50px 15px 80px
  }

  .business-page-process {
    padding: 50px 15px 65px;
  }

  .business-about-flex .business-page-text {
    font-size: 12px;
    line-height: 2;
    margin-left: 0px;
    max-width: none;
  }


  .business-process-flex h2 {
    margin: 0% 0 9%;
    padding-left: 31px;
  }

  .business-process-label::after {
    width: 400px;
  }

  .business-process-label {
    margin-left: 34px;
  }

  /* =========================
   背景
========================= */
  .roof-bg-green {
    width: 180px;
    right: -40px;
  }

  .roof-bg-blue {
    width: 180px;
    left: -40px;
  }


  /* =========================
   画像
========================= */
  .exterior-image img {
    height: 180px;
  }


  /* =========================
   WORKS
========================= */
  .exterior-works {
    padding: 0px 20px 80px;
  }

  .exterior-section-title {
    font-size: 18px;
    margin: 8px 0 50px 8%;
  }

  .exterior-section-title::before {
    left: -20px;
    top: -14px;
    width: 1px;
    height: 55px;
  }

  .exterior-works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .exterior-work-img {
    height: 100px;
  }

  .exterior-work-link {
    font-size: 11px;
  }

  .exterior-btn-more {
    margin-top: 60px;
    width: 200px;
  }

  .exterior-method-item::before {
    left: -15px;
    top: 15px;
    width: 60px;
  }

  /* =========================
   METHOD
========================= */
  .exterior-method {
    padding: 80px 20px 100px;
    z-index: 3;
    position: relative;
  }

  .exterior-method-title {
    font-size: 18px;
  }

  .exterior-method-sub {
    font-size: 12px;
    margin-bottom: 40px;
    text-align: center;
  }

  .exterior-method-list {
    flex-direction: column;
    gap: 40px;
  }

  .exterior-method-item {
    width: 100%;
    padding: 20px;
  }

  .exterior-method-img {
    margin-bottom: 20px;
  }

  .exterior-method-label {
    font-size: 13px;
    padding: 8px 12px;
  }

  .exterior-method-item p {
    font-size: 12px;
    line-height: 2;
  }


  /* =========================
   背景
========================= */
  .roof-kv {
    height: 70vh;
    margin-top: 75px;
    background: url("../images/SP/home/mvkodate.jpg") center/cover no-repeat;
  }


  .roof-bg-blue2 {
    width: 500px;
    right: -284px;
    top: -30px;
    z-index: -1;
  }

  .roof-bg-orange {
    width: 400px;
    right: -331px;
    bottom: -100px;
    z-index: 0;
  }

  .roof-image img {
    height: 180px;
  }

  .roof-image {
    margin-top: 0px;
  }

  .roof-works {
    padding: 0px 20px;
  }

  .roof-section-title {
    font-size: 18px;
    margin: 8px 0 50px 8%;
  }

  .roof-section-title::before {
    left: -20px;
    top: -14px;
    width: 1px;
    height: 55px;
  }

  .roof-works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .roof-work-img {
    height: 100px;
  }

  .roof-work-link {
    font-size: 11px;
  }

  .roof-btn-more {
    margin-top: 40px;
    width: 200px;
  }

  /* =========================
   FEATURE
========================= */
  .roof-feature {
    padding: 80px 20px 100px;
    z-index: 1;
  }

  .roof-feature-title {
    font-size: 18px;
  }

  .roof-feature-text {
    font-size: 12px;
    margin-bottom: 40px;
    text-align: center;
  }

  .roof-feature-list {
    flex-direction: column;
    gap: 40px;
  }

  .roof-feature-item {
    width: 100%;
    padding: 20px;
  }

  .roof-feature-label {
    font-size: 13px;
    padding: 8px 12px;
  }

  .roof-feature-desc {
    font-size: 12px;
    line-height: 2;
  }

  .roof-feature-item::before {
    left: -15px;
    top: 15px;
    width: 60px;
  }


  /* =========================
   FEATURE（3つのカード）
========================= */

  .waterproof-kv {
    height: 70vh;
    margin-top: 75px;
    background: url("../images/SP/buiding/MV.jpg") center/cover no-repeat;
  }

  .waterproof-feature {
    padding: 6px 20px 85px;
  }

  .waterproof-feature-list {
    flex-direction: column;
    gap: 20px;
  }

  .waterproof-feature-item {
    width: 100%;
    padding: 35px 20px 35px
  }

  .waterproof-feature-head {
    font-size: 11px;
    padding: 8px;
  }

  .waterproof-feature-item p,
  .waterproof-feature-item li {
    font-size: 12px;
  }

  .waterproof-image img {
    height: 180px;
  }

  .waterproof-image {
    margin-top: 0px;
  }

  /* =========================
   WORKS
========================= */
  .waterproof-works {
    padding: 0px 20px;
  }

  .waterproof-section-title {
    font-size: 18px;
    margin: 8px 0 50px 8%;
  }

  .waterproof-section-title::before {
    left: -20px;
    top: -14px;
    width: 1px;
    height: 55px;
  }

  .waterproof-works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .waterproof-work-img {
    height: 100px;
  }

  .waterproof-work-link {
    font-size: 11px;
  }

  .waterproof-btn-more {
    margin-top: 40px;
    width: 230px;
    padding: 8px 12px;
  }

  /* =========================
   AREA（カード4つ）
========================= */
  .waterproof-area {
    padding: 80px 20px;
    z-index: 1;
  }

  .waterproof-area-title {
    font-size: 18px;
  }

  .waterproof-area-sub {
    font-size: 12px;
    margin-bottom: 40px;
  }

  .waterproof-area-list {
    flex-direction: column;
    gap: 40px;
  }

  .waterproof-area-item {
    width: 100%;
    padding: 20px;
  }

  .waterproof-area-label {
    font-size: 13px;
    padding: 8px 12px;
  }

  .waterproof-area-item p {
    font-size: 12px;
    line-height: 2;
  }

  .waterproof-area-item::before {
    left: -15px;
    top: 15px;
    width: 60px;
  }


  /* =========================
   MAINTENANCE
========================= */
  .waterproof-maintenance {
    padding: 60px 20px;
  }

  .waterproof-maintenance::before {
    display: none;
  }

  .waterproof-maintenance-title,
  .waterproof-maintenance-text {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .waterproof-maintenance-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .waterproof-maintenance-text {
    font-size: 12px;
    line-height: 2;
  }

  .waterproof-bg-pink {
    width: 800px;
    right: 0px;
    top: -50px;
    z-index: -1;
    left: 125px;
  }

  .waterproof-bg-orange {
    width: 400px;
    right: 158px;
    bottom: -100px;
    z-index: 0;
  }


  /* =========================
  施工事例
========================= */

  .works-detail {
    padding: 100px 20px 40px;
  }

  .recruit-mv {
    height: 70vh;
    margin-top: 75px;
    z-index: 6;
  }

  .recruit-sp-bar {
    position: relative;
    width: 100%;
    margin: -30px auto 0;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 7px 0;
    z-index: 10;
  }

  .recruit-sp-bar .en {
    display: block;
    font-size: 36px;
    letter-spacing: 4px;
  }

  .recruit-sp-bar .jp {
    display: block;
    font-size: 17px;
    letter-spacing: 2px;
  }

  .recruit-mv-inner {
    background: url("../images/SP/re_mv.jpg") center/cover no-repeat;
  }

  .recruit-mv-text {
    left: 20px;
    top: 25%;
    transform: translateY(-50%);
  }

  .recruit-mv-text h1 {
    font-size: 26px;
    line-height: 1.6;
  }

  .recruit-mv-text p {
    font-size: 12px;
    margin-top: 10px;
  }

  .recruit-page {
    padding: 0;
  }

  .recruit-page-inner {
    max-width: none;
    z-index: 2;
  }

  .recruit-page-head {
    height: auto;
    position: static;
    padding: 40px 20px 20px;
  }

  .recruit-page-copy {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }

  .recruit-page-title {
    font-size: 20px;
    line-height: 1.8;
  }

  .recruit-page-sub {
    margin-bottom: 20px;
  }

  .recruit-page-en {
    font-size: 10px;
  }

  .recruit-page-message {
    position: static;
    width: 100%;

    text-align: left;
  }

  .recruit-page-text {
    font-size: 12px;
    line-height: 2;
  }

  .recruit-page-img1 {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 30px;
  }

  .recruit-bg-blue {
    display: none;
  }

  .recruit-bg-green {
    position: absolute;
    right: -415px;
    width: 600px;
    top: -128px;
    z-index: -1;
  }

  .recruit-info {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .recruit-info-head {
    flex-direction: column;
  }

  .recruit-info-head-left {
    width: 100%;
    font-size: 25px;
    font-weight: bold;
    padding: 20px 0;
    margin-top: -6px;
  }

  .recruit-info-head-right {
    width: 100%;
    padding: 20px;
    font-size: 14px;
    text-align: center;
  }

  .recruit-info-body {
    flex-direction: column;
    gap: 20px;
  }

  .recruit-info-left {
    width: 100%;
  }

  .recruit-info-left img {
    height: 200px;
    object-fit: cover;
  }

  .recruit-info-right {
    width: 100%;
    padding: 20px 20px 70px;
  }

  .recruit-info-copy {
    font-size: 14px;
    text-align: center;
  }

  .recruit-table th {
    width: 140px;
  }

  .recruit-table th,
  .recruit-table td {
    font-size: 14px;
    padding: 18px 10px;
    line-height: 1.6;

  }

  .recruit-cta {
    padding: 60px 20px;
  }

  .recruit-cta-text {
    font-size: 14px;
    margin-bottom: 40px;
    font-weight: bold;
  }

  .recruit-contact {
    flex-direction: column;
    gap: 60px;
  }

  .recruit-tel {
    min-width: auto;
    width: 100%;
  }

  .recruit-tel-sub {
    text-align: center;
    font-size: 16px;
    margin-bottom: 5px;
    padding-bottom: 6px;
  }

  .recruit-tel-number {
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
  }

  .recruit-tel-time {
    align-items: flex-start;
  }

  .recruit-tel-time .label {
    width: 33%;
    padding: 9px 18px;
  }

  .recruit-tel-time .time {
    width: 65%;
  }

  .recruit-tel-time .label,
  .recruit-tel-time .time {
    text-align: center;
  }

  .recruit-cta-btn {
    width: 100%;
    height: 120px;
    font-size: 22px;
  }

  /* =========================
   CONTACT SP
========================= */

  .contact-page {
    padding: 100px 20px 40px;
  }

  .contact-page-inner {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .contact-line-btn-wrap {
    text-align: center;
    /* SPは中央寄せ */
    margin: 28px 0 42px;
  }

  .contact-line-btn {
    width: 300px;
    /* PC画像を大きく */
  }

  .contact-page-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .contact-page-lead {
    font-size: 12px;
    line-height: 2;
  }

  .contact-line-btn-wrap {
    text-align: center;
  }

  .contact-line-btn {
    margin-left: 0;
  }


  .contact-row {
    display: block;
    margin-bottom: 20px;
  }

  .contact-row label {
    width: 100%;
    font-size: 12px;
    margin-bottom: 8px;
    /* display: block; */
    justify-content: flex-start;
  }

  .contact-row input,
  .contact-row select,
  .contact-row textarea {
    width: 100%;
    font-size: 12px;
    padding: 10px;
  }

  .contact-row textarea {
    height: 180px;
  }

  .contact-row.address {
    display: block;
  }

  .contact-address {
    width: 100%;
  }

  .contact-address select {
    width: 100%;
  }

  .required {
    font-size: 10px;
    margin-left: 15px;
  }

  .contact-row.confirm {
    display: block;
  }

  .contact-row.confirm input {
    margin: 10px 0;
  }

  .contact-row.confirm span {
    display: block;
    font-size: 11px;
    line-height: 1.6;
  }

  .contact-submit {
    margin-top: 40px;
  }

  .contact-submit button {
    width: 100%;
    padding: 16px;
    font-size: 14px;
  }

  .contact-row.confirm {
    display: block;
  }

  .contact-row.confirm label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .contact-row.confirm input {
    margin: 0;
    width: 18px;
    height: 18px;
  }

  .contact-row.confirm span {
    display: block;
    font-size: 11px;
    line-height: 1.6;
    /* margin-top: 8px; */
  }

  .confirm-top {
    display: flex;
    align-items: center;
    /* gap: 20px; */
    margin-bottom: 10px;
  }

  .contact-row.confirm label {
    width: auto;
    margin: 0;
  }

  .mt-8 {
    margin: 0;
  }

  /* ローディング中はヘッダー非表示 */

  body.loading .sp-header {
    display: none !important;
  }

  /* ローディング中は動画を完全フルスクリーン */
  #loading {
    width: 100vw;
    height: 100vh;
    z-index: 10000;
  }

  #loading video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  /* 念のため余白対策 */
  html,
  body {
    margin: 0;
    padding: 0;
  }

  #loadingLogo {
    position: fixed;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;

    z-index: 10001;
  }

  .employment-conditions {
    padding: 0 0 65px;
    margin-top: 60px;
  }

  .employment-conditions-head {
    display: block;
    margin-bottom: 38px;
  }

  .employment-conditions-title {
    width: 100%;
    height: auto;
    padding: 22px 20px;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    background: #1e6aa8;
    color: #fff;
    box-sizing: border-box;
  }

  .employment-conditions-lead {
    margin: 0;
    padding: 24px 20px 26px;
    background: #f4f7fa;
    text-align: center;
    font-size: 14px;
    line-height: 2;
    letter-spacing: 1.2px;
    color: #555;
  }

  .employment-conditions-layout {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 0 20px;
  }

  .employment-category-title {
    gap: 16px;
    margin-bottom: 20px;
  }

  .employment-category-title span {
    font-size: 18px;
  }

  .employment-card-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .employment-card {
    min-height: auto;
    padding: 24px 16px 22px;
  }

  .employment-price span {
    font-size: 38px;
  }

  .employment-license li {
    text-align: center;
    white-space: normal;
  }

  .employment-blank,
  .employment-blank-small,
  .employment-blank-large {
    min-height: 0;
  }

  .employment-support {
    margin-top: 18px;
  }

  /* SP：職人 未経験者だけ、下側の余分な線を消す */
  .employment-category:nth-child(2) .employment-card:nth-child(2) .employment-line:last-of-type {
    display: none !important;
  }

  
}



@media screen and (max-width: 768px) {
  .thanks-page {
    padding: 120px 20px;
  }

  .thanks-title::after {
    width: 283px;
  }

  .thanks-title {
    font-size: 20px;
    padding-bottom: 8px;
  }
}


@media screen and (max-width: 500px) {
  .sp-br500 {
    display: block;
  }

  .catch-line {
    display: block;
  }

  .mv-text {
    left: 50%;
    right: auto;
    width: 100%;
    padding: 0 20px;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .mv-copy,
  .mv-copy .catch,
  .mv-copy .mv-sub {
    text-align: center;
  }

}