/* =========================================================
   un（あん）LP - un.css（全置換）
   - 影響範囲を .un 配下に限定
   - 深めグレー基調 / 余白多め / 写真主役
========================================================= */

:root{
  --un-bg: #f4f4f4;
  --un-surface: #ffffff;
  --un-ink: #1f1f1f;
  --un-ink-sub: #4a4a4a;
  --un-line: #d7d7d7;

  --un-dark: #151515;
  --un-dark-2: #202020;

  --un-accent: #1f1f1f; /* 基本はモノトーン。必要なら差し替え */
  --un-radius: 12px;

  --un-container: 1120px;
  --un-shadow: 0 12px 40px rgba(0,0,0,.08);
}


body {
	margin: 0;
	padding: 0;
}

/* --- reset (only for LP scope) --- */
.un, .un * , .un *:before, .un *:after{
  box-sizing: border-box;
}
.un{
  color: var(--un-ink);
  background: var(--un-bg);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.75;
}
.un img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
.un a{
  color: inherit;
  text-decoration: none;
}
.un a:hover{
  opacity: .9;
}

/* --- utilities --- */
.un-container{
  width: min(var(--un-container), calc(100% - 40px));
  margin: 0 auto;
}
.un-center{
  text-align: center;
  margin-top: 28px;
}
.u-only-pc{ display: inline; }
@media (max-width: 800px){
  .u-only-pc{ display: none; }
}

/* --- buttons --- */
.un-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .08s ease, opacity .15s ease, background-color .15s ease, border-color .15s ease;
  user-select: none;
}
.un-btn:active{ transform: translateY(1px); }

a.un-btn--primary{
  background: var(--un-ink);
  color: #fff;
}
a.un-btn--ghost{
  background: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.55);
  color: var(--un-ink);
}
.un-btn--small{
  padding: 10px 16px;
  font-size: 14px;
}

/* --- typography --- */
.un-eyebrow{
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.55);
  margin-bottom: 10px;
}
.un-h2{
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  margin: 0;
}
.un-h3{
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 18px;
  margin: 14px 0 6px;
}
.un-lead{
  margin-top: 12px;
  color: var(--un-ink-sub);
}

/* --- sections --- */
.un-section{
  padding: 96px 0;
}
.un-section--alt{
  background: #ededed;
}
@media (max-width: 800px){
  .un-section{ padding: 72px 0; }
}
.un-section__head{
  margin-bottom: 28px;
}

/* --- hero --- */
.un-hero{
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.65) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.un-hero__inner{
  padding: 72px 0;
}
.un-hero__brand{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}
.un-hero__brandMark{
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .06em;
}
.un-hero__brandSub{
  font-size: 14px;
  opacity: .9;
}
.un-hero__tagline{
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .03em;
  margin: 0 0 16px;
}
.un-hero__title{
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.un-hero__title span{
  font-weight: 600;
  font-size: .62em;
  opacity: .95;
}
.un-hero__lead{
  margin: 0;
  max-width: 52rem;
  color: rgba(255,255,255,.92);
  font-size: 16px;
}
.un-hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.un-hero__note{
  margin-top: 14px;
  font-size: 12px;
  opacity: .75;
}

/* --- CTA bar --- */
.un-ctaBar{
  background: var(--un-dark);
  color: #fff;
  padding: 18px 0;
}
.un-ctaBar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.un-ctaBar__text{
  margin: 0;
  opacity: .92;
  font-size: 14px;
}
@media (max-width: 800px){
  .un-ctaBar__inner{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .un-ctaBar__text{ font-size: 13px; }
}

/* --- prose --- */
.un-prose{
  max-width: 52rem;
  color: var(--un-ink-sub);
}
.un-prose p{
  margin: 0 0 16px;
}
.un-prose strong{
  color: var(--un-ink);
}
.un-quote{
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--un-surface);
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  color: var(--un-ink);
}

/* --- grid / cards --- */
.un-grid{
  display: grid;
  gap: 18px;
}
.un-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1000px){
  .un-grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .un-grid--3{ grid-template-columns: 1fr; }
}
.un-card{
  background: var(--un-surface);
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  overflow: hidden;
  box-shadow: var(--un-shadow);
}
.un-card__img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}
.un-card__body{
  padding: 14px 14px 16px;
}
.un-card__title{
  margin: 0 0 6px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 16px;
}
.un-card__text{
  margin: 0;
  color: var(--un-ink-sub);
  font-size: 14px;
}

/* --- split (ingredients) --- */
.un-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}
@media (max-width: 800px){
  .un-split{ grid-template-columns: 1fr; }
}
.un-split__item{
  background: var(--un-surface);
  border: 1px solid var(--un-line);
  border-radius: var(--un-radius);
  padding: 18px;
  box-shadow: var(--un-shadow);
}
.un-media{
  border-radius: calc(var(--un-radius) - 4px);
  border: 1px solid rgba(0,0,0,.08);
  background: #ddd;
}
.un-text{
  margin: 0;
  color: var(--un-ink-sub);
}

/* --- footer --- */
.un-footer{
  background: var(--un-dark-2);
  color: rgba(255,255,255,.92);
  padding: 46px 0 24px;
}
.un-footer__inner{
  display: grid;
  gap: 18px;
}
.un-footer__brand{
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .06em;
}
.un-footer__mark{ font-size: 20px; }
.un-footer__sub{ font-size: 14px; opacity: .9; margin-left: 6px; }

.un-footer__links{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  opacity: .92;
}
.un-footer__links a{
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
}
.un-footer__companyName{
  margin: 0 0 6px;
  font-weight: 700;
}
.un-footer__companyText{
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: .9;
}
.un-footer__companyText a{
  text-decoration: underline;
}
.un-footer__copy{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: .65;
}

/* ==================================================
   un FUTURE SECTION（購入者参加型の流れ）
   ※ 既存CSS非破壊・追記専用
================================================== */

.un-future{
  margin: 80px 0;
}

.un-future .un-inner{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

/* セクションタイトル */
.un-future .un-section-title{
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .04em;
}

/* 導入文 */
.un-future .un-lead{
  text-align: center;
  line-height: 1.9;
  margin-bottom: 48px;
}

/* 各ステップ */
.un-future-step{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 28px 32px;
}

/* ステップ見出し */
.un-future-step + .un-future-step{
  margin-top: 32px;
}

.un-step-title{
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* 箇条書き */
.un-future .un-list{
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.un-future .un-list li{
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ▼ 矢印 */
.un-future-arrow{
  text-align: center;
  font-size: 1.6rem;
  margin: 20px 0;
  opacity: .5;
}

/* 決定ロジック */
.un-formula{
  margin-top: 20px;
}

.un-formula-list{
  list-style: decimal;
  padding-left: 1.5em;
}

.un-formula-list li{
  margin-bottom: 14px;
  line-height: 1.7;
}

.un-formula-list li span{
  display: block;
  font-size: .9rem;
  opacity: .8;
  margin-top: 4px;
}

/* 7種類の式 */
.un-formula-note{
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px dashed rgba(0,0,0,.25);
  text-align: center;
  font-weight: 600;
  letter-spacing: .05em;
}

/* 補足文 */
.un-note{
  margin-top: 18px;
  line-height: 1.8;
}

/* 締め */
.un-future-end{
  margin-top: 48px;
  text-align: center;
}

.un-future-end .un-strong{
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
}

/* =========================
   Responsive
========================= */

@media (max-width: 640px){
  .un-future{
    margin: 56px 0;
  }

  .un-section-title{
    font-size: 1.4rem;
  }

  .un-future-step{
    padding: 20px 18px;
  }
}

/* ==================================================
   VISUAL SEPARATION: FUTURE vs INGREDIENTS
   - HTMLはそのまま、見た目だけ役割分離
================================================== */


/* ---------- INGREDIENTS（豆のこと） ---------- */
/* セクション全体を一段沈めて“素材・信頼”の章にする */
#ingredients.un-section{
  background: #e9e9e9;
}

/* ingredients の中身（カード）は白で、影も控えめに */
#ingredients .un-split__item{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

/* ingredients の画像は少しだけ締める（必要なら外してOK） */
#ingredients .un-media{
  border-color: rgba(0,0,0,.10);
}

.un-future .un-section-title{
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 12px;
}
.un-future .un-section-title::after{
  content:"";
  display:block;
  width: 64px;
  height: 1px;
  background: rgba(0,0,0,.25);
  margin: 14px auto 0;
}
