/* =========================================
   リセットcss
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #53b529;
  --gradient-green: linear-gradient(
    135deg,
    #e3f5d8 0%,
    #b4e391 50%,
    #62b535 100%
  );
  --gradient-green-dark: linear-gradient(to bottom, #72c744, #3d8a1c);
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f9f9f9;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* 英字フォント指定 */
.section-subtitle,/* SERVICE、RECRUIT、ACCESSなど */
.about::before, /* Creating comfort for everyday living. */
.contact-banner-title h2, /* CONTACT */
.num,/* 事業内容の数字 */
.footer-catch-en {
  /* フッターのCreating comfort for everyday living. */
  font-family: "Krona One", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.3;
}

.center {
  text-align: center;
}

.logo {
  position: relative;
  z-index: 500;
}

.logo img {
  height: 100px;
  width: auto;
  vertical-align: middle;
  transform: translateY(8px);
  filter: contrast(0) brightness(2);
  transition:
    transform 0.3s ease,
    filter 0.5s ease;
}
.footer-logo img {
  height: 150px !important;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

.phone-icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
  margin-right: 8px;
}

.icon-white {
  fill: #ffffff;
}

.icon-green {
  fill: var(--primary-green);
}

.accordion-toggle-btn {
  display: none;
}

/* =========================================
  ヘッダー お問い合わせボタン
========================================= */
.btn-header-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #53b529bf;
  color: #fff;
  padding: 8px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-header-contact:hover {
  background-color: #459722;
}

.contact-sub {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: -7px;
  letter-spacing: 1px;
}

.contact-main {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.contact-main .phone-icon {
  width: 1em;
  height: 1em;
  margin-right: 6px;
}

/* =========================================
   ヘッダー
========================================= */
.header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 999;
  transition:
    top 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
  transition: padding 0.3s ease;
}

.global-nav {
  margin-left: auto;
  margin-right: 100px;
}

.global-nav ul {
  display: flex;
  gap: 100px;
}

.global-nav li {
  display: inline-block;
}

.nav-link-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  height: 1.5em;
}

.nav-main-link {
  display: inline-block;
  position: relative;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  transition:
    transform 0.35s ease,
    color 0.3s ease;
}

.nav-main-link::after {
  content: attr(data-hover);
  position: absolute;
  top: 100%;
  left: 0;
  color: inherit;
  white-space: nowrap;
}

.global-nav li:hover .nav-main-link {
  transform: translateY(-100%);
  color: var(--primary-green);
}

.plus-icon {
  color: var(--primary-green);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

/* =========================================
  ドロップダウンメニュー
========================================= */
.mega-menu {
  position: absolute;
  /* ヘッダーの下端付近に固定配置 */
  top: 90px;
  left: 50%;
  width: calc(100vw - 60px);
  max-width: 1600px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  z-index: 200;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s ease 0.3s;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
}

.global-nav li.nav-item-has-child {
  position: static;
}

.global-nav li.nav-item-has-child .nav-link-wrap {
  position: relative;
}

.global-nav li.nav-item-has-child .nav-link-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  display: block;
}

.global-nav li.nav-item-has-child:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s ease 0s;
  pointer-events: auto;
}

.mega-menu-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 35px;
}

.mega-item {
  display: block;
  color: #333 !important;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.mega-item:hover {
  opacity: 0.8;
}

.mega-img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.mega-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-item:hover .mega-img img {
  transform: scale(1.05);
}

/* =========================================
  メガメニュー内アニメーション
========================================= */
.mega-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
  white-space: nowrap;
  position: relative;
}

.mega-text::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--primary-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-item:hover .mega-text::after {
  transform: scaleX(1);
}

.mega-text .dot {
  font-size: 0;
  margin-left: 10px;
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.mega-text .dot::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  transition: all 0.4s ease;
  transform: translateY(-50%) translateX(-6px) rotate(0deg);
}

.mega-text .dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 16px;
  height: 2px;
  background-color: var(--primary-green);
  transition: all 0.4s ease;
  transform-origin: right center;
  transform: translateY(-50%) translateX(-6px) scaleX(0);
  opacity: 0;
}

.mega-item:hover .mega-text .dot::after {
  background-color: transparent;
  border-radius: 0;
  border-top-color: var(--primary-green);
  border-right-color: var(--primary-green);
  transform: translateY(-50%) translateX(0) rotate(45deg);
}

.mega-item:hover .mega-text .dot::before {
  opacity: 1;
  transform: translateY(-50%) translateX(3px) scaleX(1);
}
/* メガメニューここまで */

/* =========================================
   メガメニューをクリック時に閉じる
========================================= */
.mega-menu.is-closed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(10px) !important;
}

.header.is-closed::before {
  opacity: 0 !important;
  visibility: hidden !important;
}

.header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.header:has(li.nav-item-has-child:hover)::before {
  opacity: 1;
  visibility: visible;
}

.header.is-scrolled .header-inner {
  padding: 12px 20px;
}

.header.is-scrolled .nav-main-link {
  color: #333;
}

.header.is-scrolled .global-nav li:hover .nav-main-link {
  color: var(--primary-green);
}

.header.is-scrolled .logo img {
  filter: contrast(1) brightness(1);
}

/* =========================================
  ヒーローセクション
========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ズーム */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/Top.jpg") no-repeat center center/cover;
  z-index: 0;
  animation: cinematicZoom 20s linear infinite alternate;
}

@keyframes cinematicZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  text-align: center;
}

/* =========================================
   住む人の“心地よさ”をつくる仕事。
========================================= */
.hero-title {
  position: absolute !important;
  bottom: -27rem !important;
  line-height: 1.5 !important;
  right: -26% !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  z-index: 10 !important;
  color: #ffffff !important;
  /* text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7) !important; */
  text-align: right !important;
  font-feature-settings: "palt";
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 6rem;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: heroTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
  font-weight: 900 !important;
  -webkit-text-stroke: 2.5px #ffffff !important;
  paint-order: stroke fill !important;
}

@keyframes heroTextFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
  ヒーローセクション スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
    bottom: -250px !important;
    right: auto !important;
    -webkit-text-stroke: 1px #ffffff !important;
    line-height: 1.3 !important;
    text-align: right !important;
  }
}

/* =========================================
  確かな技術で、暮らしを支える。
========================================= */
.about {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 120px;
  background: linear-gradient(
    to bottom,
    #ffffff 30%,
    #e8f5df 70%,
    #c9eab8 100%
  );
}

/* Creating comfort for everyday living */
.about::before {
  content: "Creating comfort for everyday living";
  position: absolute;
  margin-top: -100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6.4rem;
  font-weight: 900;
  color: rgba(235, 245, 235, 0.5);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2px;
}

.about-container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-top: 80px;
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  margin-top: 80px;
  font-size: 5rem;
  line-height: 1.4;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
  margin-left: -180px;
  white-space: nowrap;
}

.about-text .section-title .indent-text {
  display: inline-block;
  margin-left: 1em;
}

.about-text p {
  font-size: 0.9rem;
  line-height: 2.2;
  letter-spacing: 0.02em;
  margin-left: -70px;
  max-width: 550px;
  margin-bottom: 2em;
}

.about-text p:first-of-type {
  margin-top: 80px;
}

/* 画像アニメーションここから */
.about-image {
  flex: 1.6;
  margin-top: 250px;
  margin-right: calc(50% - 50vw);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.js-unveil::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  z-index: 2;
  transform-origin: right center;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.js-unveil.is-animated::after {
  transform: scaleX(0);
}

.js-unveil.is-animated img {
  transform: scale(1);
}

/* =========================================
  確かな技術で、暮らしを支える。 スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .about::before {
    font-size: 2.8rem;
    line-height: 1.4;
    white-space: normal;
    text-align: right;
    width: 90%;
    font-weight: 900;
    color: #b4c4a917;
    margin-top: 0;
    top: 30px;
    left: 55%;
    transform: translateX(-50%);
  }

  .about-container {
    flex-direction: column;
    gap: 40px;
    padding-top: 60px;
  }

  .about-text .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    margin-left: 0;
    white-space: normal;
    margin-top: -30px;
  }

  .about-text .section-title .indent-text {
    margin-left: 1em;
    display: inline-block;
  }

  .about-text p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left;
  }

  .about-text p:first-of-type {
    margin-top: 30px !important;
  }

  .about-image {
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    clip-path: none;
  }

  .about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transform: scale(1);
  }
}

/* =========================================
  事業内容
========================================= */
.service {
  position: relative;
  background: linear-gradient(
    to bottom,
    #c9eab8 0%,
    #53b529 100%,
    #53b529 100%
  );
  padding: 140px 0;
  overflow: hidden;
  z-index: 1;
}

.service-bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/Texture.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  filter: hue-rotate(100deg) saturate(0.8) brightness(0.4) contrast(1.1);
  mix-blend-mode: overlay;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
  margin-top: -40px;
}

.service-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 80px;
  align-items: center;
}

.service-left {
  flex: 1;
}

.service-title-block {
  margin-bottom: 40px;
  position: relative;
}

.service-title-block::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 100%;
  width: 100vw;
  height: 4px;
  background-color: var(--primary-green);
  margin-right: 25px;
}

.service-left .section-subtitle {
  font-family: "Krona One", sans-serif;
  color: #333;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 5px;
}

.service-left .section-title-ja {
  color: #444;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.service-desc {
  color: #333;
  line-height: 2.2;
  margin-bottom: 45px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.btn-service {
  background-color: transparent;
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
  border-radius: 50px;
  padding: 15px 44px;
  font-weight: bold;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.btn-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: -2;
}

.btn-service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-service:hover {
  color: #fff;
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(83, 181, 41, 0.2);
}

.btn-service:hover::after {
  transform: scaleX(1);
}

.btn-service .dot {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  color: transparent;
  vertical-align: middle;
}

.btn-service .dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  transition: all 0.4s ease;
  transform: translate(-6px, 1px) rotate(0deg);
}

.btn-service .dot::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: all 0.4s ease;
  transform-origin: right center;
  transform: translateX(-6px) scaleX(0);
  opacity: 0;
}

.btn-service:hover .dot::after {
  background-color: transparent;
  border-radius: 0;
  border-top-color: #fff;
  border-right-color: #fff;
  transform: translate(0, 0) rotate(45deg);
}

.btn-service:hover .dot::before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.service-right {
  flex: 1.3;
}

.service-list.is-animated li {
  opacity: 1;
  transform: translateY(0);
}

.service-list.is-animated li:nth-child(1) {
  transition-delay: 0s;
}
.service-list.is-animated li:nth-child(2) {
  transition-delay: 0.1s;
}
.service-list.is-animated li:nth-child(3) {
  transition-delay: 0.2s;
}
.service-list.is-animated li:nth-child(4) {
  transition-delay: 0.3s;
}
.service-list.is-animated li:nth-child(5) {
  transition-delay: 0.4s;
}
.service-list.is-animated li:nth-child(6) {
  transition-delay: 0.5s;
}

.service-list li {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid rgb(255, 255, 255);
  cursor: pointer;
}

.service-list .num,
.service-list .text,
.service-list .line-arrow {
  transition: transform 0.3s ease;
}

.service-list li:hover .num,
.service-list li:hover .text,
.service-list li:hover .line-arrow {
  transform: translateX(10px);
}

.service-list .num {
  font-family: "Krona One", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 25px;
  line-height: 1;
  width: 60px;
  flex-shrink: 0;
}

.service-list .text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.service-list .line-arrow {
  width: 100px;
  margin-left: auto;
  height: 1px;
  background-color: rgb(255, 255, 255);
  position: relative;
}

.service-list li:hover .line-arrow {
  background-color: #fff;
}

.service-list .line-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid rgb(255, 255, 255);
  border-right: 1px solid rgb(255, 255, 255);
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s ease;
}

.service-list li:hover .line-arrow::after {
  border-color: #fff;
}

/* =========================================
  事業内容 スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .service {
    padding: 80px 0;
  }

  .service-bg-decorations {
    background-size:
      auto 120px,
      cover;
  }

  .service-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px;
  }

  .service-left,
  .service-right {
    display: contents;
  }

  .service-title-block {
    order: 1;
    text-align: center;
    width: 100%;
    margin-top: -70px;
  }
  .service-title-block::before {
    display: none;
  }

  .service-left .section-subtitle {
    font-size: 2.6rem;
    margin: 0 auto;
  }

  .service-left .section-title-ja {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 5px;
    display: inline-block;
  }
  .service-left .section-title-ja::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
  }

  .service-desc {
    order: 2;
    text-align: center;
    margin-bottom: 20px !important;
  }

  .service-desc br {
    display: none !important;
  }

  .service-list {
    order: 3;
    width: 100%;
  }

  .service-list .num {
    font-size: 1.8rem;
    width: 45px;
  }

  .service-list .text {
    font-size: 1.05rem;
  }

  .service-list .line-arrow {
    margin-left: auto !important;
    width: 100px;
  }

  .btn-service {
    order: 4;
    margin: 10px auto 0 auto !important;
  }

  .service-bg-decorations {
    background-size: cover !important;
    margin-top: 0 !important;
    height: 100% !important;
  }

  .service-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px;
  }
}

/* =========================================
  内装仕上工事とは？
========================================= */
.mid-banner {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  width: 100%;
}

.mid-banner-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.mid-banner-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/naisousiagekouji.jpeg") no-repeat center center/cover;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
  z-index: 0;
}

.mid-banner:hover .mid-banner-inner::before {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.mid-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 26, 8, 0.6);
  z-index: 1;
  transition: background 0.8s ease;
}

.mid-banner:hover .mid-banner-overlay {
  background: rgba(1, 26, 8, 0.5);
}

.mid-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 40px;
}

.mid-banner-text {
  color: #fff;
  text-align: left;
  flex: 1;
}

.mid-banner-text h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mid-banner-text p {
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  line-height: 1.6;
}

.mid-banner-action {
  margin-left: 40px;
}

.btn-outline-round {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 50px;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;

  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
}

.btn-outline-round::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mid-banner:hover .btn-outline-round {
  color: #fff;
}

.mid-banner:hover .btn-outline-round::after {
  transform: scaleX(1);
}

.btn-outline-round .dot {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  color: transparent;
  vertical-align: middle;
}

.btn-outline-round .dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  transition: all 0.4s ease;
  transform: translate(-6px, 1px) rotate(0deg);
}

.btn-outline-round .dot::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: all 0.4s ease;
  transform-origin: right center;
  transform: translateX(-6px) scaleX(0);
  opacity: 0;
}

.mid-banner:hover .btn-outline-round .dot::after {
  background-color: transparent;
  border-radius: 0;
  border-top-color: #fff;
  border-right-color: #fff;
  transform: translate(0, 0) rotate(45deg);
}

.mid-banner:hover .btn-outline-round .dot::before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

/* =========================================
  内装仕上工事とは？ スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .mid-banner {
    margin-top: -20px;
  }
  .mid-banner-inner {
    border-radius: 20px 20px 0 0;
  }
  .mid-banner-content {
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
    gap: 30px;
  }
  .mid-banner-text {
    text-align: center;
  }
  .mid-banner-text h2 {
    font-size: 2.2rem;
  }
  .mid-banner-action {
    margin-left: 0;
  }
}

/* =========================================
   採用情報
========================================= */
.recruit {
  background-color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.recruit-container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.recruit-left {
  flex: 1;
  position: relative;
  z-index: 10;
}

.section-title-wrapper-recruit .section-subtitle {
  background: linear-gradient(to right, #53b529, #1d6b0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.section-title-wrapper-recruit::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 100%;
  width: 100vw;
  height: 3px;
  background-color: #53b529;
  margin-right: 20px;
}

.section-title-wrapper-recruit .section-subtitle {
  color: #53b529;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.section-title-wrapper-recruit .section-title {
  color: #444;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  /* margin-top: -5px; */
}

.recruit-catch {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333;
  font-weight: 900;
}

.highlight-bg {
  background-color: #53b529;
  color: #fff;
  padding: 2px 8px;
  margin: 0 4px;
  display: inline-block;
}

.highlight-border {
  border: 3px solid #53b529;
  color: #53b529;
  padding: 0 6px;
  margin: 0 4px;
  display: inline-block;
}

.recruit-desc {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 40px;
  color: #444;
}

.btn-recruit {
  background-color: transparent;
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
  border-radius: 50px;
  padding: 14px 40px;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.btn-recruit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: -2;
}

.btn-recruit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-recruit:hover {
  color: #fff;
  box-shadow: 0 10px 25px rgba(83, 181, 41, 0.25);
}

.btn-recruit:hover::after {
  transform: scaleX(1);
}

.btn-recruit .dot {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  color: transparent;
  vertical-align: middle;
}

.btn-recruit .dot::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  transition: all 0.4s ease;
  transform: translate(-6px, 1px) rotate(0deg);
}

.btn-recruit .dot::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -2px;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: all 0.4s ease;
  transform-origin: right center;
  transform: translateX(-6px) scaleX(0);
  opacity: 0;
}

.btn-recruit:hover .dot::after {
  background-color: transparent;
  border-radius: 0;
  border-top-color: #fff;
  border-right-color: #fff;
  transform: translate(0, 0) rotate(45deg);
}

.btn-recruit:hover .dot::before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

/* 画像スライダー */
.recruit-right {
  flex: 1.2;
  position: relative;
  height: 650px;
  margin-right: -50vw;
  padding-right: 50vw;
  margin-left: -200px;
  padding-left: 200px;

  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  z-index: 1;
}

.recruit-vertical-slider {
  position: absolute;
  top: -30%;
  left: 150px;
  width: 100vw;
  height: 160%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  transform: rotate(4deg);
  transform-origin: center center;
}

.slider-col {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.col-left {
  width: 380px;
  margin-top: 0;
}
.col-right {
  width: 300px;
  margin-top: 80px;
}

.slider-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.track-up {
  animation: scrollVertical 20s linear infinite;
}
.track-up-slow {
  animation: scrollVertical 24s linear infinite;
}

@keyframes scrollVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.slide-img-wrap {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.col-right .slide-img-wrap {
  height: 200px;
}

.slide-img-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 135%;
  height: 135%;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(-4deg);
}

/* =========================================
  採用情報 スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .recruit {
    padding: 80px 0;
  }

  .recruit-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .recruit-left {
    display: contents;
  }

  /* タイトル */
  .section-title-wrapper-recruit {
    order: 1;
    margin-bottom: 30px;
    text-align: center;
  }

  .section-title-wrapper-recruit::before {
    display: none;
  }

  .section-title-wrapper-recruit .section-title {
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
  }

  .section-title-wrapper-recruit .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
  }

  /* キャッチコピー */
  .recruit-catch {
    margin-top: -70px !important;
    order: 2;
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 2;
  }

  .recruit-catch .highlight-bg,
  .recruit-catch .highlight-border {
    line-height: 1.5 !important;
  }

  /* 本文 */
  .recruit-desc {
    margin-top: -50px !important;
    order: 3;
    margin-bottom: 10px;
  }

  .recruit-desc br {
    display: none !important;
  }

  .recruit-right {
    order: 4;
    height: auto !important;
    width: 100vw !important;
    margin: -30px 0 20px calc(50% - 50vw) !important;
    padding: 0 !important;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }

  .recruit-vertical-slider {
    position: relative;
    top: 0 !important;
    height: auto !important;
    left: 0;
    width: 100%;
    flex-direction: column !important;
    transform: none !important;
    gap: 8px !important;
  }

  .col-left,
  .col-right {
    width: 100%;
    margin-top: 0 !important;
  }

  .slider-track {
    display: flex !important;
    flex-direction: row !important;
    width: max-content !important;
    gap: 8px !important;
  }

  .track-up {
    animation: scrollHorizontal 25s linear infinite !important;
  }

  .track-up-slow {
    animation: scrollHorizontal 30s linear infinite reverse !important;
  }

  .slide-img-wrap {
    width: 220px !important;
    height: 150px !important;
  }

  .slide-img-wrap img {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* ボタン*/
  .btn-recruit {
    order: 5;
    margin: -50px !important;
    align-self: center;
  }
}

@keyframes scrollHorizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   お問い合わせ
========================================= */
.contact-banner-wrapper {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
  object-position: 75% 40%;
}

.contact-banner-wrapper:hover .contact-banner-photo img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.contact-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #53b529;
  z-index: 1;
  transition: filter 0.7s ease;
}

.contact-banner-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(60, 184, 26, 1) 40%,
    rgba(60, 184, 26, 0.6) 50%,
    rgba(60, 184, 26, 0) 65%
  );
  z-index: 3;
  transition: filter 1s ease;
}

.contact-banner-wrapper:hover .contact-banner-bg,
.contact-banner-wrapper:hover .contact-banner-gradient {
  filter: brightness(1.1);
}

.contact-banner-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.contact-banner-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 130%;
  max-width: none;

  height: 100%;
  object-fit: cover;
  object-position: left 40%;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.contact-banner-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(83, 181, 41, 1) 0%,
    rgba(83, 181, 41, 1) 50%,
    rgba(83, 181, 41, 0) 70%
  );

  z-index: 3;
  pointer-events: none;
  transition: filter 0.7s ease;
}

.contact-banner-texture {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: color-burn;
  opacity: 0.8;
}

.contact-banner-texture img {
  width: 700px;
  height: auto;
  display: block;
}

.contact-banner-content {
  position: relative;
  z-index: 5;
  padding: 60px 40px 60px 0;
  max-width: 65%;
}

.contact-banner-title {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-line {
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #fff;
  margin-right: 20px;
}

.contact-banner-title h2 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.contact-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  margin-left: 80px;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 0.85rem;
  margin-left: 80px;
  margin-bottom: 30px;
}

.contact-tel-wrap {
  display: flex;
  align-items: center;
  font-size: 3.8rem;
  font-weight: 900;
  margin-left: 80px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.contact-tel-wrap .phone-icon {
  width: 0.8em;
  height: 0.8em;
  margin-right: 15px;
}

/* =========================================
   お問い合わせ スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .contact-banner-wrapper {
    border-radius: 15px;
    overflow: hidden;
  }

  .contact-banner-photo {
    width: 100% !important;
    height: 65% !important;
  }

  .contact-banner-photo img {
    width: 115% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 100% center !important;
    transform: translateX(-3%) !important;
  }

  .contact-banner-gradient {
    background: linear-gradient(
      to bottom,
      rgba(83, 181, 41, 0) 0%,
      rgba(83, 181, 41, 0.3) 45%,
      rgba(83, 181, 41, 1) 65%
    ) !important;
    background-size: cover !important;
  }

  .contact-banner-content {
    max-width: 100%;
    padding: 170px 20px 20px !important;
    text-align: center;
  }

  .contact-line {
    display: none !important;
  }

  .contact-banner-title {
    justify-content: center;
    margin-bottom: 0 !important;
  }

  .contact-banner-title h2 {
    font-size: 1.6rem !important;
  }

  .contact-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px !important;
  }

  .contact-desc {
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px !important;
  }

  .contact-tel-wrap {
    font-size: 1.8rem;
    white-space: nowrap;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================
   アクセス
========================================= */
.map-container {
  width: 100%;
  margin: 0 auto;
}
.map-container iframe {
  width: 100%;
  max-width: 100%;
  display: block;
}

.access-info {
  margin-top: 30px;
  background: #fdfdfd;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #eee;
}

.access-info p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 2.2;
}

.access-info p strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: #53b529;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.access-info p:nth-child(2) {
  padding-left: 20px;
  position: relative;
}

.access-info p:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
}

.access .section-subtitle {
  background: linear-gradient(to right, #53b529, #1d6b0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin: 0 auto 5px auto;
  font-size: 3.2rem;
  font-weight: 900;
}

.access .section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 45px;
  position: relative;
  padding-bottom: 15px;
}

.access .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #53b529;
}
.access {
  padding-bottom: 130px;
  position: relative;
  z-index: 20;
}

.map-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.map-container iframe {
  width: 100%;
  max-width: 100%;
  display: block;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.access-info {
  display: block;
  position: relative;
  z-index: 20;
}

/* =========================================
     スマホ表示 タイトル調整（採用情報、会社概要）
  =========================================  */
@media screen and (max-width: 768px) {
  .section-title-wrapper-recruit {
    order: 1;
    margin-bottom: 30px;
    text-align: center;
  }

  .profile-header {
    text-align: center;
    margin-bottom: 30px;
  }

  .section-title-wrapper-recruit::before,
  .profile-header::before {
    display: none;
  }

  .section-title-wrapper-recruit .section-subtitle,
  .profile-title {
    display: block !important;
    font-size: clamp(1.8rem, 8vw, 3.2rem) !important;
    margin: 0 auto 5px auto !important;
  }

  .section-title-wrapper-recruit .section-title,
  .profile-subtitle {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    margin-top: 0;
  }

  .section-title-wrapper-recruit .section-title::after,
  .profile-subtitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
  }

  .service-left .section-subtitle,
  .section-title-wrapper-recruit .section-subtitle,
  .access .section-subtitle,
  .profile-title {
    font-size: clamp(1.5rem, 8vw, 2.6rem) !important;
  }
}

/* =========================================
  フッター
========================================= */
.footer {
  position: relative;
  background: linear-gradient(to bottom, #53b529 0%, #459722 100%);
  color: #fff;
  padding-top: 80px;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(
    to bottom,
    rgba(98, 181, 53, 0) 0%,
    rgba(98, 181, 53, 0.7) 60%,
    #53b529 100%
  );
  pointer-events: none;
  z-index: 10;
}

.footer .container {
  max-width: 1400px !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-left {
  flex: 1;
}

.footer-logo img {
  height: 85px;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.company-name {
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.company-address {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-right {
  text-align: right;
}

.footer-catch {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  line-height: 1.2;
}

.footer-catch-en {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
  opacity: 0.9;
}

.footer-phone-box {
  background: #fff;
  color: var(--primary-green);
  padding: 10px 30px;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-phone-box:hover {
  opacity: 0.9;
}

.footer-phone-box span {
  font-size: 0.8rem;
  display: block;
  color: var(--text-color);
  text-align: center;
  font-weight: bold;
}

.footer-phone-box strong {
  font-size: 2rem;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-top: 5px;
}

.footer-nav-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 80px;
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  flex: 1;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.footer-nav-item:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

.footer-nav-item .en {
  font-family: "Krona One", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1;
}

.footer-nav-item .ja {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.copyright-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 -20px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* =========================================
  フッター スマホ表示
========================================= */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
  }

  .footer-left {
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-nav-wide {
    flex-direction: column;
    gap: 50px;
    padding: 20px 0 60px;
  }

  .footer-nav-item .en {
    font-size: 2.2rem;
  }

  .footer-catch {
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .footer-catch-en {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .footer-phone-box {
    padding: 5px 30px !important;
  }

  /* 電話番号 */
  .footer-phone-box strong {
    font-size: 1.7rem;
    white-space: nowrap;
    justify-content: center;
    margin-top: 0 !important;
  }
}
/* =========================================
  ページトップボタン
========================================= */
html {
  scroll-behavior: smooth;
}

.page-top {
  position: fixed;
  right: 40px;
  bottom: -100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 300 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-top.is-show {
  bottom: 40px;
  opacity: 1;
  visibility: visible;
}

/* キャッチコピー 縦書き */
.page-top-text {
  font-family: "Krona One", sans-serif;
  font-size: 0.85rem;
  color: #333;
  writing-mode: vertical-rl;
  margin-bottom: 12px;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}

.page-top-line {
  position: relative;
  width: 1px;
  height: 60px;
  background-color: #cccccc;
  overflow: hidden;
}

.page-top-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  transform: translateY(100%);
}

.page-top.is-show .page-top-line::after {
  animation: lineUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes lineUp {
  0% {
    transform: translateY(100%);
  }
  40% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

.page-top:hover .page-top-text {
  color: var(--primary-green);
}

/* ページトップボタン スマホ表示 */
@media screen and (max-width: 768px) {
  .page-top {
    right: 20px;
  }
  .page-top.is-show {
    bottom: 20px;
  }
  .page-top-line {
    height: 40px;
  }
}

/* =========================================
  ローディング画面
========================================= */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.8s ease 0.4s,
    visibility 0.8s ease 0.4s;
}

.blueprint-grid {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition:
    transform 0.8s ease,
    opacity 0.6s ease;
}

.line-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-green);
  opacity: 0.4;
  transform: scaleX(0);
  animation: drawLineH 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-v {
  position: absolute;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(--primary-green);
  opacity: 0.4;
  transform: scaleY(0);
  animation: drawLineV 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-h:nth-child(1) {
  animation-delay: 0.1s;
  transform-origin: left center;
}
.line-h:nth-child(2) {
  animation-delay: 0.3s;
  transform-origin: right center;
}
.line-h:nth-child(3) {
  animation-delay: 0.2s;
  transform-origin: left center;
}
.line-h:nth-child(4) {
  animation-delay: 0.4s;
  transform-origin: right center;
}

.line-v:nth-child(5) {
  animation-delay: 0.2s;
  transform-origin: bottom center;
}
.line-v:nth-child(6) {
  animation-delay: 0.1s;
  transform-origin: top center;
}
.line-v:nth-child(7) {
  animation-delay: 0.4s;
  transform-origin: bottom center;
}
.line-v:nth-child(8) {
  animation-delay: 0.3s;
  transform-origin: top center;
}

@keyframes drawLineH {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes drawLineV {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

.loading.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading.is-loaded .blueprint-grid {
  transform: scale(1.05);
  opacity: 0;
}

/* =========================================
   タイトルアニメーション
========================================= */
.js-block-reveal {
  position: relative;
  visibility: hidden;
  width: fit-content;
}

.js-block-reveal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-green);
  z-index: 2;
  visibility: visible;
  transform-origin: left center;
  transform: scaleX(0);
}

.js-block-reveal.is-animated {
  animation: showText 0s 0.4s forwards;
}

.js-block-reveal.is-animated::after {
  animation: blockRevealSweep 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes showText {
  0% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

@keyframes blockRevealSweep {
  0% {
    transform-origin: left center;
    transform: scaleX(0);
  }
  40% {
    transform-origin: left center;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right center;
    transform: scaleX(1);
  }
  100% {
    transform-origin: right center;
    transform: scaleX(0);
  }
}

/* =========================================
   下層ページ 事業内容
========================================= */
/* ヘッダー */
body.page-sub .header {
  /* background-color: #ffffff; */
  top: 0;
  padding-bottom: 5px;
}

body.page-sub .nav-main-link {
  color: #333333;
}

body.page-sub .global-nav li:hover .nav-main-link {
  color: var(--primary-green) !important;
}

body.page-sub .logo img {
  filter: none;
}

.page-service-detail {
  background: linear-gradient(to bottom, #f9f9f9 0%, #eef7eb 50%, #dff0d8 100%);
  position: relative;
  padding-top: 120px;
}

.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 1100px;
  width: 92%;
  border-radius: 30px;
  overflow: hidden;
}

body.page-sub .btn-header-contact {
  box-shadow: none;
}

/* 事業内容 ヒーローセクション */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 20px auto 0;
  max-width: 1100px;
  width: 92%;
  border-radius: 30px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/Service.jpeg") no-repeat center center/cover;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 0 0 50px 60px;
}

.page-title {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
}

.page-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 6px;
  background: linear-gradient(to bottom, #72c744, #1d6b0a);
  border-radius: 3px;
}

.page-title-en {
  display: block;
  font-family: "Krona One", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-top: 5px;
  opacity: 0.9;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .page-hero {
    height: 250px;
    margin: 10px auto 0;
    border-radius: 20px;
  }
  .page-hero-content {
    padding: 0 0 30px 30px;
  }
  .page-title {
    font-size: 2.2rem;
    padding-left: 20px;
  }
  .page-title::before {
    width: 4px;
    top: 4px;
    bottom: 4px;
  }
  .page-title-en {
    font-size: 0.9rem;
  }
}

.service-detail-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding-top: 80px;
  padding-bottom: 120px;
  position: relative;
  z-index: 30;
}

/* 左の追従メニュー */
.service-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
}

.sticky-nav {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #eee;
}

.sticky-nav ul li {
  border-bottom: 1px solid #f0f0f0;
}

.sticky-nav ul li:last-child {
  border-bottom: none;
}

.sticky-nav ul li a {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #444;
  transition: all 0.3s ease;
  position: relative;
}

.sticky-nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--primary-green);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.sticky-nav ul li a:hover {
  background-color: #fcfcfc;
  color: var(--primary-green);
  padding-left: 25px;
}

.sticky-nav ul li a:hover::before {
  transform: scaleY(1);
}

.nav-num {
  font-family: "Krona One", sans-serif;
  font-size: 0.8rem;
  color: #ccc;
  margin-right: 12px;
  transition: color 0.3s ease;
}

.sticky-nav ul li a:hover .nav-num {
  color: var(--primary-green);
}

.service-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.detail-card {
  scroll-margin-top: 120px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* =========================================
  カードのタイトル部分
========================================= */
.card-header {
  background-color: var(--primary-green);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.card-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/Texture3.png") no-repeat left center;
  background-size: auto 400%;
  transform: scaleX(-1);
  mix-blend-mode: color-burn;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

/* 数字 */
.card-num {
  letter-spacing: -5px;
  position: absolute;
  left: 15px;
  top: 40%;
  transform: translateY(-45%);
  font-family: "Krona One", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  z-index: 2;
  line-height: 1;
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
}

/* カード内タイトル */
.card-title {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-left: 60px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 50px 60px;
  background-color: #fff;
}

.card-section {
  margin-bottom: 35px;
}

.card-section:last-child {
  margin-bottom: 0;
}

.material-block {
  background-color: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 35px 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  border-radius: 10px;
}

.material-block:last-child {
  margin-bottom: 0;
}

.material-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  border-bottom: 1px solid #111;
  padding-bottom: 15px;
}

.material-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #111;
  letter-spacing: 0.1em;
}

.material-desc {
  font-size: 0.95rem;
  color: #555;
  font-weight: normal;
}

.material-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pros-cons-box {
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 0;
  padding: 30px;
  position: relative;
}

.pros-title,
.cons-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  letter-spacing: 0.08em;
}

.pros-title {
  color: var(--primary-green);
}

.pros-title::before {
  content: "＋";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--primary-green);
  color: #fff;
  font-size: 1rem;
  margin-right: 12px;
  font-weight: normal;
}

.cons-title {
  color: #555;
}

.cons-title::before {
  content: "－";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #555;
  color: #fff;
  font-size: 1rem;
  margin-right: 12px;
  font-weight: normal;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.25em;
  width: 2px;
  height: 1.1em;
  background-color: #000;
  transform: rotate(25deg);
  border-radius: 0;
}

.pros-cons-box:first-child .check-list li::before {
  background-color: var(--primary-green);
}
.pros-cons-box:last-child .check-list li::before {
  background-color: #aaa;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .material-block {
    padding: 25px 20px;
  }
  .material-header {
    flex-direction: column;
    gap: 5px;
  }
  .material-pros-cons {
    grid-template-columns: 1fr;
  }
  .pros-cons-box {
    padding: 20px;
  }
}

/* =========================================
   h3 class="card-subtitle" サブタイトル
========================================= */
.card-subtitle {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  position: relative;
  padding-left: 18px;
}

.card-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 6px;
  height: 1.1em;
  background-color: var(--primary-green);
  transform: skewX(-15deg);
}

.card-text {
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #333;
  text-align: justify;
}

.info-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
  padding-left: 30px;
}

.info-grid::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 1px;
  height: calc(100% - 20px);
  background-color: #ccc;
}

.info-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-left: 0;
}

.info-grid.two-col::before {
  display: none;
}

.info-item {
  display: flex;
  align-items: flex-start;
  background-color: transparent;
  border: none;
  border-radius: 0;
  position: relative;
}

.info-label {
  background-color: transparent;
  color: #111;
  font-weight: 900;
  font-size: 1rem;
  width: 20%;
  min-width: 215px !important;
  padding: 0 15px 0 0;
  position: relative;
  flex-shrink: 0 !important;
  word-break: keep-all;
}

.info-label::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: var(--primary-green);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.info-desc {
  padding: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 2.2;
  text-align: justify;
  flex: 1;
}

/* スマホ表示 */
@media screen and (max-width: 992px) {
  .service-detail-wrapper {
    flex-direction: column;
    padding: 50px 20px;
  }

  .service-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 20px;
  }

  .info-grid.two-col {
    grid-template-columns: 1fr;
  }

  .info-item {
    flex-direction: column;
  }

  .info-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .card-header {
    padding: 25px 20px;
  }
  .card-num {
    font-size: 4rem;
    left: 10px;
  }
  .card-title {
    font-size: 1.5rem;
    margin-left: 40px;
  }

  .card-body {
    padding: 30px 20px;
  }

  .info-item {
    flex-direction: column;
  }
  .info-label {
    width: 100%;
    padding: 0 0 15px 0;
  }
  .info-desc {
    padding: 0;
  }
}

/* 背景画像 */
.page-service-detail {
  background: transparent !important;
}

.dynamic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background-color: #f5f5f5;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.15);
  transition:
    opacity 1.2s ease,
    transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: 2;
  pointer-events: none;
}

/* カード半透明 */
.detail-card,
.sticky-nav {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.card-body,
.info-item,
.pros-cons-box {
  background-color: transparent !important;
}

/* =========================================
   ページ読み込み時のアニメーション
========================================= */
body.page-sub .header {
  opacity: 0;
  transform: translateY(-100%);
  animation: headerSlideDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes headerSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  opacity: 0;
  animation: showHero 0.1s 0.1s forwards;
}

@keyframes showHero {
  to {
    opacity: 1;
  }
}

/* ヒーロー画像 左からワイプ */
.page-hero-bg,
.page-hero-overlay {
  clip-path: inset(0 100% 0 0);
}

.page-hero-bg {
  transform: scale(1.15);
  animation: heroBgWipe 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.1s forwards;
}

.page-hero-overlay {
  animation: overlayWipe 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.1s forwards;
}

@keyframes heroBgWipe {
  to {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

@keyframes overlayWipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* タイトル 事業内容 */
.page-title {
  opacity: 0;
  transform: translateY(30px);
  animation: textStandUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* サブタイトル SERVICE*/
.page-title-en {
  opacity: 0;
  transform: translateY(20px);
  animation: textStandUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes textStandUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 縦線 */
.page-title::before {
  transform: scaleY(0);
  transform-origin: top;
  animation: drawVerticalLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes drawVerticalLine {
  to {
    transform: scaleY(1);
  }
}

/* =========================================
    下層ページ 採用情報
========================================= */
.page-recruit-detail {
  background-color: #ffffff;
}

.recruit-info-section {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  background-color: #e2f0fb;
}

.recruit-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

.recruit-info-header {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-large-title {
  font-family: "Krona One", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #222;
  line-height: 1;
  margin: 80px auto 0;
}

.recruit-sub-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-top: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  letter-spacing: 0.1em;
}

.recruit-sub-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary-green);
}

.recruit-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: flex-start;
}

/* 本文 */
.recruit-body-text {
  margin-top: 180px !important;
  font-size: 0.89rem;
  line-height: 2.9;
  color: #555;
  letter-spacing: 0.04em;
  margin-bottom: 60px;
  text-align: justify;
}

.recruit-body-text p {
  margin-bottom: 1.5em;
}

.recruit-photos-offset {
  position: relative;
  height: 320px;
}

.recruit-photos-offset .photo-item {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.recruit-photos-offset .photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左画像 */
.photo-small-left {
  width: 500px;
  height: 350px;
  right: 100px;
  bottom: -100px;
  z-index: 5;
  left: auto;
  top: auto;
}

/* 右画像 */
.photo-small-right {
  width: 400px;
  height: 280px;
  right: -570px;
  bottom: -500px;
  z-index: 5;
  left: auto;
  top: auto;
}

.recruit-right-content {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

/* キャッチコピー */
.recruit-vertical-catch {
  writing-mode: vertical-rl;
  font-feature-settings: "vpal" 1;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #111;
  padding-top: 0;
  margin-right: -150px;
  transform: translateX(280px) translateY(-650px);
  position: relative;
  z-index: 2;
  text-shadow:
    0 0 15px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(255, 255, 255, 0.7);
}

.recruit-vertical-catch p {
  white-space: nowrap;
}

.recruit-vertical-catch .indent {
  margin-top: 1.5em;
}

/* 男性の画像 */
.recruit-main-worker-photo {
  flex: 1;
  height: 580px;
  margin-top: -400px;
  margin-left: -200px;
  margin-right: calc(-1 * max(40px, 50vw - 560px));
  max-width: none !important;
  position: relative;
  z-index: -1 !important;
  /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); */
}

.recruit-main-worker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center;
}

/* 福岡県の画像 */
.recruit-bottom-cityview {
  width: 100%;
  height: 800px;
  margin-top: -400px;
  position: relative;
  background-color: #e2f0fb;
  overflow: hidden;
}

.recruit-bottom-cityview::before,
.recruit-bottom-cityview::after {
  display: none !important;
}

.recruit-bottom-cityview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.7;
  filter: saturate(0.8) contrast(0.8);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 20%,
    black 50%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 20%,
    black 50%
  );
}

body.page-recruit-detail .page-sub-main {
  padding-top: 120px;
  position: relative !important;
  z-index: 50 !important;
  background-color: transparent !important;
}

body.page-recruit-detail .page-sub-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1200px;
  background-color: #e2f0fb;
  z-index: -1;
  pointer-events: none;
}

/* お問い合わせボタンの位置 */
body.page-recruit-detail .page-sub-main .section-padding {
  padding-top: 10px !important;
  margin-top: -140px;
  margin-bottom: 140px;
  padding-bottom: 60px !important;
}

body.page-recruit-detail .page-sub-main .section-padding::after {
  display: none !important;
}

/* 会社概要 */
.profile-section {
  padding: 100px 0 60px;
  position: relative !important;
  background-color: transparent !important;
  padding-bottom: 200px !important;
}

.profile-header {
  margin-bottom: 5px;
  position: relative;
  padding-left: 0;
}

.profile-header::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 100%;
  width: 100vw;
  height: 3px;
  background-color: var(--primary-green);
  margin-right: 25px;
}

.profile-title {
  font-family: "Krona One", sans-serif;
  font-size: 3.5rem !important;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  background: linear-gradient(to right, #53b529, #1d6b0a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 5px;
}

.profile-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.profile-table-wrap {
  margin-top: 40px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  padding: 10px 30px;
  position: relative !important;
  z-index: 100 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: none;
}

.profile-table th {
  width: 250px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary-green);
  padding: 22px 20px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--primary-green);
}

.profile-table td {
  font-size: 0.95rem;
  color: #333;
  padding: 22px 20px;
  line-height: 1.6;
  border-bottom: 1px solid #e2e8f0;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

body.page-recruit-detail .footer {
  position: relative !important;
  z-index: 1 !important;
}

body.page-recruit-detail .footer::before {
  z-index: -1 !important;
}

/* 背景線画 */
body.page-recruit-detail .recruit-info-section::before {
  content: "";
  position: absolute;
  top: 300px;
  left: 0;
  width: 100%;
  height: calc(100% - 120px);
  background-image: url("img/Texture2.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* =========================================
   画像3枚アニメーション
========================================= */
.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-fade-up.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.photo-small-left.js-fade-up {
  transition-delay: 0s;
}
.photo-small-right.js-fade-up {
  transition-delay: 0.2s;
}
.recruit-main-worker-photo.js-fade-up {
  transition-delay: 0.4s;
}

/* 採用情報 スマホ表示 */
@media screen and (max-width: 992px) {
  .recruit-info-section {
    padding-top: 40px !important;
  }

  .recruit-large-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
  }

  .recruit-info-container {
    display: flex;
    flex-direction: column;
  }

  .recruit-info-header {
    order: 1;
  }

  .recruit-grid-layout {
    display: contents;
  }

  .recruit-right-content {
    order: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin-top: 20px;
  }

  .recruit-body-text {
    order: 3;
    margin-top: 40px !important;
    font-size: 0.89rem;
    line-height: 2.2;
    color: #555;
    letter-spacing: 0.04em;
    margin-bottom: 40px !important;
    text-align: justify;
  }

  .recruit-body-text br {
    display: none;
  }

  .recruit-left-content {
    order: 4;
    width: 100%;
    margin-bottom: -10px;
  }

  /* 共に成長し、未来の空間をつくる */
  .recruit-vertical-catch {
    writing-mode: horizontal-tb !important;
    height: auto !important;
    text-align: center !important;
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.6 !important;
    transform: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 10px !important;

    text-shadow: none !important;
    color: #111 !important;
  }

  .recruit-vertical-catch p {
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 仲間を募集しています。 */
  .recruit-vertical-catch .indent {
    margin: 15px 0 0 0 !important;
    display: block !important;
    text-indent: -1em !important;
  }

  /* ヘルメットをかぶった男性の画像 */
  .recruit-main-worker-photo {
    width: 100vw !important;
    max-width: none !important;
    height: 320px;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0;
    overflow: hidden;
    margin-top: 20px;
  }

  .recruit-main-worker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .recruit-photos-offset {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    margin: 30px auto 0 auto !important;
    position: relative !important;
  }

  .recruit-photos-offset .photo-item {
    position: relative !important;
    overflow: hidden !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .recruit-photos-offset .photo-small-left {
    margin-top: 100px !important;
    width: 45% !important;
    height: 130px !important;
  }

  .recruit-photos-offset .photo-small-right {
    margin-top: -50px !important;
    width: 58% !important;
    height: 170px !important;
  }

  .contact-banner-texture {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
  }

  .contact-banner-texture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    margin-top: 0 !important;
  }

  /* Texture2 */
  body.page-recruit-detail .recruit-info-section::before {
    top: 450px !important;
    height: calc(100% - 250px) !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.5;
  }

  .recruit-bottom-cityview {
    height: 280px;
    margin-top: -140px;
  }

  .profile-table th {
    width: 100%;
    display: block;
    padding-bottom: 5px;
  }

  .profile-table tr:last-child th {
    border-bottom: 1px solid var(--primary-green) !important;
  }

  .profile-table td {
    width: 100%;
    display: block;
    padding-top: 5px;
  }

  .profile-table-wrap {
    padding: 10px 15px;
  }

  .profile-title {
    font-size: clamp(1.8rem, 8vw, 3.2rem) !important;
  }
}

/* =========================================
  ハンバーガーメニュー
========================================= */
.burger-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 500;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}

.burger-line {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.burger-line:nth-child(1) {
  top: 16px;
}
.burger-line:nth-child(2) {
  top: 24px;
}
.burger-line:nth-child(3) {
  top: 32px;
}

.header.is-scrolled .burger-line,
body.page-sub .burger-line {
  background-color: var(--text-color);
}

/* =========================================
   スマホメニュー内 お問い合わせボタン
========================================= */
.mobile-menu-contact {
  display: none;
}

@media screen and (max-width: 1000px) {
  .header {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    top: 15px !important;
    padding: 0 15px;
    pointer-events: none;
  }

  body.page-sub .header {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .header::before {
    top: -15px !important;
    height: calc(100vh + 15px) !important;
    z-index: -1;
  }

  .header-inner {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 20px !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    position: relative;
    z-index: 10;
    transition:
      background 0.3s ease,
      box-shadow 0.3s ease;
  }

  .header.is-open .header-inner {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .logo img {
    height: 55px !important;
    transform: translateY(2px) !important;
    filter: none !important;
  }

  .header-contact {
    display: none !important;
  }

  .logo img {
    height: 55px !important;
    transform: translateY(2px) !important;
    filter: none !important;
  }

  .header-contact {
    display: none !important;
  }

  .burger-btn {
    display: block;
    width: 50px;
    height: 50px;
    margin-left: auto !important;
    border-radius: 10px;
  }

  /* =========================================
     ハンバーガーアイコン
  ========================================= */
  .burger-line {
    left: 10px;
    width: 30px;
    height: 2px;
    background-color: var(--text-color) !important;
    transition:
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      top 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }

  .burger-line:nth-child(1) {
    top: 16px;
  }

  .burger-line:nth-child(2) {
    top: 24px;
    transition: opacity 0.3s ease 0.3s;
  }

  .burger-line:nth-child(3) {
    top: 32px;
  }

  .header.is-open .burger-line {
    background-color: #333333 !important;
    transition:
      top 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }

  .header.is-open .burger-line:nth-child(1),
  .header.is-open .burger-line:nth-child(2),
  .header.is-open .burger-line:nth-child(3) {
    top: 24px !important;
  }

  .header.is-open .burger-line:nth-child(1) {
    transform: rotate(45deg);
  }

  .header.is-open .burger-line:nth-child(2) {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .header.is-open .burger-line:nth-child(3) {
    transform: rotate(-45deg);
  }

  .header.is-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* =========================================
     ハンバーガーメニュー
  ========================================= */
  .global-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: none;
    z-index: 400;
    margin: 0;
    padding: 85px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden !important;
  }

  .global-nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0;
  }

  .global-nav li {
    display: block !important;
    margin: 0 !important;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 12px 0;
  }

  .global-nav .nav-main-link {
    color: #333333 !important;
    font-size: 1.1rem !important;
    font-weight: 900;
    letter-spacing: 0.15em;
    display: inline-block !important;
    flex-grow: 1;
    transition: color 0.3s ease;
  }

  .global-nav .nav-main-link::after {
    display: none !important;
  }

  .global-nav li:hover .nav-main-link,
  body.page-sub .global-nav li:hover .nav-main-link {
    transform: none !important;
    color: #333333 !important;
  }

  .global-nav li:hover .nav-main-link:active,
  body.page-sub .global-nav li:hover .nav-main-link:active,
  .global-nav .nav-main-link:active {
    color: var(--primary-green) !important;
  }

  .accordion-toggle-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #333333;
    font-size: 1.3rem;
    font-weight: 300;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 3px 0 0 0;
    margin: 0;
    line-height: 1;
  }

  .accordion-toggle-btn.is-active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: none;
    font-size: 0;
  }

  .accordion-toggle-btn.is-active::after {
    content: "－";
    font-size: 1.3rem;
    display: block;
    transform: translateY(-1px);
  }

  .global-nav .mega-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    padding: 0 0 0 12px !important;
    overflow: hidden !important;
    transition:
      max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      padding 0.3s ease !important;
  }

  .global-nav .mega-menu.is-active {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    padding: 4px 0 10px 12px !important;
  }

  .global-nav .mega-menu-inner .mega-item {
    opacity: 0 !important;
    transform: translateX(-15px) !important;
    transition:
      opacity 0.3s ease,
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(1) {
    transition-delay: 0.04s !important;
  }
  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(2) {
    transition-delay: 0.09s !important;
  }
  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(3) {
    transition-delay: 0.14s !important;
  }
  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(4) {
    transition-delay: 0.19s !important;
  }
  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(5) {
    transition-delay: 0.24s !important;
  }
  .global-nav .mega-menu.is-active .mega-menu-inner .mega-item:nth-child(6) {
    transition-delay: 0.29s !important;
  }

  .global-nav .mega-menu-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 2px;
    border-top: none !important;
  }

  .global-nav .mega-img,
  .global-nav .mega-text .dot,
  .plus-icon {
    display: none !important;
  }

  .global-nav .mega-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .global-nav .mega-item:last-child {
    border-bottom: none !important;
  }

  .global-nav .mega-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-green);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
  }

  .global-nav .mega-item:hover::before {
    transform: scaleY(0) !important;
  }

  .global-nav .mega-item:active::before {
    transform: scaleY(1) !important;
  }

  .global-nav .mega-text {
    color: #444444 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 12px 10px 12px 5px !important;
    white-space: normal !important;
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    transition: all 0.3s ease;
    background-color: transparent !important;
  }

  .global-nav .mega-text::before {
    display: none !important;
  }

  .global-nav .mega-text::after {
    content: "";
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-top: 2px solid #aaaaaa !important;
    border-right: 2px solid #aaaaaa !important;
    background: transparent !important;
    border-radius: 0 !important;
    transform: rotate(45deg) !important;
    position: static !important;
    transition: all 0.3s ease !important;
  }

  .global-nav .mega-item:hover .mega-text {
    color: #444444 !important;
    transform: none !important;
    background-color: transparent !important;
  }

  .global-nav .mega-item:hover .mega-text::after {
    border-color: #aaaaaa !important;
    transform: rotate(45deg) !important;
  }

  .global-nav .mega-item:active .mega-text {
    color: var(--primary-green) !important;
    transform: translateX(8px) !important;
    background-color: rgba(83, 181, 41, 0.04) !important;
  }

  .global-nav .mega-item:active .mega-text::after {
    border-color: var(--primary-green) !important;
    transform: translateX(3px) rotate(45deg) !important;
  }

  .header.is-open .global-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-contact {
    display: block;
    margin-top: 30px;
    width: 100%;
  }

  .mobile-menu-contact::after {
    display: none;
  }

  .mobile-contact-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.185);
    overflow: hidden;
    transition: transform 0.2s ease;
  }

  .mobile-contact-btn:active {
    transform: scale(0.98);
  }

  /* 電話番号 */
  .mobile-contact-btn::before {
    content: "Tel. 092-938-0630";
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 0;
    letter-spacing: 0.05em;
  }

  /* 電話アイコン */
  .mobile-contact-btn .phone-icon {
    display: block;
    position: absolute;
    bottom: 12px;
    left: calc(50% - 90px);
    width: 1.4em;
    height: 1.4em;
    fill: #ffffff;
    z-index: 2;
  }

  .mobile-contact-btn::after {
    display: none;
  }

  /* お問い合わせ */
  .mobile-contact-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #62b535, #3d8a1c);
    color: #ffffff;
    padding: 11px 0 11px 15px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    width: 100%;
  }

  .mobile-contact-text::after {
    content: "→";
    margin-left: 8px;
    font-weight: 400;
    font-family: sans-serif;
  }

  .mobile-contact-text::before {
    display: none;
  }
}

/* =========================================
   レスポンシブ 1000px以下～
========================================= */
@media screen and (min-width: 1000px) and (max-width: 1550px) {
  .hero-title {
    right: 2% !important;
    bottom: 6% !important;
    font-size: clamp(3.2rem, 4.5vw, 4.8rem) !important;
    -webkit-text-stroke: 1.5px #ffffff !important;
    text-align: right !important;
  }

  .about-container {
    gap: 40px !important;
  }

  .about-text .section-title {
    margin-left: 0 !important;
    font-size: clamp(2.8rem, 3.8vw, 4.2rem) !important;
    white-space: normal !important;
  }

  .about-text p {
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  .about-image {
    margin-top: 100px !important;
  }

  .contact-tel-wrap {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;

    font-size: clamp(1.6rem, 4.2vw, 3.8rem) !important;
  }

  .contact-main {
    white-space: nowrap !important;
  }

  .footer-phone-box strong {
    white-space: nowrap !important;
  }

  .global-nav {
    margin-right: 40px !important;
  }
  .global-nav ul {
    gap: 40px !important;
  }

  /* メガメニュー レスポンシブ時 */
  .mega-menu-inner {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px 30px !important;
  }

  .mega-img {
    height: 110px !important;
    margin-bottom: 10px !important;
  }

  .mega-text {
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }
}

/* =========================================
   お問い合わせフォーム
========================================= */
.wp-form-area {
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-section {
  position: relative;
  z-index: 20;
}

.wpcf7 form {
  width: 100%;
}

.wpcf7 p {
  margin-bottom: 0;
}

.wpcf7 br {
  display: none !important;
}

.wpcf7 label {
  display: flex;
  align-items: center;
  font-weight: 900;
  color: #333;
  margin-bottom: 5px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.wpcf7 label .req {
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

.wpcf7 label .opt {
  background-color: #95a5a6;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

.wpcf7 .flex-inputs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 15px !important;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
}

.wpcf7 .flex-inputs p {
  display: contents !important;
}

.wpcf7 .flex-inputs span.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 25px;
}

.wpcf7 textarea {
  height: 200px;
  resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #53b529;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(83, 181, 41, 0.15);
}

.wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px 30px !important;
  margin-top: 10px !important;
  margin-bottom: 30px !important;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.wpcf7-radio input[type="radio"] {
  margin: 0 8px 0 0 !important;
  transform: scale(1.2) !important;
  cursor: pointer !important;
}

.wpcf7-radio .wpcf7-list-item-label {
  font-weight: 500 !important;
  color: #333 !important;
  cursor: pointer !important;
}

/* =========================================
   送信ボタン（他ページと統一デザイン）
========================================= */
.btn-contact-submit {
  background-color: transparent !important;
  color: var(--primary-green) !important;
  border: 1.5px solid var(--primary-green) !important;
  border-radius: 50px !important;
  padding: 15px 40px !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 30px auto 0 !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease !important;
}

.btn-contact-submit::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #fff !important;
  z-index: -2 !important;
}

.btn-contact-submit::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: var(--primary-green) !important;
  z-index: -1 !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-contact-submit:hover {
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(83, 181, 41, 0.25) !important;
}

.btn-contact-submit:hover::after {
  transform: scaleX(1) !important;
}

.btn-contact-submit .dot {
  position: relative !important;
  display: inline-block !important;
  width: 12px !important;
  height: 12px !important;
  color: transparent !important;
  vertical-align: middle !important;
}

.btn-contact-submit .dot::after {
  content: "" !important;
  position: absolute !important;
  top: 1px !important;
  left: 8px !important;
  width: 8px !important;
  height: 8px !important;
  background-color: var(--primary-green) !important;
  border-radius: 50% !important;
  border-top: 2px solid transparent !important;
  border-right: 2px solid transparent !important;
  transition: all 0.4s ease !important;
  transform: translate(-6px, 1px) rotate(0deg) !important;
}

.btn-contact-submit .dot::before {
  content: "" !important;
  position: absolute !important;
  top: 5px !important;
  left: -2px !important;
  width: 20px !important;
  height: 2px !important;
  background-color: #fff !important;
  transition: all 0.4s ease !important;
  transform-origin: right center !important;
  transform: translateX(-6px) scaleX(0) !important;
  opacity: 0 !important;
}

.btn-contact-submit:hover .dot::after {
  background-color: transparent !important;
  border-radius: 0 !important;
  border-top-color: #fff !important;
  border-right-color: #fff !important;
  transform: translate(0, 0) rotate(45deg) !important;
}

.btn-contact-submit:hover .dot::before {
  opacity: 1 !important;
  transform: translateX(0) scaleX(1) !important;
}

.wpcf7 hr {
  display: none;
}

.wpcf7 form,
.wpcf7 fieldset {
  border: none;
}

.wpcf7 .screen-reader-response {
  display: none !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  display: block !important;
  font-size: 0.85rem !important;
  color: #e74c3c !important;
  margin-top: -20px !important;
  margin-bottom: 20px !important;
  font-weight: bold !important;
}

.wpcf7 .flex-inputs .wpcf7-not-valid-tip {
  margin-top: -20px !important;
  margin-bottom: 0 !important;
}

.wpcf7 textarea {
  display: block !important;
}

.wpcf7 textarea + .wpcf7-not-valid-tip {
  margin-top: -20px !important;
}

@media screen and (max-width: 768px) {
  .wp-form-area {
    padding: 30px 20px;
  }

  .wpcf7 .flex-inputs {
    gap: 10px !important;
  }

  .btn-contact-submit {
    max-width: 100% !important;
  }
}
