@charset "UTF-8";

/* ==========================================
   CSS変数 (管理しやすいカラー・定数設定)
   ========================================== */
:root {
  /* ベースカラー（落ち着いたナチュラル系） */
  --bg-color: #fcfbf9;          /* ページ全体の背景 */
  --main-white: #ffffff;        /* コンテンツエリア背景 */
  --text-main: #54504d;         /* メイン文字色 */
  --text-sub: #8e8784;          /* 補足文字・フッター */
  --border-light: #e6e2df;      /* 繊細な境界線 */

  /* アクセントカラー（大人可愛いくすみ系） */
  --accent-boy: #97abbd;        /* ダスティブルー */
  --accent-girl: #ccabab;       /* ダスティローズ */
  --accent-gold: #bda68e;       /* ボタン・重要ラベル */
  --accent-sale: #c57e7e;       /* セール強調・再値下げ */
  --accent-new: #a5b6c5;        /* 新着追加バッジ */

  /* レイアウト定数 */
  --inner-width: 769px;         /* コンテンツ最大幅 */
  --radius-m: 8px;              /* 中角丸 */
  --radius-l: 12px;             /* 大角丸 */
}

/* ==========================================
   Reset css (ご提示のベースを最適化)
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px相当 */
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: var(--text-main);
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Lucida Grande", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

li { list-style: none; }

a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a:hover {
  opacity: 0.8;
}

/* 表示切り替え */
.sp_only { display: block; }
.pc_only { display: none; }

@media screen and (min-width: 769px) {
  .sp_only { display: none; }
  .pc_only { display: block; }
}

/* ==========================================
   Main Layout
   ========================================== */
.main-block {
  width: 100%;
  max-width: var(--inner-width);
  margin: 0 auto;
  background-color: var(--main-white);
  position: relative;
  z-index: 1;
}

/* -------------------
   Hero
   ------------------- */
.hero {
  margin: 0;
  padding: 0;
}

/* ==========================================
   Intro Section Styles
   ========================================== */
.intro-section {
  padding: 50px 15px 30px;
  text-align: center;
}

/* キャッチコピー部分 */
.intro-catch {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent-sale); /* 落ち着いた赤 */
  margin-bottom: 15px;
}

.intro-catch span {
  font-size: 2.4rem;
  display: block;
  margin: 5px 0;
}

.intro-description {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 25px;
}

.cta-container {
  text-align: center;
}

.btn-all-sale {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(189, 166, 142, 0.2);
}
.btn-all-sale.btn-boy,
.btn-all-sale.btn-girl {
  margin-top: 30px;
}
.btn-all-sale.btn-boy {
  background-color: var(--accent-boy);
}
.btn-all-sale.btn-girl {
  background-color: var(--accent-girl);
}


/* -------------------
   Sale Updates (動的ボタンエリア)
   ------------------- */
.update-section {
  margin: 10px 15px 30px;
}

.update-inner {
  background-color: #fcfaf8;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-l);
  padding: 20px 15px;
}

.update-label {
  display: inline-block;
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.update-button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--main-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 12px 40px;
  position: relative;
}

.update-btn:hover {
  border-color: var(--accent-gold);
  transform: translateX(3px);
}

.update-badge {
  font-size: 1.0rem;
  font-weight: bold;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  min-width: 65px;
  text-align: center;
}

.btn-new-items .update-badge { background-color: var(--accent-new); }
.btn-price-down .update-badge { background-color: var(--accent-sale); }

.update-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-main);
  margin: 0;
  padding-right: 20px;
}

.update-btn::after {
  content: '';
  position: absolute;
  right: 15px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--border-light);
  border-right: 2px solid var(--border-light);
  transform: rotate(45deg);
}

/* -------------------
   Section Title
   ------------------- */
.section {
  padding: 50px 15px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.boy-title { color: var(--accent-boy); }
.girl-title { color: var(--accent-girl); }

/* -------------------
   Product Grid (PNG画像スペース)
   ------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* モバイル2列 */
  gap: 15px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 10px;
  background: var(--main-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-l);
  height: auto;
}

#boy .product-card {
  border: 1px solid var(--accent-boy);
}
#girl .product-card {
  border: 1px solid var(--accent-girl);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-color: var(--accent-gold);
}

.icon-space {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-space img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 比率を保って収める */
}

.product-card span {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-main);
}

/* -------------------
   Footer
   ------------------- */
.footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.2rem;
  color: var(--text-sub);
  background-color: var(--bg-color);
}

/* ==========================================
   Desktop styles (min-width: 769px)
   ========================================== */
@media screen and (min-width: 769px) {
  .intro-text {
    font-size: 1.6rem;
    padding: 0 40px;
  }

  .update-section {
    margin: 20px 40px 40px;
  }

  .update-button-container {
    flex-direction: row; /* PCでは横並び */
    gap: 20px;
  }

  .update-btn {
    justify-content: center;
    padding: 12px 16px;
  }

  .update-btn {
    flex: 1;
  }

  .section {
    padding: 60px 40px;
  }

  .product-grid {
    grid-template-columns: repeat(5, 1fr); /* PCは5列 */
    gap: 20px;
  }

  .icon-space {
    width: 100px;
    height: 100px;
  }
}