/* ==========================================================================
   Doraのどら LP style.css
   ========================================================================== */

:root {
  --color-yellow: #fdcb1f;
  --color-blue: #1c5ea8;
  --color-orange: #ffd400;
  --color-blue-dark: #123c6e;
  --color-navy-text: #1b3a63;
  --color-white: #ffffff;
  --color-red: #d8402a;
  --font-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  --header-height: 76.8px;
  --frame-w: 1000px;
  --vine-w: clamp(64px, 15vw, 140px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-navy-text);
  background: var(--color-yellow);
  overflow-x: hidden;
  line-height: 1.9;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-blue-dark);
  padding: 8px 16px;
  z-index: 999;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-blue);
  height: var(--header-height);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.site-header__inner {
  max-width: var(--frame-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.site-header__logo {
  display: block;
  height: calc(var(--header-height) - 4px);
}

.site-header__logo img {
  height: 100%;
  width: auto;
}

.hamburger-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  line-height: 0;
}

.hamburger-btn img {
  width: auto;
  height: 58px;
  aspect-ratio: 142 / 161;
}

.hamburger-btn--close {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ==========================================================================
   ハンバーガーメニューの中身
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  background: var(--color-orange);
  z-index: 700;
  padding: 72px 28px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li + li {
  margin-top: 22px;
}

.site-nav__list a {
  display: block;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--color-blue-dark);
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 8px;
}

.site-nav__spacer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../image/A_Ichigo_scene.jpg") center bottom / 100% auto no-repeat;
  opacity: 0.2;
}

.site-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 60, 110, 0.45);
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.site-nav__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   LP全体背景色
   ========================================================================== */

.page-frame {
  max-width: var(--frame-w);
  margin: 0 auto;
  position: relative;
  background-color: var(--color-yellow);
}

/* ==========================================================================
   First View ヘッダー下画像
   ========================================================================== */

.fv {
  position: relative;
  width: 100%;
  max-width: var(--frame-w);
  margin: 0 auto;
  height: min(88vh, 720px);
  min-height: 340px;
  overflow: hidden;
  background: var(--color-yellow);
}

@media (max-width: 640px) {
  .fv {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

.fv__photo {
  position: absolute;
  inset: 0;
}

.fv__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.fv__slide.is-active {
  opacity: 1;
}

@keyframes witch-bob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2px, -7px) rotate(-9deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  75% { transform: translate(-2px, -7px) rotate(9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .about__witch {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Section base + card
   ========================================================================== */

.section {
  padding: 44px var(--vine-w) 0;
  position: relative;
  scroll-margin-top: calc(var(--header-height) - 34px);
}

.section:last-of-type {
  padding-bottom: 16px;
}

.section__lead {
  text-align: center;
  font-weight: bold;
  margin: 0 0 28px;
}

.card {
  max-width: var(--frame-w);
  background: var(--color-white);
  border-radius: 60px / 34px;
  padding: 46px 34px 34px;
  margin: -24px auto 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.card::before,
.card::after,
.about__frame::before,
.about__frame::after,
.about__photo-frame::before,
.about__photo-frame::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: var(--vine-w);
  height: 100%;
  background-repeat: repeat-y;
  background-size: var(--vine-w) auto;
  pointer-events: none;
}

.card::before,
.about__frame::before,
.about__photo-frame::before {
  left: calc(var(--vine-w) * -0.5);
  background-image: url("../image/7line_left.webp");
  background-position: left top;
}

.card::after,
.about__frame::after,
.about__photo-frame::after {
  right: calc(var(--vine-w) * -0.5);
  background-image: url("../image/8line_right.webp");
  background-position: right top;
}

/* Ribbon heading */

.ribbon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto 34px;
}

.ribbon--overlap {
  margin-bottom: 0;
}

.ribbon__bar {
  display: inline-block;
  max-width: 100%;
  background: var(--color-blue);
  color: var(--color-yellow);
  text-align: center;
  font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 9px 36px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
}

.ribbon__accent {
  color: var(--color-yellow);
}

.ribbon__deco {
  position: absolute;
  top: 85%;
  width: clamp(70px, 17vw, 112px);
  transform: translateY(-50%);
  z-index: 5;
}

.ribbon__deco--left {
  left: clamp(-30px, -7vw, -10px);
}

.ribbon__deco--right {
  right: clamp(-30px, -7vw, -10px);
}

/* ==========================================================================
   Doraのどらとは
   ========================================================================== */

#about .ribbon {
  margin-bottom: 10px;
}

.about__frame {
  position: relative;
  z-index: 0;
  max-width: var(--frame-w);
  margin: 0 auto;
}

.about__text {
  text-align: left;
  font-size: 0.98rem;
  padding: 0 34px;
}

.about__text::after {
  content: "";
  display: block;
  clear: both;
}

.about__text p {
  margin: 0 0 1.2em;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__witch {
  float: right;
  width: clamp(64px, 18vw, 100px);
  margin: 0 0 12px 14px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.2));
  animation: witch-bob 1.6s ease-in-out infinite;
}

.about__witch img {
  width: 100%;
}

.about__photo-frame {
  max-width: var(--frame-w);
  background: var(--color-white);
  border-radius: 40px / 22px;
  padding: clamp(20px, 6vw, 56px);
  margin: 28px auto 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.about__photo-frame img {
  border-radius: 12px;
}

/* ==========================================================================
   MENU
   ========================================================================== */

.menu__lead {
  text-align: left;
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 9px;
  padding: 6px 21px 9px;
  line-height: 1.2;
}

.price-tag__unit {
  font-size: 0.75rem;
}

.price-tag__amount {
  color: var(--color-yellow);
  font-size: 1.65rem;
  font-weight: bold;
}

.price-tag--center {
  display: flex;
  margin: 0 auto 32px;
  width: fit-content;
}

.price-tag--small .price-tag__amount {
  font-size: 1.35rem;
}

.price-tag.price-tag--yen-stack {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 4px;
}

.price-tag__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.price-tag__label .price-tag__unit {
  font-size: calc(0.75rem * 0.9);
}

.price-tag__qty {
  font-size: calc(0.75rem * 0.9);
  align-self: flex-end;
}

.price-tag__yen {
  color: var(--color-yellow);
  font-size: calc(1rem * 0.9);
  font-weight: bold;
}

.price-tag--inline {
  margin-left: auto;
  flex-shrink: 0;
}

.step {
  margin-bottom: 40px;
}

.step:last-child {
  margin-bottom: 0;
}

.step__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 22px;
  flex-wrap: wrap;
  text-align: left;
}

.step__badge {
  width: clamp(76px, 20vw, 96px);
  flex-shrink: 0;
}

.step__desc {
  font-weight: bold;
  margin: 0;
  flex: 1 1 180px;
}

.product-grid {
  list-style: none;
  display: grid;
  gap: 18px 12px;
  margin: 0;
  padding: 0;
}

.product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 380px;
  margin: 0 auto;
}

.product-grid li {
  text-align: center;
}

.product-grid img {
  margin: 0 auto 8px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.step:nth-of-type(2) .product-grid img {
  margin-bottom: 4px;
  transform: scale(1.2);
  transform-origin: center;
}

.product-grid p {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0;
}

.small {
  font-size: 0.75em;
  font-weight: normal;
}

.sp-only {
  display: none;
}

/* ==========================================================================
   TOP CUSTOMS
   ========================================================================== */

.custom-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
  margin: 0;
  padding: 0;
}

.custom-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-card img {
  width: 100%;
  max-width: 190px;
  margin-bottom: 12px;
}

.custom-card__name {
  font-size: 0.82rem;
  font-weight: bold;
  line-height: 1;
  margin: 0 0 8px;
  flex-grow: 1;
}

.custom-card__note {
  font-size: 0.68rem;
  color: var(--color-red);
  margin: 0 0 10px;
}

.custom-card--single {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  margin: 0 auto;
}

/* ==========================================================================
   Event MENU / Harvest Moon
   ========================================================================== */

.event__photo {
  max-width: 520px;
  margin: 0 auto 26px;
  border-radius: 16px;
  overflow: hidden;
}

.event__tagline {
  text-align: center;
  font-weight: bold;
  margin: 0 0 22px;
}

.event__label {
  text-align: center;
  color: var(--color-red);
  font-weight: bold;
  margin: 0 0 6px;
}

.event__title {
  text-align: center;
  color: var(--color-blue);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  margin: 0 0 22px;
}

.event__text {
  text-align: center;
  font-size: 0.92rem;
  margin: 0 0 22px;
}

.event__text p {
  margin: 0 0 1.2em;
}

.event__combo {
  text-align: center;
  font-weight: bold;
  line-height: 1;
  margin: 0 0 18px;
}

/* ==========================================================================
   What's "Dora"
   ========================================================================== */

.dora__wrap {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.dora__text {
  font-size: 0.92rem;
}

.dora__text p {
  margin: 0 0 1.1em;
}

.dora__name {
  color: var(--color-blue);
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0 0 20px;
  text-align: center;
}

.dora__name-jp {
  display: block;
  font-size: 0.8rem;
  line-height: 1.1;
  margin-top: 2px;
  color: var(--color-blue);
  font-weight: bold;
}

.dora__photo {
  max-width: 240px;
}

.profile-text {
  padding-top: 24px;
  margin-bottom: 30px;
  border-top: 2px dashed var(--color-yellow);
}

.profile-text__title {
  font-weight: bold;
  margin: 0 0 12px;
}

.profile-text__list {
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.profile-text__list > div {
  display: flex;
  gap: 8px;
}

.profile-text__list dt {
  flex: 0 0 auto;
  font-weight: bold;
  color: var(--color-blue-dark);
}

.profile-text__list dd {
  margin: 0;
}

.pet-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.pet-list img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.pet-list p {
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   ACCESS
   ========================================================================== */

.access__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.access__storephoto {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.access__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.access__logo {
  width: 260px;
  max-width: 100%;
}

.access__info p {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.access__info a {
  text-decoration: underline;
}

.access__store {
  font-weight: bold;
}

.access__sns {
  margin-top: 4px;
}

.access__sns a {
  display: inline-flex;
}

.access__pet {
  max-width: 190px;
  margin: 12px auto 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: var(--color-blue);
  color: var(--color-white);
  text-align: center;
  padding: 28px 16px;
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   レスポンシブデザイン(スマホ、タブレット)
   ========================================================================== */

@media (max-width: 640px) {
  .section {
    padding-left: calc(var(--vine-w) / 2);
    padding-right: calc(var(--vine-w) / 2);
  }

  .card {
    padding-left: 36px;
    padding-right: 36px;
  }

  .about__text {
    padding-left: 36px;
    padding-right: 36px;
  }

  .sp-only {
    display: inline;
  }
}

@media (min-width: 760px) {
  .access__sns {
    text-align: center;
  }
  .step__head {
    padding-left: 24px;
  }
  .price-tag--inline {
    margin-right: 34px;
  }
  .about__frame {
    padding-top: 40px;
  }
  .about__text {
    max-width: 640px;
    margin: 0 auto;
  }
  .menu__lead {
    max-width: 480px;
    margin: 0 auto 20px;
  }
  .ribbon__deco--left,
  .ribbon__deco--right {
    --deco-card-w: min(var(--frame-w), calc(100vw - 2 * var(--vine-w)));
    --deco-offset: calc((480px - var(--deco-card-w)) / 2);
  }
  .ribbon__deco--left {
    left: var(--deco-offset);
  }
  .ribbon__deco--right {
    right: var(--deco-offset);
  }
  .site-header__inner,
  .page-frame {
    max-width: none;
  }
  .fv {
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .dora-card {
    display: grid;
    grid-template-columns: 1fr 240px;
    column-gap: 36px;
    align-items: start;
    padding-left: 48px;
    padding-right: 48px;
  }
  .dora__wrap {
    display: contents;
  }
  .dora__name {
    text-align: center;
  }
  .dora__text {
    grid-column: 1;
  }
  .profile-text {
    grid-column: 1;
  }
  .dora__photo {
    grid-column: 2;
  }
  .dora__side {
    grid-column: 2;
  }
  .access__card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 32px;
  }
  .access__storephoto {
    width: 260px;
    max-width: 260px;
    flex-shrink: 0;
  }
  .access__right {
    align-items: flex-start;
  }
}
