@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/


/* =====================================================
   01. ReThink デザイントークン
===================================================== */

:root {
  --rt-navy: #414c73;
  --rt-navy-dark: #29375f;
  --rt-blue: #4258bd;
  --rt-blue-soft: #eef3ff;

  --rt-text: #29375f;
  --rt-text-light: #687593;

  --rt-white: #ffffff;
  --rt-border: #e1e7f2;

  --rt-radius-lg: 28px;
  --rt-radius-md: 18px;
  --rt-radius-sm: 12px;

  --rt-shadow-lg:
    0 8px 22px rgba(49, 66, 116, 0.06),
    0 24px 62px rgba(49, 66, 116, 0.09);

  --rt-shadow-md:
    0 7px 18px rgba(49, 66, 116, 0.06),
    0 16px 38px rgba(49, 66, 116, 0.08);

  --rt-shadow-sm:
    0 6px 18px rgba(49, 66, 116, 0.07);
}


/* =====================================================
   02. サイト全体
===================================================== */

body {
  color: var(--rt-text);
  background:
    radial-gradient(
      circle at 8% 3%,
      rgba(113, 137, 217, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 94% 12%,
      rgba(175, 210, 255, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(206, 220, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #f8faff 0%,
      #eef3fc 50%,
      #f7f9ff 100%
    );
  background-attachment: fixed;
}

#container,
.content,
.content-in {
  background: transparent;
}

.content-in {
  box-sizing: border-box;
  padding-top: 34px;
  padding-bottom: 64px;
}

.main {
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 2%,
      rgba(115, 139, 220, 0.10),
      transparent 30%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(248, 250, 255, 0.96) 52%,
      rgba(243, 247, 255, 0.97) 100%
    );
  border: 1px solid rgba(222, 229, 242, 0.92);
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-lg);
}


/* =====================================================
   03. 記事・固定ページ 共通
===================================================== */

.entry-content {
  color: var(--rt-text);
}

.entry-content p {
  color: var(--rt-text);
  line-height: 1.9;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--rt-navy-dark);
  letter-spacing: 0.02em;
}

.entry-content h2,
.entry-content h3 {
  border: 0;
  background: transparent;
}

.entry-content a {
  color: var(--rt-blue);
  text-decoration-color: rgba(66, 88, 189, 0.35);
  text-underline-offset: 4px;
}

.entry-content a:hover {
  color: var(--rt-navy-dark);
}

.entry-content .wp-block-group.has-background {
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-sm);
}

.entry-content details {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-sm);
}

.entry-content details summary {
  color: var(--rt-navy-dark);
  font-weight: 700;
}

.entry-content table {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-sm);
}

.entry-content table th {
  color: var(--rt-navy-dark);
  background: #f1f5fc;
}

.entry-content table td {
  border-color: #e7ebf3;
}


/* =====================================================
   04. ボタン共通
===================================================== */

.wp-block-button__link,
.entry-content .btn,
.entry-content a.btn {
  box-sizing: border-box;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #5268ce 0%,
      #3549a5 55%,
      #283a85 100%
    );
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(44, 63, 145, 0.22);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.wp-block-button__link:active,
.entry-content .btn:active,
.entry-content a.btn:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .wp-block-button__link:hover,
  .entry-content .btn:hover,
  .entry-content a.btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
      0 16px 34px rgba(44, 63, 145, 0.28);
  }
}


/* =====================================================
   05. 入力フォーム
===================================================== */

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="password"],
.entry-content input[type="number"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content select,
.entry-content textarea {
  box-sizing: border-box;
  color: var(--rt-text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce3f0;
  border-radius: 12px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus {
  outline: none;
  border-color: #7a8fd9;
  box-shadow:
    0 0 0 4px rgba(91, 115, 205, 0.12);
}


/* =====================================================
   06. PMPro 共通
===================================================== */

.pmpro_card,
.pmpro_section,
.pmpro_box {
  border-color: var(--rt-border);
}

.pmpro_btn,
.pmpro_button,
.pmpro_submit {
  border-radius: 999px;
}


/* =====================================================
   07. Cocoon既存カルーセル
===================================================== */

.section-first-posts-carousel .carousel-title,
.section-first-posts-carousel h3,
.section-first-posts-carousel .entry-title {
  height: 3em;
  overflow: hidden;
  line-height: 1.5;
}


/* =====================================================
   08. ReThink 新着コンテンツカルーセル
===================================================== */

.rethink-video-carousel {
  width: 100%;
  margin: 34px 0;
  padding: 28px 24px 30px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(218, 226, 241, 0.9);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      #f7faff 0%,
      #edf4ff 100%
    );
  box-shadow: var(--rt-shadow-md);
}

.rethink-video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.rethink-video-title {
  margin: 0;
  padding: 0;
  color: var(--rt-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.rethink-video-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.rethink-video-prev,
.rethink-video-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 0 3px;
  color: var(--rt-navy);
  background: #ffffff;
  border: 1px solid #cbd9e7;
  border-radius: 50%;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.rethink-video-prev:active,
.rethink-video-next:active {
  transform: scale(0.94);
}

@media (hover: hover) {
  .rethink-video-prev:hover,
  .rethink-video-next:hover {
    color: #ffffff;
    background: var(--rt-navy);
    border-color: var(--rt-navy);
  }
}

.rethink-video-track {
  display: flex;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 3px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rethink-video-track::-webkit-scrollbar {
  display: none;
}

.rethink-video-card {
  flex: 0 0 52%;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(222, 229, 242, 0.95);
  border-radius: 16px;
  scroll-snap-align: start;
  box-shadow:
    0 6px 16px rgba(65, 76, 115, 0.08),
    0 15px 36px rgba(65, 76, 115, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) {
  .rethink-video-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 10px 22px rgba(65, 76, 115, 0.10),
      0 22px 44px rgba(65, 76, 115, 0.12);
  }
}

.rethink-video-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.rethink-video-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e6f0f7;
}

.rethink-video-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .rethink-video-card:hover .rethink-video-image img {
    transform: scale(1.025);
  }
}

.rethink-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #7182a1;
  font-size: 15px;
}

.rethink-video-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding-left: 2px;
  color: var(--rt-navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  line-height: 1;
}

.rethink-video-text {
  padding: 15px 17px 18px;
}

.rethink-video-card-title {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* =====================================================
   09. 指定ページ UI非表示
===================================================== */

.page-id-2 #header,
.page-id-3 #header,
.page-id-469 #header,
.page-id-470 #header,
.page-id-471 #header,
.page-id-472 #header,
.page-id-473 #header,
.page-id-474 #header,
.page-id-475 #header,
.page-id-476 #header,
.page-id-477 #header,
.page-id-544 #header,
.page-id-2 .entry-title,
.page-id-3 .entry-title,
.page-id-469 .entry-title,
.page-id-470 .entry-title,
.page-id-471 .entry-title,
.page-id-472 .entry-title,
.page-id-473 .entry-title,
.page-id-474 .entry-title,
.page-id-475 .entry-title,
.page-id-476 .entry-title,
.page-id-477 .entry-title,
.page-id-544 .entry-title {
  display: none !important;
}

.page-id-2 .footer-logo,
.page-id-2 .footer-bottom-logo,
.page-id-3 .footer-logo,
.page-id-3 .footer-bottom-logo,
.page-id-469 .footer-logo,
.page-id-469 .footer-bottom-logo,
.page-id-470 .footer-logo,
.page-id-470 .footer-bottom-logo,
.page-id-471 .footer-logo,
.page-id-471 .footer-bottom-logo,
.page-id-472 .footer-logo,
.page-id-472 .footer-bottom-logo,
.page-id-473 .footer-logo,
.page-id-473 .footer-bottom-logo,
.page-id-474 .footer-logo,
.page-id-474 .footer-bottom-logo,
.page-id-475 .footer-logo,
.page-id-475 .footer-bottom-logo,
.page-id-476 .footer-logo,
.page-id-476 .footer-bottom-logo,
.page-id-477 .footer-logo,
.page-id-477 .footer-bottom-logo,
.page-id-544 .footer-logo,
.page-id-544 .footer-bottom-logo {
  display: none !important;
}

.page-id-2 .navi-in,
.page-id-3 .navi-in,
.page-id-469 .navi-in,
.page-id-470 .navi-in,
.page-id-471 .navi-in,
.page-id-472 .navi-in,
.page-id-473 .navi-in,
.page-id-474 .navi-in,
.page-id-475 .navi-in,
.page-id-476 .navi-in,
.page-id-477 .navi-in,
.page-id-544 .navi-in {
  display: none !important;
}


/* =====================================================
   10. 固定ページ 共通余白
===================================================== */

.page .content,
.page .entry-content,
.page article,
.page .main {
  margin: 0;
  padding: 0;
}


/* =====================================================
   11. ページID544 LP専用
===================================================== */

body.page-id-544 #content,
body.page-id-544 .content-in,
body.page-id-544 main.main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* =====================================================
   12. 指定固定ページ カバーブロック
===================================================== */

@media (max-width: 767px) {
  .page-id-254 .wp-block-cover,
  .page-id-196 .wp-block-cover,
  .page-id-189 .wp-block-cover,
  .page-id-191 .wp-block-cover,
  .page-id-194 .wp-block-cover,
  .page-id-445 .wp-block-cover {
    min-height: 180px !important;
  }

  .page-id-254 .wp-block-cover__image-background,
  .page-id-196 .wp-block-cover__image-background,
  .page-id-189 .wp-block-cover__image-background,
  .page-id-191 .wp-block-cover__image-background,
  .page-id-194 .wp-block-cover__image-background,
  .page-id-445 .wp-block-cover__image-background {
    object-fit: contain !important;
    object-position: center;
  }

  .page-id-254 .wp-block-button__link,
  .page-id-196 .wp-block-button__link,
  .page-id-189 .wp-block-button__link,
  .page-id-191 .wp-block-button__link,
  .page-id-194 .wp-block-button__link,
  .page-id-445 .wp-block-button__link {
    padding: 8px 18px;
    font-size: 14px;
  }
}


/* =====================================================
   13. タブレット
===================================================== */

@media screen and (max-width: 834px) {
  .rethink-video-carousel {
    padding: 25px 20px 27px;
  }

  .rethink-video-card {
    flex-basis: 68%;
  }
}


/* =====================================================
   14. スマホ
===================================================== */

@media screen and (max-width: 781px) {
  body {
    background-attachment: scroll;
  }

  .content-in {
    padding: 14px 8px 40px;
  }

  .main {
    border-radius: 20px;
    box-shadow:
      0 7px 18px rgba(49, 66, 116, 0.06),
      0 16px 36px rgba(49, 66, 116, 0.07);
  }

  .entry-content {
    box-sizing: border-box;
  }

  .entry-content h1 {
    font-size: 28px;
    line-height: 1.45;
  }

  .entry-content h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .entry-content h3 {
    font-size: 20px;
    line-height: 1.55;
  }
}

@media screen and (max-width: 480px) {
  .rethink-video-carousel {
    margin: 26px 0;
    padding: 21px 14px 23px;
    border-radius: 16px;
  }

  .rethink-video-heading {
    margin-bottom: 16px;
  }

  .rethink-video-title {
    font-size: 21px;
  }

  .rethink-video-prev,
  .rethink-video-next {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  .rethink-video-track {
    gap: 12px;
    padding-right: 8px;
  }

  .rethink-video-card {
    flex-basis: 86%;
    border-radius: 14px;
  }

  .rethink-video-text {
    padding: 13px 14px 16px;
  }

  .rethink-video-card-title {
    font-size: 15px;
  }

  .rethink-video-play {
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
  }
}
/* =====================================================
   ReThink 学習ナビゲーション
   このCSSは style.css の一番下に追加
===================================================== */

.rt-navigation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 48px 0 30px;
}

.rt-back-button-wrap {
  margin: 30px 0;
  text-align: center;
}

.rt-study-footer {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid rgba(65, 76, 115, 0.14);
}

.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 240px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.rt-btn-icon {
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
  transition: transform 0.22s ease;
}

/* 戻るボタン */
.rt-btn-back {
  color: #414c73 !important;
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f7f9ff 100%
    );
  border: 1px solid #d7dfef;
  box-shadow:
    0 7px 18px rgba(65, 76, 115, 0.07),
    0 14px 32px rgba(65, 76, 115, 0.07);
}

/* 次へボタン */
.rt-btn-next {
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      #5c74db 0%,
      #465fc7 46%,
      #3248a8 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 9px 22px rgba(50, 72, 168, 0.18),
    0 18px 40px rgba(50, 72, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.rt-btn-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 40%;
  height: 100%;
  background:
    linear-gradient(
      110deg,
      transparent,
      rgba(255, 255, 255, 0.24),
      transparent
    );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

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

@media (hover: hover) {
  .rt-btn-back:hover {
    color: #29375f !important;
    background: #ffffff;
    border-color: #bfcbe2;
    transform: translateY(-3px);
    box-shadow:
      0 10px 24px rgba(65, 76, 115, 0.10),
      0 20px 42px rgba(65, 76, 115, 0.10);
  }

  .rt-btn-next:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow:
      0 13px 28px rgba(50, 72, 168, 0.24),
      0 24px 50px rgba(50, 72, 168, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .rt-btn-next:hover::before {
    left: 145%;
  }

  .rt-btn-back:hover .rt-btn-icon {
    transform: translateX(-4px);
  }

  .rt-btn-next:hover .rt-btn-icon {
    transform: translateX(4px);
  }
}

@media screen and (max-width: 768px) {
  .rt-navigation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    margin: 36px 0 24px;
  }

  .rt-btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 15px;
  }

  .rt-back-button-wrap {
    margin: 24px 0;
  }

  .rt-study-footer {
    margin-top: 52px;
    padding-top: 24px;
  }
}
/* =====================================================
   学習ナビゲーション 最終調整
===================================================== */

.rt-navigation {
  max-width: 560px;
  margin: 42px auto 28px;
}

.rt-navigation .rt-btn {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 15px 22px;
  box-sizing: border-box;
  border-radius: 18px;
  font-size: 16px;
}

/* 戻る */
.rt-navigation .rt-btn-back {
  color: #414c73 !important;
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f6f8ff 100%
    );
  border: 1px solid #d5deef;
}

/* 次へ */
.rt-navigation .rt-btn-next {
  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      #566fd3 0%,
      #3d52b3 55%,
      #2e438f 100%
    );
}

/* 下の全学習コンテンツボタンも幅を揃える */
.rt-study-footer .rt-back-button-wrap {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.rt-study-footer .rt-btn {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border-radius: 18px;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .rt-navigation {
    max-width: 100%;
    gap: 12px;
    margin: 36px 0 24px;
  }

  .rt-navigation .rt-btn,
  .rt-study-footer .rt-btn {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    font-size: 15px;
  }

}
/* =====================================================
   学習ナビゲーション 色の最終指定
   必ずstyle.cssの一番下に置く
===================================================== */

/* 戻るボタン：白 */
.entry-content .rt-navigation .rt-btn-back {
  color: #414c73 !important;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f4f7ff 100%
    ) !important;

  border: 1px solid #d4deef !important;

  box-shadow:
    0 8px 20px rgba(65, 76, 115, 0.08),
    0 16px 36px rgba(65, 76, 115, 0.08) !important;
}

/* 次の学習ボタン：青 */
.entry-content .rt-navigation .rt-btn-next {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      #5c74db 0%,
      #465fc7 48%,
      #3248a8 100%
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.18) !important;

  box-shadow:
    0 10px 24px rgba(50, 72, 168, 0.20),
    0 20px 42px rgba(50, 72, 168, 0.18) !important;
}

/* ホバー */
@media (hover: hover) {

  .entry-content .rt-navigation .rt-btn-back:hover {
    color: #29375f !important;
    background: #ffffff !important;
  }

  .entry-content .rt-navigation .rt-btn-next:hover {
    color: #ffffff !important;
    filter: brightness(1.05);
  }
}
/* =========================================
   記事下の「戻る・次へ」ボタン
========================================= */

.single-post .rt-navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.single-post .rt-navigation .rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 14px 26px;
  box-sizing: border-box;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
}

/* 戻るボタン */
.single-post .rt-navigation .rt-btn-back {
  color: #414c73 !important;
  background: #ffffff !important;
  border: 1px solid #d5deef !important;
  box-shadow:
    0 8px 20px rgba(65, 76, 115, 0.08),
    0 16px 36px rgba(65, 76, 115, 0.08) !important;
}

/* 次へボタン */
.single-post .rt-navigation .rt-btn-next {
  color: #ffffff !important;
  background:
    linear-gradient(
      135deg,
      #5c74db 0%,
      #465fc7 48%,
      #3248a8 100%
    ) !important;
  border: none !important;
  box-shadow:
    0 10px 24px rgba(50, 72, 168, 0.20),
    0 20px 42px rgba(50, 72, 168, 0.18) !important;
}

@media screen and (max-width: 768px) {
  .single-post .rt-navigation {
    display: block;
  }

  .single-post .rt-navigation .rt-btn {
    display: flex;
    width: 100%;
    min-width: 0;
    margin-bottom: 14px;
  }
}
/* =====================================================
   固定ページ下部
   全学習コンテンツボタン
===================================================== */

.rt-all-content-wrap {
  width: 100%;
  max-width: 720px;
  margin: 56px auto 28px;
  padding: 0 18px;
  box-sizing: border-box;
}

.rt-all-content-button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;

  width: 100%;
  min-height: 92px;
  box-sizing: border-box;
  padding: 20px 24px;

  color: #29375f !important;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(111, 132, 214, 0.13),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f5f8ff 100%
    );

  border: 1px solid #d8e1f1;
  border-radius: 24px;

  box-shadow:
    0 8px 22px rgba(65, 76, 115, 0.07),
    0 20px 48px rgba(65, 76, 115, 0.10);

  text-decoration: none !important;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.rt-all-content-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  background:
    linear-gradient(
      135deg,
      #edf2ff 0%,
      #dde6ff 100%
    );

  border-radius: 16px;

  font-size: 25px;
  line-height: 1;
}

.rt-all-content-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  text-align: left;
}

.rt-all-content-text strong {
  color: #29375f;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.rt-all-content-text small {
  color: #71809f;
  font-size: 13px;
  line-height: 1.6;
}

.rt-all-content-arrow {
  color: #5268bd;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.22s ease;
}

@media (hover: hover) {

  .rt-all-content-button:hover {
    color: #29375f !important;
    transform: translateY(-4px);

    border-color: #bdcae3;

    box-shadow:
      0 12px 28px rgba(65, 76, 115, 0.10),
      0 28px 58px rgba(65, 76, 115, 0.14);
  }

  .rt-all-content-button:hover
  .rt-all-content-arrow {
    transform: translateX(5px);
  }
}

.rt-all-content-button:active {
  transform: scale(0.985);
}

/* スマホ */
@media screen and (max-width: 600px) {

  .rt-all-content-wrap {
    margin: 42px auto 22px;
    padding: 0 12px;
  }

  .rt-all-content-button {
    grid-template-columns: auto 1fr auto;
    gap: 13px;

    min-height: 82px;
    padding: 16px 17px;

    border-radius: 20px;
  }

  .rt-all-content-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    font-size: 21px;
  }

  .rt-all-content-text strong {
    font-size: 16px;
  }

  .rt-all-content-text small {
    font-size: 11px;
  }

  .rt-all-content-arrow {
    font-size: 23px;
  }
}