.home { background: var(--color-brand); }
.home-main { max-width: 1440px; margin: 0 auto; container-type: inline-size; }
.site-header--home { position: absolute; top: 0; left: 0; width: 100%; background: transparent; }
.site-header--home .site-header__brand { visibility: hidden; }
.hero { position: relative; aspect-ratio: 1440 / 850; background: var(--color-brand); }
.hero__art, .hero__art img { width: 100%; height: auto; }
.hero__shop { position: absolute; left: 82.1%; top: 84.5%; width: 6.9%; color: var(--color-paper); text-align: center; font-weight: 700; font-size: clamp(14px, 1.67cqw, 24px); line-height: 1.15; text-decoration: none; }
.intro { position: relative; min-height: 86.8056cqw; color: var(--color-paper); }
.intro__art { position: absolute; inset: 0; pointer-events: none; }
.intro__art img { width: 100%; height: 100%; object-fit: fill; }
.intro__copy { position: relative; width: 56%; margin: 0 auto; padding-top: 26.4cqw; text-align: center; font-size: clamp(12px, 1.25cqw, 18px); line-height: 2; letter-spacing: .055em; }
.intro__copy p + p { margin-top: 38px; }
.products { background: var(--color-paper); }
.products__header { min-height: 340px; padding: 105px 30px 60px; text-align: center; background: url('images/products-heading.webp?v=2') center top / 100% auto no-repeat; }
.products__header p { font-size: 14px; margin-top: 36px; line-height: 1.8; }
.products__list { display: flex; flex-wrap: wrap; align-items: flex-start; }
.product { position: relative; }
.product--feature { width: 100%; padding-bottom: 5px; }
.product__english { position: absolute; z-index: 2; right: 80px; top: 34px; font: 600 clamp(38px, 5cqw, 72px)/1.1667 var(--font-heading); color: var(--color-brand); text-align: right; letter-spacing: .035em; }
.product__side { position: absolute; width: 26.736%; left: 0; top: 63px; }
.product--feature .product__media { width: 58.611%; margin: 183px 5.5556% 0 35.8333%; }
.product__media { position: relative; box-shadow: -12px 14px 0 -3px var(--color-brand); }
.product__image { width: 100%; aspect-ratio: 844 / 576; object-fit: cover; }
.product__card { position: relative; z-index: 3; width: 620px; max-width: calc(100% - 60px); margin: -124px 0 0 9.0278%; padding: 18px 28px 14px; border: 30px solid transparent; border-image: url('images/card-border.svg') 30 / 30px stretch; background: url('images/paper.webp?v=3') center / cover; background-clip: padding-box; }
.product__card::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: url('images/paper.webp?v=3') center / cover; clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px), 0 30px); }
.product__title { font: 600 26px/1.45 var(--font-heading); letter-spacing: .04em; color: var(--color-brand); }
.product__subtitle { font: 600 16px/1.5 var(--font-heading); letter-spacing: .08em; color: var(--color-brand); margin-top: 5px; }
.product__description { margin-top: 24px; font-size: 16px; line-height: 1.75; font-feature-settings: "palt"; letter-spacing: .02em; }
.product__description p + p { margin-top: 1em; }
.product__card .button { margin-top: 20px; }
.product--miya-sand { padding-bottom: 21px; }
.product--miya-sand .product__english { left: 9.0278%; right: auto; top: 76px; text-align: left; }
.product--miya-sand .product__side { left: auto; right: 0; top: 95px; }
.product--miya-sand .product__media { margin: 213px 35.8333% 0 5.5556%; }
.product--miya-sand .product__card { margin-left: 47.9167%; margin-top: -130px; }
.product--miya-cookie { padding-bottom: 48px; }
.product--miya-cookie .product__media { margin-top: 199px; }
.product--miya-cookie .product__side { top: 79px; }
.product--miya-cookie .product__card { margin-top: -133px; }
.product--small { width: 38.1944%; padding-top: 72px; margin-left: 9.0278%; padding-bottom: 8px; }
.product--cream-puff { margin-left: 5.5556%; }
.product--small .product__media { width: 100%; }
.product--small .product__image { aspect-ratio: 550 / 400; }
.product--small .product__card { width: 100%; max-width: none; margin: 40px 0 0; padding-top: 10px; padding-bottom: 13px; }
.product--soft-cream { padding-top: 80px; padding-bottom: 104px; }
.product--soft-cream .product__card { margin-top: 12px; }
.product__coming { display: grid; place-items: center; aspect-ratio: 550 / 400; background: #b5b5b5; color: var(--color-paper); font: 600 28px/1.4 var(--font-heading); letter-spacing: .06em; }
.product__badge { position: absolute; right: -10px; top: -16px; display: grid; place-items: center; width: 110px; height: 110px; border: 4px double var(--color-paper); border-radius: 50%; background: var(--color-brand); color: var(--color-paper); box-shadow: 0 0 0 2px var(--color-brand); }
.product__badge span { transform: rotate(10deg); font: 600 28px/1.2 var(--font-heading); letter-spacing: .1em; }
.sand-ribbon { width: 100%; }
.about { padding: 88px 0 50px; color: var(--color-paper); background: var(--color-brand); }
.about .section-title { color: inherit; }
.about__row { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 72.222%; margin: 30px auto 0; gap: 30px; }
.about__row--reverse { flex-direction: row; margin-top: -60px; }
.about__image { width: 49.04%; }
.about__copy { width: 44.81%; }
.about__copy h3 { font: 600 24px/1.6 var(--font-heading); letter-spacing: .04em; margin-bottom: 22px; }
.about__copy p { font-size: 16px; line-height: 1.75; font-feature-settings: "palt"; letter-spacing: .025em; }
.home-news { padding: 105px 30px 90px; min-height: 730px; text-align: center; background: var(--color-paper); }
.home-news__list { max-width: 650px; margin: 70px auto 34px; text-align: left; }
.home-news__item { padding: 18px 0; border-block: 1px solid #b0174770; }
.home-news__item + .home-news__item { border-top: 0; }
.home-news__item h3 { font-size: 14px; font-weight: 400; }
.home-news__item a { text-decoration: none; }
.shop { padding: 100px 9.0278% 0; color: var(--color-paper); background: var(--color-brand); }
.shop .section-title { color: inherit; }
.shop__grid { display: grid; grid-template-columns: 590fr 470fr; gap: 65px; align-items: start; margin-top: 80px; }
.shop__photo { aspect-ratio: 590 / 430; background: #b0b0b0; display: grid; place-items: center; color: var(--color-ink); font-size: 14px; }
.shop__photo img { width: 100%; height: 100%; object-fit: cover; }
.shop__tagline { font: 600 16px/1.5 var(--font-heading); letter-spacing: .05em; }
.shop__details h3 { font: 600 28px/1.4 var(--font-heading); letter-spacing: .04em; margin-bottom: 24px; }
.shop__details > p { font-size: 14px; }
.shop__map { background: var(--color-paper); color: var(--color-brand); margin-left: 10px; padding: 1px 5px; font-size: 12px; }
.shop__info { margin: 25px 0; font-size: 16px; }
.shop__info div { display: flex; gap: 30px; }
.shop__info dt { width: 65px; }
.shop__info dd { margin: 0; }
.line-banner { display: block; padding: 16px; border: 2px solid var(--color-paper); background: #06c755; color: #063f23; text-align: center; font-size: 24px; font-weight: 700; text-decoration: none; }
.shop__instagram { margin: 65px auto 0; max-width: 980px; text-align: center; }
.instagram-link { display: inline-block; margin-bottom: 22px; text-decoration: none; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.instagram-grid__image { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 768px) and (max-width: 1200px) {
  .product__card { width: 43.06%; padding: 8px 8px 14px; }
  .product__title { font-size: 22px; }
  .product--small .product__card { width: 100%; }
  .product__description { font-size: 15px; }
  .intro__copy p + p { margin-top: 24px; }
}
@media (max-width: 767px) {
  .hero { aspect-ratio: 390 / 820; }
  .hero__shop { top: 92.55%; left: 20%; width: 60%; font-size: 24px; line-height: 1.45; }
  .intro { min-height: 1220px; }
  .intro__art img { width: 100%; height: 1220px; object-fit: fill; }
  .intro__copy { width: 310px; max-width: calc(100% - 60px); padding-top: 300px; font-size: 15px; line-height: 2.1; letter-spacing: .025em; }
  .intro__copy p + p { margin-top: 36px; }
  .mobile-break { display: block; }
  .products__header { min-height: 270px; padding: 70px 30px 45px; background-image: url('images/products-heading-sp.webp?v=2'); }
  .products__header p { margin-top: 28px; font-size: 12px; }
  .product--feature { padding-bottom: 233px; }
  .product__english { top: 20px; right: 30px; font-size: 38px; line-height: 1.1; letter-spacing: .02em; }
  .product__side { width: 38.46%; top: auto; bottom: -60px; z-index: 1; }
  .product--feature .product__media { width: calc(100% - 40px); margin: 106px 20px 0; }
  .product__media { box-shadow: -6px 7px 0 -2px var(--color-brand); }
  .product__card { width: calc(100% - 80px); max-width: none; margin: -26px 40px 0; padding: 19px 17px 27px; border-width: 15px; border-image-width: 15px; }
  .product__card::before { inset: -15px; clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px); }
  .product__title { font-size: 20px; letter-spacing: .04em; }
  .product__subtitle { margin-top: 12px; font-size: 15px; line-height: 1.35; letter-spacing: .055em; }
  .product__description { margin-top: 20px; font-size: 15px; line-height: 1.875; letter-spacing: .015em; }
  .product__card .button { display: flex; width: 180px; max-width: 100%; margin: 28px auto 0; }
  .product--miya-sand { padding-bottom: 179px; }
  .product--miya-sand .product__english { top: 70px; left: 30px; right: auto; }
  .product--miya-sand .product__side { top: auto; bottom: -25px; }
  .product--miya-sand .product__media { margin-top: 135px; }
  .product--miya-sand .product__card { margin: -26px 40px 0; }
  .product--miya-cookie { padding-bottom: 105px; }
  .product--miya-cookie .product__english { top: 35px; }
  .product--miya-cookie .product__media { margin-top: 109px; }
  .product--miya-cookie .product__side { display: none; }
  .product--miya-cookie .product__card { margin-top: -26px; }
  .product--small { width: 100%; margin: 0; padding-top: 0; padding-bottom: 100px; }
  .product--small .product__media { width: calc(100% - 80px); margin: 0 40px; }
  .product--small .product__card { width: calc(100% - 80px); margin: -8px 40px 0; padding: 9px 17px 20px; }
  .product--small .product__image { aspect-ratio: 310 / 225; }
  .product--cream-puff { padding-bottom: 55px; }
  .product--soft-cream { padding-top: 32px; padding-bottom: 50px; }
  .product--soft-cream .product__card { margin-top: 0; }
  .product__coming { aspect-ratio: 310 / 225; font-size: 20px; }
  .product__badge { width: 80px; height: 80px; top: -10px; right: -10px; border-width: 3px; }
  .product__badge span { font-size: 20px; }
  .sand-ribbon { height: 170px; object-fit: cover; }
  .about { padding: 70px 0 80px; }
  .about__row, .about__row--reverse { flex-direction: column; width: 100%; margin-top: 60px; gap: 32px; }
  .about__image { width: 72%; max-width: 360px; }
  .about__copy { width: calc(100% - 80px); }
  .about__copy h3 { font-size: 20px; margin-bottom: 20px; }
  .about__copy p { font-size: 15px; line-height: 1.85; }
  .home-news { min-height: 640px; padding: 70px 40px 90px; }
  .home-news__list { margin-top: 60px; }
  .home-news__item { padding-block: 18px; }
  .home-news__item h3 { font-size: 13px; }
  .shop { padding: 70px 40px 0; }
  .shop__grid { grid-template-columns: 1fr; gap: 35px; margin-top: 60px; }
  .shop__photo { aspect-ratio: 310 / 270; }
  .shop__details h3 { font-size: 26px; margin-bottom: 24px; }
  .shop__details > p { font-size: 13px; }
  .shop__info { font-size: 14px; }
  .line-banner { padding: 13px 8px; font-size: 20px; }
  .shop__instagram { margin-top: 48px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product__card::after { content:""; position:absolute; inset:-30px; border:30px solid transparent; border-image:url('images/card-border.svg') 30 / 30px stretch; pointer-events:none; }
@media(max-width:767px){.product__card::after{inset:-15px;border-width:15px;border-image-width:15px}}
