@charset "UTF-8";

/*
  A案：やわらかいテイスト
  参考：https://minowa-ah.com/ （2026-11-15 にスマホ幅375pxで実測）
  ・色：からし色 #DEAE0B／ベージュ #F5EBC6／クリーム #FDF7E1／黄緑 #97CC27／見出しの茶 #5D3713／本文 #3C3C3C
  ・書体：日本語は丸ゴシック（参考サイトの「TsukuARDゴシック」は Google Fonts にないため Zen Maru Gothic で代用）、英字は Josefin Sans 600
  ・形：角の大きく丸い写真、まんまるの写真、点線の区切り、両端の丸いボタン
*/

/* ===== 変数 ===== */
.taste-a {
  --a-mustard: #DEAE0B;
  --a-beige: #F5EBC6;
  --a-cream: #FDF7E1;
  --a-green: #97CC27;
  --a-brown: #5D3713;
  --a-text: #3C3C3C;
  --a-header-height: 64px;
  --a-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --badge-top: var(--a-header-height);
  display: flex;
  flex-direction: column;
  background: var(--a-cream);
  color: var(--a-text);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

/* ===== ヘッダー（白・下の角を丸く） ===== */
.a-header {
  position: relative;
  z-index: 5;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  height: var(--a-header-height);
  padding: 0 14px;
  border-radius: 0 0 22px 22px;
  background: #FFFFFF;
}

.a-header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.a-header__logo img {
  width: auto;
  height: 34px;
}

.a-header__label {
  color: var(--a-mustard);
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
  transform: translateY(2px);
}

.a-header__nav {
  display: flex;
  gap: 6px;
}

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 2px solid var(--a-mustard);
  border-radius: 999px;
  background: var(--a-mustard);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}

.a-btn--outline {
  background: #FFFFFF;
  color: var(--a-brown);
}

/* ===== 本体（上の写真の帯／文章／下の写真の帯） ===== */
.a-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

/* 背景のやわらかい面と水玉 */
.a-deco {
  position: absolute;
  pointer-events: none;
}

.a-deco--blob {
  top: 24%;
  left: -18%;
  width: 136%;
  height: 58%;
  border-radius: 48% 52% 46% 54% / 42% 40% 60% 58%;
  background: var(--a-beige);
}

.a-deco--dot {
  border-radius: 50%;
}

.a-deco--dot-1 {
  top: 27%;
  left: 7%;
  width: 12px;
  height: 12px;
  background: var(--a-green);
}

.a-deco--dot-2 {
  top: 31%;
  left: 12%;
  width: 7px;
  height: 7px;
  background: var(--a-mustard);
}

.a-deco--dot-3 {
  top: 30%;
  right: 9%;
  width: 14px;
  height: 14px;
  background: var(--a-mustard);
  opacity: 0.6;
}

/* ===== 写真の帯（横にゆっくり流れる） ===== */
.a-flow {
  position: relative;
  overflow: hidden;
}

.a-flow--top {
  flex: 1 1 0;
  min-height: 84px;
  max-height: 190px;
  padding: 16px 0 10px;
}

.a-flow--bottom {
  flex: 0.62 1 0;
  min-height: 0;
  max-height: 110px;
  padding: 8px 0 14px;
}

.a-flow__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: a-flow 56s linear infinite;
  animation-play-state: paused;
}

.a-flow--bottom .a-flow__track {
  animation-direction: reverse;
}

.taste-a.is-active .a-flow__track {
  animation-play-state: running;
}

@keyframes a-flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.a-flow__photo {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: 100%;
  margin-right: 12px;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  object-fit: cover;
}

/* 大きさを少しずつ変えて、やわらかく並べる（7枚ごとに同じ並び） */
.a-flow--top .a-flow__photo:nth-child(7n + 2),
.a-flow--top .a-flow__photo:nth-child(7n + 5) {
  height: 82%;
  aspect-ratio: 1 / 1;
}

.a-flow--top .a-flow__photo:nth-child(7n + 4) {
  height: 90%;
  align-self: flex-end;
}

.a-flow--bottom .a-flow__photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.a-flow--bottom .a-flow__photo:nth-child(7n + 2),
.a-flow--bottom .a-flow__photo:nth-child(7n + 6) {
  height: 78%;
}

/* ===== 文章 ===== */
.a-content {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 24px 12px;
  text-align: center;
}

.a-en {
  color: var(--a-mustard);
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
}

.a-title {
  margin-top: 10px;
  color: var(--a-brown);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* 3行の言葉は、白い角丸のカードに点線で区切って入れる */
.a-band {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 24px;
  background: #FFFFFF;
}

.a-band__line {
  display: block;
  padding: 5px 0 6px;
  color: var(--a-brown);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  background-image: radial-gradient(circle, #D9CFAE 1.1px, transparent 1.4px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 7px 3px;
}

.a-band__line:last-child {
  background-image: none;
}

.a-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.a-text p + p {
  margin-top: 8px;
}

.a-mark {
  color: var(--a-brown);
  font-weight: 700;
  background: linear-gradient(
    transparent 60%,
    rgba(222, 174, 11, 0.38) 60%
  );
}

/* ===== 画面に入ったときの出方（下からふわっと） ===== */
.taste-a .js-in {
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s var(--a-ease);
}

.taste-a.is-active .js-in {
  transform: translateY(0);
}

.taste-a.is-active .a-en {
  transition-delay: 0.1s;
}

.taste-a.is-active .a-title {
  transition-delay: 0.2s;
}

.taste-a.is-active .a-band {
  transition-delay: 0.35s;
}

.taste-a.is-active .a-text {
  transition-delay: 0.5s;
}

/* ===== 背の低い端末 ===== */
@media (max-height: 740px) {
  .a-title {
    margin-top: 8px;
    font-size: 25px;
  }

  .a-band {
    margin-top: 12px;
    padding: 5px 16px;
  }

  .a-band__line {
    padding: 4px 0 5px;
    font-size: 14px;
  }

  .a-text {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .a-text p + p {
    margin-top: 6px;
  }
}

@media (max-height: 620px) {
  .taste-a {
    --a-header-height: 56px;
  }

  .a-header__logo img {
    height: 30px;
  }

  .a-flow--top {
    min-height: 64px;
    padding: 10px 0 6px;
  }

  .a-flow--bottom {
    display: none;
  }

  .a-deco--dot-1,
  .a-deco--dot-2 {
    display: none;
  }

  .a-title {
    font-size: 22px;
  }

  .a-band__line {
    font-size: 13px;
  }

  .a-text {
    font-size: 12.5px;
  }
}

/* ===== 幅の狭い端末 ===== */
@media (max-width: 360px) {
  .a-header {
    padding: 0 10px;
  }

  .a-header__label {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .a-btn {
    padding: 0 10px;
    font-size: 11px;
  }

  .a-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .a-band {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  .a-flow__track {
    animation: none;
  }

  .taste-a .js-in {
    transform: none;
    transition: none;
  }
}
