/*
Theme Name: South City
Author: Yusuke Kondo (South City Co., Ltd.)
Description: South City Design By Tokyo, New Urban Style. ONLINE STORE Custom Theme
Version: 1.0.0
Text Domain: southcity
*/

/* =========================================
   1. 変数定義・リセット・ベース
   ========================================= */
:root {
  --bg-color: #f4f4f0; 
/* ...以降は元のCSSが続きます ... */
/* =========================================
   1. 変数定義・リセット・ベース
   ========================================= */
:root {
  --bg-color: #f4f4f0; 
  --text-main: #1a1a1a; 
  --text-muted: #666666; 
  --border-color: #d1d1c7; 
  --btn-bg: #1a1a1a;
  --btn-text: #f4f4f0;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. タイポグラフィ
   ========================================= */
.font-oswald {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.font-mono {
  font-family: 'Space Mono', monospace;
}
.font-serif {
  font-family: 'Noto Serif JP', serif;
}

/* =========================================
   3. 共通ヘッダー（黒ベース・白文字）
   ========================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: #050505;
  border-bottom: 1px solid #222222;
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid #333333;
  backdrop-filter: blur(4px);
}

.header-logo-img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cart {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-left: 1px solid #333333;
  padding-left: 2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* =========================================
   4. トップページ：HERO & 共通セクション
   ========================================= */
.hero {
  padding: 80px 0 0 0; /* 両端と下の余白をなくしフル幅・フルブレードに */
  display: flex;
  flex-direction: column;
}

.hero-image-container {
  width: 100%;
  aspect-ratio: 32 / 9; /* 大型デスクトップ向けのウルトラワイド比率 */
  overflow: hidden;
  position: relative;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%) contrast(1.1);
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.hero-image.active {
  opacity: 1;
  z-index: 1;
}

.hero-text-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(244, 244, 240, 0.85); /* 半透明の白ボックス */
  backdrop-filter: blur(8px); /* すりガラス効果 */
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-color);
  z-index: 10;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.spec-bar {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-container {
  padding: 8rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
}

.view-all {
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 2px;
}

/* =========================================
   5. 下層ページ全般（タイトル位置・余白の強制統一）
   ========================================= */
.detail-main {
  padding: 120px 3rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 3rem !important;
  letter-spacing: 0.1em;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

.detail-main .section-header {
  margin-bottom: 4rem !important;
  align-items: flex-end;
}

.detail-main .section-title {
  font-size: 3.5rem !important;
  line-height: 1;
  margin-bottom: 0 !important;
}

.detail-main .section-header span {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 0.2rem;
}

/* =========================================
   6. プロダクト・ギャラリー・ジャーナル関連
   ========================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.filter-bar a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--text-main);
  font-weight: 700;
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 0.9rem;
  margin-bottom: -1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.product-card {
  text-decoration: none;
  color: var(--text-main);
  display: block;
}

.product-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #e8e8e3;
  margin-bottom: 1.5rem;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  mix-blend-mode: multiply;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-name {
  font-size: 1.2rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.5rem;
}

.journal-section {
  border-top: 1px solid var(--border-color);
  padding-top: 8rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.journal-text p {
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.journal-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #ddd;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.gallery-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #e8e8e3;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s;
}

.gallery-img-wrap img:hover {
  filter: grayscale(0%);
}

/* =========================================
   7. 商品詳細ページ
   ========================================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-image-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background: #e8e8e3;
  overflow: hidden;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.thumbnail-list {
  display: flex;
  gap: 1rem;
}

.thumbnail-wrap {
  width: 80px;
  aspect-ratio: 4/5;
  background: #e8e8e3;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail-wrap:hover,
.thumbnail-wrap.active {
  opacity: 1;
}

.thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.product-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

.product-price-sku {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.price {
  font-size: 1.5rem;
}

.sku {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-muted);
}

/* フォーム部品 */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

select,
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 1rem;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-main);
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  outline: none;
  border-radius: 0;
  appearance: none;
}

select {
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231a1a1a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: 0.65rem auto;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.add-to-cart-btn {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.3s;
  margin-top: 1rem;
}

.add-to-cart-btn:hover {
  opacity: 0.8;
}

.notice-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.details-accordion {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.details-row {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.details-title {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.size-table th,
.size-table td {
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border-color);
  text-align: left;
}

.size-table th {
  color: var(--text-muted);
  font-weight: normal;
}

/* =========================================
   8. カート & チェックアウト
   ========================================= */
.cart-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  padding: 1rem 0;
  text-align: left;
  border-bottom: 1px solid var(--text-main);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-table td {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-item-thumb {
  width: 70px;
  aspect-ratio: 4/5;
  background: #e8e8e3;
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.cart-summary {
  background: #e8e8e3;
  padding: 2.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.9rem;
}

.total-row {
  border: none;
  font-weight: 700;
  color: var(--text-main);
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* =========================================
   9. NEWS ページ
   ========================================= */
.news-item {
  display: grid;
  grid-template-columns: 140px 280px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
  align-items: start;
}

.news-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.5rem;
  margin-top: 0.5rem;
  letter-spacing: 0;
}

.news-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e8e3;
  overflow: hidden;
}

.news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.news-item:hover .news-thumb-wrap img {
  filter: grayscale(0%);
}

.news-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.news-body h2 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s;
}

.news-body h2 a:hover {
  color: var(--text-muted);
}

.news-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* =========================================
   10. COLLECTION ページ (PC版)
   ========================================= */
.collection-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

/* 1つ目のブロック（左:画像5、右:テキスト7） */
.collection-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: center;
}

/* 2つ目のブロック（左:テキスト7、右:画像5）にしてサイズを完全統一 */
.collection-block:nth-child(even) {
  grid-template-columns: 7fr 5fr;
}

.collection-img-wrap {
  aspect-ratio: 4/5 !important;
  overflow: hidden;
  background: #e8e8e3;
  width: 100%;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.7s ease;
}

.collection-block:hover .collection-img-wrap img {
  transform: scale(1.03);
}

.collection-season {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.collection-title-text {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.collection-desc {
  color: var(--text-muted);
  line-height: 2;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.collection-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 過去のコレクションはPC版で左右反転 */
.collection-block:nth-child(even) .past-img-order {
  order: 2;
}

.collection-block:nth-child(even) .past-text-order {
  order: 1;
}

/* =========================================
   11. 共通フッター
   ========================================= */
footer {
  background: #050505;
  color: #ffffff;
  border-top: 1px solid #222222;
  padding: 4rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 6rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #333333;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.8rem;
  color: #aaaaaa;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #888888;
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: #666666;
}

/* =========================================
   12. アニメーション
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   13. レスポンシブ対応
   ========================================= */

/* 1700px以下: 主にノートパソコンや中型モニター向けの最適化 */
@media (max-width: 1700px) {
  .hero-image-container {
    aspect-ratio: 16 / 9; /* ノートPC標準の16:9比率へ変更 */
  }
}

/* 1150px以下: メニューのハンバーガー化 */
@media (max-width: 1300px) {
  header { padding: 0 1.5rem; }
  .header-right { gap: 1.5rem; }
  .header-cart { border: none; padding-left: 0; }
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: #050505;
    flex-direction: column; justify-content: center; align-items: center;
    transition: right 0.4s ease; z-index: 100; gap: 2.5rem;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; }

  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* 900px以下: スマホ・タブレット版最適化 */
@media (max-width: 900px) {
  .hero { 
    padding: 80px 0 0 0; /* スマホでも余白をなくす */
  }
  .hero-image-container { 
    aspect-ratio: 4 / 5; /* スマホ向けの縦長4:5比率へ変更 */
  }
  
  .spec-bar { flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
  .section-container { padding: 4rem 1.5rem; }
  
  /* トップページ等の通常のセクションヘッダー (左寄せ維持) */
  .section-header { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem; 
  }
  
  /* 下層ページのセクションタイトルのみ中央寄せに強制 */
  .detail-main .section-header { 
    align-items: center; 
    text-align: center; 
    gap: 0.5rem; 
  }
  .detail-main .section-title { 
    font-size: 2.8rem !important; 
    text-align: center; 
  }
  .detail-main .section-header span { 
    align-self: center !important; 
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .journal-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  
  .detail-main { padding: 100px 1.5rem 4rem; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
  
  .cart-container { grid-template-columns: 1fr; gap: 3rem; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  
  .checkout-container { grid-template-columns: 1fr; gap: 4rem; }
  .checkout-form-side form { gap: 2rem !important; }
  .contact-form .form-row { grid-template-columns: 1fr !important; }

  /* NEWSページのスマホ版 */
  .news-item { 
    grid-template-columns: 1fr !important; 
    gap: 1.5rem !important; 
    padding: 2.5rem 0 !important; 
    text-align: center; 
  }
  .news-date { margin-bottom: 0; }
  .news-tag { margin-left: 0.5rem; margin-top: 0; }
  .news-thumb-wrap { margin: 0 auto; width: 100%; max-width: none; }
  .news-body h2 { font-size: 1.15rem !important; }

  /* COLLECTIONページのスマホ版 */
  .collection-block { 
    display: flex !important; 
    flex-direction: column !important; 
    text-align: center; 
    gap: 2rem !important; 
  }
  .collection-img-wrap { width: 100%; }
  .past-img-order { order: 1 !important; }
  .past-text-order { order: 2 !important; }
  .collection-title-text { font-size: 2.2rem !important; }

  /* フッターのスマホ版 */
  footer { padding: 3rem 1.5rem 1.5rem; margin-top: 3rem; }
  .footer-inner { flex-direction: column; gap: 3rem; align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links { flex-direction: column; gap: 1.5rem; align-items: center; }
  .footer-bottom { text-align: center; }
}

/* 600px以下 */
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-text-overlay { left: 1rem; bottom: 1rem; padding: 1rem; }
  .detail-main .section-title { font-size: 2.2rem !important; }
}
/* =========================================
   LOOK BOOK (Editorial Design)
   ========================================= */
.lb-editorial-container {
  display: flex;
  flex-direction: column;
  gap: 12rem; /* セクション間の大きな余白 */
  margin-top: 4rem;
}

.lb-section {
  position: relative;
  width: 100%;
}

/* Section 1: 縦型テキスト付き大画像 */
.lb-img-large {
  position: relative;
  width: 70%;
  aspect-ratio: 4/5;
  background: #e8e8e3;
  overflow: hidden;
}
.lb-img-large img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(10%);
}
.lb-vertical-text {
  position: absolute;
  top: 0;
  right: -80px;
  writing-mode: vertical-rl;
  font-size: 5rem;
  color: var(--text-main);
  opacity: 0.1;
  font-weight: 700;
}

/* キャプション */
.lb-caption {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
  align-items: baseline;
}
.lb-num { font-weight: 700; font-size: 1.2rem; border-bottom: 1px solid var(--text-main); }
.lb-caption p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* Section 2: 画像の重なり */
.lb-double-wrap {
  position: relative;
  height: 800px;
  display: flex;
  justify-content: flex-end;
}
.lb-img-sub {
  position: absolute;
  overflow: hidden;
  background: #e8e8e3;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}
.lb-img-sub.sub1 {
  width: 45%;
  aspect-ratio: 4/5;
  left: 0;
  top: 0;
  z-index: 2;
}
.lb-img-sub.sub2 {
  width: 50%;
  aspect-ratio: 4/5;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.lb-img-sub img { width: 100%; height: 100%; object-fit: cover; }

.lb-caption-side {
  position: absolute;
  left: 0;
  bottom: -4rem;
  display: flex;
  gap: 2rem;
}

/* Section 3: フル幅タイトルオーバーレイ */
.lb-img-full {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 80vh;
  background: #1a1a1a;
  overflow: hidden;
}
.lb-img-full img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
  filter: contrast(1.2) grayscale(30%);
}
.lb-overlay-title {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 8vw;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Section 4: コラージュ & テキスト */
.lb-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.lb-img-detail {
  width: 100%;
  aspect-ratio: 1/1;
  background: #e8e8e3;
  overflow: hidden;
}
.lb-img-detail img { width: 100%; height: 100%; object-fit: cover; }
.lb-text-block {
  padding-right: 4rem;
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--text-muted);
}

/* ダウンロードボックス */
.download-box {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6rem 0;
  text-align: center;
  margin: 8rem 0;
}
.download-box h3 { font-size: 2rem; margin-bottom: 1rem; }
.download-box p { margin-bottom: 2.5rem; color: var(--text-muted); }

/* レスポンシブ */
@media (max-width: 900px) {
  .lb-editorial-container { gap: 6rem; }
  .lb-img-large { width: 100%; }
  .lb-vertical-text { display: none; }
  .lb-double-wrap { height: 600px; }
  .lb-img-sub.sub1 { width: 60%; }
  .lb-img-sub.sub2 { width: 60%; }
  .lb-overlay-title { font-size: 15vw; left: 5%; }
  .lb-collage { grid-template-columns: 1fr; }
  .lb-text-block { padding-right: 0; }
}
/* =========================================
   SOCIAL LOGIN (Google SSO)
   ========================================= */
.social-login-wrap {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 区切り線（OR） */
.social-login-separator {
  position: relative;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.social-login-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  z-index: 1;
}
.social-login-separator span {
  position: relative;
  background-color: var(--bg-color); /* 背景色と合わせることで線を隠す */
  padding: 0 1rem;
  z-index: 2;
}

/* Googleログインボタン（無骨な白背景・黒フチ仕様） */
.btn-google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem;
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-google-login:hover {
  background-color: #f9f9f6;
  border-color: var(--text-main);
}

.google-icon {
  width: 18px;
  height: 18px;
  display: block;
}
/* =========================================
   Contact Form 7 用の上書きスタイル（ボックス明示化）
   ========================================= */
/* 入力ボックス全体を強制的に枠付き・白背景にする */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  padding: 1rem !important;
  border: 1px solid var(--text-main) !important; /* 枠線を黒ではっきりと */
  background-color: #ffffff !important; /* 白背景で入力エリアを強調 */
  color: var(--text-main) !important;
  font-size: 1rem !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* 選択中（入力中）は枠線を少し太くして強調 */
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-width: 2px !important;
  padding: calc(1rem - 1px) !important; /* 太くなった分のズレを補正 */
}

/* フォントの指定 */
.wpcf7-form-control.wpcf7-text {
  font-family: 'Space Mono', monospace !important;
}
.wpcf7-form-control.wpcf7-textarea {
  font-family: 'Noto Serif JP', serif !important;
}

/* CF7が自動生成するspanタグをブロック化して幅を維持 */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 名前とメールアドレスの2列レイアウト */
.sc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* スマホ表示の時に1列に切り替え */
@media (max-width: 768px) {
  .sc-form-row {
    grid-template-columns: 1fr !important;
  }
}

/* エラーメッセージ等のデザイン調整 */
.wpcf7-not-valid-tip {
  color: #cc0000;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-family: 'Space Mono', monospace;
}
.wpcf7 form .wpcf7-response-output {
  margin-top: 2rem;
  border: 1px solid var(--text-main) !important;
  border-radius: 0;
  font-family: 'Noto Serif JP', serif;
  background-color: #ffffff !important;
}
/* =========================================
   LOGIN / REGISTER 画面 入力ボックスデザイン修正
   ========================================= */
/* LOGIN container内のすべてのメール・パスワード入力欄を対象にする */
.login-container input[type="email"],
.login-container input[type="password"] {
  /* 大元のインラインスタイルを !important で強制的に上書き */
  width: 100% !important;
  padding: 1rem !important;
  
  /* くっきりとした黒枠と白背景に修正 */
  border: 1px solid var(--text-main) !important; /* 枠線を黒ではっきりと */
  background-color: #ffffff !important; /* 背景を白にして入力を明示 */
  
  /* その他のスタイル調整 */
  color: var(--text-main) !important;
  font-family: 'Space Mono', monospace !important;
  font-size: 1rem !important;
  border-radius: 0 !important; /* 角丸をなくして無骨に */
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

/* 選択中（入力中）は枠線を少し太くして強調 */
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
  border-width: 2px !important;
  padding: calc(1rem - 1px) !important; /* 太くなった分のズレを補正 */
}
/* =========================================
   メインボタンのデザイン統一（黒ベース・白文字）
   ========================================= */
/* 『REGISTER (新規登録)』『SIGN IN (ログイン)』
   『PROCEED TO CHECKOUT』『SEND MESSAGE』のすべてを強制上書き
*/
.add-to-cart-btn,
.login-container .add-to-cart-btn,
.cart-container .add-to-cart-btn,
.contact-form-wrap .add-to-cart-btn,
input[type="submit"].add-to-cart-btn {
  background-color: #1a1a1a !important; /* 強制的に重厚な黒背景 */
  color: #ffffff !important;            /* 強制的にクリアな白文字 */
  border: 1px solid #1a1a1a !important; /* フチも黒に統一 */
  padding: 1.2rem 2rem !important;      /* 押しやすい無骨なボリューム感 */
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;          /* 角丸を一切排除したソリッドな形状 */
  cursor: pointer !important;
  display: block !important;
  width: 100% !important;               /* 横幅いっぱいに広げる */
  text-align: center !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* マウスホバー時：白黒が反転するソリッドなエフェクト */
.add-to-cart-btn:hover,
.login-container .add-to-cart-btn:hover,
.cart-container .add-to-cart-btn:hover,
.contact-form-wrap .add-to-cart-btn:hover,
input[type="submit"].add-to-cart-btn:hover {
  background-color: #ffffff !important; /* 背景を白に */
  color: #1a1a1a !important;            /* 文字を黒に */
  border: 1px solid #1a1a1a !important; /* 外枠の黒線を維持 */
}
/* =========================================
   Googleログインボタンのデザイン修正（白ベース・黒枠・黒文字）
   ========================================= */
.btn-google-login {
  background-color: #ffffff !important; /* 強制的にクリアな白背景ボックス */
  color: #1a1a1a !important;            /* 強制的に黒文字 */
  border: 1px solid #1a1a1a !important; /* 周りの枠線をはっきりと黒に */
  
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  padding: 1.2rem !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  border-radius: 0 !important;          /* 角丸を一切排除 */
  margin-top: 1rem !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* マウスホバー時：白から黒ベースへソリッドに反転 */
.btn-google-login:hover {
  background-color: #1a1a1a !important; /* 背景を黒に */
  color: #ffffff !important;            /* 文字を白に */
  border: 1px solid #1a1a1a !important;
}

/* ホバーした時にSVGアイコンが潰れないよう調整 */
.btn-google-login:hover .google-icon {
  filter: drop-shadow(0px 0px 1px rgba(255,255,255,0.8)) !important;
}