/* 北山電工 スタイルシート */

:root {
      --ink:        #080608;
      --ink-deep:   #050405;
      --gold:       #c9a84c;
      --gold-light: #dfc070;
      --gold-pale:  #eedfa0;
      --electric:   #f0c040;
      --electric-bright: #ffe066;
      --blue-spark: #a0c8ff;
      --cream:      #f4f0e6;
      --warm-gray:  #8a8070;
      --red-accent: #8b1a1a;
      --off-white:  #faf7f0;
      --panel:      #0e0c10;
      --panel-lit:  #141018;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    a { color: inherit; text-decoration: none; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--ink-deep);
      color: var(--cream);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      overflow-x: hidden;
    }

    /* ===== LOADER ===== */
    #loader {
      position: fixed;
      inset: 0;
      background: var(--ink-deep);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      transition: opacity 0.9s ease, visibility 0.9s ease;
    }
    #loader.hidden { opacity: 0; visibility: hidden; }

    .loader-symbol {
      position: relative;
      width: 80px;
      height: 80px;
      margin-bottom: 8px;
    }
    .loader-bolt {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .loader-bolt svg {
      width: 48px;
      height: 48px;
      animation: boltFlash 1.6s ease-in-out infinite;
    }
    .loader-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 1px solid rgba(201,168,76,0.4);
      animation: ringPulse 1.6s ease-in-out infinite;
    }
    .loader-ring-outer {
      position: absolute;
      inset: -12px;
      border-radius: 50%;
      border: 1px solid rgba(201,168,76,0.15);
      animation: ringPulse 1.6s ease-in-out 0.3s infinite;
    }

    .loader-kanji {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(40px, 7vw, 72px);
      font-weight: 800;
      color: var(--gold);
      letter-spacing: 0.4em;
      animation: fadeInUp 1s ease 0.3s both;
    }
    .loader-line {
      width: 100px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--gold), transparent);
      transform: scaleX(0);
      animation: scaleIn 1s ease 0.8s forwards;
    }
    .loader-sub {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 12px;
      letter-spacing: 0.5em;
      color: var(--warm-gray);
      opacity: 0;
      animation: fadeIn 0.8s ease 1.2s forwards;
    }

    /* ===== HEADER ===== */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.5s ease, backdrop-filter 0.5s ease;
    }
    header::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    header.scrolled::after { opacity: 1; }

    .header-logo {
      display: flex;
      flex-direction: column;
      gap: 2px;
      text-decoration: none;
      position: relative;
      z-index: 1;
    }
    .header-logo-ja {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 20px;
      font-weight: 800;
      color: var(--gold);
      letter-spacing: 0.2em;
      line-height: 1;
    }
    .header-logo-en {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 10px;
      letter-spacing: 0.45em;
      color: var(--warm-gray);
    }

    nav {
      display: flex;
      align-items: center;
      gap: 36px;
      position: relative;
      z-index: 1;
    }
    nav a {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 12px;
      color: rgba(244,240,230,0.65);
      text-decoration: none;
      letter-spacing: 0.14em;
      transition: color 0.3s ease;
      position: relative;
    }
    nav a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0; right: 0;
      height: 1px;
      background: var(--gold);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }
    nav a:hover { color: var(--gold-light); }
    nav a:hover::after { transform: scaleX(1); }

    .nav-cta {
      padding: 10px 24px;
      border: 1px solid var(--gold);
      color: var(--gold) !important;
      font-size: 11px !important;
      letter-spacing: 0.2em !important;
      transition: all 0.3s ease !important;
      position: relative;
      overflow: hidden;
    }
    .nav-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gold);
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
    .nav-cta:hover::before { transform: translateX(0); }
    .nav-cta:hover { color: var(--ink-deep) !important; }
    .nav-cta span { position: relative; z-index: 1; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 200;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 28px;
      height: 1px;
      background: var(--gold);
      transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(5,4,5,0.97);
      z-index: 150;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .mobile-menu.open { opacity: 1; }
    .mobile-menu a {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 22px;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.2em;
      font-weight: 600;
    }
    .mobile-menu a:hover { color: var(--gold); }

    /* ===== FV ===== */
    .fv {
      height: 100vh;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .fv-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(160,200,255,0.04) 0%, transparent 45%),
        linear-gradient(150deg, #080608 0%, #0e0c10 45%, #06050a 100%);
    }
    .fv-photo {
      position: absolute;
      inset: 0;
      /* ▼ 背景写真を入れるときはここを変更 ▼ */
      background-image: none; /* url('photo_fv.jpg') */
      background-size: cover;
      background-position: center 30%;
      opacity: 0.18;
      mix-blend-mode: luminosity;
    }

    /* Electric circuit lines bg */
    .fv-circuit {
      position: absolute;
      inset: 0;
      opacity: 0.06;
      pointer-events: none;
      overflow: hidden;
    }
    .fv-circuit svg {
      width: 100%;
      height: 100%;
    }

    /* Large background kanji */
    .fv-bg-text {
      position: absolute;
      right: -2%;
      top: 50%;
      transform: translateY(-50%);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(160px, 22vw, 380px);
      font-weight: 800;
      color: rgba(201,168,76,0.03);
      line-height: 1;
      pointer-events: none;
      user-select: none;
      writing-mode: vertical-rl;
      letter-spacing: -0.05em;
    }

    /* Spark particle effect */
    .spark {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--electric-bright);
      border-radius: 50%;
      pointer-events: none;
      animation: sparkFloat linear infinite;
      opacity: 0;
    }

    .fv-content {
      position: relative;
      z-index: 2;
      padding: 0 8%;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
    }

    .fv-tag {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 28px;
      opacity: 0;
      transform: translateY(16px);
      animation: fadeInUp 0.8s ease 1.6s forwards;
    }
    .fv-tag-line {
      width: 36px;
      height: 1px;
      background: var(--gold);
    }
    .fv-tag-text {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 12px;
      letter-spacing: 0.5em;
      color: var(--gold);
      text-transform: uppercase;
    }

    .fv-title {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(32px, 6vw, 88px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: 0.06em;
      color: var(--cream);
      opacity: 0;
      transform: translateY(28px);
      animation: fadeInUp 1s ease 1.8s forwards;
      margin-bottom: 10px;
    }
    .fv-title .gold { color: var(--gold); }
    .fv-title .electric-text {
      position: relative;
      display: inline-block;
    }
    .fv-title .electric-text::after {
      content: none;
      display: none;
    }

    .fv-subtitle {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(14px, 1.8vw, 20px);
      font-weight: 300;
      letter-spacing: 0.3em;
      color: rgba(244,240,230,0.5);
      opacity: 0;
      animation: fadeIn 0.8s ease 2.1s forwards;
      margin-bottom: 40px;
    }

    .fv-divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 32px;
      opacity: 0;
      animation: fadeIn 0.8s ease 2.3s forwards;
    }
    .fv-divider-line {
      width: 48px;
      height: 1px;
      background: var(--gold);
    }
    .fv-divider-bolt {
      width: 10px;
      height: 14px;
      clip-path: polygon(60% 0%, 100% 0%, 40% 50%, 80% 50%, 0% 100%, 20% 50%, 0% 50%);
      background: var(--gold);
    }

    .fv-copy {
      font-size: clamp(13px, 1.4vw, 16px);
      font-weight: 400;
      letter-spacing: 0.15em;
      line-height: 2.4;
      color: rgba(244,240,230,0.55);
      max-width: 500px;
      opacity: 0;
      animation: fadeIn 1s ease 2.5s forwards;
    }

    .fv-numbers {
      position: absolute;
      bottom: 80px;
      right: 8%;
      display: flex;
      gap: 40px;
      opacity: 0;
      animation: fadeIn 1s ease 2.8s forwards;
    }
    .fv-number-item {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
    }
    .fv-number-val {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 600;
      color: var(--gold);
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .fv-number-val span {
      font-size: 0.5em;
      letter-spacing: 0.1em;
      vertical-align: super;
    }
    .fv-number-label {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.2em;
      color: var(--warm-gray);
    }

    .fv-scroll {
      position: absolute;
      bottom: 48px;
      left: 8%;
      display: flex;
      align-items: center;
      gap: 14px;
      opacity: 0;
      animation: fadeIn 1s ease 3s forwards;
    }
    .fv-scroll-line {
      width: 48px;
      height: 1px;
      background: var(--gold);
    }
    .fv-scroll-text {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.45em;
      color: var(--gold);
    }

    /* ===== SECTION COMMONS ===== */
    .section {
      padding: clamp(80px, 10vw, 130px) 8%;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-header {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: clamp(48px, 6vw, 80px);
    }
    .section-en {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(11px, 1.1vw, 13px);
      letter-spacing: 0.55em;
      color: var(--gold);
      text-transform: uppercase;
    }
    .section-ja {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--cream);
    }
    .section-rule {
      width: 40px;
      height: 1px;
      background: var(--gold);
      margin-top: 14px;
    }

    .deco-line {
      height: 1px;
      margin: 0 8%;
      background: linear-gradient(to right, transparent, rgba(201,168,76,0.18), transparent);
    }

    /* ===== ABOUT / PHILOSOPHY ===== */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(48px, 6vw, 96px);
      align-items: start;
    }

    .about-left {
      position: sticky;
      top: 120px;
    }

    .about-visual {
      position: relative;
      aspect-ratio: 3/4;
      overflow: hidden;
    }
    .about-visual-inner {
      width: 100%;
      height: 100%;
      background: linear-gradient(150deg, #0e0c10 0%, #1a1420 50%, #0e0c14 100%);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .about-visual::after {
      content: '';
      position: absolute;
      inset: 0;
      border: 1px solid rgba(201,168,76,0.18);
      pointer-events: none;
    }
    .about-visual-tag {
      position: absolute;
      top: -1px;
      left: 36px;
      background: var(--gold);
      padding: 8px 20px;
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.45em;
      color: var(--ink-deep);
      font-weight: 600;
    }

    /* Electric circuit art */
    .circuit-art {
      width: 80%;
      height: 80%;
      opacity: 0.35;
    }

    .about-right {
      padding-top: 40px;
    }

    .about-catch {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(18px, 2.5vw, 28px);
      font-weight: 700;
      letter-spacing: 0.15em;
      color: var(--gold-light);
      line-height: 1.8;
      margin-bottom: 24px;
    }

    .about-desc {
      font-size: clamp(13px, 1.3vw, 15px);
      line-height: 2.5;
      color: rgba(244,240,230,0.65);
      letter-spacing: 0.1em;
      margin-bottom: 44px;
    }

    .about-values {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-bottom: 48px;
    }
    .about-value-item {
      display: flex;
      align-items: flex-start;
      gap: 24px;
      padding: 24px 0;
      border-bottom: 1px solid rgba(201,168,76,0.1);
    }
    .about-value-item:first-child { border-top: 1px solid rgba(201,168,76,0.1); }
    .about-value-num {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 32px;
      font-weight: 600;
      color: rgba(201,168,76,0.25);
      line-height: 1;
      min-width: 36px;
    }
    .about-value-body {}
    .about-value-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: var(--cream);
      margin-bottom: 6px;
    }
    .about-value-desc {
      font-size: 13px;
      line-height: 2;
      color: var(--warm-gray);
      letter-spacing: 0.08em;
    }

    /* ===== BTN ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 16px 36px;
      border: 1px solid var(--gold);
      color: var(--gold);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 13px;
      letter-spacing: 0.22em;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      transition: color 0.4s ease;
      cursor: pointer;
      background: transparent;
    }
    .btn::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gold);
      transform: translateX(-100%);
      transition: transform 0.4s ease;
    }
    .btn:hover::before { transform: translateX(0); }
    .btn:hover { color: var(--ink-deep); }
    .btn-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
    .btn-arrow { font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif; font-size: 18px; }

    /* ===== SERVICES ===== */
    .services-bg {
      background: linear-gradient(160deg, #0a0810 0%, #0e0c10 50%, #080608 100%);
      padding: clamp(80px, 10vw, 130px) 0;
      position: relative;
      overflow: hidden;
    }
    .services-bg::before {
      content: none;
    }

    .services-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 8%;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: clamp(40px, 5vw, 64px);
    }

    .service-card {
      background: var(--panel);
      padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
      position: relative;
      overflow: hidden;
      transition: none;
      cursor: default;
      display: flex;
      flex-direction: column;
    }
    .service-card::before {
      content: none;
    }
    .service-card:hover { background: var(--panel); }
    .service-card:hover::before { transform: scaleX(0); }

    .service-card-glow {
      display: none;
    }
    .service-card:hover .service-card-glow { opacity: 0; }

    .service-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
    }
    .service-icon svg {
      width: 100%;
      height: 100%;
    }

    .service-num {
      position: absolute;
      top: 24px;
      right: 24px;
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 48px;
      font-weight: 600;
      color: rgba(201,168,76,0.07);
      line-height: 1;
    }

    .service-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(18px, 2vw, 22px);
      font-weight: 700;
      letter-spacing: 0.12em;
      color: var(--cream);
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }
    .service-sub {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.4em;
      color: var(--gold);
      margin-bottom: 16px;
      position: relative;
      z-index: 1;
    }
    .service-desc {
      font-size: 13px;
      line-height: 2.1;
      color: rgba(244,240,230,0.55);
      letter-spacing: 0.07em;
      position: relative;
      z-index: 1;
      flex: 1;
    }
    .service-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 20px;
      position: relative;
      z-index: 1;
    }
    .service-tag {
      padding: 4px 10px;
      border: 1px solid rgba(201,168,76,0.2);
      font-size: 10px;
      letter-spacing: 0.15em;
      color: rgba(201,168,76,0.6);
    }

    /* ===== WORKS ===== */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: clamp(40px, 5vw, 64px);
    }

    .work-card {
      position: relative;
      aspect-ratio: 4/3;
      overflow: hidden;
      cursor: pointer;
    }
    .work-card-bg {
      position: absolute;
      inset: 0;
      transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .work-card:hover .work-card-bg { transform: scale(1.05); }

    .work-card:nth-child(1) .work-card-bg { background: linear-gradient(160deg, #0e1020 0%, #1a1830 50%, #0a0c1a 100%); }
    .work-card:nth-child(2) .work-card-bg { background: linear-gradient(160deg, #101408 0%, #1e2010 50%, #0c1008 100%); }
    .work-card:nth-child(3) .work-card-bg { background: linear-gradient(160deg, #140808 0%, #201010 50%, #0e0808 100%); }
    .work-card:nth-child(4) .work-card-bg { background: linear-gradient(160deg, #0a0e14 0%, #10181e 50%, #080c10 100%); }
    .work-card:nth-child(5) .work-card-bg { background: linear-gradient(160deg, #100e08 0%, #1a1808 50%, #0c0e06 100%); }
    .work-card:nth-child(6) .work-card-bg { background: linear-gradient(160deg, #0e0814 0%, #180c20 50%, #0a0810 100%); }

    .work-card-art {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.2;
      transition: opacity 0.5s ease;
    }
    .work-card:hover .work-card-art { opacity: 0.08; }
    .work-card-art span {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(60px, 7vw, 110px);
      font-weight: 800;
      color: var(--gold);
    }

    .work-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(5,4,5,0.92) 0%, rgba(5,4,5,0.4) 45%, transparent 100%);
    }
    .work-card-content {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 24px 20px;
    }
    .work-cat {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 10px;
      letter-spacing: 0.4em;
      color: var(--gold);
      margin-bottom: 6px;
    }
    .work-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(14px, 1.6vw, 18px);
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--cream);
    }

    /* ===== STRENGTH ===== */
    .strength-bg {
      background: linear-gradient(160deg, #0a0810 0%, #080608 100%);
      padding: clamp(80px, 10vw, 130px) 0;
    }
    .strength-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 8%;
    }
    .strength-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      margin-top: clamp(40px, 5vw, 64px);
    }
    .strength-item {
      background: var(--panel);
      padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px);
      position: relative;
      border-top: 2px solid transparent;
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    .strength-item:hover {
      border-color: var(--gold);
      background: var(--panel-lit);
    }
    .strength-num {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 48px;
      font-weight: 600;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 12px;
    }
    .strength-unit {
      font-size: 0.4em;
      letter-spacing: 0.2em;
      vertical-align: super;
    }
    .strength-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: var(--cream);
      margin-bottom: 10px;
    }
    .strength-desc {
      font-size: 12px;
      line-height: 2;
      color: var(--warm-gray);
      letter-spacing: 0.07em;
    }

    /* ===== NEWS ===== */
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: clamp(40px, 5vw, 64px);
    }
    .news-item {
      display: flex;
      align-items: baseline;
      gap: 28px;
      padding: 20px 0;
      border-bottom: 1px solid rgba(201,168,76,0.1);
      text-decoration: none;
      transition: background 0.3s ease;
      cursor: pointer;
    }
    .news-item:first-child { border-top: 1px solid rgba(201,168,76,0.1); }
    .news-item:hover { padding-left: 8px; }
    .news-date {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 13px;
      letter-spacing: 0.3em;
      color: var(--gold);
      min-width: 100px;
      flex-shrink: 0;
    }
    .news-cat {
      padding: 3px 10px;
      border: 1px solid rgba(201,168,76,0.3);
      font-size: 10px;
      letter-spacing: 0.2em;
      color: var(--warm-gray);
      flex-shrink: 0;
    }
    .news-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 14px;
      letter-spacing: 0.1em;
      color: rgba(244,240,230,0.8);
      line-height: 1.7;
      flex: 1;
      transition: color 0.3s ease;
    }
    .news-item:hover .news-ttl { color: var(--gold-light); }
    .news-arrow {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 16px;
      color: var(--warm-gray);
      flex-shrink: 0;
      transition: transform 0.3s ease, color 0.3s ease;
    }
    .news-item:hover .news-arrow { transform: translateX(4px); color: var(--gold); }

    /* ===== CONTACT ===== */
    .contact-bg {
      background: linear-gradient(160deg, #0a0810 0%, #0e0c14 100%);
      padding: clamp(80px, 10vw, 130px) 0;
      position: relative;
      overflow: hidden;
    }
    .contact-bg::before {
      content: 'CONTACT';
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(80px, 14vw, 200px);
      font-weight: 600;
      color: rgba(201,168,76,0.025);
      letter-spacing: 0.3em;
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
    }
    .contact-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 8%;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: clamp(48px, 6vw, 96px);
      margin-top: clamp(40px, 5vw, 64px);
      position: relative;
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    .contact-info-block {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .contact-info-label {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.5em;
      color: var(--gold);
    }
    .contact-info-val {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: clamp(14px, 1.8vw, 18px);
      font-weight: 600;
      letter-spacing: 0.15em;
      color: var(--cream);
    }
    .contact-info-sub {
      font-size: 12px;
      letter-spacing: 0.12em;
      color: var(--warm-gray);
      line-height: 1.8;
    }
    .contact-divider {
      height: 1px;
      background: rgba(201,168,76,0.12);
    }

    .contact-form {
      position: relative;
      z-index: 1;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 20px;
    }
    .form-group.full { grid-column: span 2; }
    .form-label {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.45em;
      color: var(--gold);
    }
    .form-label .req {
      color: var(--red-accent);
      font-size: 10px;
      margin-left: 6px;
    }
    .form-input,
    .form-textarea,
    .form-select {
      background: rgba(244,240,230,0.04);
      border: 1px solid rgba(201,168,76,0.18);
      padding: 14px 18px;
      color: var(--cream);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 14px;
      letter-spacing: 0.08em;
      outline: none;
      transition: border-color 0.3s ease, background 0.3s ease;
      width: 100%;
      border-radius: 0;
      -webkit-appearance: none;
    }
    .form-select {
      appearance: none;
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
    }
    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
      border-color: var(--gold);
      background: rgba(244,240,230,0.06);
    }
    .form-textarea { resize: vertical; min-height: 130px; }
    .form-input::placeholder,
    .form-textarea::placeholder { color: rgba(138,128,112,0.45); }
    .form-select option { background: var(--panel); color: var(--cream); }

    .form-submit {
      margin-top: 8px;
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 18px 48px;
      background: transparent;
      border: 1px solid var(--gold);
      color: var(--gold);
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 14px;
      letter-spacing: 0.28em;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: color 0.4s ease;
    }
    .form-submit::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--gold);
      transform: translateX(-100%);
      transition: transform 0.4s ease;
    }
    .form-submit:hover::before { transform: translateX(0); }
    .form-submit:hover { color: var(--ink-deep); }
    .form-submit span { position: relative; z-index: 1; }

    /* ===== FOOTER ===== */
    footer {
      background: #030203;
      border-top: 1px solid rgba(201,168,76,0.1);
      padding: clamp(48px, 6vw, 80px) 8% 32px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-logo-wrap {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 20px;
      text-decoration: none;
    }
    .footer-logo-ja {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 26px;
      font-weight: 800;
      color: var(--gold);
      letter-spacing: 0.2em;
      line-height: 1;
    }
    .footer-logo-en {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.45em;
      color: var(--warm-gray);
    }
    .footer-catch {
      font-size: 12px;
      line-height: 2.2;
      color: var(--warm-gray);
      letter-spacing: 0.1em;
      margin-bottom: 24px;
    }
    .footer-license {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .footer-license-item {
      padding: 4px 10px;
      border: 1px solid rgba(201,168,76,0.2);
      font-size: 10px;
      letter-spacing: 0.15em;
      color: rgba(201,168,76,0.5);
    }

    .footer-nav-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.5em;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-nav a {
      font-size: 13px;
      color: rgba(244,240,230,0.45);
      text-decoration: none;
      letter-spacing: 0.1em;
      transition: color 0.3s ease;
    }
    .footer-nav a:hover { color: var(--gold-light); }

    .footer-info-ttl {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.5em;
      color: var(--gold);
      margin-bottom: 20px;
    }
    .footer-info-block { margin-bottom: 16px; }
    .footer-info-label {
      font-size: 10px;
      letter-spacing: 0.3em;
      color: var(--warm-gray);
      margin-bottom: 4px;
    }
    .footer-info-val {
      font-size: 13px;
      line-height: 1.9;
      color: rgba(244,240,230,0.5);
      letter-spacing: 0.08em;
    }

    .footer-sns {
      text-align: center;
      padding: 24px 0;
      border-top: 1px solid rgba(201,168,76,0.08);
    }
    .footer-instagram-btn {
      display: inline-flex;
      align-items: center;
      padding: 10px 28px;
      border: 1px solid rgba(201,168,76,0.4);
      color: var(--gold) !important;
      font-family: 'Noto Serif JP', serif;
      font-size: 13px;
      letter-spacing: 0.12em;
      text-decoration: none !important;
      transition: background 0.3s, color 0.3s;
      border-radius: 2px;
    }
    .footer-instagram-btn:hover {
      background: var(--gold);
      color: var(--ink-deep) !important;
      text-decoration: none !important;
    }

    .footer-bottom {
      border-top: 1px solid rgba(201,168,76,0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-copy {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.3em;
      color: rgba(138,128,112,0.4);
    }
    .footer-top-btn {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
      font-size: 11px;
      letter-spacing: 0.45em;
      color: var(--gold);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: gap 0.3s ease;
    }
    .footer-top-btn:hover { gap: 12px; }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes scaleIn {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }
    @keyframes boltFlash {
      0%,100% { opacity: 0.7; filter: drop-shadow(0 0 4px rgba(201,168,76,0.4)); }
      50%      { opacity: 1;   filter: drop-shadow(0 0 12px rgba(255,224,102,0.8)); }
    }
    @keyframes ringPulse {
      0%,100% { transform: scale(1); opacity: 0.4; }
      50%      { transform: scale(1.08); opacity: 0.15; }
    }
    @keyframes sparkFloat {
      0%   { opacity: 0; transform: translateY(0) translateX(0); }
      10%  { opacity: 0.8; }
      90%  { opacity: 0.5; }
      100% { opacity: 0; transform: translateY(-80px) translateX(30px); }
    }
    @keyframes electricLine {
      0%,100% { opacity: 0.8; background-position: 0% 50%; }
      50%      { opacity: 0.4; background-position: 100% 50%; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.22s; }
    .reveal-delay-3 { transition-delay: 0.34s; }
    .reveal-delay-4 { transition-delay: 0.46s; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .strength-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 900px) {
      header { padding: 16px 24px; }
      nav { display: none; }
      .hamburger { display: flex; }
      .mobile-menu { display: flex; }
      .about-grid,
      .contact-grid,
      .footer-grid { grid-template-columns: 1fr; }
      .about-left { position: static; }
      .works-grid { grid-template-columns: repeat(2, 1fr); }
      .fv-numbers { display: none; }
      .footer-bottom { flex-direction: column; gap: 16px; }
      .form-row { grid-template-columns: 1fr; }
      .form-group.full { grid-column: span 1; }
    }
    @media (max-width: 640px) {
      .services-grid,
      .works-grid,
      .strength-grid { grid-template-columns: 1fr; }
    }
    /* ── Service card flex fix ── */
    .service-card {
      display: flex !important;
      flex-direction: column !important;
    }
    .service-desc {
      flex: 1 !important;
    }
    .service-tags {
      margin-top: auto !important;
      padding-top: 16px !important;
    }
    /* Ensure service icon fixed height */
    .service-icon {
      flex-shrink: 0 !important;
    }

    /* ── Works placeholder ── */
    .work-placeholder-art { opacity: 0.08 !important; }
    .work-placeholder-ttl { opacity: 0.45; font-size: clamp(13px,1.4vw,16px) !important; }
    .work-placeholder-badge {
      position: absolute;
      top: 12px; right: 12px;
      background: rgba(201,168,76,0.15);
      border: 1px solid rgba(201,168,76,0.3);
      color: rgba(201,168,76,0.7);
      font-size: 10px;
      letter-spacing: 0.2em;
      padding: 3px 10px;
    }
    .works-hidden { display: none !important; }

    /* ═══════════════════════════════════════
       モバイル最適化 (追加修正)
       ═══════════════════════════════════════ */

    /* --- 全体 --- */
    * { -webkit-text-size-adjust: 100%; }
    img { max-width: 100%; height: auto; }

    /* --- ヘッダー --- */
    @media (max-width: 900px) {
      header { padding: 14px 20px; }
      .header-logo-ja { font-size: 16px; }
      .header-logo-en { font-size: 8px; letter-spacing: 0.2em; }
    }

    /* --- FVセクション --- */
    @media (max-width: 768px) {
      .fv { height: 100svh; min-height: 600px; }
      .fv-content { padding: 0 6%; }
      .fv-tag { margin-bottom: 18px; }
      .fv-tag-text { font-size: 10px; letter-spacing: 0.3em; }
      .fv-title { font-size: clamp(26px, 7vw, 52px) !important; line-height: 1.2; margin-bottom: 8px; }
      .fv-copy { font-size: 13px; line-height: 2; letter-spacing: 0.08em; }
      .fv-scroll { left: 5%; }
    }

    /* --- セクション共通 --- */
    @media (max-width: 768px) {
      .section { padding: 60px 6%; }
      .section-ja { font-size: clamp(22px, 5vw, 32px); }
    }

    /* --- 会社概要 --- */
    @media (max-width: 900px) {
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .about-left { position: static; }
      .about-visual { aspect-ratio: 16/9; }
      .about-right { padding-top: 0; }
      .about-catch { font-size: clamp(16px, 4vw, 22px); }
      .about-desc { font-size: 13px; }
      .about-value-desc { font-size: 12px; }
    }

    /* --- 事業内容 --- */
    @media (max-width: 900px) {
      .services-grid { grid-template-columns: 1fr !important; }
      .services-bg { padding: 60px 0; }
    }
    @media (min-width: 640px) and (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }

    /* --- 施工実績 --- */
    @media (max-width: 768px) {
      .works-grid { grid-template-columns: 1fr !important; }
    }
    @media (min-width: 640px) and (max-width: 900px) {
      .works-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }

    /* --- お問い合わせ --- */
    @media (max-width: 900px) {
      .contact-grid { grid-template-columns: 1fr !important; gap: 40px; }
      .contact-bg { padding: 60px 0; }
      .contact-inner { padding: 0 6%; }
      .form-row { grid-template-columns: 1fr !important; }
      .form-group.full { grid-column: span 1 !important; }
    }
    @media (max-width: 768px) {
      .contact-info-val { font-size: 15px !important; }
      .contact-info-sub { font-size: 12px; }
    }

    /* --- LINEボタン --- */
    @media (max-width: 768px) {
      .contact-info-block a[href*="lin.ee"] {
        width: 100%;
        justify-content: center;
        padding: 14px 16px !important;
        font-size: 13px !important;
        border-radius: 4px;
      }
    }

    /* --- Googleマップ --- */
    @media (max-width: 768px) {
      .contact-info-block + .contact-divider + .contact-info-block iframe,
      iframe[src*="maps.google"] { height: 260px !important; }
      .reveal > div[style*="height:380px"] { height: 260px !important; }
    }

    /* --- フッター --- */
    @media (max-width: 900px) {
      footer { padding: 48px 6% 24px; }
      .footer-grid { grid-template-columns: 1fr !important; gap: 32px; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
      .footer-logo-ja { font-size: 20px; }
    }
    @media (max-width: 768px) {
      .footer-license { flex-direction: column; gap: 6px; }
      .footer-license-item { width: fit-content; }
    }

    /* --- モバイルメニュー --- */
    @media (max-width: 900px) {
      .hamburger { display: flex; }
      nav { display: none; }
      .mobile-menu a { font-size: 18px; }
    }

    /* --- ボタン --- */
    @media (max-width: 768px) {
      .btn { padding: 14px 24px; font-size: 12px; }
      .form-submit { width: 100%; justify-content: center; }
    }

    /* --- 横スクロール防止 --- */
    body { overflow-x: hidden; max-width: 100vw; }
    .fv, .services-bg, .contact-bg, .strength-bg { overflow-x: hidden; }

    /* ═══════════════════════════════════════
       Fix5: FV title / service tags / mobile
       ═══════════════════════════════════════ */

    /* --- FV title 2-line balance --- */
    .fv-title {
      word-break: keep-all !important;
      overflow-wrap: normal !important;
    }

    /* --- Service tags 2-column grid for all cards --- */
    .service-tags-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 6px !important;
      margin-top: 20px !important;
    }
    .service-tags-grid .service-tag {
      text-align: center;
      padding: 5px 6px !important;
      font-size: 10px;
    }

    /* ── Mobile improvements (Fix5) ───────── */

    /* Hamburger always visible on small screens */
    @media (max-width: 900px) {
      .hamburger { display: flex !important; position: relative; z-index: 201; }
      nav { display: none !important; }
    }

    /* FV section: tighter on small screens */
    @media (max-width: 480px) {
      .fv-content { padding: 0 5%; }
      .fv-title { font-size: clamp(24px, 8vw, 46px) !important; line-height: 1.25 !important; }
      .fv-tag-text { font-size: 9px !important; letter-spacing: 0.2em !important; }
      .fv-copy { font-size: 12px !important; line-height: 1.9 !important; }
      .fv-divider { margin-bottom: 20px; }
    }

    /* About section mobile */
    @media (max-width: 480px) {
      .about-catch { font-size: 18px !important; }
      .about-value-item { gap: 16px; padding: 18px 0; }
      .about-value-num { font-size: 22px; }
      .about-value-ttl { font-size: 14px; }
    }

    /* Services mobile: always 1 column on phones */
    @media (max-width: 640px) {
      .services-grid { grid-template-columns: 1fr !important; }
      .service-card { padding: 28px 20px !important; }
      .services-inner { padding: 0 5%; }
    }

    /* Works mobile */
    @media (max-width: 640px) {
      .works-grid { grid-template-columns: 1fr !important; }
      .section { padding: 60px 5%; }
    }
    @media (min-width: 481px) and (max-width: 900px) {
      .works-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }

    /* Contact mobile: stacked layout */
    @media (max-width: 768px) {
      .contact-inner { padding: 0 5%; }
      .contact-info-val { font-size: 16px !important; }
      .contact-info-label { font-size: 10px !important; letter-spacing: 0.4em; }
      .form-group { margin-bottom: 16px; }
      .form-input, .form-textarea, .form-select { font-size: 16px !important; } /* prevent iOS zoom */
    }
    @media (max-width: 480px) {
      .contact-grid { gap: 28px !important; }
    }

    /* Footer mobile */
    @media (max-width: 640px) {
      footer { padding: 40px 5% 20px; }
      .footer-grid { gap: 24px !important; }
      .footer-logo-ja { font-size: 18px; }
      .footer-catch { font-size: 11px; line-height: 2; }
      .footer-nav ul { gap: 10px; }
      .footer-nav a { font-size: 12px; }
      .footer-info-val { font-size: 12px; }
      .footer-copy { font-size: 10px; text-align: center; }
    }

    /* Button mobile */
    @media (max-width: 480px) {
      .btn { padding: 12px 20px; font-size: 12px; letter-spacing: 0.12em; }
      .form-submit { width: 100%; justify-content: center; padding: 16px 24px; }
    }

    /* News mobile */
    @media (max-width: 640px) {
      .news-item { gap: 12px; flex-wrap: wrap; padding: 16px 0; }
      .news-date { font-size: 11px; min-width: auto; }
      .news-cat { font-size: 9px; padding: 2px 8px; }
      .news-ttl { font-size: 13px; width: 100%; flex: none; }
      .news-arrow { display: none; }
    }

    /* Section header mobile */
    @media (max-width: 480px) {
      .section-en { font-size: 10px; letter-spacing: 0.4em; }
      .section-ja { font-size: clamp(20px, 6vw, 28px); }
    }

    /* Map mobile */
    @media (max-width: 768px) {
      iframe[src*="maps.google"] { height: 250px !important; }
      div[style*="height:380px"] { height: 250px !important; }
    }

    /* Prevent horizontal overflow globally */
    html, body { overflow-x: hidden !important; max-width: 100%; }
    section, div { max-width: 100%; }
    .fv-circuit, .fv-bg-text { display: none; }

    /* Mobile menu improved */
    @media (max-width: 900px) {
      .mobile-menu { padding: 20px; }
      .mobile-menu a { font-size: 20px; letter-spacing: 0.15em; }
    }

    /* Touch friendly tap targets */
    @media (max-width: 900px) {
      nav a, .mobile-menu a, .footer-nav a { min-height: 44px; display: flex; align-items: center; }
      .hamburger { padding: 8px; }
    }

    /* Google Maps container */
    .map-container {
      position: relative;
      width: 100%;
      height: 380px;
    }
    @media (max-width: 768px) {
      .map-container { height: 250px; }
    }
    .map-container iframe {
      position: absolute;
      top: 0; left: 0;
      width: 100% !important;
      height: 100% !important;
    }


    /* ══ Fix6: service-tags-grid compound selector override ══ */
    .service-tags.service-tags-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 8px !important;
      margin-top: 16px !important;
      flex-wrap: unset !important;
    }
    .service-tags.service-tags-grid .service-tag {
      text-align: center;
      padding: 5px 4px !important;
      font-size: 10px;
      width: auto !important;
      flex: unset !important;
    }

    /* ══ Fix8: 日常に の下の横線（electric-text::after）を削除 ══ */
    .fv-title .electric-text::after {
      display: none !important;
    }


    /* ══ Fix9: LINE button hover animation ══ */
    .line-btn {
      transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
    }
    .line-btn:hover {
      transform: translateY(-4px) scale(1.04) !important;
      box-shadow: 0 8px 24px rgba(6,199,85,0.45) !important;
      background: #05b34c !important;
    }
    .line-btn:active {
      transform: translateY(-1px) scale(1.01) !important;
    }

    /* ══════════════════════════════════════════════════
       Fix: サービスカード タグ行の横ライン揃え（最終版）
       ── service-card を内部 CSS Grid に切り替え ──
       行構成: icon / sub / ttl / desc(1fr) / tags(auto)
       1fr の desc が残り高さを吸収し、tags が常に底辺に揃う
       ══════════════════════════════════════════════════ */

    /* 外側グリッド: 全カードを同じ行高に */
    .services-grid {
      align-items: stretch !important;
    }

    /* サービスカードを内部 Grid に */
    .service-card {
      display: grid !important;
      flex-direction: unset !important;
      grid-template-columns: 1fr !important;
      grid-template-rows: auto auto auto 1fr auto !important;
      row-gap: 0 !important;
    }

    /* 各子要素を明示的に行に割り当て */
    .service-card > .service-icon  { grid-row: 1 !important; align-self: start !important; }
    .service-card > .service-sub   { grid-row: 2 !important; align-self: start !important; }
    .service-card > .service-ttl   { grid-row: 3 !important; align-self: start !important; }
    .service-card > .service-desc  {
      grid-row: 4 !important;
      align-self: start !important;
      flex: unset !important;
    }
    .service-card > .service-tags,
    .service-card > .service-tags.service-tags-grid {
      grid-row: 5 !important;
      align-self: end !important;
      margin-top: 20px !important;
    }

    /* ── 写真追加スタイル ── */
    .about-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    .about-photo-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(8,6,8,0.15) 0%,
        rgba(8,6,8,0.0) 40%,
        rgba(8,6,8,0.55) 100%
      );
    }


    /* ══ LINE公式アカウントセクション ══ */
    .contact-line {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
      background: rgba(6,199,85,0.03);
      border: 1px solid rgba(6,199,85,0.15);
    }
    .contact-line-label {
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
      font-size: 11px;
      letter-spacing: 0.5em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .contact-line-desc {
      font-size: 13px;
      line-height: 2.2;
      color: rgba(244,240,230,0.55);
      letter-spacing: 0.08em;
      margin-bottom: 36px;
    }

    /* QRコード枠 */
    .line-qr-wrap {
      width: 192px;
      height: 192px;
      margin: 0 auto 36px;
      border: 1px solid rgba(6,199,85,0.3);
      background: rgba(255,255,255,0.02);
      position: relative;
      overflow: hidden;
    }
    .line-qr-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    .line-qr-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      width: 100%;
      height: 100%;
      color: rgba(244,240,230,0.3);
      font-size: 11px;
      letter-spacing: 0.1em;
      line-height: 1.9;
    }

    /* モバイル対応 */
    @media (max-width: 768px) {
      .contact-line { padding: 40px 24px; }
      .line-qr-wrap { width: 160px; height: 160px; }
    }

    /* ══ 固定お問い合わせボタン（常時表示） ══ */
    .float-contact {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 9999;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 24px;
      background: var(--gold);
      color: #0a0808;
      text-decoration: none;
      border-radius: 2px;
      font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2em;
      box-shadow: 0 4px 20px rgba(201,168,76,0.4), 0 1px 4px rgba(0,0,0,0.4);
      transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    }
    .float-contact:hover {
      background: #e0c060;
      transform: translateY(-3px);
      box-shadow: 0 8px 32px rgba(201,168,76,0.55), 0 2px 8px rgba(0,0,0,0.4);
    }
    .float-contact:active {
      transform: translateY(-1px);
    }
    .float-contact-icon {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .float-contact {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 11px;
        gap: 8px;
      }
    }
