/* ============================================================
   Variables
============================================================ */
:root {
  --pink-light: #EAC8CC;
  --pink-deep:  #B47783;
  --herb-light: #DEDFD8;
  --herb-mid:   #C2CFA9;
  --herb-dark:  #577051;
  --gray-base:  #B8B4B5;
  --dark:       #3A3838;
  --mid:        #5D5D5D;
  --light-mid:  #777777;
  --bg:         #F5F3F3;
  --bg-pc:      #F0EFEE;
  --white:      #FFFFFF;
  --sp-width:   390px;
  --pc-main-width: 500px;
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  scrollbar-gutter: stable;
  background-color: var(--bg);
  background-attachment: fixed;
  background-size: cover;
}

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

/* ============================================================
   Announce Bar
============================================================ */
.announce-bar {
  width: 100%;
  background-color: var(--bg);
  text-align: center;
  padding: 10px 20px;
}

.announce-bar p {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: min(3.2vw, 12px);
  font-weight: 700;
  white-space: nowrap;
  color: var(--dark);
  letter-spacing: 1px;
}

@media (min-width: 751px) {
  .announce-bar p {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

/* ============================================================
   Loading
============================================================ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url('https://d2w53g1q050m78.cloudfront.net/wwwakarancojp/uploads/yoshinohokuto/images/main_bg_pc.webp') center / cover no-repeat;
  transition: opacity 0.5s ease;
}

@media (max-width: 750px) {
  #loading {
    background-image: url('https://d2w53g1q050m78.cloudfront.net/wwwakarancojp/uploads/yoshinohokuto/images/fv_bg_sp.webp');
  }
}

#loading.fadeout {
  opacity: 0;
  pointer-events: none;
}

#loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 720px);
  height: auto;
  display: block;
}

#loading .cls-1 {
  fill: #222;
}

#loading-tagline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(50vw, 467px);
  height: auto;
  opacity: 0;
}

/* ============================================================
   FV Scroll Transition
============================================================ */
#fv-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 150;
}

/* ============================================================
   Sidebar Nav（PC: 751px〜）
============================================================ */
.sidebar-nav {
  display: none;
}

@media (min-width: 751px) {
  .sidebar-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 48px;
    top: 56px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar-nav.visible {
    opacity: 1;
    pointer-events: all;
  }

  .sidebar-logo-img {
    width: 140px;
    height: auto;
    display: block;
  }

  .sidebar-menu {
    list-style: none;
    margin-top: 52px;
  }

  .sidebar-menu li + li {
    margin-top: 20px;
  }

  .sidebar-menu a {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--dark);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  .sidebar-menu a:hover {
    opacity: 1;
  }

  .hamburger {
    display: none !important;
  }

  .nav {
    display: none;
  }
}

/* ============================================================
   Navigation（PC/SP共通・固定）
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.nav > * { pointer-events: all; }

.nav-logo {
  font-family: 'Arimo', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--dark);
  text-transform: uppercase;
  opacity: 0.75;
}

.hamburger {
  position: fixed;
  top: 55px;
  right: 20px;
  z-index: 200;
  width: 24px;
  height: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 1px;
  background: var(--dark);
  transition: all 0.35s ease;
  transform-origin: center;
}

/* 2本線 → × アニメーション */
.hamburger.active span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(245,243,243,0.97);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.menu-logo {
  width: 140px;
  height: auto;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 40px 0;
}

.menu-nav a {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.menu-nav a:hover { opacity: 1; }

.menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 60px 30px 0;
  padding: 20px;
  background: var(--dark);
  color: var(--white);
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
}

.menu-cta-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.menu-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.menu-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.menu-sns img {
  width: 28px;
  height: 28px;
}

/* ============================================================
   FV PC（751px〜）
============================================================ */
.fv-pc {
  display: none;
  position: relative;
  width: 100%;
  height: calc(100vh - 40px);
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

@media (min-width: 751px) { .fv-pc { display: block; } }

.fv-pc .fv-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-pc .fv-main {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-pc .fv-catches {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.fv-pc .fv-catch-main {
  position: absolute;
  left: 7.64vw;
  top: 44vh;
  transform: translateY(-50%);
  width: 28.47vw;
  height: auto;
}

.fv-pc .fv-catch-sub {
  position: absolute;
  right: 2.78vw;
  bottom: 2.36vw;
  width: 32.43vw;
  height: auto;
}

/* スクロールキュー */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  pointer-events: none;
}

.scroll-cue span {
  font-family: 'Arimo', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: var(--dark);
  transform-origin: top;
  animation: scrollAnim 1.8s ease infinite;
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   FV SP（〜750px）
============================================================ */
.fv-sp {
  display: block;
  position: relative;
  width: 100%;
  max-height: calc(100svh - 40px);
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 751px) { .fv-sp { display: none; } }

.fv-sp .fv-bg {
  width: 100%;
  height: auto;
  display: block;
}

.fv-sp .fv-main {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-sp .fv-catches {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.fv-sp .fv-catch-main {
  position: absolute;
  left: 50%;
  top: 3%;
  transform: translateX(-50%);
  width: 59.5%;
  height: auto;
}

.fv-sp .fv-catch-sub {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3%;
  width: 79.7%;
  height: auto;
}

/* ============================================================
   Main Content（SP: 100% / PC: 500px・中央）
============================================================ */
.main {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

@media (min-width: 751px) {
  body {
    background-image: url('https://d2w53g1q050m78.cloudfront.net/wwwakarancojp/uploads/yoshinohokuto/images/main_bg_pc.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .main {
    max-width: var(--pc-main-width);
    box-shadow: 0 0 80px rgba(0,0,0,0.07);
  }
}

/* ============================================================
   Fade-in
============================================================ */
.fi {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fi[data-fi-index="1"] { transition-delay: 0.1s; }
.fi[data-fi-index="2"] { transition-delay: 0.2s; }
.fi.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOVIE
============================================================ */
.sec-movie {
  background: var(--white);
  padding: 52px 30px 64px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.movie-block { display: flex; flex-direction: column; gap: 14px; }

.movie-label {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--mid);
  text-align: center;
}

.movie-thumb {
  position: relative;
  width: 100%;
}

.movie-thumb[data-video] {
  cursor: pointer;
}

.movie-thumb-img {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--dark);
  margin-left: 3px;
}

.play-label {
  font-family: 'Arimo', sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

/* Movie Modal */
.movie-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.movie-modal.open {
  opacity: 1;
  pointer-events: all;
}

.movie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.movie-modal-content {
  position: relative;
  width: 90%;
  max-width: 720px;
}

.movie-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-modal-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.movie-modal-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   CARE
============================================================ */
.sec-care {
  background: url('https://d2w53g1q050m78.cloudfront.net/wwwakarancojp/uploads/yoshinohokuto/images/care_bg.webp') center / cover no-repeat;
  padding: 0;
  overflow: hidden;
}

.care-visual {
}

.care-main-img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   PROFILE
============================================================ */
.sec-pf {
  width: 100%;
}

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

/* ============================================================
   CAMPAIGN
============================================================ */
.sec-campaign {
  position: relative;
  overflow: hidden;
  background-color: #d6d8cf;
}

.cp-bg {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.cp-content {
  position: relative;
  z-index: 1;
  padding: 54% 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cp-wave {
  position: relative;
}

.cp-badge {
  background: #577051;
  color: var(--white);
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 5px 30px;
  text-align: center;
  width: fit-content;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.cp-card {
  background: var(--white);
  padding: 30px 25px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cp-title {
  font-family: 'Zen Kaku Gothic New';
  font-weight: 900;
  font-size: 18px;
  color: #577051;
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid #577051;
  border-bottom: 1px solid #577051;
  width: 100%;
  letter-spacing: 2px;
}

.cp-desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #577051;
  line-height: 1.8;
  text-align: center;
  font-weight: 500;
}

.cp-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.cp-retail {
  margin-top: 20px;
}

/* Accordion */
.cp-accordion-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 16px;
  margin-bottom: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cp-accordion-arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #577051;
  border-bottom: 2px solid #577051;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.cp-accordion.open .cp-accordion-arrow {
  transform: rotate(-135deg);
}

.cp-accordion-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.cp-accordion.open .cp-accordion-body {
  max-height: 3000px;
}

.campaign-period {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.period-label {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--mid);
}

.period-date {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--mid);
}

.card-note {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--light-mid);
  text-align: center;
}

.cp-cta {
  display: block;
  width: 100%;
  margin: 8px auto;
}

.cp-cta-img {
  width: 100%;
  height: auto;
  display: block;
}

.coming-wrap {
  padding: 10px 0 10px;
  text-align: left;
  width: 100%;
}

.coming-date {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--mid);
  margin-bottom: 8px;
}

.coming-text {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--mid);
}

/* ============================================================
   POINT
============================================================ */
.sec-point {
  background: url('https://d2w53g1q050m78.cloudfront.net/wwwakarancojp/uploads/yoshinohokuto/images/point_bg.webp') top center / 100% no-repeat;
  padding: 0;
}

.point-img-title {
  padding: 40px 50px;
}

.point-img:not(.point-img-title) {
  padding-bottom: 20px;
}

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

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg);
  padding: 50px 30px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.footer-privacy {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 11px;
  color: var(--mid);
  text-decoration: underline;
  margin-top: 30px;
}

.footer-sns {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.footer-sns img {
  width: 36px;
  height: 36px;
}

.footer-copy {
  font-family: 'EB Garamond', serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--mid);
  margin-top: 40px;
}

/* Campaign Banner (Fixed Bottom) */
.campaign-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-banner.show {
  transform: translateX(0);
}

.campaign-banner.hidden {
  transform: translateX(-100%);
  pointer-events: none;
}

.campaign-banner-link {
  display: block;
  width: 100%;
  max-width: 800px;
}

.campaign-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.campaign-banner-close {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.campaign-banner-close:hover {
  background: rgba(0, 0, 0, 0.45);
}

@media (min-width: 751px) {
  .campaign-banner {
    bottom: 0;
    left: 0;
    right: auto;
    max-width: 480px;
  }

  .campaign-banner-close {
    top: 15px;
    right: 20px;
  }
}

/* ============================================================
   WHERE TO BUY（購入先）
============================================================ */
.sec-buy {
  background: #F5F3EF;
  padding-top: 40px;
}

/* ヘッダー */
.buy-header {
  text-align: center;
  padding: 0 20px;
}

.buy-logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.buy-lead {
  font-size: 13px;
  color: var(--mid);
  margin-top: 25px;
}

.buy-nav-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 30px;
}

.buy-nav-btn {
  background: var(--herb-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 20px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.buy-nav-label {
  font-size: 11px;
  letter-spacing: 2px;
  font-family: 'EB Garamond', serif;
}

.buy-nav-sub {
  font-size: 13px;
}

/* カード共通 */
.buy-card {
  background: #fff;
  border-radius: 0;
  margin: 30px 20px;
  padding: 30px 20px;
}

.buy-card--online {
  margin-top: 0;
  margin-bottom: 30px;
}

.buy-card-en {
  font-family: 'Zen Kaku Gothic New';
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--mid);
  text-align: center;
}

.buy-card-ja {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

.buy-card-note {
  font-size: 11px;
  color: var(--mid);
  text-align: center;
  margin: 16px 0 20px;
  line-height: 1.6;
}

/* 店舗グリッド */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-btn {
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  background: #fff;
  color: var(--dark);
  text-decoration: none;
}


/* 追加店舗（アコーディオン） */
.shop-more-stores {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-more-stores.open {
  display: grid;
}

.shop-btn--single {
  grid-column: span 1;
}

.shop-toggle {
  font-size: 12px;
  color: var(--herb-dark);
  text-decoration: underline;
  text-align: center;
  margin-top: 16px;
  cursor: pointer;
}

/* オンラインリンク */
.online-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 60px;
}

.online-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  background: #fff;
  position: relative;
}

.online-btn:hover {
  background: #faf9f9;
}

.online-btn--full {
  width: 100%;
}

.online-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.online-ext {
  width: 18px;
  position: absolute;
  right: 14px;
  padding-left: 8px;
}
