/* ================================================
   CSS Variables
   ================================================ */
:root {
  --green:          #619900;
  --green-dark:     #4a7300;
  --brown:          #6e5028;
  --red:            #cd3237;
  --teal:           #006E99;
  --kv-bg:          #f8fadf;
  --bg:             #ffffff;
  --ink:            #444444;
  --content-width:  390px;
  --font-sans:      'Noto Sans JP', sans-serif;
  --font-serif:     'Noto Serif JP', serif;
  --font-en:        'Crimson Pro', serif;
  --icon-blank:     url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.625 0.5V12.625H0.5V0.5H12.625Z' stroke='black'/%3E%3Cpath d='M15.0001 1.875V15H1.87512' stroke='black'/%3E%3C/svg%3E");
}


/* ================================================
   Base Reset
   ================================================ */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  transition: opacity 0.3s;
}
a:hover { opacity: 0.75; }

em { font-style: normal; }

::selection {
  background: var(--green);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }


/* ================================================
   Skip Link
   ================================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  z-index: 10000;
  transition: top 0.2s;

  &:focus { top: 0; }
}


/* ================================================
   Animations
   ================================================ */
.anim-fade {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.anim-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* fuwafuwa と anim-fade の transform 競合を回避 */
.anim-fade.fuwafuwa {
  transform: translateY(0);
  transition: opacity 0.8s ease;
}

.anim-pop {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-pop.in-view {
  opacity: 1;
  transform: scale(1);
}

/* KV hero elements — splash 完了後に JS で .is-visible を付与 */
.kv-anim {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.kv-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .kv-anim { transition: none; }
}


/* ================================================
   Splash
   ================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;

  &.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.splash__logo {
  width: 200px;
  opacity: 1;
  transition: opacity 0.5s ease;

  &.is-hidden { opacity: 0; }

  & img {
    width: 100%;
    height: auto;
  }
}


/* ================================================
   PC Fixed Background
   ================================================ */
.l-pc-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 599px) {
  .l-pc-bg { display: none; }
}

.l-pc-campaign__bg {
  position: relative;
  width: 100%;
  height: 100%;
}

.l-pc-campaign__bg_left,
.l-pc-campaign__bg_right {
  position: absolute;
  top: 0;
  bottom: 0;
  border: 24px solid #fff;
  overflow: hidden;
  width: calc((100% - var(--content-width)) / 2);
}

.l-pc-campaign__bg_left  { left: 0; }
.l-pc-campaign__bg_right { right: 0; }

.l-pc-campaign__bg_left img,
.l-pc-campaign__bg_right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ================================================
   Content Layout
   ================================================ */
.l-content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
}

@media (min-width: 600px) {
  .l-content-wrap {
    padding-top: 24px;
    align-items: flex-start;
  }
}

.l-content {
  width: 100%;
  max-width: var(--content-width);
  background: var(--bg);
  position: relative;
}

@media (min-width: 600px) {
  .l-content {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px 16px 0 0;
    overflow: clip;
    filter: drop-shadow(0px 0px 5px rgba(110, 80, 40, 0.3));
  }
}

@media (max-width: 599px) {
  .l-content { max-width: 100%; }
}


/* ================================================
   Monthly Campaign Label (green header bar)
   ================================================ */
.l-monthly-campaign {
  position: relative;
  z-index: 2;
  background: var(--green);
  padding: 10px 24px;
  text-align: center;

  & p {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}
@media (max-width: 599px) {
  .l-monthly-campaign{
    & p{
      font-size: .9375rem;
    }
  }
}

/* ================================================
   KV — Hero Image Section
   ================================================ */
.l-header {
  position: relative;
  z-index: 1;
}

.l-kv__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 586;
  background: var(--kv-bg);
  overflow: hidden;
}

.l-kv__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom-left-radius: 48px;
}

.l-kv__logo {
  position: absolute;
  left: 2.05%;
  top: 1.02%;
  width: 32.05%;
  z-index: 3;
  mix-blend-mode: darken;

  & img {
    width: 100%;
    height: auto;
  }
}

.l-kv__copy {
  position: absolute;
  left: 9.74%;
  top: 10.75%;
  width: 42.56%;
  z-index: 3;

  & img {
    width: 100%;
    height: auto;
  }
}

.l-kv__campaign-title {
  position: absolute;
  left: 4.1%;
  top: 40.1%;
  z-index: 3;
}

.l-kv__title {
  margin: 0;
  line-height: 0;
  width: 64.1vw;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}
.l-kv__ribbon {
  margin-top: 3.2%;
  width: 64.1vw;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media (min-width: 599px) {
  .l-kv__title,.l-kv__ribbon {
    width: 250px;
  }
}


.l-kv__label {
  position: absolute;
  right: 2.05%;
  top: 39.6%;
  width: 29.5%;
  z-index: 3;

  & img {
    width: 100%;
    height: auto;
  }
}

/* Campaign period — SVG image replaces the old HTML/CSS date */
.l-kv__date {
  position: absolute;
  left: 9.74%;
  top: 66.7%;
  width: 47.4%;
  z-index: 3;

  & img {
    width: 100%;
    height: auto;
  }
}


/* ================================================
   KV — Content / Lead Text Section
   ================================================ */
.l-kv__content {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--kv-bg) 90%,
    #fff 100%
  );
  padding: 80px 24px 56px;
}

.l-kv__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.l-kv__deco-leaf {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -60px;
  z-index: 1;
  pointer-events: none;

  & img {
    width: 61px;
    height: 39px;
    object-fit: contain;
  }
}

.c-lead {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.c-lead__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--green);
}

.c-lead__heading {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.c-lead__body {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.03em;

  & p + p { margin-top: 0.7em; }
}

.c-lead__btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  .c-btn--blank{
    margin-bottom: 1rem;
  }
}


/* ================================================
   Button (c-btn)
   ================================================ */
.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 326px;
  min-height: 64px;
  padding: 18px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
  color: #fff;
  transition: opacity 0.3s;
  border-radius: 4px;

  &:hover { opacity: 0.85; }
}

.c-btn--brown { background: var(--brown); }

.c-btn--blank {
  background: #fff;
  color: var(--ink);
  line-height: 1.5;

  &::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-image: var(--icon-blank);
    mask-image: var(--icon-blank);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: calc(50% - 8px);
    right: 1rem;
  }
}

.c-btn__text { white-space: nowrap; }

.c-btn__arrow {
  position: absolute;
  right: 1.5rem;
  top: calc(50% - 4px);
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background-color: transparent;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.c-btn__note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}


/* ================================================
   Fuwafuwa animation
   ================================================ */
@keyframes fuwafuwa {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.fuwafuwa {
  animation: fuwafuwa 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fuwafuwa { animation: none; }
}


/* ================================================
   Section Title (共通見出し)
   ================================================ */
.c-section_title {
  font-family: var(--font-en);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  &::after {
    content: attr(data-text);
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: none;
  }
}


/* ================================================
   c-copy（抽選で〇〇名様）
   ================================================ */
.c-copy {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin: 0 auto 1.5rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9375rem;

  &::before,
  &::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--red);
  }

  &::before { rotate: 65deg; }
  &::after  { rotate: -65deg; }

  & p {
    white-space: nowrap;
    text-align: center;
  }

  & span {
    font-family: var(--font-en);
    font-size: 1.375rem;
    letter-spacing: 0;
  }
}


/* ================================================
   Present Section
   ================================================ */
.p-present {
  padding: 48px 0 48px;
  background: #fff;
}

.p-present__inner {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Two tea bags side-by-side, bottom-aligned */
.p-present__teas {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 16px;
  width: 100%;
}

.p-present__tea {
  flex: 0 0 auto;

  & img {
    max-height: 170px;
    width: auto;
    height: auto;
  }
}

.p-present__brand {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}

.p-present__detail-list {
  list-style: none;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 36px;
  width: 100%;
}

.p-present__jug {
  margin-bottom: 12px;

  & img {
    max-height: 200px;
    width: auto;
    height: auto;
  }
}

.p-present__jug-name {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4px;
}

.p-present__jug-color {
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.55;
  text-align: center;
  margin-bottom: 40px;
}

.p-present__coupon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;

  & img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
}

.p-present__coupon-title {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  span{
    font-size: .75rem;
  }
}

.p-present__coupon-notes {
  list-style: none;
  font-size: 0.75rem;
  line-height: 1.8;
  width: 100%;
}

/* ================================================
   Feature Section — numbered list on green bg
   ================================================ */
.p-feature{
  border-radius: 40px 0 0 0;
  overflow: hidden;
}
.p-feature__bg {
  padding: 24px 20px 52px;
  background:
    url('../images/noise.png') repeat,
    linear-gradient(to bottom,
    var(--green) 0%,
    #F8FADF 30%,
    #D4A76A 70%,
    var(--brown) 100%);
  background-size: 80px 80px, cover;
  background-blend-mode: overlay, normal;
}
.p-feature__heading {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: #fff;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  line-height: 1.5;

  & span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: 2px;
  }
}

.p-feature__imgs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.p-feature__img {
  border-radius: 10px;
  overflow: hidden;

  & img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.p-feature__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.p-feature__item {
  background: rgba(255, 255, 255, 0.93);
  border-radius: 10px;
  position: relative;
  border: 1px solid var(--green);
}

.p-feature__item-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(97, 153, 0, 0.08);
}

.p-feature__item-num {
  position: absolute;
  top: -1rem;
  left: -.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--green);
}

.p-feature__item-num-label {
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  letter-spacing: 0.05em;
}

.p-feature__item-num-value {
  font-family: var(--font-en);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--green);
  line-height: .6;
}

.p-feature__item-title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--green);
  line-height: 1.45;
}

.p-feature__item-text {
  color: var(--green);
  padding: 12px 16px 16px;
}

.p-feature__item--brown {
  border-color: var(--brown);

  & .p-feature__item-header {
    background: rgba(110, 80, 40, 0.08);
  }

  & .p-feature__item-num {
    border-color: var(--brown);
  }

  & .p-feature__item-num-label,
  & .p-feature__item-num-value,
  & .p-feature__item-title {
    color: var(--brown);
  }

  & .p-feature__item-text {
    color: var(--brown);
  }
}

.p-feature__btn-wrap {
  display: flex;
  justify-content: center;
  .c-btn--blank{
    color: var(--brown);
  }
}

/* ================================================
   Water / Brewing Section
   ================================================ */
.p-water__heading-wrap {
  padding: 24px 16px ;
  background:
    url('../images/noise.png') repeat,
    var(--teal);
  background-size: 80px 80px, auto;
  background-blend-mode: overlay, normal;
}

.p-water__heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.p-water__body {
  background:
    url('../images/noise.png') repeat,
    linear-gradient(to bottom, var(--teal) 0%, var(--kv-bg) 70%);
  background-size: 80px 80px, cover;
  background-blend-mode: overlay, normal;
}

.p-water__steps {
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-water__step {
  padding: 16px;
  border-radius: 100px;
  background: #fff;
  text-align: center;
  border: 1px solid var(--teal);
}

.p-water__step-text {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--teal);
}

.p-water__step-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 12px 0 4px;
  line-height: 1.5;
}

.p-water__step-arrow {
  display: flex;
  justify-content: center;
  padding: 14px 0;

  &::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 1);
  }
}

.p-water__inner-wrap {
  padding: 0 16px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  .c-btn--blank{
    color: var(--teal);
    border: 1px solid var(--teal);
  }
}

.p-water__media {
  position: relative;
  width: 100%;
}

.p-water__img {
  background:
    url('../images/noise.png') repeat,
    linear-gradient(to bottom, var(--brown) 100%);
  background-size: 80px 80px, cover;
  background-blend-mode: overlay, normal;

  & img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px 0 0 0;
  }
}

.p-water__media .p-water__img {
  width: 62%;
  background: none;

  & img {
    border-radius: 4px;
  }
}

.p-water__highlight {
  position: absolute;
  right: 0;
  bottom: -1rem;
  filter: drop-shadow(4px 4px 4px rgba(0, 110, 153,.2));

  & p {
    font-size: 4.1vw;
    font-weight: 700;
    line-height: 2;
    color: var(--teal);
    background: #fff;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 2px 2px 2px 4px;
  }
}

@media (min-width: 599px) {
  .p-water__highlight {
    & p {
      font-size: 1rem;
    }
  }
}

.p-water__text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--teal);
  text-align: center;
  padding: 0;
}

  
/* ================================================
   Campaign Detail Section
   ================================================ */
.p-campaign {
  background: #fff;
  background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(248, 250, 223, 1) 100%);
}

.p-campaign__inner {
  padding: 3.5rem 1.5rem;
  .note{
    font-size: .75rem;
    margin-top: .5rem;
  }
  ol{
    margin: 1rem 0 0 1rem;
    list-style: auto;
    li{

    }
  }
}

.p-campaign__label {
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  border: 1px solid var(--ink);
  border-radius: 2rem;
  width: fit-content;
  color: var(--ink);
  background: #fff;

  &:not(:first-of-type) {
    margin-top: 2rem;
  }
}

.p-campaign__content {
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--ink);
  margin-top: 1rem;
}


/* ================================================
   Attention Section
   ================================================ */
.p-attention {
  padding: 0 1.5rem 3.5rem;
  background: #fff;
}

.p-attention__inner {
  padding: 2rem 1rem 1.5rem;
  background: #f6f7f7;
}

.p-attention__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 0;

  & li {
    font-size: 0.75rem;
    line-height: 1.75;
    color: var(--ink);
    text-align: justify;
  }
}

.p-attention__organizer {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  margin-top: 2rem;
}


/* ================================================
   SNS Share Section
   ================================================ */
/* ================================================
   Footer
   ================================================ */
.l-footer {
  border-top: 1px solid #f6f7f7;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  background: #fff;
  display: grid;
  grid-template-columns: auto;
  gap: 2rem;

  & .c-sns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }

  & .copyright {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--ink);
  }
}
