/* Marumi Dress - Design 2026 */

:root {
  --pink:         #9B3A5A;
  --pink-hover:   #7D2E47;
  --accent:       #a25661;
  --accent-hover: #8A4952;
  --cream:        #FAF6F2;
  --border:       #E8DDD8;
  --text:         #2C2C2C;
  --muted:        #999;
}

* { box-sizing: border-box; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  margin: 0;
  background: #fff;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-top {
  display: flex;
  align-items: center;
  padding: 8px 16px;
}

@media (min-width: 768px) {
  .header-top {
    padding: 12px 40px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
  }
}

.hamburger-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-brand {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.brand-name {
  /* font-family: Georgia, 'Times New Roman', serif; */
  font-size: 1.7rem;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name:hover { color: var(--pink); text-decoration: none; }

.brand-tagline {
  display: block;
  font-size: 0.58rem;
  color: #bbb;
  letter-spacing: 0.22em;
  margin-top: 3px;
}

.header-auth {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  flex-shrink: 0;
}

.header-auth a {
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 768px) {
  .header-auth {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .header-auth a {
    font-size: 0.72rem;
    padding: 5px 12px;
  }
}

.header-auth a:first-child {
  color: var(--pink);
  border: 1px solid var(--pink);
  background: transparent;
}

.header-auth a:first-child:hover {
  background: var(--pink);
  color: #fff;
}

.header-auth a:last-child {
  color: #ffdde3;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.header-auth a:last-child:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* ---- MAIN NAV ---- */
.main-nav { background: var(--accent); }

.main-nav-inner {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}

.main-nav-inner a {
  flex: 0 0 auto;
  color: #ffdde3;
  text-decoration: none;
  padding: 9px 18px;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  transition: background 0.15s;
  white-space: nowrap;
}

.main-nav-inner a:hover {
  background: rgba(0,0,0,0.12);
  color: #fff;
}

@media (min-width: 768px) {
  .main-nav-inner a { font-size: 0.85rem; padding: 11px 32px; }
}

/* ---- OFFCANVAS MENU ---- */
.offcanvas-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offcanvas-menu-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.offcanvas-menu-list a:hover { color: var(--pink); }

/* ---- HERO ---- */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: contain;
  display: block;
  background: var(--cream);
}

/* picture タグ経由でも同スタイルを適用 */
.carousel-item picture {
  display: block;
  width: 100%;
}

.carousel-item picture .hero-img {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-img { aspect-ratio: 16 / 7; }
}

.hero-no-image {
  width: 100%;
  aspect-ratio: 12 / 7;
  background: linear-gradient(140deg, #f0e8e5 0%, #ddd0cb 100%);
}

@media (min-width: 768px) {
  .hero-no-image { aspect-ratio: 16 / 7; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-tagline {
  position: absolute;
  top: 8%;
  left: 6%;
  font-size: clamp(0.62rem, 2vw, 0.88rem);
  color: rgba(255,255,255,0.92);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.38);
}

@media (min-width: 768px) {
  .hero-tagline { display: none; }
}

/* Concentric circles */
.hero-circles {
  position: absolute;
  left: 5%;
  top: 70%;
  transform: translateY(-45%);
  width: clamp(100px, 26vw, 185px);
  height: clamp(100px, 26vw, 185px);
}

.hc {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hc-0 { width: 134%; height: 134%; border: 1px   solid rgba(155,58,90,0.22); }
.hc-1 { width: 100%; height: 100%; border: 1.5px solid rgba(155,58,90,0.48); }
.hc-2 { width:  77%; height:  77%; border: 1.5px solid rgba(155,58,90,0.43); }
.hc-3 { width:  54%; height:  54%; border: 1.5px solid rgba(155,58,90,0.38); }
.hc-4 { width:  33%; height:  33%; border: 1.5px solid rgba(155,58,90,0.32); }

.hero-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.ct-main {
  display: block;
  /* font-family: Georgia, serif; */
  font-size: clamp(0.85rem, 2.3vw, 1.35rem);
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
  line-height: 1;
}

.ct-italic {
  display: block;
  /* font-family: Georgia, serif; */
  font-style: italic;
  font-size: clamp(0.78rem, 2.1vw, 1.2rem);
  color: #f4aabb;
  line-height: 1.15;
}

.ct-jp {
  display: block;
  font-size: clamp(0.4rem, 0.95vw, 0.58rem);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.14em;
  margin-top: 5px;
}

/* Hero CTA button */
.hero-cta-btn {
  position: absolute;
  bottom: 11%;
  right: 2%;
  pointer-events: auto;
  background: rgba(162, 86, 97, 0.88);
  color: #ffdde3;
  text-decoration: none;
  padding: clamp(7px, 1.2vw, 11px) clamp(12px, 2.0vw, 20px);
  font-size: clamp(0.64rem, 1.15vw, 0.78rem);
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background 0.2s;
  display: block;
  white-space: nowrap;
}

.hero-cta-btn:hover {
  background: rgba(138, 73, 82, 0.95);
  color: #fff;
}

/* Carousel indicators */
.hero-carousel .carousel-indicators { margin-bottom: 8px; }

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  margin: 0 3px;
  opacity: 1;
}

.hero-carousel .carousel-indicators .active { background: #fff; }

/* ---- QUICK LINKS GRID ---- */
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.quick-link-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.quick-link-cell:hover {
  background: var(--cream);
  color: var(--text);
}

/* ---- SECTION HEADING BAR ---- */
.section-heading-bar {
  background: var(--accent);
  color: #ffdde3;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  font-weight: 400;
  margin: 0;
  border: none;
}

/* ---- HOME PRODUCTS GRID ---- */
.home-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  padding: 2px;
}

@media (min-width: 768px) {
  .home-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .home-products-grid { grid-template-columns: repeat(4, 1fr); }
}

.home-product-card { background: #fff; }

.home-product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
}

.home-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.home-product-card:hover .home-product-img-wrap img {
  transform: scale(1.04);
}

.home-product-card-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 9px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: block;
  transition: background 0.2s;
}

.home-product-card-btn:hover {
  background: rgba(155,58,90,0.72);
  color: #fff;
}

/* ---- GENERAL UTILITIES ---- */

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

.btn-primary { background: var(--pink); border-color: var(--pink); }
.btn-primary:hover, .btn-primary:focus {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
}

.btn-outline-primary { color: var(--pink); border-color: var(--pink); }
.btn-outline-primary:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 0.2rem rgba(155,58,90,0.2);
}

.pagination .page-link { color: var(--pink); }
.pagination .page-item.active .page-link {
  background: var(--pink);
  border-color: var(--pink);
}

.card {
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

@media (max-width: 768px) { .card:hover { transform: none; } }

@media (max-width: 480px) {
  .brand-name { font-size: 1.4rem; }
  .brand-tagline { font-size: 0.6rem; }
}

/* ---- PAGE WRAPPER ---- */
main {
  max-width: 1280px;
  margin: 0 auto;
}

/* Dress detail thumbnails */
.thumb-item { transition: opacity 0.15s, border-color 0.15s; opacity: 0.65; }
.thumb-item:hover { opacity: 1; }
.thumb-item.active-thumb { opacity: 1; border-color: var(--pink) !important; }

/* Footer */
footer { border-top: 1px solid var(--border); }
footer a { color: #666; }
footer a:hover { color: var(--pink); }
@media (max-width: 767px) {
  footer .list-unstyled { font-size: 0.78rem; }
}

/* Alerts */
.alert-success { background: #d4edda; border-color: #c3e6cb; color: #155724; }
.alert-danger  { background: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.alert-info    { background: #d1ecf1; border-color: #bee5eb; color: #0c5460; }

/* Table */
.table th { font-weight: 600; color: #666; }

/* Dress description sections */
.dress-description { font-size: 0.95rem; line-height: 1.8; }
.desc-section { padding-left: 0; }
.desc-section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.dress-description .table td,
.dress-description .table th { padding: 0.2rem 0.5rem; font-size: 0.9rem; }
