/* =========================================================
   青乃屋 | style.css
   ========================================================= */

/*
Theme name: AONOYA
Theme URI: https://staging.combined-design.co.jp/
Description: 青が好きな人のための小さなショップです
Version: 1.0
Author: sayakayamaguchi
Author: https://combined-design.co.jp/
*/

:root {
  /* Colors */
  --navy: #041e42;
  --blue-deep: #143b97;
  --blue: #004c97;
  --blue-light: #62b5e5;
  --text-muted: #4a5b70;
  --text-soft: #8fa7c4;
  --border: #eef2f6;
  --border-soft: #dde8f0;
  --bg-soft: #eaf3fa;
  --bg-gradient-end: #f2f8fc;
  --white: #ffffff;

  /* Footer (dark) */
  --footer-bg: #041e42;
  --footer-text: #dbe7f3;
  --footer-text-muted: #b9cbe0;
  --footer-copy: #8fa7c4;
  --footer-border: rgba(255, 255, 255, 0.14);

  /* Fonts */
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-accent: "Cormorant Garamond", serif;

  /* Layout */
  --container-max: 1180px;
  --header-h: 90px;
  --header-h-mobile: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-mobile); }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

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

.mobile-only { display: inline; }

@media (min-width: 768px) {
  html { scroll-padding-top: var(--header-h); }
  .mobile-only { display: none; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h-mobile);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 24px rgba(4, 30, 66, 0.06); }

.header__inner {
  height: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__mark {
  display: block;
  width: 38px;
  height: 53px;
  overflow: visible;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.logo__text {
  font-family: var(--font-serif);
  font-size: 16.8px;
  letter-spacing: 3px;
  color: var(--navy);
  white-space: nowrap;
}

/* --- mobile nav (slide-in) --- */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(304px, 82vw);
  background: #fff;
  box-shadow: -8px 0 15px rgba(4, 30, 66, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h-mobile) + 40px) 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 101;
}
.nav.is-open { transform: translateX(0); }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.nav__list a {
  font-size: 14.4px;
  letter-spacing: 0.72px;
  color: var(--navy);
}

.nav__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.4px;
  letter-spacing: 0.72px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.nav__cart .icon { width: 20px; height: 20px; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 66, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 102;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 768px) {
  .header { height: var(--header-h); }
  .header__inner { padding: 0 100px; }
  .logo__text { font-size: 24px; }
  .logo__mark { width: 45px; height: 63px; }

  .nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 0;
    box-shadow: none;
    transform: none;
    background: transparent;
  }
  .nav__list { flex-direction: row; gap: 36px; }
  .nav__cart { border-top: none; padding-top: 4px; margin-top: 0; }
  .nav-overlay { display: none; }
  .menu-toggle { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h-mobile) + 60px) 24px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf3fb 0%, #f7fafd 60%, #ffffff 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/top-background1920.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
}

.hero__illustration {
  width: 210px;
  filter: drop-shadow(0 18px 17px rgba(4, 30, 66, 0.18));
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(32px, 8vw, 44px);
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin-top: 8px;
}

.hero__lead {
  font-size: clamp(15px, 3.6vw, 20px);
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  color: var(--blue);
  line-height: 1.6;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll span {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blue);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(0, 76, 151, 0) 100%);
}

@media (min-width: 768px) {
  .hero { padding: 160px 24px 200px; }
  .hero__bg { background-image: url("../img/top-background1920.png"); }
  .hero__illustration { width: 300px; }
  .hero__title { color: var(--blue-deep); }
  .hero__lead { color: var(--blue-deep); }
  .hero__scroll span, .hero__scroll i { }
}

/* =========================================================
   SHARED SECTION STYLES
   ========================================================= */
.section {
  padding: 70px 20px;
}
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 44px;
}
.eyebrow {
  font-family: var(--font-accent);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
}
.section__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 33.6px);
  letter-spacing: 0.08em;
  color: var(--navy);
}

@media (min-width: 768px) {
  .section { padding: 100px 40px; }
  .section__head { margin-bottom: 56px; }
}

/* =========================================================
   CAROUSEL / MARQUEE
   ========================================================= */
.carousel-section { padding-left: 0; padding-right: 0; }

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  margin: 0;
  padding: 0;
}
.marquee__track.is-ready {
  animation: gallery-scroll 50s linear infinite;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  padding: 0;
}

.marquee__item {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc(280px * 2 / 3);
  height: calc(340px * 2 / 3);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  overflow: hidden;
}
.marquee__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 30, 66, 0) 55%, rgba(4, 30, 66, 0.6) 100%);
}
.marquee__item figcaption {
  position: relative;
  font-family: var(--font-serif);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .marquee__item {
    width: calc(331px * 2 / 3);
    height: 240px;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none;}
  .marquee { overflow-x: auto; }
  .marquee__group[aria-hidden="true"],
  .marquee__item[aria-hidden="true"] {
    display: none;}
}

.marquee {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  margin: 0;
  padding: 0;
  animation: none;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  padding: 0;
}

.marquee__item {
  flex-shrink: 0;
  margin: 0;
}

.marquee__track.is-ready {
  animation: gallery-loop var(--gallery-duration, 30s) linear infinite;
}

/* マウスを重ねても動かす */
.marquee:hover .marquee__track {
  animation-play-state: running;
}

@keyframes gallery-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }

  .marquee__track.is-ready {
    animation: none;
    transform: none;
  }

  .marquee__group[aria-hidden="true"],
  .marquee__item[aria-hidden="true"] {
    display: none;
  }
}

/* =========================================================
   TOPICS
   ========================================================= */
.topics-section { background: var(--bg-soft); }

.topics-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.topic-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.topic-card__thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
}
.topic-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.topic-card__label {
  font-family: var(--font-accent);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.topic-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17.3px;
  color: var(--navy);
  line-height: 1.5;
}
.topic-card__excerpt {
  font-size: 13.6px;
  line-height: 1.85;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .topics-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}

/* =========================================================
   ITEM CATEGORY
   ========================================================= */
.category-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.category-card {
  isolation: isolate; /* 重なり順をカード内に限定 */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  box-sizing: border-box;
  width: 70%;
  margin-inline: auto; /* 左右の余白を均等にする */
  aspect-ratio: 1 / 1; /* 元画像の 横 / 縦 */
  height: auto;
  padding-bottom: 22.4px;
  border-radius: 0px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,30,66,0) 45%, rgba(4,30,66,0.45) 100%);
}
.category-card:hover { transform: translateY(-4px); }

.category-card__en {
  position: relative;
  z-index: 1; /* グラデーションより手前に表示 */
  opacity: 1; /* 白文字を不透明にする */
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0.85;
}
.category-card__ja {
  position: relative;
  z-index: 1; /* グラデーションより手前に表示 */
  opacity: 1; /* 白文字を不透明にする */
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #fff;
}

@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .category-card {
    box-sizing: border-box;
    width: 70%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin-inline: auto;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }
  .category-card__ja { font-size: 24px; }
}

/* =========================================================
   STORY
   ========================================================= */
.story-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-gradient-end) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-lines {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.story-lines p {
  font-family: var(--font-serif);
  font-size: clamp(15px, 3.6vw, 18.9px);
  line-height: 2.1;
  color: var(--navy);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 45px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-family: var(--font-accent);
  font-size: 13.1px;
  letter-spacing: 0.28em;
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* =========================================================
   GUIDE (Accordion)
   ========================================================= */
.accordion {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--border-soft);
}
.accordion__item { border-bottom: 1px solid var(--border-soft); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 6px;
  text-align: left;
}
.accordion__num {
  font-family: var(--font-accent);
  font-size: 15.2px;
  color: var(--blue-light);
  flex-shrink: 0;
}
.accordion__label {
  font-family: var(--font-serif);
  font-size: 16.3px;
  color: var(--navy);
  flex: 1;
}
.accordion__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  top: 50%;
  left: 50%;
}
.accordion__icon::before { width: 16px; height: 1px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 1px; height: 16px; transform: translate(-50%, -50%); transition: transform 0.3s ease, opacity 0.3s ease; }

.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion__panel p {
  padding: 0 6px 26px;
  font-size: 14.4px;
  line-height: 1.95;
  color: var(--text-muted);
}
.accordion__item.is-open .accordion__panel { max-height: 220px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 20px 30px;
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--footer-border);
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { width: 64px; height: auto; }
.footer__brand p {
  font-size: 12.8px;
  color: var(--footer-text-muted);
}

.footer__col h3 {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 13.6px; color: var(--footer-text); }
.footer__col a:hover { color: #fff; }

.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__social img { filter: none; }

.footer__copy {
  font-family: var(--font-accent);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--footer-copy);
  margin-top: 32px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
}
.footer__tagline {
  font-family: var(--font-accent);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--footer-copy);
}

@media (min-width: 768px) {
  .footer { padding: 80px 40px 30px; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer__bottom { justify-content: space-between; }
}

/* Keep the fixed header below the WordPress admin toolbar. */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .header { top: 0; }
}

/* WordPress page content and editable images. */
.aonoya-page-content > * { margin-block-start: 0; margin-block-end: 0; }
body:not(.home):not(.page-template-template-aonoya-home) .aonoya-page-content {
  padding: calc(var(--header-h-mobile) + 40px) 24px 60px;
}
@media (min-width: 768px) {
  body:not(.home):not(.page-template-template-aonoya-home) .aonoya-page-content {
    padding-top: calc(var(--header-h) + 40px);
  }
}
.aonoya-page-title { margin-bottom: 24px; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg { background-image: none; }
.hero__illustration img { height: auto; }
.aonoya-empty { padding: 160px 24px; }

/* Per-block responsive design controls. Empty settings retain theme defaults. */
.aonoya-adjustable.aonoya-hero { padding-top: var(--aonoya-paddingTop-mobile, calc(var(--header-h-mobile) + 60px)); }
.aonoya-adjustable.aonoya-hero { padding-bottom: var(--aonoya-paddingBottom-mobile, 140px); }
.aonoya-adjustable.aonoya-hero .hero__title { font-size: var(--aonoya-titleSize-mobile, clamp(32px, 8vw, 44px)); }
.aonoya-adjustable.aonoya-hero .hero__illustration { width: var(--aonoya-logoWidth-mobile, 210px); }
.aonoya-adjustable.aonoya-hero .hero__content { max-width: var(--aonoya-contentWidth-mobile, 640px); }
.aonoya-adjustable.aonoya-hero .hero__content { gap: var(--aonoya-contentGap-mobile, 16px); }
.aonoya-adjustable.aonoya-hero { min-height: var(--aonoya-minHeight-mobile, 100svh); }
.aonoya-adjustable.aonoya-hero .hero__lead { font-size: var(--aonoya-bodySize-mobile, clamp(15px, 3.6vw, 20px)); }
.aonoya-adjustable.aonoya-hero .hero__bg img { --aonoya-background-x: var(--aonoya-backgroundX-mobile, 50%); }
.aonoya-adjustable.aonoya-hero .hero__bg img { --aonoya-background-y: var(--aonoya-backgroundY-mobile, 50%); }
.aonoya-adjustable.aonoya-gallery { padding-top: var(--aonoya-paddingTop-mobile, 70px); }
.aonoya-adjustable.aonoya-gallery { padding-bottom: var(--aonoya-paddingBottom-mobile, 70px); }
.aonoya-adjustable.aonoya-gallery .section__title { font-size: var(--aonoya-titleSize-mobile, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-gallery .section__head { margin-bottom: var(--aonoya-headingGap-mobile, 44px); }
.aonoya-adjustable.aonoya-gallery .marquee__item { width: var(--aonoya-imageWidth-mobile, calc(280px * 2 / 3)); }
.aonoya-adjustable.aonoya-gallery .marquee__item { height: var(--aonoya-imageHeight-mobile, calc(340px * 2 / 3)); }
.aonoya-adjustable.aonoya-gallery .marquee__group { gap: var(--aonoya-gap-mobile, 0px); }
.aonoya-adjustable.aonoya-gallery .marquee__item figcaption { font-size: var(--aonoya-captionSize-mobile, 16px); }
.aonoya-adjustable.aonoya-topics { padding-top: var(--aonoya-paddingTop-mobile, 70px); }
.aonoya-adjustable.aonoya-topics { padding-bottom: var(--aonoya-paddingBottom-mobile, 70px); }
.aonoya-adjustable.aonoya-topics .section__title { font-size: var(--aonoya-titleSize-mobile, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-topics .section__head { margin-bottom: var(--aonoya-headingGap-mobile, 44px); }
.aonoya-adjustable.aonoya-topics .topic-card__thumb { height: var(--aonoya-imageHeight-mobile, 190px); }
.aonoya-adjustable.aonoya-topics .topics-grid { --aonoya-columns: var(--aonoya-columns-mobile, 1); }
.aonoya-adjustable.aonoya-topics .topics-grid { gap: var(--aonoya-gap-mobile, 28px); }
.aonoya-adjustable.aonoya-topics .topic-card__excerpt { font-size: var(--aonoya-bodySize-mobile, 13.6px); }
.aonoya-adjustable.aonoya-categories { padding-top: var(--aonoya-paddingTop-mobile, 70px); }
.aonoya-adjustable.aonoya-categories { padding-bottom: var(--aonoya-paddingBottom-mobile, 70px); }
.aonoya-adjustable.aonoya-categories .section__title { font-size: var(--aonoya-titleSize-mobile, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-categories .section__head { margin-bottom: var(--aonoya-headingGap-mobile, 44px); }
.aonoya-adjustable.aonoya-categories .category-card { width: var(--aonoya-cardWidth-mobile, 70%); }
.aonoya-adjustable.aonoya-categories .category-grid { --aonoya-columns: var(--aonoya-columns-mobile, 1); }
.aonoya-adjustable.aonoya-categories .category-grid { gap: var(--aonoya-gap-mobile, 18px); }
.aonoya-adjustable.aonoya-categories .category-card__ja { font-size: var(--aonoya-labelSize-mobile, 22px); }
.aonoya-adjustable.aonoya-categories .category-card { padding-bottom: var(--aonoya-labelBottom-mobile, 22.4px); }
.aonoya-adjustable.aonoya-story { padding-top: var(--aonoya-paddingTop-mobile, 70px); }
.aonoya-adjustable.aonoya-story { padding-bottom: var(--aonoya-paddingBottom-mobile, 70px); }
.aonoya-adjustable.aonoya-story .section__title { font-size: var(--aonoya-titleSize-mobile, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-story .section__head { margin-bottom: var(--aonoya-headingGap-mobile, 44px); }
.aonoya-adjustable.aonoya-story .story-lines { max-width: var(--aonoya-contentWidth-mobile, 460px); }
.aonoya-adjustable.aonoya-story .story-lines p { font-size: var(--aonoya-bodySize-mobile, clamp(15px, 3.6vw, 18.9px)); }
.aonoya-adjustable.aonoya-story .story-lines p { line-height: var(--aonoya-lineHeight-mobile, 2.1); }
.aonoya-adjustable.aonoya-guide { padding-top: var(--aonoya-paddingTop-mobile, 70px); }
.aonoya-adjustable.aonoya-guide { padding-bottom: var(--aonoya-paddingBottom-mobile, 70px); }
.aonoya-adjustable.aonoya-guide .section__title { font-size: var(--aonoya-titleSize-mobile, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-guide .section__head { margin-bottom: var(--aonoya-headingGap-mobile, 44px); }
.aonoya-adjustable.aonoya-guide .accordion { max-width: var(--aonoya-contentWidth-mobile, 820px); }
.aonoya-adjustable.aonoya-guide .accordion__panel p { font-size: var(--aonoya-bodySize-mobile, 14.4px); }
.aonoya-adjustable.aonoya-guide .accordion__label { font-size: var(--aonoya-questionSize-mobile, 16.3px); }
@media (min-width: 768px) {
.aonoya-adjustable.aonoya-hero { padding-top: var(--aonoya-paddingTop-desktop, 160px); }
.aonoya-adjustable.aonoya-hero { padding-bottom: var(--aonoya-paddingBottom-desktop, 200px); }
.aonoya-adjustable.aonoya-hero .hero__title { font-size: var(--aonoya-titleSize-desktop, clamp(32px, 8vw, 44px)); }
.aonoya-adjustable.aonoya-hero .hero__illustration { width: var(--aonoya-logoWidth-desktop, 300px); }
.aonoya-adjustable.aonoya-hero .hero__content { max-width: var(--aonoya-contentWidth-desktop, 640px); }
.aonoya-adjustable.aonoya-hero .hero__content { gap: var(--aonoya-contentGap-desktop, 16px); }
.aonoya-adjustable.aonoya-hero { min-height: var(--aonoya-minHeight-desktop, 100svh); }
.aonoya-adjustable.aonoya-hero .hero__lead { font-size: var(--aonoya-bodySize-desktop, clamp(15px, 3.6vw, 20px)); }
.aonoya-adjustable.aonoya-hero .hero__bg img { --aonoya-background-x: var(--aonoya-backgroundX-desktop, 50%); }
.aonoya-adjustable.aonoya-hero .hero__bg img { --aonoya-background-y: var(--aonoya-backgroundY-desktop, 50%); }
.aonoya-adjustable.aonoya-gallery { padding-top: var(--aonoya-paddingTop-desktop, 100px); }
.aonoya-adjustable.aonoya-gallery { padding-bottom: var(--aonoya-paddingBottom-desktop, 100px); }
.aonoya-adjustable.aonoya-gallery .section__title { font-size: var(--aonoya-titleSize-desktop, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-gallery .section__head { margin-bottom: var(--aonoya-headingGap-desktop, 56px); }
.aonoya-adjustable.aonoya-gallery .marquee__item { width: var(--aonoya-imageWidth-desktop, calc(331px * 2 / 3)); }
.aonoya-adjustable.aonoya-gallery .marquee__item { height: var(--aonoya-imageHeight-desktop, 240px); }
.aonoya-adjustable.aonoya-gallery .marquee__group { gap: var(--aonoya-gap-desktop, 0px); }
.aonoya-adjustable.aonoya-gallery .marquee__item figcaption { font-size: var(--aonoya-captionSize-desktop, 16px); }
.aonoya-adjustable.aonoya-topics { padding-top: var(--aonoya-paddingTop-desktop, 100px); }
.aonoya-adjustable.aonoya-topics { padding-bottom: var(--aonoya-paddingBottom-desktop, 100px); }
.aonoya-adjustable.aonoya-topics .section__title { font-size: var(--aonoya-titleSize-desktop, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-topics .section__head { margin-bottom: var(--aonoya-headingGap-desktop, 56px); }
.aonoya-adjustable.aonoya-topics .topic-card__thumb { height: var(--aonoya-imageHeight-desktop, 190px); }
.aonoya-adjustable.aonoya-topics .topics-grid { --aonoya-columns: var(--aonoya-columns-desktop, 3); }
.aonoya-adjustable.aonoya-topics .topics-grid { gap: var(--aonoya-gap-desktop, 36px); }
.aonoya-adjustable.aonoya-topics .topic-card__excerpt { font-size: var(--aonoya-bodySize-desktop, 13.6px); }
.aonoya-adjustable.aonoya-categories { padding-top: var(--aonoya-paddingTop-desktop, 100px); }
.aonoya-adjustable.aonoya-categories { padding-bottom: var(--aonoya-paddingBottom-desktop, 100px); }
.aonoya-adjustable.aonoya-categories .section__title { font-size: var(--aonoya-titleSize-desktop, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-categories .section__head { margin-bottom: var(--aonoya-headingGap-desktop, 56px); }
.aonoya-adjustable.aonoya-categories .category-card { width: var(--aonoya-cardWidth-desktop, 70%); }
.aonoya-adjustable.aonoya-categories .category-grid { --aonoya-columns: var(--aonoya-columns-desktop, 3); }
.aonoya-adjustable.aonoya-categories .category-grid { gap: var(--aonoya-gap-desktop, 26px); }
.aonoya-adjustable.aonoya-categories .category-card__ja { font-size: var(--aonoya-labelSize-desktop, 24px); }
.aonoya-adjustable.aonoya-categories .category-card { padding-bottom: var(--aonoya-labelBottom-desktop, 0px); }
.aonoya-adjustable.aonoya-story { padding-top: var(--aonoya-paddingTop-desktop, 100px); }
.aonoya-adjustable.aonoya-story { padding-bottom: var(--aonoya-paddingBottom-desktop, 100px); }
.aonoya-adjustable.aonoya-story .section__title { font-size: var(--aonoya-titleSize-desktop, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-story .section__head { margin-bottom: var(--aonoya-headingGap-desktop, 56px); }
.aonoya-adjustable.aonoya-story .story-lines { max-width: var(--aonoya-contentWidth-desktop, 460px); }
.aonoya-adjustable.aonoya-story .story-lines p { font-size: var(--aonoya-bodySize-desktop, clamp(15px, 3.6vw, 18.9px)); }
.aonoya-adjustable.aonoya-story .story-lines p { line-height: var(--aonoya-lineHeight-desktop, 2.1); }
.aonoya-adjustable.aonoya-guide { padding-top: var(--aonoya-paddingTop-desktop, 100px); }
.aonoya-adjustable.aonoya-guide { padding-bottom: var(--aonoya-paddingBottom-desktop, 100px); }
.aonoya-adjustable.aonoya-guide .section__title { font-size: var(--aonoya-titleSize-desktop, clamp(24px, 6vw, 33.6px)); }
.aonoya-adjustable.aonoya-guide .section__head { margin-bottom: var(--aonoya-headingGap-desktop, 56px); }
.aonoya-adjustable.aonoya-guide .accordion { max-width: var(--aonoya-contentWidth-desktop, 820px); }
.aonoya-adjustable.aonoya-guide .accordion__panel p { font-size: var(--aonoya-bodySize-desktop, 14.4px); }
.aonoya-adjustable.aonoya-guide .accordion__label { font-size: var(--aonoya-questionSize-desktop, 16.3px); }
}

.aonoya-adjustable .hero__bg img { object-position: var(--aonoya-background-x, 50%) var(--aonoya-background-y, 50%); object-fit: var(--aonoya-background-fit, cover); }
.aonoya-adjustable .hero__illustration { align-self: var(--aonoya-logo-align, center); max-width: 100%; }
.aonoya-adjustable .hero__content { width: 100%; }
.aonoya-adjustable .hero__illustration img { width: 100%; height: auto; }
.aonoya-adjustable .topics-grid, .aonoya-adjustable .category-grid { grid-template-columns: repeat(var(--aonoya-columns), minmax(0, 1fr)); }
.aonoya-adjustable .category-card { aspect-ratio: var(--aonoya-card-ratio, 1 / 1); }
.aonoya-adjustable .marquee__item, .aonoya-adjustable .topic-card__thumb, .aonoya-adjustable .category-card {
 background-position: var(--aonoya-item-x, 50%) var(--aonoya-item-y, 50%);
 background-repeat: no-repeat;
}
.aonoya-adjustable .marquee__item, .aonoya-adjustable .topic-card__thumb { background-size: var(--aonoya-item-fit, cover); }
.aonoya-adjustable .category-card { background-size: var(--aonoya-item-fit, contain); }
.aonoya-adjustable .marquee__group { padding-right: var(--aonoya-gap-mobile, 0px); }
@media (min-width: 768px) { .aonoya-adjustable .marquee__group { padding-right: var(--aonoya-gap-desktop, 0px); } }
.aonoya-adjustable .story-lines { width: 100%; }
.aonoya-adjustable .accordion__item.is-open .accordion__panel { max-height: none; }

/* WordPress navigation menus, shared by desktop and mobile. */
.nav__list, .nav__utility, .nav .sub-menu { list-style: none; margin: 0; padding-left: 0; }
.nav__utility { display: flex; flex-wrap: wrap; gap: 12px; }
.nav__list li { position: relative; }
.nav .sub-menu { margin-top: 12px; padding-left: 16px; }
.nav .sub-menu li + li { margin-top: 12px; }
.nav__list a, .nav__utility a { display: block; }
.nav a, .nav a:hover, .nav a:focus, .nav .current-menu-item > a { text-decoration: none; }
@media (max-width: 767px) {
  /* A filtered header creates a containing block for fixed descendants.
     Keep the mobile menu and overlay anchored to the viewport. */
  .header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav {
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    justify-content: flex-start;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
  .nav > * { flex-shrink: 0; }
  .nav__cart { margin-top: 28px; }
}
@media (min-width: 768px) {
  .nav__list { flex-wrap: wrap; row-gap: 12px; }
  .nav .sub-menu {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 200px; margin: 0; padding: 14px 16px;
    background: #fff; box-shadow: 0 8px 24px rgba(4,30,66,.12); z-index: 110;
  }
  .nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: block; }
  .nav .sub-menu .sub-menu { top: 0; left: 100%; }
  .nav .sub-menu a { padding: 6px 0; }
}
