:root {
  --ink: #171513;
  --ivory: #f8f4e9;
  --basic: #e8e2e0;
  --green: #e7ead9;
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.knit-lp { overflow: hidden; font-family: var(--serif); font-weight: 500; font-feature-settings: "palt" 1; }
.knit-lp h1, .knit-lp h2, .knit-lp h3, .knit-lp p, .knit-lp figure { margin: 0; }
.center { text-align: center; }
.section-ivory { background: var(--ivory); }
.narrow { width: min(720px, calc(100% - 48px)); margin-inline: auto; }
.section-inner { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.common-width { width: min(760px, calc(100% - 48px)); margin-inline: auto; }

.hero { position: relative; display: grid; grid-template-columns: 40% 60%; min-height: min(710px, 55vw); overflow: hidden; background: var(--ivory); line-height: 1; }
.hero > img { grid-column: 2; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; top: 50%; left: 20%; display: flex; width: 34%; flex-direction: column; align-items: center; transform: translate(-50%, -50%); text-align: center; }
.hero-copy small { margin-bottom: 18px; font: 500 13px/1.3 "Cormorant Garamond", serif; letter-spacing: .12em; }
.hero-copy strong { font: 500 clamp(38px, 4vw, 64px)/.85 "Cormorant Garamond", serif; letter-spacing: .05em; }
.hero-copy em { margin-top: 24px; font-size: 17px; font-style: normal; font-weight: 500; line-height: 1.8; letter-spacing: .08em; }

.brand-intro { padding: 58px 0 54px; }
.brand-intro h2 { margin-bottom: 28px; font-size: 24px; font-weight: 500; letter-spacing: .14em; }
.brand-intro p { font-size: 17px; font-weight: 500; line-height: 2; letter-spacing: .1em; }
.outline-button, .solid-button { display: flex; align-items: center; justify-content: center; width: min(560px, 100%); min-height: 54px; margin: 34px auto 0; border: 1px solid #222; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: .16em; transition: color 180ms ease, background 180ms ease; }
.outline-button:hover { color: #fff; background: #111; }
.solid-button { color: #fff; background: #050505; border-color: #050505; }
.solid-button:hover { color: #050505; background: transparent; }

.lead-copy {max-width:1000px;margin:10rem auto; background: #fff; }
.lead-copy p { font-size: 20px; font-weight: 500; line-height: 2.2; letter-spacing: .1em; }

.collection { padding-top: 105px; }
.collection-basic { background: var(--basic); }
.collection-green { background: var(--green); }
.collection-heading { margin-bottom: 82px; text-align: center; }
.collection-heading > img { width: auto; margin-inline: auto; }
.eyebrow-image { height: 15px; margin-bottom: 24px; }
.collection-title-image { max-height: 29px; }
.collection-heading h2 { margin-top: 64px; font-size: 28px; font-weight: 500; line-height: 1.75; letter-spacing: .1em; }
.collection-heading p { margin-top: 35px; font-size: 18px; font-weight: 500; line-height: 2.05; letter-spacing: .07em; text-align: left; }

.feature-intro { padding-bottom: 105px; }
.feature-lead { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
.feature-lead h2 { margin-bottom: 32px; font-size: 28px; font-weight: 500; line-height: 1.7; letter-spacing: .08em; }
.feature-lead p, .feature-detail-grid figcaption, .product-layout p, .style-layout p { font-size: 17px; font-weight: 500; line-height: 2.05; letter-spacing: .055em; }
.feature-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; width: 100%; margin: 48px 0 0 auto; }
.feature-detail-grid img { width: 100%; }
.feature-detail-grid figcaption { margin-top: 22px; }
.green-feature { padding-bottom: 92px; }
.green-feature .feature-detail-grid { width: 100%; margin-top: 0; }

.item-block { padding: 20px 0 105px; }
.item-block.has-rule { padding-top: 85px; border-top: 1px solid rgba(23, 21, 19, .5); }
.item-heading { display: flex; min-height: 175px; margin-bottom: 55px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.item-heading > span { display:none; font: 500 13px/1 "Cormorant Garamond", serif; letter-spacing: .14em; }
.item-heading strong { margin-top: 12px; font: 600 22px / 1 "Helvetica", serif; letter-spacing: .06em; }
.badge-new { width: auto; margin-bottom: 20px; }
.item-title-image { width: auto; max-width: min(500px, 85%); max-height: 95px; object-fit: contain; }
.product-main { width: min(470px, 100%); margin-inline: auto; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 86px; width: min(900px, 100%); margin: 0 auto 95px; }
.product-layout.reverse > img { order: 2; }
.product-layout > img { width: 100%; }
.style-block { margin-top: 75px; }
.style-block h3 { margin-bottom: 34px; font-size: 24px; font-weight: 500; letter-spacing: .09em; text-align: center; }
.style-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.style-layout > img { width: 100%; }
.style-reverse .style-layout > img { order: 2; }

.product-links { width: min(520px, 100%); margin: 28px 0 0; padding: 0; list-style: none; font-family: var(--sans); }
.product-links li { display: grid; grid-template-columns: 1fr 165px; align-items: center; min-height: 45px; gap: 18px; }
.product-links span { font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.product-links a, .disabled-button { display: flex; align-items: center; justify-content: center; min-height: 32px; color: #fff; background: #050505; font-size: 11px; font-weight: 500; letter-spacing: .1em; transition: background 180ms ease; }
.product-links a:hover { background: #494949; }
.product-links .disabled-button { background: #777; }

.other-block { padding-top: 92px; text-align: center; }
.other-block > h3 { margin-bottom: 40px; font: 700 20px/1 adobe-garamond-pro, "Cormorant Garamond", serif; letter-spacing: .1em; }
.carousel { --per-view: 3; --gap: 20px; width: min(900px, 100%); margin-inline: auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: var(--gap); will-change: transform; }
.carousel-track > img { flex: 0 0 calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view)); width: calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view)); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin: 22px 0 30px; }
.carousel-nav button { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; font: 30px/1 var(--serif); cursor: pointer; }
.carousel-nav span { min-width: 45px; font: 700 20px/1 var(--serif); letter-spacing: .1em; }
.carousel.is-single { width: min(286px, calc(100% - 48px)); }
.carousel.is-single .carousel-nav { display: none; }
.carousel.is-single .carousel-track > img { flex-basis: 100%; width: 100%; }
.other-block .solid-button { width: min(560px, calc(100% - 48px)); }

.crafting { padding: 100px 0 94px; text-align: center; }
.crafting > h2, .common-order h2, .footer-feature h2 { margin-bottom: 40px; font-size: 23px; font-weight: 500; letter-spacing: .13em; }
.common-cards { display: flex; gap: 28px; width: min(760px, calc(100% - 48px)); margin-inline: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.common-cards::-webkit-scrollbar { display: none; }
.common-cards article { flex: 0 0 100%; scroll-snap-align: start; }
.common-cards img, .common-order img, .footer-feature img { width: 100%; }
.common-cards h3 { margin: 28px 0 20px; font-size: 18px; font-weight: 500; line-height: 1.8; letter-spacing: .1em; }
.common-cards p, .common-order p { margin-top: 24px; font-size: 17px; font-weight: 500; line-height: 2; letter-spacing: .07em; text-align: left; }
.common-order { padding: 90px 0; border-bottom: 1px solid #aaa; text-align: center; }
.common-order .common-price { text-align: center; font-size: 19px; }
.common-price span { display: inline-block; height: 24px; margin: 0 18px; border-left: 1px solid #333; vertical-align: middle; }
.footer-feature { padding: 90px 0; border-bottom: 1px solid #aaa; text-align: center; }
.footer-feature img { margin-bottom: 34px; }
.shop-feature { padding-bottom: 110px; }

.floating { position: fixed; z-index: 100; right: 0; bottom: 10px; left: 50%; display: flex; width: 100%; justify-content: space-evenly; text-align: center; transform: translateX(-50%); }
.floating a { display: inline-block; width: 90%; padding: 10px 0; color: #fff; background: #1a1a1a; box-shadow: 0 3px 5px rgba(255,255,255,.3); font-family: "Roboto", "Noto Sans JP", YuGothic, sans-serif; font-size: 14px; line-height: 1.6; letter-spacing: 1.5px; }

@media (min-width: 768px) {
  .floating a { width: 29%; padding: 20px 0; font-size: 16px; }
  .footer-feature img { max-height: 520px; object-fit: cover; }
}

@media (max-width: 767px) {
  .narrow, .common-width { width: calc(100% - 48px); }
  .section-inner { width: calc(100% - 44px); }
  .hero { display: block; min-height: 100vw; background: #cab7a9; }
  .hero > img { width: 100%; height: 100vw; object-fit: cover; object-position: 48% center; }
  .hero::after { content: ""; position: absolute; inset: 0; background: rgba(255,248,240,.14); }
  .hero-copy { z-index: 1; top: 52%; left: 50%; width: 88%; }
  .hero-copy small { margin-bottom: 14px; font-size: 11px; }
  .hero-copy strong { font-size: 42px; }
  .hero-copy em { margin-top: 18px; font-size: 16px; line-height: 1.7; }
  .brand-intro { padding: 44px 0 46px; }
  .brand-intro h2 { margin-bottom: 20px; font-size: 20px; }
  .brand-intro p { font-size: 15px; line-height: 2; }
  .outline-button, .solid-button { min-height: 46px; margin-top: 25px; font-size: 13px; }
  .lead-copy { padding: 65px 24px;margin:0;}
  .lead-copy p { font-size: 16px; line-height: 2.1; letter-spacing: .07em; }
  .collection { padding-top: 70px; }
  .collection-heading { margin-bottom: 58px; }
  .eyebrow-image { height: 13px; margin-bottom: 20px; }
  .collection-title-image { max-width: 82%; max-height: 25px; }
  .green-title { max-height: 22px; }
  .collection-heading h2 { margin-top: 55px; font-size: 23px; line-height: 1.75; }
  .collection-heading p { margin-top: 28px; font-size: 15px; line-height: 2.05; }
  .feature-intro { padding-bottom: 75px; }
  .feature-lead { display: flex; gap: 0; flex-direction: column; }
  .feature-lead h2 { margin-bottom: 26px; font-size: 23px; line-height: 1.75; }
  .feature-lead p, .feature-detail-grid figcaption, .product-layout p, .style-layout p { font-size: 15px; line-height: 2.05; }
  .feature-lead img { margin-top: 42px; }
  .feature-detail-grid { display: block; width: 100%; margin-top: 24px; }
  .feature-detail-grid figure + figure { margin-top: 28px; }
  .feature-detail-grid figcaption { margin-top: 20px; }
  .green-feature { padding-bottom: 65px; }
  .item-block { width: 100%; padding: 0 0 78px; }
  .item-block.has-rule { padding-top: 62px; }
  .item-heading { min-height: 140px; margin-bottom: 35px; padding-inline: 22px; }
  .item-heading > span { font-size: 12px; }
  .item-heading strong { font-size: 15px; }
  .badge-new { width: auto }
  .item-title-image { max-width: 88%; max-height: 100%; }
  .product-main { width: 100%; }
  .product-layout, .product-layout.reverse { display: flex; width: 100%; margin-bottom: 62px; gap: 0; flex-direction: column; }
  .product-layout.reverse > img { order: initial; }
  .product-layout > div { width: calc(100% - 44px); margin: 28px auto 0; }
  .style-block { width: calc(100% - 44px); margin: 58px auto 0; }
  .style-block h3 { margin-bottom: 24px; font-size: 20px; line-height: 1.7; text-align: left; }
  .style-layout, .style-reverse .style-layout { display: flex; gap: 0; flex-direction: column; }
  .style-reverse .style-layout > img { order: initial; }
  .style-layout > div { margin-top: 26px; }
  .product-links { width: 100%; margin-top: 24px; }
  .product-links li { grid-template-columns: 1fr 112px; min-height: 42px; gap: 12px; }
  .product-links span { font-size: 12px; white-space: nowrap; }
  .product-links a, .disabled-button { min-height: 29px; font-size: 10px; }
  .other-block { width: 100%; padding-top: 68px; text-align: left; }
  .other-block > h3 { width: calc(100% - 44px); margin: 0 auto 28px; font-size: 16px; }
  .carousel { --per-view: 2.3; --gap: 12px; width: 100%; }
  .carousel-viewport { overflow-x: auto; overflow-y: hidden; padding-left: 22px; scroll-padding-left: 22px; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .carousel-track { transform: none !important; transition: none !important; }
  .carousel-track > .is-clone { display: none; }
  .carousel-track > img { min-width: 0; scroll-snap-align: start; }
  .carousel-track::after { content: ""; flex: 0 0 calc(22px - var(--gap)); }
  .carousel-nav { margin: 16px 0 24px; }
  .carousel-nav button { width: 26px; height: 26px; font-size: 27px; }
  .carousel-nav span { font-size: 15px; }
  .carousel.is-single { width: min(160px, calc(100% - 44px)); }
  .carousel.is-single .carousel-viewport { padding-left: 0; overflow: visible; }
  .carousel.is-single .carousel-track::after { display: none; }
  .other-block .solid-button { width: min(70%, 330px); }
  .crafting { padding: 76px 0 80px; }
  .crafting > h2, .common-order h2, .footer-feature h2 { margin-bottom: 30px; font-size: 20px; text-align: left; }
  .crafting > h2 { text-align: center; }
  .common-cards { gap: 24px; width: calc(100% - 20px); margin-left: 20px; }
  .common-cards article { flex-basis: calc(100% - 36px); }
  .common-cards h3 { font-size: 18px; }
  .common-cards p, .common-order p { font-size: 15px; line-height: 2; }
  .common-order { padding: 72px 0 78px; }
  .common-order .common-price { font-size: 16px; white-space: nowrap; }
  .common-price span { height: 20px; margin-inline: 10px; }
  .footer-feature { padding: 68px 0 74px; }
  .shop-feature { padding-bottom: 100px; }
  .floating a { width: 90%; padding: 10px 0; font-size: 14px; }
}

@media (max-width: 374px) {
  .hero-copy strong { font-size: 37px; }
  .product-links span { font-size: 11px; }
  .common-order .common-price { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
