/* ================================================
   TOKIUM AI明細入力 LP  meisai.css
   beartail テーマ組み込み版
   ・クラス名はすべて ms- プレフィックスで統一（beartail既存クラスとの干渉回避）
   ・ヘッダー / フッター / パンくず / Lineup は WP 共通テーマを使用
   ・レスポンシブ: 768px ブレイクポイント（beartail 準拠）
   ================================================ */

/* --------------------------------------------------
   CSS カスタムプロパティ
   -------------------------------------------------- */
:root {
  --ms-green:       #008D97;
  --ms-green-dark:  #006d74;
  --ms-light-green: #00CC99;
  --ms-orange:      #F98938;
  --ms-text:        #222229;
  --ms-black:       #191414;
  --ms-white:       #FFFFFF;
  --ms-gray:        #F6F6F6;
  --ms-border:      #D7D7DA;
  --ms-border-lt:   #E2E2E2;
  --ms-muted:       #B2B7B8;
}

/* --------------------------------------------------
   ラッパー
   -------------------------------------------------- */
.meisai-lp {
  font-family: var(--ms-font-base);
  color: var(--ms-text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* picture を layout 透過にする */
.meisai-lp picture { display: contents; }

/* PC ステージ共通（各セクション 1440px 基準） */
.ms-hero,
.ms-problem,
.ms-solutions,
.ms-features,
.ms-cta,
.ms-lineup {
  position: relative;
  width: 100%;
  min-width: 0;
}
/* セクション間マージン */
.ms-problem,
.ms-solutions,
.ms-features,
.ms-cta,
.ms-lineup {
  margin-top: 70px;
}

.meisai-lp {
  font-family: var(--ms-font-base);
  color: var(--ms-text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* ↓ 追加 */
  font-weight: 400;  /* destyle の inherit リセットを打ち消す */
}

/* h系タグも明示的に上書き */
.meisai-lp h1,
.meisai-lp h2,
.meisai-lp h3,
.meisai-lp h4,
.meisai-lp h5,
.meisai-lp h6 {
  font-weight: 600;
}
/* --------------------------------------------------
   セクション見出し（.ms-section-heading）
   -------------------------------------------------- */
.ms-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.ms-section-heading__eyebrow {
  font-family: var(--ms-font-en);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--ms-green);
  letter-spacing: 0.02em;
  margin: 0 0 9px;
}

.ms-section-heading__deco {
  width: 59px;
  height: 3px;
  background: var(--ms-light-green);
  border-radius: 1.5px;
  margin: 0 0 9px;
}

.ms-section-heading__title {
  font-size: 32px;
  font-weight: 500 !important;
  line-height: 1.5;
  letter-spacing: 0.0625em;
  white-space: nowrap;
  margin: 0;
  font-feature-settings: 'palt' 1;
  color: var(--ms-text);
}

.ms-section-heading__title span { display: block; }


/* --------------------------------------------------
   CTA ボタン（共通）
   -------------------------------------------------- */
.ms-btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18.571px;
  background: var(--ms-orange);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.0464em;
  padding: 26px 37.143px 29.714px;
  border-radius: 39px;
  line-height: 17.997px;
  align-self: flex-start;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.ms-btn-cta > * { position: relative; z-index: 1; }

.ms-btn-cta img {
  width: 22.286px;
  height: 22.286px;
  transition: transform .3s ease;
  display: block;
}

.ms-btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%, transparent 35%,
    rgba(255,255,255,0.55) 50%,
    transparent 65%, transparent 100%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 0;
}

.ms-btn-cta:hover::before {
  animation: ms-btn-shine 0.9s ease forwards;
}

@keyframes ms-btn-shine {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.ms-btn-cta:hover { transform: translateY(-2px); }


.ms-btn-cta:hover img {
  animation: ms-btn-arrow 0.3s ease forwards;
}

@keyframes ms-btn-arrow {
  0%   { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

/* --------------------------------------------------
   HERO
   -------------------------------------------------- */
@property --ms-hero-x { syntax: '<percentage>'; inherits: false; initial-value: 90%; }
@property --ms-hero-y { syntax: '<percentage>'; inherits: false; initial-value: 10%; }

.ms-hero {
  height: 518px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.ms-hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
  background: radial-gradient(110% 160% at var(--ms-hero-x, 90%) var(--ms-hero-y, 10%),
    #85DED6 0%,
    #3DC5B8 25%,
    #1197A0 55%,
    #008D97 80%,
    #0C6E75 100%);
  animation: hero-drift 11s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes hero-drift{
  0%   { --ms-hero-x:92%; --ms-hero-y:5%; }
  50%  { --ms-hero-x:45%; --ms-hero-y:45%; }
  100% { --ms-hero-x:95%; --ms-hero-y:0%; }
}

.ms-hero__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ms-hero__inner {
  position: relative;
  width: 1440px;
  height: 518px;
  margin: 0 auto;
  z-index: 2;
}

.ms-hero__content {
  position: absolute;
  left: 220px;
  top: 54px;
  width: 1000px;
  height: 413px;
  display: flex;
  align-items: center;
}

.ms-hero__text {
  width: 456px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ms-hero__title {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.ms-hero__title span { display: block; }
.ms-hero__title span.f_noto{
  display: inline;
}

.ms-hero__desc {
  width: 412px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
  min-height: 118px;
}

.ms-hero__visual {
  position: relative;
  width: 544px;
  height: 342px;
  flex-shrink: 0;
  margin-left: 35px;
}

.ms-hero__glow {
  position: absolute;
  left: 0; top: 32px;
  width: 544px; height: 306px;
  background: rgba(0,204,153,0.2);
  filter: blur(20px);
  border-radius: 6px;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.ms-hero__video {
  position: absolute;
  left: 0; top: 32px;
  width: 544px; height: 306px;
  background: #fff;
  border-radius: 6px;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}

.ms-hero__character {
  position: absolute;
  left: 511px;
  top: 33px;
  width: 136px;
  height: 136px;
  transform: rotate(26.4deg);
  pointer-events: none;
  z-index: 1;
  display: block;
}


/* --------------------------------------------------
   PROBLEM
   -------------------------------------------------- */
.ms-problem {
  height: 653px;
  overflow: hidden;
}

.ms-problem__inner {
  position: relative;
  width: 1440px;
  height: 653px;
  margin: 0 auto;
}

.ms-problem__inner > .ms-section-heading {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ms-problem__list {
  position: absolute;
  left: 50%;
  top: 139px;
  transform: translateX(-50%);
  width: 790px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-problem__item {
  position: relative;
  background: var(--ms-gray);
  border-radius: 4px;
  width: 790px;
  height: 104px;
}

.ms-problem__check {
  position: absolute;
  left: 15px;
  top: 22px;
  width: 57px;
  height: 57px;
  display: block;
}

.ms-problem__item p {
  position: absolute;
  left: 78px;
  top: 34px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04167em;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
  font-feature-settings: 'palt' 1;
}

.ms-problem__item strong {
  color: var(--ms-green);
  font-weight: 700;
}

.ms-problem__illust {
  position: absolute;
  left: 920px;
  top: 386px;
  width: 269px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  display: block;
}


/* --------------------------------------------------
   SOLUTIONS
   -------------------------------------------------- */
.ms-solutions {
  height: 672px;
  overflow: hidden;
}

.ms-solutions__inner {
  position: relative;
  width: 1440px;
  height: 672px;
  margin: 0 auto;
}

.ms-solutions__inner > .ms-section-heading {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ms-solutions__card {
  position: absolute;
  left: 325px;
  top: 195px;
  width: 790px;
  height: 445px;        /* 790 × (888/1580) = 444 ≒ 445px で一致 */
  background: var(--ms-gray);
  border-radius: 6px;
  overflow: visible;     /* 追加 */
}

.ms-solutions .ms-solutions__card .ms-hero__video {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* アスペクト比を維持しつつ全体を埋める */
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 28px rgba(112,205,199,0.45);
  transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-solutions__glow {
  position: absolute;
  left: -70px;
  top: -70px;
  width: 268px;
  height: 268px;
  pointer-events: none;
  z-index: -1;
  transform-origin: 50% 50%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  display: block;
}

.ms-solutions__card:hover .ms-solutions__glow {
  transform: scale(1.15);
  filter: brightness(1.08);
}


/* --------------------------------------------------
   FEATURES
   -------------------------------------------------- */
.ms-features {
  background: #fff;
  height: 1474px;
  overflow: hidden;
}

.ms-features__inner {
  position: relative;
  width: 1440px;
  height: 1474px;
  margin: 0 auto;
}

.ms-features__inner > .ms-section-heading {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
}

.ms-features__divider {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(226,226,226,0) 0%,
    rgba(226,226,226,1) 15%,
    rgba(226,226,226,1) 85%,
    rgba(226,226,226,0) 100%
  );
}

.ms-features__card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 438px;
  padding: 58px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ms-features__text { width: 420px; flex-shrink: 0; }

.ms-features__text h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0.04167em;
  margin: 0 0 28px;
  font-feature-settings: 'palt' 1;
  color: var(--ms-text);
}

.ms-hl {
  color: var(--ms-green);
  font-weight: 700;
}

.ms-features__text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: 0.1em;
  margin: 0;
  color: var(--ms-text);
}

.ms-features__image {
  width: 434px;
  height: 322px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}

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


/* --------------------------------------------------
   CTA
   -------------------------------------------------- */
@property --ms-cta-x { syntax: '<percentage>'; inherits: false; initial-value: 90%; }
@property --ms-cta-y { syntax: '<percentage>'; inherits: false; initial-value: 90%; }

.ms-cta {
  padding: 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.ms-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    110% 160% at var(--ms-cta-x, 90%) var(--ms-cta-y, 90%),
    #85DED6 0%, #3DC5B8 25%, #1197A0 55%, #008D97 80%, #0C6E75 100%
  );
  animation: ms-cta-drift 11s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ms-cta-drift {
  0%   { --ms-cta-x: 92%; --ms-cta-y: 95%; }
  50%  { --ms-cta-x: 45%; --ms-cta-y: 55%; }
  100% { --ms-cta-x: 95%; --ms-cta-y: 100%; }
}

.ms-cta__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ms-cta__inner {
  position: relative;
  width: 1440px;
  height: 383px;
  margin: 0 auto;
  z-index: 2;
}

.ms-cta__content {
  position: absolute;
  left: 220px;
  top: 68px;
  width: 1000px;
  display: flex;
  align-items: center;
}

.ms-cta__text {
  width: 518px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ms-cta__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin: 0;
  font-feature-settings: 'palt' 1;
  white-space: nowrap;
}

.ms-cta__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin: 0;
}

.ms-cta__text .ms-btn-cta { margin-top: 16px; }

.ms-cta__visual {
  position: relative;
  width: 497px;
  height: 258.58px;
  flex-shrink: 0;
}

.ms-cta__card {
  position: absolute;
  left: 0; top: 0;
  width: 431px;
  height: 242px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
  z-index: 1;
  overflow: hidden;
}

.ms-cta__card-illust {
  position: absolute;
  left: 7px; top: 48px;
  width: 164px; height: 143px;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

.ms-cta__card-title {
  position: absolute;
  left: 188px; top: 81px;
  margin: 0;
  font-weight: 500;
  font-size: 10.734px;
  line-height: 1.3;
  color: var(--ms-text);
  white-space: nowrap;
}

.ms-cta__card-logo {
  position: absolute;
  left: 188px; top: 116px;
  width: 214px; height: 24px;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

.ms-cta__card-sub {
  position: absolute;
  left: 188px; top: 146px;
  margin: 0;
  font-weight: 500;
  font-size: 10.734px;
  line-height: 1.3;
  color: var(--ms-text);
  white-space: nowrap;
}

.ms-cta__character {
  position: absolute;
  left: 378px;
  top: 124.19px;
  width: 118.557px;
  height: 134.389px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  display: block;
}


/* --------------------------------------------------
   LINEUP（WP共通コンポーネント wrapper）
   -------------------------------------------------- */
.ms-lineup.ai-agent {
  background: #fff;
  padding: 0 0 80px;
  min-width: 0;
}

.ms-lineup__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 70px;
}

/* ai_lineup コンポーネントのサブタイトル位置補正 */
.ms-lineup .ai_agent_tv { margin-bottom: 0; }


/* ==================================================
   RESPONSIVE（768px以下 / beartail 準拠）
   ================================================== */
@media screen and (max-width: 768px) {

  /* ステージ解除 */
  .ms-hero,
  .ms-problem,
  .ms-solutions,
  .ms-features,
  .ms-cta,
  .ms-lineup {
    min-width: 0;
    height: auto;
  }

  .ms-problem,
  .ms-solutions,
  .ms-features,
  .ms-cta,
  .ms-lineup {
    margin-top: 0;
  }

  /* --- Hero SP --- */
  .ms-hero {
    height: auto;
    padding: 24px 20px 35px;
    background: #fff;
  }

  .ms-hero__bg,
  .ms-hero__noise { bottom: 64px; }

  .ms-hero__inner {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .ms-hero__content {
    position: static;
    width: 100%;
    max-width: 324px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .ms-hero__text { display: contents; }

  .ms-hero__title {
    order: 1;
    font-size: 28px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
  }

  .ms-hero__title span { display: inline; }

  .ms-hero__desc {
    order: 2;
    width: 100%;
    font-size: 14px;
    min-height: 0;
    line-height: 1.85;
    text-align: justify;
  }

  .ms-hero__visual {
    order: 3;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding-top: 54px;
    overflow: visible;
    flex-shrink: 0;
  }

  .ms-hero__glow {
    display: block;
    position: absolute;
    left: -14%; right: -14%;
    top: -14%; bottom: -14%;
    width: auto; height: auto;
    background: radial-gradient(
      ellipse at center,
      rgba(180,245,235,0.95) 0%,
      rgba(160,235,225,0.55) 35%,
      rgba(140,220,210,0) 70%
    );
    filter: blur(22px);
    mix-blend-mode: normal;
    z-index: 0;
  }

  .ms-hero__video {
    position: relative;
    left: 0; top: 0;
    width: 100%; height: auto;
    aspect-ratio: 16/10;
    border-radius: 8px;
    box-shadow:
      0 0 32px rgba(168,240,232,0.6),
      0 8px 24px rgba(0,80,88,0.18);
    z-index: 2;
  }

  .ms-hero__character {
    position: absolute;
    left: auto;
    right: -4px;
    top: -18px;
    width: 100px;
    height: auto;
    transform: rotate(0deg);
    z-index: 1;
  }

  .ms-hero .ms-btn-cta {
    order: 4;
    align-self: center;
    width: 100%;
    max-width: 360px;
    margin: 34px 0 0;
    font-size: 16px;
    padding: 20px 24px;
    gap: 12px;
  }

  .ms-hero .ms-btn-cta img { width: 18px; height: 18px; }

  /* --- Section heading SP --- */
  .ms-section-heading {
    width: 100%;
    height: auto;
    min-height: unset;
    padding: 35px 20px 0;
    margin: 0 auto;
  }

  .ms-section-heading__eyebrow {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 4px;
  }

  .ms-section-heading__deco {
    margin: 0 auto 14px;
  }

  .ms-section-heading__title {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    white-space: normal;
  }

  /* --- Problem SP --- */
  .ms-problem { padding-bottom: 35px; }

  .ms-problem__inner { width: 100%; height: auto; }

  .ms-problem__inner > .ms-section-heading {
    position: static;
    transform: none;
    margin-bottom: 32px;
  }

  .ms-problem__list {
    position: static;
    transform: none;
    width: 100%;
    padding: 0 20px;
    gap: 14px;
  }

  .ms-problem__item {
    width: 100%;
    height: auto;
    padding: 18px 16px 18px 60px;
    position: relative;
  }

  .ms-problem__check {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px; height: 33px;
  }

  .ms-problem__item p {
    position: static;
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
  }

  .ms-problem__illust {
    position: static;
    display: block;
    width: 140px;
    margin: 8px auto 0;
  }

  /* --- Solutions SP --- */
  .ms-solutions { padding-bottom: 35px; }

  .ms-solutions__inner { width: 100%; height: auto; }

  .ms-solutions__inner > .ms-section-heading {
    position: static;
    transform: none;
    margin-bottom: 32px;
  }

  .ms-solutions__card {
    position: relative;
    left: auto; top: auto;
    width: calc(100% - 40px);
    height: auto;
    aspect-ratio: 790/445;
    margin: 0 auto;
  }

  .ms-solutions__glow {
    left: -40px; top: -40px;
    width: 160px; height: 160px;
  }

  /* --- Features SP --- */
  .ms-features,
  .ms-features__inner { height: auto; }

  .ms-features { padding-bottom: 35px; }

  .ms-features__inner {
    width: 100%;
    max-width: 364px;
    margin: 0 auto;
  }

  .ms-features__inner > .ms-section-heading {
    position: static;
    transform: none;
    margin-bottom: 0;
  }

  .ms-features__divider { display: none; }

  .ms-features__card {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    padding: 36px 20px;
    flex-direction: column;
    gap: 24px;
  }

  .ms-features__card:has(.ms-features__image:first-child) {
    flex-direction: column-reverse;
  }

  .ms-features__text { width: 100%; }

  .ms-features__text h3 {
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 16px;
    text-align: center;
  }

  .ms-features__text p {
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.04em;
  }

  .ms-features__image {
    width: 100%;
    height: auto;
    aspect-ratio: 434/322;
    border-radius: 12px;
  }

  /* --- CTA SP --- */
  .ms-cta,
  .ms-cta__inner { height: auto; }

  .ms-cta__inner { width: 100%; }

  .ms-cta__content {
    position: static;
    width: 100%;
    padding: 35px 20px;
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .ms-cta__text {
    width: 100%;
    align-items: center;
  }

  .ms-cta__title {
    font-size: 22px;
    line-height: 1.5;
    white-space: normal;
    letter-spacing: 0.04em;
  }

  .ms-cta__desc { font-size: 14px; letter-spacing: 0; }

  .ms-cta__visual {
    width: 100%;
    max-width: 380px;
    height: 200px;
    margin: 0 auto;
    position: relative;
  }

  .ms-cta__card {
    left: 50%; top: 0;
    transform-origin: top center;
    transform: translateX(-50%) scale(0.78);
  }

  .ms-cta__character {
    left: auto;
    right: -8px;
    top: auto;
    bottom: 0;
    width: 100px;
    height: auto;
  }

  /* --- Lineup SP --- */
  .ms-lineup {
    padding-bottom: 56px;
    min-width: 0;
  }

  .ms-lineup__inner {
    width: 100%;
    padding-top: 35px;
    padding-left: 20px;
    padding-right: 20px;
  }

}/* end @media 768px */

/* --- 480px 以下微調整 --- */
@media screen and (max-width: 480px) {
  .ms-hero__title        { font-size: 26px; }
  .ms-section-heading__title { font-size: 20px; }
  .ms-features__text h3  { font-size: 18px; }
  .ms-cta__title         { font-size: 20px; }
  .ms-hero__visual       { height: 200px; }
  .ms-hero__glow,
  .ms-hero__video        { height: 180px; }
  .ms-cta__visual        { max-width: 320px; height: 170px; }
  .ms-cta__card          { transform: translateX(-50%) scale(0.66); }
}