/* ============================================================
   Gift Style — marketing site styles
   すべての色・影・角丸などのデザイントークンは :root のカスタム
   プロパティで一元管理。要素側にインライン style は書かない。
   ============================================================ */

:root {
  /* base palette */
  --bg: #ffffff;
  --ink: #333333;
  --muted: #333333;
  --line: #eceaf3;
  --soft: #f6f7fb;
  --card: #ffffff;

  /* brand / accent */
  --teal: #e078b1;
  --teal-d: #3868a5;
  --violet: #8b7cf0;
  --sky: #4fc3e8;
  --purple: #6a5cf0;

  /* hero + cta decorative circles */
  --s1: #9ac6d0;
  --s2: #b8d7de;

  /* soft tints (icon chips) */
  --tint-pink: #ffe1ea;
  --tint-gold: #fff0d6;
  --tint-violet: #eae5ff;
  --tint-teal: #e3f5f3;
  --tint-sky: #d9f1fb;
  --tint-mint: #dcf6ec;
  --tint-green: #dff6ef;

  /* browser dots */
  --dot-r: #ff7a7a;
  --dot-y: #ffcf47;
  --dot-g: #46cf9d;

  /* misc accents */
  --trust-bg: #f6f7fb; /* marquee band background（白ベース） */
  --micon: #9ac6d0; /* marquee icon color */
  --hi: #ffe08a; /* marker highlight */
  --off: #a9a4b8; /* pricing: disabled text */
  --off-2: #cfc9df; /* pricing: disabled mark */
  --scroll-thumb: #e2ddf3;

  /* footer */
  --footer-bg: #222222;

  --bg-2: #6faeba;
  --bg-3: #cccccc;
  /* shadows */
  --shadow:
    0 6px 18px rgba(30, 27, 51, 0.06), 0 26px 54px rgba(30, 27, 51, 0.12);
  --shadow-s:
    0 2px 8px rgba(30, 27, 51, 0.05), 0 14px 30px rgba(30, 27, 51, 0.08);
  --btnsh: 0 3px 7px rgba(45, 40, 60, 0.24); /* 共通ボタン影：グレー */
  --btnsh-d: 0 3px 7px rgba(45, 40, 60, 0.24);

  /* geometry */
  --radius: 22px;
  --wrap: 1140px;
  --gutter: 40px;
}

/* PC：改行する */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}
/* スマホ：改行しない */
@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  font-family:
    "Poppins",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
.brand__name {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}
a {
  color: var(--teal-d);
  text-decoration: none;
}
a:hover {
  color: var(--teal);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* soft tint utility (icon chips) */

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--btnsh);
}
.btn--primary:hover {
  background: var(--teal);
  opacity: 0.8;
  color: #fff;
}
.btn--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--btnsh-d);
}
.btn--ghost {
  background: #000000;
  color: var(--bg);
  box-shadow: var(--shadow-s);
}
.btn--ghost:hover {
  color: #ffffff;
  opacity: 0.8;
}
.btn--lg {
  padding: 17px 36px;
  font-size: 1.05rem;
}
.btn .play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex: none;
}

/* keyword underline / marker — disabled site-wide（nowrap は使わない＝自然に折り返す） */

/* reveal on scroll — visible by default; hidden only once JS arms the animation */
.reveal {
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-anim .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* decorative circles */
@keyframes floatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-16px, 20px);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -14px);
  }
}
.shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero__s1 {
  width: 820px;
  height: 820px;
  background: var(--s1);
  right: -300px;
  top: -300px;
  opacity: 0.92;
  animation: floatA 13s ease-in-out infinite;
}
.hero__s2 {
  width: 520px;
  height: 520px;
  background: var(--s2);
  right: -100px;
  top: 120px;
  opacity: 0.8;
  animation: floatB 11s ease-in-out infinite;
}
.cta__s1 {
  width: 300px;
  height: 300px;
  background: #fff;
  right: -90px;
  top: -110px;
  opacity: 0.1;
  animation: floatA 13s ease-in-out infinite;
}
.cta__s2 {
  width: 220px;
  height: 220px;
  background: #fff;
  left: -70px;
  bottom: -90px;
  opacity: 0.1;
  animation: floatB 11s ease-in-out infinite;
}

/* HEADER (transparent, inside hero) */
.site-head {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 60px;
  padding: 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__chip {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--teal);
  display: grid;
  place-items: center;
  font-size: 20px;
  object-fit: contain;
  padding: 0;
}
.brand__name {
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
}
.nav__sp {
  flex: 1;
}
.nav__links {
  display: flex;
  /* 言語切替ボタンが背を高くするので、リンクは引き伸ばさず縦中央に置く */
  align-items: center;
  gap: 26px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.nav__links a {
  color: var(--ink);
}
.nav__links a:hover {
  color: var(--teal-d);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 720px;
}
.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
  padding: 48px var(--gutter) 86px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 0;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
  padding: 8px 12px;
  border-radius: 0;
  box-shadow: var(--shadow-s);
}
.pill__icon {
  height: 1.2em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  background: #fff;
  padding: 0px 12px 0px 0px;
  border-radius: 0;
  box-shadow: var(--shadow-s);
  width: fit-content;
}
.hero__shopify {
  height: 52px;
  width: auto;
  display: block;
}
.hero__brand span {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  display: inline-block;
}
.br-mobile {
  display: none;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 14px;
  letter-spacing: 0.2rem;
}
.hero .lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 30em;
  padding: 16px 0;
  line-height: 2.2;
  text-decoration: underline dotted #ccc;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.hero .lead b {
  color: var(--ink);
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1rem;
}
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

/* TRUST strip (grey marquee band) */
.trust {
  padding: 30px 0;
  background: var(--trust-bg);
}
.trust p {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}
.trust p b {
  color: var(--ink);
}
/* trust marquee — continuous right→left loop (icon + text move together) */
.marquee {
  margin-top: 18px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.marquee__track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* flat item: big single-color icon on top, label below */
.mitem {
  flex: none;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.mitem__ic {
  width: 50px;
  height: 50px;
  color: var(--micon);
}
.mitem__ic svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mitem__t {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* section shell */
section.block {
  padding: 84px 0;
  position: relative;
}
section.tint {
  background: var(--soft);
}
#uses {
  background-color: #fff;
}
.eyebrow {
  color: var(--teal-d);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-align: center;
}
.eyebrow2 {
  color: var(--teal-d);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-align: center;
}
.h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  line-height: 1.3;
}
.sub {
  text-align: center;
  color: var(--muted);
  margin: 16px auto 0;
  max-width: 40em;
}
.sub--sp {
  margin-top: 32px;
}

/* CATEGORY cards */
.uses-cards {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 24px;
}
.catslider {
  padding: 36px 0 52px;
  align-items: stretch;
  min-height: 400px;
  overflow: clip;
  overflow-clip-margin: 28px;
}
.catslider::-webkit-scrollbar {
  height: 6px;
}
.catslider::-webkit-scrollbar-track {
  background: transparent;
}
.catslider::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 3px;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cat__img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  padding: 20px;
  position: relative;
}
.cat__pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat__b {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat__b h4 {
  font-size: 0.95rem;
  font-weight: 500;
}
.cat__b p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 4px;
  line-height: 1.5;
}

/* DUO cards */
/* CLEAN — full-width two-panel (image + text) */
.clean .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 50px;
}
.dpanel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 28px;
  padding: 56px 40px;
}
.dpanel--l {
  background: #b8d7de;
}
.dpanel--r {
  background: #f0f9f9;
}
.dpanel__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}
.dpanel__circle {
  position: absolute;
  z-index: 0;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #6faeba;
}
.dpanel__pic {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 460px;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(20, 30, 40, 0.22));
}
.dpanel__body h4 {
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.4;
}
.dpanel__body p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 12px;
}

/* ROWS (image + checklist) */
.row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
  padding: 64px 0;
}
.row__art {
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.row-ph {
  width: 100%;
  aspect-ratio: 1;
  background: var(--soft);
  border: 2px dashed var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}
.row-ph span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.row-ph small {
  font-size: 0.9rem;
}
.row + .row {
  margin-top: 8px;
}
.row.rev .row__txt {
  order: 2;
}
.kick {
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
}
.row h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  margin-top: 12px;
  line-height: 1.34;
}
.row p {
  color: var(--muted);
  margin-top: 16px;
}
.ticks {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.ticks li {
  list-style: none;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 1rem;
}
.ticks li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000000'/%3E%3Cpath d='M8 12h8M13 8l4 4-4 4' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 4px;
  display: inline-block;
}
.shot {
  border-radius: 0;
  background: transparent url("/img/kanri.png") no-repeat center/cover;
  border: none;
  display: block;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  box-shadow: none;
  overflow: hidden;
  animation: fadeUpShot 0.8s ease-out forwards;
  opacity: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
@keyframes fadeUpShot {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.shot > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.shot.phone {
  background-image: url("/img/phone.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  animation: fadeUpShot 0.8s ease-out forwards;
  opacity: 0;
  margin: 0;
  padding: 0;
  position: relative;
}
.shot .lab {
  display: none;
}
.shot .em {
  display: none;
}

/* SPLIT layout (text left + content right) */
.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}
.split__l {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__l .btn {
  margin-top: 28px;
  align-self: flex-start;
}

/* FEATURES redesign */
#features {
  background: #fff;
}
#features .wrap:first-of-type {
  margin-bottom: 40px;
}
.features-cards {
  max-width: none;
  margin: 0;
  padding: 40px 0 40px 24px;
  background: var(--soft);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.swipe {
  width: 100%;
  padding: 0;
  align-items: stretch;
  overflow: hidden;
}
.swipe .swiper-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}
.catslider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.swipe .swiper-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 400px;
  height: 100%;
}
.catslider .swiper-slide {
  flex: 0 0 auto;
  width: auto;
  height: auto;
}
.catslider .swiper-pagination {
  position: static;
  margin-top: 28px;
}
.catslider .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: var(--off-2);
  opacity: 1;
  transition: background 0.2s ease;
}
.catslider .swiper-pagination-bullet-active {
  background: var(--teal);
}
.bigcard {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bigtag {
  position: absolute;
  top: 0;
  right: 20px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 0px;
  border-radius: 0;
  width: 40px;
  text-align: center;
  z-index: 2;
  letter-spacing: 0.1em;
  line-height: 1;
}
.bigcard-text {
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
}
.bigcard-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.bigcard-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* PRICING */
.plans-cards {
  margin-top: 50px;
}
.plans {
  padding-top: 20px;
  padding-bottom: 48px;
}
.plans .swiper-wrapper {
  align-items: stretch;
}
.plans .swiper-slide {
  height: auto;
  padding: 0 2px;
}
.plans .swiper-pagination {
  bottom: 0;
}
.plans .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: var(--off-2);
  opacity: 1;
  transition: background 0.2s ease;
}
.plans .swiper-pagination-bullet-active {
  background: var(--teal);
}
.plans .swiper-pagination-lock {
  display: none;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-s);
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.plan.pop {
  border: 2px solid var(--bg-2);
  box-shadow: var(--shadow);
}
.plan .pop-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: var(--btnsh);
}
.plan h3 {
  font-size: 1.3rem;
  font-weight: 500;
}
.plan .price {
  font-size: 2.2rem;
  font-weight: 500;
  margin-top: 12px;
}
.plan .price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.plan .desc {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
  min-height: 2.8em;
}
.plist {
  margin: 22px 0px;
  display: grid;
  gap: 12px;
}
.plist li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--ink);
}
.plist li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath d='M2 12l7 7 13-13' stroke='%23000000' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 16px;
  height: 16px;
  flex: none;
  display: inline-block;
  margin-right: 4px;
}
.plist li.off {
  color: var(--off);
}
.plist li.off::before {
  content: "–";
  color: var(--off-2);
}
.plan .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.prinote {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 28px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 50px auto 0;
  display: grid;
  gap: 14px;
}
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: var(--shadow-s);
}
.qa h4 {
  font-size: 1.04rem;
  font-weight: 500;
  display: flex;
  gap: 12px;
}
.qa h4::before {
  content: "Q";
  color: #fff;
  background: #000000;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  flex: none;
}
.qa p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 10px;
  padding-left: 36px;
}

/* CTA band */
.ctaband {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    #0c9e9a 0%,
    var(--teal) 55%,
    #3fb6c9 100%
  );
  color: #fff;
  text-align: center;
  border-radius: 32px;
  padding: 74px 28px;
  box-shadow: 0 30px 60px rgba(10, 150, 146, 0.34);
}
.ctaband h2 {
  font-size: clamp(1.8rem, 2.9vw, 2.4rem);
  color: #fff;
  position: relative;
  z-index: 2;
}
.ctaband p {
  opacity: 0.95;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.ctaband .row2 {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.ctaband .btn--primary {
  background: #fff;
  color: var(--teal-d);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.ctaband .btn--primary:hover {
  background: #f4fffe;
  color: var(--teal-d);
}
.ctaband .btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.ctaband .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* FOOTER */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex: none;
}
.fbrand .brand__name {
  color: #fff;
}
.fnav {
  display: flex;
  gap: 26px;
  color: #fff;
}
.fnav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.fnav a:hover {
  color: var(--teal);
}
.flinks {
  display: flex;
  gap: 14px;
  flex: none;
}
.flinks .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* hamburger & drawer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  width: 24px;
  height: 2px;
  /* 縮むと端数位置になり線の太さがそろわないので固定する */
  flex: none;
  border-radius: 1px;
  background: var(--ink);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  /* 中身の高さぶんだけ。長いときだけ内側でスクロールする */
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 0;
  padding: 20px;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.drawer.active {
  display: flex;
  animation: drawerIn 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* transform で動かすと、アニメーションが進まなかったときに
   その位置でヘッダーに重なるため、フェードだけにする */
@keyframes drawerIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* メニューを開いている間は背面をスクロールさせない */
body.nav-open {
  overflow: hidden;
}
/* 開いている間はヘッダーも白にして、ドロワーと一枚のパネルに見せる */
body.nav-open .site-head {
  background: #fff;
}
.drawer a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.drawer a:last-child {
  border-bottom: none;
}
.drawer a:hover {
  color: var(--teal);
}
.drawer .btn--primary {
  color: #fff;
  border-bottom: none;
  /* 文字ぶんの大きさに。直前のリンクの区切り線と重ならないよう余白を取る */
  align-self: flex-start;
  width: auto;
  margin-top: 22px;
  padding: 12px 26px;
  font-size: 0.95rem;
}
.drawer .btn--primary:hover {
  color: #fff;
}
.btn--block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* PROBLEM / EMPATHY */
.pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-s);
  text-align: center;
}
.pain__img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin: 0 auto 14px;
}
.pain h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
.pain p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 10px;
  line-height: 1.7;
  text-align: left;
}

/* speech bubble callout */
.bubble-wrap {
  text-align: center;
  margin-top: 40px;
}
.bubble {
  position: relative;
  display: inline-block;
  max-width: min(92%, 32em);
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.6;
  padding: 15px 32px;
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  text-align: center;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--teal);
}

/* hero screenshot */
.hero-shot {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* feature card screenshots (light, no dark overlay) */
.bigcard--shot {
  background: #fff;
}
.swipe {
  --swiper-navigation-size: 16px;
}
.swipe .swiper-button-prev,
.swipe .swiper-button-next {
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--muted);
  border-radius: 50%;
  box-shadow: var(--shadow-s);
  top: 200px;
}
.swipe .swiper-button-disabled {
  opacity: 0.35;
}
.bigcard__pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

/* noshi quick-setup highlight */
.noshi-quick {
  margin-top: 22px;
  background: #eef6fb;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.75;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px dashed #7fbcd8;
}
.noshi-quick p {
  margin: 0;
}
.noshi-quick img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 14px;
}
.noshi-quick b {
  color: #1a8cb8;
}

/* screenshots (plain, no frame) */
.noshi-shot,
.row-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.noshi-shot {
  background: #fff;
  padding: 16px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(30, 27, 51, 0.12);
}
.row.rev .row__art {
  min-height: 0;
}

/* NOSHI section */
#noshi .split {
  margin-top: 44px;
}

/* ============================================================
   Motion（動き）
   ページ読み込み時のヒーロー、スクロール時の画像・カードを
   「下から上へ」フェードインさせる。reveal の in クラスは
   main.js の IntersectionObserver が付与する。
   ============================================================ */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ヒーロー：読み込み直後に少しずつ下から */
.hero__brand,
.hero h1,
.hero .lead,
.hero__cta,
.hero__note,
.hero-shot {
  animation: riseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero__brand {
  animation-delay: 0.05s;
}
.hero h1 {
  animation-delay: 0.14s;
}
.hero .lead {
  animation-delay: 0.24s;
}
.hero__cta {
  animation-delay: 0.34s;
}
.hero__note {
  animation-delay: 0.42s;
}
.hero-shot {
  animation-duration: 1.05s;
  animation-delay: 0.2s;
}

/* セクション内の画像：親カードより少し遅れて下から立ち上がる */
.js-anim .reveal .row-shot,
.js-anim .reveal .noshi-shot,
.js-anim .reveal .dpanel__pic,
.js-anim .reveal .pain__img,
.js-anim .reveal .noshi-quick img {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s;
}
.reveal.in .row-shot,
.reveal.in .noshi-shot,
.reveal.in .dpanel__pic,
.reveal.in .pain__img,
.reveal.in .noshi-quick img {
  opacity: 1;
  transform: none;
}

/* スライダー内は下からのフェードインをしない
   （横に並ぶスライドは画面外から現れるため、動きを付けない） */
.js-anim .swiper .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* カードのホバー：わずかに浮かせる */
.pain,
.qa,
.cat {
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s ease;
}
.pain:hover,
.qa:hover,
.cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* 画像のホバー：ほんの少し寄る */
.row-shot,
.noshi-shot,
.dpanel__pic {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.row:hover .row-shot,
.split:hover .noshi-shot,
.dpanel:hover .dpanel__pic {
  transform: translateY(-4px) scale(1.012);
}

/* ============================================================
   Responsive
   ブレークポイントは 1000 / 760 / 520。
   横方向の余白は --gutter に集約し、full-bleed（100vw）の
   セクションにも同じ値を内側パディングとして渡す。
   ============================================================ */

/* ---- ~1000px：ナビをハンバーガーへ／ヒーローを1カラムに ---- */
@media (max-width: 1000px) {
  .nav__links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  /* CTA は画面上に常にひとつだけ。ヘッダーに出ている間はドロワー側を隠す */
  .drawer .btn--primary {
    display: none;
  }
  .hero {
    min-height: 0;
  }
  .hero__in {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px var(--gutter) 64px;
  }
  .hero__art {
    min-height: auto;
    margin-top: 26px;
    place-items: start;
  }
  .hero .lead {
    max-width: none;
    /* 水色の円に重なるので下線は白に */
    text-decoration-color: #fff;
  }
  .hero h1 {
    font-size: 2.15rem;
    letter-spacing: 0.14rem;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px 0;
  }
  .row.rev .row__txt {
    order: 0;
  }
  .pains {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---- ~760px：タブレット〜スマホ ---- */
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  section.block {
    padding: 60px 0;
  }
  .sub {
    text-align: left;
  }
  .nav {
    gap: 12px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  #noshi .split__r {
    order: -1;
  }
  .clean .duo {
    grid-template-columns: 1fr;
  }
  .dpanel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px var(--gutter);
  }
  .plan:hover {
    transform: none;
  }
  .pain:hover,
  .qa:hover,
  .cat:hover {
    transform: none;
  }
  .ctaband {
    padding: 56px 22px;
  }
  .features-cards {
    padding: 36px var(--gutter);
  }
  .uses-cards {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .catslider {
    padding: 36px 0 40px;
    overflow: hidden;
  }
  .catslider .swiper-slide {
    flex: 0 0 auto;
    width: auto;
  }
  .cat__img {
    aspect-ratio: 1;
    height: auto;
    padding: 0;
  }
  .br-mobile {
    display: inline;
  }
  .hero__brand {
    gap: 8px;
    flex-direction: row;
    padding: 0 12px 0 0;
  }
  .hero__brand span {
    font-size: 1.1rem;
  }
  .hero h1 {
    font-size: 1.95rem;
    letter-spacing: 0.1rem;
  }
  footer .wrap {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .fbrand {
    width: 100%;
  }
  .fnav {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .flinks {
    width: 100%;
  }
  .flinks .btn {
    width: 100%;
    padding: 14px 16px;
  }
}

/* ---- ~520px：スマホ ---- */
@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }
  .nav {
    gap: 8px;
    height: 56px;
  }
  .brand__chip {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .brand__name {
    font-size: 1.5rem;
  }
  /* ヘッダーの CTA はドロワーに任せる（ボタンの重複を避ける） */
  .wrap.nav .btn--primary {
    display: none;
  }
  .drawer .btn--primary {
    display: flex;
  }
  .drawer {
    top: 76px;
    padding: var(--gutter);
  }
  .drawer a {
    padding: 14px 0;
    font-size: 0.95rem;
  }
  .btn--lg {
    padding: 15px 28px;
    font-size: 1rem;
  }
  .swipe .swiper-slide {
    flex: 0 0 auto;
    width: auto;
  }
  .swipe .bigcard {
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
  .swipe .bigcard__pic {
    object-fit: contain;
    background: #fff;
  }
  .swipe .swiper-button-prev,
  .swipe .swiper-button-next {
    top: 35%;
  }
  .row__art {
    min-height: 0;
  }
  .hero__in {
    padding: 20px var(--gutter) 56px;
  }
  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: 0.06rem;
  }
  .hero__brand span {
    font-size: 1rem;
  }
  .hero__shopify {
    height: 44px;
  }
}

/* ---- ヘッダーの左右余白は本文の --gutter に揃える ---- */
.wrap.nav {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- 動きを減らす設定の端末では、すべてのモーションを止める ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__brand,
  .hero h1,
  .hero .lead,
  .hero__cta,
  .hero__note,
  .hero-shot {
    animation: none;
  }
  .js-anim .reveal,
  .js-anim .reveal .row-shot,
  .js-anim .reveal .noshi-shot,
  .js-anim .reveal .dpanel__pic,
  .js-anim .reveal .pain__img,
  .js-anim .reveal .noshi-quick img {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pain:hover,
  .qa:hover,
  .cat:hover,
  .row:hover .row-shot,
  .split:hover .noshi-shot,
  .dpanel:hover .dpanel__pic {
    transform: none;
  }
}

/* ============================================================
   ページの先頭へ戻るボタン（右下・スクロールすると出る）
   ============================================================ */
.totop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--muted);
  box-shadow: var(--shadow-s);
  cursor: pointer;
  /* 出るまでは触れないようにしておく */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}
.totop svg {
  width: 18px;
  height: 18px;
}
.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.totop.show:hover {
  color: var(--teal-d);
  transform: translateY(-2px);
}
/* メニューを開いている間は隠す */
body.nav-open .totop {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 520px) {
  .totop {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .totop {
    transition: none;
  }
  .totop.show:hover {
    transform: none;
  }
}

/* ロゴブロックはトップへのリンク。文字色はリンク色にせず元のまま保つ */
a.brand,
a.fbrand {
  text-decoration: none;
  color: inherit;
}
a.brand:hover,
a.fbrand:hover {
  opacity: 0.75;
  color: inherit;
}

/* 言語切替（日本語 ⇄ English） */
.langsw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
.langsw::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: var(--globe) center / contain no-repeat;
  mask: var(--globe) center / contain no-repeat;
  --globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18M12 3c-2.5 2.6-2.5 15.4 0 18'/%3E%3C/svg%3E");
}
.langsw:hover {
  border-color: var(--teal);
  color: var(--teal-d);
}
/* ドロワー内：リンク共通の padding / 区切り線を打ち消して、丸ボタンの形を保つ */
.drawer .langsw {
  align-self: flex-start;
  width: auto;
  margin-top: 16px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

