/* =========================
   基本設定
========================= */

:root {
  --accent-metal: #92999f;
  --accent-metal-light: #e3e6e8;
  --accent-metal-dark: #4f565c;
  --accent-metal-gradient: linear-gradient(135deg, #454c52 0%, #9ba1a6 28%, #f0f1f2 48%, #777e84 68%, #c8ccd0 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #ffffff;
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

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

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

.section-inner {
  width: min(1100px, 90%);
  margin: 0 auto;
}


/* =========================
   ヘッダー
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.header-logo {
  display: block;
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.nav a:hover,
.nav-submenu-button:hover {
  color: var(--accent-metal-light);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-submenu-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-submenu-button > span {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 29px);
  left: 50%;
  width: 230px;
  padding: 8px;
  background: rgba(5, 5, 5, 0.98);
  border: 1px solid #343434;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  white-space: nowrap;
}

.nav-submenu a:last-child {
  border-bottom: 0;
}

.nav-submenu a span {
  color: #7f868c;
  font-size: 10px;
  letter-spacing: 1px;
}

.nav-submenu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-submenu-button[aria-expanded="true"] > span {
  transform: translateY(2px) rotate(225deg);
}

@media (min-width: 1025px) {
  .nav-submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 30px;
  }

  .nav-group:hover .nav-submenu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

}

.menu-button {
  display: none;
}

/* =========================
   ヒーロー
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
}

.hero-subtitle {
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 16px;
  color: #d0d0d0;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 110px);
  line-height: 1;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.hero-copy {
  font-size: clamp(17px, 2vw, 24px);
  margin-bottom: 36px;
  font-weight: 600;
}

.hero-button {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid #ffffff;
  transition: 0.3s;
}

.hero-button:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
  border-color: var(--accent-metal-light);
}

.hero-logo {
  display: block;
  width: min(680px, 85vw);
  height: auto;
  margin: 0 auto 40px;
}

/* =========================
   共通セクション
========================= */

section {
  padding: 110px 0;
}

.section-en {
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

section h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 28px;
}

.section-description,
.about-text {
  color: #bdbdbd;
  max-width: 700px;
}


/* =========================
   ABOUT
========================= */

.about {
  background: #111111;
}

.about-strengths {
  margin-top: 50px;
}

.about-strengths .features-layout {
  margin-top: 0;
}

/* 固定ヘッダーに見出しが隠れないよう、リンク先の停止位置を調整 */
#about,
#car-film,
#film-benefits,
#other-services,
#inspection,
#works,
#flow,
#access,
#contact {
  scroll-margin-top: 90px;
}


/* =========================
   強み
========================= */

.features {
  background: #0b0b0b;
}

.features-layout {
  margin-top: 50px;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.profile-photo {
  order: 2;
  min-height: 560px;
  overflow: hidden;
  background: #151515 url("images/about-garage-ace-v2.jpg") center / cover no-repeat;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.feature-grid {
  order: 1;
  display: grid;
  gap: 0;
}

.feature-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 30px 0;
  border-top: 1px solid #333333;
}

.feature-card:last-child {
  border-bottom: 1px solid #333333;
}

.feature-number {
  grid-row: span 2;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 13px;
  letter-spacing: 2px;
  padding-top: 5px;
}

.feature-card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.feature-card p {
  color: #bdbdbd;
}


/* =========================
   フィルム
========================= */

.film {
  background: #111111;
}

.film-benefits {
  margin-top: 64px;
  padding: clamp(34px, 5vw, 58px);
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.96), rgba(5, 5, 5, 0.96));
  border: 1px solid #383838;
  border-top: 3px solid var(--accent-metal-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.film-benefits-heading {
  margin-bottom: 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid #3b3b3b;
}

.film-benefits-label {
  margin-bottom: 8px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.film-benefits-heading h3 {
  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: 0.04em;
}

.film-benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

.film-benefit-card {
  position: relative;
  grid-column: span 2;
  min-height: 245px;
  padding: 30px 28px;
  background: linear-gradient(145deg, #181818, #0b0b0b);
  border: 1px solid #333333;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.film-benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--accent-metal-gradient);
}

.film-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-metal);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.film-benefit-card span {
  display: block;
  margin-bottom: 38px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
}

.film-benefit-card h4 {
  margin-bottom: 13px;
  font-size: 21px;
  letter-spacing: 0.04em;
}

.film-benefit-card p {
  color: #c7c7c7;
  font-size: 14px;
  line-height: 1.9;
}

.film-benefits-note {
  margin-top: 14px;
  color: #858585;
  font-size: 11px;
  text-align: right;
}

.film-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.film-card {
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid #2e2e2e;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.film-card:hover {
  transform: translateY(-5px);
  border-color: #555555;
}

.film-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 55%),
    #101010;
  border-bottom: 1px solid #2e2e2e;
}

.film-photo-placeholder span {
  color: #555555;
  font-size: 11px;
  letter-spacing: 5px;
}

.film-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid #2e2e2e;
  transition: transform 0.5s ease;
}

.film-card:hover .film-image {
  transform: scale(1.025);
}

.film-card-body {
  padding: 24px;
}

.film-number {
  margin-bottom: 8px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 10px;
  letter-spacing: 2px;
}

.film-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
}

.film-summary {
  color: #aaaaaa;
  font-size: 14px;
}

.film-guide {
  margin-top: 45px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(8, 8, 8, 0.82);
  border-left: 3px solid var(--accent-metal);
}

.film-guide-link {
  flex-shrink: 0;
  padding: 11px 20px;
  border: 1px solid #ffffff;
  font-size: 14px;
  transition: background 0.3s, border-color 0.3s;
}

.film-guide-link:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
  border-color: var(--accent-metal-light);
}

/* =========================
   車以外の窓フィルム施工
========================= */

.other-services {
  background: #0b0b0b;
}

.other-services h2,
.flow h2 {
  line-height: 1.35;
}

.other-services-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.other-service-card {
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid #303030;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.other-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-metal);
}

.other-service-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 55%),
    repeating-linear-gradient(135deg, #171717 0, #171717 12px, #121212 12px, #121212 24px);
  border-bottom: 1px solid #303030;
}

.other-service-photo span {
  color: #656565;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
}

.other-service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.other-service-image.is-active {
  opacity: 1;
}

.other-service-slideshow {
  cursor: pointer;
}

.other-service-dots {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 13px;
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.other-service-dot {
  display: block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

.other-service-dot.is-active {
  width: 20px;
  border-radius: 8px;
  background: var(--accent-metal-light);
}

.before-after {
  background: #111111;
}

.before-after-set {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.before-after-set.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.before-after-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-set--portrait .before-after-image {
  object-fit: contain;
  background: #111111;
}

.before-after-after {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.before-after-set.is-after .before-after-after {
  opacity: 1;
}

.before-after-label {
  position: absolute;
  z-index: 3;
  top: 13px;
  padding: 5px 8px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.before-after-label--before {
  left: 13px;
}

.before-after-label--works {
  left: 13px;
}

.before-after-label--after {
  opacity: 0;
  right: 13px;
}

.before-after-set.is-after .before-after-label--before {
  opacity: 0;
}

.before-after-set.is-after .before-after-label--after {
  opacity: 1;
}

.before-after-dots {
  z-index: 5;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

.before-after-switch:focus-visible {
  outline: 2px solid var(--accent-metal-light);
  outline-offset: 2px;
}

.other-service-body {
  padding: 26px 24px 30px;
}

.other-service-number {
  margin-bottom: 8px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.other-service-body h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.other-service-body p:last-child {
  color: #b5b5b5;
  font-size: 14px;
}

.other-services-note {
  margin-top: 16px;
  color: #858585;
  font-size: 11px;
  text-align: right;
}

.inspection-guide {
  margin-top: 45px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: rgba(8, 8, 8, 0.92);
  border-top: 3px solid var(--accent-metal);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.inspection {
  background: #111111;
}

.inspection-photo {
  min-height: 100%;
  overflow: hidden;
}

.inspection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 測定器が見切れず、写真内で少し左寄りに見える位置 */
  object-position: 72% center;
}

.inspection-content {
  padding: clamp(30px, 4vw, 50px);
}

.inspection-label {
  margin-bottom: 10px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.inspection-content h3 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.4;
}

.inspection-intro {
  margin-bottom: 28px;
  color: #bdbdbd;
}

.inspection-rule {
  padding: 22px 0;
  border-top: 1px solid #343434;
}

.inspection-rule-title {
  font-size: 19px;
  font-weight: 700;
}

.inspection-rule-place {
  margin-bottom: 10px;
  color: #8f959a;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.inspection-rule p:last-child {
  color: #c3c3c3;
  font-size: 14px;
}

.inspection-rule strong {
  color: #ffffff;
  font-size: 1.08em;
}

/* =========================
   施工の流れ
========================= */

.flow {
  background: #0b0b0b;
}

.flow-list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  counter-reset: none;
}

.flow-step {
  position: relative;
  min-height: 285px;
  padding: 26px 22px;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.96), rgba(8, 8, 8, 0.96));
  border: 1px solid #303030;
  overflow: hidden;
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 2px;
  background: var(--accent-metal-gradient);
}

.flow-number {
  display: block;
  margin-bottom: 42px;
  color: transparent;
  background: var(--accent-metal-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
}

.flow-step h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.45;
}

.flow-step p {
  color: #b9b9b9;
  font-size: 13px;
  line-height: 1.85;
}

.flow-contact {
  margin-top: 22px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(8, 8, 8, 0.82);
  border-left: 3px solid var(--accent-metal);
}

.flow-contact p {
  color: #c3c3c3;
}

.flow-contact a {
  flex-shrink: 0;
  padding: 11px 20px;
  border: 1px solid #ffffff;
  font-size: 14px;
  transition: background 0.3s, border-color 0.3s;
}

.flow-contact a:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
  border-color: var(--accent-metal-light);
}

/* =========================
   施工実績
========================= */

.works {
  background: #0b0b0b;
}

.works-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.works-heading-row h2 {
  margin-bottom: 0;
}

.works-controls {
  display: flex;
  gap: 10px;
}

.works-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #3a3a3a;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.works-arrow:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
  border-color: var(--accent-metal-light);
}

.works-slider {
  margin-top: 45px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-metal) #222222;
  cursor: grab;
  user-select: none;
}

.works-slider:active {
  cursor: grabbing;
}

.works-slider::-webkit-scrollbar {
  height: 6px;
}

.works-slider::-webkit-scrollbar-track {
  background: #222222;
}

.works-slider::-webkit-scrollbar-thumb {
  background: var(--accent-metal-gradient);
}

.work-card {
  flex: 0 0 clamp(280px, 32vw, 380px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1b1b1b;
}

.work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-image {
  transform: scale(1.035);
}

.work-image--position-up {
  object-position: center 66%;
}

.work-image--position-up-soft {
  object-position: center 60%;
}

.work-image--zoom {
  object-position: 47% center;
  transform: scale(1.14);
}

.work-card:hover .work-image--zoom {
  transform: scale(1.17);
}


/* =========================
   店舗情報
========================= */

.access {
  background: #111111;
}

.access-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.access-info {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(8, 8, 8, 0.78);
  border-left: 3px solid var(--accent-metal);
}

.access-info h3 {
  font-size: 28px;
  margin-bottom: 25px;
}

.access-logo {
  width: min(300px, 100%);
  height: auto;
  margin-bottom: 30px;
}

.access-info dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #333333;
}

.access-info dt {
  color: #888888;
}

.map {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  background: #1b1b1b;
  overflow: hidden;
}

.map iframe {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 330px;
  border: 0;
  filter: grayscale(0.35) brightness(0.82);
}

.map-link {
  display: block;
  padding: 13px 20px;
  text-align: center;
  background: #181818;
  border-top: 1px solid #333333;
  transition: background 0.3s;
}

.map-link:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
}


/* =========================
   お問い合わせ
========================= */

.contact {
  text-align: center;
  background: #080808;
}

.contact p {
  color: #bdbdbd;
}

.contact-buttons {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.contact-button {
  min-width: 220px;
  padding: 15px 26px;
  border: 1px solid #ffffff;
  transition: 0.3s;
}

.contact-button:hover {
  color: #111111;
  background: var(--accent-metal-gradient);
  border-color: var(--accent-metal-light);
}


/* =========================
   フッター
========================= */

.footer {
  padding: 50px 20px;
  text-align: center;
  background: #000000;
  border-top: 1px solid #222222;
}

.footer-logo {
  display: inline-block;
  width: 190px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer p:last-child {
  color: #666666;
  font-size: 12px;
}


/* =========================
   PC版のメタリック表現
========================= */

@media (min-width: 769px) {
  .section-en {
    font-size: 13px;
    font-weight: 700;
  }

  .feature-number {
    font-size: 14px;
    font-weight: 700;
  }

  .film-number {
    font-size: 11px;
    font-weight: 700;
  }

  .film-guide,
  .access-info {
    border-left-width: 4px;
  }

  .works-slider::-webkit-scrollbar {
    height: 8px;
  }
}


/* =========================
   ヒーローより下の固定背景
========================= */

main {
  background-image:
    linear-gradient(rgba(3, 3, 3, 0.55), rgba(3, 3, 3, 0.55)),
    url("images/page-background-new.jpg");
  background-position:
    center,
    center;
  background-size:
    auto,
    contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* 背景写真をうっすら見せながら、文字の読みやすさを保つ */
.about,
.film,
.access {
  background: rgba(12, 12, 12, 0.78);
}

.features,
.works,
.other-services,
.flow,
.contact {
  background: rgba(5, 5, 5, 0.68);
}


/* =========================
   タブレット・スマホ用メニュー
========================= */

@media (max-width: 1024px) {
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step {
    min-height: 245px;
  }

  .film-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-benefit-card {
    grid-column: auto;
  }

  .header-inner {
    height: 65px;
  }

  .nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 5% 20px;
    background: rgba(0, 0, 0, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }

  .nav-group {
    display: block;
  }

  .nav-submenu-button {
    width: 100%;
    min-height: 49px;
    justify-content: space-between;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    background: #101010;
    border: 0;
    box-shadow: none;
    visibility: hidden;
    opacity: 1;
    overflow: hidden;
    transform: none;
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .nav-submenu.is-open {
    max-height: 220px;
    visibility: visible;
    transform: none;
  }

  .nav-submenu a {
    padding: 11px 18px;
    font-size: 13px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .other-services-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .other-services-grid,
  .flow-list {
    margin-top: 36px;
    gap: 36px;
  }

  .other-services-note {
    text-align: left;
  }

  .flow-step {
    min-height: 0;
    padding: 24px 20px;
    overflow: visible;
  }

  .flow-step:not(:last-child)::after {
    content: "↓";
    position: absolute;
    bottom: -30px;
    left: 50%;
    z-index: 2;
    color: #b4bbc0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
  }

  .flow-number {
    margin-bottom: 24px;
    font-size: 36px;
  }

  .flow-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-contact a {
    width: 100%;
    text-align: center;
  }

  .section-inner {
    width: min(100% - 36px, 1100px);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-top: 65px;
  }

  .hero-copy {
    font-size: clamp(15px, 4.5vw, 19px);
  }

  section h2 {
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.35;
  }

  .film-benefits {
    padding: 26px 18px;
  }

  .film-benefits-grid {
    grid-template-columns: 1fr;
  }

  .film-benefit-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .film-benefit-card span {
    margin-bottom: 24px;
    font-size: 38px;
  }

  .film-benefits-note {
    text-align: left;
  }

  /* iPhoneでも中央に安定して表示される固定背景ロゴ */
  main {
    position: relative;
    background-image: none;
  }

  main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("images/page-background-new.jpg") center / min(88vw, 420px) auto no-repeat;
    opacity: 0.38;
  }

  main > section {
    position: relative;
    z-index: 1;
  }

  .hero-logo {
    width: min(88vw, 480px);
    margin-bottom: 28px;
  }

  .hero-copy {
    margin-bottom: 28px;
  }

  .header-logo {
    width: 160px;
  }

  .footer-logo {
    width: 160px;
  }

  .access-logo {
    width: min(260px, 100%);
  }

  .access-grid {
    gap: 20px;
  }

  .access-info {
    padding: 28px 22px;
  }

  .access-info dl div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .access-info dd {
    overflow-wrap: anywhere;
  }

  .map {
    min-height: 350px;
  }

  .map iframe {
    min-height: 300px;
  }

  section {
    padding: 80px 0;
  }

  .about-strengths {
    margin-top: 40px;
  }

  .feature-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .features-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .feature-grid {
    order: 2;
    grid-template-rows: none;
  }

  .works-heading-row {
    align-items: center;
  }

  .works-arrow {
    width: 42px;
    height: 42px;
  }

  .works-slider {
    margin-top: 32px;
    gap: 12px;
  }

  .work-card {
    flex-basis: 82vw;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .inspection-guide {
    margin-top: 55px;
    grid-template-columns: 1fr;
  }

  .inspection-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .inspection-content {
    padding: 28px 22px;
  }

  .film-guide {
    align-items: flex-start;
    flex-direction: column;
  }

  .film-guide-link {
    width: 100%;
    text-align: center;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-button {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 420px) {
  .section-inner {
    width: calc(100% - 28px);
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .header-logo {
    width: 145px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero-copy {
    letter-spacing: -0.02em;
  }

  .film-benefits-heading h3 {
    font-size: 25px;
  }

  .feature-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .film-card-body,
  .film-guide,
  .inspection-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .access-info dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .work-card {
    flex-basis: 86vw;
  }
}
