@charset "utf-8";

:root {
  --navy: #132d73;
  --orange: #ef6a2b;
  --gold: #e4a93b;
  --gold-deep: #d18b11;
  --cream: #fffaf1;
  --cream-strong: #fdf3e3;
  --sky: #c7dff1;
  --peach: #f8e1c0;
  --line: #ecd8b8;
  --brown: #5a4330;
  --muted: #6d655d;
  --white: #fff;
  --shadow: 0 18px 50px rgba(34, 46, 85, .12);
  --soft-shadow: 0 10px 26px rgba(34, 46, 85, .1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, var(--sky) 0 120px, transparent 121px),
    radial-gradient(circle at top right, var(--peach) 0 120px, transparent 121px),
    radial-gradient(circle at bottom left, rgba(199, 223, 241, .8) 0 90px, transparent 91px),
    radial-gradient(circle at bottom right, rgba(248, 225, 192, .85) 0 100px, transparent 101px),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
  color: var(--brown);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--container));
  margin: 16px auto 0;
  padding: 14px 18px;
  background: rgba(255, 250, 241, .92);
  border: 2px solid rgba(228, 169, 59, .32);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}
.site-logo { width: 162px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.site-nav a:hover { background: rgba(228, 169, 59, .16); }
.site-cta,
.primary-btn,
.contact button,
.goods-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ff7b3f 0%, var(--orange) 100%);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  background: #fff;
  border: 2px solid rgba(19, 45, 115, .16);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 48px;
  width: min(calc(100% - 40px), var(--container));
  margin: 30px auto 0;
  padding: 48px 0 72px;
}
.hero::before,
.hero::after,
.decorated-section::before,
.decorated-section::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .95;
  pointer-events: none;
}
.hero::before {
  left: -10px; top: 12px; width: 50px; height: 50px;
  background-image: url('../assets/images/paw-icon.png');
  background-size: contain;
}
.hero::after {
  right: 18px; top: -8px; width: 120px; height: 86px;
  background-image: url('../assets/images/dog-silhouette-1.png');
  background-size: contain;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before,
.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.section-kicker::after { width: 16px; }
.hero h1,
.section-block h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero h1 span,
.section-block h2 span { display: block; }
.hero h1 span:last-child { color: var(--orange); }
.lead {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--brown);
  font-size: 17px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-points {
  display: grid; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none;
}
.hero-points li {
  position: relative; padding-left: 30px; color: var(--navy); font-weight: 800;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url('../assets/images/paw-icon.png') center/contain no-repeat;
}
.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 42px;
  box-shadow: var(--shadow);
}
.floating-card {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 184px;
  padding: 14px 16px;
  background: rgba(255, 250, 241, .96);
  border: 2px solid rgba(228, 169, 59, .44);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}
.floating-card span { color: var(--gold-deep); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.floating-card strong { color: var(--navy); font-size: 28px; line-height: 1; }
.floating-card small { color: var(--muted); font-weight: 700; }
.card-dog { left: -22px; bottom: 18px; transform: rotate(-4deg); }
.card-cat { right: -18px; top: 34px; transform: rotate(3deg); }

.section-block {
  position: relative;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 84px 0;
}
.decorated-section::before {
  left: -8px; top: 30px; width: 46px; height: 46px;
  background-image: url('../assets/images/paw-icon.png'); background-size: contain;
}
.decorated-section::after {
  right: 10px; bottom: 30px; width: 92px; height: 66px;
  background-image: url('../assets/images/dog-silhouette-2.png'); background-size: contain; opacity: .75;
}
.decorated-section:nth-of-type(even)::after {
  background-image: url('../assets/images/dog-silhouette-4.png');
  width: 84px;
  height: 84px;
}
.section-block h2 {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.18;
}
.feature-grid,
.scene-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-grid article,
.scene-list article,
.price-box,
.contact-card,
.contact form,
.faq details,
.goods-card {
  position: relative;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(228, 169, 59, .28);
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}
.feature-grid article { padding: 30px 28px; }
.feature-grid article::after,
.scene-list article::after,
.goods-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(228, 169, 59, .38);
  border-radius: 20px;
  pointer-events: none;
}
.feature-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #f1c564, #e2ad45);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}
.feature-grid h3,
.scene-list h3,
.goods-content h3 { margin: 0 0 10px; color: var(--navy); font-size: 24px; font-weight: 900; }
.feature-grid p,
.scene-list p,
.sample-copy p,
.faq p,
.contact-card p,
.goods-content p,
.goods-lead { margin: 0; color: var(--brown); font-weight: 700; }

.sample {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 40px;
  padding-top: 0;
}
.sample-copy {
  padding: 34px 30px;
  background: rgba(255,255,255,.72);
  border: 2px solid rgba(228, 169, 59, .22);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}
.design-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.design-card-item {
  padding: 14px;
  background: rgba(255,255,255,.95);
  border: 2px solid rgba(228, 169, 59, .24);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}
.design-card-thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.design-card-thumb img {
  aspect-ratio: 697 / 1016;
  width: 100%; object-fit: cover;
  border-radius: 18px;
}
.design-card-item > span {
  display: block; margin: 14px 4px 2px; color: var(--navy); font-size: 24px; line-height: 1; font-weight: 900;
}
.design-card-item small { display: block; margin: 0 4px 4px; color: var(--muted); font-size: 12px; font-weight: 800; }

.design-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.design-card-btn {
  min-width: 240px;
  box-shadow: none;
}


.goods-lead { max-width: 900px; margin: 0 0 32px; font-size: 17px; }
.goods-lead small { font-size: 13px; color: var(--muted); }
.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.goods-card {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 22px;
}
.goods-preview {
  position: relative;
  min-height: 270px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 241, .95), rgba(248, 240, 225, .92));
  border: 2px dashed rgba(228,169,59,.45);
  overflow: hidden;
}
.goods-preview::before {
  content: "";
  position: absolute;
  inset: auto 16px 14px auto;
  width: 48px; height: 48px;
  background: url('../assets/images/paw-icon.png') center/contain no-repeat;
  opacity: .9;
}
.goods-preview::after {
  content: "";
  position: absolute;
  left: 10px; top: 10px;
  width: 64px; height: 42px;
  background: url('../assets/images/dog-silhouette-3.png') center/contain no-repeat;
  opacity: .45;
}
.goods-content { position: relative; z-index: 2; }
.goods-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin: 0 0 12px;
  background: linear-gradient(180deg, #f1c564, #d99111);
  border-radius: 50%; color: #fff; font-size: 18px; font-weight: 900;
}
.goods-price {
  margin: 0 0 10px;
  color: #e23e2f !important;
  font-size: 34px;
  line-height: 1;
  font-weight: 900 !important;
}
.goods-content ul { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 7px; }
.goods-content li {
  position: relative; padding-left: 24px; color: var(--brown); font-weight: 700;
}
.goods-content li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px;
  background: url('../assets/images/paw-icon.png') center/contain no-repeat;
}
.goods-btn { min-height: 46px; width: fit-content; }

.mock-card,
.mock-postcard-photo,
.mock-diecut-photo,
.mock-keyholder {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.mock-card.card-a {
  width: 140px; height: 204px; left: 50%; top: 20px; transform: translateX(-50%);
  border-radius: 16px; background: #fff url('../assets/images/wanko-card-type-a.jpg') center/cover no-repeat;
  border: 8px solid rgba(255,255,255,.88);
}
.mock-base, .mock-postcard-base {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.88);
  border: 2px solid rgba(19,45,115,.12);
  box-shadow: 0 10px 18px rgba(19,45,115,.08);
}
.acrylic-card-preview .mock-base { width: 120px; height: 24px; bottom: 28px; border-radius: 999px; }
.mock-diecut-photo {
  width: 150px; height: 172px; left: 50%; top: 30px; transform: translateX(-50%);
  background-image: url('../assets/images/pet-hero-komegi-kotetsu.png');
  background-size: 210%; background-position: 70% 44%;
  border: 8px solid rgba(255,255,255,.95);
  clip-path: ellipse(46% 48% at 50% 48%);
  border-radius: 30px;
}
.diecut-preview .mock-base { width: 132px; height: 28px; bottom: 26px; border-radius: 12px; }
.mock-key-ring {
  position: absolute; width: 44px; height: 44px; left: 108px; top: 18px;
  border: 4px solid #b9bec9; border-radius: 50%;
}
.mock-key-ring::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 38px; width: 4px; height: 18px; background: #b9bec9;
}
.mock-keyholder.round {
  width: 112px; height: 112px; left: 48px; top: 64px;
  border-radius: 50%; background-color: rgba(255,255,255,.92);
  background-image: url('../assets/images/pet-hero-komegi-kotetsu.png');
  background-size: 230%; background-position: 68% 45%;
  border: 10px solid rgba(255,255,255,.95);
}
.mock-keyholder.square {
  width: 120px; height: 154px; right: 38px; top: 74px;
  border-radius: 20px; background-color: rgba(255,255,255,.92);
  background-image: url('../assets/images/wanko-card-type-d.jpg');
  background-size: cover; background-position: center;
  border: 10px solid rgba(255,255,255,.92);
}
.mock-postcard-photo {
  width: 208px; height: 146px; left: 50%; top: 34px; transform: translateX(-50%);
  border-radius: 16px; background-color: rgba(255,255,255,.92);
  background-image: url('../assets/images/pet-hero-komegi-kotetsu.png');
  background-size: cover; background-position: 68% center;
  border: 10px solid rgba(255,255,255,.95);
}
.mock-postcard-base { width: 136px; height: 26px; bottom: 28px; border-radius: 10px; }

.scene-list article { padding: 28px; }
.price { text-align: center; }
.price .section-kicker { justify-content: center; }
.price h2, .contact h2, .faq h2 { margin-right: auto; margin-left: auto; }
.price-box {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 28px;
}
.price-box table { width: 100%; border-collapse: collapse; text-align: left; }
.price-box th, .price-box td {
  padding: 16px 8px;
  border-bottom: 1px dashed rgba(228,169,59,.45);
  font-weight: 900;
  color: var(--navy);
}
.price-box td { text-align: right; }
.price-box strong { color: #e23e2f; font-size: 38px; }
.price-box em {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 9px;
  background: #fff2cc;
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-style: normal;
}
.price-box p { margin: 14px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; text-align: right; }

.faq { width: min(calc(100% - 40px), 860px); }
.faq .section-kicker, .faq h2 { text-align: center; }
.faq .section-kicker { display: flex; justify-content: center; }
.faq details { margin: 0 0 12px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; color: var(--navy); font-weight: 900; }
.faq p { padding: 0 0 18px; }

.contact { width: min(calc(100% - 40px), 760px); text-align: center; }
.contact-card, .contact form { padding: 24px; }
.contact-card { margin: 0 0 18px; }
.contact-card a { color: var(--orange); font-weight: 900; text-decoration: none; }
.contact form { display: grid; gap: 14px; text-align: left; }
.contact label { display: grid; gap: 7px; color: var(--navy); font-weight: 900; }
.contact input, .contact textarea {
  width: 100%; padding: 13px 14px; background: #fff; border: 2px solid rgba(228,169,59,.26); border-radius: 16px; font: inherit;
}

footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 42px 20px;
  background: rgba(255,255,255,.74);
  border-top: 2px solid rgba(228,169,59,.28);
  text-align: center;
}
footer img { width: 180px; }
footer p { margin: 0; color: var(--muted); font-size: 13px; }

@media screen and (max-width: 1024px) {
  .design-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goods-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 820px) {
  .site-header {
    top: 0; width: 100%; margin: 0; border-radius: 0 0 24px 24px;
  }
  .site-nav, .site-cta { display: none; }
  .hero {
    grid-template-columns: 1fr; gap: 30px; width: min(calc(100% - 28px), 560px); margin-top: 28px; padding-bottom: 56px; text-align: center;
  }
  .hero::after { right: 0; top: -2px; width: 96px; height: 68px; }
  .hero h1 { max-width: 360px; margin-right: auto; margin-left: auto; font-size: clamp(34px, 8.6vw, 42px); line-height: 1.15; }
  .lead {
    max-width: 360px; margin-right: auto; margin-left: auto; font-size: 15px;
  }
  .eyebrow, .section-kicker { justify-content: center; }
  .hero-actions {
    display: grid; width: min(100%, 320px); margin-right: auto; margin-left: auto; justify-content: stretch;
  }
  .hero-actions a, .goods-btn { width: 100%; }
  .hero-points {
    justify-items: start; width: fit-content; margin-right: auto; margin-left: auto; text-align: left;
  }
  

.goods-preview.product-photo-preview {
  min-height: 250px;
  padding: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goods-preview.product-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 700px) {
  .goods-preview.product-photo-preview {
    min-height: 220px;
  }
}


/* Goods photo final layout */
.goods-card::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.goods-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
  box-shadow: none;
}

.goods-photo::before,
.goods-photo::after {
  content: none !important;
  display: none !important;
}

.goods-photo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  object-fit: contain;
}

.goods-card {
  align-items: center;
}

@media screen and (max-width: 820px) {
  .goods-photo {
    border-radius: 20px;
  }
}


/* Fixed bottom card CTA */
.fixed-card-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(420px, calc(100% - 32px));
  min-height: 56px;
  padding: 0 28px;
  background: linear-gradient(180deg, #ff7b3f 0%, var(--orange) 100%);
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(239, 106, 43, .28);
}

.fixed-card-cta span {
  position: relative;
  padding-left: 28px;
}

.fixed-card-cta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url('../assets/images/paw-icon.png') center / contain no-repeat;
  filter: brightness(0) invert(1);
}

body {
  padding-bottom: 92px;
}

@media screen and (max-width: 820px) {
  .fixed-card-cta {
    bottom: 12px;
    min-height: 54px;
    font-size: 16px;
  }

  body {
    padding-bottom: 86px;
  }
}


/* Responsive final fix */
@media screen and (max-width: 900px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
    padding-bottom: 94px;
  }

  .site-header {
    position: relative;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border-radius: 0 0 22px 22px;
  }

  .site-logo {
    width: 150px;
  }

  .site-nav {
    display: none;
  }

  .site-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero,
  .section-block {
    width: min(calc(100% - 28px), 620px) !important;
  }

  .hero,
  .sample,
  .goods-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .hero {
    gap: 28px;
    margin-top: 24px;
    padding: 28px 0 52px;
    text-align: left;
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
  }

  .hero h1,
  .section-block h2,
  .sample-copy h2,
  .goods-content h3,
  .feature-grid h3,
  .scene-list h3,
  .price h2,
  .faq h2,
  .contact h2 {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.18;
  }

  .lead {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .hero-actions a,
  .primary-btn,
  .secondary-btn,
  .goods-btn,
  .site-cta {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: nowrap;
  }

  .hero-visual > img {
    border-width: 6px;
    border-radius: 28px;
  }

  .floating-card {
    display: none;
  }

  .section-block {
    padding: 58px 0;
  }

  .section-block h2 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.25;
  }

  .feature-grid,
  .scene-list,
  .goods-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .feature-grid article,
  .scene-list article,
  .goods-card {
    min-width: 0;
    padding: 22px;
  }

  .sample {
    gap: 22px;
    padding-top: 0;
  }

  .sample-copy {
    min-width: 0;
    padding: 24px 22px;
  }

  .sample-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .design-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .design-card-item {
    min-width: 0;
    padding: 12px;
    border-radius: 22px;
  }

  .design-card-thumb {
    border-radius: 16px;
  }

  .design-card-thumb img {
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    border-radius: 16px;
  }

  .design-card-item > span {
    margin-top: 12px;
    font-size: 25px;
    line-height: 1.05;
    white-space: normal;
    word-break: keep-all;
  }

  .design-card-item small {
    font-size: 13px;
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .design-action {
    margin-top: 22px;
  }

  .design-card-btn {
    width: min(100%, 320px);
  }

  .price-box {
    padding: 20px;
  }

  .price-box th,
  .price-box td {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  .price-box td {
    padding-top: 0;
    text-align: left;
  }

  .price-box strong {
    font-size: 34px;
  }

  .goods-card {
    gap: 18px;
    align-items: stretch;
  }

  .goods-photo {
    width: 100%;
    max-width: 100%;
  }

  .goods-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .goods-label {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .goods-content h3 {
    font-size: 25px;
    line-height: 1.35;
  }

  .goods-price {
    font-size: 38px;
  }

  .goods-content p {
    font-size: 16px;
    line-height: 1.75;
  }

  .goods-btn {
    width: min(100%, 280px);
    margin-top: 18px;
  }

  .faq details {
    padding: 0 18px;
  }

  .contact form,
  .contact-card {
    padding: 20px;
  }

  .fixed-card-cta {
    bottom: 12px;
    min-width: calc(100% - 32px);
    min-height: 56px;
    padding: 0 20px;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(239, 106, 43, .24);
  }
}

@media screen and (max-width: 520px) {
  .hero,
  .section-block {
    width: min(calc(100% - 24px), 420px) !important;
  }

  .section-block {
    padding: 50px 0;
  }

  .hero h1,
  .section-block h2 {
    font-size: clamp(30px, 8.2vw, 38px);
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    font-size: 14px;
  }

  .design-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .design-card-item {
    padding: 10px;
  }

  .design-card-thumb img {
    max-height: 170px;
  }

  .design-card-item > span {
    font-size: 23px;
  }

  .design-card-item small {
    font-size: 12.5px;
  }

  .sample-copy,
  .feature-grid article,
  .scene-list article,
  .goods-card,
  .price-box,
  .contact-card,
  .contact form {
    border-radius: 22px;
  }

  .goods-content h3 {
    font-size: 23px;
  }

  .goods-price {
    font-size: 34px;
  }

  .goods-btn {
    width: 100%;
  }
}

@media screen and (max-width: 380px) {
  .design-card-grid {
    grid-template-columns: 1fr !important;
  }

  .design-card-thumb img {
    max-height: 230px;
  }
}



/* PCでは下部追尾ボタンを非表示。スマホ表示のみ追尾させる */
@media screen and (min-width: 901px) {
  .fixed-card-cta {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

@media screen and (max-width: 900px) {
  .fixed-card-cta {
    display: inline-flex !important;
  }
}



/* Goods lineup update */
.goods-price-multi {
  display: grid;
  gap: 6px;
  line-height: 1.05;
}

.goods-price-multi span {
  display: block;
}

.goods-price-multi small {
  display: block;
  color: #e23e2f;
  font-size: .68em;
  font-weight: 900;
}

.goods-card-featured {
  border-color: rgba(239, 106, 43, .35);
}

.goods-card-featured .goods-label {
  background: linear-gradient(180deg, #ffbe55, #ef6a2b);
}

@media screen and (min-width: 901px) {
  .goods-card-featured {
    grid-column: 1 / -1;
  }

  .goods-card-featured .goods-photo img {
    max-height: 420px;
    object-fit: cover;
  }
}


/* goods price final adjustment */
.goods-price .price-unit {
  display: inline-block !important;
  font-size: .58em !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  vertical-align: baseline !important;
  margin-right: .12em;
}

.goods-price .price-unit-each {
  font-size: .56em !important;
}

.goods-price-multi {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
  line-height: 1.02 !important;
}

.goods-price-multi .price-row {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  color: #e23e2f !important;
  font-size: 1em !important;
  font-weight: 900 !important;
}

.goods-price-multi small,
.goods-price-multi > small {
  display: none !important;
}


/* Design card visual update */
.sample {
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 4vw, 64px);
}

.design-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(165px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: start;
  perspective: 1100px;
}

.design-card-item {
  --base-tilt: 0deg;
  --scroll-tilt: 0deg;
  --scroll-lift: 0px;
  padding: 16px;
  transform: translateY(var(--scroll-lift)) rotate(calc(var(--base-tilt) + var(--scroll-tilt)));
  transform-origin: 50% 80%;
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.design-card-item:hover {
  transform: translateY(calc(var(--scroll-lift) - 8px)) rotate(calc(var(--base-tilt) + var(--scroll-tilt))) scale(1.035);
  box-shadow: 0 18px 40px rgba(51, 39, 22, .13);
}

.design-card-item:nth-child(1) { --base-tilt: -3.5deg; }
.design-card-item:nth-child(2) { --base-tilt: 2.8deg; }
.design-card-item:nth-child(3) { --base-tilt: -2.2deg; }
.design-card-item:nth-child(4) { --base-tilt: 3.2deg; }
.design-card-item:nth-child(5) { --base-tilt: -1.6deg; }

.design-card-thumb {
  background: #fff;
}

.design-card-thumb img {
  width: 100%;
  aspect-ratio: 697 / 1016;
  object-fit: contain;
  background: #fff;
  transform: translateZ(0);
}

.design-card-back .design-card-thumb img {
  aspect-ratio: 768 / 1084;
}

.design-card-item > span {
  font-size: clamp(27px, 2.1vw, 36px);
}

.design-card-item small {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
}

.design-action {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: clamp(34px, 4vw, 58px);
}

.design-card-btn {
  min-width: min(420px, 100%);
  min-height: 66px;
  padding: 0 52px;
  font-size: 20px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(239, 106, 43, .22);
}

@media screen and (min-width: 1180px) {
  .design-card-grid {
    grid-template-columns: repeat(5, minmax(145px, 1fr));
  }

  .design-card-item {
    padding: 14px;
  }
}

@media screen and (max-width: 900px) {
  .sample {
    grid-template-columns: 1fr !important;
  }

  .design-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .design-action {
    grid-column: auto;
  }

  .design-card-btn {
    width: min(100%, 360px);
    min-height: 60px;
    font-size: 17px;
  }
}

@media screen and (max-width: 520px) {
  .design-card-grid {
    gap: 14px;
  }

  .design-card-item {
    padding: 10px;
    transform: translateY(var(--scroll-lift)) rotate(calc((var(--base-tilt) + var(--scroll-tilt)) * .55));
  }

  .design-card-item > span {
    font-size: 23px;
  }
}


/* Design thumbnail one-frame layout */
.design-thumbnail-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  grid-template-areas:
    "copy cards"
    "button button";
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(34px, 4.6vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 226, 136, .45), transparent 27%),
    radial-gradient(circle at 86% 18%, rgba(255, 241, 195, .72), transparent 24%),
    radial-gradient(circle at 74% 88%, rgba(255, 206, 135, .25), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,250,239,.94));
  border: 2px solid rgba(228, 169, 59, .24);
  border-radius: 34px;
  box-shadow: 0 22px 54px rgba(51, 39, 22, .08);
}

.design-thumbnail-section::before,
.design-thumbnail-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('../assets/images/paw-icon.png') center / contain no-repeat;
  opacity: .18;
}

.design-thumbnail-section::before {
  width: 92px;
  height: 92px;
  left: 44%;
  bottom: 38px;
  transform: rotate(-14deg);
}

.design-thumbnail-section::after {
  width: 74px;
  height: 74px;
  right: 8%;
  top: 42px;
  transform: rotate(18deg);
}

.design-thumbnail-section .sample-copy,
.design-thumbnail-section .design-card-grid,
.design-thumbnail-section .design-action {
  position: relative;
  z-index: 1;
}

.design-thumbnail-section .sample-copy {
  grid-area: copy;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.design-thumbnail-section .sample-copy h2 {
  margin-bottom: 26px;
}

.design-thumbnail-section .sample-copy p:last-child {
  max-width: 560px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.95;
}

.design-thumbnail-section .design-card-grid {
  grid-area: cards;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  grid-template-areas:
    "a b back"
    "c d back";
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  perspective: 1200px;
}

.design-thumbnail-section .design-card-item {
  --base-tilt: 0deg;
  --scroll-tilt: 0deg;
  --scroll-lift: 0px;
  --idle-tilt: 0deg;
  padding: clamp(12px, 1.1vw, 16px);
  background: rgba(255,255,255,.96);
  border: 2px solid rgba(228, 169, 59, .23);
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(51, 39, 22, .10);
  transform: translateY(var(--scroll-lift)) rotate(calc(var(--base-tilt) + var(--scroll-tilt) + var(--idle-tilt)));
  transform-origin: 50% 82%;
  animation: cardIdleSway 5.6s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}

.design-thumbnail-section .design-card-item:hover {
  transform: translateY(calc(var(--scroll-lift) - 10px)) rotate(calc(var(--base-tilt) + var(--scroll-tilt) + var(--idle-tilt))) scale(1.04);
  box-shadow: 0 24px 50px rgba(51, 39, 22, .16);
}

.design-thumbnail-section .design-card-item:nth-child(1) {
  grid-area: a;
  --base-tilt: -6deg;
  animation-delay: -.2s;
}

.design-thumbnail-section .design-card-item:nth-child(2) {
  grid-area: b;
  --base-tilt: 4.5deg;
  animation-delay: -.9s;
}

.design-thumbnail-section .design-card-item:nth-child(3) {
  grid-area: c;
  --base-tilt: -3.5deg;
  animation-delay: -1.4s;
}

.design-thumbnail-section .design-card-item:nth-child(4) {
  grid-area: d;
  --base-tilt: 6deg;
  animation-delay: -2.1s;
}

.design-thumbnail-section .design-card-back {
  grid-area: back;
  align-self: center;
  --base-tilt: 8deg;
  animation-delay: -2.8s;
}

.design-thumbnail-section .design-card-thumb {
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.design-thumbnail-section .design-card-thumb img {
  display: block;
  width: 100%;
  max-height: clamp(210px, 19vw, 310px);
  aspect-ratio: 697 / 1016;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

.design-thumbnail-section .design-card-back .design-card-thumb img {
  aspect-ratio: 768 / 1084;
}

.design-thumbnail-section .design-card-item > span {
  display: block;
  margin: 13px 4px 4px;
  color: var(--navy);
  font-size: clamp(25px, 1.85vw, 34px);
  line-height: 1;
  font-weight: 900;
}

.design-thumbnail-section .design-card-item small {
  display: block;
  margin: 0 4px 2px;
  color: var(--muted);
  font-size: clamp(12.5px, .95vw, 15px);
  line-height: 1.5;
  font-weight: 800;
}

.design-thumbnail-section .design-action {
  grid-area: button;
  display: flex;
  justify-content: center;
  margin: clamp(22px, 3vw, 40px) 0 0;
}

.design-thumbnail-section .design-card-btn {
  min-width: min(440px, 100%);
  min-height: 70px;
  padding: 0 56px;
  font-size: 21px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(239, 106, 43, .24);
}

@keyframes cardIdleSway {
  0%, 100% { --idle-tilt: -1.2deg; }
  50% { --idle-tilt: 1.2deg; }
}

@media screen and (max-width: 1100px) {
  .design-thumbnail-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "cards"
      "button";
  }

  .design-thumbnail-section .sample-copy {
    text-align: left;
  }

  .design-thumbnail-section .design-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-areas: "a b c d back";
  }
}

@media screen and (max-width: 900px) {
  .design-thumbnail-section {
    padding: 28px 20px 34px;
  }

  .design-thumbnail-section .design-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "a b"
      "c d"
      "back back";
    gap: 16px;
  }

  .design-thumbnail-section .design-card-back {
    width: min(52%, 220px);
    justify-self: center;
  }

  .design-thumbnail-section .design-card-btn {
    min-height: 62px;
    font-size: 18px;
  }
}

@media screen and (max-width: 520px) {
  .design-thumbnail-section .design-card-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px;
  }

  .design-thumbnail-section .design-card-thumb img {
    max-height: 210px;
  }

  .design-thumbnail-section .design-card-item {
    padding: 10px;
    border-radius: 22px;
  }

  .design-thumbnail-section .design-card-item > span {
    font-size: 23px;
  }

  .design-thumbnail-section .design-card-item small {
    font-size: 12.5px;
  }
}


/* Goods price scoped adjustment */
.goods-price .price-unit-each {
  font-size: 0.6em !important;
  font-weight: 900 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  margin-right: 0.15em;
}

.card-keyholder-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  line-height: 1.05 !important;
}

.card-keyholder-price .price-row {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  color: #e23e2f !important;
  font-size: 1em !important;
  font-weight: 900 !important;
}

.card-keyholder-price .price-unit {
  font-size: 0.6em !important;
  font-weight: 900 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  margin-right: 0.15em;
}


/* Mobile hero layout fix */
.hero-visual-mobile {
  display: none;
}

@media screen and (min-width: 901px) {
  .hero-visual-desktop {
    display: block;
  }
}

@media screen and (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero-visual-desktop {
    display: none !important;
  }

  .hero-visual-mobile {
    display: block !important;
    margin: 22px 0 20px;
  }

  .hero-visual-mobile > img {
    width: 100%;
    border: 6px solid #fff;
    border-radius: 28px;
    box-shadow: var(--soft-shadow);
  }

  .hero-copy {
    display: block;
  }

  .hero h1 {
    font-size: clamp(31px, 7.6vw, 38px) !important;
    line-height: 1.28 !important;
    letter-spacing: .02em;
  }

  .hero h1 span {
    display: block;
    white-space: nowrap;
  }

  .lead {
    margin-top: 24px;
    margin-bottom: 0;
  }

  .hero-actions {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 430px) {
  .hero h1 {
    font-size: clamp(29px, 7.1vw, 34px) !important;
    letter-spacing: 0;
  }
}

@media screen and (max-width: 360px) {
  .hero h1 {
    font-size: 27px !important;
  }
}
