/* OutfitBloom redesign - local resources only, no external URLs */
:root {
  --primary: #0F172A;
  --secondary: #334155;
  --cta: #0369A1;
  --bg: #F8FAFC;
  --text: #020617;
  --text-muted: #475569;
  --border: #E2E8F0;
  --white: #FFFFFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.header-logo {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-nav a:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.header-nav a:hover {
  color: var(--cta);
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.75rem 1rem;
  }
  .header-logo {
    height: 32px;
  }
  .header-nav {
    gap: 1rem;
  }
  .header-nav a {
    font-size: 0.8125rem;
  }
}

/* Sections common */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 640px;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-catch {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About */
.about .section-lead {
  margin-bottom: 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--cta);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.08);
}

.service-card:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-card-title {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Shop */
.shop-wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .shop-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.shop-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.shop-img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.shop-regions {
  margin: 0;
}

.shop-regions .region {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 1rem 0 0.5rem;
}

.shop-regions .region:first-child {
  margin-top: 0;
}

.shop-regions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.shop-regions a {
  font-size: 0.9375rem;
  color: var(--cta);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.shop-regions a:hover {
  opacity: 0.85;
}

/* News */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: block;
  padding: 1rem 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.news-list a:hover {
  background: rgba(15, 23, 42, 0.02);
}

.news-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.news-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

/* Voice */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.voice-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .voice-grid {
    grid-template-columns: 1fr;
  }
}

/* Online */
.online-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .online-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.online-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.online-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.online-recommend {
  margin-top: 1.5rem;
}

.online-recommend-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 0.75rem;
}

.online-recommend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.online-recommend li {
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.online-recommend li:last-child {
  border-bottom: none;
}

/* Flow */
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.flow-list li {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.flow-list img {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.flow-list .step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cta);
  margin: 0 0 0.25rem;
}

.flow-list .step-txt {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

@media (max-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .flow-list {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer-copy {
  font-size: 0.8125rem;
  margin: 0;
  opacity: 0.9;
}
