/* MEGURU KIRAKU LP
   Brand red sampled from design CTA: #C02530
   Desktop-first: base = PC, @media (max-width: 767px) = SP, @media (max-width: 1000px) = Gift SP, @media (max-width: 440px) = FAQ bg SP, @media (min-width: 1080px) = wide
   PLACEHOLDER links: see HTML comments marked PLACEHOLDER */

:root {
  --color-red: #b9252c;
  --color-red-dark: #a01e28;
  --color-navy: #1a2a4a;
  --color-heading: #3e3e3e;
  --color-text: #4c4948;
  --color-bg: #ffffff;
  --color-bg-soft: #ecf0ec;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", Meiryo, sans-serif;
  --header-h: 80px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  container-type: inline-size;
  container-name: site-header;
}

.site-header.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
  gap: 2rem;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  color: var(--color-red);
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 36px;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.6rem, 2.2cqi, 3rem);
  margin-left: auto;
  font-size: clamp(1.2rem, 1.25cqi + 0.5rem, 1.4rem);
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
}

.header-nav a {
  white-space: nowrap;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--color-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  flex-shrink: 0;
}

.header-actions .btn--pill {
  min-height: clamp(3rem, 2.8cqi + 1.2rem, 3.6rem);
  padding: 0 clamp(3rem, 1.5cqi + 1.7rem, 5rem);
  font-size: clamp(1.2rem, 1.25cqi + 0.5rem, 1.4rem);
  border-radius: clamp(0.8rem, 1cqi, 1.2rem);
  white-space: nowrap;
}

/* 狭い幅ではヘッダー左右の余白とボタン余白を詰め、ナビ間隔・文字サイズは維持寄りに */
@container site-header (max-width: 1100px) {
  .site-header__inner {
    width: min(100% - 24px, 1200px);
    gap: 1.6rem;
  }

  .header-nav {
    gap: clamp(0.8rem, 2cqi, 2.6rem);
    font-size: clamp(1.25rem, 1.2cqi + 0.55rem, 1.35rem);
  }

  .header-actions .btn--pill {
    padding: 0 clamp(1.6rem, 1.2cqi + 1rem, 3rem);
    font-size: clamp(1.15rem, 1.1cqi + 0.45rem, 1.3rem);
    min-height: 3.2rem;
  }
}

@container site-header (max-width: 920px) {
  .site-header__inner {
    width: min(100% - 16px, 1200px);
    gap: 1.2rem;
  }

  .header-nav {
    gap: clamp(0.7rem, 1.8cqi, 2.2rem);
    font-size: 1.25rem;
  }

  .header-actions .btn--pill {
    padding: 0 1.4rem;
    font-size: 1.15rem;
    min-height: 3rem;
    border-radius: 1rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.icon-chevron {
  display: inline-block;
  width: auto;
  height: 1em;
  vertical-align: -0.05em;
  flex-shrink: 0;
}

.btn:hover {
  opacity: 0.92;
}

.btn:active {
  transform: scale(0.98);
}

.btn--red {
  background: var(--color-red);
  color: #fff;
}

.btn--red:hover {
  background: var(--color-red-dark);
  opacity: 1;
}

.btn--pill {
  border-radius: 15px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 1.2rem;
}

.btn--block {
  width: 100%;
  max-width: 263px;
  min-height: 50px;
  font-size: 1.7rem;
}

.btn--center {
  margin-inline: auto;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #222;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 110;
  display: none;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

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

.drawer__panel {
  width: min(93vw, 360px);
  height: 100%;
  background: #fff;
  padding: 24px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__close {
  position: relative;
  align-self: flex-end;
  width: 40px;
  height: 28px;
  padding: 0;
  color: var(--color-text);
}

.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  background: currentColor;
}

.drawer__close::before {
  transform: translate(-50%, -50%) rotate(30deg);
}

.drawer__close::after {
  transform: translate(-50%, -50%) rotate(-30deg);
}

.drawer__logo {
  display: block;
  width: 140px;
  margin: 10px 0 30px;
}

.drawer__logo img {
  width: 100%;
  height: auto;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.drawer nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: none;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.drawer nav a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
}

.drawer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  gap: 8px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--color-red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 4px;
}

/* —— Hero (single flat image) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  margin: 0;
  line-height: 0;
}

.hero picture {
  display: block;
}

.hero__img {
  display: block;
  width: 100%;
  max-width: 1333px;
  padding: 0 20px;
  margin: 0 auto;
}

/* —— Sections common —— */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
  color: var(--color-heading);
}

.section-lead {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 2;
  margin: 0 auto 32px;
  max-width: 36em;
}

.heading-brackets, .heading-slash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin: 0 0 58px;
  color: var(--color-heading);
  font-size: clamp(2.9rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.heading-brackets__arrow,
.heading-slash__mark {
  display: block;
  width: auto;
  height: 1.15em;
  flex-shrink: 0;
}

.heading-slash picture {
  display: contents;
}

.heading-brackets__arrow--next {
  transform: scaleX(-1);
}

.heading-brackets span {
  padding-left: 8px;
}

.heading-slash__mark--next {
  transform: scaleX(-1);
  /* 斜線の光学余白で右が広く見えるのを補正 */
  margin-left: -38px;
}

/* —— Movie —— */
.movie {
  text-align: center;
}

.movie__frame {
  position: relative;
  display: block;
  width: min(100%, 973px);
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.movie__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie__caption {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}

/* —— Profile —— */
.profile {
  display: grid;
  gap: 5px 24px;
  padding: 46px 66px;
  background: var(--color-bg-soft);
  border-radius: 12px;
  margin-top: 80px;
  width: min(100%, 973px);
  text-align: left;
  grid-template-columns: 205px 1fr;
}

.profile__top {
  display: contents;
}

.profile__photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  grid-row: 1 / 3;
}

.profile__label {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.profile__name {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-heading);
  letter-spacing: 0.12em;
}

.profile__body {
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.9;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #ccc;
  letter-spacing: -0.04em;
  text-align: justify;
}

/* —— Concept —— */
.concept {
  overflow: visible;
  margin-bottom: 65px;
}

.concept-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 1100px;
  min-height: 980px;
  padding: 24px 0 48px;
  overflow: visible;
}

.concept-copy {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  margin: 410px auto 0;
  padding-bottom: 300px;
}

.concept-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-red);
  font-size: clamp(5.1rem, 7vw, 6.9rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 24px;
  letter-spacing: 0.12em;
}

.concept-heading__line {
  position: relative;
  display: block;
}

/* 末尾の「、」「。」は行幅に含めず、文字の右外へ出す */
.concept-heading__punct {
  position: absolute;
  left: 100%;
  top: 0;
}

.concept-illusts {
  display: grid;
  width: min(100%, 500px);
}

.concept-illust {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  position: absolute;
  max-width: none;
  margin: 0;
  transform: none;
  justify-self: auto;
}

.concept-illusts--top {
  display: contents;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px 6px;
  margin: 0 auto 28px;
}

.concept-illust--read {
  top: 16%;
  left: 4%;
  width: 23.3%;
}

.concept-illust--stretch {
  transform: translateX(-50%);
  top: 0;
  left: 50%;
  width: 26.8%;
}

.concept-illust--drink {
  top: 11%;
  right: -4%;
  width: 31.9%;
}

.concept-illusts--more {
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 28px 18px;
  margin: 40px auto 0;
  width: min(100%, 520px);
  display: contents;
}

.concept-illust--curtain {
  width: 23.7%;
  justify-self: center;
  top: 70%;
  bottom: 4%;
  left: 2%;
}

.concept-illust--sleep {
  width: 27.5%;
  justify-self: end;
  margin-top: 12px;
  top: 44%;
  right: -5%;
}

.concept-illust--sofa {
  width: 33.3%;
  margin-top: -8px;
  top: 39%;
  left: -7%;
}

.concept-illust--bed {
  width: 56.2%;
  max-width: none;
  justify-self: center;
  margin-top: 8px;
  top: auto;
  bottom: 3%;
  left: 50%;
  transform: translateX(-20%);
}

.about-box {
  background: var(--color-bg-soft);
  border: none;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin: 40px auto 0;
  max-width: 416px;
  text-align: left;
}

.about-box h3 {
  color: var(--color-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  text-align: center;
}

.about-box p {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.9;
}

.needs {
  position: relative;
  margin: 0;
  padding: 60px 0 78px;
  background: var(--color-red);
  color: #fff;
  overflow: hidden;
}

.needs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/mark.png") left 13% center / min(60%, 350px) no-repeat;
  pointer-events: none;
}

.needs .container {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  container-name: needs;
}

.needs__title {
  text-align: center;
  font-size: clamp(2.6rem, 4.5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.6;
  color: #fff;
}

.needs__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}

.needs__list li {
  position: relative;
  width: auto;
  min-width: 0;
  padding: 10px;
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  font-size: clamp(1.2rem, 0.85cqi + 0.7rem, 1.7rem);
  font-weight: 700;
  text-align: center;
  box-shadow: none;
  color: #fff;
  line-height: 1.45;
}

.needs__list li::before {
  display: none;
}

/* —— Four pillars —— */
.pillars__title {
  text-align: center;
  font-size: clamp(2.3rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 32px;
  color: var(--color-heading);
}

.pillars__num4 {
  font-size: 4.1rem;
}
.pillars__num4_red {
  color: var(--color-red);
  font-size: 6rem;
  padding-left: 12px;
}

.pillars__grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
}

.pillar {
  padding: 24px 28px;
  border-bottom: 1px dashed #ccc;
  border-right: 1px dashed #ccc;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.pillar:nth-child(2n) {
  border-right: none;
}

.pillar:nth-child(n + 3) {
  border-bottom: none;
}

.pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pillar__circle {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  font-size: 3.1rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  letter-spacing: 0;
  box-sizing: border-box;
  /* 数字が下に見えるのを上方向へ補正（円自体は動かさない） */
  padding-bottom: 0.14em;
}

.pillar__label {
  position: relative;
  bottom: 2px;
  color: var(--color-red);
  font-size: 5.1rem;
  font-weight: 400;
}

.pillar__lead {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.45;
}

.pillar > p:not(.pillar__lead) {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: justify;
  line-height: 1.6;
  font-kerning: auto;
  font-feature-settings: "kern" 1;
  letter-spacing: -0.03em;
}

/* —— Overlap split (tech / design) —— */
.tech,
.design {
  overflow-x: clip;
}

.overlap {
  display: grid;
  gap: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.overlap__media {
  overflow: hidden;
  grid-area: 1 / 1;
}

.overlap__copy {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
}

.overlap--media-end {
  padding-left: max(32px, calc((100vw - var(--max)) / 2));
}

.overlap--media-start {
  padding-right: max(32px, calc((100vw - var(--max)) / 2));
  align-items: start;
}

.overlap--media-start .overlap__copy {
  margin-left: auto;
  padding-top: 75px;
  align-self: start;
}

.overlap--media-end .overlap__media {
  width: 930px;
  margin-left: auto;
  margin-right: 0;
  border-radius: 0;
}

.overlap--media-start .overlap__media {
  width: 927px;
  margin-left: 0;
  margin-right: auto;
  border-radius: 0 48px 0 0;
  align-self: start;
}

.overlap__lead {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 28px;
}

.overlap__catch {
  width: 0;
  min-width: 100%;
  font-size: clamp(3rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--color-red);
  text-align: left;
}

.overlap__banner {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 15px;
  padding: 10px 20px;
  background: var(--color-red);
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 8px;
  white-space: nowrap;
}

.overlap__body {
  width: 0;
  min-width: 100%;
  font-size: clamp(1.5rem, 5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: -0.04em;
  margin: 0;
}

/* —— Tech —— */
.tech__visual {
  margin-left: 20px;
  margin-right: 0;
  border-radius: 8px 0 0 8px;
}

.tech__visual picture {
  display: block;
}

.tech__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.meguriup-logo {
  display: block;
  width: min(100%, 411px);
  margin: 20px 0;
  padding: 16px 16px 8px;
  border-radius: 8px 8px 0 0;
}

.meguriup-benefits {
  display: block;
  width: min(100%, 411px);
  margin: 0 16px;
  padding: 8px 16px 16px;
  border-radius: 0 0 8px 8px;
}

.overlap__copy picture {
  display: block;
}

/* —— Design —— */
.design__photo {
  margin-left: 0;
  margin-right: 20px;
  border-radius: 0 48px 0 0;
  overflow: hidden;
}

.design__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: visible;
  max-width: 530px;
  margin: 0;
  gap: 20px 24px;
  padding-top: 24px;
}

.feature-item {
  position: relative;
  flex: none;
  width: 100%;
  overflow: visible;
}

/* 枠だけここを調整 */
.feature-item__frame {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 18px 70px 18px 16px;
  background: #fff;
  border: 0.5px solid #000000;
  box-sizing: border-box;
}

.feature-item__frame p {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.1em;
}

.feature-item__tight {
  letter-spacing: -0.2em;
}

/* 画像だけここを調整（枠とは独立） */
.feature-item__img {
  position: absolute;
  top: 7px;
  right: -10px;
  z-index: 1;
  width: 107px;
  height: 107px;
  border-radius: 50%;
  object-fit: cover;
}

/* —— Lineup —— */
#lineup {
  margin-bottom: 60px;
}
.lineup-block {
  width: 100%;
  margin-inline: auto;
  padding-bottom: 65px;
  max-width: none;
}

.color-gallery {
  margin-bottom: 28px;
}

.color-gallery__stage {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.color-gallery__viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.color-gallery__track {
  display: flex;
  transition: transform 0.4s var(--ease);
}

.color-gallery__slide {
  flex: 0 0 100%;
  margin: 0;
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.color-gallery__slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

.color-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.color-gallery__arrow--prev {
  left: 8px;
}

.color-gallery__arrow--next {
  right: 8px;
}

.color-gallery__arrow img {
  width: 16px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

.color-gallery__arrow--prev img {
  width: 18px;
  height: auto;
  transform: scaleX(-1);
}

.color-gallery__arrow--next img {
  width: 18px;
  height: auto;
}

.color-gallery__label {
  display: none;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 12px 0 0;
}

.color-gallery__pc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  margin-top: 50px;
}

.color-gallery__pc figure {
  margin: 0;
  background: none;
  text-align: center;
  overflow: hidden;
}

.color-gallery__pc img {
  display: block;
  width: 100%;
  height: auto;
  background: none;
}

.color-gallery__pc figcaption {
  padding: 10px 0 14px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #231815;
  background: none;
  border: none;
}

.product-pair {
  display: grid;
  gap: 40px 48px;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.product-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  height: 100%;
}

.product-info__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
}

.product-info__badge {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 5px;
  border: 2px solid #666;
  border-radius: 9px;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: normal;
}

.product-info__brand {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--color-text);
}

.product-info__brand-ja {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-kerning: normal;
  letter-spacing: -0.1em;
}

.product-info__cat {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  margin: 0;
  line-height: 1;
  color: var(--color-text);
}

.product-info__name {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 5px;
  color: var(--color-text);
}

.product-info__price {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 30px;
  padding-top: 6px;
  border-top: 1px solid #888888;
  max-width: 412px;
}

.size-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 40px;
  border: none;
  -webkit-overflow-scrolling: touch;
}

.size-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border: none;
  font-size: 1.44rem;
  text-align: center;
  table-layout: fixed;
}

.size-table th,
.size-table td {
  border: none;
  padding: 0 4px;
  word-break: break-all;
}

.size-table thead tr th {
  background: #f0f0f0;
  font-weight: 600;
  color: #231815;
}

.size-table thead th:first-child,
.size-table tbody th {
  width: 18%;
}

.size-table tbody th {
  font-weight: 700;
  white-space: nowrap;
  padding-left: 10px;
  box-sizing: border-box;
}

.size-table tbody tr:nth-child(odd) th,
.size-table tbody tr:nth-child(odd) td {
  background: #fff;
  font-weight: 600;
  color: #231815;
}

.size-table tbody tr:nth-child(even) th,
.size-table tbody tr:nth-child(even) td {
  background: #f0f0f0;
  font-weight: 600;
  color: #231815;
}

.size-table caption {
  caption-side: top;
  text-align: left;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 6px;
}

.size-table caption span {
  display: inline;
  margin-top: 0;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--color-text);
  float: right;
}

.product-info .btn--block {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 81px;
  margin-top: auto;
  margin-inline: 0;
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 7px;
  row-gap: 14px;
  align-items: start;
  width: 100%;
  max-width: 640px;
  margin: 50px 0 0;
  font-size: clamp(1.24rem, 2vw, 1.6rem);
  line-height: 1.7;
  color: var(--color-text);
}

.specs dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 7.2rem;
  min-height: 2.2rem;
  margin: 0;
  padding: 0.2rem 1.4rem;
  border-radius: 999px;
  background: #e5e5e6;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.specs dd {
  margin: -2px 0 0;
  font-weight: 600;
  color: var(--color-text);
}

.caution {
  line-height: 1.8;
}

.caution h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  color: var(--color-heading);
}

.caution p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.34;
}



/* —— Voices (endless marquee) —— */
.voices {
  position: relative;
  background: var(--color-red);
  color: #fff;
  padding: 74px 0 18px;
  overflow: hidden;
}

.voices::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/mark.png") no-repeat;
  background-size: 371px auto;
  background-position: max(20px, calc((100vw - var(--max)) / 2)) -20px;
  pointer-events: none;
}

.voices > .reveal {
  position: relative;
  z-index: 1;
}

.voices .section-title {
  color: #fff;
  margin-bottom: 28px;
}

.voices .heading-slash {
  color: #fff;
  margin-bottom: 70px;
}

.voices__track-wrap {
  overflow: hidden;
}

.voices__track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.voices__track.is-ready {
  animation: voices-marquee var(--voices-duration, 70s) linear infinite;
}

.voices__track.is-ready.is-paused {
  animation-play-state: paused;
}

/* PC: セクションホバー中だけ一時停止（タッチ端末では :hover が残らないように除外） */
@media (hover: hover) and (pointer: fine) {
  .voices:hover .voices__track.is-ready {
    animation-play-state: paused;
  }
}

.voice-card {
  flex: 0 0 280px;
  background: #fff;
  color: var(--color-text);
  border-radius: 10px;
  padding: 20px;
  margin: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voice-card p {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
}

.voice-card--short p {
  font-size: 2.4rem;
}

.voice-card--long p {
  font-size: 1.7rem;
}

.voice-card--wide {
  flex-basis: 465px;
}

.voice-card footer {
  font-size: 1.7rem;
  font-weight: 500;
  text-align: right;
}

.voices__note {
  text-align: right;
  font-size: 1.4rem;
  font-weight: 500;
  opacity: 0.85;
  margin: 24px 10px 0 0;
}

@keyframes voices-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--voices-shift, -50%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .voices__track.is-ready {
    animation: none;
  }

  .voices__track-wrap {
    overflow: visible;
  }
}



/* —— Gift —— */
#gift {
  margin: 65px 0 105px;
}

.gift {
  position: relative;
  margin-top: 45px;
}

.gift__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 80px;
  background: var(--color-red);
  color: #fff;
  font-size: clamp(2.6rem, 2.9vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
  /* 両端中央を内側に切り欠く（燕尾） */
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - 18px) 50%,
    100% 100%,
    0 100%,
    18px 50%
  );
}

.gift__panel {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px 40px;
  align-items: stretch;
  min-height: 300px;
  padding: 0 36px 0 0;
  background: #ffe9e5;
  border-radius: 20px;
  overflow: hidden;
}

.gift__photo {
  display: block;
  width: 100%;
  height: auto;
}

.gift__photo--hold {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 0 0 20px;
}

.gift__photo--hold.sp {
  display: none;
}

.gift__photo--packs {
  position: absolute;
  right: -10px;
  max-width: 435px;
  margin-inline: auto;
  align-self: center;
  object-fit: contain;
}

.gift__copy {
  padding: 36px 0;
  align-self: center;
}

.gift__copy .lead {
  font-size: clamp(2rem, 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: var(--color-heading);
}

.gift__copy p {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.9;
  margin: 0;
}

.gift__btn-wrap {
  padding-top: 40px;
  text-align: center;
}

.gift__btn-wrap .btn {
  max-width: 360px;
  min-height: 81px;
}

/* —— FAQ —— */
.faq {
  position: relative;
  padding: 72px 0 80px;
  background: #c4b8a8 url("../img/faq-bg.png") center / cover no-repeat;
}

.faq__inner {
  position: relative;
  z-index: 1;
}

.faq__title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 3.43rem);
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  margin-bottom: 32px;
}

.faq-list {
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 0.33px solid #000;
}

.faq-item__q {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 29px;
  align-items: start;
  gap: 18px;
  padding: 8px 14px 8px 40px;
  text-align: left;
  font-size: clamp(1.8rem, 2.1vw, 2.1rem);
  font-weight: 500;
  color: var(--color-text);
}

.faq-item__mark {
  width: 37px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.faq-item__mark img {
  width: 37px;
  height: 37px;
  display: block;
}

.faq-item__text {
  line-height: 1.5;
  min-width: 0;
  padding-top: 4px;
}

.faq-item__icon {
  position: relative;
  width: 29px;
  height: 29px;
  justify-self: end;
  align-self: center;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: #3e3e3e;
  transition: transform 0.25s var(--ease);
}

.faq-item__icon::before {
  width: 29px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 29px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 0 14px 16px;
  border-top: 1px solid #e5e5e5;
  padding-left: 40px;
  padding-right: 20px;
}

.faq-item:not(.is-open) .faq-item__a-inner {
  border-top-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item.is-open .faq-item__a-inner {
  padding-top: 16px;
  padding-bottom: 18px;
}

.faq-item__a-inner p {
  margin: 0;
  padding: 0;
  font-size: clamp(1.5rem, 1.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.9;
}

.faq-item__mark--a {
  margin-top: 2px;
}

/* —— Contact —— */
.contact {
  background: #fff;
  color: var(--color-text);
  padding: 56px 20px 0;
  text-align: center;
}

.contact__title {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--color-heading);
}

.contact__cards {
  display: grid;
  gap: 20px;
  margin-inline: auto;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
  row-gap: 12px;
  padding: 50px 20px;
  background: var(--color-red);
  color: #fff;
  border-radius: 12px;
  transition: background 0.2s;
}

.contact-card:hover {
  background: var(--color-red-dark);
}

.contact-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  flex-shrink: 0;
}

.contact-card__main {
  font-size: clamp(3.7rem, 7vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.contact-card__main--text {
  font-size: clamp(2.3rem, 5.5vw, 2.8rem);
  letter-spacing: 0.06em;
}

.contact-card__sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100%;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  max-width: 260px;
  min-height: 36px;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 1.7rem;
  font-weight: 700;
}

/* —— Footer —— */
.site-footer {
  background: #fff;
  color: #555;
  padding: 0;
  font-size: 1.7rem;
  line-height: 1.8;
}

.site-footer__legal {
  width: min(100% - 48px, 1080px);
  margin: 104px auto 28px;
  display: flex;
  gap: 60px;
  font-size: 1.1rem;
  line-height: 1.85;
  text-align: left;
}

.site-footer__legal p {
  font-size: 1.4rem;
  font-weight: 500;
  color: #231815;
  line-height: 1.5;
  margin: 0;
}

/* Chrome等の電話・住所の自動リンク下線を消す */
.site-footer__legal a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.site-footer__box {
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  padding: 28px 24px;
  background: url("../img/bg_footer_wrap.gif") repeat-x center top;
  overflow-x: clip;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  max-width: none;
  transform-origin: top center;
}

.site-footer__logo {
  display: block;
  flex-shrink: 0;
  width: 180px;
  height: auto;
  margin: 0 80px 0 0;
}

.site-footer__company {
  flex-shrink: 0;
  text-align: left;
  line-height: 1.65;
  border-right: 1px #798eb9 dotted;
  margin-right: 50px;
  padding-right: 100px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #3e3e3e;
  white-space: nowrap;
}

.site-footer__company-name {
  font-weight: 700;
}

.site-footer__aside {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.site-footer__links {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.65;
  color: #3e3e3e;
}

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

.site-footer__links li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-footer__links li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url("../img/icon-link.png") center / contain no-repeat;
}

.site-footer__links a {
  white-space: nowrap;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: inherit;
  text-decoration: underline;
}

.site-footer__mark {
  flex-shrink: 0;
  text-align: center;
}

.site-footer__mark img {
  width: 59px;
  height: auto;
  display: block;
  margin-inline: auto;
}

.site-footer__mark-no {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  color: #666;
  letter-spacing: 0.04em;
}



/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}


/* —— Mobile —— */
@media (max-width: 767px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .about-box {
    margin-top: 36px;
    max-width: 310px;
  }
  .container {
    width: min(100% - 20px, var(--max));
  }

  .header-actions .btn--pill {
    padding: 15px;
    height: 34px;
    border-radius: 10px;
  }

  .voices::before {
    background-position: max(-75px, calc((100vw - var(--max)) / 2)) 10px;
  }

  .site-header__inner {
    width: auto;
    margin: 0 10px;
    gap: 10px;
  }

  .color-gallery__label {
    display: block;
    font-size: 1.6rem;
  }

  .color-gallery__pc {
    display: none;
  }

  .color-gallery__stage {
    display: block;
  }

  .color-gallery__viewport {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
  }

  .concept-copy {
    position: static;
    z-index: auto;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
  }

  .concept-illust {
    width: 100%;
    position: static;
    max-width: none;
    margin: 0;
    transform: none;
    justify-self: auto;
  }

  .concept-illust--bed {
    width: 176%;
    top: auto;
    left: auto;
    transform: translate(-15%, -40%);
  }

  .concept-illust--curtain {
    width: 75%;
    top: auto;
    left: auto;
    transform: translateX(20%);
  }

  .concept-illust--drink {
    transform: translateY(10%);
    top: auto;
    right: auto;
    width: 147%;
  }

  .concept-illust--read {
    top: auto;
    left: auto;
    width: 108%;
    justify-self: center;
  }

  .concept-illust--sleep {
    width: 67%;
    top: auto;
    right: auto;
    transform: translate(42%, -2%);
  }

  .concept-illust--sofa {
    width: 96%;
    top: auto;
    left: auto;
    transform: translate(-14%, 6%);
  }

  .concept-illust--stretch {
    transform: translateY(-13%);
    top: auto;
    left: auto;
    width: 124%;
    justify-self: center;
  }

  .concept-illusts--top, .concept-illusts--more {
    display: grid;
  }

  .concept-stage {
    position: static;
    max-width: none;
    min-height: 0;
    padding: 0;
  }

  .concept {
    overflow: hidden;
  }

  .contact {
    padding: 48px 20px 0;
  }

  .contact__cards {
    max-width: 420px;
    gap: 14px;
    grid-template-columns: unset;
  }
  .needs {
    padding: 35px 0;
  }
  .needs::before {
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    background: url("../img/mark.png") left -130% top 13% / min(100%, 380px) no-repeat;
  }

  .needs__list {
    grid-template-columns: none;
    gap: 15px;
    grid-auto-flow: row;
    justify-content: center;
    width: auto;
    max-width: none;
  }

  .needs__list li {
    width: 100%;
    min-width: 0;
    padding: 10px;
    font-size: 1.7rem;
    line-height: 1.7;
  }

  .overlap {
    gap: 15px;
    grid-template-columns: unset;
    padding-left: 0;
    padding-right: 0;
  }

  /* SP: container と同じ幅に収める */
  .overlap__copy {
    grid-area: auto;
    width: min(100% - 20px, var(--max));
    margin-inline: auto;
  }

  .meguriup-logo {
    margin: 0 auto;
  }

  .overlap--media-start .overlap__copy {
    display: contents;
    margin: 0;
  }

  .overlap--media-end .overlap__copy {
    display: contents;
    margin: 0;
  }

  .overlap--media-end .overlap__lead {
    order: 1;
    width: 100%;
    max-width: min(100% - 40px, var(--max));
    margin-inline: auto;
  }

  .overlap--media-end .tech__visual {
    order: 2;
  }

  .overlap--media-end .meguriup-logo-wrap {
    order: 3;
  }

  .overlap--media-end .meguriup-benefits-wrap {
    order: 4;
  }

  .overlap--media-start .overlap__lead {
    order: 1;
    width: 100%;
    max-width: min(100% - 40px, var(--max));
    margin-inline: auto;
  }

  .overlap__banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
    letter-spacing: 0.2em;
    text-align: left;
    padding: 10px 40px;
    border-radius: 10px;
    white-space: normal;
    display: flex;
    justify-content: center;
  }

  .overlap__media {
    grid-area: auto;
    width: min(100% - 10px, var(--max));
    margin-inline: auto;
  }

  .overlap__body {
    line-height: 1.75;
  }

  .overlap--media-end .overlap__media,
  .overlap--media-start .overlap__media {
    width: min(100% - 10px, var(--max));
  }

  .meguriup-benefits {
    margin: 0 auto;
  }

  .heading-brackets {
    gap: 3px;
    margin: 0 0 45px;
  }
  .heading-slash {
    gap: 7px;
    margin: 0 0 45px;
  }

  .heading-slash__mark {
    height: 1.8em;
    padding-bottom: 10px;
  }

  .heading-slash__mark--next {
    margin-left: -10px;
  }

  .feature-item__frame {
    height: 97px;
    min-height: unset;
    padding: 10px 70px 10px 30px;
  }

  .feature-item__img {
    top: -8px;
    right: 35px;
    width: 114px;
    height: 114px;
  }

  #lineup {
    margin-bottom: 0;
  }

  .specs {
    row-gap: 5px;
    width: min(100% - 20px, var(--max));
    margin: 50px auto 0;
  }

  .specs dt {
    min-width: 4rem;
    min-height: 1.5rem;
    padding: 0 1rem;
  }

  .product-info {
    width: min(100% - 20px, var(--max));
    margin: 0 auto;
  }

  .caution {
    width: min(100% - 20px, var(--max));
    margin: 0 auto 50px;
  }

  .tech__visual {
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px 0 0 8px;
  }

  .design__photo {
    order: 2;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0 48px 0 0;
  }

  .feature-list {
    order: 3;
  }

  .drawer {
    display: flex;
  }

  .voices {
    padding: 50px 0 18px;
  }

  .voices .heading-slash {
    margin-bottom: 25px;
    align-items: flex-end;
  }

  .faq {
    padding: 56px 0 64px;
  }

  .faq-item.is-open .faq-item__a-inner {
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .faq-item__a-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .faq-item__q {
    padding: 10px 14px;
    gap: 20px;
  }

  .faq__title {
    text-align: center;
    margin-bottom: 28px;
  }

  .faq-list {
    gap: 20px;
    margin: 0 auto;
    width: min(100% - 40px, var(--max));
}

  .feature-item {
    flex: none;
    width: 100%;
  }

  .feature-list {
    grid-area: auto;
    display: flex;
    flex-direction: column;
    width: min(100% - 40px, var(--max));
    grid-template-columns: unset;
    overflow: visible;
    margin-inline: auto;
    gap: 25px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-nav {
    display: none;
  }

  .hero__img {
  width: 100%;
  height: auto;
  padding: 0 10px;
  }

  .lineup-block {
    width: min(100%, 420px);
    max-width: unset;
    padding-bottom: 60px;
  }

  .menu-toggle {
    display: flex;
  }

  #features {
    max-width: 340px;
    margin: 0 auto 30px;
  }

  .pillar {
    border-bottom: 1px dashed #ccc;
    border-right: none;
    padding: 0 0 24px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .pillar:nth-child(2n) {
    border-right: none;
  }

  .pillar:nth-child(n + 3) {
    border-bottom: 1px dashed #ccc;
  }

  .pillar:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .pillars__title {
    margin: 20px 0 32px;
  }

  .pillars__num4 {
    font-size: 4.5rem;
  }

  .pillars__num4_red {
  font-size: 6.6rem;
  line-height: 1;
  }

  .pillars__grid {
    gap: 28px;
    grid-template-columns: unset;
  }

  .product-pair {
    gap: 40px;
    grid-template-columns: unset;
    align-items: unset;
  }

  .profile {
    gap: 16px;
    grid-template-columns: unset;
    padding: 25px 28px;
    margin-top: 40px;
  }

  .profile__name {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .profile__body {
    line-height: 1.71;
    letter-spacing: -0.08em;
  }

  .profile__photo {
    width: 100%;
    height: 177px;
    grid-row: unset;
  }

  .profile__info {
    padding-top: 37px;
  }

  .profile__top {
    display: grid;
    grid-template-columns: 127px 1fr;
    gap: 15px;
  }

  .section {
    padding: 45px 0;
  }

  .site-footer {
    padding: 0;
    width: min(100% - 20px, var(--max));
    margin: 0 auto;
  }

  .site-footer__box {
    padding: 40px 20px 70px;
    overflow-x: visible;
  }

  .site-footer__inner {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 24px;
    zoom: 1 !important;
    transform: none !important;
  }

  .site-footer__logo {
    width: min(220px, 70vw);
    margin: 0;
  }

  .site-footer__company {
    width: min(100%, 360px);
    margin: 0;
    border-right: none;
    padding-right: 0;
    padding-bottom: 20px;
    border-bottom: 1px #798eb9 dotted;
    white-space: normal;
    text-align: left;
  }

  .site-footer__aside {
    width: min(100%, 360px);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    box-sizing: border-box;
  }

  .site-footer__legal {
    width: min(100% - 40px, 1080px);
    max-width: 420px;
    gap: 40px;
    grid-template-columns: unset;
    text-align: left;
    flex-direction: column;
    margin: 86px auto 60px;
  }

  .site-footer__links {
    flex: 1;
    min-width: 0;
    width: auto;
  }

  .site-footer__links li > * {
    min-width: 0;
  }

  .site-footer__links li,
  .site-footer__links a {
    white-space: normal;
  }

  .site-footer__mark {
    flex-shrink: 0;
  }

  .site-footer__mark img {
    width: 55px;
  }

  .size-table {
    font-size: 1.1rem;
    table-layout: fixed;
  }

  .size-table caption {
    text-align: left;
  }

  .size-table caption span {
    display: inline;
    margin-top: 0;
    float: right;
  }

  .size-table th,
  .size-table td {
    padding: 0 2px;
  }

  .size-table thead th:first-child,
  .size-table tbody th {
    width: 16%;
  }

  .size-table tbody th {
    white-space: normal;
    padding-left: 8px;
  }

  .product-info__price {
    margin: 0 0 25px;
  }

  .size-table-wrap {
    margin-bottom: 35px;
  }

  .product-info .btn--block {
    min-height: 63px;
    margin-top: unset;
  }

  .voice-card {
    min-height: 180px;
    height: 342px;
    padding: 20px;
    flex-basis: 280px;
  }

  .voice-card--wide {
    flex-basis: 360px;
  }

  .voices__track.is-ready {
    --voices-duration: 200s;
    animation: voices-marquee var(--voices-duration, 200s) linear infinite;
  }

  .contact-card {
    padding: 25px 20px;
    column-gap: 12px;
  }

  .contact-card__icon.mail {
    width: 41px;
  }

  .contact-card__icon.tel {
    width: 30px;
  }

  :root {
    --header-h: 56px;
  }
}

/* FAQ背景 — SP画像は 440px で切り替え */
@media (max-width: 440px) {
  .faq {
    background-image: url("../img/faq-bg-sp.png");
    background-position: center top;
  }
}

/* Gift — PC/SP切り替えは 1000px */
@media (max-width: 1000px) {
  #gift {
    margin: 0 auto;
    width: min(100% - 40px, var(--max));
  }

  .gift {
    margin-top: 24px;
  }

  .gift__ribbon {
    padding: 8px 36px;
    clip-path: polygon(
      0 0,
      100% 0,
      calc(100% - 14px) 50%,
      100% 100%,
      0 100%,
      14px 50%
    );
  }

  .gift__panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 0;
    border-radius: 16px;
  }

  .gift__photo--hold {
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
  }

  .gift__photo--hold.pc {
    display: none;
  }

  .gift__photo--hold.sp {
    display: block;
  }

  .gift__photo--packs {
    display: block;
    position: absolute;
    width: 400px;
    bottom: -40px;
    right: auto;
    align-self: center;
    object-fit: contain;
  }

  .gift__copy {
    padding: 28px 20px 260px;
  }

  .gift__copy .lead {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .gift__btn-wrap .btn {
    min-height: 63px;
  }
}

@media (min-width: 1080px) {
  .pillars__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pillar {
    border-bottom: none;
    border-right: 1px dashed #ccc;
    padding: 0 24px;
  }

  .pillar:nth-child(2n) {
    border-right: 1px dashed #ccc;
  }

  .pillar:nth-child(n + 3) {
    border-bottom: none;
  }

  .pillar:last-child {
    border-right: none;
    padding-right: 0;
  }

  .pillar:first-child {
    padding-left: 0;
  }

  .container {
    width: min(100% - 64px, var(--max));
  }

  .voices::before {
    background-position: max(32px, calc((100vw - var(--max)) / 2)) -20px;
  }
}
