/*
  MiNiW Stylesheet
  - Mobile-first
  - Tsukimi Rounded for main catchphrase
  - Vibrant red as primary accent
  - Light gray (#F5F5F5) and white backgrounds
  - Unified border-radius: 8px (within 6-10px)
*/

:root {
  --color-primary: #E1122F; /* Vibrant Red */
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-bg: #F5F5F5;
  --color-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --container-max: 1200px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
}

/* Base Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans JP, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  max-width: var(--container-max);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: rgba(255,255,255,0.8);
  color: var(--color-text);
  border-color: rgba(0,0,0,0.06);
}
.btn-ghost:hover { background: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-primary);
  color: #fff;
  border-bottom: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 800; }
.logo-img { height: 28px; width: auto; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); border-radius: 6px; }

.site-nav { position: relative; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 8px; border-radius: 8px; }
.nav-toggle .bar { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.nav-list { list-style: none; margin: 0; padding: 0; position: absolute; right: 0; top: 48px; background: #fff; color: #111; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); min-width: 180px; display: none; }
.nav-list li a { display:block; padding: 12px 14px; color: inherit; text-decoration: none; }
.nav-list li a:hover { background: var(--color-bg); }
.nav-list.is-open { display: block; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex !important; position: static; box-shadow: none; border: 0; background: transparent; color: #fff; min-width: auto; gap: 20px; }
  .nav-list li a { padding: 10px 8px; border-radius: 8px; color: inherit; }
  .nav-list li a:hover { background: rgba(255,255,255,0.12); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  color: #111;
  background: #ddd center/cover no-repeat;
}
.hero-overlay { display: none; }
.hero-content { position: relative; text-align: left; padding: 64px 0; padding-left: 30px; }
.hero-title {
  font-family: "Tsukimi Rounded", system-ui, -apple-system, Segoe UI, Roboto, Noto Sans JP, Helvetica, Arial;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #fff;
}
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.9); margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (min-width: 640px) {
  .hero-title { font-size: 64px; }
  .hero-sub { font-size: 18px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 80vh; }
}

/* Products */
.products { display: grid; gap: 24px; padding: 40px 0; }
.product { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 160px; background: #ccc center/cover no-repeat; }
.product-media { position: absolute; inset: 0; background: inherit; filter: grayscale(100%) saturate(60%) brightness(0.9); transform: scale(1.02); transition: transform .6s ease; }
.product:hover .product-media { transform: scale(1.08); }
.product-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.6); }
.product-inner { position: relative; padding: 40px 20px; display: grid; gap: 12px; align-content: center; min-height: 160px; text-align: center; color: #000; }
.product-header { backdrop-filter: blur(2px); }
.product-title { margin: 0; font-size: 24px; color: #000; }
.product-sub { margin: 4px 0 0; color: #111; }
.product-status { margin: 14px auto 0; padding: 8px 16px; background: rgba(0,0,0,0.7); color: #fff; width: fit-content; border-radius: var(--radius-sm); letter-spacing: 0.2em; font-weight: 700; }
.product-note { margin: 6px 0 0; font-size: 14px; color: #444; }
.product--disabled { cursor: not-allowed; }
.product-blocker { position: absolute; inset: 0; }

@media (min-width: 960px) {
  .products { gap: 28px; padding: 60px 0; }
  .product-inner { padding: 80px; }
  .product-title { font-size: 32px; }
  .product-sub { font-size: 18px; }
}

/* Concept */
.concept { padding: 56px 0; }
.section-title { margin: 0 0 18px; font-size: 22px; }
.concept .section-title { text-align: center; }
.concept-card {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.concept-card p { margin: 0; font-size: 15px; }

@media (min-width: 960px) {
  .section-title { font-size: 28px; }
  .concept-card { padding: 32px; box-shadow: var(--shadow-md); }
  .concept-card p { font-size: 16px; }
}

/* Contact */
.contact { padding: 56px 0 72px; }
.contact .section-title { text-align: center; }
.contact-form {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 20px;
}
.form-row { display: grid; gap: 14px; }
.form-row + .form-row { margin-top: 10px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.contact-form label { font-size: 13px; color: #333; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 16px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(0,0,0,0.4); }
.contact-form textarea { resize: vertical; }
.form-actions { margin-top: 8px; }
.form-note { margin: 10px 0 0; color: var(--color-muted); font-size: 13px; }

/* Netlify honeypot should remain visually hidden but accessible off-flow */
.contact-form [name="bot-field"] { position: absolute; left: -9999px; }

@media (min-width: 960px) {
  .contact-form { padding: 28px; box-shadow: var(--shadow-md); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer { background: #000; color: #fff; border-top: none; margin-top: 40px; }
.footer-inner { display: grid; gap: 18px; padding: 24px 0; align-items: start; }
.site-footer .container { padding-left: 10px; }
.footer-brand .footer-tag { color: rgba(255,255,255,0.7); margin: 6px 0 0; font-size: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a { color: inherit; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-social a { color: #fff; display: inline-flex; padding: 8px; border-radius: 8px; }
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); }
.footer-bottom .container { padding: 12px 20px; padding-left: 10px; }

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1fr auto auto; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utility spacing */
section { scroll-margin-top: 72px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal-overlay.is-open { display: flex; }
.modal-card { width: 100%; max-width: 720px; background: #fff; color: #111; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-body { padding: 20px; max-height: 70vh; overflow: auto; }
.modal-title { margin: 0 0 10px; font-size: 20px; }
.modal-date { color: #555; font-size: 14px; }
.modal-close { position: absolute; top: 8px; right: 12px; background: transparent; border: 0; color: #111; font-size: 24px; line-height: 1; cursor: pointer; }
.modal-card dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 10px 0 16px; }
.modal-card dt { color: #555; }
.modal-card dd { margin: 0; }

/* Channel mark removed */


