:root {
  --color-dark: #333333;
  --color-yellow: #FFD166;
  --color-red: #EF476F;
  --color-blue: #118AB2;
  --color-green: #06D6A0;
  --bg-color: #FFFFFF;
}

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

body {
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}



/* Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  overflow: visible;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}


.logo img {
  height: 135px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.15) rotate(-6deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-red);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--color-red);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

/* Main Content */
main {
  min-height: calc(100vh - 300px);
  background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('/assets/images/2626270.jpg');
  background-repeat: repeat;
  background-size: 200px;
}

/* Hero Section */
.hero {
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: clamp(320px, 60vh, 640px);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Section Title */
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 60px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 500px;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, transparent, var(--color-yellow));
}

.section-title::after {
  background: linear-gradient(to left, transparent, var(--color-yellow));
}

/* Category Title */
.category-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-dark);
  margin: 70px 0 30px;
  text-transform: uppercase;
}

.section-title + .category-title {
  margin-top: 10px;
}

/* トップページ：カテゴリ見出しをグレーの帯＋上下の線で表示（本番に合わせる） */
.goods-section--home > .category-title {
  background-color: #eeeeee;
  color: #555555;
  border-top: 2px solid #cccccc;
  border-bottom: 2px solid #cccccc;
  padding: 15px 10px;
  /* 本番：商品行セクション下余白3em(14px基準≒42px)＋要素マージン0.7em≒10px */
  margin-top: 50px;
}

/* トップページ：ヒーロー直下の最初の見出し（本番に合わせて上余白10px） */
.goods-section--home > .category-title:first-child {
  margin-top: 10px;
}

/* Goods Section */
.goods-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.goods-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  text-align: center;
  border: 3px solid transparent;
}

.goods-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--color-blue);
}

.card-img-wrap {
  position: relative;
  margin-bottom: 15px;
}

.card-img-wrap > img:first-child {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.card-logo {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 56px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
}


.goods-card:hover .card-img-wrap > img:first-child {
  transform: scale(1.05);
}

.goods-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-dark);
  background-color: #e0e0e0;
  margin: 0 -20px -20px;
  padding: 10px 20px 20px;
}

/* Page Title */
.page-title-section {
  padding: 60px 20px 50px;
  text-align: center;
}

.page-title-section h1 {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  isolation: isolate;
}

.page-title-section h1::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -43%;
  width: 186%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(to right, transparent, var(--color-yellow), transparent);
  z-index: -1;
  opacity: 0.8;
}

/* About Us */
.about-section {
  max-width: 1000px;
  margin: 0 auto 100px;
  padding: 0 20px;
  text-align: center;
}

.about-text .section-title {
  font-size: 1.15rem;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  color: #666;
  justify-content: center;
  max-width: none;
  margin: -28px 0 40px;
}

.about-text .section-title::before,
.about-text .section-title::after {
  content: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  text-align: left;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: block;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .about-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
  }
}

/* Product Detail */
.product-detail {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-main-images {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.product-main-images img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.thumb-item {
  width: calc(25% - 6px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 12px;
  text-align: center;
  border: 3px solid transparent;
  cursor: zoom-in;
}

.product-thumbnails .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.thumb-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.06em;
  background-color: #e0e0e0;
  margin: 0 -12px -12px;
  padding: 8px 12px 12px;
}

.thumb-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--color-blue);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  object-fit: contain;
  display: block;
}

.lightbox-label {
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.product-category {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.product-name {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 32px;
}

.product-specs {
  margin-bottom: 40px;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.product-specs th,
.product-specs td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.product-specs th {
  width: 35%;
  color: #999;
  font-weight: 400;
}

.btn-back {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: var(--color-dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-back:hover {
  background-color: var(--color-red);
}

.btn-next {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: var(--color-dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-next:hover {
  background-color: var(--color-red);
}

a.goods-card {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .product-detail-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Coming Soon Page */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 40px 20px;
}

.coming-soon p {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  opacity: 0.45;
  transform: translateY(-2cm);
}

/* Footer */
footer {
  background-color: #2e2e2e;
  color: #f0f0f0;
  padding: 50px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}

.footer-company {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.footer-info {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #cccccc;
  letter-spacing: 0.03em;
}

.footer-info a {
  color: #cccccc;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.footer-info a:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* ナビの日本語サブラベル（トップページ） */
.nav-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #888;
  line-height: 1.2;
}

/* ONLINE SHOP ボタン */
.shop-btn {
  display: inline-block;
  margin-left: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.shop-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .shop-btn {
    margin: 10px 0 0;
    font-size: 0.9rem;
  }
}

/* フッターのコピーライト */
.footer-copyright {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

/* フッター：ロゴ左・会社情報右の2カラム（トップページ、本番に合わせる） */
.footer-content--with-logo {
  flex-direction: column;
  gap: 24px;
}

.footer-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 769px) {
  .footer-content--with-logo {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* フッター：白背景＋上部グレー線（トップページ、本番に合わせる） */
footer.footer--light {
  background-color: #ffffff;
  color: var(--color-dark);
  border-top: 2px solid #cccccc;
}

.footer--light .footer-company {
  color: var(--color-dark);
}

.footer--light .footer-info,
.footer--light .footer-info a {
  color: #555555;
}

.footer--light .footer-copyright {
  color: #888888;
}

/* ページタイトル下の日本語サブタイトル（本番に合わせる） */
.page-subtitle {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #888888;
  letter-spacing: 0.1em;
}

/* ===== お問い合わせフォーム ===== */
.contact-section {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

#form-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 40px 24px;
}

@media (min-width: 769px) {
  #form-container {
    padding: 50px 60px;
  }
}

.hidden {
  display: none !important;
}

/* ハニーポット（画面外に隠す） */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: var(--color-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fafafa;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background-color: #fff;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.submit-btn {
  display: inline-block;
  min-width: 200px;
  padding: 14px 40px;
  border: none;
  border-radius: 10px;
  background-color: var(--color-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.85;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: #fdecef;
  color: #c0264b;
  font-weight: 700;
}

.form-message {
  text-align: center;
  padding: 20px 0;
  line-height: 1.9;
}

.form-message p:first-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 8px;
}

/* ONLINE SHOP 準備中（リンクなし） */
.shop-btn--soon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  background-color: #bbbbbb;
  cursor: default;
}

.shop-btn--soon:hover {
  opacity: 1;
}

.shop-btn-note {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
