@charset "UTF-8";
/* ========== tokens ========== */
:root {
  --bg:#0b0c0e;
  --fg:#0f1114;
  --paper:#EBDAD6;
  --muted:rgba(255, 255, 255);
  --line:rgba(255,255,255,.18);
  --line2:rgba(15,17,20,.12);
  --centerW: 30%; /* SANUの中央カラムっぽい幅 */
  --radius: 0rem;
  --shadow: 0 20px 50px rgba(0,0,0,.25);
  --headerH: 70px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
}

/* ========== overall layout ========== */
/*
  デスクトップ：
  左固定panel | 中央スクロールカラム | 右固定panel
  モバイル：
  中央のみ（左右panelは隠す）
*/
.lp {
  position: relative;
  min-height: 100vh;
}

/* sides (fixed) */
.side {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50%; /* 左右が細すぎないように */
  overflow: hidden;
  z-index: 1;
  /* 文字が見えるように薄いベール */
}
.side .side__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.02);
}
.side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.side .side__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.side--left {
  left: 0;
}
.side--left .side__bg {
  /* 左背景：好きに差し替え */
  background: url(../../assets/images/bg1.jpg);
  background-position: bottom;
  background-size: cover;
}

.side--right {
  right: 0;
}
.side--right .side__bg {
  /* 右背景：好きに差し替え */
  background: url(../../assets/images/bg1.jpg);
  background-position: bottom;
  background-size: cover;
}

/* left content */
.side__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
  display: block;
  align-items: baseline;
  gap: 12px;
}
.side__brand span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

.side__nav {
  display: grid;
  gap: 10px;
}
.side__nav a {
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  opacity: 0.95;
}
.side__nav a small {
  font-size: 14px;
  opacity: 0.85;
}
.side__nav a:hover {
  text-decoration: underline;
}

.side__ctaBox {
  margin-top: auto;
  width: 40%;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 1rem;
  text-align: center;
  line-height: 1.5rem;
}
.side__ctaBox .pill__label {
  color: #000000;
}

.side__ctaText {
  margin: 0 0 14px;
  opacity: 0.95;
  font-weight: 600;
}

/* right tagline */
.side__content--bottomRight {
  justify-content: flex-end;
  align-items: flex-end;
  text-align: left;
}

.tagline {
  margin: 0;
  color: #fff;
}
.tagline strong {
  font-size: 34px;
  letter-spacing: 0.02em;
}
.tagline span {
  display: inline-block;
  margin-top: 6px;
  opacity: 0.9;
  font-size: 0.7rem;
  line-height: 1rem;
}

@media screen and (max-width: 1000px) {
  .side__brand, .side__nav, .tagline, .side__ctaBox {
    display: none;
  }
}
.mobile-head {
  position: relative;
  z-index: 999;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  background: #fff;
  display: none;
}
@media screen and (max-width: 1000px) {
  .mobile-head {
    display: block;
  }
}

/* ========== center scroll column ========== */
.center {
  position: relative;
  z-index: 5;
  background: var(--paper);
  color: var(--fg);
  min-height: 100vh;
  width: 50%;
  margin: 0 auto;
  border-top: solid 2px var(--paper);
  border-left: solid 2px var(--paper);
  border-right: solid 2px var(--paper);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  top: 2rem;
  /* デスクトップ時は中央幅固定＋左右に余白（下のsideが見える） */
}
@media (min-width: 1000px) {
  .center {
    width: var(--centerW);
    margin: 0 auto;
    box-shadow: var(--shadow);
  }
  .center .floatBtn {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .center {
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    top: 0;
    border-top: none;
    border-left: none;
    border-right: none;
  }
}

/* mobile topbar */
.topbar {
  top: 0;
  z-index: 20;
  height: var(--headerH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  width: 100%;
}

.topbar__brand {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.topbar__cta {
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: #000000;
  padding: 10px 14px;
  border-radius: 999px;
}

.floatBtn {
  width: 48%;
  display: block;
  text-align: center;
  padding: 1rem 0;
  border-radius: 0.5rem;
  background: #0b0c0e;
  color: #fff;
  font-weight: bold;
  position: fixed;
  bottom: 1rem;
  z-index: 99;
  margin: 0 auto;
  left: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .floatBtn {
    display: block;
    width: 98%;
  }
}
.linkBtn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 1rem 0;
  border-radius: 0.5rem;
  background: #0b0c0e;
  color: #fff;
  font-weight: bold;
  bottom: 1rem;
  z-index: 99;
  margin: 1rem auto;
}

/* ===== Hero ===== */
.topImage {
  width: 100%;
}
.topImage img {
  width: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
@media screen and (max-width: 768px) {
  .topImage img {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
  }
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  position: absolute;
  top: 60px;
  z-index: 1;
}

.hero__title {
  width: 70%;
  margin: 0 auto;
}
.hero__title img {
  width: 100%;
}

.hero__subtitle {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ===== Marquee ===== */
.marquee {
  padding-top: 2rem;
}

/* 表示窓 */
.marquee__viewport {
  overflow: hidden;
  width: 100%;
}

/* 実際に動くレーン */
.marquee__track {
  display: flex;
  width: max-content;
  height: 50vh;
  gap: var(--card-gap);
  will-change: transform;
  /* 左へ流す */
  animation: marquee var(--marquee-duration) linear infinite;
}

/* 1セット（3枚） */
.marquee__set {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

/* 各カード */
.marquee__card {
  margin: 0;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: var(--radius);
  overflow: hidden;
}

/* 画像の見え方（縦長カードにフィット） */
.marquee__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}

/* 2セット分で、ちょうど1セット分だけ移動して繋ぐ */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * (3 * var(--card-w) + 3 * var(--card-gap))));
  }
}
/* 触ったとき止めたい場合（JSなしでもOK） */
.marquee__viewport:active .marquee__track {
  animation-play-state: paused;
}

/* 低モーション設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}
/* ===== Content ===== */
.content {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.01em;
  padding: 10%;
}
.content p.txt {
  margin: 4rem 0;
}
.content p.txt_big {
  font-size: 1.5rem;
  margin: 4rem 0;
}
.content .sec {
  text-align: center;
}

.content__title {
  margin: 1rem 0 2rem 0;
  font-size: 1.3rem;
  text-align: center;
}
.content__title img {
  width: 90%;
}

.content__lead {
  margin: 0 0 12px;
}

.content__image {
  margin: 18px 0;
  overflow: hidden;
}

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

.content__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.number {
  width: 90%;
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}
.number .content__num {
  font-size: 3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.number .content__num span {
  font-size: 1rem;
}
.number .txt {
  line-height: 1.5rem;
  margin-top: 2rem;
}

.explan {
  text-align: center;
  line-height: 2rem;
}
.explan img {
  width: 40%;
  margin-bottom: 1rem;
}

.section.gif_sec {
  padding: 1rem 0;
  text-align: center;
}
.section.gif_sec img {
  width: 15%;
}

/* ========== sections ========== */
.section {
  padding: 46px 22px;
}

.section__head h2 {
  margin: 0 0 2rem;
  font-size: 1.6rem;
  line-height: 2rem;
  letter-spacing: -0.01em;
  text-align: center;
}
.section__head p {
  line-height: 1.5rem;
}
.section__head img {
  width: 70%;
  margin: 2rem auto;
  display: block;
}

.kicker {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(15, 17, 20, 0.6);
}

.shot {
  margin: 22px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line2);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* cards */
.cards {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.card {
  border: 1px solid var(--line2);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.card__media {
  height: 160px;
  background: rgba(15, 17, 20, 0.08);
}

.card__body {
  padding: 14px;
}

.card__title {
  margin: 0 0 4px;
  font-size: 16px;
}

.card__meta {
  margin: 0 0 10px;
  color: rgba(15, 17, 20, 0.65);
}

.card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.card__chips span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: rgba(15, 17, 20, 0.68);
  background: rgba(15, 17, 20, 0.03);
}

.link {
  color: rgba(15, 17, 20, 0.78);
  font-weight: 800;
  text-decoration: none;
}

/* features */
.feature {
  gap: 12px;
  width: 100%;
  text-align: center;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  margin-bottom: 2rem;
}

.feature__item h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: left;
}
.feature__item p {
  text-align: left;
  line-height: 150%;
}
.feature__item img {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  margin: 2rem 0;
}
.feature__item .mini {
  font-size: 0.8rem;
  text-align: center;
}
.feature__item .large {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.feature__item a {
  background: #0a57d0;
  padding: 1rem 0.5rem;
  color: #fff;
  border-radius: 0.5rem;
  display: block;
  font-size: 0.8rem;
}
.feature__item .step {
  text-align: center;
}
.feature__item .disc {
  text-align: center;
}

.feature__item2 {
  margin-bottom: 2rem;
  background-color: #FAF4F3;
  padding: 1rem;
  border-radius: 1rem;
}
.feature__item2 h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: left;
}
.feature__item2 p {
  text-align: left;
  line-height: 150%;
}
.feature__item2 img {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  margin: 2rem 0;
}
.feature__item2 .mini {
  font-size: 0.85rem;
}
.feature__item2 .large {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.feature__item2 a {
  background: #0a57d0;
  padding: 1rem 0.5rem;
  color: #fff;
  border-radius: 0.5rem;
  display: block;
  font-size: 0.8rem;
}
.feature__item2 .step {
  text-align: center;
}
.feature__item2 .disc {
  text-align: center;
}
.feature__item2 .messages {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem auto;
}
.feature__item2 .messages img {
  width: 10%;
  margin: 0rem 0;
}

.last {
  margin-bottom: 0px;
}

.feature__num {
  font-weight: 900;
  margin: 1rem 0;
  border-radius: 0.5rem;
}

.action .section {
  padding: 0;
  margin-top: 2rem;
}
.action .feature {
  padding: 0rem;
}

/* horizontal scroll voice */
.hscroll {
  margin-top: 14px;
  display: grid;
  grid-auto-columns: 100%;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar {
  height: 8px;
}
.hscroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.14);
  border-radius: 999px;
}

.quote {
  border-radius: 1rem;
  padding: 2rem;
  background: #fff;
}
.quote p {
  line-height: 2rem;
}
.quote img {
  width: 10%;
}

/* timeline */
.timeline {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.timeline__day {
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 14px;
  background: rgba(15, 17, 20, 0.02);
}
.timeline__day h3 {
  margin: 0 0 10px;
}
.timeline__day ul {
  margin: 0;
  padding-left: 18px;
}
.timeline__day li {
  margin: 8px 0;
}

/* CTA section */
.section--cta {
  padding-bottom: 90px;
} /* 中央固定CTA分の余白 */
.cta {
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 18px;
  background: rgba(15, 17, 20, 0.02);
}
.cta h2 {
  margin: 0 0 8px;
}
.cta p {
  margin: 0 0 16px;
  color: rgba(15, 17, 20, 0.68);
}

.swap {
  width: 100%;
  aspect-ratio: 1/1; /* 完全な正方形 */
  position: relative;
  overflow: hidden;
}

/* 2枚を重ねる */
.swap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: swapFade 4s infinite;
}

/* 2枚目だけ位相をずらす */
.swap > img:nth-child(2) {
  animation-delay: 2s; /* 4sの半分 */
}

/* 切り替えの “瞬間寄り + ほんの少しフェード” */
@keyframes swapFade {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  } /* ここでスッと出る */
  50% {
    opacity: 1;
  } /* 表示維持 */
  56% {
    opacity: 0;
  } /* ここでスッと消える */
  100% {
    opacity: 0;
  }
}
/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce) {
  .swap > img {
    animation: none;
    opacity: 0;
  }
  .swap > img:first-child {
    opacity: 1;
  }
}
.footer {
  padding: 26px 22px 100px;
  font-size: 0.6rem;
  text-align: center;
}

/* 中央カラム下部固定CTA（SANUの“中央に浮く”やつ風） */
.centerFixedCta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 30;
  width: min(var(--centerW) - 44px, 100% - 22px);
  /* モバイルも出してOK。不要ならdisplay:noneに */
  display: block;
}
@media (min-width: 1100px) {
  .centerFixedCta {
    width: min(var(--centerW) - 64px, 520px);
  }
}