@charset "UTF-8";

/* ==========================================================================
   SPLYZA Motion Subpage Dedicated CSS
   Prefix: .spm-sub-
   ========================================================================== */

.gnav__menu__item {
  margin-left: 10px !important;
}

/* 全体コンテナ＆リセット */
.spm-sub-wrapper {
  width: 100%;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #000;
  box-sizing: border-box;
  background-color: #fff;
}

.spm-sub-wrapper p {
  font-size: 14px;
}

.spm-sub-wrapper *,
.spm-sub-wrapper *::before,
.spm-sub-wrapper *::after {
  box-sizing: border-box;
}

.spm-sub-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ダミー画像共通スタイル */
.spm-sub-dummy-img {
  align-items: center;
}

.spm-sub-dummy-img img {
  width: 100%;
  border-radius: 10px;
}

.spm-sub-dummy-img-02 img {
  width: 100%;
  border-radius: 10px;
}

/* 背景カラーバリエーション */
.spm-sub-bg-blue {
  background-color: #fff;
}

.spm-sub-bg-blue-dark {
  background-color: #e9faff;
}

.spm-sub-bg-blue-gradient {
  background: #e9faff;
}

.spm-sub-bg-white {
  background-color: #ffffff;
  color: #111111;
}

.spm-sub-bg-light {
  background-color: #f4f7fc;
  color: #111111;
}

/* セクションレイアウト */
.spm-sub-section {
  padding: 5px 0 30px;
}

.spm-sub-section-title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
}

.spm-sub-section-title-dark {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.spm-sub-mt-large {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION & STICKY BUTTONS
   -------------------------------------------------------------------------- */
.spm-sub-hero {
  padding: 90px 0 30px;
  background-image: linear-gradient(90deg, rgba(65, 164, 253, 1), rgba(122, 230, 235, 1));
  text-align: center;
}

.original-gradient {
  height: 200px;
  width: 90%;
}

.spm-sub-hero-img {
  margin-bottom: 20px;
}

.spm-sub-hero-sub {
  font-weight: normal;
  margin-bottom: 15px;
  font-size: 16px !important;
}

.spm-sub-hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  background: #ffffff;
  color: #0b62e4;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.spm-sub-hero-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.03em;
}

.spm-sub-hero-kana {
  margin-bottom: 10px;
  opacity: 1;
}

.spm-sub-hero-desc {
  font-size: 12px;
  line-height: 1.6;
}

/* モニター検知用センチネル（レイアウトに影響しないダミー要素） */
#spmSubStickySentinel {
  width: 100%;
  height: 1px;
  margin-top: -1px;
  pointer-events: none;
  visibility: hidden;
}

/* 通常時（PC・元位置）のスタイル */
.spm-sub-sticky-btn-wrapper {
  position: relative;
  z-index: 200;
  padding: 10px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.spm-sub-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.spm-sub-btn {
  display: block;
  padding: 12px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, opacity 0.2s;
  line-height: 1.5em;
}

.spm-sub-btn-white {
  background-image: linear-gradient(90deg, rgba(253, 219, 146, 1), rgba(209, 253, 254, 1));
  color: #000;
}

.spm-sub-btn-skyblue {
  background-image: linear-gradient(90deg, rgba(138, 227, 238, 1), rgba(122, 209, 254, 1));
  color: #000;
}

.spm-sub-btn-white span,
.spm-sub-btn-skyblue span {
  font-size: 12px;
  display: block;
  font-weight: normal;
  color: #333333;
}

/* 元の位置を過ぎてスクロールした際の追従（Fixed）スタイル */
.spm-sub-sticky-btn-wrapper.is-fixed {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  width: 100% !important;
  padding: 20px 16px 15px 16px !important;
  /* iOSのSafeArea考慮 */
  background-image: linear-gradient(90deg, rgba(65, 164, 253, 1), rgba(122, 230, 235, 0.5));
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  animation: spmSubSlideUp 0.3s ease-out forwards;
}

@media screen and (min-width: 768px) {
  .spm-sub-sticky-btn-wrapper.is-fixed .spm-sub-btn-group {
    max-width: 800px;
    gap: 8px;
  }
}

@media screen and (max-width: 768px) {
  .spm-sub-sticky-btn-wrapper.is-fixed .spm-sub-btn-group {
    max-width: 100%;
    gap: 8px;
  }
}

.spm-sub-sticky-btn-wrapper.is-fixed .spm-sub-btn {
  padding: 10px 12px;
  font-size: 14px;
}

.spm-sub-sticky-btn-wrapper.is-fixed .spm-sub-btn span {
  font-size: 10px;
}


/* 下部からのスライドインアニメーション */
@keyframes spmSubSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   2. ACCORDION (TOGGLE SWITCH - CSS ONLY)
   -------------------------------------------------------------------------- */
.spm-sub-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spm-sub-accordion-item {
  border-radius: 6px;
  overflow: hidden;
}

/* チェックボックス本体は非表示 */
.spm-sub-toggle-input {
  display: none;
}

.spm-sub-toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background-image: linear-gradient(90deg, rgba(62, 66, 131, 1), rgba(72, 137, 174, 1));
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

/* アコーディオン内プラス（+）アイコン */
.spm-sub-toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 10px;
}

.spm-sub-toggle-icon::before,
.spm-sub-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.spm-sub-toggle-icon::before {
  width: 14px;
  height: 2px;
}

.spm-sub-toggle-icon::after {
  width: 2px;
  height: 14px;
}

/* 開いた時（マイナス化） */
.spm-sub-toggle-input:checked+.spm-sub-toggle-label .spm-sub-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* 下方向へ展開するコンテンツ */
.spm-sub-toggle-content {
  max-height: 0;
  overflow: hidden;
  background-color: #dee7f8;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}

.spm-sub-toggle-content p {
  padding: 0 18px;
  margin: 0;
  font-size: 14px;
  line-height: 2.0em;
}

.spm-sub-toggle-content p.linkarea {
  padding: 0 18px;
  margin: 0;
  font-size: 14px;
  line-height: 2.0em;
  color: #373737;
  text-align: center;
}

/* チェック時に滑らかに展開 */
.spm-sub-toggle-input:checked~.spm-sub-toggle-content {
  max-height: 700px;
  padding: 14px 0;
}

/* ダークタイプアコーディオン（領域別活用） */
.spm-sub-accordion-dark .spm-sub-toggle-label {
  background-color: #364b6a;
}

.spm-sub-accordion-dark .spm-sub-toggle-content {
  background-color: #dee7f8;
}

/* --------------------------------------------------------------------------
   3. SOLUTIONS & STEPS
   -------------------------------------------------------------------------- */
.spm-sub-solution-title {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
}

.spm-sub-solution-lead {
  text-align: center;
  font-size: 12px;
  margin-bottom: 30px;
}

.spm-sub-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spm-sub-feature-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  display: grid;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.spm-sub-feature-card .spm-sub-dummy-img {
  width: 130px;
  flex-shrink: 0;
  margin: 0 auto;
}

.spm-sub-feature-card .spm-sub-dummy-img-02 {
  width: 70%;
  flex-shrink: 0;
  margin: 0 auto;
}

.spm-sub-feature-card p {
  font-size: 14px;
  margin: 0;
  line-height: 2.0em;
}

.spm-sub-seminar-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  display: block;
  gap: 15px;
  align-items: center;
}

.spm-sub-seminar-card p {
  line-height: 2.0em;
}

.spm-sub-seminar-card p span {
  background: #444;
  color: #fff;
  padding: 8px 15px;
  border-radius: 10px;
  margin-right: 10px;
}

/* 使い方ステップ */
.spm-sub-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spm-sub-step-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spm-sub-step-text h3 {
  font-size: 14px;
  margin: 0 0 5px;
}

.spm-sub-step-text p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.spm-sub-step-img {
  width: 60%;
  flex-shrink: 0;
  margin: 0 auto;
  padding-left: 15px;
}

.spm-sub-banner-img {
  height: 180px;
  margin-top: 25px;
}

/* --------------------------------------------------------------------------
   4. INFINITE SLIDER WITH DRAG & DOTS
   -------------------------------------------------------------------------- */
.spm-sub-slider-outer {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  /* 縦スクロールを邪魔しない指定 */
}

.spm-sub-slider-outer:active {
  cursor: grabbing;
}

.spm-sub-slider-track {
  display: flex;
  gap: 15px;
  width: max-content;
  will-change: transform;
}

/* カード（リンクタグ化） */
.spm-sub-slide-card {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
  /* リンクの下線を消す */
  color: inherit;
}

.spm-sub-slide-card .spm-sub-dummy-img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
}

.spm-sub-slide-card span {
  font-size: 14px;
  text-align: center;
}

/* インジケータードット */
.spm-sub-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.spm-sub-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #82cffc;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.spm-sub-dot.is-active {
  background-color: #233b6e;
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   5. RESEARCH & SEMINAR
   -------------------------------------------------------------------------- */
.spm-sub-research-header {
  text-align: center;
  margin-bottom: 20px;
}

.spm-sub-research-title {
  font-size: 15px;
  color: #fff;
  margin-bottom: 10px;
}

.spm-sub-research-box {
  background-color: #eaf2ff;
  color: #0b3d91;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 25px;
}

.spm-sub-university-block {
  border: 1px solid #d0dbe8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.spm-sub-uni-title {
  font-size: 16px;
  color: #0b3d91;
  text-align: center;
  margin: 0 0 15px;
}

.spm-sub-uni-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  font-weight: bold;
  color: #222222;
}

.spm-sub-uni-list img {
  width: 90%;
}

.spm-sub-btn-center {
  text-align: center;
}

.spm-sub-btn-outline {
  display: inline-block;
  border: 1px solid #0b3d91;
  color: #0b3d91;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.spm-sub-btn-dark {
  display: inline-block;
  border: 1px solid #0b3d91;
  color: #0b3d91;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.spm-sub-seminar-img {
  margin-bottom: 15px;
}

.spm-sub-seminar-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spm-sub-btn-blue {
  display: block;
  background-color: #0b4fbf;
  color: #ffffff;
  padding: 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .spm-sub-btn-green {
    display: block;
    background-image: linear-gradient(90deg, rgba(144, 245, 154, 1), rgba(4, 202, 255, 1));
    color: #373737;
    padding: 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 300px;
  }

  .spm-sub-btn-orange {
    display: block;
    background-image: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
    color: #ffffff;
    padding: 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 300px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .spm-sub-btn-green {
    display: block;
    background-image: linear-gradient(90deg, rgba(144, 245, 154, 1), rgba(4, 202, 255, 1));
    color: #373737;
    padding: 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
  }

  .spm-sub-btn-orange {
    display: block;
    background-image: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
    color: #ffffff;
    padding: 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   PC RESPONSIVE (768px 以上)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
  .spm-sub-section {
    padding: 20px 0 50px;
  }

  .spm-sub-hero-title {
    font-size: 3rem;
  }

  .spm-sub-section-title,
  .spm-sub-section-title-dark {
    font-size: 18px;
  }

  .spm-sub-btn-group {
    flex-direction: row;
    max-width: 750px;
  }

  .spm-sub-btn {
    flex: 1;
  }

  .spm-sub-feature-cards {
    flex-direction: row;
  }

  .spm-sub-feature-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }

  .spm-sub-steps {
    flex-direction: row;
  }

  .spm-sub-step-item {
    flex: 1;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .spm-sub-uni-list {
    flex-direction: row;
    justify-content: space-around;
  }

  .spm-sub-seminar-btns {
    flex-direction: row;
    justify-content: center;
  }

  .spm-sub-btn-blue {
    min-width: 260px;
  }

  .bottom-section {
    height: 800px;
  }
}

.spm-sub-container h2 {
  position: relative;
  border-top: solid 3px #d1ece9;
  border-bottom: solid 3px #d7e1f2;
  transform: skewX(0deg);
  background-image: linear-gradient(90deg, rgba(234, 224, 255, 1), rgba(215, 252, 255, 1) 33%, rgba(255, 244, 250, 1) 76%, rgba(239, 240, 255, 1));
  color: #373737;
  text-shadow: none;
  margin: 30px 0;
  padding: 15px;
  width: 100%;
}

@media (min-width: 768px) {
  footer .footer03 {
    padding: 10px 0 170px 0 !important;
  }
}

@media (max-width: 768px) {
  footer .footer03 {
    padding: 10px 0 230px 0 !important;
  }

  .snsbtniti {
    margin: 30px auto !important;
    padding: 0 !important;
    width: 240px;
  }
}

@media (max-width: 768px) {
  .snsarea {
    display: flow-root;
    /* 子要素の高さ・floatを正しく計算してクリアする */
    width: 100%;
    margin-bottom: 24px;
    /* 下のフッター（.load_foot）との間に余白を確保 */
    position: relative;
    z-index: 1;
  }

  .load_foot {
    clear: both;
    /* 万が一 float が残っていても下へ押し出す */
    position: relative;
    z-index: 1;
  }
}

.spm-sub-toggle-content ul {
  margin: 0;
}

.spm-sub-toggle-content li {
  font-size: 14px;
  margin-right: 20px;
  line-height: 2.0em;
}

@media screen and (min-width: 768px) {
  .img-bg-20 .textbox03 {
    display: flex !important;
  }

  .img-bg-20 .textbox03 section.block01 {
    width: 50% !important;
  }

  .img-bg-20 .textbox03 section.block02 {
    width: 52% !important;
  }

  #linkarea {
    padding: 0 !important;
  }

  div#fix {
    padding: 40px 2% 20px;
  }

  .img-bg-20 {
    margin-bottom: 0 !important;
  }

  .img-bg-20 .textbox03 section {
    margin-bottom: 0 !important;
  }
}

.spm-sub-toggle-content p.linkarea a {
  background: #365ec2;
  color: #fff;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  margin: 5px auto;
  display: block;
  width: 150px;
}

.spm-sub-feature-card p.linkarea a {
  background: #fff;
  color: #1d75ce;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  margin: 5px auto;
  display: block;
  width: 150px;
  font-weight: bold;
}

/* ==========================================================================
   無限スライダー領域（spm-sub-slider-outer）PC表示時の幅制限（最大800px）
   ========================================================================== */

/* 801px以上のデスクトップ表示時 */
@media screen and (min-width: 801px) {
  .spm-sub-slider-outer {
    max-width: 800px !important;
    /* 最大幅を800pxに制限 */
    width: 100% !important;
    /* 800px未満のウィンドウサイズ時は可変 */
    margin-left: auto !important;
    /* 左右オートマージンで中央寄せ */
    margin-right: auto !important;
    overflow: hidden !important;
    /* 800pxからはみ出るスライダーカードをマスク（非表示） */
    box-sizing: border-box;
  }
}

/* モバイル・タブレット表示（800px以下） */
@media screen and (max-width: 800px) {
  .spm-sub-slider-outer {
    width: 100% !important;
    max-width: none !important;
    overflow: hidden !important;
  }
}

.spm-sub-hero-body h1 {
  font-size: 16px;
  text-align: center;
  display: block;
  margin-bottom: 15px;
  float: none;
  2.5em
}

.spm-sub-hero-body h1 span {
  font-size: 35px;
}

/* ==========================================================================
   ARCHIVE PAGINATION (ページネーション)
   ========================================================================== */
.spm-archive-pagination {
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spm-pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.spm-pagination-item {
  margin: 0;
  padding: 0;
}

.spm-pagination-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* ホバー時の演出 */
.spm-pagination-link:hover:not(.is-active):not(.is-disabled) {
  border-color: #18a3f2;
  color: #18a3f2;
  background-color: #f0f9ff;
  transform: translateY(-1px);
}

/* 現在のページ（アクティブ）のスタイル */
.spm-pagination-link.is-active {
  background-color: #18a3f2;
  border-color: #18a3f2;
  color: #ffffff;
  cursor: default;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* 前へ・次へ矢印アイコンのサイズ調整 */
.spm-pagination-prev span,
.spm-pagination-next span {
  font-size: 18px;
  line-height: 1;
}

/* 非活性（無効化）状態のボタン（最初のページで「前へ」を押せない時など） */
.spm-pagination-link.is-disabled {
  opacity: 0.4;
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  pointer-events: none;
}

@media (min-width: 768px) {

  .full-bg {
    width: 100vw;
    height: auto;
    background-image: url('../images/main-pc.jpg');
    background-size: cover;
    background-position: center;
    display: block;
    align-items: center;
    justify-content: center;
  }

  .glass-box {
    background: rgba(255, 255, 255, 0.3);
    /* 半透明にする */
    backdrop-filter: blur(15px);
    /* 後ろにある画像をぼかす */
    -webkit-backdrop-filter: blur(15px);
    /* Safari対策 */
    border-radius: 10px;
    text-align: center;
  }

  .glass-box-inner img {
    max-width: 1280px;
    margin: 0 auto;
  }
}


/* モバイル表示時のサイズ調整 */
@media (max-width: 768px) {

  .glass-box {
    max-width: 100%;
    margin: 0 auto;
  }

  .spm-archive-pagination {
    margin: 30px 0 16px;
  }

  .spm-pagination-list {
    gap: 6px;
  }

  .spm-pagination-link {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }
}

.toggle-thumb {
  width: 200px;
  margin: 0 auto;
}

.toggle-thumb img {
  width: 100%;
  border-radius: 20px;
}

.intro-text {
  font-size: 14px !important;
}

.news-date {
  font-size: 14px !important;
  font-weight: bold;
}

.newsarea a {
  font-size: 14px;
}