/* ==========================================
   全般的なリセット & 基本設定
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333333;
    line-height: 1.6;
    font-size: 1rem;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

section{
    width: 80% !important;
    min-width: 960px;
    max-width: 1200px;
    margin: 0 auto 40px !important;
}

@media (max-width: 991px){
    section {
        min-width: 300px !important;
        width: 100% !important;
    }
}

ul {
  list-style: none;
}

a {
    text-decoration: none;
}

.tm {
    vertical-align: bottom;
}

/* ===========================
   Header
=========================== */
.header {
    padding-top: 24px;
  background: #f0f7ff;
  backdrop-filter: blur(14px);
}
 
.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 24px;
}
 
/* --- Navigation --- */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
 
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
 
.nav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4082FE;
  border-radius: 8px;
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1), background 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
 
.nav__link:hover {
  color: #2b7ef5;
  background: rgba(43, 126, 245, 0.08);
}

 
/* --- Hamburger (mobile) --- */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
 
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #2b7ef5;
  border-radius: 2px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
 
.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
 
/* ===========================
   Mobile Menu
=========================== */
.mobile-menu {
    background-color: #F0F7FF;
  display: none;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(43, 126, 245, 0.15);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
 
.mobile-menu.is-open {
  max-height: 420px;
  display: block;
}
 
.mobile-menu__list {
  padding: 12px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.mobile-menu__link {
  display: block;
  padding: 11px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4082FE;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ヘッダーメニューレスポンシブ */
@media (max-width: 991px) {
    .header__nav{
        display: none;
    }

    .header__hamburger{
        display: flex;
    }
}

/* ==========================================
   ヒーローエリア スタイル
   ========================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 50px);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    padding: 0 60px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 左側：コンテンツ */
.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-logo {
    width: 240px;
    height: auto;
    margin-left: -16px;
    margin-bottom: 24px;
}

.hero-logo p {
    width: 110%;
}

.hero-logo p img{
    max-width: 240px;;
}

.hero-logo p .tm {
    margin-left: -16px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: #0052cc;
    font-size: 2.5rem;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 40px;
}

/* CTAボタン */
.hero-action {
    display: block;
}

.btn-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(90deg, #ff6b00 0%, #ff8c00 100%); /* オレンジのグラデーション */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    padding: 18px 60px 18px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-arrow {
    position: absolute;
    right: 25px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #ff6b00;
    border-right: 2px solid #ff6b00;
    transform: rotate(45deg);
    margin-left: -2px;
}

/* 右側：ビジュアル */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-img_bg {
    width: 90%;
    max-width: 400px;
    height: auto;
    /* 実際の画像が書き出されたら、微調整用のシャドウや配置をここに追記できます */
}

.visual-img_top {
    position: absolute;
    width: 50%;
    max-width: 300px;
    height: auto;
    top: 35%;
    left: -5%;
}

/* ==========================================
   レスポンシブ（タブレット・スマホ対応）
   ========================================== */
@media (max-width: 991px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero-container {
        flex-direction: column-reverse; /* スマホ・タブでは画像を上、テキストを下に */
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-logo {
        display: block;
        margin: 0 auto 20px;
    }
    
    .hero-title .highlight{
        font-size: 2rem;
    }
    
    .hero-visual {
        justify-content: center;
        width: 100%;
    }
    
    .visual-img {
        max-width: 500px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        text-align: left; /* 長文のモバイル左寄せで見やすく */
    }
    
    .btn-trial {
        font-size: 1.25rem;
        padding: 15px 50px 15px 30px;
        width: 80%;
        max-width: 340px;
    }
}

/* ==========================================
   課題・悩みセクション スタイル
   ========================================== */
.problems {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.problems-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* セクションタイトル */
.problems-section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa; /* 濃いめの青（デザインに合わせた色） */
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

/* 3カラムのグリッド配置 */
.problems-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

/* 各カード（角丸の薄い青背景ボックス） */
.problem-card {
    flex: 1;
    background-color: #f0f6ff; /* 薄い青色の背景 */
    border-radius: 16px;       /* 綺麗な角丸 */
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* カードのタイトル */
.problem-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* カード内のイラスト配置エリア */
.problem-card-visual {
    width: 100%;
    max-width: 240px; /* イラストの最大幅を制限 */
    height: 160px;    /* 高さを固定して揃える */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.problem-img {
    max-height: 100%;
    width: 120%;
    object-fit: cover;
}

/* カード内の説明テキスト */
.problem-card-text {
    font-weight: 500;
    line-height: 1.6;
    color: #333333;
}

/* ==========================================
   レスポンシブの追記（既存のメディアクエリに組み込むか末尾に追加）
   ========================================== */
@media (max-width: 991px) {
    .problems {
        padding: 60px 20px;
    }
    
    .problems-section-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }
    
    .problems-grid {
        gap: 16px;
    }
    
    .problem-card {
        padding: 24px 16px;
    }
    
    .problem-card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 767px) {
    /* スマホサイズになったら縦並びに切り替え */
    .problems-grid {
        flex-direction: column;
        gap: 24px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .problem-card-visual {
        height: auto;
        min-height: 140px;
    }
}

/* ==========================================
   ソリューションセクション スタイル
   ========================================== */
.solution {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.solution-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* セクションタイトル */
.solution-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 50px;
}

.solution-section-title .solution_logo{
    width: 140px;
    transform: translateY(-5px);
}

.solution-section-title span.tm {
    line-height: 1;
    margin-right: 16px;
    color: #4082FE;
}

/* 全体のフローレイアウト（横並び） */
.solution-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* 左右の枠線ボックス共通 */
.solution-box {
    flex: 1;
    background-color: #f4f8ff;
    border: 2px solid #d0e2ff;
    border-radius: 16px;
    padding: 25px 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 50, 150, 0.03);
}

/* ボックス上部のタグ */
.box-tag {
    text-align: center;
    font-weight: bold;
    color: #1a1a1a;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* リストスタイル */
.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-list li {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: bold;
    color: #333333;
}

/* 左ボックスのアイコン個別色（デザインの再現） */
.solution-list li i {
    font-size: 1.4rem;
}
.icon-pdf { color: #e04f5f; }
.icon-excel { color: #21a366; }
.icon-manual { color: #7f8c8d; }
.icon-mail { color: #2980b9; }
.icon-hearing { color: #16a085; }

/* 右ボックスのアイコン共通色 */
.icon-output {
    color: #0052cc;
}

/* 矢印エリア */
.flow-arrow {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flow-arrow .bi {
    width: 100%;
    height: 100%;
    color: #0052cc;
    font-size: 36px;
}

/* 中央エリア */
.solution-center {
    flex: 1.2; /* 中央を少し広めに */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.center-visual {
    width: 100%;
    max-width: 320px;
    margin: 0 auto; /* 全体の中央揃え */
    position: relative; /* 子要素の基準になる */
    display: flex; /* 高さを確保するため */
    align-items: center;
    justify-content: center;
}

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

.logo-img {
    position: absolute; /* 親要素を基準に自由に配置 */
    width: 60%; /* ロゴの大きさを調整（適宜変更してください） */
    height: auto;
    top: 43%; /* 上から50%の位置 */
    left: 50%; /* 左から50%の位置 */
    transform: translate(-50%, -50%); /* 自身の幅・高さの半分戻して真ん中に */
}

.center-visual .tm{
    position: absolute; /* 親要素を基準に自由に配置 */
    width: fit-content;
    height: auto;
    top: 45%;
    left: 77%;
}

/* 中央下部の2カラム特徴 */
.center-features {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 20px;
    border-top: 1px solid #e0e8f5;
    padding-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
    flex-direction: column;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    background-color: #1e3d7b; /* 濃い紺色 */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}
.feature-text strong {
    color: #1a1a1a;
}
.feature-text span {
    color: #666666;
}


/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 991px) {
    .solution-section-title {
        font-size: 1.5rem;
    }
    
    .solution-flow {
        flex-direction: column; /* 縦並びに切り替え */
        gap: 30px;
    }
    
    .solution-box {
        max-width: 500px;
    }
    
    /* スマホ・タブレットでは矢印を下に向け回転 */
    .flow-arrow {
        transform: rotate(90deg);
        width: 30px;
        margin: 0 auto;
    }
    
    .solution-center {
        width: 100%;
        max-width: 500px;
    }
    
    .next-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .solution-section-title {
        font-size: 1.3rem;
    }
    .center-features {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
        padding-left: 10%;
    }
    .feature-item {
        justify-content: flex-start;
    }
    .next-section-title {
        font-size: 1.3rem;
    }
}

/* 次のセクションのタイトル */
.next-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-top: 40px;
}

/* ==========================================
   導入イメージセクション スタイル
   ========================================== */
.intro {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.intro-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

   .intro-content-wrap {
    margin-top: 40px;
    width: 100%;
}

/* タブ表示関連 */
/* タブメニュー */
.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: -2px; /* 下のコンテンツ枠線と綺麗に重ねる */
    position: relative;
    z-index: 2;
}

.tab-item {
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px 0;
    width: 220px;
    text-align: center;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* アクティブ（選択中）のタブ */
.tab-item.active {
    background-color: #0052cc;
    color: #ffffff;
}

/* 非アクティブ（未選択）のタブ */
.tab-item:not(.active) {
    background-color: #e9f0fa;
    color: #333333;
}
.tab-item:not(.active):hover {
    background-color: #dbe7f5;
}

/* コンテンツ表示パネル */
/* コンテンツ表示パネル */
.tab-panel {
    display: none; /* ★一度すべて非表示にする */
    background-color: #ffffff;
    border: 2px solid #b3d1ff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.03);
    position: relative;
    z-index: 1;
}

/* ★activeクラスがついたパネルだけを表示する */
.tab-panel.active {
    display: block;
} 
/* タブ表示関連 ここまで*/

/* カード表示関連 */
.intro-card{
    border-radius: 25px;
    border: 2px solid #b3d1ff;
    margin-bottom: 50px;
    padding: 25px;
}

.intro-card>h3 {
    width: 100%;
    text-align: center;
    color: #0052cc;
}


/* カード表示関連ここまで */

/* ここから共通 */
.panel-inner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 3つの主要ブロックの横幅比率調整 */
.intro-before {
    flex: 1.2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end; 
    gap: 10px;
    width: fit-content;
}

.intro-center {
    flex: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.intro-after {
    flex: 1.2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 15px;
    width: fit-content;
}

.intro-card li{
    width: fit-content;
}

/* テキストボックス */

.block-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    white-space: nowrap;
    width: fit-content;
}

.block-title span {
    font-weight: bold;
}

/* Before / After の文字色使い分け */
.before-title {
    color: #1a1a1a;
}
.before-title span {
    color: #666666;
}

.after-title {
    color: #198754; /* 導入後は信頼のグリーン */
}
.after-title span {
    color: #198754;
}

/* Beforeリスト（中黒「・」付き） */
.before-list {
    list-style: none;
    font-weight: bold;
    color: #333333;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.before-list li {
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
}
.before-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* Afterリスト（緑のチェックマーク付き） */
.after-list {
    list-style: none;
    font-weight: bold;
    color: #333333;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.after-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.icon-check {
    color: #198754;
    font-size: 1.2rem;
    -webkit-text-stroke: 0.5px #198754; /* チェックを少し太く見せるトリック */
}

/* イラストとスクショのサイズ */
.block-illust {
    width: 120px;
    flex-shrink: 0;
}
.illust-img {
    width: 100%;
    height: auto;
}

.app-screenshot {
    flex: 1;
    max-width: 250px;
}
.screenshot-img {
    width: 100%;
    height: auto;
}

/* 中央の太い矢印 */
.flow-next-arrow {
    width: 28px;
    flex-shrink: 0;
}
.arrow-img {
    width: 100%;
    height: auto;
}

/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 1199px) {
    .tab-item {
        width: 180px;
        font-size: 1rem;
    }
    .block-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .panel-inner-flex {
        flex-direction: column; /* 縦並びにしてスマホでも見やすく */
        gap: 40px;
    }
    
    .intro-block {
        width: 100%;
        max-width: 500px;
        justify-content: space-between;
        align-items: center;
    }
    
    .intro-center {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 縦並び時は矢印を下向きに回転 */
    .flow-next-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
    
    /* Afterエリアのイラストと文字の並びをBefore側とシンメトリーから統一へ */
    .intro-after {
        flex-direction: row-reverse;
    }
}

@media (max-width: 575px) {
    .tabs-menu {
        width: 100%;
        gap: 4px;
    }
    
    .tab-item {
        flex: 1;
        width: auto;
        padding: 10px 4px;
    }
    
    .tab-panel {
        padding: 30px 15px;
    }
    
    .intro-block {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .intro-after {
        flex-direction: column-reverse; /* モバイルではイラストを下、テキストを上に統一 */
    }
    
    .before-list, .after-list {
        display: inline-block;
        text-align: left;
    }
    .before-list li, .after-list li {
        margin-bottom: 8px;
    }
}

/* ==========================================
   導入効果セクション スタイル
   ========================================== */
.effects {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.effects-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* セクションタイトル */
.effects-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 50px;
}

/* 3カラムレイアウト */
.effects-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

/* 共通カードスタイル */
.effect-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 75px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* カード上部のラベル */
.effect-header {
    margin-bottom: 15px;
}
.effect-label {
    font-size: 1.2rem;
    font-weight: 800;
}

/* アイコン＆数字のコンテナ */
.effect-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

/* 丸囲みアイコン */
.effect-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid currentColor; /* 親要素のカラー（テーマ色）を自動引き継ぎ */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* 円マークのみ位置とサイズを微調整 */
.effect-icon-wrap .bi-currency-yen {
    font-size: 2.1rem;
}

/* 数字と単位のラップ */
.effect-number-wrap {
    display: flex;
    align-items: flex-end;
    line-height: 0.9;
}

/* 巨大な数字 */
.effect-number-wrap .num {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* % 削減 などの単位 */
.effect-number-wrap .unit {
    font-size: 1.1rem;
    font-weight: 800;
    margin-left: 6px;
    margin-bottom: 6px; /* 文字のベースラインを少し上に微調整 */
    white-space: nowrap;
}

/* 説明テキスト */
.effect-text {
    font-weight: bold;
    color: #4a4a4a;
    line-height: 1.6;
    max-width: 290px;
}

/* ------------------------------------------
   各テーマカラーの個別定義（枠線・文字色）
   ------------------------------------------ */
/* 青：時間削減 */
.card-blue {
    border: 2px solid #ccdfff;
    color: #0052cc;
}
.card-blue .effect-text { color: #333333; }

/* 緑：コスト削減 */
.card-green {
    border: 2px solid #c6edd5;
    color: #009944;
}
.card-green .effect-text { color: #333333; }

/* オレンジ：売上向上 */
.card-orange {
    border: 2px solid #ffe3cc;
    color: #ff8c00;
}
.card-orange .effect-text { color: #333333; }


/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 991px) {
    .effects-section-title {
        font-size: 1.5rem;
    }
    .effects-grid {
        gap: 16px;
    }
    .effect-card {
        padding: 24px 16px;
    }
    .effect-number-wrap .num {
        font-size: 3rem;
    }
    .effect-number-wrap .unit {
        font-size: 1rem;
    }
    .effect-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    .effect-icon-wrap .bi-currency-yen {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    /* スマホ画面では1列の縦並びに */
    .effects-grid {
        flex-direction: column;
        gap: 20px;
        max-width: 420px;
        margin: 0 auto;
    }
    .effect-text {
        max-width: 100%;
    }
}

/* ==========================================
   導入ステップセクション スタイル
   ========================================== */
.steps {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.steps-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.steps-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 60px;
}

/* フロー全体の並び */
.steps-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.step-item {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    width: fit-content;
}

.step-item:last-child {
    justify-content: flex-start;
}

/* ドーム型カードの形状 */
.step-card {
    background-color: #f4f8ff;
    border: 2px solid #ccdfff;
    border-radius: 60px 60px 12px 12px; /* 上部を大きく丸めるドーム型 */
    padding: 25px 10px 20px 10px;
    text-align: center;
    flex: 1;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 100px;
}

/* 丸数字 */
.step-num {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 2px solid #ccdfff;
    color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-name {
    font-weight: bold;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 15px;
    min-height: 34px; /* 1行と2行のテキスト高さを揃える */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 1.6rem;
    color: #555555;
    margin-top: auto;
}

/* ステップ間の矢印 */
.step-arrow {
    padding: 0 8px;
    color: #b3d1ff;
    font-size: 1.2rem;
}

/* ステップ3（強調表示）のスタイル */
.is-highlight .step-card {
    background-color: #ffffff;
    border-color: #0052cc;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.08);
    min-width: 120px;
}
.is-highlight .step-num {
    background-color: #0052cc;
    border-color: #0052cc;
    color: #ffffff;
}
.is-highlight .step-icon {
    color: #0052cc;
}

.is-highlight p{
    flex-direction: column;
    line-height: 1;
}

.is-highlight p span {
    font-size: 0.8rem;
    color: #ff6b00;
}

/* ポイントバッジ */
.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b00;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ステップレスポンシブは料金プランに列記 */

/* ==========================================
   料金プランセクション スタイル
   ========================================== */
.pricing {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.pricing-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.pricing-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 60px;
}

/* テーブルデザイン */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
}

/* ヘッダー行 */
.pricing-table th {
    padding: 18px 10px;
    font-size: 1.15rem;
    font-weight: bold;
    vertical-align: middle;
}

/* 各プランのヘッダーカラー使い分け */
.th-label {
    width: 20%;
    background-color: #f2f5fa;
    border: 1px solid #dbe2ef;
    color: #1a1a1a;
}
.plan-free {
    background-color: #7296db;
    color: #ffffff;
    border: 1px solid #7296db;
}
.plan-entry {
    background-color: #d46e2e;
    color: #ffffff;
    border-left: 2px solid #ff6b00 !important;
    border-right: 2px solid #ff6b00 !important;
    border-top: 2px solid #ff6b00 !important;
}
.plan-standard {
    background-color: #2557b8;
    color: #ffffff;
    border: 1px solid #2557b8;
}
.plan-premium {
    background-color: #1a4294;
    color: #ffffff;
    border: 1px solid #1a4294;
}

/* 一番人気バッジ付きのヘッダーセル設定 */
.th-plan.is-popular {
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -4px;
    left: 5px;
    right: -1px;
    color: #ffffff;
    font-weight: bold;
    padding: 4px 0;
    border-radius: 6px 6px 0 0;
    font-size: 0.8rem;
}

/* ボディ行（データセル） */
.pricing-table td {
    padding: 14px 10px;
    border: 1px solid #e2eaf5;
    font-weight: bold;
    color: #333333;
    vertical-align: middle;
    background-color: #ffffff;
}

/* 左端の項目名列 */
.pricing-table .td-label {
    background-color: #f8fafc;
    color: #4a4a4a;
    font-weight: bold;
    text-align: left;
    padding-left: 15px;
}
.pricing-table .td-label span {
    font-size: 0.75rem;
    font-weight: normal;
    color: #666666;
}

/* 初期費用セル */
.prime-price-val {
    font-weight: 500;
}

/* 金額セル */
.price-val {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
}
.font-highlight {
    color: #ff6b00 !important; /* 目立たせる金額カラー */
}

/* アイコンや補助テキスト */
.icon-circle-ok {
    color: #2e66d4;
    font-size: 1.1rem;
}
.txt-sub {
    color: #777777 !important;
    font-size: 0.85rem !important;
    font-weight: normal !important;
}

/* エントリープラン列（縦軸の強調背景） */
.cell-entry {
    background-color: #fff9f2 !important; /* 薄いオレンジ背景 */
    border-left: 2px solid #ff6b00 !important;
    border-right: 2px solid #ff6b00 !important;
}

/* 一番下のボタン行 */
.row-action td {
    border-top: none;
    border-bottom: none;
    padding: 20px 10px;
}
.row-action .td-blank {
    background-color: transparent;
    border: none;
}
.row-action .cell-entry {
    border-top: none !important;
    border-bottom: 2px solid #ff6b00 !important; /* エントリー列の最下部を閉じる */
}

/* テーブル内ボタン */
.btn-table {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-white {
    background-color: #ffffff;
    border: 1px solid #2e66d4;
    color: #2e66d4;
}
.btn-white:hover { background-color: #f0f4ff; }

.btn-orange {
    background-color: #ff6b00;
    border: 1px solid #ff6b00;
    color: #ffffff;
}
.btn-orange:hover { background-color: #e55a00; }

.btn-blue {
    background-color: #2e66d4;
    border: 1px solid #2e66d4;
    color: #ffffff;
}
.btn-blue:hover { background-color: #1e50b3; }


/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 1024px) {
    /* 7ステップを少しコンパクトに */
    .step-card {
        min-height: 175px;
        padding: 15px 5px;
        max-width: 100%;
    }
    .step-name {
        font-size: 0.8rem;
    }
    
    /* 料金表の横スクロール化 */
    .table-responsive-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #e2eaf5;
        border-radius: 8px;
    }
    .pricing-table {
        width: 100%;
        min-width: 900px; /* テーブル幅を固定してスクロール可能に */
    }
}

@media (max-width: 767px) {
    .steps-section-title, .pricing-section-title {
        font-size: 1.5rem;
    }
    
    /* ステップフローを縦並びに変更 */
    .steps-flow {
        flex-direction: column;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }
    .step-item {
        flex-direction: column;
        width: 100%;
    }
    .step-card {
        width: 100%;
        min-height: auto;
        padding: 20px;
    }
    .step-arrow {
        transform: rotate(90deg); /* 矢印を下向きに */
        padding: 10px 0;
    }
}

/* ==========================================
   よくある質問セクション スタイル
   ========================================== */
.faq {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 50px;
}

/* 2カラムのグリッド配置（左右に分ける） */
.faq-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px; /* 縦の質問同士の隙間 */
}

/* 各質問のカード全体 */
.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2eaf5;
    border-radius: 6px;
    overflow: hidden; /* アニメーション時のはみ出しを防ぐ */
    box-shadow: 0 2px 8px rgba(0, 50, 150, 0.02);
    transition: border-color 0.3s ease;
}

/* 開いている状態のカードの境界線を少し濃くする */
.faq-item.is-open {
    border-color: #b3d1ff;
}

/* 質問エリア（ボタン） */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

/* Qマークの青い丸バッジ */
.faq-q-badge {
    width: 28px;
    height: 28px;
    background-color: #0052cc;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 質問のテキスト */
.faq-question-text {
    font-weight: bold;
    color: #1a1a1a;
    flex: 1;
    padding-right: 15px;
}

/* 右端の矢印アイコン */
.faq-arrow {
    color: #0052cc;
    font-size: 1rem;
    transition: transform 0.3s ease; /* 矢印回転の動き */
}

/* 開いたときに矢印を180度回転 */
.faq-item.is-open .faq-arrow {
    transform: rotate(180deg);
}

/* ------------------------------------------
   アコーディオン開閉アニメーションの肝
   ------------------------------------------ */
.faq-answer {
    height: 0; /* ★初期状態は高さを0にする */
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* スムーズなイージング */
    background-color: #fcfdfe; /* 回答エリアにほんのり背景色 */
}

/* 回答の内側（余白が潰れないように二重構造にする） */
.faq-answer-inner {
    padding: 24px 20px 40px 20px; /* 上の余白は0、左右下に余白 */
    display: flex;
    align-items: flex-start;
}

/* Aマークのグレーバッジ */
.faq-a-badge {
    width: 28px;
    height: 28px;
    background-color: #e2eaf5;
    color: #0052cc;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 回答のテキスト */
.faq-answer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a4a4a;
    flex: 1;
    padding-top: 2px;
}


/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 991px) {
    /* タブレット以下では2カラムを縦1カラムに変更 */
    .faq-grid {
        flex-direction: column;
        gap: 16px;
    }
    .faq-column {
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .faq-section-title {
        font-size: 1.5rem;
    }
    .faq-question {
        padding: 14px 15px;
    }
    .faq-q-badge, .faq-a-badge {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
        margin-right: 10px;
    }
    .faq-question-text {
        font-size: 0.85rem;
    }
    .faq-answer-inner {
        padding: 0 15px 15px 15px;
    }
    .faq-answer-text {
        font-size: 0.8rem;
    }
}

/* ==========================================
   無料相談セクション スタイル
   ========================================== */
.contact {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%); /* フォームに向けてほんのり青みがかかる背景 */
}

.contact-container {
    max-width: 720px; /* フォームが横に広がりすぎず、最も入力しやすい最適な幅 */
    width: 100%;
    margin: 0 auto;
}

.contact-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0033aa;
    margin-bottom: 20px;
}

.contact-section-title span{
    font-size: 1.2rem;
}

.contact-lead {
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* フォームの白枠ボックス */
.contact-form {
    background-color: #ffffff;
    border: 1px solid #e2eaf5;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 50, 150, 0.03);
}

.form-group {
    margin-bottom: 24px;
}

/* ラベル表現 */
.form-label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* 必須・任意バッジ */
.label-required {
    background-color: #e04f5f; /* 視認性の高い、警告になりすぎない上品な赤 */
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.label-optional {
    background-color: #a0aec0; /* 落ち着いたグレー */
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

/* 入力インプットの共通設定 */
.form-input, .form-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 14px 16px;
    border: 1px solid #ccdfff;
    border-radius: 8px;
    background-color: #fcfdfe;
    color: #333333;
    transition: all 0.2s ease;
    box-sizing: border-box; /* インサイド計算を厳密に */
}

/* 入力中のフォーカスエフェクト */
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #0052cc;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1); /* 青い上品な光彩 */
}

/* 自由記述用のテキストエリア */
.form-textarea {
    height: 150px;
    resize: vertical; /* ユーザーが縦方向にだけ広げられる親切設計 */
}

/* プレースホルダーの文字色 */
::placeholder {
    color: #a0aec0;
}

/* 送信ボタン（ヒーローのコンバージョンを踏襲） */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(90deg, #ff6b00 0%, #ff8c00 100%);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    padding: 16px 60px 16px 45px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-submit .btn-arrow {
    position: absolute;
    right: 25px;
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit .btn-arrow::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #ff6b00;
    border-right: 2px solid #ff6b00;
    transform: rotate(45deg);
    margin-left: -2px;
}


/* ==========================================
   フッター スタイル
   ========================================== */
.footer {
    width: 100%;
    background-color: #234589; /* 信頼感あふれるディープネイビーで全体の締め */
    padding: 50px 20px;
    color: #ffffff;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* フッター用ロゴ（ダーク背景用に調整） */
.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.footer-logo img{
    width: 240px;
    text-align: center;
}

/* コピーライト */
.footer-copy {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 16px;
}

/* --- ナビ横一列 --- */
.footer__nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.footer__nav-list li + li::before {
  content: '|';
  color: #2a3f66;
  padding: 0 14px;
  font-size: 0.75rem;
}
 
.footer__nav-link {
  font-size: 0.85rem;
  color: #8fa8cc;
  transition: color 0.2s ease;
}
 
.footer__nav-link:hover {
  color: #ffffff;
}


/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 767px) {
    .contact {
        padding: 60px 15px;
    }
    .contact-section-title {
        font-size: 1.5rem;
    }
    .contact-lead {
        font-size: 0.85rem;
        text-align: left; /* スマホ長文は左寄せが圧倒的に読みやすい */
    }
    .contact-form {
        padding: 24px 16px;
        border-radius: 12px;
    }
    .btn-submit {
        font-size: 1.1rem;
        padding: 14px 45px 14px 30px;
        width: 100%;
        max-width: 320px;
    }
}

/* ==========================================
   追従CTA（フローティングボタン）スタイル
   ========================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;      /* 画面下からの位置 */
    right: 30px;       /* 画面右からの位置（PC用） */
    z-index: 9999;     /* 最前面に表示 */
    
    /* 初期状態：透明にして、少し下に下げておく（アニメーション用） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* ★JSでこのクラスがつくとふわっと現れる */
.floating-cta.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ボタン自体のデザイン */
.btn-floating {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(90deg, #ff6b00 0%, #ff8c00 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 50px 14px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-floating:hover {
    transform: scale(1.03); /* ホバー時に少しだけ大きくして目立たせる */
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

/* ボタン内の白い丸矢印 */
.btn-floating .btn-arrow {
    position: absolute;
    right: 18px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-floating .btn-arrow::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #ff6b00;
    border-right: 2px solid #ff6b00;
    transform: rotate(45deg);
    margin-left: -2px;
}

/* ==========================================
   レスポンシブの追記
   ========================================== */
@media (max-width: 767px) {
    /* スマホサイズ時は画面の中央下に配置 */
    .floating-cta {
        right: auto;
        left: 50%;
        bottom: 20px;
        width: 90%;          /* 画面幅の90%のサイズで押しやすく */
        max-width: 340px;    /* 広がりすぎないように制限 */
        /* 横中央揃えにしつつ、初期状態は少し下に下げておく */
        transform: translateX(-50%) translateY(20px); 
    }
    
    /* ★スマホサイズ時の表示状態 */
    .floating-cta.is-show {
        transform: translateX(-50%) translateY(0);
    }
    
    .btn-floating {
        width: 100%;
        font-size: 1.1rem;
        padding: 14px 0;    /* 左右のパディングを無くして中央揃え */
   