/*
Theme Name:  ORPLY
Theme URI:   https://orply.jp/
Author:      ORPLY
Description: ORPLY公式サイト用WordPressテーマ。エディトリアル×クリエイティブスタジオ系デザイン。
Version:     1.9.0
Requires at least: 6.0
Tested up to: 6.5
License:     Proprietary
Text Domain: orply
*/

/* ─────────────────────────────────────────────────
   CUSTOM FONTS
───────────────────────────────────────────────── */
@font-face {
  font-family: 'NicoKaku';
  src: url('assets/fonts/nicokaku.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --yellow: #FFB400;
  --black:  #0D0D0D;
  --white:  #FFFFFF;
  --cream:  #F4EFE6;
  --gray:   #888888;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

/* ─────────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,0,0,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.08s linear;
}

/* ─────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 28px clamp(52px, 8vw, 160px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  mix-blend-mode: difference;
}
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.25s;
  mix-blend-mode: difference;
}
.nav-links a:hover { opacity: 1; }

/* ─────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 88px clamp(52px, 8vw, 160px);
}
.hero-ghost {
  position: absolute;
  top: 45%;
  left: -2%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(200px, 24vw, 380px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.hero-slice {
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background: var(--yellow);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.07;
  pointer-events: none;
}
.hero-rule {
  position: absolute;
  top: 0;
  right: clamp(240px, 22vw, 320px);
  width: 1.5px;
  height: 100%;
  background: var(--yellow);
  opacity: 0.35;
}
.hero-side-label {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}
.hero-tag {
  position: absolute;
  top: 92px;
  right: 52px;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.hero-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(110px, 15vw, 240px);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-left: -5px;
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title .yellow { color: var(--yellow); }
.hero-bottom {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-top: 40px;
}
.hero-copy {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.42);
  max-width: 260px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}
.hero-scroll-wrap {
  margin-left: auto;
  margin-right: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}
.scroll-bar {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.scroll-bar::after {
  content: '';
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollBar 2s ease infinite;
}
@keyframes scrollBar {
  0%  { top: -100%; }
  100%{ top: 100%; }
}
.scroll-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 0 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--black);
}
.marquee-sep {
  width: 5px; height: 5px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────
   SHARED UTILITIES
───────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 64px;
}
.section-tag::before {
  content: '';
  width: 36px; height: 1px;
  background: currentColor;
}
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.on {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.32s; }

/* ─────────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────────── */
.services {
  padding: 120px clamp(52px, 8vw, 160px) 180px;
  background: var(--cream);
}
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}
.services-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--black);
}
.services-title .acc { color: var(--yellow); }
.services-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #888;
  font-weight: 300;
  max-width: 280px;
  text-align: right;
}
.svc-grid {
  display: flex;
  align-items: flex-start;
  margin-top: 60px;
}
.svc-card {
  flex: 1;
  padding: 52px 40px 64px;
  min-height: 460px;
  position: relative;
  backdrop-filter: blur(2px);
}
.svc-card--dark {
  background: rgba(13,13,13,0.72);
  margin-top: 100px;
  margin-right: -28px;
  z-index: 1;
  box-shadow: 8px 0 32px rgba(0,0,0,0.12);
}
.svc-card--yellow {
  background: rgba(255,180,0,0.72);
  margin-top: 0;
  margin-right: -28px;
  z-index: 2;
  box-shadow: 8px 0 32px rgba(0,0,0,0.08);
}
.svc-card--bright {
  background: rgba(255,222,60,0.75);
  margin-top: 52px;
  z-index: 3;
}
.svc-num-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.svc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.28em;
}
.svc-card--dark .svc-num  { color: var(--yellow); }
.svc-card--yellow .svc-num,
.svc-card--bright .svc-num { color: rgba(0,0,0,0.35); }
.svc-jp-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.svc-card--dark .svc-jp-label  { color: rgba(255,255,255,0.45); }
.svc-card--yellow .svc-jp-label,
.svc-card--bright .svc-jp-label { color: rgba(0,0,0,0.45); }
.svc-name {
  font-family: 'NicoKaku', sans-serif;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.svc-card--dark .svc-name  { color: var(--white); }
.svc-card--yellow .svc-name,
.svc-card--bright .svc-name { color: var(--black); }
.svc-divider {
  width: 24px;
  height: 1px;
  margin-bottom: 18px;
}
.svc-card--dark .svc-divider  { background: var(--yellow); }
.svc-card--yellow .svc-divider,
.svc-card--bright .svc-divider { background: rgba(0,0,0,0.25); }
.svc-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.svc-card--dark .svc-body  { color: rgba(255,255,255,0.75); }
.svc-card--yellow .svc-body,
.svc-card--bright .svc-body { color: rgba(0,0,0,0.75); }

/* ─────────────────────────────────────────────────
   WORKS
───────────────────────────────────────────────── */
.works {
  background: var(--black);
  color: var(--white);
  padding: 140px clamp(52px, 8vw, 160px) 80px;
}
.works-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}
.works-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 8vw, 128px);
  line-height: 0.88;
}
.works-period {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  padding-bottom: 14px;
}
.logo-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.logo-row-wrap {
  padding: 64px 0 72px;
}
.logo-row-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.logo-row-label::before,
.logo-row-label::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.logo-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 40px;
}
.logo-cell {
  flex: 1;
  min-width: 260px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img-wrap {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
  box-sizing: border-box;
}
.logo-img-wrap img {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-placeholder {
  width: 120px;
  height: 48px;
  border: 1px dashed rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.logo-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  margin-top: 40px;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────────── */
.about {
  background: var(--cream);
  padding: 160px clamp(52px, 8vw, 160px);
  position: relative;
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-ghost {
  position: absolute;
  bottom: -40px; left: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 260px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.about-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 7vw, 108px);
  line-height: 0.9;
  position: relative;
  z-index: 1;
}
.about-title .yline { color: var(--yellow); }
.about-text {
  font-size: 15px;
  line-height: 2.1;
  color: #444;
  font-weight: 300;
  margin-bottom: 28px;
}
.about-text strong { color: var(--black); font-weight: 700; }
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
  transition: color 0.25s;
  margin-top: 12px;
}
.about-cta:hover { color: #888; }
.about-brand-note {
  margin-top: 64px;
  position: relative;
  padding: 36px 40px 36px 36px;
  background: rgba(255,180,0,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.about-brand-note::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 200px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMjAgMTYwIj48Y2lyY2xlIGN4PSI4NSIgY3k9IjgwIiByPSI2OCIgZmlsbD0iI0ZGQjQwMCIvPjxjaXJjbGUgY3g9IjEzNSIgY3k9IjgwIiByPSI2OCIgZmlsbD0iI0Y0RUZFNiIgb3BhY2l0eT0iMC42NSIvPjwvc3ZnPg==");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}
.about-brand-note::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.abn-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.abn-body {
  font-size: 13px;
  line-height: 2.1;
  color: #666;
  position: relative;
  z-index: 1;
}
.abn-body p {
  margin: 0 0 16px;
}
.abn-body p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────── */
.contact {
  background: var(--black);
  color: var(--white);
  padding: 160px clamp(52px, 8vw, 160px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(180px, 28vw, 420px);
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.contact-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 44px;
}
.contact-title {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
  position: relative;
}
.contact-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-bottom: 52px;
  line-height: 2;
}
.contact-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 22px 72px;
  text-decoration: none;
  transition: background 0.3s ease;
  position: relative;
}
.contact-btn:hover { background: var(--white); }

/* Contact Form 7 スタイル */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: left;
}
.wpcf7 p { margin-bottom: 0; }
.wpcf7 label,
.wpcf7 .cf7-item label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-color: rgba(255,255,255,0.25);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,180,0,0.03);
}
.wpcf7 select {
  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='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.wpcf7 select option { background: #1a1a1a; color: var(--white); }
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
}
.wpcf7 .wpcf7-list-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--yellow);
  cursor: pointer;
  flex-shrink: 0;
}
.wpcf7 input[type="submit"],
.wpcf7 input[type="submit"].cf7-submit {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 20px 64px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 32px;
  border-radius: 0;
}
.wpcf7 input[type="submit"]:hover { background: var(--white); }
/* CF7 レスポンスメッセージ（全状態の共通リセット） */
.wpcf7-response-output {
  margin: 28px 0 0;
  padding: 18px 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: center;
  border-radius: 4px;
  border: none !important;          /* CF7デフォルトの緑・赤枠をリセット */
}

/* 送信成功 */
.wpcf7-mail-sent-ok {
  background: #F4EFE6;
  color: #0D0D0D !important;
}

/* 送信失敗・バリデーションエラー */
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-acceptance-missing,
.wpcf7-spam-blocked {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.55) !important;
}

/* ─────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 36px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ft-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--white);
  flex: 1;
}
.ft-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 0 0 auto;
}
.ft-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.ft-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,180,0,0.06);
}
.ft-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.ft-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  flex: 1;
  text-align: right;
}

/* ─────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* カーソル非表示 */
  .cursor,
  .cursor-ring { display: none !important; }
  body { cursor: auto; }

  /* ── NAV ── */
  nav { padding: 18px 20px !important; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 9px; letter-spacing: 0.1em; }

  /* ── HERO ── */
  .hero {
    padding: 0 0 64px 20px !important;
    min-height: 100svh;
  }
  .hero-ghost { font-size: 120px; left: -8px; }
  .hero-title {
    font-size: clamp(68px, 18vw, 100px) !important;
    white-space: normal !important;
  }
  .hero-label { font-size: 9px; letter-spacing: 0.2em; }
  .hero-rule,
  .hero-side-label { display: none; }
  .hero-tag { right: 20px; top: 72px; font-size: 9px; padding: 5px 10px; }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 24px;
  }
  .hero-copy { max-width: 100%; font-size: 12px; }
  .hero-scroll-wrap { display: none; }

  /* ── MARQUEE ── */
  .marquee-item { font-size: 15px; gap: 24px; padding: 0 24px; }

  /* ── SERVICES ── */
  .services { padding: 72px 20px 88px !important; }
  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .services-title { font-size: clamp(48px, 13vw, 72px) !important; }
  .services-desc {
    text-align: left !important;
    max-width: 100%;
  }
  .svc-grid {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
    margin-top: 40px;
  }
  .svc-card {
    flex: none !important;
    min-height: unset !important;
    padding: 36px 28px 44px !important;
  }
  .svc-card--dark {
    margin-top: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }
  .svc-card--yellow {
    margin-top: 0 !important;
    margin-right: 0 !important;
    box-shadow: none !important;
  }
  .svc-card--bright { margin-top: 0 !important; }
  .svc-name { font-size: 38px !important; }
  .svc-num-row { margin-bottom: 28px; }
  .svc-body { font-size: 13px !important; }

  /* ── WORKS ── */
  .works { padding: 72px 20px 60px !important; }
  .works-head { flex-direction: column; gap: 8px; margin-bottom: 40px; }
  .works-title { font-size: clamp(52px, 14vw, 80px) !important; }
  .logo-cell { min-width: 100% !important; }
  .logo-img-wrap { padding: 24px 28px !important; min-height: 100px !important; }
  .logo-img-wrap img { max-width: 160px !important; max-height: 60px !important; }

  /* ── ABOUT ── */
  .about { padding: 80px 20px 88px !important; }
  .about-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-ghost { font-size: 130px; }
  .about-title { font-size: clamp(52px, 14vw, 80px) !important; }
  .about-brand-note { padding: 28px 24px !important; }

  /* ── CONTACT ── */
  .contact { padding: 80px 20px !important; }
  .contact-ghost { font-size: clamp(80px, 24vw, 140px) !important; }
  .contact-title { font-size: clamp(24px, 7vw, 36px) !important; }
  .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 18px 24px !important;
  }

  /* ── FOOTER ── */
  footer {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 36px 20px !important;
    text-align: center;
  }
  .ft-logo { flex: none !important; }
  .ft-copy { flex: none !important; text-align: center !important; }
}
