/* ===== AK Works - Style Sheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3259;
  --accent: #e8a020;
  --accent-dark: #c4831a;
  --accent-light: #f5c355;
  --cyan: #4fc3f7;
  --white: #f0f4f8;
  --gray: #8fa0b4;
  --gray-light: #c8d6e5;
  --text: #d0dce8;
  --border: rgba(79,195,247,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo-link {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: .12em;
  color: var(--white);
}
.logo-main span { color: var(--accent); }
.logo-sub {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--gray);
  text-transform: uppercase;
}
nav.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-light);
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(79,195,247,.1); color: var(--white); }
.nav a.active { background: rgba(232,160,32,.15); color: var(--accent); }
.nav a.cart-btn {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 16px;
  position: relative;
}
.nav a.cart-btn:hover { background: var(--accent-light); color: var(--navy); }
.cart-count {
  display: none;
  position: absolute;
  top: -6px; right: -6px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.cart-count.show { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(17,34,64,0.72) 60%, rgba(10,22,40,0.92) 100%),
    url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1400&q=80') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--navy) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 15px;
  color: var(--gray-light);
  margin-bottom: 12px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(232,160,32,.3);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(79,195,247,.1); }
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-collage img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform .3s;
}
.hero-collage img:hover { transform: scale(1.03); }
.hero-collage img:nth-child(1) { border-color: rgba(232,160,32,.3); }

/* ===== MAIN LAYOUT ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.section-header {
  margin-bottom: 32px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
  border: none;
  padding: 0;
  margin: 0 0 8px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-top: 10px;
}
.lead {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* ===== NOTICE ===== */
.notice {
  background: rgba(232,160,32,.08);
  border: 1px solid rgba(232,160,32,.25);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--gray-light);
}

/* ===== PRODUCT CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border-color: rgba(232,160,32,.35);
}
.card-img-wrap {
  position: relative;
  background: #0d1e38;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-category {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(10,22,40,.85);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 4px;
}
.card-body { padding: 16px; }
.card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 8px;
}
.card p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.6;
}
.price {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.price-small {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-detail {
  flex: 1;
  display: inline-block;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--gray-light) !important;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.btn-detail:hover { background: rgba(255,255,255,.05); border-color: var(--cyan); color: var(--cyan) !important; }
.btn-cart {
  flex: 1;
  display: inline-block;
  text-align: center;
  background: var(--accent);
  color: var(--navy) !important;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-cart:hover { background: var(--accent-light); }

/* ===== CATEGORY FILTER ===== */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.category-filter button {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  color: var(--gray-light);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.category-filter button:hover { border-color: var(--cyan); color: var(--cyan); }
.category-filter button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  font-weight: 700;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 48px;
  align-items: start;
}
.product-img-wrap {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.product-detail h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.product-detail .price {
  font-size: 32px;
  margin-bottom: 20px;
}

/* ===== INFO BOX ===== */
.info-box, .product-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}
.info-box h2, .product-box h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.info-table, .price-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td,
.price-table th, .price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.info-table th { width: 200px; color: var(--gray); font-weight: 500; }
.info-table td { color: var(--white); }
.price-table th {
  background: rgba(79,195,247,.06);
  color: var(--cyan);
  font-weight: 600;
}
.price-table td { color: var(--text); }

/* ===== CART PAGE ===== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-name { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--accent); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  background: var(--navy-light);
  border: 1px solid var(--border);
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
  transition: background .2s;
}
.qty-btn:hover { background: rgba(79,195,247,.15); }
.qty-num { font-size: 15px; font-weight: 700; color: var(--white); min-width: 24px; text-align: center; }
.cart-remove {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  transition: color .2s;
}
.cart-remove:hover { color: #e53935; }
.cart-summary {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.cart-summary h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray-light);
}
.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  border: none;
  margin-top: 8px;
}
.cart-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray);
}
.cart-empty .empty-icon { font-size: 56px; margin-bottom: 16px; }
.cart-empty p { font-size: 16px; margin-bottom: 24px; }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--cyan);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ===== SERVICES PAGE ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color .25s, transform .25s;
}
.service-card:hover {
  border-color: rgba(232,160,32,.4);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.75; }
.service-tag {
  display: inline-block;
  margin-top: 16px;
  background: rgba(79,195,247,.1);
  border: 1px solid rgba(79,195,247,.2);
  color: var(--cyan);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .08em;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand span { color: var(--accent); }
.footer-tagline {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-bottom: 32px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: var(--gray);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  color: var(--white);
  margin-bottom: 4px;
}
.page-header p { font-size: 14px; color: var(--gray); }
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--white); }

/* ===== TOAST ===== */
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(232,160,32,.4);
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ===== UTILITIES ===== */
.text-accent { color: var(--accent); }
.text-cyan { color: var(--cyan); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.back-link { font-size: 14px; color: var(--gray); display: inline-block; margin-bottom: 24px; }
.back-link:hover { color: var(--white); }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
ul.spec-list { list-style: none; padding: 0; }
ul.spec-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
ul.spec-list li::before { content: '—  '; color: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .header-inner { height: auto; padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  nav.nav { flex-wrap: wrap; gap: 2px; }
  .nav a { padding: 7px 10px; font-size: 12px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero h1 { font-size: 34px; }
  .hero-collage { display: none; }
  main { padding: 40px 20px 64px; }
  .section-title { font-size: 26px; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 2px; border-bottom: none; }
}
