@charset "utf-8";

/* --------------------------------------
     CREATED 20260327
-------------------------------------- */

/* --------------------------------------
     BASE 
-------------------------------------- */
html {scroll-behavior: smooth;}
body {
    margin: 0;
  /* background: #e5ddd5; */
    background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
}
.narrow-container{width:100%;max-width: 1140px;margin: 0 auto;}
.main-container{width:100%;max-width: 1140px;background: #e5ddd5;margin: 0 auto;}
/* @media (min-width: 1200px) {
  .container {
    max-width: 1140px;background: #e5ddd5;
  }
} */
/* SECTION */
section {
  padding: 30px 0;
}
/* --------------------------------------
     LP COMMON
-------------------------------------- */
/* COMPANY COLOR */
.fc-red{color: #b33e5c;}
.bg-red{background-color: rgba(179,62,92,1.0);}
.fc-navy{color: #202f55;}
.bg-navy{background-color: rgba(32,47,85,1.0);}
/* H2 TITLE */
.line-ttl{display:inline-block;
    background-color:#2f557f;
    color:#fff;
    padding:12px 28px;
    border-radius:5px;
    font-size:22px;
    font-weight:bold;
}
/* COMPANY COLOR BASED BUTTON */
.btn-outline-navy {
  color: #202f55;
  border: 1px solid #202f55;
  background-color: transparent;
  transition: all 0.3s ease;
}
.btn-outline-navy:hover {
  color: #fff;
  background-color: #202f55;
  border-color: #202f55;
}
.btn-outline-navy:focus,
.btn-outline-navy:active {
  box-shadow: 0 0 0 0.25rem rgba(32,47,85,0.25);
}
/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.bg-main{background-color: #e5ddd5;}

.mess-break{
  display: inline-block;       /* 幅を意識して折り返し可能にする */
  max-width: 100%;            /* ここで幅を指定 */
  white-space: normal;         /* 折り返しを許可 */
  word-break: keep-all;        /* 日本語の途中改行を防ぐ */
  overflow-wrap: normal;       /* 自動折り返しを抑制 */
}
/* --------------------------------------
     HEADER
-------------------------------------- */
/* TOP COLOR */

.bg-tac-recommend{background-color: #F8BA93;}
.bg-with-recommend1{background-color: #F2D98A;}
.bg-with-recommend2{background-color: #B7DDB0;}

/*
header > div {
    background-color: #F8BA93;/* TAC RECOMMEND */
    /* CANDIDATES 
    background-color: #F2D98A;/* くすみ寄りの黄
    background-color: #F4E7B2;/* 淡いクリーム 
    background-color: #F2B874;/* オレンジ系 
    background-color: #B7DDB0;/* グリーン系 
  background-color: #F3BC33;/* ORIGINAL 

} */

@media (max-width: 768px) {
  .row.align-items-center > div {
    margin-bottom: 10px;
  }
}

.header-ttl{
    width:100%;
    max-width:1024px;
    margin: 0 auto;
}
/* --------------------------------------
     FOOTER
-------------------------------------- */
footer{
background-color: rgba(32,47,85,1.0);
color: #fff;
margin: 0;}
/* --------------------------------------
     FOR LINE SIMULATION 
-------------------------------------- */
/* CHAT RELATED */
.chat-area {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
    /* background: #e5ddd5;*/
}
/* PCだけ少し広げる */


@media (min-width: 768px) {
  .chat-area {
    max-width: 768px;
  }
}

/*
@media (min-width: 992px) {
  .chat-area {
    max-width: 960px;
  }
}
*/
/* CHAT ROW */
.message-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 25px;
}
.message-row.right {
  justify-content: flex-end;
}
/* CHAT ICON DEF. */
.avatar {
    width: 80px;/* ICON SIZE */
    height: 80px;/* ICON SIZE */  
  border-radius: 50%;
  margin: 0 10px;
}
/* AVATAR FOR SP */
@media (max-width: 576px) {
  .avatar {
    width: 60px;
    height: 60px;
    margin: 0 6px;
  }
}
/* RL DISTANCE */
.left .avatar {margin-right: 10px;}
.right .avatar {margin-left: 10px;}
/* SPEECH BUBBLE VERTICAL SPACE */
.message-row {
  display: flex;
  align-items: flex-start;;
  margin-bottom: 40px; /* ← 余白を広げる */
}
/* =========================
   SPEECH BUBBLE BASE
========================= */
.bubble {
  position: relative;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.bubble_fixed {
  width: 45%;
  max-width: 45%;
}
.bubble_flex {
  max-width: 45%;
}
/* =========================
   LEFT BUBBLE
========================= */
.left .bubble {
  background: #fff;
  color: #000;
  border-top-left-radius: 10px;
}

/* 左のしっぽ */
.left .bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 12px;

  width: 12px;
  height: 12px;

  background: #fff;

  transform: rotate(45deg);

  border-radius: 0;

  z-index: 1;
}

/* =========================
   RIGHT BUBBLE
========================= */
.right .bubble {
  background: #00c300;
  color: #fff;
  border-top-right-radius: 10px;
}

/* 右のしっぽ */
.right .bubble::before {
  content: "";
  position: absolute;
  right: -6px;
  top: 12px;

  width: 12px;
  height: 12px;

  background: #00c300;

  transform: rotate(45deg);

  border-radius: 0;

  z-index: 1;
}

/* =========================
   IMAGE BUBBLE
========================= */
.bubble.image-bubble {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.image-bubble {
  max-width: clamp(300px, 85%, 560px);
}
.bubble.image-bubble img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  position: relative;
  z-index: 0;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  /* 可変タイプ */
  .bubble_flex {
    max-width: 70%;
  }

  /* 固定タイプ */
  .bubble_fixed {
    width: 70%;
    max-width: 70%;
  }

  /* 画像 */
  .image-bubble {
    max-width: min(90%, 400px);
  }
}
/* =========================
   CHART IMAGE
========================= */
.img-ttl-ps{
  max-width: 720px;
  margin: 0 auto;
}

.img-ttl-ps img{
  width: 100%;
  height: auto;
  display: block;
    border-radius: 10px;
}
/* =========================
   CTA
========================= */
.cta-chat-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
}
/* =========================
  LAST SECTION WITH TAC
========================= */
/* =========================
   安全設定（突起消え防止）
========================= */
.chat-area,
.center-chat,
.center-bubble {
  overflow: visible !important;
}


/* =========================
   レイアウト（PC）
========================= */
.center-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}


/* =========================
   キャラ
========================= */
.chara {
  width: 200px;
  flex-shrink: 0;
  height: auto;
}


/* =========================
   吹き出し本体
========================= */
.center-bubble {
  position: relative;
  background: #ffffff;
  padding: 25px 35px;
  border-radius: 25px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* =========================
   PC（左右の突起）
========================= */
.center-bubble::before {
  content: "";
  position: absolute;
  left: /* -18px */ -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 14px solid #ffffff;
}

.center-bubble::after {
  content: "";
  position: absolute;
  right: /* -18px */ -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 14px solid #ffffff;
}


/* =========================
   スマホ（中央＋上下突起）
========================= */
@media (max-width: 768px) {

  /* =========================
     レイアウト（縦・中央）
  ========================= */
  .center-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  /* =========================
     キャラサイズ
  ========================= */
  .chara {
    width: 130px;
    height: auto;
  }

  /* =========================
     吹き出し
  ========================= */
  .center-bubble {
    position: relative;
    margin: 20px auto;
    max-width: 85%;
    overflow: visible !important;
  }

  /* =========================
     ★ 完全リセット（最重要）
  ========================= */
  .center-bubble::before,
  .center-bubble::after {
    content: "" !important;
    position: absolute;

    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;

    transform: none !important;

    width: 0;
    height: 0;
  }

  /* =========================
     上の突起（デバッグ：赤）
  ========================= */
  .center-bubble::before {
    top: /* -18px */-28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 18px solid #ffffff;
  }

  /* =========================
     下の突起（デバッグ：赤）
     ★ここが今回の核心修正
  ========================= */
  .center-bubble::after {
    top: auto !important;        /* ← ★これで中央配置を完全無効化 */
    bottom: /* -22px */-28px !important;    /* ← ★確実に外へ出す */
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 18px solid #ffffff;
  }

}
/* ---------------------------
     END 
----------------------------*/

/* =========================
   アニメーション
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* INSERT IMAGES INTO CHAT */

/* --------------------------------------
     
-------------------------------------- */
/* セクション */
.feature-section {
  padding: 60px 0;
}

/* 5列グリッド */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ボックス */
.feature-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center; /* ← 中央寄せ */
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

/* タイトル（色変更） */
.feature-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #007bff; /* ← 好きな色に変更OK */
}

.feature-box h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #007bff; /* ← 好きな色に変更OK */
}

/* テキスト */
.feature-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 1199px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
/* CR */
.pc-br {
  display: none;
}

@media (min-width: 769px) {
  .pc-br {
    display: inline;
  }
}
.st-br {
  display: none;
}

@media (max-width: 768px) {
  .st-br {
    display: inline;
  }
}
/* 2つ目の */
/* アイコン */
.feature-icon {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 15px;
}

/* リンク化したときの装飾リセット */
.feature-box {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ホバー時 */
.feature-box:hover {
  text-decoration: none;
  color: inherit;
}
/* --------------------------------------
   TABLE CONTENTS & IMAGE
-------------------------------------- */
/* CONTETS FOR PC */
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

/* IMAGE FOR SP */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
/* --------------------------------------
     TABLE
-------------------------------------- */
 .plan-header {
  padding: 0;
  border: none;
}

/* 全体ボックス */
.plan-box {
  /* padding: 15px 10px; */
    padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
    border: 1px solid /* #dee2e6 */#9b003f;
    border-radius: 5px;
}

/* タイトル */
.plan-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 画像 */
.plan-icon {
  max-height: 80px;
  margin-bottom: 10px;
}

/* 説明 */
.plan-desc {
  font-size: 14px;
  text-align: center;
}

/* 色分け（画像に合わせる） */
.foundation {
  background-color: #e5ebf3;
  border-bottom: 6px solid #1f3b73;
}
.foundation .plan-title{
  color: #1f3b73;
    border-bottom: 2px solid #1f3b73;
}
.standard {
  background-color: #e8f0e3;
  border-bottom: 6px solid #3e5d2a;
}
.standard .plan-title{
  color: #3e5d2a;
    border-bottom: 2px solid #3e5d2a;
}
.professional {
  background-color: #eee7f4;
  border-bottom: 6px solid #6a3c96;
}
.professional .plan-title{
  color: #6a3c96;;
    border-bottom: 2px solid #6a3c96;;
}

.runtime {
  background-color: #f6e6db;
  border-bottom: 6px solid #d86c2c;
}
.runtime .plan-title{
  color: #d86c2c;
    border-bottom: 2px solid #d86c2c;
}
    
.custom-table {
  table-layout: fixed;
  width: 100%;
}

/* 各列を均等に */
.custom-table th,
.custom-table td {
/* border: 1px solid rgba(155, 0, 63, 0.6); */
    border: 1px solid #555;
  width: 20%; /* 5列なので20% */
}

/* 左の項目列だけ少し広げたい場合（おすすめ） */
.custom-table th:first-child,
.custom-table td:first-child {
  width: 30%;
}
/* 左上セルだけ濃い */
.custom-table thead th:first-child {
  background-color: #9b003f;
}
.custom-table thead th:not(:first-child) {
  background-color: #fff;
}
/* =========================
   ■ 左列（tbody）
========================= */
.custom-table tbody th:first-child {
  background-color: rgba(155, 0, 63, 0.2);
}
/* =========================
   ■ 通常セル
========================= */
.custom-table tbody td {
  background-color: #fff;
}

/* =========================
   ■ sticky（固定列）
========================= */
.custom-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
}
/* 他は均等 */
.custom-table th:not(:first-child),
.custom-table td:not(:first-child) {
  width: 17.5%;
}
.table-wrapper {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* テーブルに最小幅を設定（これが超重要） */
.custom-table {
  min-width: 800px;
}
.custom-table th:first-child {
  position: sticky;
  left: 0;
  background: #9b003f/*#d1d5db/*#a9bfd4*/;
  z-index: 3;
}
/* -----????????-------------------------------- */


/* --------------------------------------
     CTA
-------------------------------------- */
.btn-wide {
  width: 300px;
}

.cta_btn a {
  font-size: 16px; /* スマホ */
}

/* タブレット */
@media (min-width: 768px) {
  .cta_btn a {
    font-size: 18px;
  }
}

/* PC */
@media (min-width: 1025px) {
  .cta_btn a {
    font-size: 20px;
  }
}
.cta_btn a {
  display: inline-block;
  position: relative;
  padding: 15px 50px 15px 20px;
  background: #0d6efd; /* ボタン色（調整OK） */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
    border: 1px solid #0d6efd;
}
.cta_btn a:hover{
    background: #fff; /* ボタン色（調整OK） */
    color: #0d6efd;
}
/* 矢印共通 */
.cta_btn a::before,
.cta_btn a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: right 0.3s;
}

/* 1つ目の矢印 */
.cta_btn a::before {
  right: 35px;
}

/* 2つ目の矢印 */
.cta_btn a::after {
  right: 30px;
}

/* ホバーで少し動かす */
.cta_btn a:hover::before {
  right: 25px;
      border-top: 2px solid #0d6efd;
  border-right: 2px solid #0d6efd;
}

.cta_btn a:hover::after {
  right: 20px;
          border-top: 2px solid #0d6efd;
  border-right: 2px solid #0d6efd;
}
/* --------------------------------------
     COPY FROM ORIGINAL CSS
-------------------------------------- */
/* SAME AS H2 STYLE */
h2.title {
    border-bottom: 1px dotted rgba(179,62,92,0.8);
    width: 100%;
    text-align: center;
    display: block;
    margin: 3.0rem auto 2.0rem;
    padding-bottom: 1.0rem;
    line-height: 100%;
    font-weight: bold;
}
span.sub-ttl{
    display: block;
    font-size: 1.2rem;
    line-height: 100%;
    margin-top: .6rem;
}

/* --------------------------------------
     TEST PROCESS
-------------------------------------- */
/* ===== 全体 ===== */
.process {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* ===== カード ===== */
.card {
  background: #fff;
  border: 2px solid #2c3e50;
  border-radius: 10px;
  width: 100%;
  max-width: 320px;
  /* padding: 20px; */
    padding: 0;
  box-sizing: border-box;
  text-align: center;
    overflow: hidden; /* ADD */
}
.card-body {
  padding: 15px;
}
/* ===== タイトル ===== */
.card-header {
  background: #9b003f;
　border: 2px solid #9b003f;
  color: #fff;
  padding: 15px;
  border-radius: 10px 10px 0 0; /* ADD */
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ===== 画像 ===== */
.img-box {
  margin: 15px 0;

}

.img-box img {
  display: block;
  width: 100%;
}
/* ===== テキスト ===== */
.card-body h4 {
  margin: 10px 0 5px;
  font-size: 16px;
  text-align: left;
}

.card-body p {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* ===== 矢印 ===== */
.arrow {
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.arrow i {
  font-size: 60px;
  color: #aaa;
}

/* RESPONSIBVE */
@media (max-width: 768px) {
  .arrow {
    flex-direction: column;
  }

  .arrow i {
    transform: rotate(90deg);
  }
}
/* ===== レスポンシブ ===== */
@media (max-width: 768px) {

  .process {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
/*
  .arrow {
    width: 2px;
    height: 40px;
  }

  .arrow::before {
    width: 2px;
    height: 40px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .arrow::after {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
    */
}
/* Page Top */

/* ボタン本体 */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #0d6efd; /* Bootstrap primary */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
}
