@charset "UTF-8";
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/*--------- common style ------------*/
body {
  box-sizing: border-box;
  width: 100%;
}
@media screen and (min-width: 769px) {
  body {
    min-width: 1220px;
  }
}

#wrapper {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  /* ========================
   * Appear animation - additions
   * 既存の base:
   *   [data-animate]{ opacity:0; transform:translateY(12px); ... }
   *   [data-animate="fade"], [data-animate="rise"] などは既存を使用
   * ======================== */
  /* Scroll “rise” */
  /* Utility */
  /* ▼ 仕上げ（in-view時は必ずクリア）※ blur-in の後ろに置く */
  /* ▼ ステッガー：親に data-animate-group を付けたとき自動段差 */
  /* ▼ 強弱プリセット（任意） */
  /* ▼ 低速動作配慮（任意／既にあれば不要） */
}
@media screen and (min-width: 769px) {
  #wrapper {
    min-width: 1220px;
  }
}
@media screen and (max-width: 768px) {
  #wrapper {
    font-size: calc(0.0426666667 * 100vw);
  }
}
#wrapper main {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  color: #333;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  #wrapper main {
    font-size: calc(0.0426666667 * 100vw);
  }
}
#wrapper [data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
#wrapper .is-inview[data-animate] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  #wrapper [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #wrapper .ec-accordion__panel,
  #wrapper .ec-accordion__icon::before,
  #wrapper .ec-accordion__icon::after {
    transition: none !important;
  }
}
#wrapper .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
#wrapper [data-animate=blur-in] {
  --blur: 14px;
  --y: 10px;
  filter: blur(var(--blur));
  transform: translateY(var(--y));
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.9s ease;
}
#wrapper .is-inview[data-animate] {
  opacity: 1;
  transform: none;
  filter: none;
  /* 個別遅延とステッガーを合成 */
  transition-delay: calc(var(--delay, 0s) + var(--stagger, 0s));
}
#wrapper [data-animate-group] > [data-animate] {
  --stagger: calc(var(--i, 0) * 0.06s); /* 1要素ごとに +0.06s */
}
#wrapper [data-animate=blur-in].is-strong {
  --blur: 20px;
  --y: 14px;
}
#wrapper [data-animate=blur-in].is-soft {
  --blur: 10px;
  --y: 6px;
}
@media (prefers-reduced-motion: reduce) {
  #wrapper [data-animate] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.for_pc {
  display: block;
}
@media screen and (max-width: 768px) {
  .for_pc {
    display: none;
  }
}

.for_sp {
  display: block;
}
@media screen and (min-width: 769px) {
  .for_sp {
    display: none;
  }
}

.sp-space {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-space {
    display: inline;
  }
  .sp-space::after {
    content: " ";
    padding: 0 4px;
  } /* 半角相当のスペース */
}
.mt-s {
  margin-top: 8px;
}

.mt-d {
  margin-bottom: 8px;
}
@media screen and (max-width: 768px) {
  .mt-d {
    margin-bottom: calc(0.0213333333 * 100vw);
  }
}

sup {
  vertical-align: top;
  font-size: 30%;
}

/*--------- inner style ------------*/
.inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  box-sizing: border-box;
}
@media screen and (min-width: 769px) {
  .inner {
    min-width: 1220px;
    width: 1220px;
  }
}
@media screen and (max-width: 768px) {
  .inner {
    padding-left: calc(0.0426666667 * 100vw);
    padding-right: calc(0.0426666667 * 100vw);
  }
}

.inner__sp-full {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  box-sizing: border-box;
}
@media screen and (min-width: 769px) {
  .inner__sp-full {
    min-width: 1220px;
    width: 1220px;
  }
}
@media screen and (max-width: 768px) {
  .inner__sp-full {
    padding-left: calc(0 * 100vw);
    padding-right: calc(0 * 100vw);
  }
}

.inner--narrow {
  max-width: 960px;
}

.inner--wide {
  max-width: 1440px;
}

.inner--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.gothic {
  font-family: "Noto Sans JP", sans-serif;
}

/* グラデ文字（共通ユーティリティ） */
.gtext {
  background: linear-gradient(90deg, #e8a1da 0%, #a1cbff 55%, #93b9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.c-product-sIcon__item img {
  height: 23px;
}

@media screen and (max-width: 769px) {
  .c-product-sIcon__item img {
    height: calc(0.048 * 100vw);
  }
}
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* ===== 背景レイヤー（共通） ===== */
.ec-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../../../img/custom/home/bg.jpg") center/cover no-repeat;
}
@media screen and (max-width: 768px) {
  .ec-bg {
    background: url("../../../img/custom/home/bg_sp.jpg") center/cover no-repeat;
  }
}
.ec-bg-top {
  background: url("../../../img/custom/home/top_bg.jpg") center/cover no-repeat;
}
@media screen and (max-width: 768px) {
  .ec-bg-top {
    background: url("../../../img/custom/home/top_bg.jpg") center/cover no-repeat;
  }
}

/* ===== ページヒーロー（共通） ===== */
.ec-page-hero {
  --ph-image: none;
  --ph-image-sp: var(--ph-image);
  --ph-minh: clamp(220px, 42vw, 340px);
  position: relative;
  min-height: var(--ph-minh);
  display: flex;
  align-items: center;
  background: var(--ph-image) center/cover no-repeat;
  /* 配置バリエーション */
}
.ec-page-hero--tight {
  min-height: 200px;
}
.ec-page-hero--tight .ec-page-hero__title {
  font-size: 40px;
}
.ec-page-hero--tight .ec-page-hero__subtitle {
  font-size: 14px;
}
.ec-page-hero--center {
  text-align: center;
}
.ec-page-hero__inner {
  position: relative;
  z-index: 1;
}
.ec-page-hero__title {
  font-family: "Libre Baskerville", serif;
  font-weight: 300;
  font-size: clamp(24px, 5vw, 50px);
  line-height: 1.2;
  letter-spacing: 0.1rem;
}
.ec-page-hero__subtitle {
  display: block;
  margin-top: 12px;
  font-family: system-ui, -apple-system, "Noto Serif JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.ec-page-hero--center .ec-page-hero__inner {
  display: grid;
  place-items: center;
  text-align: center;
}
.ec-page-hero--left .ec-page-hero__inner {
  text-align: left;
}

@media screen and (max-width: 768px) {
  .ec-page-hero {
    --ph-minh: t.vw(220);
    padding: calc(0.32 * 100vw) 0;
    background-image: var(--ph-image-sp);
  }
  .ec-page-hero--tight {
    min-height: calc(0.2666666667 * 100vw);
    padding: calc(0.16 * 100vw) 0;
  }
  .ec-page-hero--tight .ec-page-hero__title {
    font-size: calc(0.0853333333 * 100vw);
  }
  .ec-page-hero--tight .ec-page-hero__subtitle {
    font-size: calc(0.0373333333 * 100vw);
    margin-top: calc(0.0213333333 * 100vw);
  }
  .ec-page-hero__inner {
    padding-inline: calc(0.0426666667 * 100vw);
  }
  .ec-page-hero__title {
    font-size: calc(0.1066666667 * 100vw);
    letter-spacing: 0.06rem;
  }
  .ec-page-hero__subtitle {
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-page-hero--center .ec-page-hero__inner {
    text-align: center;
  }
}
/* ===== セクション余白（共通器） ===== */
.ec-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .ec-section {
    padding-top: calc(0.1066666667 * 100vw);
    padding-bottom: calc(0.1066666667 * 100vw);
  }
}

/* ===== セクション見出し（共通） ===== */
.ec-section-head {
  font-family: "Noto Serif JP", sans-serif;
  margin-bottom: 40px;
}
.ec-section-head--center {
  text-align: center;
}
.ec-section-head--lg .ec-section-head__title {
  font-size: 32px;
}
.ec-section-head--tight {
  margin-bottom: 24px;
}
.ec-section-head--loose {
  margin-bottom: 32px;
}
.ec-section-head__kicker {
  font-size: 14px;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ec-section-head__kicker--jp {
  font-size: 14px;
  font-family: "Noto Serif JP", sans-serif;
  letter-spacing: 0.1em;
  margin-top: 8px;
  margin-bottom: 0;
}
.ec-section-head__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .ec-section-head {
    margin-bottom: calc(0.064 * 100vw);
    text-align: center;
  }
  .ec-section-head--tight {
    margin-bottom: calc(0.0426666667 * 100vw);
  }
  .ec-section-head--loose {
    margin-bottom: calc(0.0426666667 * 100vw);
  }
  .ec-section-head__kicker {
    font-size: calc(0.032 * 100vw);
    margin-bottom: calc(0.016 * 100vw);
  }
  .ec-section-head__kicker--jp {
    font-size: calc(0.0426666667 * 100vw);
    margin-bottom: calc(0 * 100vw);
    margin-top: calc(0.0213333333 * 100vw);
  }
  .ec-section-head__title {
    font-size: calc(0.0533333333 * 100vw);
  }
  .ec-section-head--lg .ec-section-head__title {
    font-size: calc(0.0533333333 * 100vw);
  }
}
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* =========================
 * Header
 * ========================= */
.ec-header {
  font-family: "Zen Kaku Gothic New", sans-serif;
  height: 56px;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1001;
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.32s ease, box-shadow 0.32s ease, -webkit-backdrop-filter 0.32s ease, backdrop-filter 0.32s ease;
  color: rgba(0, 0, 0, 0.72);
  margin: auto;
  z-index: 9999;
  /* Hamburger → X */
}
.ec-header__inner {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  z-index: 9999;
}
.ec-header__logo {
  width: 20px;
  height: auto;
  line-height: 1;
  letter-spacing: 0.02em;
  color: currentColor;
  text-decoration: none;
  display: inline-block;
  transform: translateY(1px);
}
.ec-header__icons {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 20px);
}
.ec-header__icon:hover {
  opacity: 1;
}
.ec-header__nav--text {
  margin: 0 40px 0 auto;
}
@media screen and (max-width: 768px) {
  .ec-header__nav--text {
    display: none;
  }
}
.ec-header__nav-list {
  display: flex;
  gap: 24px;
}
.ec-header__nav-item {
  font-family: "Noto Serif JP", sans-serif;
  font-weight: 500;
}
.ec-header__nav-item:hover {
  opacity: 0.6;
}
.ec-header .ec-header__icon--menu {
  --size: 24px;
  --thick: 2px;
  --dur: .25s;
  inline-size: var(--size);
  block-size: var(--size);
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: currentColor;
  background: linear-gradient(currentColor, currentColor) center/100% var(--thick) no-repeat;
}
.ec-header .ec-header__icon--menu::before, .ec-header .ec-header__icon--menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  inline-size: 100%;
  block-size: var(--thick);
  background: currentColor;
  transform-origin: 50% 50%;
  transition: transform var(--dur) ease, top var(--dur) ease, opacity var(--dur) ease, background-color var(--dur) ease;
}
.ec-header .ec-header__icon--menu::before {
  top: 4px;
}
.ec-header .ec-header__icon--menu::after {
  top: calc(var(--size) - 4px - var(--thick));
}
.ec-header .ec-header__icon--menu.is-active {
  background-size: 0 var(--thick);
}
.ec-header .ec-header__icon--menu.is-active::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.ec-header .ec-header__icon--menu.is-active::after {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
@media screen and (max-width: 768px) {
  .ec-header .ec-header__icon--menu {
    --size:calc(0.0693333333 * 100vw);
    --thick: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ec-header .ec-header__icon--menu,
  .ec-header .ec-header__icon--menu::before,
  .ec-header .ec-header__icon--menu::after {
    transition: none !important;
  }
}

/* TOPだけ透明ヘッダー */
html:has(.s-type-home) .ec-header {
  background: transparent;
  position: fixed;
}

.ec-header.is-solid {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

html:has(.s-type-home) .ec-header.is-solid {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* ロゴ画像サイズ（ヘッダー内で使うimg用） */
.ec-header__img {
  width: 20%;
  max-width: 120px;
}

/* 視覚的に隠す */
.sr-only {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
 * Fullscreen Menu
 * ========================= */
.ec-menu {
  position: fixed;
  inset: 0;
  z-index: 2000; /* ヘッダーより上 */
  display: flex;
  place-items: stretch;
  flex-direction: column;
  align-items: center;
  background: url(../../../img/custom/home/menu_bg.png) right center/contain no-repeat, #fff;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* 左：主要ナビ */
  /* 右：ご案内 */
}
@supports (height: 100dvh) {
  .ec-menu {
    height: 100dvh;
  }
}
.ec-menu[hidden] {
  display: none;
}
.ec-menu__panel {
  margin-inline: auto;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.ec-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.ec-menu__logo {
  width: 100px;
  text-decoration: none;
  color: inherit;
}
@media screen and (max-width: 768px) {
  .ec-menu__logo {
    width: 20%;
  }
}
.ec-menu__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  padding-top: 160px;
  width: 60%;
  margin: 0 0 0 auto;
}
@media screen and (max-width: 768px) {
  .ec-menu__body {
    gap: calc(0.064 * 100vw);
  }
}
.ec-menu__mainlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .ec-menu__mainlist {
    gap: calc(0.064 * 100vw);
  }
}
.ec-menu__mainlink {
  display: inline-grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.ec-menu__mainlink:hover .ec-menu__main-en {
  opacity: 0.6;
}
.ec-menu__main-en {
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  line-height: 1.2;
}
.ec-menu__main-ja {
  font-size: 14px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ec-menu__head {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .ec-menu__head {
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.ec-menu__link {
  font-size: 14px;
  text-decoration: none;
}
.ec-menu__link:hover {
  opacity: 0.6;
}
.ec-menu__foot {
  display: flex;
  position: relative;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  gap: 14px;
  bottom: 5%;
}
.ec-menu__sns {
  inline-size: 22px;
  block-size: 22px;
  display: inline-block;
  background-color: currentColor;
  color: currentColor;
  opacity: 0.85;
  -webkit-mask: no-repeat center/contain;
  mask: no-repeat center/contain;
}
.ec-menu__sns--ig {
  -webkit-mask-image: url("../../../img/custom/home/instagram.svg");
  mask-image: url("../../../img/custom/home/instagram.svg");
}
.ec-menu__sns:hover {
  opacity: 1;
}
.ec-menu__copy {
  font-size: 11px;
  color: #333;
}

/* =========================
 * SP
 * ========================= */
@media screen and (max-width: 768px) {
  .ec-header {
    height: calc(0.1493333333 * 100vw);
  }
  .ec-header__inner {
    height: calc(0.1493333333 * 100vw);
  }
  .ec-header__icon {
    width: calc(0.0533333333 * 100vw);
  }
  .ec-menu {
    background: url(../../../img/custom/home/menu_bg_sp.png) right top/contain no-repeat, #fff;
    /* ご案内：アコーディオン */
  }
  .ec-menu__header {
    height: calc(0.1493333333 * 100vw);
  }
  .ec-menu__copy {
    font-size: calc(0.0293333333 * 100vw);
  }
  .ec-menu__body {
    grid-template-columns: 1fr;
    gap: calc(0.064 * 100vw);
    padding-top: calc(0.2133333333 * 100vw);
    width: 100%;
    margin: 0;
  }
  .ec-menu__mainlist {
    gap: calc(0.0426666667 * 100vw);
  }
  .ec-menu__main-en {
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-menu__main-ja {
    font-size: calc(0.0373333333 * 100vw);
  }
  .ec-menu__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.0426666667 * 100vw) 0;
    padding-right: calc(0.0746666667 * 100vw);
    font-size: calc(0.0426666667 * 100vw);
    cursor: pointer;
    margin-bottom: 0;
  }
  .ec-menu__head::after { /* 横棒 */
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: calc(0.0426666667 * 100vw);
    height: calc(0.0053333333 * 100vw);
    background: currentColor;
    border-radius: calc(0.0026666667 * 100vw);
    transform: translateY(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .ec-menu__head::before { /* 縦棒（＋） */
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: calc(0.0426666667 * 100vw);
    height: calc(0.0053333333 * 100vw);
    background: currentColor;
    border-radius: calc(0.0026666667 * 100vw);
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .ec-menu__col--support {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }
  .ec-menu__head[aria-expanded=true]::before {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0);
  }
  .ec-menu__col--support.is-open .ec-menu__head::before {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0);
  }
  .ec-menu__col--support .ec-menu__list {
    display: none;
    padding: calc(0.0213333333 * 100vw) 0 calc(0.064 * 100vw);
  }
  .ec-menu__col--support.is-open .ec-menu__list {
    display: grid;
    gap: calc(0.0266666667 * 100vw);
  }
  .ec-menu__head[aria-expanded=true] + .ec-menu__list {
    display: grid;
    gap: calc(0.0426666667 * 100vw);
  }
  .ec-menu__link {
    font-size: calc(0.0373333333 * 100vw);
  }
  .ec-menu__foot {
    padding-top: calc(0.1066666667 * 100vw);
    bottom: auto;
    padding-bottom: calc(0.0426666667 * 100vw);
  }
}
/* =========================
 * Header utilities
 * ========================= */
.s-header-utilityList {
  gap: 0 24px;
}
@media screen and (max-width: 768px) {
  .s-header-utilityList {
    gap: calc(0.0426666667 * 100vw);
  }
}

.s-header-utilityList__item {
  display: block;
  width: 24px;
}
@media screen and (max-width: 768px) {
  .s-header-utilityList__item {
    width: calc(0.064 * 100vw);
  }
}

.ec-header__icons {
  display: flex;
  align-items: center;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .ec-header__icons {
    gap: calc(0.0426666667 * 100vw);
  }
}

.s-header__cartCnt {
  top: -0.5rem;
  right: -0.5rem;
}

/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* ===== EC Footer ===== */
.ec-footer {
  background: #333333;
  color: #fff;
  padding: 120px 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  /* 左：ブランド */
  /* 右：リンク2カラム */
  /* 小画面：縦積み */
  /* コントラスト配慮 */
}
@media screen and (max-width: 768px) {
  .ec-footer {
    padding: calc(0.2133333333 * 100vw) 0 calc(0.2666666667 * 100vw);
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-footer__inner {
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1fr;
  gap: clamp(40px, 5vw, 80px);
}
@media screen and (max-width: 768px) {
  .ec-footer__inner {
    grid-template-columns: 1fr;
    /* 1カラム */
    gap: calc(0.1066666667 * 100vw);
  }
}
.ec-footer__brand {
  display: grid;
  align-content: start;
  gap: 18px;
}
@media screen and (max-width: 768px) {
  .ec-footer__brand {
    gap: calc(0.032 * 100vw);
  }
}
.ec-footer__logo {
  max-width: 140px;
}
@media screen and (max-width: 768px) {
  .ec-footer__logo img {
    inline-size: calc(0.3733333333 * 100vw);
    height: auto;
  }
}
.ec-footer__sns {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .ec-footer__sns {
    gap: calc(0.0426666667 * 100vw);
    margin-bottom: calc(0.032 * 100vw);
  }
}
.ec-footer__sns-link {
  --s: 22px;
  inline-size: var(--s);
  block-size: var(--s);
  display: inline-block;
  background-color: #f5f5f5;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ec-footer__sns-link:hover {
  opacity: 0.6;
}
.ec-footer__sns-link--ig {
  -webkit-mask-image: url("../../../img/custom/home//instagram.svg");
  mask-image: url("../../../img/custom/home//instagram.svg");
}
.ec-footer__copy {
  font-size: 12px;
  color: #d6d6d6;
}
@media screen and (max-width: 768px) {
  .ec-footer__copy {
    font-size: calc(0.032 * 100vw);
  }
}
.ec-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 4vw, 60px);
}
@media screen and (max-width: 768px) {
  .ec-footer__nav {
    grid-template-columns: 1fr;
    gap: calc(0.1066666667 * 100vw);
  }
}
.ec-footer__col {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .ec-footer__col {
    gap: calc(0.0266666667 * 100vw);
  }
}
.ec-footer__col--primary .ec-footer__link {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .ec-footer__col--support {
    gap: 0;
    row-gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid #fff;
    padding: calc(0.1066666667 * 100vw) 0;
  }
}
.ec-footer__col--support .ec-footer__item {
  /* 先頭だけ100%で1段抜け */
}
@media screen and (max-width: 768px) {
  .ec-footer__col--support .ec-footer__item {
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  .ec-footer__col--support .ec-footer__item:first-child {
    width: 100%;
    max-width: 100%;
    margin-bottom: calc(0.0426666667 * 100vw);
  }
}
.ec-footer__link {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
@media screen and (max-width: 768px) {
  .ec-footer__link {
    font-size: calc(0.0373333333 * 100vw);
  }
}
.ec-footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .ec-footer__inner {
    grid-template-columns: 1fr;
  }
  .ec-footer__nav {
    grid-template-columns: 1fr;
  }
}
@media (prefers-contrast: more) {
  .ec-footer__link {
    text-decoration: underline;
  }
}

/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* =====================================================
 * TOPページ専用 SCSS
 * ===================================================== */
.p-home-custom {
  padding-bottom: 0rem;
  line-height: 1;
}

/* =========================
 * Hero Slider (cleaned)
 * ========================= */
.hero {
  position: relative;
  isolation: isolate;
  /* 選択/ドラッグ抑制（入力系は許可） */
  /* stage */
  /* slide（PC: 重ねてフェード） */
  /* media（全面背景/サイド） */
  /* panel（テキスト面） */
  /* row（slide2等の横並び） */
  /* 合成ブロック */
  /* dots */
}
.hero *, .hero *::before, .hero *::after {
  -webkit-touch-callout: none;
  user-select: none;
}
.hero img {
  -webkit-user-drag: none;
  user-drag: none;
}
.hero input, .hero textarea {
  -webkit-touch-callout: default;
  user-select: text;
}
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh; /* PC: 画面高 */
  cursor: grab;
}
.hero__stage.is-grabbing {
  cursor: grabbing;
}
.hero__brand-title img {
  width: 300px;
  max-width: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  overflow: hidden;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 端の白フチ対策 */
}
.hero__media picture, .hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero__media img {
  transform: scale(1.02);
}
.hero__media--cover {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media--side {
  position: relative;
  z-index: 1;
  flex: 0 0 clamp(220px, 28vw, 420px);
  align-self: center;
}
.hero__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: left;
  padding: clamp(16px, 6vw, 64px);
  color: #111;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 60%, transparent);
}
.hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 40px);
  min-height: clamp(420px, 70vh, 760px);
}
.hero__brand {
  flex: 0 0 auto;
}
.hero__composition {
  position: relative;
  width: 100vw;
  max-width: 600px;
  aspect-ratio: 3/4;
}
.hero__composition img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hero__composition img.hero__composition-bg {
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__composition img.hero__composition-main {
  position: absolute;
  width: 600px;
  margin-bottom: 16px;
}
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
}

.hero__dot {
  position: relative;
  width: 8px;
  height: 8px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background-color: #f1f1f1;
  font: 600 14px/1 "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  cursor: pointer;
  padding: 0;
}

.hero__dot[aria-current],
.hero__dot[aria-selected=true] {
  background-color: #333;
}

@media screen and (max-width: 768px) {
  .hero__stage {
    height: calc(2.1333333333 * 100vw);
  }
  .hero__row {
    min-height: 100%;
    width: 100vw;
    flex-direction: column-reverse;
  }
  .hero__brand-title img {
    width: calc(0.5866666667 * 100vw);
    max-width: 100%;
  }
  .hero__panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    padding: 0 calc(0 * 100vw) calc(0.5066666667 * 100vw);
  }
  .hero__composition {
    position: relative;
    width: calc(0.8 * 100vw);
    max-width: 100%;
    aspect-ratio: 3/4;
  }
  .hero__composition img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .hero__composition img.hero__composition-main {
    position: absolute;
    width: 100vw;
    height: auto;
    margin-bottom: calc(0.0426666667 * 100vw);
  }
}
/* -----------------------------------------------------
*  MV
* ----------------------------------------------------- */
.mv {
  position: relative;
}
@media screen and (min-width: 769px) {
  .mv {
    height: 100vh;
  }
}
.mv__inner {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mv__image {
  width: 61%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 80px auto;
}
@media screen and (min-width: 769px) {
  .mv__image {
    position: absolute;
    inset: 0;
  }
}
.mv__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  .mv__copy {
    margin-top: 5%;
  }
}
.mv__subtitle {
  margin-bottom: 72px;
  width: 150px;
}
.mv__title {
  margin-bottom: 24px;
}
.mv__title img {
  max-width: 300px;
  width: 100%;
}
.mv__ranking {
  width: 462px;
}
.mv__note {
  position: absolute;
  bottom: 30px;
  z-index: 9;
  font-size: 10px;
  color: #333;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 768px) {
  .mv {
    height: calc(2.1866666667 * 100vw);
    position: relative;
  }
  .mv__top .gradient-text {
    background: linear-gradient(90deg, #e8a1da 0%, #a1cbff 55%, #93b9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .mv__copy {
    position: absolute;
    bottom: 36%;
    margin: auto;
    right: 0;
    left: 3px;
  }
  .mv__inner {
    padding: calc(0.064 * 100vw) 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    top: 0;
    transform: translate(-50%, 0%);
  }
  .mv__content {
    align-items: center;
    font-weight: 500;
    height: 100%;
    display: flex;
    justify-content: space-between;
  }
  .mv__subtitle {
    width: calc(0.32 * 100vw);
    margin: calc(0.0213333333 * 100vw) auto;
  }
  .mv__title {
    margin-bottom: calc(0.0426666667 * 100vw);
    line-height: 1.2;
  }
  .mv__title img {
    display: block;
    width: calc(0.5866666667 * 100vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .mv__ranking {
    width: 96%;
    margin: 0 calc(0.0426666667 * 100vw);
    bottom: calc(0.4266666667 * 100vw);
    position: absolute;
    box-sizing: border-box;
  }
  .mv__image {
    width: 33vw;
    margin: calc(0.2666666667 * 100vw) auto 0;
    justify-content: center;
  }
  .mv__note {
    font-size: calc(0.0266666667 * 100vw);
    line-height: 1.6;
    margin: 0 0 15% 0;
    text-align: left;
  }
}

.mv__bg-wrap {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
@media screen and (min-width: 769px) {
  .mv__bg-wrap {
    position: absolute;
    inset: 0;
  }
}

.mv__bg-water {
  position: absolute;
  right: -70px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 727px;
  height: auto;
  object-fit: cover;
  will-change: transform, opacity;
}
@media screen and (max-width: 768px) {
  .mv__bg-water {
    right: calc(0 * 100vw);
    top: calc(0.1066666667 * 100vw);
    bottom: auto;
    width: 99%;
    height: auto;
    left: calc(0.0106666667 * 100vw);
    margin: auto;
  }
}

/* glowing background */
.lumina {
  padding: 24px 0;
  position: relative;
  z-index: 0;
  width: auto;
  height: 100%;
  overflow: hidden;
  background: #fff;
  --fade-start: 85%;
  --fade-end: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-start), transparent var(--fade-end));
  mask-image: linear-gradient(to bottom, #000 var(--fade-start), transparent var(--fade-end));
  /* marquee */
}
.lumina__base {
  position: absolute;
  object-fit: cover;
  will-change: opacity;
  width: 108%;
  height: 120%;
  top: -90px;
  max-width: none;
  max-height: none;
}
.lumina__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mix-blend-mode: screen;
}
.lumina__glow--three {
  position: absolute;
  width: auto;
  height: auto;
  pointer-events: none;
  object-fit: cover;
  mix-blend-mode: screen;
  left: -280px;
  opacity: 0.6;
}
.lumina__marquee {
  font-family: "Noto Serif JP", sans-serif;
  position: absolute;
  left: 0;
  bottom: 110px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 70px;
  z-index: 9;
  /* 中身を2回並べた“帯”を横スクロールさせる */
  /* 各spanはグラデのテキストだけ（アニメはさせない） */
}
.lumina__marquee__track {
  display: inline-flex;
  gap: 2rem;
  width: max-content; /* 中身幅に合わせる */
  will-change: transform;
  transform: translateX(0); /* ← 初期から見える */
  animation: marqueeLoop 90s linear infinite both;
}
@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.lumina__marquee span {
  flex-shrink: 0;
  --alpha: .40; /* 濃さ（0.80〜0.92で濃く、0.30〜0.60で淡く） */
  background: linear-gradient(135deg, rgba(247, 211, 233, var(--alpha)), rgba(214, 204, 255, var(--alpha)) 40%, rgba(185, 227, 255, var(--alpha)) 70%, rgba(201, 242, 234, var(--alpha)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media screen and (max-width: 768px) {
  .lumina {
    height: calc(2.1866666667 * 100vw);
    padding: 0;
  }
  .lumina__base {
    width: 110%;
    height: 100%;
    top: 0;
  }
  .lumina__glow {
    object-position: 50% 50%;
    height: calc(1.6533333333 * 100vw);
  }
  .lumina__glow--three {
    display: none;
  }
  .lumina__marquee {
    bottom: 20px;
    font-size: 40px;
  }
  .lumina__marquee__track {
    gap: 1.25rem;
    animation-duration: 90s;
  }
}

@keyframes bgCycleOne {
  0%, 20% {
    opacity: 1;
  }
  30%, 50% {
    opacity: 0.6;
  }
  60%, 80% {
    opacity: 0;
  }
  90%, 100% {
    opacity: 0.6;
  }
}
@keyframes bgCycleTwo {
  0%, 20% {
    opacity: 0;
  }
  30%, 50% {
    opacity: 0.6;
  }
  60%, 80% {
    opacity: 1;
  }
  90%, 100% {
    opacity: 0.6;
  }
}
@keyframes fadeGlow {
  0%, 15% {
    opacity: 0;
  }
  30%, 60% {
    opacity: 1;
  }
  85%, 100% {
    opacity: 0;
  }
}
@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lumina__base, .lumina__glow {
    animation: none;
  }
  .lumina__base--one {
    opacity: 1;
  }
  .lumina__base--two {
    opacity: 0.7;
  }
  .lumina__glow {
    opacity: 0.4;
  }
}
/* -----------------------------------------------------
 *  Intro
 * ----------------------------------------------------- */
.ec-intro {
  padding: clamp(48px, 8vw, 80px) 0;
}
.ec-intro__inner {
  display: grid;
  gap: clamp(24px, 5vw, 80px);
  grid-template-columns: 0.8fr 1.3fr;
  align-items: center;
}
.ec-intro__media {
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
}
.ec-intro__img {
  width: 100%;
  height: auto;
  display: block;
}
.ec-intro__title {
  margin: 0 0 0.25em;
}
.ec-intro__title img {
  max-width: 190px;
}
.ec-intro__subtitle {
  display: block;
  font-weight: 400;
  font-size: 14px;
  margin-top: 8px;
}
.ec-intro__text {
  margin: 32px 0 40px;
  line-height: 1.8;
}
.ec-intro__cta {
  margin-top: 1.5rem;
}
@media screen and (max-width: 768px) {
  .ec-intro__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ec-intro__media {
    max-width: 320px;
    margin-inline: auto;
  }
  .ec-intro__content {
    text-align: center;
  }
  .ec-intro__title img {
    width: 40%;
    margin: 0 auto;
  }
  .ec-intro__subtitle {
    font-size: calc(0.032 * 100vw);
    margin-top: calc(0.0213333333 * 100vw);
  }
  .ec-intro__text {
    margin: calc(0.0426666667 * 100vw) 0 calc(0.0853333333 * 100vw);
    line-height: 1.7;
  }
  .ec-intro__cta {
    margin-top: 0;
  }
}

/* -----------------------------------------------------
 *  Button (outline)
 * ----------------------------------------------------- */
.ec-button {
  position: relative;
  /* パステル色 */
  --c1: #f3c7e6;
  --c2: #d7ccff;
  --c3: #b5d9ff;
  --c4: #c7f0ea;
}
.ec-button--outline {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 16px 10px 16px 5px;
  width: 240px;
  justify-content: center;
  text-align: center;
  border: 1px solid #333;
  border-radius: 9999px;
  background: #fff;
  color: #222;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  isolation: isolate; /* 疑似要素を内側に閉じ込める */
}
.ec-button--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--c1), var(--c2) 40%, var(--c3) 70%, var(--c4)), linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  background-size: 200% 200%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.6s ease, box-shadow 0.35s ease;
  z-index: 0;
  pointer-events: none;
}
.ec-button--outline > * {
  position: relative;
  z-index: 1;
}
.ec-button--outline:hover, .ec-button--outline:focus-visible {
  color: #fff;
  border-color: transparent;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
.ec-button--outline:hover::before, .ec-button--outline:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
.ec-button--outline:hover img, .ec-button--outline:focus-visible img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: no-preference) {
  .ec-button--outline:hover::before {
    animation: pastel-shift 3.2s ease-in-out infinite alternate;
  }
}
.ec-button__icon {
  margin-bottom: 1px;
  position: absolute;
  right: 16px;
}

@keyframes pastel-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
/* === Button: SP調整 === */
@media screen and (max-width: 768px) {
  .ec-button {
    /* 形：等価パディングと文字サイズをvw化 */
    /* SPだけ“横幅広め”にしたい時用（任意） */
  }
  .ec-button__icon {
    right: calc(0.0426666667 * 100vw);
  }
  .ec-button__icon img {
    inline-size: calc(0.048 * 100vw);
    block-size: calc(0.048 * 100vw);
  }
  .ec-button--outline {
    font-size: calc(0.0373333333 * 100vw);
    gap: calc(0.0213333333 * 100vw);
    padding: calc(0.0053333333 * 100vw) calc(0.2133333333 * 100vw) calc(0.0053333333 * 100vw) calc(0.16 * 100vw);
    /* 幅：デフォは自動。ブロック表示にしたい時は --block を併用 */
    inline-size: auto;
    max-inline-size: 100%;
    min-block-size: calc(0.1173333333 * 100vw); /* タップ領域確保 */
  }
  .ec-button--block {
    display: inline-flex;
    inline-size: 100%;
    margin-inline: auto;
    justify-content: center;
  }
}
/* -----------------------------------------------------
 *  Ranking
 * ----------------------------------------------------- */
.ec-ranking__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 40px;
}
.ec-ranking__title {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
}
.ec-ranking__title small {
  font: inherit;
  font-size: 14px;
  margin-left: 0.6em;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ec-ranking__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(4, 1fr);
}
.ec-ranking__item {
  min-width: 0;
}
@media (max-width: 1024px) {
  .ec-ranking__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .ec-ranking {
    --card-w: 78vw;
    --gutter: 4vw;
  }
  .ec-ranking__head {
    gap: calc(0.0213333333 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
  }
  .ec-ranking__title {
    font-size: calc(0.064 * 100vw);
  }
  .ec-ranking__title small {
    font-size: calc(0.032 * 100vw);
  }
  .ec-ranking__list {
    /* 横流しグリッド */
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: var(--card-w);
    /* スクロール設定（ネイティブ優先） */
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: var(--gutter);
    scrollbar-width: none;
    touch-action: auto;
    /* 端の見切れ＆スナップ安定 */
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    box-sizing: content-box;
  }
  .ec-ranking__list::-webkit-scrollbar {
    display: none;
  }
  .ec-ranking__item {
    scroll-snap-align: start;
  }
}

/* Product Card (ranking用) */
.ec-product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}
.ec-product-card__media {
  display: block;
  background: #f6f7f9;
  border-radius: 10px;
  overflow: hidden;
}
.ec-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ec-product-card__title {
  font-size: 14px;
  font-weight: 400;
  margin: 16px 0;
}
.ec-product-card__title a {
  color: inherit;
  text-decoration: none;
  line-height: 1.6;
}
.ec-product-card__price {
  margin-bottom: 16px;
}
.ec-product-card__price .ec-price__now {
  font-weight: 800;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}
.ec-product-card__price .ec-price__tax {
  font-size: 12px;
  margin-left: 0.3em;
}
.ec-product-card__tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.ec-product-card .c-product-head__status {
  position: static;
}
@media screen and (max-width: 769px) {
  .ec-product-card .c-product-sIcon__item img {
    height: calc(0.0613333333 * 100vw);
  }
}

/* Badge / Rank */
.ec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35em 0.8em;
  font-size: 12px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}

.ec-rank {
  position: absolute;
  left: 12px;
  top: 10px;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid;
}

/* ランク番号色 */
/* 1) カウンター初期化＆増分 */
.ec-ranking__list {
  counter-reset: ec-rank;
}

.ec-ranking__list > .ec-ranking__item {
  counter-increment: ec-rank;
}

/* 2) バッジ描画（HTML変更なし、カードに重ねる） */
.ec-ranking__list > .ec-ranking__item .ec-product-card {
  position: relative;
}

.ec-ranking__list > .ec-ranking__item .ec-product-card::after {
  content: counter(ec-rank); /* 1,2,3,... を自動付与 */
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  background: #fff;
  border: 1px solid #979797;
  color: #979797; /* デフォルト(4位以降) */
  z-index: 1; /* ヘッダー画像の上に */
}

/* 3) あなたの色指定を .ec-rank → ::after に置き換え */
.ec-ranking__list > .ec-ranking__item:nth-child(1) .ec-product-card::after {
  background: #B69333;
  border-color: #B69333;
  color: #fff;
}

.ec-ranking__list > .ec-ranking__item:nth-child(2) .ec-product-card::after {
  background: #A1A1A1;
  border-color: #A1A1A1;
  color: #fff;
}

.ec-ranking__list > .ec-ranking__item:nth-child(3) .ec-product-card::after {
  background: #948373;
  border-color: #948373;
  color: #fff;
}

.ec-ranking__list > .ec-ranking__item:nth-child(n+4) .ec-product-card::after {
  background: #fff;
  border-color: #979797;
  color: #979797;
}

/* === Product Card : SP調整 === */
@media screen and (max-width: 768px) {
  .ec-product-card {
    grid-template-rows: auto 1fr;
  }
  .ec-product-card__media {
    border-radius: calc(0.0266666667 * 100vw);
  }
  .ec-product-card__img {
    object-fit: cover;
  }
  .ec-product-card__title {
    font-size: calc(0.0373333333 * 100vw);
    margin: calc(0.0426666667 * 100vw) 0;
    line-height: 1.5;
  }
  .ec-product-card__title a {
    text-decoration: none;
  }
  .ec-product-card__price {
    margin-bottom: calc(0.0426666667 * 100vw);
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-product-card__price .ec-price__now {
    font-size: calc(0.0373333333 * 100vw);
  }
  .ec-product-card__price .ec-price__tax {
    font-size: calc(0.032 * 100vw);
    margin-left: 0.3em;
  }
  .ec-product-card__tags {
    gap: calc(0.016 * 100vw);
    margin-top: calc(0.0213333333 * 100vw);
    flex-wrap: wrap;
  }
  /* Badge / Rank（SP縮尺） */
  .ec-badge {
    font-size: calc(0.0266666667 * 100vw);
    padding: 0.35em 0.8em; /* em維持で相対縮小 */
    border-radius: 9999px;
  }
  .ec-rank {
    left: calc(0.0213333333 * 100vw);
    top: calc(0.0213333333 * 100vw);
    inline-size: calc(0.064 * 100vw);
    block-size: calc(0.064 * 100vw);
    font-size: calc(0.032 * 100vw);
  }
}
/* -----------------------------------------------------
 *  Concept
 * ----------------------------------------------------- */
.ec-concept {
  padding: 120px 0 56px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .ec-concept {
    padding: calc(0.2133333333 * 100vw) 0 calc(0.128 * 100vw);
  }
}
.ec-concept__head {
  margin-bottom: clamp(16px, 3vw, 24px);
}
.ec-concept__title {
  line-height: 1;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
}
.ec-concept__subtitle {
  font-size: 14px;
  margin-top: 14px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ec-concept__body {
  margin-top: clamp(24px, 4vw, 32px);
}
.ec-concept__lead {
  font-family: "Noto Serif JP", sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .ec-concept__lead {
    font-size: calc(0.064 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-concept__text {
  line-height: 1.8;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .ec-concept__text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-concept__cta {
  margin-top: clamp(32px, 4vw, 40px);
}
@media screen and (max-width: 768px) {
  .ec-concept__title {
    font-size: calc(0.064 * 100vw);
  }
  .ec-concept__title small {
    font-size: calc(0.032 * 100vw);
  }
}

/* -----------------------------------------------------
 *  EC Quality (bubbles)
 * ----------------------------------------------------- */
.ec-quality {
  /* バブル群 */
  /* --- SP専用（2列Grid固定／奇数時は最後を中央1つ） --- */
}
.ec-quality__container {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 160px 10px 160px 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 48px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .ec-quality__container {
    border-radius: calc(0.1066666667 * 100vw) calc(0.0266666667 * 100vw) calc(0.1066666667 * 100vw) calc(0.0266666667 * 100vw);
    padding: calc(0.1066666667 * 100vw) calc(0.0426666667 * 100vw);
  }
}
.ec-quality__head {
  text-align: center;
  margin-bottom: clamp(18px, 3.5vw, 28px);
}
.ec-quality__title {
  font-family: "Noto Serif JP", sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
@media screen and (max-width: 768px) {
  .ec-quality__title {
    line-height: 1.6;
    margin: 0 0 calc(0.064 * 100vw);
    font-size: calc(0.0533333333 * 100vw);
  }
}
.ec-quality__lead {
  line-height: 1.8;
}
.ec-quality__bubbles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 28px);
}
.ec-quality__bubble {
  font-weight: 500;
  display: flex;
  place-items: center;
  text-align: center;
  inline-size: clamp(160px, 24vw, 200px);
  aspect-ratio: 1/1;
  border-radius: 999px;
  position: relative;
  padding: 0px;
  flex-direction: column;
  justify-content: center;
  background: url(../../../img/custom/home/bubble_bg.png) center/contain no-repeat;
  min-width: 0; /* 端末差でのはみ出し防止 */
}
@media screen and (max-width: 768px) {
  .ec-quality__bubbles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(0.0213333333 * 100vw);
    justify-items: center;
  }
  .ec-quality__bubble {
    inline-size: calc(0.4 * 100vw);
    width: calc(0.4 * 100vw);
    padding: 0;
    aspect-ratio: 1/1;
  }
  .ec-quality__bubbles > .ec-quality__bubble:last-child:nth-child(odd) {
    grid-column: 1/-1;
    justify-self: center;
  }
  .ec-quality__lead {
    line-height: 1.7;
  }
}
.ec-quality__b-title {
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .ec-quality__b-title {
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-quality__b-value {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 0px;
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  .ec-quality__b-value {
    margin-top: calc(0.0213333333 * 100vw);
    font-size: calc(0.0533333333 * 100vw);
    margin-bottom: 0;
  }
}
.ec-quality__b-unit {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .ec-quality__b-unit {
    font-size: calc(0.032 * 100vw);
  }
}
.ec-quality__cta {
  margin-top: 40px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .ec-quality__cta {
    margin-top: calc(0.096 * 100vw);
  }
}

/* -----------------------------------------------------
 *  Sustainability
 * ----------------------------------------------------- */
.ec-sustainability {
  position: relative;
  padding: 120px 0;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .ec-sustainability {
    padding: calc(0.2133333333 * 100vw) 0;
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-sustainability__bg {
  position: absolute;
  inset: 0;
  background: url("../../../img/custom/home/sustainability.png") center/cover no-repeat;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__bg {
    background: url("../../../img/custom/home/sustainability_sp.png") center/cover no-repeat;
  }
}
.ec-sustainability__head {
  text-align: center;
  margin-bottom: 32px;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__head {
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-sustainability__title {
  line-height: 1;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
}
.ec-sustainability__subtitle {
  font-size: 14px;
  margin-top: 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ec-sustainability__content {
  line-height: 1.8;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__content {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-sustainability__heading {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
  font-family: "Noto Serif JP", sans-serif;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__heading {
    font-size: calc(0.064 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-sustainability__text {
  text-align: center;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__text {
    line-height: 1.7;
  }
}
.ec-sustainability .ec-sustainability__content > .ec-sustainability__heading:not(:first-of-type) {
  margin-top: 56px;
}
.ec-sustainability .ec-sustainability__content > .ec-sustainability__text:not(:first-of-type) {
  margin-top: 32px;
}
@media screen and (max-width: 768px) {
  .ec-sustainability__title {
    font-size: calc(0.064 * 100vw);
  }
  .ec-sustainability__title small {
    font-size: calc(0.032 * 100vw);
  }
}

/* -----------------------------------------------------
 *  SNS（Instagram マルチトラック）
 * ----------------------------------------------------- */
.ec-sns {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media screen and (max-width: 768px) {
  .ec-sns {
    padding-top: calc(0.2133333333 * 100vw);
    padding-bottom: calc(0.2133333333 * 100vw);
  }
}
.ec-sns__head {
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.ec-sns__title {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
}
.ec-sns__follow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  text-decoration: none;
}
.ec-sns__follow:hover {
  opacity: 0.6;
}
.ec-sns__ig {
  width: 28px;
}
.ec-sns__marquee {
  overflow: hidden;
  width: 100%;
}
.ec-sns__track {
  display: flex;
  gap: clamp(12px, 2.4vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  animation: sns-scroll var(--sns-duration, 30s) linear infinite;
  will-change: transform;
}
.ec-sns__item {
  flex: 0 0 clamp(220px, 28vw, 340px);
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f7f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ec-sns__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 768px) {
  .ec-sns__title {
    font-size: calc(0.064 * 100vw);
  }
  .ec-sns__title small {
    font-size: calc(0.032 * 100vw);
  }
  .ec-sns__follow {
    gap: calc(0.0426666667 * 100vw);
    font-size: calc(0.0373333333 * 100vw);
  }
}

@keyframes sns-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* -----------------------------------------------------
 *  News
 * ----------------------------------------------------- */
.ec-news {
  padding-top: 0;
  padding-bottom: 120px;
}
@media screen and (max-width: 768px) {
  .ec-news {
    padding-top: calc(0 * 100vw);
    padding-bottom: calc(0.2133333333 * 100vw);
  }
}
.ec-news__inner {
  display: flex;
  align-content: flex-start;
  justify-content: flex-start;
}
@media screen and (min-width: 769px) {
  .ec-news__inner {
    gap: 130px;
  }
}
@media screen and (max-width: 768px) {
  .ec-news__inner {
    flex-direction: column;
  }
}
.ec-news__head {
  display: flex;
  margin-bottom: clamp(16px, 3vw, 28px);
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
}
@media screen and (max-width: 768px) {
  .ec-news__head {
    display: contents;
    gap: calc(0.0426666667 * 100vw);
  }
}
.ec-news__title {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin-bottom: 32px;
}
.ec-news__title small {
  font-size: 14px;
  margin-left: 0.6em;
  line-height: 2;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 768px) {
  .ec-news__title {
    order: 1;
    font-size: calc(0.064 * 100vw);
  }
  .ec-news__title small {
    font-size: calc(0.032 * 100vw);
  }
}
.ec-news__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}
@media screen and (max-width: 768px) {
  .ec-news__list {
    order: 2;
    gap: calc(0.064 * 100vw);
  }
}
.ec-news__item {
  display: flex;
  gap: 32px;
  padding-bottom: 12px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .ec-news__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: calc(0.0213333333 * 100vw);
    padding-bottom: calc(0.064 * 100vw);
  }
}
.ec-news__date {
  font-size: 14px;
  line-height: 1.4;
  border-right: 1px solid #333;
  padding: 16px 32px 16px 0;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .ec-news__date {
    padding: 0;
    border-right: 0;
    align-items: flex-start;
    font-size: calc(0.0373333333 * 100vw);
  }
}
.ec-news__date .ec-news__year {
  font-size: 12px;
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 768px) {
  .ec-news__date .ec-news__year {
    font-size: calc(0.032 * 100vw);
  }
}
.ec-news__date .ec-news__day {
  font-size: 20px;
  font-family: "Inter", sans-serif;
}
@media screen and (max-width: 768px) {
  .ec-news__date .ec-news__day {
    font-size: calc(0.0533333333 * 100vw);
  }
}
.ec-news__body {
  flex: 1;
}
.ec-news__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: 0.2s ease;
}
@media screen and (max-width: 768px) {
  .ec-news__link {
    font-size: calc(0.0373333333 * 100vw);
  }
}
.ec-news__link:hover {
  text-decoration: underline;
}
.ec-news .ec-button {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .ec-news .ec-button {
    order: 3;
    margin: calc(0.0853333333 * 100vw) auto 0;
  }
}

/* -----------------------------------------------------
 *  Floating CTA
 * ----------------------------------------------------- */
.fcta {
  /* ec-button と共通パレット */
  --c1: #f3c7e6;
  --c2: #d7ccff;
  --c3: #b5d9ff;
  --c4: #c7f0ea;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 48px;
  font-size: 16px;
  color: #fff !important;
  text-decoration: none;
  background: #333;
  border-radius: 9999px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.fcta > * {
  position: relative;
  z-index: 2;
}
.fcta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, var(--c1) 0%, var(--c2) 35%, var(--c3) 65%, var(--c4) 100%), linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  background-size: 180% 180%;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.35s ease, transform 0.6s ease;
  z-index: 1;
  pointer-events: none;
}
.fcta:hover, .fcta:focus-visible {
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
.fcta:hover::before {
  opacity: 1;
  transform: scale(1);
}
.fcta:hover .fcta__icon img {
  filter: brightness(0) invert(1);
}
.fcta__icon img {
  filter: invert(100%);
}
@media (prefers-reduced-motion: no-preference) {
  .fcta:hover::before {
    animation: pastel-shift 3.4s ease-in-out infinite alternate;
  }
}
@media screen and (max-width: 768px) {
  .fcta {
    padding: calc(0.0426666667 * 100vw) 0;
    font-size: calc(0.0426666667 * 100vw);
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

/* === モーダル === */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* 非表示状態 */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease; /* オーバーレイのフェード用 */
}

.promo-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* オーバーレイ（背景） */
.promo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* 親のopacityでフェードするので個別transitionは不要 */
}

/* コンテンツ本体：下からふわっと */
.promo-modal__content {
  position: relative;
  max-width: 420px; /* お好みで */
  margin: 6vh auto;
  background: #fff;
  border-radius: 12px;
  /* 初期値（閉じている時） */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
@media screen and (max-width: 768px) {
  .promo-modal__content {
    margin: 6vh 10%;
  }
}

.promo-modal.is-open .promo-modal__content {
  opacity: 1;
  transform: translateY(0);
}

/* 既存の装飾はそのまま併用OK */
.promo-modal__title {
  margin: 0 0 8px;
  font-size: 20px;
}

.promo-modal__link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.promo-modal__close {
  position: absolute;
  right: 0px;
  top: -5px;
  border: none;
  background: transparent;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  line-height: 36px;
}

body.is-locked {
  overflow: hidden;
}

.c-product-body {
  margin-top: 0rem;
  line-height: 1.6;
}

/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
.concept {
  line-height: 1;
}

/* =========================
   Concept: Story
   ========================= */
.ec-story-intro {
  padding-top: 120px;
  padding-bottom: 0px;
}
@media screen and (max-width: 768px) {
  .ec-story-intro {
    padding-top: calc(0.1493333333 * 100vw);
    padding-bottom: 0;
  }
}
.ec-story-intro .ec-section-head__title {
  font: 300 clamp(24px, 4vw, 32px) "Noto Serif JP", serif;
}
.ec-story-intro p {
  padding-top: 24px;
}
@media screen and (max-width: 768px) {
  .ec-story-intro {
    padding-top: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}

.ec-concept-story {
  padding-top: 40px;
  padding-bottom: 40px;
  /* PCでは左右入替、SPでは下のgrid-rowで入替 */
}
@media screen and (max-width: 768px) {
  .ec-concept-story {
    padding-top: calc(0.0853333333 * 100vw);
    padding-bottom: 0;
  }
}
.ec-concept-story__head {
  text-align: center;
  margin: 0 auto 80px;
}
@media screen and (max-width: 768px) {
  .ec-concept-story__head {
    margin: 0 auto calc(0.064 * 100vw);
  }
}
.ec-concept-story__kicker {
  font-size: 14px;
  letter-spacing: 0.05em;
  font-family: "Libre Baskerville", serif;
  margin-bottom: 0.5em;
}
@media screen and (max-width: 768px) {
  .ec-concept-story__kicker {
    font-size: calc(0.0373333333 * 100vw);
  }
}
.ec-concept-story__sub {
  font-size: 16px;
  line-height: 2;
  margin-top: 40px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 768px) {
  .ec-concept-story__sub {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 2;
    margin-top: calc(0.064 * 100vw);
    text-align: center;
  }
}
.ec-concept-story__row {
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}
.ec-concept-story__row + .ec-concept-story__row {
  margin-top: clamp(24px, 7vw, 80px);
}
@media screen and (max-width: 768px) {
  .ec-concept-story__row {
    grid-template-columns: 1fr;
    gap: calc(0.064 * 100vw);
  }
  .ec-concept-story__row + .ec-concept-story__row {
    margin-top: calc(0.1066666667 * 100vw);
  }
}
.ec-concept-story__row--reverse {
  grid-template-columns: 1.2fr 0.8fr;
}
@media screen and (max-width: 768px) {
  .ec-concept-story__row--reverse {
    /* ★SPだけ画像⇄テキストを入れ替え */
  }
  .ec-concept-story__row--reverse > .ec-concept-story__media {
    grid-row: 1;
  }
  .ec-concept-story__row--reverse > .ec-concept-story__text {
    grid-row: 2;
  }
}
@media (max-width: 768px) {
  .ec-concept-story__row {
    grid-template-columns: 1fr;
  }
  .ec-concept-story__row--reverse {
    direction: ltr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ec-concept-story [data-animate] {
    transition: none;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================
   Concept: Origin
   ========================= */
.ec-concept-origin {
  text-align: center;
}
.ec-concept-origin__media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .ec-concept-origin__media {
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-concept-origin__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ec-concept-origin__title {
  font: 400 24px "Noto Serif JP", serif;
  margin-bottom: 32px;
}
@media screen and (max-width: 768px) {
  .ec-concept-origin__title {
    font-size: calc(0.0533333333 * 100vw);
    margin-bottom: calc(0.0426666667 * 100vw);
  }
}
.ec-concept-origin__text {
  font-size: 16px;
  line-height: 2;
}
.ec-concept-origin__text + .ec-concept-origin__text {
  margin-top: 2em;
}
@media screen and (max-width: 768px) {
  .ec-concept-origin__text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 2;
  }
}

/* =========================
   Concept: Research
   ========================= */
.ec-concept-research {
  padding-bottom: 120px;
  background-color: #fbf9fa;
  /* 丸ラベル */
}
@media screen and (max-width: 768px) {
  .ec-concept-research {
    padding-bottom: calc(0.1066666667 * 100vw);
  }
}
.ec-concept-research__head {
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .ec-concept-research__head {
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-concept-research__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 0.6em;
}
.ec-concept-research__body {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  margin-bottom: 0;
}
.ec-concept-research__media {
  position: relative;
  overflow: hidden;
}
.ec-concept-research__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ec-concept-research__text {
  font-size: 16px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-concept-research__text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-concept-research__text + .ec-concept-research__text {
  margin-top: 2em;
}
.ec-concept-research__bottom {
  margin-top: -16px;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: 2fr 1fr;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .ec-concept-research__bottom {
    margin-bottom: calc(-0.0213333333 * 100vw);
  }
  .ec-concept-research__bottom > .ec-concept-research__media {
    grid-row: 1;
  }
  .ec-concept-research__bottom > .ec-concept-research__bottom--text {
    grid-row: 2;
  }
}
@media screen and (max-width: 768px) {
  .ec-concept-research__body, .ec-concept-research__bottom {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Concept Points
   ========================= */
.ec-concept-points {
  background-color: #FBF9FA;
}
.ec-concept-points__head {
  margin-bottom: clamp(20px, 4.8vw, 32px);
}
.ec-concept-points__kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 0.6em;
}

/* レイアウトB：左画像・右テキスト（PC2 / SP1） */
.ec-concept-point {
  display: grid;
  gap: 60px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .ec-concept-point {
    grid-template-columns: 1fr;
    gap: calc(0.0426666667 * 100vw);
  }
}
.ec-concept-point ~ .ec-concept-point {
  padding-top: 80px;
}
@media screen and (max-width: 768px) {
  .ec-concept-point ~ .ec-concept-point {
    padding-top: calc(0.0853333333 * 100vw);
  }
}
.ec-concept-point__body {
  position: relative;
}
.ec-concept-point__media {
  border-radius: 12px;
  overflow: hidden;
  background: #f6f7f9;
}
.ec-concept-point__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ec-concept-point__title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8em;
  flex-wrap: wrap;
  margin: 0 0 0.8em;
  position: relative;
  z-index: 2;
  background: #fff;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .ec-concept-point__title {
    font-size: calc(0.048 * 100vw);
    margin: 0 0 calc(0.064 * 100vw);
  }
}
.ec-concept-point__title::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: -6px;
  inline-size: 100%;
  block-size: 100%;
  background: url(../../../img/custom/home/point-title_bg.jpg) no-repeat center/cover;
}
.ec-concept-point strong {
  font-weight: 500;
}
.ec-concept-point__value {
  background-color: #fff;
  display: inline-block;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .ec-concept-point__value {
    font-size: calc(0.048 * 100vw);
    padding: calc(0.0266666667 * 100vw) calc(0.0426666667 * 100vw);
  }
}
.ec-concept-point__num {
  margin-left: auto;
  font-size: 20px;
  color: #ADADAD;
  position: absolute;
  right: 0;
  font-style: italic;
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.1rem;
}
@media screen and (max-width: 768px) {
  .ec-concept-point__num {
    font-size: calc(0.0373333333 * 100vw);
    right: 0;
    top: 3%;
  }
}
.ec-concept-point__text {
  font-size: 16px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-concept-point__text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-concept-point__text + .ec-concept-point__text {
  margin-top: 16px;
}
@media screen and (max-width: 768px) {
  .ec-concept-point__text + .ec-concept-point__text {
    margin-top: calc(0.0426666667 * 100vw);
  }
}

/* =========================
   Accordion (PC=open / SP=close)
   ========================= */
.ec-accordion {
  margin-top: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  /* ★ 開いた時（ボタンがaria-expanded="true"）は縦棒を消す */
}
@media screen and (max-width: 768px) {
  .ec-accordion {
    margin-top: calc(0.0426666667 * 100vw);
    border-radius: calc(0.0213333333 * 100vw);
  }
}
.ec-accordion__sub {
  font-size: 16px;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .ec-accordion__sub {
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-accordion__header {
  margin: 0;
}
@media screen and (max-width: 768px) {
  .ec-accordion__header {
    line-height: 1.7;
  }
}
.ec-accordion__trigger {
  background-color: #fff;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  text-align: left;
  padding: 24px 16px 24px 24px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  outline-offset: 2px;
  display: flex;
  align-items: center;
  gap: 0.6em;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .ec-accordion__trigger {
    font-size: calc(0.048 * 100vw);
    padding: calc(0.0533333333 * 100vw) calc(0.0426666667 * 100vw) calc(0.0533333333 * 100vw) calc(0.0533333333 * 100vw);
    border-radius: calc(0.0213333333 * 100vw);
    gap: calc(0.0213333333 * 100vw);
  }
}
.ec-accordion__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: url(../../../img/custom/home/point-title_bg.jpg) no-repeat 30% 50%/cover;
  position: relative;
  /* ー */
  /* ｜ */
}
@media screen and (max-width: 768px) {
  .ec-accordion__icon {
    inline-size: calc(0.0746666667 * 100vw);
    block-size: calc(0.0746666667 * 100vw);
    border-radius: 50%;
  }
}
.ec-accordion__icon::before, .ec-accordion__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  background: #fff;
}
.ec-accordion__icon::before {
  inline-size: 12px;
  block-size: 2px;
}
@media screen and (max-width: 768px) {
  .ec-accordion__icon::before {
    inline-size: calc(0.032 * 100vw);
    block-size: calc(0.0053333333 * 100vw);
  }
}
.ec-accordion__icon::after {
  inline-size: 2px;
  block-size: 12px;
}
@media screen and (max-width: 768px) {
  .ec-accordion__icon::after {
    inline-size: calc(0.0053333333 * 100vw);
    block-size: calc(0.032 * 100vw);
  }
}
.ec-accordion__trigger[aria-expanded=true] .ec-accordion__icon::after {
  opacity: 0;
}
.ec-accordion__details[open] .ec-accordion__icon::after {
  opacity: 0;
}
.ec-accordion__details[open] .ec-accordion__summary { /* 追加の見た目があれば */ }
.ec-accordion__panel {
  overflow: hidden;
  height: 0;
  will-change: height;
  transition: height 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-accordion__panel-inner {
  padding: 0 24px 24px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-accordion__panel-inner {
    padding: calc(0.0426666667 * 100vw) calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-accordion__grid {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 320px);
  gap: clamp(12px, 2.4vw, 20px);
  align-items: center;
}
@media screen and (max-width: 768px) {
  .ec-accordion__grid {
    grid-template-columns: 1fr;
    gap: calc(0.0426666667 * 100vw);
  }
}
@media screen and (max-width: 768px) {
  .ec-accordion__content {
    grid-row: 2;
  }
}
.ec-accordion__content p + p {
  margin-top: 16px;
}
.ec-accordion__illust {
  justify-self: end;
  width: min(100%, 320px);
  height: 160px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .ec-accordion__illust {
    grid-row: 1;
    justify-self: start;
    inline-size: 100%;
  }
}
.ec-accordion__illust img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ec-accordion__grid {
    grid-template-columns: 1fr;
  }
  .ec-accordion__illust {
    justify-self: start;
    width: 100%;
  }
}
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* =========================
   Minerals
   ========================= */
@media screen and (max-width: 768px) {
  .ec-quality-minerals {
    padding-top: calc(0.1493333333 * 100vw);
  }
}
.ec-quality-minerals__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 40px);
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__inner {
    grid-template-columns: 1fr;
    gap: calc(0.064 * 100vw);
  }
}
.ec-quality-minerals__grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: 1fr 410px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__grid {
    gap: calc(0.0213333333 * 100vw);
    margin-bottom: calc(0 * 100vw);
  }
}
.ec-quality-minerals__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0 40px 40px 0;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__list {
    gap: calc(0.0106666667 * 100vw);
    margin: 0 0 calc(0.064 * 100vw) 0;
  }
}
.ec-quality-minerals__item {
  display: flex;
  place-items: center;
  flex-direction: column;
  justify-content: center;
  width: 190px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
  position: relative;
  background: url(../../../img/custom/home/bubble_bg.png) center/contain no-repeat;
}
.ec-quality-minerals__item strong {
  display: block;
  font-size: 24px;
  margin-top: 8px;
  font-weight: 500;
}
.ec-quality-minerals__item span {
  font-size: 18px;
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__item {
    width: calc(32% - 2.6666666667px);
    font-size: calc(0.032 * 100vw);
  }
  .ec-quality-minerals__item strong {
    font-size: calc(0.048 * 100vw);
    margin-top: calc(0.016 * 100vw);
  }
  .ec-quality-minerals__item span {
    font-size: calc(0.032 * 100vw);
    display: inline-block;
  }
}
.ec-quality-minerals__media { /* 画像を1行目 */ }
@media screen and (max-width: 768px) {
  .ec-quality-minerals__media {
    grid-row: 1;
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-quality-minerals__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.ec-quality-minerals__table {
  font-family: "Noto Sans JP", sans-serif;
}
.ec-quality-minerals__table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 10px;
  font-size: 18px;
}
.ec-quality-minerals__table-head small {
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__table-head {
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-quality-minerals__table-head small {
    font-size: calc(0.032 * 100vw);
  }
}
.ec-quality-minerals__table table {
  width: 100%;
  background: #fff;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E0E0E0;
  /* 列幅 */
  /* 値セル（右寄せ） */
  /* 中央の仕切り線（片側のみ） */
  /* ゼブラ */
}
.ec-quality-minerals__table table col.pure__col--val {
  width: 80px;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__table table col.pure__col--val {
    width: calc(0.2133333333 * 100vw);
  }
}
.ec-quality-minerals__table table col.pure__col--name {
  width: calc((100% - 160px) / 2);
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__table table col.pure__col--name {
    width: calc((100% - 0.2133333333 * 100vw * 2) / 2);
  }
}
.ec-quality-minerals__table table th, .ec-quality-minerals__table table td {
  padding: 16px 8px;
  font-size: 14px;
  vertical-align: middle;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  font-weight: 400;
}
.ec-quality-minerals__table table tr:first-child th,
.ec-quality-minerals__table table tr:first-child td {
  border-top: none;
}
.ec-quality-minerals__table table th {
  text-align: left;
  white-space: nowrap;
}
.ec-quality-minerals__table table th span {
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__table table th span {
    font-size: calc(0.0266666667 * 100vw);
  }
}
.ec-quality-minerals__table table td:nth-child(2),
.ec-quality-minerals__table table td:nth-child(4) {
  padding-left: 0;
  padding-right: 8px;
  text-align: right;
  white-space: normal;
}
.ec-quality-minerals__table table td:nth-child(2) {
  border-right: 1px solid #E0E0E0;
}
.ec-quality-minerals__table table th:nth-child(3) {
  border-left: 0;
}
.ec-quality-minerals__table table tr:nth-child(even) th, .ec-quality-minerals__table table tr:nth-child(even) td {
  background: #FBFBFB;
}
@media screen and (max-width: 768px) {
  .ec-quality-minerals__table table th, .ec-quality-minerals__table table td {
    padding: calc(0.0426666667 * 100vw) calc(0.0213333333 * 100vw);
    font-size: calc(0.0373333333 * 100vw);
  }
}
@media (max-width: 768px) {
  .ec-quality-minerals__grid {
    grid-template-columns: 1fr;
  }
  .ec-quality-minerals__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   Onsen
   ========================= */
.ec-quality-onsen {
  position: relative;
}
.ec-quality-onsen__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ec-quality-onsen__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ec-quality-onsen__bg picture, .ec-quality-onsen__bg img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
}
.ec-quality-onsen__card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 160px 10px 160px 10px;
  padding: clamp(24px, 6vw, 48px);
}
@media screen and (max-width: 768px) {
  .ec-quality-onsen__card {
    border-radius: calc(0.1066666667 * 100vw) calc(0.0266666667 * 100vw) calc(0.1066666667 * 100vw) calc(0.0266666667 * 100vw);
    padding: calc(0.1066666667 * 100vw) calc(0.0426666667 * 100vw) calc(0.064 * 100vw);
  }
}
.ec-quality-onsen__title {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.2em;
}
@media screen and (max-width: 768px) {
  .ec-quality-onsen__title {
    font-size: calc(0.064 * 100vw);
  }
}
.ec-quality-onsen__text {
  text-align: center;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-quality-onsen__text {
    line-height: 1.7;
  }
}
.ec-quality-onsen__text p {
  margin-bottom: 1em;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-quality-onsen__text p {
    line-height: 1.7;
  }
}

/* =========================
   Safety (section/blocks/visual)
   ========================= */
.ec-quality-safety {
  background-color: #fff;
}
.ec-quality-safety__head {
  text-align: center;
}
.ec-quality-safety__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 768px) {
  .ec-quality-safety__kicker {
    font-size: calc(0.032 * 100vw);
  }
}

.ec-safety-block {
  background-color: #FBF9FA;
  border-radius: 10px;
  padding: 40px;
}
@media screen and (max-width: 768px) {
  .ec-safety-block {
    border-radius: calc(0.0266666667 * 100vw);
    padding: calc(0.0853333333 * 100vw) calc(0.0426666667 * 100vw);
  }
}
.ec-safety-block + .ec-safety-block {
  margin-top: 40px;
}
.ec-safety-block__title {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 40px;
}
@media screen and (max-width: 768px) {
  .ec-safety-block__title {
    font-size: calc(0.048 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
    line-height: 1.6;
  }
}
.ec-safety-block__lead {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin: 48px 0 32px;
}
@media screen and (max-width: 768px) {
  .ec-safety-block__lead {
    font-size: calc(0.064 * 100vw);
    margin: calc(0.064 * 100vw) 0;
    line-height: 1.7;
  }
}
.ec-safety-block__text {
  line-height: 1.8;
  margin-bottom: 32px;
}
.ec-safety-block__text strong {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .ec-safety-block__text {
    font-size: calc(0.0426666667 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
    line-height: 1.7;
  }
}

.ec-safety-visual {
  margin-bottom: clamp(12px, 2.4vw, 20px);
}
@media screen and (max-width: 768px) {
  .ec-safety-visual {
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-safety-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================
   Note
   ========================= */
.ec-note {
  /* 2個目以降の本文に余白（PC） */
}
.ec-note > .ec-note__title:not(:first-of-type) {
  margin-top: 32px;
}
@media screen and (max-width: 768px) {
  .ec-note > .ec-note__title:not(:first-of-type) {
    margin-top: calc(0.0853333333 * 100vw);
  }
}
.ec-note__title {
  margin: 0 0 32px;
  background-color: #fff;
  font-size: 20px;
  padding: 16px;
  text-align: center;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .ec-note__title {
    margin-bottom: calc(0.064 * 100vw);
    font-size: calc(0.048 * 100vw);
    padding: calc(0.0426666667 * 100vw);
    line-height: 1.4;
  }
}
.ec-note__text {
  font-size: 16px;
  line-height: 1.8;
}
.ec-note__text strong {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .ec-note__text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-note__text ~ .ec-note__text {
  margin-top: 16px;
}
@media screen and (max-width: 768px) {
  .ec-note__text ~ .ec-note__text {
    margin-top: calc(0.0426666667 * 100vw);
  }
}

/* =========================
   Safe Card
   ========================= */
.ec-safe-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  margin-top: 48px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card {
    margin-top: calc(0.0853333333 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table {
  background-color: #FBF9FA;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__table {
    flex-direction: column;
    padding: calc(0.0426666667 * 100vw) 0;
    gap: calc(0.0426666667 * 100vw);
    border-radius: calc(0.0213333333 * 100vw);
    margin: calc(0.0426666667 * 100vw) 0 calc(0.064 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table small {
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.3;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__table small {
    font-size: calc(0.0373333333 * 100vw);
    margin-top: calc(0.0213333333 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table .ec-safe-card__label {
  width: 110px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__table .ec-safe-card__label {
    display: block;
    width: 100%;
    border-bottom: 1px solid #ccc;
    text-align: center;
    padding-bottom: calc(0.0426666667 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table .ec-safe-table {
  padding-left: 24px;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__table .ec-safe-table {
    border-left: 0px solid #ccc;
    width: 100%;
    padding-left: calc(0.064 * 100vw);
    padding-right: calc(0.0426666667 * 100vw);
    font-size: calc(0.0373333333 * 100vw);
    line-height: 1.3;
  }
  .ec-safe-card .ec-safe-card__table .ec-safe-table dd {
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table .ec-safe-table > div {
  display: contents;
}
.ec-safe-card .ec-safe-card__table .ec-safe-table dt { /* 項目名（左） */ }
.ec-safe-card .ec-safe-card__table .ec-safe-table dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__table .ec-safe-table dd {
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-safe-card .ec-safe-card__table .ec-safe-table strong { /* 強調用 */ }
.ec-safe-card .ec-safe-card__box--title {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 8px;
}
.ec-safe-card .ec-safe-card__box--title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  margin-left: 15px;
  background-color: #ccc;
}
@media screen and (max-width: 768px) {
  .ec-safe-card .ec-safe-card__box--title {
    margin-bottom: calc(0.0426666667 * 100vw);
  }
}
@media (max-width: 768px) {
  .ec-safe-card .ec-safe-card__grid {
    grid-template-columns: 1fr;
  }
  .ec-safe-card .ec-safe-card__doc {
    min-height: 120px;
  }
}
.ec-safe-card__ribbon {
  position: relative;
  background: url(../../../img/custom/home/ribbon_bg.png) center top/cover;
  color: #fff;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  padding: 40px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.1);
  /* 下向きノッチ */
}
.ec-safe-card__ribbon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-top: 24px solid #fbf9fa;
}
@media screen and (max-width: 768px) {
  .ec-safe-card__ribbon {
    font-size: calc(0.048 * 100vw);
    padding: calc(0.0853333333 * 100vw) calc(0.0426666667 * 100vw) calc(0.064 * 100vw);
    line-height: 1.5;
    /* ノッチを微調整したい場合
    &::before{
      border-left:  t.vw(24) solid transparent;
      border-right: t.vw(24) solid transparent;
      border-top:   t.vw(18) solid #fbf9fa;
    } */
  }
}
.ec-safe-card__grid {
  display: grid;
  gap: clamp(12px, 2.4vw, 20px);
  grid-template-columns: 1.2fr 2fr;
  padding: 40px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card__grid {
    grid-template-columns: 1fr;
    gap: calc(0.064 * 100vw);
    padding: calc(0.064 * 100vw) calc(0.0426666667 * 100vw);
  }
}
.ec-safe-card__doc {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border-radius: 8px;
  border: 1px dashed #c7d2fe;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .ec-safe-card__doc .ec-safe-card__table .ec-safe-card__label {
    width: 110px;
  }
}
@media screen and (max-width: 768px) {
  .ec-safe-card__doc {
    font-size: calc(0.0373333333 * 100vw);
    border-radius: calc(0.0213333333 * 100vw);
  }
}
.ec-safe-card__grid-no-doc {
  grid-template-columns: auto;
  line-height: 1.2;
}
.ec-safe-card__grid-no-doc .ec-safe-card__table {
  margin: 0;
}
@media screen and (min-width: 769px) {
  .ec-safe-card__grid-no-doc .ec-safe-card__table {
    gap: 0px;
  }
}
.ec-safe-card__grid-no-doc .ec-safe-card__label {
  text-align: center;
}
@media screen and (min-width: 769px) {
  .ec-safe-card__grid-no-doc .ec-safe-card__label {
    margin: 0 80px 0px 56px;
  }
}
@media screen and (min-width: 769px) {
  .ec-safe-card__grid-no-doc .ec-safe-table {
    padding-left: 80px !important;
  }
}
.ec-safe-card__body {
  align-self: center;
}
.ec-safe-card__body p {
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .ec-safe-card__body p {
    line-height: 1.7;
  }
}
.ec-safe-card__title {
  font-weight: 500;
  margin: 0 0 24px;
  font-size: 20px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card__title {
    text-align: center;
    font-size: calc(0.048 * 100vw);
    margin-bottom: calc(0.064 * 100vw);
  }
}
.ec-safe-card__caption {
  font-size: 14px;
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  .ec-safe-card__caption {
    font-size: calc(0.0373333333 * 100vw);
    margin-top: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}

/* =========================
   Factory
   ========================= */
.ec-quality-factory {
  background-color: #FBF9FA;
  /* 横並びフロー（左ステップ／右イラスト） */
  /* ステップ */
  /* 丸バッジ */
  /* 右イラスト（absoluteのまま） */
  /* モーダル（aria-hidden=false で表示） */
}
@media screen and (max-width: 768px) {
  .ec-quality-factory {
    grid-template-columns: 1fr;
  }
}
.ec-quality-factory__head {
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__head {
    margin-bottom: calc(0.0853333333 * 100vw);
    text-align: left;
  }
}
.ec-quality-factory__kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}
.ec-quality-factory__grid {
  position: relative;
}
.ec-quality-factory__btn {
  background-color: #fff;
  border: none;
}
.ec-quality-factory__flow {
  display: flex;
  gap: 60px;
  align-content: start;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__flow {
    gap: calc(0.0426666667 * 100vw);
  }
}
.ec-quality-factory__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 5;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__steps {
    gap: calc(0.0426666667 * 100vw);
  }
}
.ec-quality-factory__steps::after {
  content: "";
  position: absolute;
  left: 30px;
  z-index: -1;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, #F7D3F0 0%, #D8CCEC 41%, #CADCFF 100%);
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__steps::after {
    left: 14%;
    top: 2%;
    height: 95%;
  }
}
.ec-quality-factory__step {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__step {
    gap: calc(0.0266666667 * 100vw);
  }
}
.ec-quality-factory__step-num {
  display: flex;
  flex-direction: column;
  justify-content: center;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  font-family: "Libre Baskerville", serif;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__step-num {
    width: calc(0.1173333333 * 100vw);
    height: calc(0.1173333333 * 100vw);
    font-size: calc(0.0426666667 * 100vw);
  }
}
.ec-quality-factory__step-num::before {
  content: "step";
  font-weight: 400;
  margin-bottom: 4px;
  top: 5px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__step-num::before {
    font-size: calc(0.032 * 100vw);
    margin-bottom: calc(0.0053333333 * 100vw);
    top: calc(0.0053333333 * 100vw);
  }
}
.ec-quality-factory__step-text {
  font-size: 20px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__step-text {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
}
.ec-quality-factory__badge {
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff, #eef4ff);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  font-weight: 700;
  color: #111;
  font-size: 14px;
  line-height: 1;
  position: relative;
  flex: 0 0 48px;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__badge {
    inline-size: calc(0.1173333333 * 100vw);
    block-size: calc(0.1173333333 * 100vw);
    font-size: calc(0.032 * 100vw);
  }
}
.ec-quality-factory__badge small {
  position: absolute;
  top: 3px;
  inset-inline: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}
.ec-quality-factory__label {
  font-size: 16px;
}
.ec-quality-factory__visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 370px;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__visual {
    position: static;
    margin-top: calc(0.064 * 100vw); /* ← 重なり防止 */
    width: 100%; /* ほどよく小さめ */
    margin-inline: auto; /* センター */
  }
}
.ec-quality-factory__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ec-quality-factory__modal {
  position: fixed;
  inset: 0;
  display: none;
}
.ec-quality-factory__modal[aria-hidden=false] {
  display: block;
}
.ec-quality-factory__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.ec-quality-factory__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  height: min(86vh, 900px);
  margin: 6vh auto 0;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__dialog {
    width: 96vw;
    height: 86vh;
    border-radius: calc(0.0266666667 * 100vw);
  }
}
.ec-quality-factory__viewer {
  flex: 1;
  border: 0;
  background: #111;
}
.ec-quality-factory__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
@media screen and (max-width: 768px) {
  .ec-quality-factory__close {
    top: calc(0.0213333333 * 100vw);
    right: calc(0.0213333333 * 100vw);
    width: calc(0.096 * 100vw);
    height: calc(0.096 * 100vw);
    font-size: calc(0.048 * 100vw);
  }
}

/* =========================
   Process
   ========================= */
.ec-quality-process {
  position: relative;
  color: #fff;
  background: url(../../../img/custom/home/process-bg.jpg) center/cover;
  padding-bottom: 160px;
}
@media screen and (max-width: 768px) {
  .ec-quality-process {
    background: url(../../../img/custom/home/process-bg_sp.jpg) center/cover;
    padding-bottom: calc(0.16 * 100vw);
  }
}
.ec-quality-process__features {
  display: grid;
  gap: clamp(32px, 6vw, 60px);
}
@media screen and (max-width: 768px) {
  .ec-quality-process__features {
    gap: calc(0.0853333333 * 100vw);
    padding-top: calc(0 * 100vw);
  }
}
.ec-quality-process__feature {
  display: flex;
  gap: 120px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: clamp(20px, 4vw, 30px);
}
.ec-quality-process__feature:first-child {
  border-top: 0;
}
@media screen and (max-width: 768px) {
  .ec-quality-process__feature {
    padding-top: 0;
    flex-direction: column;
    gap: calc(0.0426666667 * 100vw);
  }
  .ec-quality-process__feature:last-child {
    padding-top: calc(0.0853333333 * 100vw);
  }
}
.ec-quality-process__subtitle {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 200;
  letter-spacing: 0.2rem;
}
@media screen and (max-width: 768px) {
  .ec-quality-process__subtitle {
    font-size: calc(0.0373333333 * 100vw);
    margin-bottom: calc(0.0213333333 * 100vw);
  }
}
.ec-quality-process__catch {
  width: 30%;
  font-size: 20px;
  line-height: 1.8;
}
@media screen and (min-width: 769px) {
  .ec-quality-process__catch {
    padding-left: 80px;
  }
}
@media screen and (max-width: 768px) {
  .ec-quality-process__catch {
    width: 100%;
    font-size: calc(0.048 * 100vw);
    text-align: center;
  }
}
.ec-quality-process__text {
  width: 70%;
  line-height: 1.8;
  font-weight: 300;
}
.ec-quality-process__text p + p {
  margin-top: 24px;
}
@media screen and (max-width: 768px) {
  .ec-quality-process__text {
    width: 100%;
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.7;
  }
  .ec-quality-process__text p + p {
    margin-top: calc(0.0426666667 * 100vw);
  }
}

/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
.ec-member {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .ec-member .ec-section {
    font-size: calc(0.0426666667 * 100vw);
    padding-top: calc(0.1493333333 * 100vw);
    padding-bottom: calc(0.1493333333 * 100vw);
  }
}

/* ---------- ランクアップ ---------- */
.ec-member-up {
  padding-bottom: clamp(32px, 5vw, 40px);
}
.ec-member-up .inner {
  position: relative;
}
.ec-member-up .inner .ec-section-head {
  position: absolute;
  left: 10%;
  top: 40px;
}
@media screen and (max-width: 768px) {
  .ec-member-up .inner .ec-section-head {
    position: static;
  }
}

.ec-member-note {
  margin-top: 8px;
  font-size: 16px;
}
@media screen and (min-width: 769px) {
  .ec-member-note {
    text-align: right;
  }
}

/* SP */
@media screen and (max-width: 768px) {
  .ec-member-up {
    padding-top: calc(0.1493333333 * 100vw);
  }
  .ec-member-note {
    margin-top: calc(0.0213333333 * 100vw);
    font-size: calc(0.0373333333 * 100vw);
    line-height: 1.5;
  }
}
/* ---------- ランクダウン ---------- */
.ec-member-down__wrap {
  background: #FBF9FA;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr minmax(420px, 600px);
  gap: clamp(12px, 3vw, 24px);
  align-items: center;
}
.ec-member-down__wrap .ec-member-down__text {
  line-height: 2;
  font-size: 16px;
}

.ec-member-down__fig img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .ec-member-down__wrap {
    padding: calc(0.064 * 100vw) calc(0.0426666667 * 100vw);
    grid-template-columns: 1fr;
    gap: calc(0.0426666667 * 100vw);
    align-items: start;
    text-align: center;
  }
  .ec-member-down__wrap .ec-member-down__text {
    line-height: 2;
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-member-down__fig img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* ---------- 特典 ---------- */
[hidden], .ec-benefit-panel[hidden] {
  display: none !important;
}

/* テーマ色 */
.ec-member-benefits {
  --accent:#F4C9AB;
  --accent-bg:#F4C9AB;
}
.ec-member-benefits.is-silver {
  --accent:#D2D6DA;
  --accent-bg:#D2D6DA;
}
.ec-member-benefits.is-gold {
  --accent:#F2DD90;
  --accent-bg:#F2DD90;
}
.ec-member-benefits.is-platinum {
  --accent:#D1E4FF;
  --accent-bg:#D1E4FF;
}
.ec-member-benefits.is-diamond {
  --accent:#DBCFF4;
  --accent-bg:#DBCFF4;
}

/* タブ */
.ec-member-benefits__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.ec-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  background: #FBF9FA;
  transition: 0.2s ease;
  outline: none;
  width: 25%;
  padding: 16px;
  border: none;
}
.ec-tab img {
  width: 100px;
  margin: 0 auto;
}

.ec-tab:is(:hover, :focus-visible) {
  border-color: var(--accent);
}

.ec-tab.is-active {
  background: var(--accent-bg);
  border-color: var(--accent);
}

@media screen and (max-width: 768px) {
  .ec-member-benefits__tabs {
    gap: calc(0.0106666667 * 100vw);
    padding: 0 calc(0 * 100vw);
  }
  .ec-tab {
    width: 100%; /* セル一杯 */
    padding: calc(0.0426666667 * 100vw) calc(0.0106666667 * 100vw);
    border-radius: calc(0.0213333333 * 100vw) calc(0.0213333333 * 100vw) 0 0;
    gap: calc(0.0213333333 * 100vw);
    min-height: calc(0.1173333333 * 100vw);
  }
  .ec-tab img {
    width: calc(0.1706666667 * 100vw);
    margin: 0 auto;
  }
}
/* パネル */
.ec-member-benefits__panels {
  background: var(--accent-bg);
  border-radius: 0 0 8px 8px;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  .ec-member-benefits__panels {
    padding: calc(0.0426666667 * 100vw) calc(0.0213333333 * 100vw);
    border-radius: 0 0 calc(0.0213333333 * 100vw) calc(0.0213333333 * 100vw);
  }
}
/* グリッド（列数は修飾クラスで制御） */
.ec-member-benefits__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr); /* 基本は3列 */
}
.ec-member-benefits__grid + .ec-member-benefits__grid {
  margin-top: 16px;
}
.ec-member-benefits__grid--2col {
  display: flex; /* grid → flex に切替 */
  justify-content: center; /* 中央寄せ */
  align-items: stretch;
  gap: 16px;
}
.ec-member-benefits__grid--2col .ec-benefit {
  width: clamp(240px, 33%, 360px); /* 33%ベース＋最小/最大幅 */
}
.ec-member-benefits__grid--3col {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  margin: 0 auto;
}
.ec-member-benefits__grid--4col {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  margin: 0 auto;
}

/* カード */
.ec-benefit {
  background: #fff;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0;
  font-weight: 500;
}

.ec-benefit__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}
.ec-benefit__title--lg {
  font-size: 24px;
}
.ec-benefit__title b {
  display: inline-block;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}
.ec-benefit__title small {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}

.ec-benefit__label {
  display: block;
  margin-bottom: 8px;
}

/* ===== SP上書き（～768px）===== */
@media screen and (max-width: 768px) {
  .ec-member-benefits__grid {
    grid-template-columns: repeat(3, 1fr); /* SPも3列 */
    gap: calc(0.0213333333 * 100vw);
  }
  .ec-member-benefits__grid + .ec-member-benefits__grid {
    margin-top: calc(0.0213333333 * 100vw);
  }
  /* すべての修飾もSPでは3列に統一 */
  .ec-member-benefits__grid--2col,
  .ec-member-benefits__grid--3col,
  .ec-member-benefits__grid--4col {
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
  }
  /* カード内の余白・文字サイズ微調整（任意） */
  .ec-benefit {
    padding: calc(0.0213333333 * 100vw) 0;
    min-height: calc(0.2453333333 * 100vw);
  }
  .ec-benefit__label {
    margin-bottom: calc(0.0213333333 * 100vw);
    font-size: calc(0.0373333333 * 100vw);
  }
  .ec-benefit__title {
    font-size: calc(0.0426666667 * 100vw);
    line-height: 1.5;
  }
  .ec-benefit__title--lg {
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-benefit__title b {
    font-size: calc(0.064 * 100vw);
    line-height: 1.2;
  }
  .ec-benefit__title small {
    font-size: calc(0.0426666667 * 100vw);
  }
}
/* ---------- 紹介キャンペーン ---------- */
.ec-member-referral {
  background: #FBF9FA;
}
.ec-member-referral__figure {
  margin: 0 auto 80px;
}
.ec-member-referral__figure img {
  width: min(734px, 100%);
  margin: 0 auto;
  height: auto;
  display: block;
}
.ec-member-referral__text {
  text-align: center;
  line-height: 2;
  margin-bottom: 32px;
}
.ec-member-referral .ec-member-steps {
  background: #fff;
  padding: 40px;
}
.ec-member-referral .ec-member-steps__title {
  text-align: center;
  font-weight: 700;
  margin: 0 0 32px;
  font-size: 24px; /* 修正 */
}
.ec-member-referral .ec-steps {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 16px);
}
.ec-member-referral .ec-step {
  background: #FBF9FA;
  border-radius: 8px;
  padding: 16px 16px 40px;
}
.ec-member-referral .ec-step__head {
  font-family: "Libre Baskerville", serif;
  font-weight: normal;
  font-style: italic;
  font-size: 16px;
  color: #ADADAD;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}
.ec-member-referral .ec-step__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

/* SP調整 */
@media screen and (max-width: 768px) {
  .ec-member-referral__figure {
    margin: 0 auto calc(0.0853333333 * 100vw);
  }
  .ec-member-referral__figure img {
    width: 100%;
    height: auto;
  }
  .ec-member-referral__text {
    text-align: center;
    line-height: 1.9;
    margin-bottom: calc(0.064 * 100vw);
    padding: 0;
    font-size: calc(0.0426666667 * 100vw);
  }
  .ec-member-referral .ec-member-steps {
    background: #fff;
    padding: calc(0.064 * 100vw);
  }
  .ec-member-referral .ec-member-steps__title {
    text-align: center;
    font-weight: 700;
    margin: 0 0 calc(0.0426666667 * 100vw);
    font-size: calc(0.0533333333 * 100vw);
  }
  .ec-member-referral .ec-steps {
    display: grid;
    grid-template-columns: 1fr; /* SPは1列 */
    gap: calc(0.032 * 100vw);
    margin: 0;
    list-style: none;
  }
  .ec-member-referral .ec-step {
    background: #FBF9FA;
    border-radius: calc(0.0213333333 * 100vw);
    padding: calc(0.032 * 100vw) calc(0.032 * 100vw) calc(0.064 * 100vw);
  }
  .ec-member-referral .ec-step__head {
    font-family: "Libre Baskerville", serif;
    font-weight: normal;
    font-style: italic;
    font-size: calc(0.0373333333 * 100vw);
    color: #ADADAD;
    letter-spacing: 0.08em;
    margin: 0 0 calc(0.0266666667 * 100vw);
  }
  .ec-member-referral .ec-step__body {
    margin: 0;
    font-size: calc(0.0373333333 * 100vw);
    line-height: 1.7;
    text-align: center;
    padding: 0 calc(0.0106666667 * 100vw);
  }
}
/* ===== tokens & mixins (single source of truth) ===== */
/* --- Breakpoint / viewport base --- */
/* --- Fonts & Colors --- */
/* Brand palette */
/* --- Gradients --- */
/* --- Base path for assets --- */
/* --- Functions --- */
/* --- Typography scale --- */
/* --- Media mixins --- */
/* --- Utility mixins --- */
/* =========================
   マイページ
   ========================= */
.myPage, .s-type-myPage {
  /* ===== Myページ：独立メニュー ===== */
}
@media screen and (max-width: 767px) {
  .myPage .ec-page-hero, .s-type-myPage .ec-page-hero {
    order: 1;
  }
}
.myPage .myPage_bg, .s-type-myPage .myPage_bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url(../../../img/custom/home/menu_bg.png) right center/contain no-repeat, #fff;
}
@media screen and (max-width: 768px) {
  .myPage .myPage_bg, .s-type-myPage .myPage_bg {
    background: url(../../../img/custom/home/menu_bg_sp.png) right top/contain no-repeat, #fff;
  }
}
.myPage .m-userNav__title, .s-type-myPage .m-userNav__title {
  background-color: #333 !important;
}
.myPage .m-userNav-section__title, .s-type-myPage .m-userNav-section__title {
  padding: 0 1.6rem 0rem !important;
  border-bottom: none !important;
}
@media screen and (min-width: 768px) {
  .myPage .p-myPage-info, .s-type-myPage .p-myPage-info {
    background-color: #FAF8F9;
  }
}
@media screen and (min-width: 992px) {
  .myPage .m-userNav__title, .s-type-myPage .m-userNav__title {
    color: #fff !important;
    background-color: #333 !important;
  }
}
@media screen and (min-width: 768px) {
  .myPage .m-userNav__sections, .s-type-myPage .m-userNav__sections {
    padding-top: 3rem;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    background-color: #FAF8F9 !important;
  }
}
@media screen and (min-width: 992px) {
  .myPage .m-userNav-section__title, .s-type-myPage .m-userNav-section__title {
    padding: 0 1.8rem 0rem !important;
    margin-bottom: 1.2rem !important;
    border-bottom: none !important;
  }
}
@media screen and (min-width: 992px) {
  .myPage .c-userNav-link, .s-type-myPage .c-userNav-link {
    padding: 0rem 1.6rem 1rem 1.6rem !important;
    line-height: 1.5;
    font-size: 1.3rem;
  }
}
.myPage .m-userNav__sections, .s-type-myPage .m-userNav__sections {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  background-color: #FAF8F9 !important;
}
@media screen and (max-width: 768px) {
  .myPage .m-userNav__sections, .s-type-myPage .m-userNav__sections {
    padding-top: 2rem;
  }
}
@media screen and (min-width: 992px) {
  .myPage .myp-menu, .s-type-myPage .myp-menu {
    float: right;
    padding-top: 0;
    width: 70.2%;
    border: 0;
    margin-top: 40px;
  }
}
.myPage .myp-menu__inner, .s-type-myPage .myp-menu__inner {
  display: flex;
  flex-direction: column;
  padding: 0 1.6rem;
}
.myPage .myp-menu, .s-type-myPage .myp-menu {
  order: 4;
  padding-top: 2.7rem;
  border-top: solid 1px var(--color-gray);
}
.myPage .myp-menu__heading, .s-type-myPage .myp-menu__heading {
  font-size: 16px;
  margin-bottom: 16px;
  margin-top: 16px;
  font-weight: 600;
}
.myPage .myp-menu__grid, .s-type-myPage .myp-menu__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .myPage .myp-menu__grid, .s-type-myPage .myp-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }
}
.myPage .myp-menu__item, .s-type-myPage .myp-menu__item {
  margin: 0;
}
.myPage .myp-menu__card, .s-type-myPage .myp-menu__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #faf8f9;
  text-decoration: none;
}
.myPage .myp-menu__card:hover, .s-type-myPage .myp-menu__card:hover {
  opacity: 0.6;
}
.myPage .myp-menu__icon img, .s-type-myPage .myp-menu__icon img {
  display: block;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.myPage .myp-menu__label, .s-type-myPage .myp-menu__label {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.c-productUser-sIcon__item img {
  height: 23px;
}
@media screen and (max-width: 768px) {
  .c-productUser-sIcon__item img {
    height: calc(0.0613333333 * 100vw);
  }
}

.s-headerModalBox {
  z-index: 10000;
}/*# sourceMappingURL=main.css.map */