/* ========================================
   基本設定
   ======================================== */
.main-content {
  background: #fff;
  letter-spacing: 0.02em;
}

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

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

.main-content button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ========================================
   コンテナ
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   セクション
   ======================================== */
.section {
  padding: 64px 24px;
}

.section-gray {
  background: #f9fafb;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 24px;
  }
}

/* ========================================
   グリッドレイアウト
   ======================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.grid-2-wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-2-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

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

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

/* ========================================
   ヒーローセクション
   ======================================== */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: #000;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    transparent 100%
  );
}

.hero-content-wrapper {
  position: relative;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .hero-content-wrapper {
    padding-bottom: 96px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 24px;
  }
}

.hero-title {
  font-size: 2.25rem;
  color: white;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-hero {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   製品タイプカード
   ======================================== */
.type-card {
  display: flex;
  flex-direction: column;
}

.type-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4 / 3;
}

.type-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.type-card:hover .type-image {
  transform: scale(1.05);
}

.type-content {
  margin-bottom: 24px;
}

.type-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .type-title {
    font-size: 1.5rem;
  }
}

.type-text {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}

.btn-black {
  width: 100%;
  padding: 12px 0;
  background: #000;
  color: white;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn-black:hover {
  background: #1f2937;
}

/* ========================================
   セクションヘッダー
   ======================================== */
.section-header {
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 64px;
  }
}

.section-title {
  font-size: 1.875rem;
  letter-spacing: 0.05em;
  border-left: 4px solid #000;
  padding-left: 24px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ========================================
   商品セット
   ======================================== */
.product-set {
  display: flex;
  flex-direction: column;
}

.set-header {
  border-left: 4px solid #000;
  padding-left: 12px;
  margin-bottom: 24px;
}

.set-title {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .set-title {
    font-size: 1.125rem;
  }
}

.set-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.set-image-item {
  border: 1px solid #d1d5db;
}

.set-image-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.875rem;
}

.product-item {
  border-bottom: 1px solid #d1d5db;
  padding-bottom: 12px;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.product-name {
  font-weight: 600;
}

.product-price {
  font-weight: 600;
}

.product-code {
  font-size: 0.75rem;
}

.product-tax {
  font-size: 0.75rem;
  color: #6b7280;
}

.section-note {
  margin-top: 48px;
  text-align: center;
  font-size: 0.875rem;
  color: #374151;
}

.link-orange {
  color: #ea580c;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.link-orange:hover {
  color: #c2410c;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

.btn-dark {
  padding: 16px 48px;
  background: #1f2937;
  color: white;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: #000;
}

.btn-sm {
  width: 100%;
  padding: 12px 0;
  font-size: 0.875rem;
}

/* ========================================
   関連商品
   ======================================== */
.related-card {
  display: flex;
  flex-direction: column;
}

.related-header {
  border-left: 4px solid #000;
  padding-left: 12px;
  margin-bottom: 24px;
}

.related-title {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .related-title {
    font-size: 1.125rem;
  }
}

.related-image {
  border: 1px solid #d1d5db;
  margin-bottom: 24px;
}

.related-image img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

/* ========================================
   設計のヒント
   ======================================== */
.hints-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .hints-list {
    gap: 48px;
  }
}

.hint-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 640px) {
  .hint-item {
    flex-direction: row;
  }
}

.hint-image {
  border: 1px solid #d1d5db;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
}

.hint-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hint-content {
  flex: 1;
}

.hint-content p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
}

/* ========================================
   ショールーム
   ======================================== */
.showroom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

.showroom-image {
  position: relative;
  overflow: hidden;
}

.showroom-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.showroom-content {
  display: flex;
  flex-direction: column;
}

.showroom-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .showroom-title {
    font-size: 1.875rem;
  }
}

.showroom-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 32px;
}