/* =============================
   TORIYA GARMENT — Official Site
   ============================= */

:root {
  --black: #0a0a0a;
  --black-mid: #111111;
  --black-light: #1a1a1a;
  --gold: #C9A84C;
  --gold-light: #e2c06a;
  --white: #ffffff;
  --gray: #888888;
  --gray-light: #cccccc;
  --font-heading: 'Cinzel Decorative', 'Cinzel', serif;
  --font-sub: 'Cinzel', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

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

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

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
}

.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-left a,
.nav-right a {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}

.nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--gold);
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo img {
  height: 36px;
  width: auto;
  transition: opacity var(--transition);
}

.nav-logo img:hover {
  opacity: 0.8;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-logo {
  width: 600px;
  max-width: 85vw;
  margin: 0 auto 32px;
  animation: fadeInUp 1.2s ease both;
}

.hero-tagline {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--gray);
  margin-bottom: 48px;
  animation: fadeInUp 1.2s ease 0.2s both;
}

.hero-btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 40px;
  transition: all var(--transition);
  animation: fadeInUp 1.2s ease 0.4s both;
}

.hero-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll span {
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gray);
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: var(--gold);
  color: var(--black);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.announce-bar span {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 3px;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 8px;
  color: var(--white);
  margin-bottom: 12px;
}

.section-sub {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--black-mid);
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover {
  background: var(--black-light);
}

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

.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition), transform 0.6s ease;
}

.img-back {
  opacity: 0;
}

.product-card:not(.no-flip):hover .img-front {
  opacity: 0;
  transform: scale(1.03);
}

.product-card:not(.no-flip):hover .img-back {
  opacity: 1;
  transform: scale(1.03);
}

.product-card.no-flip:hover .img-front {
  opacity: 1;
  transform: scale(1.03);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 4px 10px;
  z-index: 2;
}

.product-info {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.product-name {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.product-price {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}

.add-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gray-light);
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 3px;
  padding: 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.add-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ===== GOLD DIVIDER ===== */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 60px;
}

/* ===== LOOKBOOK ===== */
.lookbook-section {
  background: var(--black-mid);
}

.lookbook-grid {
  display: flex;
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
}

.lookbook-item {
  overflow: hidden;
  background: var(--black-light);
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.lookbook-item:hover img {
  transform: scale(1.04);
}

.lookbook-item.large {
  flex: 2;
  aspect-ratio: 2/3;
}

.lookbook-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lookbook-side .lookbook-item {
  flex: 1;
  aspect-ratio: unset;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--black);
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-logo {
  flex: 1;
  opacity: 0.85;
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 32px;
}

.about-text p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.about-en {
  font-family: var(--font-sub) !important;
  font-size: 13px !important;
  letter-spacing: 3px;
  color: var(--gold) !important;
  font-style: italic;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--black-mid);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
  transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray);
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== FOOTER ===== */
.footer {
  background: #050505;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  height: 32px;
  width: auto;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
}

.footer-sns a {
  transition: color var(--transition);
}

.footer-sns a:hover {
  color: var(--gold);
}

.footer-copy {
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(136,136,136,0.5);
}

/* =============================
   RESPONSIVE — MOBILE / TABLET
   ============================= */

/* ===== TABLET (〜1024px) ===== */
@media (max-width: 1024px) {
  .nav {
    padding: 0 32px;
  }

  .section {
    padding: 80px 32px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gold-divider {
    margin: 0 32px;
  }

  .about-inner {
    gap: 48px;
  }

  .footer {
    padding: 48px 32px;
  }

  .footer-links {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== MOBILE (〜768px) ===== */
@media (max-width: 768px) {

  /* Header */
  .nav {
    padding: 0 20px;
    height: 60px;
  }

  .nav-left,
  .nav-right {
    gap: 20px;
  }

  .nav-left a,
  .nav-right a {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .nav-logo img {
    height: 28px;
  }

  /* Hero */
  .hero-logo {
    width: 85vw;
    margin-bottom: 24px;
  }

  .hero-tagline {
    font-size: 9px;
    letter-spacing: 4px;
    margin-bottom: 36px;
  }

  .hero-btn {
    font-size: 10px;
    padding: 12px 32px;
  }

  /* Sections */
  .section {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 22px;
    letter-spacing: 5px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Product Grid → 2列 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .product-info {
    padding: 14px;
  }

  .product-name {
    font-size: 9px;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .add-btn {
    font-size: 8px;
    padding: 9px;
  }

  /* Gold Divider */
  .gold-divider {
    margin: 0 20px;
  }

  /* Lookbook */
  .lookbook-grid {
    flex-direction: column;
  }

  .lookbook-item.large {
    flex: unset;
    aspect-ratio: 4/3;
  }

  .lookbook-side {
    flex-direction: row;
  }

  .lookbook-side .lookbook-item {
    aspect-ratio: 1/1;
  }

  /* About */
  .about-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-logo {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text p {
    font-size: 13px;
    line-height: 2;
  }

  /* Footer */
  .footer {
    padding: 48px 20px;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logo {
    height: 26px;
  }
}

/* ===== SMALL MOBILE (〜480px) ===== */
@media (max-width: 480px) {

  /* ナビ — テキスト非表示、ロゴのみ */
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .nav {
    justify-content: center;
  }

  /* Hero */
  .hero-tagline {
    font-size: 8px;
    letter-spacing: 3px;
  }

  /* Product Grid → 1列 */
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  /* About */
  .about-text p {
    font-size: 12px;
  }

  /* Contact */
  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 14px 16px;
  }

  /* Footer */
  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 9px;
  }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  z-index: 99;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.open {
  max-height: 300px;
  padding: 20px 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul li a {
  display: block;
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gray-light);
  padding: 16px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu ul li a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

@media (max-width: 480px) {
  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

