/* ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #222;
  background-color: #F7F5F0;
}

.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 16px;
  margin: 0 auto;
}

.header-logo {
  height: 50px;   /* ヘッダー高さ64pxに最適 */
  width: auto;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0DED8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo a {
  text-decoration: none;
  color: inherit;
}

.site-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-subtitle {
  display: block;
  font-size: 0.8rem;
  color: #777;
}

.site-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #555;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover {
  background-color: #EFEAE0;
}

.site-nav a.active {
  background-color: #C1272D;
  color: #FFFFFF;
}

.search-section {
  padding: 32px 0 24px;
}

.search-panel {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.search-row {
  margin-bottom: 16px;
}

.search-row-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.search-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #D3CEC4;
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: #C1272D;
  box-shadow: 0 0 0 1px rgba(193, 39, 45, 0.15);
}

.search-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #D3CEC4;
  font-size: 0.9rem;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #D3CEC4;
  background-color: #FFFFFF;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.category-button.active {
  background-color: #C1272D;
  border-color: #C1272D;
  color: #FFFFFF;
}

.product-total-wrap {
  margin-left: auto;
}

.product-total {
  font-size: 0.85rem;
  color: #666;
}


/* ナビゲーション */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* ボタン */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, #F3E8E4, #F7F5F0);
  border-bottom: 1px solid #E0DED8;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 1.7rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 0 1 260px;
  display: flex;
  flex-direction: column;  /* 画像の下にバッジを縦並び */
  align-items: center;
  gap: 12px;               /* 画像とバッジの間に少し余白 */
}

.hero-badge {
  padding: 18px 20px;
  border-radius: 16px;
  background-color: rgba(193, 39, 45, 0.08);
  border: 1px solid rgba(193, 39, 45, 0.25);
  text-align: center;
}

.hero-badge-main {
  display: block;
  font-weight: 700;
  color: #C1272D;
  font-size: 1.1rem;
}

.hero-badge-sub {
  display: block;
  font-size: 0.75rem;
  color: #555;
}

.hero-img {
  width: 100%;
  max-width: 380px;   /* PC幅での表示サイズの上限 */
  border-radius: 12px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background-color: #C1272D;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #A02026;
}

.btn-outline {
  background-color: #FFFFFF;
  border-color: #C1272D;
  color: #C1272D;
}

.btn-outline:hover {
  background-color: #FBECEC;
}

.section-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.section-lead {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
}


/* カテゴリーグリッド */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
}

/* ページヘッダー */
.page-header {
    background: var(--light-bg);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* フィルター */
.filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

/* テーブル */
.table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.products-section {
  padding: 24px 0 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.product-image-wrap {
  width: 100%;
  padding-top: 75%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #F1EEE8;
}

.product-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-meta {
  margin-top: 10px;
  flex: 1;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.product-brand {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.tag {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  background-color: #EFEAE0;
  color: #555;
}

.tag-japan {
  background-color: #C1272D;
  color: #FFFFFF;
}

.product-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

/* CTA */
.cta-section {
  padding: 32px 0;
  background-color: #F0ECE4;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta-text {
  flex: 1 1 260px;
}

.cta-text h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.cta-text p {
  font-size: 0.9rem;
  color: #555;
}

.cta-actions {
  flex: 0 0 auto;
}

/* フッター */
.site-footer {
  border-top: 1px solid #E0DED8;
  background-color: #FFFFFF;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 700;
  margin: 0 0 4px;
}

.footer-text {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #555;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

/* SP 調整 */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 8px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-inner {
    flex-direction: column;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* お問い合わせフォーム */
.contact-section {
  padding: 32px 0 40px;
}

.contact-form {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 720px;
  margin: 0 auto;
}

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

.form-label,
.form-row > .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.form-required {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.75rem;
  color: #C1272D;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #D3CEC4;
  font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #C1272D;
  box-shadow: 0 0 0 1px rgba(193, 39, 45, 0.15);
}

.form-textarea {
  resize: vertical;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.form-radio input {
  margin-right: 6px;
}

.form-row-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-checkbox input {
  margin-right: 6px;
}

.form-actions {
  text-align: right;
}

/* 免責 */
.footer-disclaimer {
  font-size: 0.75rem;
  color: #777;
  line-height: 1.6;
  margin: 12px 0;
}

.footer-right p {
  margin-bottom: 8px;
}

/* aboutページ専用の見出し調整 */
.about-page h2 {
  margin-top: 48px;   /* 上に余白を増やす */
  margin-bottom: 16px;
}

.contact-page .footer-copy {
  margin-top: 8px;
}

/* 右側のリンクと copyright を左寄せ */
.contact-page .footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* 左寄せ */
  gap: 4px;
}

/* copyright の余白を微調整 */
.contact-page .footer-copy {
  margin-top: 8px;
}
/* contactページ専用：copyright の位置だけ少し下げる */
.contact-page .footer-copy {
  margin-top: 8px;  /* もう少し下げたければ 16px などに調整 */
}
/* contactページ専用：フッター右側を右揃えにする */
.contact-page .footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;  /* 中身を右端に寄せる */
}
/* 日本製・国産バッジを非表示 */
.tag-japan {
  display: none !important;
}