/* ================================================================
   STORUS — Apple-style CSS
   Design: Minimalist / High-contrast / Premium
   ================================================================ */

/* --- Variables --- */
:root {
  --white:    #ffffff;
  --bg-gray:  #f5f5f7;
  --bg-dark:  #1d1d1f;
  --text:     #1d1d1f;
  --text-2:   #6e6e73;
  --text-3:   #86868b;
  --accent:   #0071e3;
  --accent-h: #0077ed;
  --red:      #e84545;
  --border:   #d2d2d7;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:0 12px 48px rgba(0,0,0,.15);
  --ease:     .3s ease;
  --max:      980px;
  --max-wide: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Yu Gothic', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-h); text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* --- Typography --- */
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }
p  { font-size: 17px; color: var(--text-2); line-height: 1.75; }

/* --- Layout --- */
.container      { max-width: var(--max);      margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }
.section        { padding: 96px 0; }
.section-gray   { background: var(--bg-gray); }
.text-center    { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Section labels */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title    { margin-bottom: 18px; }
.section-subtitle { font-size: 19px; color: var(--text-2); max-width: 600px; line-height: 1.6; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  transition: background var(--ease), color var(--ease), transform var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover  { background: var(--accent-h); color: #fff; }
.btn-outline  { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover  { background: var(--accent); color: #fff; }

/* Purchase Buttons */
.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: filter var(--ease), transform var(--ease);
  border: none;
}
.buy-btn:active { transform: scale(.98); }
.buy-btn:hover  { filter: brightness(.92); text-decoration: none; }
.buy-btn-rakuten { background: #BF0000; color: #fff; }
.buy-btn-amazon  { background: #FF9900; color: #111; }
.buy-btn-yahoo   { background: #FF0033; color: #fff; }

/* --- Header --- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 52px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.10); }
.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo img { height: 30px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.header-nav a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 26px; font-weight: 700; color: var(--text); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--text-2);
  line-height: 1;
}

/* --- Main padding (fixed header offset) --- */
main { padding-top: 52px; }

/* --- Hero (Homepage) --- */
.hero {
  padding: 150px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 60%);
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-feature-settings: "palt";
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  color: #86868b;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-image {
  margin-top: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; object-fit: cover; }

/* --- Product Grid --- */
.products { padding: 96px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.product-card {
  background: var(--bg-gray);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e8e8;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-body {
  padding: 20px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.product-card-price { font-size: 16px; font-weight: 700; color: var(--text); }
.product-card-arrow { font-size: 14px; color: var(--accent); font-weight: 500; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.breadcrumb li { color: var(--text-3); }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; color: var(--text-3); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Product Detail --- */
.product-detail { padding: 56px 0 96px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.gallery { position: sticky; top: 72px; }
.gallery-main {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-gray);
  margin-bottom: 10px;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-gray);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--ease), opacity var(--ease);
  opacity: .55;
}
.gallery-thumb:hover,
.gallery-thumb.active { opacity: 1; border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info { position: sticky; top: 72px; }
.product-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.product-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-tagline {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.product-price-block { margin-bottom: 28px; }
.product-price-label { font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.product-price { font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.product-price-note { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.buy-buttons { display: flex; flex-direction: column; gap: 10px; }

/* Spec */
.spec-section { padding-top: 36px; border-top: 1px solid var(--border); margin-top: 36px; }
.spec-section-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.spec-list { display: flex; flex-direction: column; }
.spec-item {
  display: flex;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  gap: 12px;
}
.spec-label { width: 130px; flex-shrink: 0; color: var(--text-3); font-weight: 500; }
.spec-value { color: var(--text); }

/* --- Features --- */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.feature-card {
  background: var(--bg-gray);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--text);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 26px;
}
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-desc  { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* --- Brand Story --- */
.brand-story { padding: 96px 0; background: var(--bg-gray); }
.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.brand-story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.brand-story-text .eyebrow { margin-bottom: 14px; }
.brand-story-text h2 { margin-bottom: 22px; }
.brand-story-text p { margin-bottom: 18px; }
.brand-story-text p:last-child { margin-bottom: 0; }

/* --- FAQ --- */
.faq { padding: 96px 0; }
.faq-list { margin-top: 48px; max-width: 720px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--ease), background var(--ease), color var(--ease);
  font-weight: 300;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner { padding-bottom: 22px; }
.faq-answer-inner p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* --- Influencer Section --- */
.influencer {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}
.influencer .eyebrow { color: #6ac; }
.influencer h2 { color: var(--white); margin-bottom: 18px; }
.influencer p { color: rgba(255,255,255,.7); max-width: 640px; margin: 0 auto 12px; font-size: 15px; }
.influencer a { color: #6ac; }
.influencer a:hover { color: #fff; }

/* --- Collaboration Page Hero --- */
.collab-hero {
  padding: 72px 0 48px;
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}
.collab-hero .eyebrow { color: #6ac; }
.collab-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin: 12px 0 20px;
}
.collab-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}
.collab-form-section { padding-top: 24px; }
.collab-form-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 28px;
}

/* --- Influencer Form --- */
.inf-form {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
}
.inf-field {
  margin-bottom: 20px;
}
.inf-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}
.inf-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.inf-input::placeholder { color: rgba(255,255,255,.25); }
.inf-input:hover { border-color: rgba(255,255,255,.22); }
.inf-input:focus {
  border-color: #0071e3;
  background: rgba(0,113,227,.06);
  box-shadow: 0 0 0 3px rgba(0,113,227,.35), 0 0 16px rgba(0,113,227,.18);
}
.inf-input--error {
  border-color: #ff453a !important;
  box-shadow: 0 0 0 3px rgba(255,69,58,.25) !important;
}
.inf-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.inf-error {
  display: block;
  font-size: 12px;
  color: #ff6b63;
  margin-top: 6px;
  padding-left: 2px;
}
.inf-action {
  margin-top: 28px;
  text-align: center;
}
.inf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0071e3 0%, #0a84ff 100%);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 36px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,113,227,.38);
}
.inf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,113,227,.52);
}
.inf-btn:active { transform: translateY(0); }
.inf-btn:disabled { opacity: .55; cursor: default; transform: none; }
.inf-btn--loading .inf-btn-arrow { animation: inf-spin 0.7s linear infinite; display: inline-block; }
.inf-btn-arrow { transition: transform 0.2s ease; }
.inf-btn:not(:disabled):hover .inf-btn-arrow { transform: translateX(4px); }
@keyframes inf-spin { to { transform: rotate(360deg); } }

/* Success state */
.inf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
  pointer-events: none;
}
.inf-success--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.inf-check {
  width: 52px;
  height: 52px;
  color: #30d158;
  filter: drop-shadow(0 0 10px rgba(48,209,88,.45));
}
.inf-success p {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1.6;
}
.inf-back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.inf-back-link:hover { color: #fff; }

/* --- Footer --- */
.site-footer {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; color: var(--text-3); line-height: 1.75; }
.footer-col h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--text-2); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-address { font-size: 13px; color: var(--text-3); line-height: 1.9; font-style: normal; }
.footer-address a { color: var(--text-3); }
.footer-address a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .product-detail-grid,
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-info,
  .gallery { position: static; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .header-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 96px 0 72px; }
  .hero-title { letter-spacing: -0.025em; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-image { margin-top: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
