@charset "utf-8";

/* 全般設定 */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  font-style: normal;
  background-color: #f9fdff;
  color: #333;
  overflow-x: hidden;
}

/* フォント設定 */
.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.m-plus-rounded-1c-medium {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.m-plus-rounded-1c-bold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h2,
.m-plus-rounded-1c-extrabold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* ヘッダー */
#top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  background-color: #fff;
  box-shadow:
    0 4px 6px -1px #1e3d6219,
    0 2px 4px -1px #1e3d6209;
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* 左ブロック（メニュー・SNSアイコン） */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

/* 中央ブロック（ロゴ） */
.headerlogo {
  flex: 0 1 auto;
  text-align: center;
}
.headerlogo img {
  display: block;
  margin: 0 auto;
  height: 80px;
}
/* 右ブロック（ユーティリティアイコン） */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex: 1;
}
/* アイコン自体のサイズ調整 */
.icon img {
  width: 30px;
  display: block;
}
/* ハンバーガーメニューボタン（中身がない場合の最低サイズ） */
.toggle-menu-button {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  width: 60px;
  background-image: url(../img/bullets.png);
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  outline: none;
}

/* トップ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #f0eeee;
  background:
    radial-gradient(circle, rgb(16, 147, 209, 0.1) 3px, transparent 2px),
    radial-gradient(circle, rgb(240, 103, 42, 0.2) 2px, transparent 2px);
  background-size:
    40px 40px,
    60px 60px;
  height: calc(100vh - 100px - 90px);
}
.hero-inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
}
.bottle {
  position: absolute;
  bottom: 0;
  height: 75%;
  max-height: 530px;
  z-index: 1;
}

.bottle.left {
  left: 0;
  transform: translateX(-35%);
}

.bottle.right {
  right: 0;
  transform: translateX(35%);
}
.glass {
  position: absolute;
  bottom: 0;
  height: 75%;
  max-height: 530px;
  z-index: 2;
}
.glass.left {
  left: -2%; 
  transform: none;
}

.glass.right {
  right: -2%;
  transform: none;
}
.hero-text {
  text-align: center;
  position: relative;
  top: 25%;
  transform: translateY(-50%);
  z-index: 3;
}
.hero-text img {
  width: 200px;
}
.hero-text p {
  font-size: 32px;
  color: #1e3d62;
}
.hero-text2 {
  text-align: center;
  position: relative;
  top: 30%;
  transform: translateY(-50%);
}
.hero-text2 p {
  padding: 10px 0;
  font-size: 20px;
}
.main-copy {
  position: relative;
  text-align: center;
  top: 35%;
  transform: translateY(-50%);
}

/* ==================================
   カテゴリーナビゲーション（共通スタイル）
================================== */
.category-nav {
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* リスト構造 */
.category-nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

/* 各メニュー項目 */
.category-nav li {
  flex: 1;
}

.category-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  transition: transform 0.2s;
}
/* サブメニュー */
.has-sub {
  position: relative;
}

/* サブメニューの初期状態（隠しておく） */
.sub-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateX(-50%) translateY(30px);
  width: max-content;
  min-width: 300px;
  background-color: #fff;
  border: 2px solid #1093d1;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

/* ▼ jQueryで is-show が付いた時の状態 ▼ */
.sub-menu.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-15px); /* 元の位置にフワッと上がる */
}

/* サブメニューの中身の装飾 */
.sub-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.sub-menu li {
  white-space: nowrap;
  margin: 0 5px;
}

.sub-menu li:last-child {
  border-right: none;
}
.sub-menu a {
  padding: 10px 5px;
  color: #333;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
.sub-menu a:hover {
  color: #1093d1;
  background-color: #f0f8ff;
}

/* アイコン */
.nav-icon img {
  width: 45px;
  height: auto;
  object-fit: contain;
}

/* テキスト：メイン（特集・ラベルなど） */
.category-nav h3 {
  font-size: 12px;
  margin: 0;
  line-height: 1.2;
  color: #333;
}

/* テキスト：補足（から探すなど） */
.category-nav span {
  font-size: 9px;
  color: #888;
}

/* ホバー・アクティブ効果 */
.category-nav li a:hover {
  opacity: 0.7;
}

.category-nav li a:active {
  transform: scale(0.9);
}

/* ==================================
   配置の制御（jQueryで切り替え）
================================== */

/* 初期状態：画面下部に固定（fixed） */
.category-nav.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
}

/* フッター到達時：ヘッダーの下へ移動（is-stacked） */
.category-nav.is-stacked {
  position: absolute;
  top: 100px;
  bottom: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================
   全体トーン調整
========================= */

/* セクション共通 */
h2 {
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 50%;
  margin: 20px auto;
  border-bottom: 4px dotted #4fc3f7;
  opacity: 0.4;
}

/* =========================
   泡アニメーション（共通）
========================= */
.bubble {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: #1093d1;
  border-radius: 50%;
  opacity: 0.3;
  animation: bubbleFloat 6s infinite ease-in;
  border: 1px solid #1e3d62;
}

@keyframes bubbleFloat {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-250px);
    opacity: 0;
  }
}

.tokushu {
  background: #e6f7ff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #1e3d62;
}

.tokushu-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tokushu-header {
  text-align: center;
  margin-bottom: 50px;
}
.tokushu-header img {
  width: 60px;
}
/* グリッドレイアウト：PCで4列 */
.tokushu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

/* カード全体のスタイル */
.tokushu-item {
  text-decoration: none;
  transition: 0.3s;
}

/* 画像を正方形に保ち、角を丸くする */
.tokushu-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px #0000001a;
  background: #fff;
}

.tokushu-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

/* ホバー時の装飾（ふわっと暗くなって文字が出る） */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e3d6266;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.overlay span {
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.tokushu-item:hover .overlay {
  opacity: 1;
}

.tokushu-item:hover img {
  transform: scale(1.1);
}

/* カード下のテキスト */
.tokushu-item h3 {
  margin-top: 15px;
  font-size: 16px;
  color: #1e3d62;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
}

/* ボタン */
.tokushupage {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: #1093d1;
  color: #fff;
  border-radius: 30px;
  transition: 0.3s;
}

.tokushupage:hover {
  background: #f0672a;
}

/* =========================
   ラベル（PCグリッドUI）
========================= */
.label {
  background: #fff;
  padding: 100px 0 160px;
  position: relative;
}

.label-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.label .tokushu-header {
  text-align: center;
  margin-bottom: 60px;
}

.label .tokushu-header h2 {
  font-size: 32px;
  color: #1e3d62;
}

/* ラベルグリッドの設定 */
.label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  justify-content: center;
}

/* 商品カードのデザイン */
.label-card {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #fff;
  border-radius: 35px;
  box-shadow: 0 5px 15px #f0eeee;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: 1px solid #1e3d62;
}

/* ホバーエフェクト：浮かび上がって影を強くする */
.label-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px #1093d126;
  z-index: 10;
  border: 2px solid #f0672a;
}
/* アニメーションの対象（カード類） */
.label-card,
.newitem {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

/* スクロールしてクラスがついた時の状態 */
.is-show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ボタン周り */
.btn-wrapper {
  text-align: center;
  margin-top: 60px;
}

.view-more-btn {
  display: inline-block;
  padding: 15px 50px;
  border-radius: 40px;
  background: #1093d1;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 4px 15px #1093d14d;
}

.view-more-btn:hover {
  background: #f0672a;
  transform: scale(1.05);
}

/* 下部の波 */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  line-height: 0;
}
.wave-bottom svg {
  width: 100%;
  height: 100%;
}

/* =========================
   ランキング
========================= */
.rank {
  background: linear-gradient(#e6f7ff, #ffffff);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.rank-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.rank-header {
  text-align: center;
  margin-bottom: 60px;
}
.rank-header img {
  width: 80px;
}

.rank-header h2 {
  font-size: 36px;
  color: #1e3d62;
  margin: 10px 0;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px dotted #1093d1;
}

.category-title-wrapper .cat-icon {
  width: 60px;
}

.category-title-wrapper h3 {
  font-size: 24px;
  color: #1e3d62;
}

/* ランキング・グリッド */
.rank-grid {
  display: grid;
  gap: 25px;
}

/* トップ3：1-2-3位を特別扱いに */
.rank-grid.top3 {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

/* 4位以降のグリッド（4位・5位・ボタン） */
.rank-grid.minor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

/* 「もっと見る」カードのデザイン */
.rank .rank-more-card {
  background: #1093d1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: none;
  height: 100%;
  min-height: 380px;
}

.rank-more-card .more-content p {
  color: #ffffffcc;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.rank-more-card .more-content h4 {
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* 矢印の円形アイコン */
.rank .arrow-circle {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1093d1;
  transition: transform 0.3s ease;
}

/* ホバー時に矢印が右に動くアニメーション */
.rank-more-card:hover {
  background: #f0672a;
  transform: translateY(-10px);
}

.rank-more-card:hover .arrow-circle {
  transform: translateX(10px);
  color: #f0672a;
}

/* 商品カードの基本デザイン */
.item {
  background: rgba(255, 255, 255, 0.7); /* 少し透明にする */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4); /* 縁に光の当たりを作る */
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 8px 30px #1093d114;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
}

.item:hover {
  transform: translateY(-10px);
  border-color: #1093d1;
  box-shadow: 0 15px 40px #1093d126;
}

/* 順位バッジ */
.rank-badge {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background: #aaa;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  z-index: 5;
}

.item-image-wrapper {
  width: 100%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  margin-bottom: 10px;
  background: #fcfcfc;
  border-radius: 10px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: none;
  transition: transform 0.4s;
}
.item-info {
  text-align: center;
}
.item:hover img {
  transform: scale(1.05);
}

.itemuname {
  color: #1e3d62;
  flex-grow: 1;
  font-size: 18px;
  margin-bottom: 5px;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price {
  color: #f0672a;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 8px;
}

.itemlink {
  display: block;
  margin-top: 5px;
  padding: 8px;
  font-size: 14px;
  background: #f0faff;
  color: #1093d1;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  transition: 0.3s;
}

.itemlink:hover {
  background: #1093d1;
  color: #fff;
}

/* トップ3（ゴールド・シルバー・ブロンズ） */
/* 1位（ゴールド）*/
.item.gold {
  border: 3px solid #ffcc00;
  box-shadow: 0 10px 30px #ffcc0033;
}
.item.gold .rank-badge {
  background: #ffcc00;
}

/* 2位（シルバー） */
.item.silver {
  border: 3px solid #ccc;
}
.item.silver .rank-badge {
  background: #ccc;
}

/* 3位（ブロンズ） */
.item.bronze {
  border: 3px solid #cc9966;
}
.item.bronze .rank-badge {
  background: #cc9966;
}

/* 4位以降 */
.item:not(.gold):not(.silver):not(.bronze) .rank-badge {
  width: 35px;
  height: 35px;
  font-size: 16px;
  top: 10px;
  left: 10px;
}
.item:not(.gold):not(.silver):not(.bronze) .itemuname {
  font-size: 14px;
}
.item:not(.gold):not(.silver):not(.bronze) .price {
  font-size: 16px;
}

/* ==================================
   種類別ランキング
================================== */
.more-rank-content {
  margin-top: 100px;
  margin-bottom: 100px;
}

.more-rank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.more-rank-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(16, 147, 209, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.more-rank-card:hover {
  transform: translateY(-5px);
  border-color: #f0672a;
  box-shadow: 0 15px 40px rgba(16, 147, 209, 0.15);
}

.more-rank-card img {
  width: 60px;
  margin-bottom: 15px;
}

.more-rank-card h4 {
  font-size: 16px;
  color: #1e3d62;
  margin-bottom: 5px;
  flex-grow: 1;
}

.more-rank-card span {
  font-size: 12px;
  color: #1093d1;
  font-weight: bold;
}

/* =========================
   新着（タイムライン風）
========================= */
.newarival {
  margin-bottom: 30px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newarival-header {
  text-align: center;
  margin-bottom: 60px;
}
.newarival-header img {
  width: 80px;
}
.newarival-header h2 {
  font-size: 36px;
  color: #1e3d62;
  margin: 10px 0;
}

.newitemlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.newitem {
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 8px 30px rgba(16, 147, 209, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: auto;
  width: calc(20% - 20px);
  min-width: 200px;
  text-align: center;
}

.newitem-image-wrapper {
  width: 100%;
  height: 200px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.newitem-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}

.newitem:hover img {
  transform: scale(1.05);
}

/* =========================
   お知らせ
========================= */
.info {
  background: #ffffff;
}

.info-header {
  text-align: center;
  margin-bottom: 60px;
}
.info-header img {
  width: 80px;
}
.info-header h2 {
  font-size: 36px;
  color: #1e3d62;
  margin: 10px 0;
}

/* お知らせエリア全体 */
.infomation {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
}

.infomation ul {
  width: 100%;
  max-width: 900px;
  border: solid 2px #ffb03f;
  padding: 0;
  background: #fff;
}

.infomation ul li {
  border-bottom: dashed 1px silver;
}

.infomation ul li:last-child {
  border-bottom: none;
}

/* リンクエリアの設定 */
.infomation ul li a {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.infomation ul li a:hover {
  background: #fff9f0;
}

/* 日付の幅を固定して縦ラインを揃える */
.date {
  width: 150px;
  flex-shrink: 0;
  font-weight: bold;
  color: #666;
  font-family: sans-serif;
}

/* 文章エリア */
.text {
  flex-grow: 1;
  padding-left: 10px;
  line-height: 1.6;
}

/* ★CSSで作る右矢印★ */
.infomation ul li a::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffb03f;
  border-right: 2px solid #ffb03f;
  transform: rotate(45deg);
  margin-left: 20px;
  flex-shrink: 0;
}

/* ホバー時に矢印を少し右に動かす */
.infomation ul li a:hover::after {
  transform: rotate(45deg) translate(3px, -3px);
  transition: 0.2s;
}

/* =========================
   波の強化（共通）
========================= */
.wave-bottom2 {
  line-height: 0;
  width: 100%;
  background-color: #fff;
}
.wave-bottom2 svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   フッター調整
========================= */
footer {
  position: relative;
  background: #1e3d62;
  text-align: center;
  margin-top: -1px;
  padding: 60px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.attention {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #fff;
  line-height: 1.8;
}

.footernav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
}
.footernav ul li {
  color: #1093d1;
  font-size: 30px;
  transition: color 0.3s;
}
.footernav ul li:hover {
  color: #f0672a;
}

footer a img {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 120px;
  height: auto;
}

/* コピーライトや注意文がロゴと重ならないよう調整 */
.attention,
.footernav {
  text-align: center;
  max-width: 80%;
}

/* =========================
   ページトップボタン
========================= */
.pagetop {
  box-shadow: 0 5px 15px #0000001a;
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 110px;
  background: #ffffff60;
  border: solid 2px #1093d1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #1093d1;
  border-right: 3px solid #1093d1;
  transform: translateY(20%) rotate(-45deg);
}
.active {
  opacity: 1;
  visibility: visible;
}
.absolute {
  position: absolute;
  top: -70px;
  bottom: auto;
}
