@charset "UTF-8";

:root {
  /* 添付イメージ（zixton）に基づいた、まとまりのある温かいパレット */
  --primary: #524f4c;   /* メイン：コーラルピンク */
  --blue: #a3d8e0;      /* サブ：ミントブルー */
  --yellow: #f9e28d;    /* サブ：マスタードイエロー */
  --bg-accent: #fffdf9; /* コンテナ背景：温かみのあるクリーム */
  --text: #524f4c;      /* 文字色：柔らかなチャコール */
  --white: #ffffff;
  --max-width: 800px;
}

/* ==========================================
   Reset css & Base setting
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px相当 */
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  background-color: #f7f7f5; /* 外側の背景も少しトーンを落とす */
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans JP", "M PLUS Rounded 1c", "ヒラギノ角ゴ ProN W3", 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; }
}

/* ==========================================
   Breadcrumb
   ========================================== */
.breadcrumb {
  padding: 1.2rem 2.0rem;
  background-color: var(--white);
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li {
  /* font-size: 1.1rem; */
  color: #999;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 0.8rem;
  font-size: 0.9rem;
  color: #ccc;
}

.breadcrumb li a {
  display: inline;
  color: #777;
}

.breadcrumb li a:hover {
  text-decoration: underline;
  opacity: 1;
}

.breadcrumb li:last-child {
  font-weight: bold;
  color: var(--text);
}

/* ==========================================
   Layout
   ========================================== */
.lp-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--bg-accent);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.03);
}

/* ヘッダーと波の反転制御 */
.lp-header {
  background-color: var(--white);
  position: relative;
}
.header-inner {
  padding: 20px 20px 20px;
  text-align: center;
}
.site-logo {
  width: 100%;
  max-width: 650px;
  height: auto;
  margin: 0 auto;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: scaleY(-1);
}
.wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}
.wave-divider .shape-fill {
  fill: var(--bg-accent);
}

/* グリッドレイアウト */
.intro {
  text-align: center;
  padding: 5.0rem 2.0rem;
}
.intro h2 {
  font-size: 1.8rem; 
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.5;
}
.intro p {
  text-align: left;
  margin: 2.5rem auto 0;
  font-size: 1.4rem;
  max-width: 600px;
  color: #666;
}

@media (min-width: 768px) {
  .intro h2 { font-size: 2.6rem; }
  .intro p { text-align: center; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 1.2rem;
  }
}

/* カード共通設定 */
.item-card,
.styling-card {
  background: var(--white);
  padding: 1.2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.item-card img,
.styling-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.0rem;
}
.item-card:hover,
.styling-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  opacity: 1;
}
.price {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary);
}

/* スタイリング装飾 */
.styling-section {
  padding: 6.0rem 2.0rem;
  background-color: rgba(255, 255, 255, 0.4); /* 少し透けさせて馴染ませる */
}
.section-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 3.5rem;
  font-weight: 700;
}
.style-item a {
  color: var(--text);
  padding: 0.5rem 0;
  font-weight: bold;
  font-size: 1.2rem;
}
.style-item a:hover {
  color: var(--primary);
  opacity: 1;
}

/* カテゴリ背景色設定：彩度を落としてまとまりを出す */
.category-block {
  margin: 2.5rem 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
}
.bg-rucksack   { background-color: #f0f7ff; } /* 澄んだ水色 */
.bg-schoolbag  { background-color: #f0faf9; } /* 澄んだミント */
.bg-lessonbag  { background-color: #f6f3f9; } /* 柔らかなラベンダー */
.bg-othergoods { background-color: #f7f7f7; } /* 清潔感のあるグレー */
.bg-rain       { background-color: #fff4f6; } /* 優しいさくら色 */

.category-header {
  display: flex;
  align-items: center; /* タイトルとチェックボックスを上下中央揃え */
  padding-bottom: 1.5rem;
  margin-bottom: 2.0rem;
  border-bottom: 2px dashed rgba(0,0,0,0.05);
}

.category-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-left: 1.2rem; /* チェックボックスとの間隔 */
  line-height: 1; /* 余計な上下余白を排除 */
}

.check-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}

/* デフォルトのチェックボックスを完全に非表示 */
.check-container input {
  display: none; 
}

/* カスタムチェックボックス（丸） */
.checkmark {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  background: var(--white);
  border: 2.5px solid var(--primary);
  border-radius: 50%;
  position: relative; /* 内部のチェックアイコン（after要素）の基準 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: background 0.3s;
}

/* チェック時の色変更 */
.check-container input:checked ~ .checkmark {
  background: var(--primary);
}

/* 内部のチェックマーク（レ点） */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 1.0rem;
  top: 0.5rem;
  width: 0.7rem;
  height: 1.3rem;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* チェックが入った時だけレ点を表示 */
.check-container input:checked ~ .checkmark:after {
  display: block;
}

/* お祝いポップアップ */
.celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.celebration-content {
  background: var(--white);
  padding: 4.5rem 3.5rem;
  border-radius: 40px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.celebration-content h2 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.celebration-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}
.hanamaru-wrapper {
  background: #fff9f0;
  width: 13rem;
  height: 13rem;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hanamaru {
  font-size: 8rem;
}
.close-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 1.5rem 5.0rem;
  border-radius: 100px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.6rem;
  transition: 0.3s;
}
.close-btn:hover {
  background: #ff76a0;
  transform: scale(1.05);
}

/* 共通パーツ */
.cta-area {
  text-align: center;
  padding: 0 2rem 7rem;
}
.cta-button {
  display: inline-block;
  padding: 2.0rem 6.5rem;
  background: #3a3a3a;
  color: var(--white);
  font-size: 1.8rem;
  border-radius: 100px;
  font-weight: bold;
}
.cta-button:hover {
  background-color: var(--primary);
  opacity: 1;
}

.page-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 5.5rem;
  height: 5.5rem;
  background: #333;
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 100;
  font-size: 2.2rem;
  line-height: 5.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lp-footer {
  text-align: center;
  padding: 4.5rem;
  background: var(--white);
  font-size: 1.1rem;
  border-top: 1px solid #f0f0f0;
  color: #999;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fade-in.is-active {
  opacity: 1;
  transform: translateY(0);
}