/* =========================
   Spring Sakura (based on Winter Pretty)
   ========================= */

:root{
  --text: rgba(70, 20, 40, .92);
  --muted: rgba(90, 40, 60, .65);
  --line: rgba(255, 190, 210, .45);
  --card: rgba(255,255,255,.55);
  --card2: rgba(255,255,255,.45);
  --shadow: 0 18px 55px rgba(200,120,150,.22);
  --radius: 22px;
}


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; /* fixed header offset */
  color: var(--text);
  overflow-x: hidden;
}

/* Background sky */
body::before{
  content:"";
  position: fixed;
  inset: -30vh -30vw;
  z-index: -3;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 50% 35%, rgba(255,235,245,.55), transparent 60%),
    radial-gradient(1000px 700px at 20% 15%, rgba(255,245,230,.65), transparent 60%),
    radial-gradient(900px 650px at 80% 20%, rgba(255,220,235,.55), transparent 60%),
    linear-gradient(180deg, #fff5f8 0%, #ffe4ef 45%, #ffd6e5 100%);
  filter: saturate(115%) contrast(104%);
}

/* Back petals */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events:none;
  /* sakura (back layer) */
  background-image:
    radial-gradient(6px 6px at 40px 50px, rgba(255,180,200,.45) 50%, transparent 55%),
    radial-gradient(5px 5px at 160px 120px, rgba(255,200,215,.40) 50%, transparent 55%),
    radial-gradient(7px 7px at 90px 200px, rgba(255,170,195,.35) 50%, transparent 55%),
    radial-gradient(5.5px 5.5px at 260px 180px, rgba(255,205,225,.38) 50%, transparent 55%),
    radial-gradient(6px 6px at 300px 40px, rgba(255,165,195,.32) 50%, transparent 55%);
  background-size: 360px 300px;
  opacity: .45;
  animation: sakuraBack 18s linear infinite;
  transform: translate3d(0,0,0);
}
@keyframes sakuraBack{
  0%{ transform: translateY(-20vh) translateX(0) rotate(0deg); }
  100%{ transform: translateY(120vh) translateX(40px) rotate(360deg); }
}

/* Front petals */

.snow-front{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events:none;
  /* sakura (front layer) */
  background-image:
    radial-gradient(10px 10px at 70px 90px, rgba(255,170,200,.85) 50%, transparent 55%),
    radial-gradient(8px 8px at 260px 160px, rgba(255,190,210,.75) 50%, transparent 55%),
    radial-gradient(9px 9px at 150px 300px, rgba(255,160,195,.78) 50%, transparent 55%),
    radial-gradient(8.6px 8.6px at 420px 240px, rgba(255,200,220,.80) 50%, transparent 55%),
    radial-gradient(7.8px 7.8px at 560px 80px, rgba(255,175,205,.70) 50%, transparent 55%);
  background-size: 680px 580px;
  opacity: .70;
  animation: sakuraFront 30s linear infinite;
}
@keyframes sakuraFront{
  0%{ transform: translateY(-30vh) translateX(0) rotate(0deg); }
  100%{ transform: translateY(130vh) translateX(-60px) rotate(-360deg); }
}

/* Main glass card */
.main{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.62);
  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,.26) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.18) 100%
  );
}
/* (②) subtle rim sparkle */
.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 18px rgba(255,255,255,.25);
}

/* Fixed header */
.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(255,235,245,0.74),
    rgba(255,245,230,0.70)
  );
  border-bottom: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(20,40,70,.10);
  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:
    /* Blossom-ish cluster (left) */
    radial-gradient(14px 10px at 18% 52%, rgba(255,175,200,.18) 0%, rgba(255,175,200,0) 70%),
    radial-gradient(12px 9px  at 20% 48%, rgba(255,200,215,.16) 0%, rgba(255,200,215,0) 72%),
    radial-gradient(10px 8px  at 16% 48%, rgba(255,235,245,.22) 0%, rgba(255,235,245,0) 65%),

    /* Soft bokeh (center/top) */
    radial-gradient(46px 32px at 55% 28%, rgba(255,185,210,.12) 0%, rgba(255,185,210,0) 68%),
    radial-gradient(34px 26px at 62% 18%, rgba(255,225,235,.14) 0%, rgba(255,225,235,0) 66%),

    /* Petal-ish hints (right) */
    radial-gradient(14px 10px at 82% 58%, rgba(255,170,205,.16) 0%, rgba(255,170,205,0) 72%),
    radial-gradient(12px 9px  at 78% 54%, rgba(255,210,225,.14) 0%, rgba(255,210,225,0) 74%),

    /* base gentle wash */
    radial-gradient(80% 120% at 10% 40%, rgba(255,210,225,0.18), transparent 55%),
    radial-gradient(80% 120% at 90% 50%, rgba(255,230,240,0.16), transparent 55%);

  opacity: .95;
  filter: blur(.25px);
  mix-blend-mode: multiply;

  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  /* 目的：輪郭(リング)を消して、ふわっとした花びら“気配”にする */
  background:
    /* Blossom-ish cluster (left) */
    radial-gradient(14px 10px at 18% 52%, rgba(255,175,200,.18) 0%, rgba(255,175,200,0) 70%),
    radial-gradient(12px 9px  at 20% 48%, rgba(255,200,215,.16) 0%, rgba(255,200,215,0) 72%),
    radial-gradient(10px 8px  at 16% 48%, rgba(255,235,245,.22) 0%, rgba(255,235,245,0) 65%),

    /* Soft bokeh (center/top) */
    radial-gradient(46px 32px at 55% 28%, rgba(255,185,210,.12) 0%, rgba(255,185,210,0) 68%),
    radial-gradient(34px 26px at 62% 18%, rgba(255,225,235,.14) 0%, rgba(255,225,235,0) 66%),

    /* Petal-ish hints (right) */
    radial-gradient(14px 10px at 82% 58%, rgba(255,170,205,.16) 0%, rgba(255,170,205,0) 72%),
    radial-gradient(12px 9px  at 78% 54%, rgba(255,210,225,.14) 0%, rgba(255,210,225,0) 74%),

    /* base gentle wash */
    radial-gradient(80% 120% at 10% 40%, rgba(255,210,225,0.18), transparent 55%),
    radial-gradient(80% 120% at 90% 50%, rgba(255,230,240,0.16), transparent 55%);

  opacity: .95;
  filter: blur(.25px);
  mix-blend-mode: multiply;

  /* アニメーションは“今のままでOK”とのことなので維持 */
  animation: sakuraFloatHeader 14s ease-in-out infinite;
}

  animation: sakuraFloatHeader 14s ease-in-out infinite;
}

@keyframes sakuraFloatHeader{
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(2px) translateX(-3px); }
  100% { transform: translateY(0) translateX(0); }
}


/* Back button */
.b-back-button a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(200,220,240,.78);
  box-shadow: 0 6px 14px rgba(120,170,210,.20), 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(120,170,210,.22), inset 0 1px 0 rgba(255,255,255,.90);
}
.fixed-header .b-back-button img{ height: 30px; width: auto; }

/* Week menu buttons */
.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: rgba(255,255,255,.82);
  border: 1px solid rgba(200,220,240,.78);
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(120,170,210,.18), inset 0 1px 0 rgba(255,255,255,.82);
  transition: transform .12s ease, background .12s ease;
}
.weekbutton:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.94);
}

/* Logo */
.logo-center img{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(120,170,210,.22));
}

/* Tables -> Card style */
.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(150, 190, 230, .35);
  box-shadow: 0 14px 42px rgba(20,40,70,.12);
  margin: 18px 0;
}
.main table td{
  border-bottom: 1px solid rgba(150, 190, 230, .28);
}
.main table tr:last-child td{ border-bottom: 0; }

/* Week header row */
.main table tr.week td{
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(255,190,210,.85),
    rgba(255,215,225,.80),
    rgba(255,235,240,.75)
  );
  color: rgba(90, 20, 50, .95);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.70);
  letter-spacing: .06em;
  padding: 14px 12px;
  font-size: 1.8rem;
  scroll-margin-top: 86px; /* anchor offset */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* subtle sakura watermark */
.main table tr.week td::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.06;
  background-repeat: repeat;
  background-size: 260px 130px;
  background-position: 0 0;
  filter: blur(1px);    
}
.main table tr.week td::before{
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%2290%22%20viewBox=%220%200%20180%2090%22%3E%0A%3Cg%20fill=%22rgba(255,140,175,0.9)%22%3E%0A%3Cpath%20d=%22M18%2038c6-9%2016-9%2022%200-9%206-13%2018-11%2028-11-5-18-17-11-28z%22/%3E%0A%3Cpath%20d=%22M40%2018c9%206%209%2016%200%2022-6-9-18-13-28-11%205-11%2017-18%2028-11z%22/%3E%0A%3Cpath%20d=%22M62%2038c-6%209-16%209-22%200%209-6%2013-18%2011-28%2011%205%2018%2017%2011%2028z%22/%3E%0A%3Cpath%20d=%22M40%2058c-9-6-9-16%200-22%206%209%2018%2013%2028%2011-5%2011-17%2018-28%2011z%22/%3E%0A%3Ccircle%20cx=%2240%22%20cy=%2238%22%20r=%225%22%20fill=%22rgba(255,255,255,0.8)%22/%3E%0A%3C/g%3E%0A%3Cg%20fill=%22rgba(255,165,195,0.85)%22%20transform=%22translate(90,0)%22%3E%0A%3Cpath%20d=%22M18%2038c6-9%2016-9%2022%200-9%206-13%2018-11%2028-11-5-18-17-11-28z%22/%3E%0A%3Cpath%20d=%22M40%2018c9%206%209%2016%200%2022-6-9-18-13-28-11%205-11%2017-18%2028-11z%22/%3E%0A%3Cpath%20d=%22M62%2038c-6%209-16%209-22%200%209-6%2013-18%2011-28%2011%205%2018%2017%2011%2028z%22/%3E%0A%3Cpath%20d=%22M40%2058c-9-6-9-16%200-22%206%209%2018%2013%2028%2011-5%2011-17%2018-28%2011z%22/%3E%0A%3Ccircle%20cx=%2240%22%20cy=%2238%22%20r=%225%22%20fill=%22rgba(255,255,255,0.75)%22/%3E%0A%3C/g%3E%0A%3C/svg%3E");
}

/* Emphasize first character in week title */
.main table tr.week td::first-letter{
  font-size: 2.6rem;
  font-weight: 900;
  margin-right: .1em;
  vertical-align: -0.05em;
  display: inline-block;
}

/* Cells */
.productDate{
  width: 6rem;
  background: rgba(255,255,255,.72);
  color: rgba(20,70,150,.95);
  font-weight: 900;
  font-size: 1.3rem;
  padding: 10px 12px;
  white-space: nowrap;
  text-align: center;
}
.product{
  background: rgba(255,255,255,.72);
  color: var(--text);
  font-size: 1.4rem;
  padding: 10px 12px;
  line-height: 1.55;
}

/* Footer / notes */
.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;
}

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

/* Hover lift */
@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,40,70,.16);
  }
}

/* Slideshow */
.slideshow-container{
  position: relative;
  max-width: 100%;
}
.mySlides{ display: none; } /* prevents vertical stacking */

/* fade effect */
.fade{ animation: fadeEffect 2s ease; }
@keyframes fadeEffect{
  from{ opacity: .4; }
  to{ opacity: 1; }
}
.mySlides img{
  width: 100%;
  display: block;
}

/* Prev/Next arrows */
.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,0,0,0.35);
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}
.prev{ left: 10px; }
.next{ right: 10px; }
.prev:hover,
.next:hover{ background: rgba(0,0,0,0.55); }

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

/* Responsive */
@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;
  }
  .main table tr.week td::first-letter{ font-size: 2.2rem; }
}


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

