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

:root {
  --accent: #ff4d02;
  --accent-dim: #ff4d02;
  --bg-dark:   #0a0a0a;
  --bg-card:   #131313;
  --bg-mid:    #181818;
  --text:      #e8e8e8;
  --text-muted:#b8b8b8;
  --border:    rgba(255,255,255,0.07);
  --radius:    8px;
  --header-h:  68px;

  --fluid-sm:  clamp(0.8rem,  1.8vw, 1rem);
  --fluid-md:  clamp(1rem,    2.5vw, 1.2rem);
  --fluid-lg:  clamp(1.4rem,  3.5vw, 2rem);
  --fluid-xl:  clamp(1.4rem,  5.5vw, 2.5rem);
  --fluid-2xl: clamp(2rem,    8vw,   5rem);
}
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 10000;
  transition: background 0.3s;
}

#header.scrolled {
  background: rgba(8,8,8,0.97);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ロゴ */
.logo { flex-shrink: 0; }
.logo img {
  height: clamp(28px, 4vh, 50px);
  width: auto;
}
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--text);
}
.logo-text span { color: var(--accent); }

/* ===== PC NAV ===== */
#nav ul {
  display: flex;
  gap: clamp(8px, 1.5vw, 28px);
  list-style: none;
}

#nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  position: relative;
}

#nav a .jp {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s;
}

#nav a .en {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
}

#nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1.5px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(.4,0,.2,1);
}

#nav a:hover .jp { color: var(--accent); }
#nav a:hover .en { color: var(--accent); transform: translateY(1px); }
#nav a:hover::after { width: 100%; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10001;
  flex-shrink: 0;
}

.hamburger-icon {
  position: relative;
  width: 30px;
  height: 20px;
  flex-shrink: 0;
}

.hamburger span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

.hamburger-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  transition: color 0.3s;
  user-select: none;
}

.hamburger.open .hamburger-label {
  color: var(--accent);
}

/* ===== SP OVERLAY NAV ===== */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}
.sp-overlay.active {
  opacity: 1;
}

#nav-sp {
  position: fixed;
  top: 0; right: -380px;
  width: 380px; height: 100dvh;
  background: #0e0e0e;
  border-left: 1px solid var(--border);
  z-index: 9999;
  transition: right 0.38s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: calc(var(--header-h) + 30px) 32px 40px;
}
#nav-sp.active { right: 0; }

#nav-sp ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#nav-sp a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  font-size: 15px;
  font-weight: 600;
}
#nav-sp a .en {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: auto;
}
#nav-sp a:hover, #nav-sp a.active {
  background: rgba(255,92,0,0.12);
  color: var(--accent);
}
#nav-sp a:hover .en { color: var(--accent); }

.sp-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.sp-cta {
  margin-top: 24px;
}

/* ===== BTN ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background-color: #FFFFFF;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-ghost:hover {
  background: rgba(255,92,0,0.1);
}

.btn-dark {
  background: #1a1a1a;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-dark:hover { background: #252525; }

/* ===== MAIN ===== */
.main {
  position: relative;
  height: 100svh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* ===== ヒーロー背景画像 ===== */
.main-bg {
  position: absolute;
  inset: 0;
  background: url('../../img/top01.png') center / cover no-repeat;
  z-index: 0;
}

.main-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.65) 100%);
}

.main-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(16px, 5vw, 40px);
  max-width: 900px;
  animation: mainIn 1s cubic-bezier(.4,0,.2,1) both;
}

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

.main-badge {
  background: #ffffffeb;
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  border-radius: 30px;
  margin-bottom: 24px;
  animation: mainIn 1s 0.15s cubic-bezier(.4,0,.2,1) both;
}
@media (max-width: 600px) {
	  .main-badge {
	  font-size:8px;
	}
  }
  .card {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    margin-top: 0 !important;
  }
.main-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--fluid-2xl);
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: mainIn 1s 0.25s cubic-bezier(.4,0,.2,1) both;
 
}

.main-content h1 em,
.main-content p em {
  color: var(--accent);
  font-style: normal;
}

.main-content p {
  font-size: var(--fluid-md);
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  animation: mainIn 1s 0.35s cubic-bezier(.4,0,.2,1) both;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.main-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.main-actions .btn {
  flex: 1;
  max-width: 240px;
  justify-content: center;
  animation: mainIn 1s 0.45s cubic-bezier(.4,0,.2,1) both;
}

.main-scroll {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.35);
  animation: mainScrollIn 1s 0.7s both;
}

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

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: clamp(60px, 8vw, 120px) clamp(16px, 4vw, 40px);
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: var(--fluid-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-area {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.section-lead {
  font-size: var(--fluid-sm);
  color: var(--text-muted);
  max-width: 1100px;
  line-height: 1.9;
}

/* ===== PRODUCT SECTIONS ===== */
.product-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 40px);
}

.product-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.product-header-text { 
	max-width: 1000px; 
}
.product-header-text p.section-tagline{
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 700;
	color:var(--accent);
}

.product-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.9;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 28px);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              border-color 0.3s,
              box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
 /* border-color: rgba(255,92,0,0.3);*/
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,92,0,0.1);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-mid);
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

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

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #161616 0%, #1e1e1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder svg {
  width: 40px; height: 40px;
  opacity: 0.15;
}

.card-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.card:hover .card-img-placeholder img {
  transform: scale(1.05);
}

.card-body {
  padding: clamp(18px, 3vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.card-text {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-muted);
  line-height: 1.85;
  flex: 1;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 1px;
  margin-top: 8px;
  transition: gap 0.2s;
}

.card:hover .card-arrow { gap: 10px; }

.pdf-link-wrap {
  text-align: center;
  padding: 20px 0;
}
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  transition: opacity 0.2s;
}
.pdf-link:hover {
  opacity: 0.85;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-price-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}
.card-price-unit {
  font-size: 13px;
  color: var(--text-muted);
}
.card-price-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.6;
}
.card-price-days {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

/* ===== NUMBERS (実績) ===== */
.numbers-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 40px);
  text-align: center;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 60px);
  margin-top: 48px;
}

.number-item {
  position: relative;
}

.number-item::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: var(--border);
}

.number-item:last-child::after { display: none; }

.number-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 2px;
}

.number-unit {
  font-size: 18px;
  color: var(--text-muted);
}

.number-label {
  margin-top: 10px;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
 /* border-top: 1px solid rgba(255,92,0,0.15);*/
  text-align: center;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) clamp(16px, 4vw, 40px);
}

.cta-inner .section-title {
  margin-bottom: 30px;
  text-align: center;
}

.cta-inner .section-lead {
  margin: 0 auto 40px;
  text-align: left;
  font-size: clamp(14px, 1.5vw, 16px);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 40px);
  width: 100%;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* フッター上段：3カラム */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
}

/* ブランド */
.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.85;
}
.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-logo-text span { color: var(--accent); }

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: left;
}

/* ナビ */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.footer-nav a::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  align-self: center;
  margin-top: 1px;
  transition: width 0.25s;
}
.footer-nav a:hover {
  color: var(--text);
}
.footer-nav a:hover::before {
  width: 24px;
}

/* コンタクト＋SNS */
.footer-mail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.25s;
  margin-bottom: 24px;
  text-align: left;
}
.footer-mail svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
}
.footer-mail:hover { color: var(--text); }

.footer-sns {
  display: flex;
  gap: 16px;
}
.footer-sns a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.footer-sns a svg {
  width: 15px; height: 15px;
  fill: var(--text-muted);
  transition: fill 0.25s;
}
.footer-sns a:hover {
  border-color: var(--accent);
  background: rgba(255,92,0,0.08);
}
.footer-sns a:hover svg { fill: var(--accent); }

/* フッター下段 */
.footer-bottom {
  padding-top: 24px;
  padding-bottom: 16px;
  display: flex;
  justify-content: flex-start;
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
}

/* フッター レスポンシブ */
@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* モバイル固定SNSバー分の余白 */
  footer {
    padding-bottom: 90px;
  }
}

/* ===== PAGE TOP BUTTON ===== */
#page-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 888;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s;
  border: none;
}

#page-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#page-top:hover { background: var(--accent-dim); }

#page-top svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: #000;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== SNS FLOATING ICONS ===== */
.sns-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 887;
}

.sns-float a {
  width: 60px;
  height: 60px;
  background: rgba(19, 19, 19, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sns-float a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.12);
}

.sns-float a svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  transition: fill 0.25s;
}

.sns-float a:hover svg {
  fill: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  #nav { display: none; }
  .hamburger { display: flex; }
  .sp-overlay { display: block; pointer-events: none; }
  .sp-overlay.active { pointer-events: auto; }

  .product-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .number-item::after { display: none; }
  .number-item {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }
  .number-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .sns-float {
    right: auto;
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
  }

  .sns-float a {
    width: 44px;
    height: 44px;
  }

  #page-top {
    bottom: 80px;
    right: 16px;
  }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .main-actions { flex-direction: column; align-items: center; }
  .main-actions .btn { max-width: 280px; width: 100%; }
  .main-content p { font-size: 0.875rem; letter-spacing: 0; }
  .main-content p br { display: none; }
}

/* ===== FADE-IN ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1),
              transform 0.65s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== PARALLAX ===== */
.main-content,
.main-scroll,
.product-header-text {
  will-change: transform;
}

/* ===== LEFT SLIDE REVEAL ===== */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1),
              transform 0.65s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.section-title.reveal-left {
  transition-delay: 0.12s;
}

/* ===== MOBILE CARD ACCORDION ===== */
@media (max-width: 600px) {
  .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .card {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    margin-top: 0 !important;
  }
  .card:last-child { border-bottom: none; }
  .card:hover { transform: none; box-shadow: none; }

  /* ヘッダー行（常時表示） */
  .card-accordion-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
  }
  .card.open .card-accordion-hd {
    background: rgba(238,121,72,0.08);
  }
  .card-accordion-hd-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .card-accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  }
  .card.open .card-accordion-icon {
    transform: rotate(180deg);
  }

  /* 展開コンテンツ */
  .card-accordion-bd {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(.4,0,.2,1),
                opacity 0.35s cubic-bezier(.4,0,.2,1);
    opacity: 0;
  }
  .card.open .card-accordion-bd {
    max-height: 1200px;
    opacity: 1;
  }
  .card-accordion-inner {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  /* 展開時：画像を低く・テキストをコンパクトに */
  .card-accordion-bd .card-img-placeholder,
  .card-accordion-bd .card-img {
    aspect-ratio: 16 / 7;
  }
  .card-accordion-inner .card-text {
    font-size: 13px;
    line-height: 1.65;
	padding-top: 20px;
  }
}
