/* ページ最初に入れてください */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
}

main,
section {
  margin: 0;
  padding: 0;
}

body {
  padding-top: 50px;
}

h2 {
  font-weight: normal;
  margin-bottom: 30px;
}
/* ↓コピペ用 */
/* ここから部分 */

/* ここまで部分 */

/* ここからヘッダー部分 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #999;
  font-size: clamp(14px, 1.2vw, 18px);
}

.header-content {
  display: flex;
  justify-content: space-between; /* ← これで左右に分かれる！ */
  max-width: 1450px;
  width: 93%;
  margin: 0 auto;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.logo a {
  text-decoration: none;
  color: #333;
}

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

.site-nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #999;
}
/* ここまでヘッダー部分 */

/* ここからメインビジュアル部分 */
.main-visual {
  position: relative;
  width: 100%;
  max-width: 1429.125px; /* 幅の上限を1429.125pxに */
  aspect-ratio: 1429.125 / 800; /* 高さは自動で800pxに合わせる */
  margin: 10px auto; /* 上30pxマージン＋左右センター寄せ */
  padding: 0 5%; /* 左右5%の余白を常時確保 */
  overflow: hidden;
}

/* 背景画像 */
.visual-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; の省略形 */
  background: url("MainVisual.png") no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

/* キャッチコピー */
.main-copy {
  position: absolute;
  top: 50%;
  right: 13%; /* 右余白を10%に固定 */
  transform: translateY(-50%);
  max-width: 350px; /* はみ出し防止 */
}

/* 見出し */
.main-copy h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* サブコピー（全文２行表示） */
.main-copy p {
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.7;
  margin: 0;
}

/* ■ 小画面は縦並び & 自動高さ */
@media (max-width: 768px) {
  .main-visual {
    aspect-ratio: auto;
    height: auto;
    padding: 0 4%;
  }
  .main-copy {
    position: static;
    transform: none;
    margin: 2rem auto;
    text-align: center;
    max-width: 90%;
  }
}
/* ここまでメインビジュアル部分 */

/* ここから商品セレクター部分 */

.product-selector h2 {
  text-align: center;
  padding: 70px;
  border-top: 1px solid #999;
}

.item {
  padding-bottom: 30px !important;
}

.product-list {
  display: flex;
  justify-content: center;
  gap: 5rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.product-item {
  /* ボックスの土台 */
  display: flex;
  flex-direction: column; /* ← 縦並びに */
  align-items: center;
  justify-content: center;
  width: 220px; /* お好みで調整OK！ */
  height: 220px;
  position: relative; /* ← 疑似要素用に追加 */
  overflow: hidden; /* ← 同じく疑似要素用 */
  background-color: #fff;
  font-size: clamp(16px, 1.5vw, 20px);
  color: gray;
  border: 1px solid #999;
  text-decoration: none;
  letter-spacing: 0.3em;
  /* トランジションでアニメーション */
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.product-item span {
  margin-top: 0.5em; /* ← 行間を調整 */
  font-size: clamp(13px, 1vw, 14px);
  letter-spacing: normal;
}

.product-list a {
  text-decoration: none;
}

.product-item:hover {
  transform: scale(1.05);
  background-color: #f0f0f0;
}

.product-link {
  margin-top: 20px;
  font-size: clamp(14px, 1.2vw, 18px);
  text-decoration: none;
  color: #333;
  position: relative; /* before とかと同じレイヤー */
  z-index: 1;
}

/* 商品ボックスと同じ gap を使う */
.product-textlist {
  display: flex;
  justify-content: center;
  gap: 5em; /* .product-list と同じ gap に */
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

.product-textlist li {
  width: 220px; /* .product-item と同じ幅 */
  text-align: center; /* li の中身（リンク）を中央に */
}

/* リンクの見た目 */
.product-textlist a {
  font-size: clamp(14px, 1.2vw, 18px);
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-textlist a:hover {
  color: #999;
}
.selector-inner {
  max-width: 1200px; /* product-list と同じ幅 */
  margin: 0 auto; /* 中央寄せ */
  text-align: center; /* 見出しだけ中央揃えしたいとき */
}
/* ここまで商品セレクター部分 */

/* ここから営業カレンダー部分 */
.schedule {
  padding: 4rem 1rem;
}

.schedule h2 {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 30px;
}

.schedule .calendar img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.schedule .calendar p {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px;
}
/* ここまで営業カレンダー部分 */

/* ここから出荷カレンダー部分 */
.shipping-schedule {
  padding: 2rem 1rem;
  margin-bottom: 70px;
}

.shipping-schedule h2 {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 30px;
}

.shipping-schedule .shipping-calendar img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ここまで出荷カレンダー部分 */

/* ここからフッター */
.site-footer {
  background-color: gray;
  color: #fff;
  padding: 2rem 1rem;
  text-align: left;
  font-size: clamp(12px, 1vw, 14px);
  border-top: 1px solid black;
}

.footer-inner {
  max-width: 1450px;
  width: 93%;
  margin: 0 auto;
}

.footer-hours {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer-hours span {
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.footer-note {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.9em;
  color: #fff;
}
/* ここまでフッター */

/* ーーーーーーーーーーここからサブページ用cssーーーーーーーーーー */

.subpage-content {
  max-width: 1500px;
  margin: 0 auto; /* ←これで中央寄せ！ */
  padding: 0 20px; /* スマホ対応で左右余白つけてもよき */
}

.content-container {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.content-container h2 {
  margin-top: 35px;
  padding-top: 50px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.textbox-border {
  border: 1px solid #999;
  padding: 10px 30px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.textbox-border a {
  text-decoration: none;
  color: #0066c0;
}

.textbox-border h3 {
  margin-top: 10px;
  margin-bottom: 25px;
}

.textbox-border p {
  margin-top: 10px 0;
}

.textbox-list {
  list-style: none;
  padding-left: 0;
}

.textbox-list span {
  font-weight: bold;
  color: #000;
}

.textbox {
  padding: 10px 30px;
  margin-bottom: 30px;
  width: 100%;
}

.heading {
  font-weight: bold;
  margin: 15px 0;
  text-decoration: underline;
}

.caution-text {
  font-size: 0.9em;
  margin: 10px 0;
}

.caution-footer {
  margin-top: 10px;
  margin-bottom: 20px;
}

.p1 {
  margin-bottom: 10px !important;
}

.text-footer {
  margin-top: 20px;
  margin-bottom: 40px;
  margin-left: 30px;
}

.spacer {
  height: 25px;
}

.textbox-border-2 {
  background-color: #f5f5f5;
  border: 1px solid #999;
  padding: 10px 30px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.textbox-border-2 a {
  text-decoration: none;
  color: #0066c0;
}

.textbox-border-2 h3 {
  margin-top: 10px;
  margin-bottom: 25px;
}

.textbox-border-2 p {
  margin-top: 10px 0;
}