/* =========================================================
   三楽 TOPページ専用CSS／完全置換版
   共通部品：既存の sanraku-common.css を継続使用
   編集先：assets/css/home.css
   ========================================================= */

/* Cocoon外枠。本文内のarticleは一括リセットしない */
body:has(.sanraku-washi-lp) .go-to-top,
body:has(.sanraku-washi-lp) .entry-title,
body:has(.sanraku-washi-lp) .article-header,
body:has(.sanraku-washi-lp) .date-tags,
body:has(.sanraku-washi-lp) .breadcrumb,
body:has(.sanraku-washi-lp) #breadcrumb,
body:has(.sanraku-washi-lp) .sns-share,
body:has(.sanraku-washi-lp) .sns-follow,
body:has(.sanraku-washi-lp) .author-info,
body:has(.sanraku-washi-lp) .under-entry-content {
  display: none;
}

body:has(.sanraku-washi-lp) {
  background:
    radial-gradient(circle at 18% 12%, rgba(180, 150, 95, 0.018) 0, rgba(180, 150, 95, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 82% 28%, rgba(120, 90, 55, 0.012) 0, rgba(120, 90, 55, 0.012) 1px, transparent 1px),
    linear-gradient(180deg, #fffefa 0%, #fbfaf7 48%, #fffefa 100%);
  background-size: 42px 42px, 56px 56px, auto;
  color: #222222;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

body:has(.sanraku-washi-lp) :is(.main, .content, .entry-content, .article) {
  padding: 0;
  margin: 0;
  max-width: none;
  background: transparent;
  box-shadow: none;
}

body:has(.sanraku-washi-lp) :is(.wrap, .container, .content-in) {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* TOP本文。色変数・共通ボタン・共通カードの外観は共通CSSを使用 */
.sanraku-washi-lp {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 253, 248, 0.9)),
    radial-gradient(circle at 10% 20%, rgba(170, 130, 65, 0.016), transparent 28%),
    radial-gradient(circle at 90% 50%, rgba(190, 80, 60, 0.01), transparent 30%);
  color: var(--sr-text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.sanraku-washi-lp *,
.sanraku-washi-lp *::before,
.sanraku-washi-lp *::after {
  box-sizing: border-box;
}

.sanraku-washi-lp :is(h1, h2, h3, h4, h5, h6) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-shadow: none;
}

.sanraku-washi-lp :is(h1, h2, h3, h4, h5, h6)::before,
.sanraku-washi-lp :is(h1, h2, h3, h4, h5, h6)::after {
  content: none;
}

.sanraku-washi-lp :is(h1, h2, h3, p) {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.sanraku-washi-lp figure {
  margin: 0;
}

.sanraku-washi-lp picture,
.sanraku-washi-lp img {
  display: block;
}

.sanraku-washi-lp img {
  max-width: 100%;
  height: auto;
}

.sanraku-washi-lp a {
  color: inherit;
  text-decoration: none;
}

.sanraku-washi-lp a:focus-visible {
  outline: 2px solid var(--sr-red);
  outline-offset: 4px;
}

.sanraku-washi-lp .sr-photo:focus-visible {
  outline-offset: -4px;
}

.sanraku-washi-lp :is(.sr-section, .sr-section-soft) {
  padding: 72px 0;
}

.sanraku-washi-lp .sr-section-head {
  margin-bottom: 32px;
}

.sanraku-washi-lp .sr-inner > .sr-button-row {
  justify-content: center;
  align-items: center;
}

.sanraku-washi-lp .sr-text-link {
  min-height: 44px;
}

/* ヒーロー */
.sanraku-washi-lp .sr-hero {
  padding: 56px 0 48px;
}

.sanraku-washi-lp .sr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.sanraku-washi-lp .sr-hero-copy {
  min-width: 0;
  max-width: 500px;
}

.sanraku-washi-lp .sr-hero-kicker {
  margin: 0 0 16px;
  color: var(--sr-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.sanraku-washi-lp .sr-hero-title {
  margin: 0;
  color: var(--sr-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.sanraku-washi-lp .sr-hero-title-main {
  display: block;
  font-size: clamp(30px, 3.4vw, 42px);
}

.sanraku-washi-lp .sr-hero-title-line {
  display: block;
}

.sanraku-washi-lp .sr-hero-sub {
  margin: 20px 0 0;
  color: var(--sr-red);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.sanraku-washi-lp .sr-hero-text {
  margin: 16px 0 0;
  color: #5e5750;
  font-size: 15px;
  line-height: 1.95;
}

.sanraku-washi-lp .sr-hero-copy .sr-product-price {
  margin-top: 6px;
}

.sanraku-washi-lp .sr-hero-copy .sr-button-row {
  margin-top: 20px;
}

.sanraku-washi-lp .sr-hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(45, 35, 22, 0.04);
}

.sanraku-washi-lp .sr-hero-image::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.sanraku-washi-lp .sr-hero-image img {
  width: 100%;
  aspect-ratio: 1.26 / 1;
  object-fit: cover;
}

/* 自動お知らせ。ショートコードが生成するクラスを維持 */
.sanraku-washi-lp .sr-news-strip-wrap {
  padding: 0;
}

.sanraku-washi-lp .sr-news-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(86, 68, 42, 0.075);
  border-bottom: 1px solid rgba(86, 68, 42, 0.075);
}

.sanraku-washi-lp .sr-news-strip-label {
  padding-top: 4px;
  color: var(--sr-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sanraku-washi-lp .sr-news-strip-body {
  min-width: 0;
}

.sanraku-washi-lp .sr-news-heading {
  margin: 0 0 10px;
  color: var(--sr-ink);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.sanraku-washi-lp .sr-news-latest {
  margin: 0;
}

.sanraku-washi-lp .sr-news-date {
  display: block;
  margin: 0 0 6px;
  color: #756d65;
  font-size: 14px;
  line-height: 1.6;
}

.sanraku-washi-lp .sr-news-title {
  margin: 0 0 8px;
  color: var(--sr-ink);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

.sanraku-washi-lp .sr-news-text {
  margin: 0;
  color: #4d463f;
  font-size: 14.5px;
  line-height: 1.85;
}

.sanraku-washi-lp :is(.sr-news-detail-link, .sr-news-strip-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sr-red);
  border-bottom: 1px solid rgba(157, 23, 20, 0.35);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
}

.sanraku-washi-lp .sr-news-detail-link {
  margin-top: 8px;
}

.sanraku-washi-lp .sr-news-strip-link {
  justify-self: start;
}

/* 商品・写真付きカード。外観は共通のsr-page-cardを使用 */
.sanraku-washi-lp :is(.sr-product-card, .sr-brand-card) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.sanraku-washi-lp .sr-photo {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
}

.sanraku-washi-lp .sr-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.sanraku-washi-lp :is(.sr-product-body, .sr-brand-body) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.sanraku-washi-lp .sr-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.sanraku-washi-lp .sr-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(157, 23, 20, 0.24);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--sr-red);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.sanraku-washi-lp .sr-badge-light {
  color: #876632;
  border-color: rgba(167, 130, 69, 0.28);
}

.sanraku-washi-lp .sr-badge-muted {
  color: #806f5e;
  border-color: rgba(128, 111, 94, 0.22);
}

.sanraku-washi-lp :is(.sr-product-title, .sr-brand-name) {
  margin: 0;
  color: var(--sr-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.sanraku-washi-lp .sr-product-title > span {
  display: block;
}

.sanraku-washi-lp .sr-product-price {
  margin: 14px 0 0;
  color: var(--sr-red-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.sanraku-washi-lp .sr-product-price > span {
  display: inline-block;
}

.sanraku-washi-lp .sr-product-price small {
  display: inline-block;
  max-width: 100%;
  font-size: 13px;
  font-weight: 500;
}

.sanraku-washi-lp :is(.sr-product-text, .sr-brand-text) {
  margin: 14px 0 0;
  color: #514a43;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.sanraku-washi-lp :is(.sr-product-text, .sr-brand-text) small {
  display: block;
  font-size: 13px;
  line-height: 1.85;
}

.sanraku-washi-lp .sr-product-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.sanraku-washi-lp .sr-product-action a {
  max-width: 100%;
}

/* おすすめ商品：主商品＋天拝・ギフト */
.sanraku-washi-lp .sr-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  gap: 28px;
}

.sanraku-washi-lp .sr-feature-main .sr-photo img {
  aspect-ratio: 1.6 / 1;
}

.sanraku-washi-lp .sr-feature-main .sr-product-title {
  font-size: 26px;
}

.sanraku-washi-lp .sr-feature-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.sanraku-washi-lp .sr-side-product {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
}

.sanraku-washi-lp .sr-side-product .sr-photo {
  display: flex;
  align-items: center;
}

.sanraku-washi-lp .sr-side-product .sr-product-body {
  padding: 22px;
}

.sanraku-washi-lp .sr-side-product .sr-product-title {
  font-size: 19px;
}

/* ブランド・理由・読みもの案内を同じ写真付きカードへ統合 */
.sanraku-washi-lp .sr-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sanraku-washi-lp .sr-brand-card > img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
}

.sanraku-washi-lp .sr-brand-name {
  font-size: 26px;
}

/* ギフト・無添加への想い */
.sanraku-washi-lp .sr-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.sanraku-washi-lp .sr-split-image {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sanraku-washi-lp :is(.sr-split-image img, .sr-split-single img) {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--sr-shadow);
}

.sanraku-washi-lp .sr-split-image img {
  aspect-ratio: 1.16 / 1;
}

.sanraku-washi-lp .sr-split-single img {
  aspect-ratio: 1.24 / 1;
}

.sanraku-washi-lp .sr-split-copy {
  min-width: 0;
}

.sanraku-washi-lp .sr-split-copy .sr-section-head {
  margin: 0;
  text-align: left;
}

.sanraku-washi-lp .sr-split-copy .sr-lead {
  margin-left: 0;
}

/* 店舗案内 */
.sanraku-washi-lp .sr-store-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.sanraku-washi-lp .sr-store-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sanraku-washi-lp .sr-store-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: var(--sr-shadow);
}

.sanraku-washi-lp .sr-store-main .sr-store-frame {
  height: 560px;
}

.sanraku-washi-lp .sr-store-side .sr-store-frame {
  height: 271px;
}

.sanraku-washi-lp .sr-store-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sanraku-washi-lp .sr-store-copy {
  margin: 30px auto 0;
  text-align: center;
}

/* 中間幅。PCの内側2カラムによる本文の圧迫を解消 */
@media (max-width: 960px) {
  .sanraku-washi-lp .sr-hero {
    padding: 30px 0 42px;
  }

  .sanraku-washi-lp .sr-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .sanraku-washi-lp .sr-hero-image {
    order: 1;
    width: min(100%, 560px);
  }

  .sanraku-washi-lp .sr-hero-image img {
    aspect-ratio: 1.55 / 1;
  }

  .sanraku-washi-lp .sr-hero-copy {
    order: 2;
    width: min(100%, 500px);
    text-align: center;
  }

  .sanraku-washi-lp .sr-hero-title-line {
    display: inline-block;
  }

  .sanraku-washi-lp .sr-hero-text {
    text-align: left;
  }

  .sanraku-washi-lp .sr-hero-copy .sr-button-row {
    justify-content: center;
  }

  .sanraku-washi-lp .sr-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sanraku-washi-lp .sr-feature-main {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  }

  .sanraku-washi-lp .sr-feature-main .sr-photo {
    display: flex;
    align-items: center;
  }

  .sanraku-washi-lp .sr-feature-main .sr-photo img {
    aspect-ratio: 1 / 1;
  }

  .sanraku-washi-lp .sr-feature-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sanraku-washi-lp .sr-side-product {
    display: flex;
  }

  .sanraku-washi-lp .sr-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sanraku-washi-lp .sr-store-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }

  .sanraku-washi-lp .sr-store-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .sanraku-washi-lp .sr-store-frame {
    aspect-ratio: 1.18 / 1;
  }

  .sanraku-washi-lp :is(.sr-store-main, .sr-store-side) .sr-store-frame {
    height: auto;
  }
}

@media (max-width: 820px) {
  .sanraku-washi-lp :is(.sr-section, .sr-section-soft) {
    padding: 60px 0;
  }

  .sanraku-washi-lp .sr-brand-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .sanraku-washi-lp .sr-news-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* スマートフォン */
@media (max-width: 560px) {
  .sanraku-washi-lp :is(.sr-inner, .sr-news-strip) {
    width: calc(100% - 30px);
  }

  .sanraku-washi-lp :is(.sr-section, .sr-section-soft) {
    padding: 48px 0;
  }

  .sanraku-washi-lp .sr-section-head {
    margin-bottom: 28px;
  }

  .sanraku-washi-lp .sr-lead {
    font-size: 15px;
    line-height: 1.95;
    text-align: left;
  }

  .sanraku-washi-lp .sr-hero {
    padding: 0 0 36px;
  }

  .sanraku-washi-lp .sr-hero-grid {
    width: 100%;
    gap: 24px;
  }

  .sanraku-washi-lp .sr-hero-image {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .sanraku-washi-lp .sr-hero-image::before {
    content: none;
  }

  .sanraku-washi-lp .sr-hero-copy {
    width: calc(100% - 30px);
    max-width: 390px;
  }

  .sanraku-washi-lp .sr-hero-title-main {
    font-size: clamp(24px, 6.8vw, 28px);
  }

  .sanraku-washi-lp .sr-hero-sub {
    font-size: 17px;
  }

  .sanraku-washi-lp .sr-button-row {
    flex-direction: column;
    align-items: center;
  }

  .sanraku-washi-lp .sr-button-row :is(.sr-button-primary, .sr-button-outline) {
    width: min(100%, 280px);
  }

  .sanraku-washi-lp .sr-news-strip {
    padding: 18px;
  }

  .sanraku-washi-lp .sr-feature-main {
    display: flex;
  }

  .sanraku-washi-lp .sr-feature-main .sr-photo img {
    aspect-ratio: 1.4 / 1;
  }

  .sanraku-washi-lp :is(.sr-product-body, .sr-brand-body) {
    padding: 24px 22px;
  }

  .sanraku-washi-lp .sr-feature-main .sr-product-title,
  .sanraku-washi-lp .sr-brand-name {
    font-size: 24px;
  }

  .sanraku-washi-lp .sr-feature-side {
    gap: 12px;
  }

  .sanraku-washi-lp .sr-side-product .sr-product-body {
    padding: 18px 14px;
  }

  .sanraku-washi-lp .sr-side-product .sr-badge-row {
    gap: 6px;
    margin-bottom: 12px;
  }

  .sanraku-washi-lp .sr-side-product .sr-badge {
    padding: 3px 6px;
    font-size: 11px;
  }

  .sanraku-washi-lp .sr-side-product .sr-product-title {
    font-size: 16px;
    letter-spacing: 0.02em;
  }

  .sanraku-washi-lp .sr-side-product .sr-product-price {
    font-size: 17px;
  }

  .sanraku-washi-lp .sr-side-product .sr-product-text {
    font-size: 14px;
    line-height: 1.85;
  }

  .sanraku-washi-lp .sr-side-product .sr-product-action {
    padding-top: 18px;
  }

  .sanraku-washi-lp .sr-side-product .sr-button-outline {
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
    letter-spacing: 0.02em;
    line-height: 1.6;
  }

  .sanraku-washi-lp .sr-split-image {
    gap: 10px;
  }

  .sanraku-washi-lp .sr-split-image img {
    aspect-ratio: 1 / 1;
  }

  .sanraku-washi-lp .sr-split-copy .sr-section-head {
    text-align: center;
  }

  .sanraku-washi-lp :is(.sr-store-grid, .sr-store-side) {
    gap: 14px;
  }

  .sanraku-washi-lp .sr-store-frame {
    aspect-ratio: 1.12 / 1;
  }
}