/* ========================================
   カスタムページ LP専用CSS
   custom.css
   ======================================== */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   カラー変数
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --custom-black:    #0d0d0d;
  --custom-carbon:   #1a1a1a;
  --custom-cyan:     #04C4F5;
  --custom-cyan-dark:#0299BF;
  --custom-gold:     #FFD700;
  --custom-gold-dark:#D4AF37;
  --custom-white:    #ffffff;
  --custom-gray:     #f5f5f5;
  --custom-gray-mid: #888888;
  --custom-line:     #06c755;

  --custom-font-sans: Meiryo, "Hiragino Kaku Gothic Pro", Osaka, "MS PGothic", sans-serif;
  --custom-font-bold: "Noto Sans JP", sans-serif;
  --custom-font-display: "Anton", sans-serif;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   共通スタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body {
  overflow-x: clip !important;
}

.custom-main {
  font-family: var(--custom-font-sans);
  background-color: var(--custom-white);
  overflow-x: clip !important;
}

.custom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* セクション共通ヘッダー */
.custom-section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.custom-section-eyebrow {
  font-family: var(--custom-font-display);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.25em;
  color: var(--custom-cyan);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.custom-section-title {
  font-family: var(--custom-font-bold);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--custom-carbon);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.custom-section-title--light {
  color: var(--custom-white);
}

.custom-section-lead {
  font-size: clamp(14px, 1.5vw, 16px);
  color: #555;
  line-height: 1.8;
}

.custom-section-lead--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スクロールアニメーション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ヒーローセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/backgrounds/custom1.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  animation: customHeroZoom 14s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes customHeroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.15); }
}

.custom-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(4, 196, 245, 0.15) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.custom-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 60px);
  max-width: 900px;
}

.custom-hero__label {
  font-family: var(--custom-font-display);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.35em;
  color: var(--custom-cyan);
  margin-bottom: 20px;
  animation: fadeInUp 1.8s ease-out 0.2s both;
}

.custom-hero__title {
  font-family: var(--custom-font-bold);
  font-size: clamp(24px, 4vw, 50px);
  font-weight: 800;
  color: var(--custom-white);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  animation: fadeInUp 1.8s ease-out 0.5s both;
}

.custom-hero__title span {
  display: block;
  white-space: nowrap;
}

.custom-hero__subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  animation: fadeInUp 1.8s ease-out 1.2s both;
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   サブタイトル帯
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-subtitle-bar {
  position: relative;
  overflow: hidden;
  background-color: var(--custom-cyan);
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 4vw, 40px);
  text-align: center;
}

.custom-subtitle-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 80%
  );
  animation: subtitle-bar-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes subtitle-bar-shine {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

.custom-subtitle-bar p {
  font-family: var(--custom-font-bold);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 800;
  color: var(--custom-white);
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   オーナー紹介セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-owner {
  padding: clamp(64px, 10vw, 120px) 0;
  background-color: var(--custom-white);
}

.custom-owner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 768px) {
  .custom-owner__inner {
    grid-template-columns: 1fr;
  }
}

.custom-owner__image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.custom-owner__image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* オーナースライドショー */
.owner-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.owner-slideshow__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.owner-slideshow__slide--active {
  opacity: 1;
}

.custom-owner__image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--custom-gold);
  color: var(--custom-black);
  border-radius: 4px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.custom-owner__image-badge-num {
  display: block;
  font-family: var(--custom-font-display);
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.custom-owner__image-badge-text {
  display: block;
  font-family: var(--custom-font-bold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 4px;
}

.custom-owner__eyebrow {
  font-family: var(--custom-font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--custom-cyan);
  margin-bottom: 12px;
}

.custom-owner__name {
  font-family: var(--custom-font-bold);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--custom-carbon);
  margin-bottom: 0;
}

.custom-owner__divider {
  width: 48px;
  height: 3px;
  background: var(--custom-cyan);
  margin: 16px 0;
}

.custom-owner__career {
  font-family: var(--custom-font-bold);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 800;
  color: var(--custom-gold-dark);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.custom-owner__description {
  font-size: clamp(14px, 1.5vw, 15px);
  color: #444;
  line-height: 1.9;
  margin-bottom: 32px;
}

.custom-owner__achievements {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  border-top: 1px solid #e8e8e8;
  padding-top: 24px;
}

.custom-owner__achievement-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-owner__achievement-num {
  font-family: var(--custom-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--custom-cyan);
  line-height: 1;
  font-weight: 900;
}

.custom-owner__achievement-label {
  font-family: var(--custom-font-bold);
  font-size: 11px;
  font-weight: 800;
  color: #666;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   カスタムメニューセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-menu {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0;
  background-color: var(--custom-carbon);
  overflow: hidden;
}

.custom-menu__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--custom-font-display);
  font-size: clamp(80px, 18vw, 220px);
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
}

.custom-menu .custom-section-eyebrow {
  color: var(--custom-cyan);
}

.custom-menu .custom-section-title {
  color: var(--custom-white);
}

.custom-menu .custom-section-lead {
  color: rgba(255, 255, 255, 0.65);
}

.custom-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

@media (max-width: 960px) {
  .custom-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .custom-menu__grid {
    grid-template-columns: 1fr;
  }
}

.custom-menu__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--custom-cyan);
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease, border-top-color 0.3s ease;
  position: relative;
}

.custom-menu__card:hover {
  background: rgba(4, 196, 245, 0.07);
  transform: translateY(-6px);
  border-top-color: var(--custom-gold);
}

.custom-menu__card-number {
  font-family: var(--custom-font-display);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.custom-menu__card-icon {
  font-size: 28px;
  color: var(--custom-cyan);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.custom-menu__card:hover .custom-menu__card-icon {
  color: var(--custom-gold);
}

.custom-menu__card-title {
  font-family: var(--custom-font-bold);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 800;
  color: var(--custom-white);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.custom-menu__card-text {
  font-size: clamp(13px, 1.4vw, 14px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin: 0;
}

/* 画像付きカード */
.custom-menu__card--has-image {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.custom-menu__card--has-image .custom-menu__card-image {
  margin-top: auto;
}

.custom-menu__card-image {
  margin: clamp(20px, 2.5vw, 28px) calc(-1 * clamp(20px, 3vw, 32px)) 0;
  overflow: hidden;
  border-radius: 0 0 4px 4px;
  position: relative;
}

/* メニュースライドショー */
.menu-slideshow {
  position: relative;
}

.menu-slideshow__slide {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.menu-slideshow__slide--active {
  opacity: 1;
}

/* .custom-menu__card-image img (0,1,1) より詳細度(0,2,0)で上書き */
.custom-menu__card-image .menu-slideshow__slide {
  transition: opacity 1.2s ease-in-out;
}

.menu-slideshow__slide:not(:first-child) {
  position: absolute;
  inset: 0;
}

.custom-menu__card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.88);
}

.custom-menu__card--has-image:hover .custom-menu__card-image img {
  transform: scale(1.05);
  filter: brightness(1);
}

.custom-menu__card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── スライダー ─── */
.custom-menu__card-slider {
  cursor: default;
}

.custom-menu__slider-track {
  display: flex;
  width: 100%;
  height: 220px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-menu__slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.3s ease;
}

.custom-menu__card--has-image:hover .custom-menu__slider-track img {
  filter: brightness(1);
}

/* 矢印ボタン */
.custom-menu__slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.custom-menu__slider-btn:hover {
  background: rgba(4, 196, 245, 0.7);
  border-color: var(--custom-cyan);
}

.custom-menu__slider-btn--prev { left: 10px; }
.custom-menu__slider-btn--next { right: 10px; }

/* ドット */
.custom-menu__slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.custom-menu__slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.custom-menu__slider-dot--active {
  background: var(--custom-cyan);
  transform: scale(1.3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   施工事例ギャラリー
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-gallery {
  padding: clamp(64px, 10vw, 120px) 0;
  background-color: var(--custom-black);
}

.custom-gallery .custom-section-eyebrow {
  color: var(--custom-gold);
}

.custom-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

@media (max-width: 768px) {
  .custom-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .custom-gallery__grid {
    grid-template-columns: 1fr;
  }
}

.custom-gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

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

.custom-gallery__item:hover img {
  transform: scale(1.08);
}

.custom-gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 196, 245, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.custom-gallery__item:hover .custom-gallery__item-overlay {
  opacity: 1;
}

.custom-gallery__item-overlay span {
  font-family: var(--custom-font-bold);
  font-size: 14px;
  font-weight: 800;
  color: var(--custom-white);
  letter-spacing: 0.06em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ギャラリースライダー（複数枚対応）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-gallery__item--slider .custom-gallery__slider-wrap {
  position: absolute;
  inset: 0;
}

.custom-gallery__item--slider .custom-gallery__slider-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 0.5s ease;
  display: block;
}

.custom-gallery__item--slider .custom-gallery__slider-wrap > img.active {
  opacity: 1;
}

.custom-gallery__item--slider:hover .custom-gallery__slider-wrap > img.active {
  transform: scale(1.08);
}

/* スライドdiv構造（Before/Afterラベル対応） */
.custom-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.custom-gallery__slide.active {
  opacity: 1;
}

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

.custom-gallery__item--slider:hover .custom-gallery__slide.active img {
  transform: scale(1.08);
}

/* チェーン画像ズーム（右下フォーカス） */
.custom-gallery__slide--zoom img {
  object-position: 80% 80%;
  transform: scale(2.0);
  transform-origin: 80% 80%;
}

.custom-gallery__item--slider:hover .custom-gallery__slide--zoom.active img {
  transform: scale(2.1);
}

.custom-gallery__slide-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--custom-font-bold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 2px;
}

.custom-gallery__slide-label--before {
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
}

.custom-gallery__slide-label--after {
  background: #FFD700;
  color: #111111;
}

.custom-gallery__slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.custom-gallery__slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.custom-gallery__slider-dot.active {
  background: #ffffff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   設備紹介セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-facility {
  padding: clamp(64px, 10vw, 120px) 0;
  background-color: var(--custom-white);
}

.custom-facility__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 768px) {
  .custom-facility__inner {
    grid-template-columns: 1fr;
  }
}

.custom-facility__title {
  font-family: var(--custom-font-bold);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--custom-carbon);
  line-height: 1.25;
  margin-bottom: 0;
}

.custom-facility__divider {
  width: 48px;
  height: 3px;
  background: var(--custom-cyan);
  margin: 20px 0;
}

.custom-facility__description {
  font-size: clamp(14px, 1.5vw, 15px);
  color: #444;
  line-height: 1.9;
  margin-bottom: 28px;
}

.custom-facility__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-facility__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--custom-font-bold);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 800;
  color: var(--custom-carbon);
}

.custom-facility__list li i {
  color: var(--custom-cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.custom-facility__image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* ── facility スライドショー ── */
.facility-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.facility-slideshow__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.facility-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.facility-slideshow__slide--active {
  opacity: 1;
}

.facility-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   対応車種セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-vehicles {
  padding: clamp(64px, 10vw, 120px) 0;
  background-color: var(--custom-gray);
}

.custom-vehicles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

@media (max-width: 960px) {
  .custom-vehicles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .custom-vehicles__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.custom-vehicles__item {
  background: var(--custom-white);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 40px) clamp(16px, 2.5vw, 24px);
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.custom-vehicles__item:hover {
  border-bottom-color: var(--custom-cyan);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(4, 196, 245, 0.15);
}

.custom-vehicles__item-icon {
  font-size: 36px;
  color: var(--custom-cyan);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.custom-vehicles__item:hover .custom-vehicles__item-icon {
  color: var(--custom-gold-dark);
}

.custom-vehicles__item h3 {
  font-family: var(--custom-font-bold);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 800;
  color: var(--custom-carbon);
  margin-bottom: 8px;
}

.custom-vehicles__item p {
  font-size: clamp(12px, 1.3vw, 13px);
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTAセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.custom-cta {
  position: relative;
  padding: clamp(80px, 12vw, 140px) clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--custom-black);
}

.custom-cta__bg-text {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--custom-font-display);
  font-size: clamp(80px, 20vw, 260px);
  color: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
}

/* カーボンパターン背景 */
.custom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 10px
    );
  pointer-events: none;
}

.custom-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,196,245,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* TOP戻るボタン */
.custom-back-to-top {
  position: absolute;
  left: 20px;
  bottom: 40px;
  z-index: 3;
}

.custom-back-to-top__link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  transition: transform 0.3s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

.custom-back-to-top__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: transform 0.3s ease;
}

.custom-back-to-top__chevron {
  width: 20px;
  height: 20px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: rotate(-45deg);
  display: block;
}

.custom-back-to-top__chevron:last-child {
  margin-top: -8px;
}

.custom-back-to-top__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: block;
}

.custom-back-to-top__link:hover {
  transform: translateY(-3px);
}

.custom-back-to-top__link:hover .custom-back-to-top__arrow {
  transform: translateY(-2px);
}

/* CTAコンテンツ */
.custom-cta__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.custom-cta__title {
  font-family: var(--custom-font-bold);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--custom-white);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.custom-cta__text {
  font-size: clamp(13px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin-bottom: 12px;
}

.custom-cta__hours {
  font-family: var(--custom-font-bold);
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

.custom-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(14px, 2vw, 18px) clamp(24px, 4vw, 44px);
  border-radius: 4px;
  font-family: var(--custom-font-bold);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.custom-btn--phone {
  background: transparent;
  color: var(--custom-white);
  border-color: var(--custom-white);
}

.custom-btn--phone:hover {
  background: var(--custom-white);
  color: var(--custom-black);
  transform: translateY(-3px);
}

.custom-btn--line {
  background: var(--custom-line);
  color: var(--custom-white);
  border-color: var(--custom-line);
}

.custom-btn--line:hover {
  background: #00b140;
  border-color: #00b140;
  transform: translateY(-3px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   フローティングLINEボタン
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.floating-line-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-line-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--custom-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.floating-line-close i {
  color: var(--custom-white);
  font-size: 14px;
}

.floating-line-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: var(--custom-white);
  transform: rotate(90deg) scale(1.1);
}

.floating-line-text {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  font-family: var(--custom-font-bold);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color 0.3s ease;
}

.floating-line-text__line1,
.floating-line-text__line2 {
  display: block;
  white-space: nowrap;
}

.floating-line-button {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #00C300 0%, #00B900 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0, 195, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: pulseFloat 3s ease-in-out infinite;
}

.floating-line-button:hover {
  transform: scale(1.1);
  box-shadow:
    0 6px 25px rgba(0, 195, 0, 0.6),
    0 3px 12px rgba(0, 0, 0, 0.4);
}

.floating-line-button i {
  font-size: 70px;
  color: var(--custom-white);
}

@keyframes pulseFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .floating-line-wrapper {
    bottom: 20px;
    right: 20px;
  }

  .floating-line-close {
    width: 24px;
    height: 24px;
    top: -6px;
    right: -6px;
  }

  .floating-line-close i {
    font-size: 12px;
  }

  .floating-line-text {
    font-size: 11px;
  }

  .floating-line-button {
    width: 90px;
    height: 90px;
  }

  .floating-line-button i {
    font-size: 55px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   レスポンシブ調整
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 600px) {
  .custom-owner__achievements {
    gap: 16px;
  }

  .custom-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .custom-btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .custom-back-to-top {
    left: 15px;
    bottom: 20px;
  }

  .custom-back-to-top__chevron {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .custom-back-to-top__chevron:last-child {
    margin-top: -6px;
  }

  .custom-back-to-top__text {
    font-size: 12px;
  }
}

/* ========================================
   カスタムペイント画像 フォーカス調整
   ======================================== */
.custom-gallery__img--offset {
  object-position: 20% 30%;
}
