/* ===== DEKACARI - Global Styles ===== */
:root {
  --color-bg: #fffbf5;
  --color-primary: #ffffff;
  --color-accent: #f97316;
  --color-accent-hover: #ea6c0a;
  --color-text: #292524;
  --color-text-muted: #78716c;
  --color-border: #e7e5e4;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.site-logo span {
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-text);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg) !important;
}

/* ===== MAIN ===== */
main {
  padding-top: 64px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, #fffbf5 0%, #fff3e0 50%, #fffbf5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "185";
  position: absolute;
  font-size: 40vw;
  font-weight: 900;
  color: rgba(249, 115, 22, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.25rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
}

/* ===== DEKA CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.deka-card {
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.deka-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.15);
}

.deka-card-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--color-border);
}

.deka-card-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-text-muted);
}

.deka-card-body {
  padding: 1.25rem;
}

.deka-card-height {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.deka-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.deka-card-area {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.deka-card-catchphrase {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-left: 0.5rem;
}

.badge-travel {
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* ===== USECASE LIST ===== */
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.usecase-item {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.usecase-item:nth-child(even) {
  flex-direction: row-reverse;
}

.usecase-item-image {
  width: 48%;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.usecase-item-content {
  flex: 1;
}

.usecase-item-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.usecase-item-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.usecase-item-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===== DEKA DETAIL ===== */
.deka-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.deka-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.deka-detail-photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  background: var(--color-border);
}

.deka-detail-height {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.deka-detail-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.deka-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.deka-detail-catchphrase {
  position: relative;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--color-accent);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem 0.75rem 1.25rem;
  margin-bottom: 2.5rem;
}
.deka-detail-catchphrase::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 1.5rem;
  border: 6px solid transparent;
  border-top-color: var(--color-accent);
}
.catchphrase-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

/* ===== Deka Specs ===== */
.deka-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.deka-spec-item {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.deka-spec-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.deka-spec-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

.deka-spec-value small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Sub images gallery */
.deka-sub-images {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.deka-sub-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.15s, border-color 0.15s;
}

.deka-sub-thumb:hover,
.deka-sub-thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.genre-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  font-size: 0.813rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* ===== FAQ ===== */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.25rem 0;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.deka-detail-desc {
  line-height: 1.8;
  white-space: pre-wrap;
}

/* ===== FORM ===== */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-label .required {
  color: var(--color-accent);
  margin-left: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===== ABOUT / FAQ ===== */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 2rem 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.flow-step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}

.flow-step-arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  text-align: center;
  padding: 0.4rem 0;
  opacity: 0.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.faq-q {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.faq-a {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(160deg, #fff3e0 0%, #fffbf5 100%);
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ===== THANKS PAGE ===== */
.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* ===== BLOG CONTENT ===== */
.blog-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}

.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.blog-content li {
  margin-bottom: 0.4rem;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

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

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

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--color-bg);
  z-index: 160;
  display: flex;
  flex-direction: column;
  padding: 80px 2rem 2rem;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu a {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--color-accent);
}

.nav-cta-mobile {
  margin-top: 1.5rem;
  background: var(--color-accent);
  color: var(--color-bg) !important;
  text-align: center;
  padding: 0.875rem 1.25rem !important;
  border-radius: 4px;
  font-weight: 700 !important;
  border-bottom: none !important;
}

.nav-cta-mobile:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .hamburger,
  .mobile-menu-overlay,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .deka-detail-hero {
    grid-template-columns: 1fr;
  }

  .hero::before {
    font-size: 60vw;
  }

  .usecase-item {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .usecase-item-image {
    width: 100%;
  }

}
