/* =========================================
   1. ベース・リセット（全体定義）
   ========================================= */

:root {
  --main-color: #9dbda6;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #e5e7eb;
  --link-hover-color: #7da588;
  --section-bg: #fdfdfd;

  --primary-mint: #019d90;
  --primary-hover: #018075;
  --light-mint: #aae4d8;
  --light-mint-accent: #aae4d8;
  --light-pink-accent: #fbe7ed;
  --accent-pink: #dc4d79;
  --accent-pink-hover: #c43b66;
  --text-main: #2b2835;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --white: #ffffff;
  --bg-light: #f9fafb;

  --primary-color: var(--primary-mint);
  --primary-dark: var(--primary-hover);
  --secondary-color: var(--accent-pink);
  --accent-color: var(--light-mint);

  --shadow-flat: 6px 6px 0px rgba(1, 157, 144, 0.3);
  --shadow-flat-hover: 3px 3px 0px rgba(1, 157, 144, 0.5);
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.global-nav a:hover {
  color: var(--primary-color);
}

/* ナビゲーション内のボタンに対するリセット（global-nav a の transition: color に勝たせる） */
.global-nav a.btn {
  transition: all 0.2s ease;
}

.link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list li {
  width: 100%;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas:
    "thumb content"
    "thumb links";
  gap: 10px 20px;
  align-items: start;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 0;
}

.link-list a {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--text-color);
  background-color: #f9f9f9;
  border-radius: 4px;
  transition:
    background-color 0.2s,
    color 0.2s;
  border: 1px solid transparent;
}

.link-list a:hover {
  color: #fff;
  opacity: 0.7;
}

.link-list a i {
  margin-right: 10px;
  color: var(--main-color);
  flex-shrink: 0;
}

.link-list a:hover i {
  color: #fff;
}

.logo img {
  height: 60px;
  width: auto;
}

@media (max-width: 768px) {
  .logo img {
    height: 20px;
  }
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fa-line {
  color: #06c755;
}

@media (max-width: 768px) {
  .link-list li {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "content"
      "links";
    gap: 15px;
  }
}

.thumb-video-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  border: none !important;
  /* aタグ由来の意図しないホバー枠線を排除 */
  outline: none !important;
}

.thumb-video-link:hover img {
  transform: scale(1.05);
}

.link-list a .play-icon-overlay i {
  color: #ffffff !important;
  /* 三角アイコンを確実に白に強制 */
  margin: 0 0 0 4px;
  /* common.cssの margin-right 継承を打ち消し、光学調整のズレを適用 */
}

.thumb-video-link:hover .play-icon-overlay {
  background-color: #ff0000;
  /* ホバーでYouTubeのような赤色のアクティブ感 */
  transform: translate(-50%, -50%) scale(1.05);
  /* ほんの少しだけ拡大 */
}

.color-line {
  color: #06c755;
}

.forgot-password a:hover {
  color: var(--primary-mint);
}

.invitation-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.global-nav ul li {
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .global-nav ul li {
    border-bottom: 1px solid #eee;
    padding: 6px 0;
    width: 100%;
  }
}

.global-nav ul li:not(.nav-action-buttons)+li:not(.nav-action-buttons)::before {
  content: "/";
  color: var(--main-color);
  font-weight: bold;
  margin: 0 15px;
  /* 親要素のgapの代わりにレイアウトの余白としてmarginを追加 */
}

@media (max-width: 900px) {
  .global-nav ul li:not(.nav-action-buttons)+li:not(.nav-action-buttons)::before {
    content: none;
  }
}

@media (max-width: 900px) {

  /* メニュー展開時はスクロール禁止・上部に置かれるの防止 */
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .hamburger {
    position: fixed;
    top: 25px;
    /* または適切な位置 */
    right: 20px;
  }

  .nav-action-buttons a {
    width: 100%;
    justify-content: center;
  }

  /* メニュー展開時 */
  body.nav-open .global-nav {
    right: 0;
  }

  body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  background-color: #fff;
  margin: 0;
  padding: 0;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  color: var(--text-main);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
  }

  50% {
    transform: translateY(-20px) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
  }
}

.shape-triangle-outline {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid var(--white);
  position: relative;
}

.shape-triangle-outline::after {
  content: "";
  position: absolute;
  top: 6px;
  left: -24px;
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 40px solid #9dbda6;
  z-index: -1;
}

.slanted-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 120%;
  object-fit: cover;
  display: block;
  transform: translate(-50%, -50%) skewX(15deg) scale(1.2);
}

@media (max-width: 768px) {
  .slanted-item img {
    transform: translate(-50%, -50%);
    /* スケールと傾きの解除 */
    width: 100%;
    height: 100%;
  }
}

.main-line-1 {
  color: #333;
}

.main-line-2 {
  color: var(--accent-pink);
  font-size: 72px;
  display: inline-block;
  margin-top: 5px;
}

@media (max-width: 1024px) {
  .main-line-2 {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .main-line-2 {
    font-size: 44px;
  }
}

.highlight-yellow {
  background: linear-gradient(transparent 50%, #ffff00 50%);
  padding: 0 5px;
  color: var(--text-main);
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  background: var(--white);
  border: 2px solid #eee;
  border-radius: var(--radius-md);
}

.news-list li {
  border-bottom: 1px dashed #ddd;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  text-decoration: none;
  color: var(--text-main);
  transition: background-color 0.2s;
  gap: 30px;
  position: relative;
}

.news-list a:hover {
  background-color: #f9fdfa;
}

.news-list a::after {
  content: "\f054";
  /* FontAwesome アイコン（矢印） */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  color: var(--primary-color);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 10;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 300px;
  margin: 0 15px;
  border-radius: var(--radius-md);
  overflow: visible;
  /* 装飾文字が上にはみ出るため表示させる */
  position: relative;
  /* 装飾文字の絶対配置基準 */
  box-shadow: var(--shadow-flat);
  border: 1px solid var(--border-color);
  background: var(--white);
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  /* 外枠のoverflow解除に伴い画像側で丸める */
  -webkit-user-drag: none;
  /* マウスドラッグ時の標準機能（ゴースト表示等）を禁止 */
  pointer-events: none;
}

/* =========================================
   2. レイアウト構造（ヘッダー・フッター・ナビ等）
   ========================================= */

.container {
  width: 100%;
  max-width: 1100px;
  /* 全体の標準コンテンツ幅に統一 */
  margin: 0 auto;
  padding: 0 20px;
  /* 上下の無駄な余白を消去し、スマホ用に横の安全幅だけ残す */
  position: relative;
  z-index: 2;

  background: transparent;
}

.header-image-container {
  text-align: center;
  margin-bottom: 30px;
}

.header-image-container img {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: inline-block;
}

.site-footer {
  padding: 60px 0 20px;
  border-top: none;
  text-align: center;
  font-size: 14px;
  background-color: #333;
  color: #fff;
  position: relative;
  z-index: 20;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

@media (max-width: 768px) {
  .site-footer ul {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.footer-logo img {
  height: 60px;
  filter: brightness(0) invert(1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.footer-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.breadcrumb {
  list-style: none;
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #666;
  align-items: center;
}

@media (max-width: 768px) {
  .breadcrumb {
    margin-bottom: 20px;
  }
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  color: #ccc;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.site-header {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 20px;
  }
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 900px) {
  .header-actions {
    display: none;
    /* スマホ時は右上のボタンをメニュー内に移動または非表示（今回はシンプルにハンバーガー化） */
  }
}

@media (max-width: 768px) {
  .header-actions {
    width: auto;
    margin: 0;
  }
}

.bp-wrapper .container {
  position: relative;
  z-index: 30;
}

@media (max-width: 768px) {
  .bp-wrapper .container {
    padding: 0;
  }
}

.btn-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: var(--accent-pink);
  color: var(--white) !important;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-action:hover {
  background-color: var(--accent-pink-hover);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 20px;
  }
}

.section-wrapper .container,
.bg-layout-1 .container,
.bg-layout-2 .container,
.bg-layout-3 .container {
  background: transparent;
  position: relative;
  z-index: 30;
}

@media (max-width: 768px) {
  .footer-logo img {
    height: 30px;
  }
}

/* =========================================
   3. 汎用パーツ（ボタン・レイアウト枠・共通コンポーネント等）
   ========================================= */

/* PC/SP 表示切り替え */
.view-sp {
  display: none;
}

@media (max-width: 768px) {
  .view-pc {
    display: none;
  }

  .view-sp {
    display: block;
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  line-height: 1 !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s ease;
  transform: translate(0, 0);
}

.btn:hover {
  transform: translate(2px, 2px);
  opacity: 0.9;
}

/* 画像バナー用の汎用ホバーエフェクト */
a.img-banner-link {
  display: inline-block;
  transition: opacity 0.3s ease; /* transition: color の上書き用 */
}

a.img-banner-link:hover {
  opacity: 0.85;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translate(2px, 2px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  padding: 10px 24px;
  background: var(--primary-mint);
  color: var(--white);
  border: 2px solid var(--primary-mint);
  border-radius: 50px;
  font-size: 14px;
  line-height: 1 !important;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.8;
  color: var(--white);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  transition: all 0.2s;
  font-weight: bold;
}

.btn-text:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.btn-text i {
  margin-left: 6px;
  transition: transform 0.2s;
}

.btn-lg {
  padding: 15px 30px !important;
  font-size: 16px !important;
}

.btn-block {
  width: 100% !important;
  max-width: 300px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center;
}

.btn-text:hover i {
  transform: translateX(5px);
}

/* ジャンルバー（フル幅） */
.bp-genre-bar {
  padding: 10px 0 15px;
  margin-top: 20px;
  margin-bottom: 0;
}

.genre-filter-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.genre-label {
  font-size: 14px;
  font-weight: bold;
  color: var(--accent-pink);
  white-space: nowrap;
}

/* カスタム・プルダウン */
.genre-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 240px;
}

.genre-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 5px 40px 5px 15px;
  background-color: var(--accent-pink);
  border: 1.5px solid var(--accent-pink);
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.genre-select:hover {
  background-color: var(--accent-pink-hover);
  border-color: var(--accent-pink-hover);
  box-shadow: 0 4px 12px rgba(220, 77, 121, 0.2);
}

.genre-select:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(220, 77, 121, 0.2);
}

@media (max-width: 768px) {
  .bp-genre-bar {
    padding: 12px 0;
  }

  .genre-filter-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .genre-label, .genre-select {
    font-size: 13px;
  }

  .genre-select-wrapper {
    max-width: 180px;
  }
}

.bp-tabs {
  margin-top: 30px;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 768px) {
  .bp-tabs {
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 0;
    border: none;
  }
}

.bp-tab-nav-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0 0 25px 0;
  border-bottom: 2px solid var(--primary-mint);
}

@media (max-width: 768px) {
  .bp-tab-nav-wrapper {
    margin: 0 -20px 25px -20px;
    padding: 0 50px 0 20px;
  }
}

.bp-tab-nav {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  list-style: none;
  padding: 5px 0 0;
  margin: 0;
  align-items: flex-end;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
}

.bp-tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-scroll-btn {
  display: none;
  position: absolute;
  top: 5px;
  /*タブの上部パディングに合わせる*/
  bottom: 0;
  width: 45px;
  border: none;
  cursor: pointer;
  z-index: 10;
  color: #666;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.tab-scroll-btn:hover {
  color: var(--primary-mint);
}

.tab-scroll-btn.left {
  left: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0));
  text-align: left;
  justify-content: flex-start;
  padding-left: 5px;
}

.tab-scroll-btn.right {
  right: 0;
  background: linear-gradient(270deg,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0));
  text-align: right;
  justify-content: flex-end;
  padding-right: 5px;
}

.tab-scroll-btn.visible {
  display: flex;
}

.tab-btn {
  white-space: nowrap;
  padding: 12px 24px;
  background: #f4f6f8;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  font-size: 14px;
  transition: all 0.2s;
  margin-bottom: -2px;
  /* アクティブタブの下線を共通枠線に重ねる */
}

@media (max-width: 768px) {
  .tab-btn {
    padding: 12px 15px;
    font-size: 13px;
  }
}

.tab-btn:hover {
  background: #e9ecef;
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary-mint);
  border: 1px solid var(--primary-mint);
  border-top: 3px solid var(--primary-mint);
  border-bottom: 2px solid var(--white);
  /* 下地と結合 */
  padding-top: 10px;
  /* 上部ボーダーが太くなった分内側を削って高さを揃える */
}

.tab-content {
  display: none;
  animation: fadeInTab 0.3s forwards;
}

.tab-content.active {
  display: block;
}

.nav-btn {
  flex: 1;
  min-width: 160px;
  /* PC/タブレットでも極端に潰れないように最低幅を確保 */
  text-align: center;
  background-color: var(--white);
  border: 2px solid var(--primary-mint);
  color: var(--primary-mint);
  padding: 10px 10px;
  line-height: 1 !important;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease;
  font-family: inherit;
  transform: translate(0, 0);
}

@media (max-width: 768px) {
  .nav-btn {
    min-width: calc(50% - 6px);
    /* スマホでは2列で綺麗に折り返すように計算 (gap10px半分強) */
    flex: 0 0 calc(50% - 6px);
    /* 端数のボタンが横幅いっぱいに伸びるのを防止 */
    border-radius: 50px;
    /* カプセル型に戻す */
    padding: 8px 5px;
    line-height: 1.4 !important;
    flex-basis: calc(33.333% - 10px);
    font-size: 13px;
  }
}

.nav-btn:hover {
  background-color: var(--primary-mint);
  color: var(--white);
  transform: translate(2px, 2px);
}

.nav-btn.active {
  background-color: var(--primary-mint);
  color: var(--white);
  transform: translate(2px, 2px);
}

.nav-btn.nav-btn-line {
  border-color: #06c755;
  color: #06c755;
}

.nav-btn.nav-btn-line:hover,
.nav-btn.nav-btn-line.active {
  background-color: #06c755;
  color: #fff;
}

.nav-btn.nav-btn-google {
  border-color: #4285f4;
  color: #4285f4;
}

.nav-btn.nav-btn-google:hover,
.nav-btn.nav-btn-google.active {
  background-color: #4285f4;
  color: #fff;
}

.nav-btn.nav-btn-yahoo {
  border-color: #ff0033;
  color: #ff0033;
}

.nav-btn.nav-btn-yahoo:hover,
.nav-btn.nav-btn-yahoo.active {
  background-color: #ff0033;
  color: #fff;
}

.nav-btn.nav-btn-bp {
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.nav-btn.nav-btn-bp:hover,
.nav-btn.nav-btn-bp.active {
  background-color: var(--primary-hover);
  color: #fff;
}

.btn-primary.copied {
  background-color: #2980b9;
  border-color: #2980b9;
}

.wrapper-line .tab-btn.active,
.wrapper-line .tab-btn:hover {
  background-color: #06c755;
  border-color: #06c755;
  color: #fff;
}

.wrapper-google .tab-btn.active,
.wrapper-google .tab-btn:hover {
  background-color: #4285f4;
  border-color: #4285f4;
  color: #fff;
}

.wrapper-yahoo .tab-btn.active,
.wrapper-yahoo .tab-btn:hover {
  background-color: #ff0033;
  border-color: #ff0033;
  color: #fff;
}

.wrapper-bp .tab-btn.active,
.wrapper-bp .tab-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.invitation-card {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .invitation-card {
    padding: 30px 20px;
  }
}

.quick-link-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 15px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-flat);
  transition: all 0.2s ease;
  border: 2px solid var(--primary-color);
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .quick-link-card {
    padding: 20px 15px;
  }
}

.quick-link-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--primary-color);
}

.card-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .card-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }
}

.card-text h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-main);
  font-weight: bold;
}

.card-text p {
  font-size: 12px;
  line-height: 1.5;
}


/* ヘッダー・グローバルナビ */
.global-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
}

.global-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  padding: 10px 15px;
  display: block;
  position: relative;
  transition: color 0.3s;
  font-size: 14px;
  white-space: nowrap;
}

.global-nav a.active {
  color: var(--main-color);
  border-bottom: 4px solid var(--main-color);
  margin-bottom: -2px;
}

/* Headings & Layout */
.bp-section {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  width: 100%;
  background: transparent;
  padding: 40px 0;
  border-radius: 0;
  border: none;
}

.main-title {
  grid-column: 1 / -1;
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 28px;
  color: var(--text-color);
  border-left: 6px solid var(--main-color);
  padding-left: 15px;
  margin-bottom: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

.page-title-wrapper {
  position: relative;
  width: 100vw;
  margin: 20px calc(50% - 50vw) 50px;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(251, 231, 237, 0.6), rgba(170, 228, 216, 0.5));
  text-align: center;
  overflow: hidden;
}

@media (max-width: 900px) {
  .page-title-wrapper {
    padding: 40px 15px;
    margin-bottom: 30px;
  }
}

.page-title-wrapper .page-title {
  margin: 0 0 15px 0;
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .page-title-wrapper .page-title {
    font-size: 26px;
  }
}

.page-title-wrapper .page-lead {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .page-title-wrapper .page-lead {
    text-align: left;
  }
}

/* 幾何学的なあしらい（装飾） */
.page-title-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: calc(50% - 400px);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-image: radial-gradient(var(--primary-hover) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.1;
  pointer-events: none;
}

.page-title-wrapper::after {
  content: "";
  position: absolute;
  bottom: -35px;
  right: calc(50% - 550px);
  width: 160px;
  height: 160px;
  background: var(--primary-mint);
  opacity: 0.15;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  pointer-events: none;
  transform: rotate(35deg);
}

.main-title i {
  color: var(--main-color);
}

.main-title i.icon-google {
  color: #4285f4;
}

.main-title i.icon-yahoo {
  color: #ff0033;
}

.sub-section {
  margin-bottom: 30px;
}

.sub-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.sub-title {
  display: block;
  font-family: "Noto Serif JP", serif;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
}

/* フッタースタイル */
.copyright {
  color: #999;
  font-size: 12px;
  margin-top: 30px;
}

/* 特徴ボックスのスタイル */
.features-box {
  border: 2px solid var(--main-color);
  background-color: #f9fdfa;

  padding: 20px;

  border-radius: 10px;
}

.features-box .sub-title {
  border-bottom: 1px dotted var(--main-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sub-title {
  display: block;
  font-family: "Noto Serif JP", serif;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
}

/* Info Box (汎用囲み枠) */
.info-box {
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  padding: 20px;
  margin-top: 20px;
}

.info-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.info-box> :last-child {
  margin-bottom: 0;
}


/* ユーティリティクラス */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mr-10 {
  margin-right: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-20 {
  margin-top: 20px;
}

/* ---
   ヘッダー
   --- */

.logo {
  font-size: 0;
}

/* スマホ用改行：PCでは非表示にする */
.sp-br {
  display: none;
}

/* 各セクションを囲むラッパー */
.bp-wrapper {
  padding: 10px 0;
  margin: 15px 0;
  /* ページ全体が同じ背景にならないよう隙間を設ける */
  position: relative;
}

@media (max-width: 768px) {
  .bp-wrapper {
    margin: 0;
    padding: 0;
  }
}

/* ナビゲーション領域専用 */
.bp-wrapper-nav {
  position: relative;
  z-index: 30;
  margin: 0;
  background-color: var(--bg-light);
}

@media (max-width: 768px) {
  .bp-wrapper-nav {
    margin: 0;
    padding: 15px;
  }
}

/* ページ全体の背景装飾 */
.global-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

@media (max-width: 768px) {
  .global-decorations {
    display: none;
  }
}

/* マニュアル内の要素デザイン */
@media (max-width: 768px) {
  .bp-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px 20px;
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid var(--border-color);
  }
}

.bp-wrapper-nav .bp-section {
  box-shadow: none;
  border: none;
  padding: 0;
}

@media (max-width: 768px) {
  .bp-wrapper-nav .bp-section {
    padding: 15px 20px;
    margin-bottom: 15px;
  }
}

.bp-section .bp-lead {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-top: -10px;
  /* main-titleの下余白(30px)を相殺して近づける */
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .bp-section .bp-lead {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 30px;
  }
}


.sub-title {
  display: block;
  font-family: "Noto Serif JP", serif;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
}

@media (max-width: 768px) {

.sub-title {
  display: block;
  font-family: "Noto Serif JP", serif;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .sub-title {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
}
}

/* タブナビゲーションUI */
@media (max-width: 768px) {
  /* スマホ時は浮遊する装飾シェイプを非表示 */
}

#bp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* スマホ用改行：PCでは非表示にする */
@media (max-width: 768px) {
  .sp-br {
    display: initial;
  }
}

/* マニュアルリンクの分割 (サムネイルレイアウト対応) */
.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.75);
  /* 一般的な動画プレイヤー風の角丸長方形 */
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* BP */
@media (max-width: 768px) {
  /* スマホ時は改行タグを有効化 */
}

/* サービス名カラー指定 */
.color-google {
  color: #4285f4;
}

.color-yahoo {
  color: #ff0033;
}

.color-bp {
  color: #9dbda6;
}

/* テンプレート固有のUI（メッセージボックス＆ラベル） */
.template-item {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .template-item {
    flex-direction: column;
    gap: 20px;
  }
}

.template-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  /* 中央にボタンを配置するため */
}

@media (max-width: 1024px) {
  .template-ui {
    align-items: stretch;
  }
}

.template-textarea {
  width: 100%;
  height: 250px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  color: var(--text-color);
  line-height: 1.6;
}

/* メタ情報（ラベル等） */
.template-meta {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 1024px) {
  .template-meta {
    width: 100%;
    order: -1;
    /* ラベルを上に持ってくる */
  }
}

.template-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.template-label {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  /* ボタンと混同しないように四角寄りに指定 */
  font-size: 12px;
  font-weight: bold;
}


/* 冒頭3行パターングリッド (汎用) */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.pattern-column {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
}

.pattern-column-title {
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: bold;
  border-bottom: 2px solid var(--border-color);
}

.pattern-column-text {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6;
}

.pattern-column-text+.pattern-column-text {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ccc;
}

/* おすすめ商品配信(Section3)・冒頭3行パターン固有レイアウト */
.pattern-reference-section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #ccc;
}

.pattern-reference-img-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.pattern-reference-img {
  width: 75%;
  max-width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .pattern-reference-img {
    width: 100%;
  }
}

.pattern-reference-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  position: relative;
}

.pattern-reference-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Form Styles */
.forgot-password {
  text-align: center;
  font-size: 13px;
}

.forgot-password a {
  color: #666;
  text-decoration: underline;
  transition: color 0.3s;
}

/* Membership Invitation Card */
.invitation-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.invitation-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: left;
}

/* ---
   グローバルナビ・ハンバーガーメニュー
   --- */

.global-nav {
  width: 100%;
}

@media (max-width: 900px) {
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    /* 初期状態は画面外 */
    width: 250px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 80px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .global-nav ul {
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .global-nav ul {
    flex-direction: column;
    padding: 0 20px;
    align-items: flex-start;
    gap: 0;
    border-bottom: none;
    width: 100%;
  }
}

.nav-action-buttons {
  position: absolute;
  top: 12px;
  right: 0;
  display: flex;
  gap: 10px;
  margin: 0;
}

@media (max-width: 900px) {
  .nav-action-buttons {
    position: static;
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .global-nav a {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* ---
   トップへ戻るボタン
   --- */

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px;
    bottom: 100px;
    width: 44px;
    height: 44px;
  }
}

.back-to-top.is-active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-pink);
  transform: translateY(-5px);
  color: #fff;
}


/* セクション全体のラッパー */
.section-wrapper {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding: 25px 0;
  }
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 25px;
  }
}

.section-title .en {
  display: inline-block;
  font-size: 40px;
  color: var(--text-main);
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  position: relative;
  line-height: 1.2;
}

.section-title .en::after {
  content: "";
  display: block;
  width: 100%;
  height: 12px;
  background: #ffff00;
  position: absolute;
  bottom: 6px;
  left: -5px;
  z-index: -1;
  transform: skewX(-15deg);
}

.section-title .ja {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  font-family: "Noto Serif JP", serif;
  margin-top: 10px;
  font-weight: normal;
  letter-spacing: 0.05em;
}

/* ---
   装飾パーツ
   --- */

.decoration-shape {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  transform: translateY(0) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
  animation: float var(--float-duration, 6s) ease-in-out infinite;
}

@media (max-width: 768px) {
  .decoration-shape {
    display: none;
  }
}

/* 形の定義 */
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid #9dbda6;
}

.shape-circle-dots {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #9dbda6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='black' stroke-width='8' stroke-dasharray='0 18' stroke-linecap='round' /%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='black' stroke-width='8' stroke-dasharray='0 18' stroke-linecap='round' /%3E%3C/svg%3E") no-repeat center / contain;
}

.shape-circle-fill {
  width: 40px;
  height: 40px;
  background-color: #20c5d2;
  border-radius: 50%;
}

/* サイズバリエーション */
.shape-xs {
  --scale: 0.5;
  --float-duration: 4s;
}

.shape-sm {
  --scale: 0.7;
  --float-duration: 5s;
}

.shape-md {
  --scale: 0.9;
  --float-duration: 6s;
}

.shape-lg {
  --scale: 1.2;
  --float-duration: 7s;
}

.shape-xl {
  --scale: 1.5;
  --float-duration: 8s;
}

.shape-xxl {
  --scale: 1.8;
  --float-duration: 9s;
}

.shape-3xl {
  --scale: 2.4;
  --float-duration: 10s;
}

/* 配置定義 */
.page-deco-1 {
  top: 5%;
  left: 2%;
}

.page-deco-2 {
  top: 15%;
  right: 2%;
  --rotate: 15deg;
}

.page-deco-3 {
  top: 35%;
  right: -2%;
  --rotate: 45deg;
}

.news-decoration-1 {
  top: 30%;
  left: 3%;
  --rotate: -15deg;
}

.news-decoration-2 {
  top: 50px;
  right: 5%;
  --rotate: 85deg;
}

/* ---
   ファーストビュー （ヒーローエリア）
   --- */

.slanted-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* スクロールインジケーター */
.scroll-down {
  display: none;
  position: absolute;
  top: -60px;

  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  color: var(--primary-color);
  font-family: "Arial", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .scroll-down {
    top: -30px;
  }
}

.scroll-down::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: var(--primary-color);
  animation: scrollDown 2s infinite;
  transform-origin: top;
}

/* Coming Soon */
.coming-soon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: #f9fafb;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
}

.coming-soon-box .soon-text {
  font-size: 24px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coming-soon-box .soon-sub {
  margin-top: 10px;
  font-size: 14px;
  color: #9ca3af;
}



/* Success Case Image Grid */
.diff-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.diff-item {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #fdfdfd;
  padding: 0;
}
.article-content .diff-item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
}
.diff-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #9ca3af;
  border-radius: 4px;
}
.diff-label.before {
  background: #9ca3af;
}
.diff-label.after {
  background: var(--accent-pink);
}

@media (max-width: 768px) {
  .diff-image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* =========================================
   4. ページ・機能固有スタイル
   ========================================= */

/* Special Section Carousel Link */
.carousel-slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.carousel-slide a:hover {
  opacity: 0.85;
}


/* 汎用背景レイアウト 1 (旧News) */
.bg-layout-1 {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 140px;
}

.bg-layout-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: -1;
}


/* 汎用背景レイアウト 2 (旧Links) */
.bg-layout-2 {
  position: relative;
  z-index: 10;

  padding: 100px 0;
  margin-top: -5vw;

  margin-bottom: -5vw;
}

.bg-layout-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light-pink-accent);
  clip-path: polygon(0 0, 100% 5vw, 100% calc(100% - 5vw), 0 100%);
  z-index: -1;
}

/* 汎用背景レイアウト 3 (旧Seminar) */
.bg-layout-3 {
  background-color: var(--light-mint);
  position: relative;
  z-index: auto;

  padding: 80px 0;
}

/* 汎用背景レイアウト 4 (旧Special) */
.bg-layout-4 {
  background-color: var(--white);
  padding: 160px 0 80px;
  position: relative;
  z-index: 20;

  margin-top: -5vw;
  clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%);
  overflow: hidden;
}

.special-carousel {
  width: 100vw;
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  padding: 60px 0 20px 0;
  /* 上部の装飾文字が見切れないようpadding-topを拡張 */
}

.carousel-track {
  display: flex;
  width: max-content;
  transition: transform 0.4s ease-in-out;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-track.grabbing {
  cursor: grabbing;
}

.carousel-slide img,
.carousel-slide a {
  -webkit-user-drag: none;
}

/* スライダーコントロール UI */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-prev,
.carousel-next {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary-color);
  color: var(--white);
}

.carousel-pagination {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .bg-layout-1 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .bg-layout-2 {
    margin-top: -10vw;
    padding: 30px 0 40px;
  }

  .bg-layout-3 {
    margin-top: -10vw;
    padding: 35px 0;
  }

  .bg-layout-4 {
    margin-top: -10vw;
    padding: 60px 0 45px;
  }

  .special-carousel {
    padding: 60px 0 10px 0;
  }

  .case-text {
    font-size: 2.2rem;
    top: -35px;
  }
}

.news-section {
  position: relative;
  z-index: 10;
}

/* ニュースリスト */
.news-date {
  font-size: 14px;
  font-weight: bold;
  font-family: "Arial", sans-serif;
  color: var(--primary-color);
  white-space: nowrap;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

@media (max-width: 768px) {
  .article-container {
    padding: 40px 15px 60px;
  }
}

.article-header {
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 15px;
}

.article-category {
  background-color: var(--primary-mint);
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
}

.article-date {
  color: #888;
  font-size: 14px;
}

.article-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 20px;
  border-left: none;
  padding-left: 0;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 24px;
  }
}

.article-eyecatch {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.article-content {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
}

.article-content h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: bold;
  padding: 15px;
  background-color: #f9fdfa;
  /* 薄いミント系 */
  border-left: 5px solid var(--primary-mint);
  margin: 50px 0 20px;
  border-radius: 0 4px 4px 0;
}

.article-content h3 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 2px dashed var(--border-color);
  padding-bottom: 10px;
  margin: 40px 0 15px;
}

.article-content p {
  margin-bottom: 25px;
}

.article-content a:not(.btn):not(.btn-text) {
  color: var(--primary-color);
  text-decoration: underline;
}

.article-content a:not(.btn):not(.btn-text):hover {
  text-decoration: none;
}

.article-content code {
  background-color: var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #c43b66;
}

.article-content ul,
.article-content ol {
  margin-bottom: 25px;
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content li:last-child {
  margin-bottom: 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.article-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.article-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: 1px solid var(--border-color);
}

.seminar-ended-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: bold;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.article-inner.bp-section {
  display: block;
  margin-top: 40px;
}

.manual-bp-logo {
  height: 30px;
  margin-right: 10px;
}

.manual-thumb {
  grid-area: thumb;
  width: 100%;
}

@media (max-width: 768px) {
  .manual-thumb {
    width: 100%;
  }
}

.manual-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border-color);
  background: var(--white);
  transition: transform 0.3s ease;
}

.manual-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

@media (max-width: 768px) {
  .manual-content {
    width: 100%;
  }
}

.manual-item-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
}

.manual-item-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.manual-item-links {
  grid-area: links;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  /* コンテンツ下部で右寄せ */
  gap: 8px;
  width: 100%;
}

@media (max-width: 768px) {
  .manual-item-links {
    width: 100%;
    justify-content: center;
    /* スマホではボタンを中央に配置 */
  }
}

.link-list .manual-item-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  /* ボタンを文字幅に合わせる */
  padding: 8px 24px;
  /* 余白を持たせてクリックしやすく */
  white-space: nowrap;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.link-list .manual-item-links a i {
  color: white;
}

.link-list .manual-item-links a.btn-pdf {
  background-color: var(--primary-mint);
  color: white;
  text-decoration: none;
  border: 1px solid var(--primary-mint);
}

.link-list .manual-item-links a.btn-video {
  background-color: var(--accent-pink);
  color: white;
  text-decoration: none;
  border: 1px solid var(--accent-pink);
}

/* マニュアルセクション固有レイアウト */
.manual-section {
  margin-top: 20px;
  padding: 0;
}


/* マニュアルリンクホバー時の統一挙動 */
.link-list .manual-item-links a:hover {
  opacity: 0.9;
  transform: translate(2px, 2px);
}

.wrapper-line .link-list .manual-item-links a.btn-pdf {
  background-color: #06c755;
  border-color: #06c755;
}

.wrapper-google .link-list .manual-item-links a.btn-pdf {
  background-color: #4285f4;
  border-color: #4285f4;
}

.wrapper-yahoo .link-list .manual-item-links a.btn-pdf {
  background-color: #ff0033;
  border-color: #ff0033;
}

.wrapper-bp .link-list .manual-item-links a.btn-pdf {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.seminar-wrapper {
  position: relative;
  z-index: auto;
}

.seminar-section {
  /* 不要な白背景、角丸、影、枠線を削除し、他ページと調和させる */
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 768px) {
  .seminar-section {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
  }
}

.seminar-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .seminar-lead {
    font-size: 13px;
    margin-bottom: 25px;
  }
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 30;
}

.seminar-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: var(--shadow-flat);
  text-decoration: none;
  color: var(--text-main);
}

.seminar-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0px rgba(157, 189, 166, 0.5);
}

.seminar-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  border: none !important;
  outline: none !important;
}

.seminar-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-bottom: 2px solid var(--primary-color);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: #ddd;
}

.seminar-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s;
}

.seminar-thumb-link:hover .seminar-thumb img {
  transform: scale(1.05);
}

.seminar-card a .play-icon-overlay i {
  color: #ffffff !important;
  margin: 0;
}

.seminar-thumb-link:hover .play-icon-overlay {
  background-color: #ff0000;
  transform: translate(-50%, -50%) scale(1.05);
}

.seminar-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.seminar-content time {
  align-self: flex-start;
  display: inline-block;
  font-size: 12px;
  color: var(--white);
  background: var(--primary-color);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.seminar-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0 0 10px 0;
  /* 2行で末尾...にする設定 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seminar-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 1024px) {
  .manual-global-decorations {
    display: none !important;
  }
}

.login-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.login-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .login-card {
    padding: 30px 20px;
  }
}

.login-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.login-form-group {
  margin-bottom: 25px;
}

.login-form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 15px;
}

.login-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  font-size: 15px;
  transition: all 0.3s;
}

.login-form-control:focus {
  outline: none;
  border-color: var(--primary-mint);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(32, 203, 175, 0.2);
}

.login-actions {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.hero-decoration-1 {
  top: 20px;
  left: -120px;
  --rotate: 15deg;
}

.hero-decoration-2 {
  bottom: -30px;
  right: -20px;
  --rotate: 45deg;
}

.hero-decoration-3 {
  bottom: 10%;
  left: 1%;
  --rotate: -35deg;
}

.seminar-decoration-1 {
  bottom: 30px;
  left: 10%;
  --rotate: -10deg;
  z-index: 25;
}

.seminar-decoration-2 {
  bottom: -40px;
  right: 5%;
  border-bottom-color: #ef8089;
  --rotate: 190deg;
  z-index: 25;
}

@media (max-width: 768px) {
  .seminar-decoration-1 {
    bottom: -40px;
  }

  .seminar-decoration-2 {
    bottom: -60px;
  }
}

.hero-section {
  width: 100%;
  padding: 0;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0;
  }
}

.hero-visual {
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(135deg,
      var(--light-mint) 0%,
      var(--bg-light) 100%);
  min-height: 480px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-visual {
    padding: 30px 20px;
    min-height: auto;
    flex-direction: column;
  }
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(#fff 20%, transparent 20%);
  background-size: 20px 20px;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
  top: 10px;
  left: -50px;
}

.hero-visual-inner {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .hero-visual-inner {
    flex-direction: column;
    align-items: center;
    order: 1;
  }
}

.hero-visual-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 12;
}

@media (max-width: 768px) {
  .hero-visual-content {
    width: 100%;
    align-items: center;
    margin-bottom: 30px;
  }
}

.hero-visual-images-slanted {
  position: absolute;
  top: 0;
  right: -3vw;
  bottom: 0;
  width: 60vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  background-color: #fff;
  border-left: 4px solid #fff;
  transform: skewX(-15deg);
  transform-origin: bottom right;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-visual-images-slanted {
    position: relative;
    width: calc(100% + 40px);
    height: 200px;
    margin-left: -5px;
    right: 0;
    transform: none;
    order: 2;
  }
}

.hero-visual-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

@media (max-width: 768px) {
  .hero-visual-text-wrapper {
    align-items: center;
    padding-left: 0;
    border-left: none;
  }
}

.hero-visual-main {
  font-family: "Noto Serif JP", serif;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-visual-main {
    font-size: 32px;
    text-align: center;
  }
}

.hero-visual-sub {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  color: var(--primary-hover);
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .hero-visual-sub {
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
  }
}

.hero-side-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Arial Black", sans-serif;
  font-size: 36px;
  color: var(--primary-color);
  opacity: 0.2;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  .hero-side-text {
    display: none;
  }
}

.hero-side-text.left {
  left: 15px;
  transform: translateY(-50%) rotate(180deg);
}

.hero-side-text.right {
  right: 15px;
  transform: translateY(-50%);
}

.seminar-info {
  position: relative;
  z-index: 30;
}

@media (max-width: 768px) {
  .seminar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.seminar-card:hover .seminar-thumb img {
  transform: scale(1.1);
}

.case-text {
  position: absolute;
  top: -45px;
  left: 10px;
  /* 指示通り左上に寄せる */
  font-family:
    "Dancing Script", "Snell Roundhand", "Brush Script MT", "Bradley Hand",
    "Apple Chancery", "Comic Sans MS", cursive;
  font-size: 3rem;
  color: rgba(220, 77, 121, 0.3);
  z-index: 3;
  transform: rotate(-10deg);
  white-space: nowrap;
  letter-spacing: 0.05em;
  pointer-events: none;
}

@media (max-width: 768px) {

  .news-grid,
  .quick-links,
  .seminar-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /*.header-inner {
    flex-direction: row;
    gap: 10px;
  }*/

  .header-actions .btn,
  .footer-actions .btn {
    padding: 5px;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--primary-color);
    box-shadow: none;
    border-radius: 0;
  }

  .header-actions .btn:hover,
  .footer-actions .btn:hover {
    background: transparent;
    color: var(--primary-dark);
    transform: none;
  }

  .news-list a,
  .seminar-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 15px;
  }
}

.upcoming-seminar-section {
  margin-bottom: 60px;
}

.upcoming-seminar-card {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

@media (max-width: 900px) {
  .upcoming-seminar-card {
    flex-direction: column;
  }
}

.upcoming-seminar-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent-pink);
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 0 0 8px 0;
  z-index: 2;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .upcoming-seminar-badge {
    border-radius: var(--radius-lg) 0 12px 0;
  }
}

.upcoming-seminar-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .upcoming-seminar-content {
    padding: 25px 20px;
  }
}

.upcoming-seminar-date {
  color: var(--primary-mint);
  font-weight: bold;
  margin-bottom: 10px;
}

.upcoming-seminar-date .month {
  font-size: 1.8rem;
}

.upcoming-seminar-date .day {
  font-size: 2.2rem;
}

.upcoming-seminar-date .dow {
  font-size: 1.1rem;
  margin-right: 15px;
}

.upcoming-seminar-date .time {
  font-size: 1.2rem;
  color: var(--text-color);
  background: #f0f8f7;
  padding: 4px 12px;
  display: inline-block;
  vertical-align: super;
}

@media (max-width: 900px) {
  .upcoming-seminar-date .time {
    display: block;
    width: fit-content;
    margin-top: 10px;
  }
}

.upcoming-seminar-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.4;
  font-weight: bold;
}

@media (max-width: 900px) {
  .upcoming-seminar-title {
    font-size: 1.25rem;
  }
}

.upcoming-seminar-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.upcoming-seminar-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.upcoming-seminar-details li {
  margin-bottom: 8px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.upcoming-seminar-details li i {
  color: var(--primary-mint);
  width: 20px;
  text-align: center;
}

.upcoming-seminar-action {
  margin-top: auto;
}

.upcoming-seminar-btn {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 4px 4px 0px rgba(220, 77, 121, 0.3);
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
}

@media (max-width: 900px) {
  .upcoming-seminar-btn {
    width: 100%;
    justify-content: center;
  }
}

.upcoming-seminar-btn i {
  transition: transform 0.3s;
}

.upcoming-seminar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0px rgba(220, 77, 121, 0.5);
  color: #fff;
}

.upcoming-seminar-btn:hover i {
  transform: translateX(3px);
}

.upcoming-seminar-image {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--bg-light);
}

@media (max-width: 900px) {
  .upcoming-seminar-image {
    flex: none;
    height: auto;
    order: -1;
    padding: 20px;
    background: transparent;
  }
}

.upcoming-seminar-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}


/* =========================================
   5. その他
   ========================================= */
/* Spacing Utilities */
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.ml-8 { margin-left: 8px; }

/* Info Box */
.info-box-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

/* Outline Table */
.outline-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.outline-table th {
  width: 25%;
  padding: 15px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  text-align: left;
  font-weight: bold;
  white-space: nowrap;
}
.outline-table td {
  padding: 15px;
  border: 1px solid var(--border-color);
}

/* Big Buttons */
.btn-lg {
  padding: 15px 40px;
  font-size: 18px;
}

/* =========================================
   チャットサポート用追加スタイル
   ========================================= */

/* ナビゲーションのチャットサポートボタン (LINEグリーン) */
.btn-support-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #06c755;
  color: #ffffff !important;
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-support-chat:hover {
  background-color: #05b34c; /* ホバーで少し暗くし、他ボタンと挙動を合わせる */
  color: #ffffff !important;
}

/* ステップUI用 (LP ご利用までの流れ風) */
.flow-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 25px;
  margin-bottom: 30px;
  align-items: center;
}

.flow-card {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .flow-card {
    flex-direction: row;
    align-items: stretch;
  }
}

.flow-card-header {
  background: var(--accent-pink);
  color: #fff;
  padding: 8px 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .flow-card-header {
    width: 100px;
    flex-shrink: 0;
    flex-direction: column;
    padding: 10px 5px;
    gap: 3px;
  }
}

.flow-card-header .step-text {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  line-height: 1;
}

.flow-card-header .step-num {
  font-size: 26px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.flow-card-body {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  background: #fff;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

/* .article-content 内のスタイルを上書きするためのセレクタ強化 */
.flow-card-body .flow-title {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0 0 5px 0;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.flow-card-body .flow-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-main);
  text-align: left;
  width: 100%;
}

.flow-desc-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .flow-desc-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

.flow-arrow {
  color: #ccc;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
}

.flow-arrow .fa-chevron-right {
  transform: rotate(90deg); /* 縦並びなので常に下向き */
}

/* マニュアルダウンロード枠 */
.support-manual-box {
  background: #fdfdfd;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 4px;
  margin-top: 8px;
  width: 100%;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-manual-box .box-text {
  font-weight: bold;
  font-size: 0.9rem;
  margin: 0; /* .article-content p 上書き用 */
}



/* =========================================
   ご入会をご検討の方へ用追加スタイル
   ========================================= */

.global-nav a.btn-header-lp {
  position: absolute;
  bottom: -30px;
  right: 0;
  height: 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 31px;
  background-color: var(--accent-pink);
  color: var(--white) !important;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.global-nav a.btn-header-lp:hover {
  background-color: var(--accent-pink-hover);
  color: var(--white);
}
