/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  /* Safari iOS: prevent tap highlight */
  -webkit-tap-highlight-color: transparent;
  /* Safari iOS: prevent text size adjustment */
  -webkit-text-size-adjust: 100%;
}

p:not([class*="title"]):not([class*="heading"]):not([class*="lead"]):not(.about-name-en) {
  font-size: 14px !important;
}

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

  p:not([class*="title"]):not([class*="heading"]):not([class*="lead"]):not(.about-name-en) {
    font-size: 16px !important;
  }
}

main {
  background: var(--black);
  position: relative;
}

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

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

ul {
  list-style: none;
}

/* ========== CSS VARIABLES ========== */
:root {
  --red: #0634b9;
  --red-bright: #0f4bd5;
  --red-dark: #032180;
  --black: #ffffff;
  --black-2: #f8f9fa;
  --black-3: #f1f3f5;
  --white: #333333;
  --white-dim: rgba(51, 51, 51, 0.08);
  --gray: #888;
  --section-gap-sp: 80px;
  --section-gap-pc: 140px;
  --max-width: 1200px;
  --side-pad-sp: 20px;
  --side-pad-pc: 40px;
}

/* ========== UTILITY ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad-sp);
}

#fv .container {
  margin: 0;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}

.section-heading {
  font-family: 'Anton SC', sans-serif;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}

.section-heading.red {
  color: var(--red);
}

.red-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 24px;
}

/* ========== HEADER ========== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6, 52, 185, 0.3);
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad-sp);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
}

.header-logo-img {
  height: 20px;
  width: auto;
}

.header-nav {
  display: none;
}

.header-btns-wrap {
  display: none;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--red);
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  height: 40px;
  width: 144px;
  padding: 0 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-btn:hover {
  background: var(--red-bright);
  transform: translateY(-1px);
}

.header-btn-official {
  background: #333333;
  border: 1px solid #333333;
}

.header-btn-official:hover {
  background: #555555;
  border-color: #555555;
}

.hamburger {
  width: 36px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #333333;
  transition: all 0.3s;
}

/* ========== FULLSCREEN MENU ========== */
#fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

#fullscreen-menu.open {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-close::before {
  content: '×';
  font-size: 24px;
  line-height: 1;
  color: var(--red);
}

.menu-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.menu-nav a {
  font-family: 'Anton SC', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}

.menu-nav a:hover {
  color: var(--red);
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin: 32px 0 0 0;
}

.menu-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-action-btn-official {
  background: #333333;
  color: #ffffff;
  border: 1px solid #333333;
}

.menu-action-btn-official:hover {
  background: #555555;
  border-color: #555555;
}

.menu-action-btn-contact {
  background: var(--red);
  color: #ffffff;
  border: 1px solid var(--red);
}

.menu-action-btn-contact:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

.menu-tel {
  margin-top: 32px;
  text-align: center;
}

.menu-tel a {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--red);
  letter-spacing: 0.08em;
}

/* ========== FV ========== */
#fv {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 10;
  background: #ffffff;
}

@media (min-width: 992px) {
  #fv {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
  }
}

/* 右側の背景スライドショー */
.fv-slideshow {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 350px;
  z-index: 1;
  overflow: hidden;
}

@media (min-width: 992px) {
  .fv-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    height: 100%;
  }
}

.fv-slide {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.05) translateX(3%);
}

.fv-slide img.fv-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1) translateX(0);
  pointer-events: auto;
}

.fv-slide.prev {
  opacity: 0;
  z-index: 1;
  transform: scale(0.97) translateX(-3%);
}

/* 左側の斜めカットのダークシェイプ */
.fv-overlay-shape {
  display: none;
}

@media (min-width: 992px) {
  .fv-overlay-shape {
    display: block;
    position: absolute;
    inset: 0;
    background: #ffffff;
    width: 30%;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    z-index: 3;
  }

  .fv-overlay-shape.animate-slide {
    animation: slideInClip 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  }
}

/* 2層目のアクセントシェイプ (ダブル斜めカット) */
.fv-overlay-shape-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  z-index: 2;
  display: none;
}

@media (min-width: 992px) {
  .fv-overlay-shape-accent {
    display: block;
    width: 31.2%;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    z-index: 2;
  }

  .fv-overlay-shape-accent.animate-slide {
    animation: slideInClip 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes slideInClip {
  from {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  to {
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  }
}

.fv-content-container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 40px 0 80px 10px;
}

@media (min-width: 992px) {
  .fv-content-container {
    padding: 0 var(--side-pad-pc);
  }

  .fv-content-container::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: calc(100% + 240px);
    z-index: -1;
    background-image:
      linear-gradient(90deg, rgba(6, 52, 185, 0.03) 1px, transparent 1px),
      linear-gradient(0deg, rgba(6, 52, 185, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }
}

/* Animation for FV text load */
@keyframes fvFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fv-text-block {
  max-width: 480px;
  color: #333333;
  text-align: left;
  animation: fvFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@media (min-width: 992px) {
  .fv-text-block {
    max-width: 560px;
    margin-left: 20px;
    position: relative;
    z-index: 5;
  }
}

/* カテゴリータグ */
.fv-category-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

@keyframes expandLine {
  from {
    height: 0;
  }

  to {
    height: 16px;
  }
}

.fv-category-line {
  display: block;
  width: 3px;
  height: 16px;
  background: var(--red);
  animation: expandLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.fv-category-text {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}

/* 足場工事バッジ */
.fv-badge-wrap {
  margin-bottom: 24px;
}

.fv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 52, 185, 0.08);
  border: 1.5px solid rgba(6, 52, 185, 0.35);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 50px;
}

.fv-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--red);
  border-radius: 50%;
  animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 52, 185, 0.6);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(6, 52, 185, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 52, 185, 0);
  }
}

/* メインタイトル */
.fv-main-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(34px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(255, 255, 255, 0.7);
}

.fv-main-title .fv-title-blue {
  color: #ffffff;
  -webkit-text-fill-color: #0632b7;
  text-shadow: 0 2px 20px hsla(225, 94%, 37%, 0.5), 0 0 40px rgba(6, 52, 185, 0.3);
  position: relative;
  display: inline-block;
}

.fv-main-title .fv-title-blue::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(6, 52, 185, 0.4) 100%);
  border-radius: 3px;
  z-index: -1;
}

/* サブタイトル */
.fv-sub-title {
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 700;
  color: #222222;
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
}

.fv-sub-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
}

/* 説明文 */
.fv-desc {
  font-size: 15px;
  line-height: 2.4;
  color: #333333;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
}

.fv-desc-line {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.fv-desc-line-1 {
  background: rgba(6, 52, 185, 0.88);
  color: white;
  border-left: 3px solid #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.fv-desc-line-2 {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  border-left: 3px solid var(--red);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ボタン */
.fv-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fv-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 210px;
  height: 54px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.05em;
}

.fv-btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(6, 52, 185, 0.18);
}

.fv-btn-red:hover {
  background: linear-gradient(135deg, var(--red-bright), #2264ff);
  box-shadow: 0 8px 25px rgba(6, 52, 185, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.fv-btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: #333333;
  border: 1.5px solid rgba(6, 52, 185, 0.35);
  backdrop-filter: blur(4px);
}

.fv-btn-outline:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(6, 52, 185, 0.15);
}



.fv-btn:hover .btn-arrow {
  transform: translateX(4px) rotate(45deg);
}

.fv-scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fv-scroll span {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: #fff;
}

.fv-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ========== SECTION SPACING ========== */
section {
  margin-bottom: 0;
  padding: 70px 0;
  position: relative;
  z-index: 2;
  background: var(--black);
}

/* ========== CTA BLOCK ========== */
.cta-block {
  background: var(--red);
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px var(--side-pad-sp);
  overflow: hidden;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-col:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 24px;
}

.cta-block .cta-label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 10px;
}

.cta-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.cta-btn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  height: 56px;
  padding: 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 5px;
}

.cta-btn-link>span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-tel-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-btn-link:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.cta-tel-link .tel-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cta-btn-link .btn-icon {
  width: 36px;
  height: 36px;
  background: rgba(6, 52, 185, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
}

.cta-block p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .cta-col:first-child {
    border-bottom: none;
    padding-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
}

/* ========== ABOUT ========== */
#about {
  padding: 80px 0;
  position: relative;
  background: #f8f9fa;
  color: #333333;
  overflow: hidden;
}

#about::before {
  content: 'ABOUT US';
  position: absolute;
  top: 5%;
  right: -2vw;
  font-family: 'Anton SC', sans-serif;
  font-size: clamp(80px, 15vw, 220px);
  color: rgba(0, 0, 0, 0.025);
  pointer-events: none;
  z-index: 0;
}

.about-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad-sp);
}

.about-img-wrap {
  position: relative;
  z-index: 1;
}

.about-img-wrap::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--red);
  z-index: -1;
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  padding: 10px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(6, 52, 185, 0.25);
}

.about-body {
  position: relative;
  z-index: 5;
  background: #ffffffee;
  padding: 40px 24px;
  margin-top: -40px;
  margin-left: 20px;
  margin-right: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-heading-custom {
  margin-bottom: 24px;
}

.about-title-sub {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #333333;
  display: block;
  margin-bottom: 4px !important;
}

.about-title-main {
  font-family: 'Anton SC', sans-serif;
  font-size: 50px !important;
  font-weight: 400;
  line-height: 1 !important;
  text-transform: uppercase;
  color: #333333;
  display: block;
  word-break: keep-all;
  margin-top: -5px !important;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .about-actions {
    flex-direction: row;
    gap: 20px;
  }

  .about-btn {
    max-width: 280px;
  }
}

.about-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn-official {
  background: #333333;
  color: #ffffff;
}

.about-btn-official:hover {
  background: #555555;
  transform: translateY(-2px);
}

.about-btn-recruit {
  background: var(--red);
  color: #ffffff;
}

.about-btn-recruit:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.about-name-en {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* ========== WORKS ========== */
#works {
  background: #f5f5f5;
  padding: 80px 0;
  color: #333333;
}

.works-inner {
  padding: 0 var(--side-pad-sp);
}

.works-head {
  text-align: center;
  margin-bottom: 48px;
}

.works-head .section-heading {
  font-size: clamp(40px, 10vw, 80px);
  margin-bottom: 8px;
  color: #333333;
}

.works-lead {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.works-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  overflow: hidden;
}

.works-card>*:not(.works-card-icon):not(.works-card-num) {
  padding: 0 24px;
  width: 100%;
}

.works-card:hover {
  background: #ffffff;
  border-color: rgba(6, 52, 185, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(6, 52, 185, 0.1);
}

.works-card-num {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  color: #ffffff;
  padding: 6px 24px 6px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
  filter: drop-shadow(2px 4px 6px rgba(6, 52, 185, 0.2));
}

.works-card-icon {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
}

.works-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding-left: 15px;
  padding-top: 15px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-card:hover .works-card-img {
  transform: scale(1.08);
}


.works-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0634b9;
  text-align: left;
  line-height: 1.5;
}

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

@media (min-width: 950px) {
  .works-inner {
    padding: 0 var(--side-pad-pc);
  }
}

/* ========== TROUBLE (施工実績) ========== */
#trouble {
  background-color: var(--red);
  background-image: linear-gradient(rgb(179 204 234 / 80%), rgba(6, 52, 185, 0.8)), url('../img/REPESENTATIVEbg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 60px var(--side-pad-sp);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 767px),
(max-width: 1024px) and (hover: none) and (pointer: coarse) {
  #trouble {
    position: relative;
    background: none !important;
    isolation: isolate;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
  }

  #trouble::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    background-color: var(--red);
    background-image: linear-gradient(rgb(179 204 234 / 80%), rgba(6, 52, 185, 0.8)), url('../img/REPESENTATIVEbg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #trouble>* {
    position: relative;
    z-index: 1;
  }
}

.trouble-inner {
  max-width: var(--max-width);
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 0;
}

.trouble-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.trouble-header .section-label {
  margin-bottom: 0;
  color: #ffffff;
}

.trouble-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

.trouble-lead {
  font-size: 16px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  margin: 0;
}

.trouble-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: #ffffff;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 14px 28px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.trouble-cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--red-bright);
}

.trouble-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trouble-works-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.trouble-works-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
}

.trouble-works-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.trouble-works-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) grayscale(10%);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.trouble-works-card:hover .trouble-works-img-wrap img {
  transform: scale(1.05);
  filter: brightness(1) grayscale(0%);
}

.trouble-works-body {
  padding: 16px 16px 18px;
  text-align: center;
}

.trouble-works-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (min-width: 600px) {
  .trouble-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 950px) {
  #trouble {
    padding: 60px var(--side-pad-pc);
  }

  .trouble-inner {
    grid-template-columns: 260px 1fr;
    gap: 0 30px;
    align-items: start;
  }

  .trouble-header {
    position: sticky;
    top: 80px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    padding-right: 30px;
  }

  .trouble-works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* ========== SERVICE ========== */
#service {
  padding: 70px 0;
  background: #0634b926;
  position: relative;
}

#service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/servicebg.jpg') center center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

#service .section-label {
  color: var(--red);
}

#service .section-heading {
  color: #333333;
}

#service .service-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#service .service-card-body h3 {
  color: #ffffff;
}

#service .service-card-body p {
  color: rgba(255, 255, 255, 0.9);
}

#service .service-point-label {
  color: var(--red);
}

#service .service-num {
  color: rgba(255, 255, 255, 0.15);
}

#service .h3-line {
  background: var(--red);
}

.service-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad-sp);
}

/* SP: stacked cards with full image */
.service-sticky-wrap {
  display: block;
}

.service-sticky-head {
  padding: 0 var(--side-pad-sp);
  margin-bottom: 0;
  overflow: visible;
}

.service-sticky-head .section-heading {
  font-size: clamp(40px, 8vw, 64px);
  white-space: nowrap;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
}

.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: saturate(0.8);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

/* Black gradient from bottom to half */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

.service-card-body {
  position: relative;
  z-index: 2;
  padding: 80px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
}

.service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  letter-spacing: -0.02em;
}

.service-point-label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-card h3 .h3-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 16px;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.95;
  max-width: 100% !important;
}

.service-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: var(--red);
  color: #ffffff !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

.service-btn:hover {
  background: var(--red-bright);
  color: #ffffff !important;
}

/* ========== PHOTO STRIP ========== */
.photo-strip {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.photo-strip-inner {
  display: flex;
  gap: 3px;
}

.photo-strip-img {
  flex: 1;
  height: 350px;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) brightness(0.75);
  transition: filter 0.4s, flex 0.4s;
}

.photo-strip-img:hover,
.photo-strip-img:active {
  filter: grayscale(0%) brightness(1);
  flex: 12;
}

@media (min-width: 768px) {

  /* Photo Strip PC gap */
  .photo-strip {
    margin-bottom: 0;
    padding-bottom: var(--section-gap-pc);
  }

  .photo-strip-img {
    height: 600px;
  }

  .photo-strip-img:hover {
    flex: 4;
  }
}

/* ========== MENU / PRICE ========== */
#menu {
  background: var(--black-2);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

#menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/menu.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.22;
  /* よりはっきりと */
  pointer-events: none;
  z-index: 1;
}

#menu::after {
  content: 'MENU';
  position: absolute;
  left: -10px;
  bottom: -20px;
  font-family: 'Anton SC', sans-serif;
  /* Unified font */
  font-size: 140px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  letter-spacing: 0.1em;
  pointer-events: none;
  z-index: 0;
}

.menu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
  /* Ensure text is above background pseudo-elements */
}

.menu-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-name {
  font-family: 'Anton SC', sans-serif;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.menu-desc {
  font-size: 16px;
  color: #fff;
  /* Re-adjusted for visibility */
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.menu-price {
  font-family: 'Anton SC', sans-serif;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 400;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: 0.05em;
  align-self: center;
}

/* ========== RECRUIT ========== */
#recruit {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  color: #333333;
  padding: 0;
}

/* ヒーローエリア（上部） */
.recruit-hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.3) 100%),
    url('../img/gallery1.jpg') center center / cover no-repeat;
  padding: 80px 0;
  color: #ffffff;
  position: relative;
}

.recruit-hero-content {
  max-width: 650px;
}

.recruit-red-line {
  width: 32px;
  height: 4px;
  background: var(--red);
  margin-bottom: 20px;
}

.recruit-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
}

.recruit-hero-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
  margin-bottom: 40px;
}

.recruit-hero-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
}

.recruit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.recruit-tag {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recruit-tag .tag-icon {
  background: var(--red);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.recruit-hero-desc {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ボディエリア（下部） */
.recruit-body {
  background: #ffffff;
  padding: 80px 0;
}

.recruit-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px 48px;
  margin-bottom: 64px;
}

@media (min-width: 992px) {
  .recruit-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.recruit-col {
  position: relative;
}

.recruit-col-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  color: #333333;
  margin-top: 12px;
  margin-bottom: 32px;
}

.recruit-col-title .color-red {
  color: var(--red);
}

.recruit-appeal-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 600px) {
  .recruit-appeal-wrap {
    flex-direction: row;
    align-items: flex-start;
  }
}

.recruit-appeal-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555555;
  flex: 1;
  width: 100%;
}

.recruit-appeal-img {
  width: 240px;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .recruit-appeal-img {
    width: 140px;
  }
}

.recruit-appeal-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 福利厚生カード */
.recruit-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recruit-info-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #333333;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  color: #333333;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title-bold {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

.card-desc-small {
  font-size: 13px;
  color: #777777;
  margin: 2px 0 0 0;
}

/* フッター（アクションボタン） */
.recruit-footer {
  text-align: center;
  margin-top: 60px;
}

.recruit-footer-line-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.recruit-footer-line-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
  z-index: 1;
}

.recruit-footer-line-text {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  background: #ffffff;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  letter-spacing: 0.1em;
}

.recruit-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) {
  .recruit-footer-actions {
    flex-direction: row;
    gap: 24px;
  }
}

.recruit-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  height: 56px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.recruit-action-red {
  background: var(--red);
  color: #ffffff;
  border: 1px solid var(--red);
}

.recruit-action-red:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(204, 0, 0, 0.2);
}

.recruit-action-white {
  background: #ffffff;
  color: #333333;
  border: 1.5px solid #333333;
}

.recruit-action-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.btn-arrow {
  position: relative;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ========== MESSAGE ========== */
#message {
  background: #f5f5f5;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 0 0;
}

#message::before {
  display: none;
}

#message .section-label {
  color: var(--red);
}

#message .section-heading {
  color: #333333;
}

#message .h3-line {
  background: var(--red);
}

#message .red-line {
  background: var(--red);
}

.message-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.message-img {
  width: 100%;
}

.message-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.message-body {
  padding: 40px var(--side-pad-sp);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message-subheading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px !important;
  font-weight: 700;
  color: var(--red);
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.message-text-static {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #666666;
  padding: 16px 0;
}

.message-quote-wrap {
  text-align: center;
  margin-top: 60px;
  background: #0a0a0a;
  padding: 80px var(--side-pad-sp);
}

.message-quote {
  font-family: 'Anton SC', sans-serif;
  font-size: clamp(20px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  padding: 0;
  display: inline-block;
  max-width: 900px;
  width: 100%;
}

.quote-emphasize {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: inherit;
  font-weight: 900;
  color: var(--red);
  -webkit-text-stroke: 0;
  vertical-align: baseline;
  line-height: inherit;
  display: inline;
}

.message-quote em {
  color: var(--red);
  font-style: normal;
}

/* ========== ACCESS ========== */
#access {
  padding: 70px 0;
  background: #f5f5f5;
  color: #333333;
}

#access .section-heading {
  color: #333333;
}

.access-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.access-info dt {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
  margin-top: 20px;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  font-size: 16px;
  color: #666666;
  line-height: 1.8;
}

.access-info dd a {
  color: var(--red);
  border-bottom: 1px solid rgba(204, 0, 0, 0.4);
  transition: border-color 0.2s;
}

.access-info dd a:hover {
  border-color: var(--red);
}

.sns-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 16px;
  color: var(--white);
  transition: all 0.2s;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
}

.sns-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.sns-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.map-wrap {
  width: 100%;
  height: 450px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== FOOTER ========== */
#footer {
  position: relative;
  background: #0a0e17;
  padding: 80px var(--side-pad-sp) 40px;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-bright) 100%);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 950px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 32px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 32px;
}

@media (min-width: 950px) {
  .footer-nav {
    margin-bottom: 0;
  }
}

.footer-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px var(--red-bright);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 950px) {
  .footer-right {
    align-items: flex-end;
    padding-bottom: 8px;
  }
}

.footer-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.footer-divider {
  display: none;
}

/* ========== BACK TO TOP ========== */
#back-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#back-top.visible {
  opacity: 1;
  pointer-events: all;
}

#back-top:hover {
  background: var(--red-bright);
}

/* ========== SP FIXED CTA ========== */
#sp-fixed-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  height: 56px;
}

.sp-cta-tel {
  flex: 1;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.sp-cta-web {
  flex: 1;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  border-left: 1px solid rgba(6, 52, 185, 0.3);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== PC STYLES ========== */
@media (min-width: 768px) {
  :root {
    --side-pad-sp: var(--side-pad-pc);
  }

  body {
    padding-bottom: 0;
  }

  #sp-fixed-cta {
    display: none;
  }

  #back-top {
    bottom: 32px;
    right: 32px;
  }

  /* Header */
  .header-logo-img {
    height: 30px;
  }

  .header-inner {
    max-width: 100% !important;
    padding: 0 40px;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 32px;
  }

  .header-nav a {
    font-family: 'Anton SC', sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #333333;
    transition: color 0.2s;
  }

  .header-nav a:hover {
    color: var(--red);
  }

  .header-btns-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hamburger {
    display: none;
  }

  /* Sections */
  section {
    margin-bottom: 0;
    padding: 100px 0;
  }

  .cta-block {
    padding: 64px var(--side-pad-pc);
  }

  /* About PC Overlap Layout */
  #about {
    padding: 70px 0;
  }

  .about-inner {
    flex-direction: row;
    align-items: center;
    padding: 0 var(--side-pad-pc);
  }

  .about-img-wrap {
    width: 60%;
  }

  .about-img-wrap::after {
    top: 30px;
    left: -30px;
  }

  .about-img-badge {
    bottom: -20px;
    right: 20px;
    font-size: 16px;
    padding: 16px 28px;
  }

  .about-body {
    width: 50%;
    margin-top: 0;
    margin-left: -10%;
    padding: 60px 50px;
  }

  .about-title-sub {
    font-size: 24px !important;
  }

  .about-title-main {
    font-size: clamp(36px, 6vw, 72px) !important;
  }

  /* Service — sticky left */
  .service-sticky-wrap {
    display: grid;
    grid-template-columns: calc(max(var(--side-pad-pc), (100vw - var(--max-width)) / 2) + 340px) 1fr;
    align-items: start;
    gap: 0;
    width: 100%;
  }

  .service-sticky-head {
    position: sticky;
    top: 80px;
    align-self: start;
    padding-left: max(var(--side-pad-pc), calc((100vw - var(--max-width)) / 2));
    padding-right: 48px;
    box-sizing: border-box;
  }

  .service-cards {
    flex-direction: column;
    overflow: hidden;
  }

  .service-card {
    min-height: 500px;
  }

  /* Voice */
  .voice-card {
    flex: 0 0 calc(50% - 8px);
  }

  /* Message */
  .message-inner {
    flex-direction: row;
    justify-content: flex-end;
    padding: 50px 0px !important;
  }

  .message-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
  }

  .message-img img {
    aspect-ratio: 16/10;
  }

  .message-body {
    width: 50%;
    padding: 0;
  }

  /* Access */
  .access-grid {
    grid-template-columns: 38% 1fr;
    gap: 48px;
  }

  .map-wrap {
    height: 480px;
  }

  /* Footer */
  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 48px;
    align-items: end;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .service-card {
    min-height: 540px;
  }

  .voice-card {
    flex: 0 0 calc(33.33% - 12px);
  }
}

/* Body padding for SP fixed CTA */
.sp-only {
  display: none !important;
}

@media (max-width: 949px) {
  body {
    padding-bottom: 56px;
  }

  .sns-buttons {
    justify-content: center;
  }

  .sp-only {
    display: block !important;
  }
}

.first-letter {
  color: var(--red) !important;
}

#back-top {
  color: #ffffff;
}

/* ========== USER SP PADDING OVERRIDES ========== */
@media (max-width: 991px) {

  #access .container,
  .message-body,
  #trouble,
  .about-inner,
  .fv-content-container {
    padding: 30px 10px !important;
  }

  .about-body {
    padding: 30px 10px !important;
    margin-top: -40px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .service-card-body {
    padding: 80px 10px 28px !important;
  }

  .works-inner {
    padding: 10px !important;
  }

  #trouble .container {
    padding: 10px !important;
  }

  .message-inner.container {
    padding: 0 !important;
  }

  .fv-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .fv-btn {
    max-width: 100% !important;
    width: 100% !important;
  }
}