/* =========================
   Summer Ocean Soda
   ========================= */

:root{
  --text: rgba(15, 55, 85, .96);
  --muted: rgba(35, 90, 120, .72);
  --line: rgba(130, 220, 255, .34);
  --card: rgba(255,255,255,.52);
  --card2: rgba(255,255,255,.40);
  --shadow: 0 18px 55px rgba(60,170,220,.22);
  --radius: 22px;
  --accent1: #7edcff;
  --accent2: #4ec5ff;
  --accent3: #b7f3ff;
  --accent4: #ffe88a;
}

html{
  height: 100%;
  box-sizing: border-box;
  font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
*, *::before, *::after{ box-sizing: inherit; }

body{
  min-height: 100%;
  margin: 0 auto;
  max-width: 880px;
  padding: 84px 14px 24px;
  color: var(--text);
  overflow-x: hidden;
}

/* 夏空＋海っぽい背景 */
body::before{
  content:"";
  position: fixed;
  inset: -30vh -30vw;
  z-index: -3;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 50% 18%, rgba(255,255,255,.70), transparent 58%),
    radial-gradient(900px 700px at 15% 15%, rgba(180,245,255,.55), transparent 60%),
    radial-gradient(850px 650px at 85% 20%, rgba(140,220,255,.38), transparent 62%),
    linear-gradient(180deg, #dff8ff 0%, #9fe8ff 35%, #63cfff 62%, #49b8ec 100%);
  filter: saturate(110%) contrast(103%);
}

/* 背面の泡・きらめき */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events:none;
  background-image:
    radial-gradient(8px 8px at 40px 60px, rgba(255,255,255,.42) 50%, transparent 56%),
    radial-gradient(6px 6px at 160px 130px, rgba(210,245,255,.34) 50%, transparent 56%),
    radial-gradient(10px 10px at 90px 230px, rgba(255,255,255,.28) 50%, transparent 56%),
    radial-gradient(7px 7px at 260px 180px, rgba(190,240,255,.30) 50%, transparent 56%),
    radial-gradient(9px 9px at 320px 30px, rgba(255,255,255,.24) 50%, transparent 56%);
  background-size: 360px 300px;
  opacity: .55;
  animation: bubbleBack 22s linear infinite;
}
@keyframes bubbleBack{
  0%{ transform: translateY(20vh) translateX(0); }
  100%{ transform: translateY(-120vh) translateX(25px); }
}

/* 前面の光粒 */
.snow-front{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events:none;
  background-image:
    radial-gradient(12px 12px at 70px 90px, rgba(255,255,255,.72) 50%, transparent 56%),
    radial-gradient(10px 10px at 260px 160px, rgba(220,248,255,.58) 50%, transparent 56%),
    radial-gradient(11px 11px at 150px 300px, rgba(255,255,255,.62) 50%, transparent 56%),
    radial-gradient(10px 10px at 420px 240px, rgba(205,245,255,.58) 50%, transparent 56%),
    radial-gradient(9px 9px at 560px 80px, rgba(255,255,255,.50) 50%, transparent 56%);
  background-size: 680px 580px;
  opacity: .75;
  animation: bubbleFront 30s linear infinite;
}
@keyframes bubbleFront{
  0%{ transform: translateY(25vh) translateX(0); }
  100%{ transform: translateY(-130vh) translateX(-40px); }
}

/* メインカード */
.main{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  padding: 14px;
}
.main::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.30) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.14) 100%
  );
}
.main::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  pointer-events:none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    inset 0 0 20px rgba(255,255,255,.20);
}

/* 固定ヘッダー */
.fixed-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.82),
      rgba(215,248,255,0.76),
      rgba(150,228,255,0.72)
    );
  border-bottom: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(20,80,120,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 14px;
}
.fixed-header > *{ position: relative; z-index: 1; }

.fixed-header::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(55px 28px at 15% 30%, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(80px 34px at 52% 25%, rgba(255,240,170,.14) 0%, rgba(255,240,170,0) 72%),
    radial-gradient(60px 26px at 82% 38%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
  animation: summerGlow 12s ease-in-out infinite;
}
@keyframes summerGlow{
  0%{ transform: translateX(0); }
  50%{ transform: translateX(-4px); }
  100%{ transform: translateX(0); }
}

/* 戻るボタン */
.b-back-button a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(170,225,255,.85);
  box-shadow: 0 6px 14px rgba(90,180,220,.18), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration: none;
}
.b-back-button a:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(90,180,220,.24), inset 0 1px 0 rgba(255,255,255,.92);
}
.fixed-header .b-back-button img{ height: 30px; width: auto; }

/* 週ボタン */
.weekmenu{
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.weekbutton{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(220,248,255,.88));
  border: 1px solid rgba(160,225,255,.86);
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(90,180,220,.16), inset 0 1px 0 rgba(255,255,255,.90);
  transition: transform .12s ease, background .12s ease;
}
.weekbutton:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,251,255,.94));
}

/* ロゴ */
.logo-center img{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(80,170,220,.20));
}

/* テーブル */
.main table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.52);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(140,220,255,.35);
  box-shadow: 0 14px 42px rgba(20,80,120,.12);
  margin: 18px 0;
}
.main table td{
  border-bottom: 1px solid rgba(140,220,255,.24);
}
.main table tr:last-child td{ border-bottom: 0; }

/* 週見出し */
.main table tr.week td{
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(75,200,255,.90),
      rgba(135,230,255,.88),
      rgba(255,236,150,.82)
    );
  color: rgba(10, 65, 95, .98);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
  letter-spacing: .06em;
  padding: 14px 12px;
  font-size: 1.8rem;
  scroll-margin-top: 86px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.main table tr.week td::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 45%, transparent 90%);
}

.productDate{
  width: 6rem;
  background: rgba(255,255,255,.76);
  color: rgba(20,110,165,.98);
  font-weight: 900;
  font-size: 1.3rem;
  padding: 10px 12px;
  white-space: nowrap;
  text-align: center;
}
.product{
  background: rgba(255,255,255,.74);
  color: var(--text);
  font-size: 1.4rem;
  padding: 10px 12px;
  line-height: 1.55;
}

/* 注意文 */
.infoBottom{ padding: 8px 0 18px; }
.infoBottom p{
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
}

footer{
  text-align: center;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 18px 10px 6px;
}

img{ max-width: 100%; vertical-align: middle; }

@media (hover:hover){
  .main table{
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .main table:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(20,80,120,.16);
  }
}

/* スライド */
.slideshow-container{
  position: relative;
  max-width: 100%;
}
.mySlides{ display: none; }
.fade{ animation: fadeEffect 2s ease; }
@keyframes fadeEffect{
  from{ opacity: .4; }
  to{ opacity: 1; }
}
.mySlides img{
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* 矢印 */
.prev,
.next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  background: rgba(0,90,130,0.34);
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}
.prev{ left: 10px; }
.next{ right: 10px; }
.prev:hover,
.next:hover{ background: rgba(0,90,130,0.56); }

/* ドット */
.pagenation{ text-align: center; }
.dot{
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background: rgba(20,110,165,.20);
  border-radius: 50%;
  display: inline-block;
  transition: transform .12s ease, background .12s ease;
}
.dot:hover{ transform: scale(1.1); }
.dot.active{ background: rgba(20,110,165,.62); }

@media (max-width: 600px){
  body{ padding: 78px 10px 18px; }
  .fixed-header{ height: 60px; padding: 8px 10px; }
  .logo-center img{ height: 30px; }

  .weekmenu{
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 6px;
  }
  .weekmenu::-webkit-scrollbar{ display: none; }
  .weekbutton{ flex: 0 0 auto; padding: 6px 10px; font-size: 1.2rem; }

  .productDate{ width: 5.4rem; font-size: 1.2rem; }
  .product{ font-size: 1.3rem; }

  .main table tr.week td{
    font-size: 1.6rem;
    padding: 12px 10px;
  }
}

@media (prefers-reduced-motion: reduce){
  body::after,
  .snow-front{
    animation: none !important;
  }
  .fade{ animation: none !important; }
  .main table:hover{ transform: none; }
}