@charset "UTF-8";

/* ================================================
   CSS Variables
   ================================================ */
:root {
  /* --- Color --- */
  --green:          #0B4023;   /* KV・PRESENT背景 */
  --cream:          #FFF2DA;   /* 店舗紹介・キャンペーン詳細 背景 */
  --red:            #AB1F1E;   /* CTAボタン */
  --maroon:         #7D0C0B;   /* セクション背景・区切り帯 */
  --ink:            #1A1208;   /* 本文・見出し */
  --attention-bg:   #f7f7f7;   /* 注意事項背景 */
  --line:           #0B4023;   /* 罫線 */
  --bg:             #ffffff;

  /* --- Gold Gradient（斜め45度） --- */
  --gold-1: #956815;
  --gold-2: #FFF2DA;
  --gold-3: #82652E;
  --gold-gradient: linear-gradient(-135deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);

  /* --- Splash --- */
  --splash-bg:      #ffffff;

  /* --- Typography --- */
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-en:   'Cormorant Garamond', 'Noto Serif JP', serif;

  /* --- Layout --- */
  --content-width: 390px;      /* SPコンテンツ幅（PC表示時の固定幅） */
  --pad:           24px;       /* コンテンツ左右余白 */

  /* --- Icons --- */
  /* 外部リンクアイコン：background-color: currentColor + mask-image で色を変更する */
  --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
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.is-nav-open { overflow: hidden; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}
a:hover { opacity: 0.75; }

em { font-style: normal; }

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--ink);
  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);
}

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

/* KV要素：スプラッシュ完了後に 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) {
  .anim-fade,
  .anim-pop,
  .kv-anim { transition: none; }
}


/* ================================================
   Splash
   ================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--splash-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;
  }
}


/* ================================================
   Layout — PC Fixed Background
   ================================================ */
.l-pc-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--green);
}

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

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

.l-pc-bg__left,
.l-pc-bg__right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((100% - var(--content-width)) / 2);
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.l-pc-bg__left  { left: 0; }
.l-pc-bg__right { right: 0; }


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

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

@media (min-width: 600px) {
  .l-content {
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.25));
  }
}

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


/* ================================================
   Layout — 契約者様限定バー
   ================================================ */
.l-monthly-campaign {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 16px;
  background: #7D500F;

  & p {
    font-size: min(3.85vw, 0.9375rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
  }
}


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

.l-kv {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 820;
  overflow: hidden;
  background: var(--green);
}

.l-kv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ＼抽選で100名様にプレゼント／：KV画像から分離し、常時ふわふわ浮遊させる
   （日付ラベルのすぐ上、円形写真の下端に重なる位置） */
.l-kv__label {
  position: absolute;
  z-index: 2;
  top: 76%;
  left: 50%;
  width: 39%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.7s ease;

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

.l-kv__label.is-visible {
  opacity: 1;
  animation: kv-label-float 2.6s ease-in-out 0.6s infinite;
}

@keyframes kv-label-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .l-kv__label.is-visible { animation: none; }
}


/* ================================================
   Component — Button
   ================================================ */
.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 326px;
  min-height: 60px;
  padding: 14px 44px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  transition: opacity 0.3s;

  &:hover { opacity: 0.85; }
}

/* 応募ボタン（赤・シェブロン） */
.c-btn--primary {
  background: var(--red);
}

/* 外部リンクボタン（緑地） */
.c-btn--blank {
  background: var(--green);
}

/* 別窓アイコン */
.c-btn--blank::after {
  content: '';
  position: absolute;
  top: calc(50% - 9px);
  right: 22px;
  display: block;
  width: 18px;
  height: 18px;
  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;
}

/* シェブロン矢印（→ 右向き） */
.c-btn__arrow {
  position: absolute;
  right: 24px;
  top: calc(50% - 5px);
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.c-btn__text {
  font-family: var(--font-sans);
  white-space: nowrap;
}

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

.c-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}


/* ================================================
   Component — Section Title
   （和文小 → 欧文大 / 左右に金の唐草をあしらう）
   ================================================ */
.c-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;

  & .c-section-title__deco {
    flex-shrink: 0;
    width: 100px;

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

  & .c-section-title__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--font-en);
    font-size: 1.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--ink);
  }

  & .c-section-title__jp {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    line-height: 1;
  }
}


/* ================================================
   Component — アイコン付き小見出し（赤椿／白椿）
   ================================================ */
.c-icon-label {
  display: flex;
  align-items: center;
  gap: 8px;

  & .c-icon-label__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }

  & .c-icon-label__text {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  & .c-icon-label__line {
    flex: 1;
    height: 1px;
    background: #EAD99C;
  }
}


/* ================================================
   Component — 罫線ボックスラベル（軟水／硬水 等）
   ================================================ */
.c-box-label {
  display: inline-block;
  width: fit-content;
  padding: 3px 14px;
  border: 1px dotted var(--green);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--green);
}


/* ================================================
   Component — 金グラデーション フレーム
   ================================================ */
.c-gold-frame {
  position: relative;
  border: 3px solid;
  border-image: var(--gold-gradient) 1;
}

/* 写真の金縁 */
.c-gold-photo {
  padding: 3px;
  background: var(--gold-gradient);

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


/* ================================================
   Lead（概要）
   ================================================ */
.p-lead {
  position: relative;
  padding: 40px var(--pad) 32px;
  background-image: url('../images/lead_bg.webp');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  font-family: var(--font-serif);
}

.p-lead__heading {
  font-size: min(4.87vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink);
}

.p-lead__heading-sm {
  font-size: 1rem;
}

.p-lead__body {
  margin-top: 26px;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: left;

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

.p-lead__btn-wrap {
  max-width: 326px;
  margin: 32px auto 0;
}


/* ================================================
   全幅インサート画像
   ================================================ */
.c-photo img {
  width: 100%;
  height: auto;
}


/* ================================================
   Present
   ================================================ */
.p-present {
  position: relative;
  padding: 56px 8px 24px;
  background-color: var(--green);
  background-image: url('../images/noise_01.webp');
  background-repeat: repeat;
  background-size: 100px;
  font-family: var(--font-serif);
}

.p-present::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid;
  border-image: var(--gold-gradient) 1;
  pointer-events: none;
  z-index: 1;
}

.p-present__heading {
  margin-bottom: 24px;

  & .c-section-title__body { color: #EADFC7; }
}

.p-present__logo {
  width: 316px;
  max-width: 100%;
  margin: 16px auto 0;

  & img { width: 100%; }
}

.p-present__name {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

.p-present__photo {
  position: relative;
  margin-top: 24px;

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

.p-present__photo-label {
  position: absolute;
  z-index: 1;
  top: -6%;
  left: 1%;
  width: 32%;

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

.p-present__spec {
  margin: 16px 0 0 16px;
  font-family: var(--font-sans);
}

.p-present__spec-title {
  font-size: 0.75rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  color: #fff;
}

.p-present__spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  list-style: none;

  & li {
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #fff;
  }
}

.p-present__spec-note {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: normal;
  line-height: 1.6;
  color: #fff;
}

.p-present__about {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid;
  border-image: var(--gold-gradient) 1;
}

.p-present__about-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
}

.p-present__about-text {
  margin: 32px 16px 0;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #fff;
}

.p-present__blends {
  margin: 24px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.p-present__blend-text {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #EAD99C;
}

.p-present__blend-icon {
  color: var(--gold-3);
}

.p-present .c-icon-label__text {
  font-family: var(--font-serif);
  color: #EAD99C;
}

.p-present__insert {
  margin: 24px 16px 0;

  & img {
    width: 100%;
    height: auto;
    border: 2px solid;
    border-image: var(--gold-gradient) 1;
  }
}


/* ================================================
   About（椿屋珈琲について）— クリーム地 + 金枠
   ================================================ */
.p-feature {
  padding: 8px;
  background: var(--maroon);
  font-family: var(--font-serif);
}

.p-feature__inner {
  position: relative;
  padding: 32px 16px 16px;
  background-color: var(--cream);
  background-image: url('../images/noise_02.webp');
  background-repeat: repeat;
  background-size: 100px;
}

.p-feature__heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.p-feature__heading-text {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: right;
  color: var(--maroon);
  flex: 1;
  display: flex;
  align-items: center;
}

.p-feature__photo {
  flex-shrink: 0;
  width: 253px;
  height: 200px;
  padding: 2px;
  background: var(--gold-gradient);

  & img { width: 100%; height: 100%; object-fit: cover; }
}

.p-feature__text {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink);

  & + & { margin-top: 1.6em; }
}

.p-feature__photo-block {
  margin-top: 24px;
  padding: 2px;
  background: var(--gold-gradient);

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

.p-feature__shoplink {
  margin-top: 20px;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--ink);
  text-decoration: underline;
  word-break: break-all;
}

.p-feature__btn-wrap {
  margin-top: 16px;
  .c-btn{
    max-width: 100%;
    font-family: var(--font-sans);
  }
}


/* ================================================
   Water（ウォーターサーバー訴求）
   ================================================ */
.p-water {
  position: relative;
  padding: 16px 16px 40px;
  background: linear-gradient(150deg, #FFFFFF 0%, #FFF2DA 30%, #C9D7CF 60%, #FFFFFF 100%);
  font-family: var(--font-serif);
}

.p-water::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/noise_03.webp');
  background-repeat: repeat;
  background-size: 100px;
  pointer-events: none;
}

.p-water > * {
  position: relative;
  z-index: 1;
}

.p-water__heading {
  margin-top: 32px;
  font-size: min(5.13vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink);
}

.p-water__lead {
  margin: 32px 8px 0;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.p-water__insert {
  padding: 2px;
  background: var(--gold-gradient);
  & img { width: 100%; height: auto; }
}

.p-water__block {
  margin: 32px 8px 0;
  color: var(--green);
  .c-icon-label__line{
    background: var(--green);
  }
}

.p-water__block + .p-water__block { margin-top: 30px; }

.p-water__item {
  margin-top: 18px;
}
.p-water__item:first-of-type { margin-top: 16px; }

.p-water__item-text {
  margin-top: 8px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.p-water__photo {
  margin: 32px 8px 0;
  padding: 2px;
  background: var(--gold-gradient);

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

.p-water__closing {
  margin: 32px 8px 0;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.p-water__note {
  margin: 16px 8px 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--ink);

  & a { text-decoration: underline; word-break: break-all; }
}

.p-water__btn-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


/* ================================================
   Campaign Detail
   ================================================ */
.p-campaign {
  background: var(--cream);
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-image: var(--gold-gradient) 1;
  font-family: var(--font-serif);
}

.p-campaign__inner {
  padding: 44px var(--pad) 60px;

  & .note {
    margin-top: 8px;
    font-size: 0.8125rem;
    line-height: 1.7;
  }

  & ol {
    margin-top: 8px;
    list-style: decimal;
    list-style-position: inside;
    font-size: 0.875rem;
    line-height: 1.9;
  }
}

.p-campaign__heading {
  margin-bottom: 34px;
}

.p-campaign__label {
  margin-top: 30px;

  &:first-of-type { margin-top: 0; }
}

.p-campaign__label + .p-campaign__label { margin-top: 34px; }

.p-campaign__content {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.p-campaign__content + .p-campaign__content { margin-top: 0; }


/* ================================================
   Attention
   ================================================ */
.p-attention {
  padding: 48px var(--pad) 56px;
  background: var(--attention-bg);
}

.p-attention__heading {
  margin-bottom: 32px;
}

.p-attention__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;

  & li {
    font-size: 0.75rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-align: justify;
  }

  & a { text-decoration: underline; }
}

.p-attention__organizer {
  margin-top: 30px;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--ink);
}


/* ================================================
   Footer
   ================================================ */
.l-footer {
  display: grid;
  grid-template-columns: auto;
  gap: 26px;
  padding: 36px var(--pad) 30px;
  background: #fff;
  text-align: center;
}

.c-sns {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

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


/* ================================================
   Hamburger / Navigation
   （本案件ではナビ不使用。機能のみ保持し、非表示にしている）
   ================================================ */
.toggle-wrap {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger__label {
  margin-top: 2px;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.hamburger.is-active .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-wrap {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s;
}

.nav-wrap[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
}

.nav-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  padding: 4rem 2rem 2rem;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-wrap[aria-hidden="false"] .nav-menu {
  transform: translateX(0);
}
