html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロールを完全に禁止 */
}

:root {
    --blue: #003585;
    --blue-vivit: #0060ff;
    --light-blue: #87CEFA;
    --light-blue2: #cbebff;
    --dark-blue: #2c3e50;
    --yellow: #f4b548;
    --red: #e74c3c;
    --orange: #ff8c00;
    --gray: #ececec;
    --light-gray: #f3f3f3;
    --dark-gray: #575757;
    --card-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    --card-border: 1px solid #e0e0e0;
}

/* PC版のスタイル（デフォルトで適用） */
html {
    font-size: 16px; /* PC版のベースフォントサイズを設定 */
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* 横スクロールバーを防ぐ */
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column; /* 要素を縦に並べるため */
    min-height: 100vh;
    padding: 0; /*40px 20px; *//* 上下の余白 */
    box-sizing: border-box;
    /*align-items: center;*/
    align-items: center;
    overflow-x: hidden;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.blue-btn {
    background-color: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 50px;
    padding: 10px 25px;
}

.blue-btn:hover {
    background-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.center-btn {
    display: block;
    margin: 0 auto;
}

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

.white-border-btn:hover {
    background-color: var(--blue); 
    color: white;
    transform: translateY(-2px);
}

.contact-features-btn {
    margin-top: 30px;
    font-size: 1.2em;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin: 50px auto;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.hero-buttons .btn.blue-btn {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0.9rem 2.2rem 0.9rem 1.9rem;
    box-shadow: 0 5px 0 var(--blue), 0 6px 14px rgba(157, 45, 53, 0.25);
    position: relative;
}

.hero-buttons .btn.blue-btn:hover {
    background: var(--blue);
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn.blue-btn::after {
    content: "▶";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 30px;
}

.hero-buttons .btn.blue-btn:hover::after {
    background-color: var(--yellow);
    color: var(--blue);
}

.hero-buttons .btn.blue-btn.hero-btn-filled {
    background: #fff;
    color: var(--blue);
    border: none;
    box-shadow: 0 6px 14px rgba(157, 45, 53, 0.25);
}

.hero-buttons .btn.blue-btn.hero-btn-filled:hover {
    background: var(--yellow);
    color: black;
    border: 2px solid #fff;
    border: none;
}

.hero-buttons .btn.blue-btn.hero-btn-filled::after {
    background-color: var(--blue);
    color: #fff;
}

.hero-buttons .btn.blue-btn.hero-btn-filled:hover::after {
    background-color: #fff;
    color: black;
}

.mobile-header,
.mobile-nav {
    display: none;
}

.mobile-kaonavi-logo {
    display: none;
}


/*----------------------*/
/*----ヘッダー----*/
header {
    background-color: #fff; /* グレーの背景色に変更 */
    padding: 15px 0px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed; /* スクロールしても固定 */
    width: 100%; /* 幅を100%に設定 */
    top: 0; /* 上部に固定 */
    left: 0; /* 左に固定 */
    z-index: 1000; /* 他の要素より手前に表示 */
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.header-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* ロゴを左、右側の要素を右に寄せる */
    align-items: center;
    width: min(100%, 1400px);
    padding: 0 20px;
    box-sizing: border-box;
}

.header-right-content {
    display: flex; /* ナビゲーションとボタンをFlexboxで配置 */
    align-items: center;
    gap: 30px; /* ナビゲーションとボタンの間の隙間 */
}

.systena-logo {
    width: clamp(100px, 8.2vw, 120px);
    min-width: 88px;
    height: auto;
    flex-shrink: 0;
    
}

.header-content > a[aria-label="ページ上部へ戻る"] {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

nav ul {
    list-style: none; /* 箇条書きの点を削除 */
    margin: 0;
    padding: 0;
    display: flex; /* 横並びにする */
    align-items: center; /* 垂直方向中央揃え */
}

nav ul li {
    margin-right: 0px; /* リンク間のスペース */
    font-size: 16px;
}

nav ul li:last-child {
    margin-right: 0; /* 最後のリンクの右側のマージンを削除 */
}

nav ul li a:hover {
    color: var(--orange); /* ホバー時の色変更 */
}

.contact-button-header {
    background-color: var(--blue); /* Orange color */
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap; /* ボタン内のテキストが折り返されないように */
    text-decoration: none;
}

.contact-button-header:hover {
    background-color: var(--yellow);
    color: #333;
    transform: translateY(-2px);
}

/* ナビゲーションの各リンク（文字）のスタイルを修正 */
.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px; 
    white-space: nowrap;
    padding: 5px 0;
}

.main-nav ul li a:hover {
    color: var(--blue); /* ホバー時の色変更 */
}

/* ナビゲーションの各項目の間隔を調整 */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px; 
}

/* PC用: 常に表示する（デフォルト） */
.kaonavi-link {
    display: inline-block; /* インラインブロック要素として表示 */
}


/* ヘッダー上部の余白をなくす */
body {
    padding-top: 0; /* bodyタグの余白を削除 */
}
header {
    margin-top: 0; /* headerタグの余白を削除 */
}

main {
    padding-top: 60px; /* ヘッダーの高さ分だけ下にずらす (ヘッダーの高さに合わせて調整) */
}

/*----------------------*/
/*----ファーストビュー----*/
.hero-section {
    padding-top: 95px;
    position: relative;
    min-height: 600px; 
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    width: 100%;
    background-image: linear-gradient(68deg, var(--blue) 0%, var(--blue) 68%, var(--yellow) 68%, var(--yellow) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* スクロールに合わせて背景が動くように */
    margin-bottom: 30px;

}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 48px;
}

.hero-title {
    transition: none;
    display: block;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: bold;
    margin: 20px 0;
    padding: 20px 0 0 0;
    line-height: 1.35;
    text-align: left; /* テキストを左揃えにする */
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: none;
    white-space: nowrap;
    word-break: keep-all;
    opacity: 1;
}

.hero-title {
    opacity: 1;
    transform: none;
}

.hero-subtitle {
    display: block;
    font-size: clamp(24px, 2.5vw, 28px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 34px;
    text-align: left; /* 左揃えを明確にします */
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* 左側のテキストとボタンをまとめるコンテナ */
.hero-left-content {
    width: 54%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;;
    min-height: 100%;
}

/* 右側のテキストコンテナ */
.hero-right-container {
    width: 46%;
    position: relative; /* 子要素の絶対位置指定の基準にする */
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 20px;
}
/* 画像コンテナのスタイル */
.hero-image-container {
    flex: 0 0 auto;
    margin: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    top: 50px;
}

.hero-image-container img {
    width: min(100%, 520px);
    max-width: 480px;
    height: auto;
}
/* 右側の吹き出しロゴ（画像の上に配置） */
.hero-kaonavi-bubble {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: auto;
    margin-top: 0;
    background-color: #fff;
    border-radius: 0;
    padding: 4px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.hero-kaonavi-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 16px solid #fff;
}

.hero-kaonavi-bubble img {
    width: clamp(180px, 16vw, 250px);
    height: auto;
    display: block;
}

.hero-right-content {
    position: static;
    transform: none;
    width: min(480px, 100%);
    margin-top: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    box-shadow: none;
    padding: 12px 10px;
    box-sizing: border-box;
    position: relative;
    top: 60px;
}

.hero-description {
    font-size: 18px;
    color: black;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    text-align: center;
}

/* ページ読み込み後にこのクラスが追加され、スライドインが実行されます */
.hero-title.is-in {
    opacity: 1;
    transform: none;
}

/* スクロールアウト時にこのクラスが追加され、スライドアウトが実行されます */
.hero-title.is-out {
    opacity: 1;
    transform: none;
}

.hero-logo {
    width: 1300px;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto; /* 中央寄せ */
    padding-right: 105px;
}


.logos-combined {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.asteria-logo {
    height: 60px; /* Adjust as needed */
    margin-right: 10px;
}

.kaonavi-logo {
    height: 40px; /* Adjust as needed */
    margin-left: 10px;
}

.x-mark {
    font-size: 40px;
    font-weight: bold;
    color: #666;
    margin: 0 10px;
}

h1 {
    font-size: 48px;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-button,
.free-trial-button {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button {
    background-color: var(--orange); /* Orange color */
    color: #fff;
}

.contact-button:hover {
    background-color: var(--blue);
}

.free-trial-button {
    background-color: #fff;
        color: var(--blue);
    border: 2px solid var(--blue);
}

.free-trial-button:hover {
    background-color: #fff;
}

.pc-only-section {
    max-width: 1200px; /* 全体の最大幅 */
    margin: 0px auto; /* 上下の余白と中央寄せ */
    padding: 20px 0px 0px 0px;
    display: block;
}

.mobile-only-title,
.mobile-only-title2 {
    display: none;
}

/* 青い背景のセクション見出し */
.section-heading-blue {
    background: var(--blue);
    background-size: cover; /* セクション全体を覆うように拡大・縮小 */
    background-position: center; /* 背景画像を中央に配置 */
    background-repeat: no-repeat; /* 画像が繰り返さないように設定 */
    color: white;
    text-align: center;
    padding: 12px 20px;
    margin: 10px 0 50px 0; /* 下の要素との間隔 */
    border-radius: 5px; /* 角の丸み */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    width: 100%; /* 親要素の幅いっぱいに広げる */
    box-sizing: border-box; /* paddingとborderを幅に含める */
}

.section-heading-blue h2 {
    margin: 0; /* h2のデフォルトマージンをリセット */
    font-size: 32px;
    line-height: 1.6;
    /* font-weight: 700; */
}

.section-heading-blue .pc-only-title {
    font-size: 32px;
    line-height: 1.5;
}

.problem-solving {
    background: transparent;
    color: var(--blue);
    text-align: center;
    padding: 12px 20px 34px;
    margin-bottom: 46px;
    margin-top: 0;
    width: 100%; /* 親要素の幅いっぱいに広げる */
    max-width: 900px;
    margin-left: auto; /* ← 左マージンを自動に設定 */
    margin-right: auto; /* ← 右マージンを自動に設定 */
    box-sizing: border-box; /* paddingとborderを幅に含める */
    position: relative;
}

.problem-solving::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 20px;
    background: var(--blue);
    clip-path: polygon(
        0 0,
        calc(50% - 24px) 0,
        50% 14px,
        calc(50% + 24px) 0,
        100% 0,
        100% 3px,
        calc(50% + 24px) 3px,
        50% 17.5px,
        calc(50% - 24px) 3px,
        0 3px
    );
}

.problem-solving::before {
    content: none;
}

.problem-solving h2 {
    margin: 0; /* h2のデフォルトマージンをリセット */
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

.solution-heading h2 {
    font-size: 32px; /* 少し大きめのフォントサイズ */
}

/* 3つの課題カードのコンテナ */
.problem-cards-container {
    display: flex; 
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin: 20px auto 30px;
}

.solution-cards-container { 
    display: flex; 
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 30px;
    margin-bottom: 40px;
}

 /* すべてのカードに共通する基本スタイル */

.mobile-break {
    display: none;
}

.pc-only-break {
    display: block;
}

.pc-only-gap {
    display: inline-block;
    width: 1em; /* 親要素のフォントサイズと同じだけ文字間隔を空ける */
}

.pc-only-section {
    display: block;
}


.mobile-only-section {
    display: none;
}

.card {
    /*background-color: #fffaf3;*/
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--card-box-shadow);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}


.card.problem-solution-card-before {
    background-color: #fff;
    max-width: calc((100% - 140px) / 3);
    flex: 0 0 calc((100% - 140px) / 3);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.card.problem-solution-card-before .problem-card-title,
.card.problem-solution-card-before .card-text,
.card.problem-solution-card-after .problem-card-title,
.card.problem-solution-card-after .card-text {
    text-align: center;
}

.card.problem-solution-card-before .problem-card-title,
.card.problem-solution-card-after .problem-card-title {
    align-self: center;
}

.card.problem-solution-card-before .problem-card-title {
    width: 100%;
    text-align: center;
    min-height: 2.8em; /* 2行分の高さを確保して見出し位置を揃える */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 12px;
}

.card.problem-solution-card-before .card-text {
    width: 100%;
    text-align: center;
}

.card.problem-solution-card-after {
    background-color: #fff; /* 背景色を追加 */
    max-width: calc((100% - 140px) / 3);
    flex: 0 0 calc((100% - 140px) / 3);
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.solution-card-image {
    display: block;
    width: 100px;
    height: 100px;
    max-width: 260px;
    height: auto;
    margin: 10px;
}

.adapter-card {
    flex: 1 1 300px; /* Flexアイテムのサイズ設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px; /* カードの固定幅 */
}

.card-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 6px; 
    background-color: var(--blue); 
    border-top-left-radius: 8px; /* 角の丸みに合わせる */
    border-top-right-radius: 8px; /* 角の丸みに合わせる */
}

.problem-card-title {
    font-size: 24px;
    font-weight: 750;
    color: var(--dark-gray);
    margin-top: 15px; /* 線の分だけ下げる */
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left; 
    align-self: flex-start;
}

.card-title span {
    font-size: 24px;
    font-weight: 750;
    color: var(--red);
    margin-top: 15px; /* 線の分だけ下げる */
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left; 
    align-self: flex-start;
}

.card-text {
    font-size: 16px;
    color: black;
    line-height: 1.6;
}


/* 下向き矢印のコンテナ */
.arrow-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* 矢印間のスペース */
    margin-top: 40px; /* 上の要素との間隔 */
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.arrow-column {
    flex: 1 1 300px; /* 伸縮性 縮小性 基準幅 */
    max-width: 350px; /* カードの最大幅と同じ */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 個々の下向き矢印 */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 100px solid transparent; /* 矢印の左辺 */
    border-right: 100px solid transparent; /* 矢印の右辺 */
    border-top: 100px solid var(--blue); /* 矢印の底辺 (色) */
    position: relative;
    top: +10px; /* 微調整 */
}


/* 全体コンテナ */
.company-data-section {
    text-align: center;
    padding: 30px 30px;
    background-color: var(--blue);
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    min-height: 500px;
    width: 100%;
    box-sizing: border-box;
}

.company-data-section-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

/* Kaonaviメインロゴ */
.kaonavi-main-logo {
    margin: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.kaonavi-main-logo img {
    max-width: 300px; /* ロゴの最大幅を調整 */
    height: auto;
    margin: 0;
}

.kaonavi-main-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: black;
    margin: 0;
}

.kaonavi-underline {
    position: absolute;
    bottom: -45px; /* ロゴの下線位置を調整 */
    left: 55%;
    transform: translateX(-50%);
    width: 100%; /* 下線画像の幅を調整 */
    max-width: none;
    height: auto;
    display: block;
}


/* 説明テキスト */
.descriptive-text {
    background-color: #ffffff;
    border-radius: 8px; /* 例: 角を少し丸くする */
    max-width: 800px;
    margin: 20px auto; /* 中央寄せと下部マージン */
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}
.descriptive-text p {
    margin-bottom: 15px;
    font-weight: 500;
}

/* シェアNo.1コンテナ */
.no1-share-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(12px, 4vw, 50px);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* 個々のシェアボックス */
.share-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #fff;
    padding: 20px clamp(16px, 3vw, 40px);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: clamp(300px, 42vw, 400px);
    min-height: 120px;
}

.wreath-icon,
.wreath-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 42vw, 400px);
    height: auto;
    pointer-events: none;
}

.share-text,
.count-label {
    position: relative;
    z-index: 1;
    font-size: 24px;
    color: #333;
    line-height: 1.4;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.share-no1 {
    position: relative;
    z-index: 1;
    font-size: clamp(12px, 1.6vw, 20px);
    font-weight: 700;
    color: var(--blue);
    margin: 0 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(2px, 0.4vw, 5px);
    line-height: 1;
}

.count-number {
    position: relative;
    z-index: 1;
    font-size: clamp(22px, 4.2vw, 50px);
    font-weight: 900;
    color: var(--blue);
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(2px, 0.4vw, 4px);
    line-height: 1;
}

.no1-number {
    font-size: clamp(22px, 4.2vw, 50px);
    font-weight: 900;
    margin-left: 0;
}

.num-superscript{
    font-size: 10px;
    vertical-align: super;
    margin-left: 2px;
    color: #666;
}

.no1-superscript {
    font-size: 10px;
    vertical-align: super;
    margin-left: 2px;
    color: #666;
}

.footnotes-superscript {
    font-size: 1.0em;
    vertical-align: baseline;
    margin-left: 2px;
    color: #666;
}

/* 利用企業社数ボックス */
.company-count-box {
    position: relative;
    display: inline-block; /* 中央寄せのため */
    background-color: #f8f8f8;
    border: 1px solid #87CEFA;
    padding: 5px 60px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px; /* 上のシェアボックスとの間隔 */
    margin-bottom: 15px; /* 下の脚注との間隔 */
    min-height: 150px;
    min-width: 350px;
}

.count-unit {
    font-size: clamp(14px, 2.5vw, 30px);
    font-weight: 700;
    margin-left: 4px;
}

/* 脚注 */
.footnotes {
    text-align: left;
    font-size: 10px;
    color: #666;
    max-width: 900px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.footnotes p {
    margin: 5px 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ダウンロードボタン */
.download-button-wrapper {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 0px;
}

.btn.blue-btn.contact-features-btn {
    display: block; /* または display: inline-block; */
    width: fit-content; /* または具体的な幅（例: 300px）を指定 */
    margin: 0 auto; /* 左右の余白を自動にして中央揃えにする */

    /* その他のスタイル */
    padding: 15px 30px;
    background-color: #fff;
    color: var(--blue);
    text-decoration: none;
    border-radius: 5px;
    border-radius: 50px;
}

.btn.blue-btn.contact-features-btn:hover {
    background-color: var(--blue);
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}


/* セクション全体のコンテナ */
.post-adoption-challenge-section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

/* 2つの吹き出し型説明コンテナ */
.callout-bubbles-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* 個々の吹き出しボックス */
.callout-box {
    flex: 1 1 0;
    min-width: 280px;
    max-width: 480px;
    background-color: #ffffff;
    border-radius: 30px 30px 10px 10px;
    box-shadow: var(--card-box-shadow);
    overflow: hidden;
    text-align: center;
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.callout-bubble {
    background-color: var(--gray);
    padding: 20px 24px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-gray);
    line-height: 1.4;
    position: relative;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: none;
    width: 100%;
    box-sizing: border-box;
}

.callout-content {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    box-sizing: border-box;
    text-align: center;
}

.blue-arrow-icon {
    color: var(--blue);
    font-size: 0;
    font-weight: bold;
    line-height: 1;
    display: block;
    text-align: center;
    margin: 4px auto;
    flex: none;
}

.blue-arrow-icon::after {
    content: "↓";
    font-size: 1.6em;
    font-weight: bold;
    color: var(--blue);
    display: block;
}

.callout-content p {
    margin: 0;
    font-size: 18px;
    color: var(--blue);
    line-height: 1.6;
    font-weight: 600;
}


.callout-bubble p {
    color: var(--dark-gray);
    margin: 0;
}

/* プロセスフロー図 */
.mobile-adapter-image-container{
    display: none;
}

.process-flow-diagram {
    margin-bottom: 20px;
    padding: 15px 0;
}

.adapter-steps-flow {
    display: flex;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
}

.adapter-step-card {
    position: relative;
    flex: 0 1 210px;
    max-width: 210px;
    min-width: 180px;
    padding: 18px 14px 14px;
    border-radius: 8px;
    overflow: hidden;
    /*border: 1px solid var(--blue);*/
    box-shadow: var(--card-box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-flow-diagram.is-animate-ready .adapter-step-card,
.process-flow-diagram.is-animate-ready .adapter-flow-arrow {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-flow-diagram.is-animate-ready .adapter-step-card.is-visible,
.process-flow-diagram.is-animate-ready .adapter-flow-arrow.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.adapter-step-card.step-1 {
    background: #fff;
    /*border: 1px solid var(--blue);*/
}

.adapter-step-card:not(.step-4)::after {
    content: none;
}

.adapter-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 30px;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.adapter-step-head {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 18px;
    width: 100%;
    min-height: 150px; /* 02基準でヘッダー領域を揃える */
    justify-content: flex-start;
}

.adapter-step-head-vertical {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.adapter-step-number {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--blue);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    margin: 10px;
}

.adapter-step {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0;
}

.adapter-step-card.step-1 .adapter-step-number {
    color: #fff;
}

.adapter-step-title {
    margin: 10px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.02em;
    color:#333;
}

.adapter-step-card.step-4 .adapter-step-title {
    color: #ffffff;
}

.adapter-step-icon {
    display: block;
    width: 120px;
    height: auto;
    margin: 8px auto 0;
}

.adapter-step-icon-kaonavi {
    width: 150px;
}

.adapter-step-subtitle {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}


.process-step {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center; /* 中央寄せ */
    text-align: center;
    min-width: 120px; /* 各ステップの最小幅 */
    flex-shrink: 0; /* 縮小させない */
    margin: 10px 0; /* 折り返した時の縦マージン */
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* 円形 */
    background-color: var(--blue); /* 青色 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}



.step-icon {
    width: 100px; /* アイコンの幅 */
    height: auto;
    margin: 10px;
}



.step-icon.large-icon {
    width: 120px; /* 一部のアイコンが大きめの場合 */
}

.inline-logo {
    height: 25px; /* インラインロゴの高さ */
    vertical-align: middle;
}

.small-text {
    font-size: 0.8em;
    display: block; /* 改行させる */
}

.step-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.flow-arrow {
    width: 40px; /* 矢印画像の幅 */
    height: auto;
    flex-shrink: 0; /* 縮小させない */
    margin: 0 10px;
}

/* 下部のまとめボックス */
.summary-blue-box {
    background-color: #edf7ff;
    color: var(--blue);
    padding: 15px 10px;
    border-radius: 10px 10px 100px 100px;
    box-shadow: var(--card-box-shadow);
    border: var(--card-border);
    max-width: 1100px; /* ボックスの最大幅 */
    margin: 0 auto;
}

.summary-main-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px;
}

.summary-sub-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
    /* margin: 0; */
}



/*実際にアダプターを導入すると*/
.solution-comparison-section {
    padding: 0px 10px;
    max-width: 1200px;
    margin: 0px auto;
    text-align: center;
    background-color: #ffffff; /* 白い背景 */
    border-radius: 8px;
    margin-bottom: 30px;
}

/* メイン見出し (通常のテキスト色) */
.section-title-normal {
    font-size: 46px;
    font-weight: 700;
    color:var(--blue);
    margin: 30px;
}

/* 説明文 */
.section-description {
    font-size: 18px;
    font-weight: 600;
    color: black;
    line-height: 1.8;
    max-width: 1100px;
    margin: 0 auto 50px auto;
    margin-top: 0;
}

.section-description .product-name-emphasis {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--blue);
    text-shadow: 2px 2px 0px var(--yellow);
}

/* 導入前後の比較コンテナ */
.comparison-container {
    display: flex;
    justify-content: center;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 40px; /* ボックスと矢印の間のスペース */
    flex-wrap: wrap; /* レスポンシブ対応 */
}

/* 個々の比較ボックス */
.comparison-box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--card-box-shadow);
    overflow: hidden; /* ヘッダーの角丸がはみ出さないように */
    width: 400px; /* 固定幅またはflex-basisで調整 */
    flex-shrink: 0; /* 縮小させない */
    text-align: center;
}

.card.problem-solution-card-before,
.card.problem-solution-card-after,
.card.problem-solution-card,
.callout-box,
.adapter-step-card,
.comparison-box,
.feature-card,
.kaonavi-image {
    box-shadow: var(--card-box-shadow);
    border: var(--card-border);
}

.box-header-1 {
    background-color: var(--gray); /* 青色 */
    color: var(--blue);
    font-size: 28px;
    font-weight: 700;
    padding: 12px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 20px; /* 下のコンテンツとの間隔 */
}

.box-header-2 {
    background-color: var(--yellow); /* 黄色 */
    color: white;
    font-size: 28px;
    font-weight: 700;
    padding: 12px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 20px; /* 下のコンテンツとの間隔 */
}

.box-content {
    padding: 0 20px 20px; /* 上部パディングを0にしてヘッダーとの隙間を詰める */
}

.box-text {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px; /* テキストの高さの差を吸収するため、最小高さを設定 */
    display: flex; /* flexboxでテキストを中央揃え */
    align-items: center;
    justify-content: center;
}

.box-illustration {
    height: 150px; /* イラストの最大幅 */
    width: auto;
    display: block; /* 中央寄せのため */
    margin: 0 auto;
}

/* 中央のグラデーション矢印 */
.comparison-arrow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* ボックスとの間隔を確保 */
}

.comparison-arrow {
    width: 100px; /* 矢印の幅 */
    height: auto;
    flex-shrink: 0; /* 縮小させない */
}


/*--------------------------------*/
/* カオナビアダプターには下記が必要*/
.container {
    text-align: center;
    background-color: var(--blue); /* 青い背景色 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
}

.new-section-bg {
    background-image: url('assets/images/必要なもの.png'); /* 画像のパスを指定 */
    background-size: cover; /* コンテナ全体を覆うように画像を調整 */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像が繰り返さないように設定 */
    height: 450px; /* 画像の縦横比に合わせて高さを調整 */
    width: 100%;
    margin-top: 50px; 
    margin-bottom: 50px; 
}

.tablet-break {
    display: none;
}

.main-title {
    color: white;
    font-size: 36px;
    margin-bottom: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

.main-mobile-img {
    display: none;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px; /* カード間のスペース */
    flex-wrap: wrap;
    margin: 70px auto 0 auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--card-box-shadow);
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease; /* ホバー時のアニメーション */
} 

.adapter-card-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -20px;
    color: #333;
    min-height: 80px; /* テキストが収まるように最小の高さを設定 */
    display: flex; /* これを追加 */
    align-items: center; /* これを追加 */
    justify-content: center; /* これを追加 */
    text-align: center; /* テキストを水平方向に中央寄せ */
}

.card-image {
    width: 100%;
    max-width: 800px; /* 画像の最大幅を適宜調整 */
    display: block; /* 中央寄せのためにブロック要素に設定 */
    margin: 40px auto; /* 上下の余白と中央寄せ */
}

.need-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

.icon-group {
    display: flex;
    justify-content: center;
    align-items:center;
    gap: 20px; /* アイコン間のスペース */
    margin-top: 10px;
}

.icon {
    width: 120px; /* アイコンのサイズ */
    height: 120px;
    object-fit: contain;
}

/*.section-title {
    font-size: 4.0em;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid #e0e0e0;
}*/
.section-title {
    font-size: 38px;
    font-weight: bold;
    color: #333;
    margin: 30px auto; /* 上下左右の余白を調整し、中央に配置 */
    text-align: center;
    border: 1px solid #e0e0e0;
    
    /* 背景色と幅を追加 */
    background-color: #f7f7f7; /* 例として薄いグレーを設定 */
    width: 600px; /* 適切な幅に調整してください */
    padding: 10px; /* 内側の余白 */
    border-radius: 10px; /* 角を丸くする */

    /* シャドウを追加して立体感を出す */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features-group {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 30px;
}

.features-subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin: 0 0 20px;
}

.features-subtitle-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 20px;
}

.features-subtitle-wrapper .features-subtitle {
    margin-bottom: 0;
}

.features-subtitle-wrapper--new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.features-new-badge {
    display: block;
    width: auto;
    height: clamp(40px, 4.5vw, 56px);
    margin: 10px 0 12px 5px;
}

.features-subtitle::before {
    content: "";
    display: block;
    width: 10px;
    height: 28px;
    background-color: var(--blue);
    flex-shrink: 0;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 画面幅が狭い場合にカードを折り返す */
    max-width: 1200px; /* コンテナの最大幅 */
    width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.features-group:last-of-type {
    margin-bottom: 60px;
}

.features-container-scroll,
.features-container-pair {
    box-sizing: border-box;
}

.feature-card {
    background-color: #edf7ff;
    border-radius: 8px;
    box-shadow: var(--card-box-shadow);
    padding: 18px;
    width: 305px; /* カードの固定幅 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kaonavi-put-card {
    background-color: #fffaf3; /* 例えば、薄い黄色に変更 */
}

.card-tag {
    background-color: #ffe0b2; /* 黄色っぽい背景 */
    color: #e65100; /* オレンジ色の文字 */
    font-size: 1.5em;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    display: inline-block;
}

.card-icon-wrapper {
    width: 170px; /* アイコンのラッパーサイズ */
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background-color: #ffffff; /* アイコンの背景色 */
    border-radius: 50%; /* 円形 */
}

.feature-icon {
    max-width: 100%; /* アイコンの最大幅 */
    max-height: 100%; /* アイコンの最大高さ */
    object-fit: contain;
}

.feature-description {
    font-size: 16px;
    font-weight: bold;
    color: black;
    line-height: 1.6;
    margin: 0; /* デフォルトマージンをリセット */
}

.feature-description .feature-note {
    font-size: 0.8em;
    font-weight: 600;
}

.frame {
    display: none;
}

.company-overview-section {
    position: relative;
    width: 100%;
    background-image: url('assets/images/会社概要枠.png');
    background-size: 1100px auto; /* 画像の幅を1200pxに固定し、高さは自動調整 */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像の繰り返しを防止 */
    padding: 20px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin-top: 20px;
}

.overview-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.0em;
    text-align: center;
    padding: 0 10px; /* こちらに左右のパディングを追加 */
}

.center-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* 親要素の幅いっぱいに広げる */
}

.overview-title {
    font-size: 38px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.overview-description {
    font-size: 16px;
    color: black;
    margin-bottom: 20px;
}

/*-------- ビジネスソリューションバナーセクション --------*/
.business-solution-section {
    padding: -20px 20px; 
    text-align: center;
    width: 100%;
    background-size: cover;
    background-position: center; /* 背景画像を中央に配置 */
    background-repeat: no-repeat;
}

.business-solution-banner {
    max-width: 65%; /* 親要素に合わせて拡大縮小 */
    height: auto;
    display: block; /* 余分なスペースをなくす */
    margin: 10px auto 30px auto; /* 中央寄せ */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); 
    transition: transform 0.3s ease;
}

.business-solution-banner:hover {
    transform: translateY(-3px);
}

/* お問い合わせ電話番号セクション */
.contact-phone-section {
    background-color: var(--light-gray);
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin: 0 auto; 
}

.contact-text {
    font-size: 18px;
    color: black;
    margin: 6px;
}

.contact-department {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 auto;
}

.phone-number {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--orange); /* オレンジ色 */
    text-decoration: none; /* 下線をなくす */
    display: block;
    margin: 10px;
    letter-spacing: 0.05em; /* 文字間隔を少し広げる */
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #e65c2b; /* ホバーで色を濃く */
}

.reception-hours {
    font-size: 1.4em;
    color: #777;
    margin-bottom: 0;
}
/* 画像を並列で配置するためのコンテナ */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background-color: #ddf3ff;
    padding: 30px 0; /* 左右のパディングを0に変更 */
    border-radius: 10px;
    box-sizing: border-box; /* ここを追加 */
    padding-left: 20px;
    padding-right: 20px;
}
/* 個々の画像に対するスタイル */
.kaonavi-image {
    max-width: 40%; /* 2つの画像が並ぶように幅を調整 */
    height: auto;
    border-radius: 8px; /* 角を丸くする */
    box-sizing: border-box;
}

/* すべての画像要素に適用されるレスポンシブ設定 */
img {
    max-width: 100%; /* 親要素の幅を超えないようにする */
    height: auto;    /* 縦横比を維持する */
    display: block;  /* 不要な余白を削除し、中央寄せなどをしやすくする */
}

/* 旧タブレット用レイアウト（等比縮小方式に移行したため無効化） */


/* スマホ用: メディアクエリ内で非表示に設定 */
@media (max-width: 768px) {

    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html {
        font-size: 14px; /* スマホやタブレットでは基準を少し小さくする */
    }

    /* PC版ヘッダーを非表示に */
    .pc-header {
        display: none;
    }

    header .header-content {
        display: none;
    }
    header {
        padding: 0; /* モバイルヘッダーのスタイルに任せる */
    }

    /* 各セクションに左右のパディングを統一して設定 */
    .hero-section,
    .problem-solution-section,
    .company-data-section,
    .post-adoption-challenge-section,
    .solution-comparison-section,
    .company-overview-section,
    .contact-phone-section,
    .container {
        padding-left: 20px;
        padding-right: 20px;
        margin: 10px auto 0;
        box-sizing: border-box;
    }

    /* スマホ版ヘッダーを表示 */
    .mobile-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 4vw;
        width: 100%;
        position: relative;
        z-index: 100;
        top: 0;
        background-color: #fff;
        box-sizing: border-box;
    }
     /* ヘッダーのパディングは、ヘッダー要素自体で制御 */
    .mobile-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* スマホ版のロゴとボタンのスタイル */
    .mobile-header .logo img {
        width: clamp(96px, 22vw, 138px);
        height: auto;
        min-height: 0;
    }

    .mobile-header .logo {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .mobile-header .contact-button-header {
        font-size: 14px;
        padding: 6px 12px;
        flex: 0 1 auto;
        background-color: var(--blue);
        margin-right: 8px;
    }
    
    .mobile-header .contact-button-header:hover {
        background-color: var(--yellow);
        color: #333;
    }

    /* ハンバーガーメニューの調整 */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        flex: 0 0 auto;
        line-height: 0;
        font-size: 0;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 18px;
        background: transparent;
        position: relative;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        border: none;
        overflow: visible;
    }

    .hamburger::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 2px;
        background-color: var(--blue);
        border-radius: 1px;
        box-shadow: 0 8px 0 0 var(--blue), 0 16px 0 0 var(--blue);
    }

    .hamburger::after {
        display: none;
        content: none;
    }

    /* モバイルナビゲーションのスタイル */
    .mobile-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
        text-align: left;
    }

    .mobile-nav.is-open {
        display: block;
        position: fixed; /* ここをfixedに修正 */
        top: 60px;
        right: 0;
        width: 200px;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
        text-align: left;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-direction: column;
        width: 100%;
    }

    .mobile-nav ul li {
        width: 100%;
        text-align: left;
        padding-left: 0;
        margin: 0;
    }

    .mobile-nav ul li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
    }

    .mobile-nav ul li a:hover {
        color: #fff;
        background-color: var(--blue);
    }

    /* ヒーローセクションの調整 */
    .hero-section {
        background-image: linear-gradient(68deg, var(--blue) 0%, var(--blue) 68%, var(--yellow) 68%, var(--yellow) 100%);
        height: auto;
        min-height: auto;
        padding-top: 8px;
        padding-bottom: 12px;
        background-position: center;
        background-repeat: no-repeat;
        align-items: flex-start;
    }

    .hero-content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        margin-top: 0;
        padding: 0 10px;
        text-align: center;
    }

    .hero-title {
        font-size: 24px;
        font-weight: 800;
        word-break: normal;
        white-space: normal;
        text-align: center;
        color: #fff;
        margin: 0;
    }

    .hero-subtitle {
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        color: #fff;
        margin-bottom: -20px;
    }

    .hero-title br {
        display: none;
    }
    .hero-title .break {
        display: none;
    }

    /* ヒーローサブタイトルの改行をなし */
    .hero-subtitle .break {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        align-items: center !important;
        justify-content: center;
        position: relative;
        z-index: 3;
    }

    /* ヒーローセクションの左側と右側の要素の幅を調整 */
    .hero-left-content {
        width: 100%;
        height: auto;
        min-height: 180px;
        text-align: center;
        padding: 0;
        align-items: center;
        position: relative;
        z-index: 2;
        height: auto;
    }

    .hero-right-container {
        width: 100%;
        height: auto;
        min-height: 180px;
        text-align: center;
        padding: 0;
        align-items: center;
        top: -20px;
    }

    /* ヒーローセクション右側のテキストの位置を調整 */
    .hero-kaonavi-bubble {
        display: none;
    }

    .hero-image-container {
        margin: 4px auto 6px;
        top: 0;
    }
    .hero-image-container img {
        width: min(320px, 88vw);
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .hero-right-content {
        position: static;
        transform: none;
        width: min(300px, 100%);
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 0;
        box-shadow: none;
        padding: 8px 10px;
        margin-top: 0;
        top: 0;
    }

    .hero-description {
        font-size: 13px;
        color: black;
        line-height: 1.6;
        margin: 0;
        white-space: pre-wrap;
        text-align: center;
    }

    .hero-description br {
        display: none;
    }    

    .hero-image-container img {
        display: block;
    }

    /* その他のセクションの調整 */
    .problem-cards-container,
    .solution-cards-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .card.problem-solution-card {
        flex: 1 1 100%;
        max-width: none;  
    }

    .section-description {
        font-size: 1rem;
    }


    /* カオナビ紹介のロゴ*/



    /* 左右のスクロールを防止 */
    body {
        overflow-x: hidden;
    }

    /* カオナビ下線の修正 */
    .kaonavi-underline {
        width: 80%;
    }

    /* 月桂樹アイコンの修正 */
    .wreath-icon,
    .wreath-icon-large {
        width: 80%;
    }

    /* no1-share-container の幅を調整 */
    .no1-share-container {
        flex-direction: column;
        gap: 20px;
    }

    /* company-count-box の幅を調整 */
    .company-count-box {
        min-width: 90%;
    }

    .hero-buttons .btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        max-width: calc(50% - 4px);
        font-size: 13px;
        padding: 8px 12px;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-buttons .btn.blue-btn {
        padding: 8px 14px 8px 12px;
        gap: 5px;
        box-shadow: 0 3px 0 var(--blue), 0 4px 10px rgba(157, 45, 53, 0.2);
    }

    .hero-buttons .btn.blue-btn::after {
        width: 18px;
        height: 18px;
        font-size: 9px;
        flex: 0 0 18px;
    }

    .hero-buttons .btn.blue-btn.hero-btn-filled {
        box-shadow: 0 4px 10px rgba(157, 45, 53, 0.2);
    }

    @media (max-width: 480px) {
        .hero-buttons {
            gap: 6px;
        }

        .hero-buttons .btn {
            font-size: 12px;
            padding: 7px 10px;
        }

        .hero-buttons .btn.blue-btn {
            padding: 7px 12px 7px 10px;
            gap: 4px;
        }

        .hero-buttons .btn.blue-btn::after {
            width: 16px;
            height: 16px;
            font-size: 8px;
            flex: 0 0 16px;
        }
    }

    .btn.blue-btn.contact-features-btn {
        font-size: 14px;
        padding: 8px 16px;
        margin-top: 4px;
        margin-bottom: 6px;
    }

    /* 月桂樹アイコンの修正 */
    .wreath-icon,
    .wreath-icon-large {
        width: 80%; /* 画面幅に合わせて調整 */
    }

    .mobile-kaonavi-logo {
        display: block;
        position: relative;
        width: fit-content;
        margin: 0 auto;
        text-align: center;
        background-color: #fff;
        padding: 4px 20px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    }

    .mobile-kaonavi-logo::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 16px solid #fff;
    }

    .mobile-kaonavi-logo img {
        width: 150px;
        height: auto;
    }

    .section-heading-blue {
        text-align: center;
        box-sizing: border-box;
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 90%;
        margin: 0 auto; 
    }

    .section-heading-blue h2.mobile-only-title {
        font-size: 18px;
        line-height: 1.4;
        background: transparent;
    }

    .section-heading-blue h2.mobile-only-title2 {
        font-size: 24px;
        line-height: 1.4;
        background: transparent;
    }

    .section-heading-blue .mobile-only-title2 {
        display: block;
        margin-top: 16px;
        margin-bottom: 12px;
        padding: 8px 0;
        color: var(--blue);
    }

    .mobile-only-section .section-heading-blue {
        padding-bottom: 10px;
        margin-bottom: 6px;
    }

    .mobile-only-section .card-pair-wrapper {
        margin-top: 8px;
    }

    .card-pair-mobile .card.problem-solution-card {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .post-adoption-challenge-section > .section-heading-blue {
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 0;
        margin-bottom: 8px;
        max-width: 100%;
    }

    .card-pair-mobile .card.problem-solution-card .problem-card-title {
        font-size: 14px;
        min-height: auto;
    }

    .card-pair-mobile .card.problem-solution-card .card-title-red {
        font-size: 14px;
        min-height: auto;
    }

    .pc-only-title {
        display: none;
    }

    .mobile-only-title {
        display: block;
    }

    .problem-solving{
        display: none;
    }


    /*解決前のカード(左) */

    .card.problem-solution-card .problem-card-title {
        font-size: 14px;
        text-align: left; /* テキストを左寄せに設定 */
        align-self: flex-start; /* これを追加して、要素自体を左に揃える */
        margin: 5px 0;
        color: black;
    }
    .card-title.problem-card-title {
        text-align: center;
    }

    .card.problem-solution-card .card-title.problem-card-title {
        text-align: center;
        width: 100%;
    }

    .pc-only-break {
        display: none;
    }

    .pc-only-gap {
        display: none;
    }

    .mobile-only-gap {
        display: inline-block;
        width: 1.2rem; /* フォントサイズに応じて自動的に1文字分の幅を調整 */
    }

    .mobile-break {
        display: inline; /* スマホでは要素を表示する */
    }

    .mobile-break::before {
        content: "";
        display: block;
    }

    .problem-cards-container {
        flex-direction: column; /* 横並びから縦並びに変更 */
        align-items: stretch;    /* カードを左に配置する */
        /* 余白をリセットするために左右のパディングを0にする */
        padding-left: 0;
        padding-right: 0;
    
    }

    /* 各カードのスタイル */
    .card.problem-solution-card {
        width: calc(50% - 25px); /* 矢印のスペースを考慮して幅を調整 */
        max-width: none;
        box-sizing: border-box;
        margin: 20px 0;
        position: relative;
        padding: 10px;
        min-height: 200px; /* この値を調整して、すべてのカードが同じ高さになるようにする */
    }

    .card-text{
        font-size: 10px;
        text-align: center; 
        min-height: auto;
        color: black;
        padding: 10px 0;
    }


    .problem-solving{
        background-image: none;
        background-color: var(--blue);
        color: white;
        text-align: center;
        padding: 15px 10px; /* 上下の余白を小さくする */
        margin-bottom: 80px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-top: 0;
        width: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        min-height: 180px; /* 最小の高さを設定 */
    }

     /* HRの課題 */

    .problem-solving {
        padding: 15px 0px; /* 上下の余白を小さくする */
        min-height: 150px; /* 最小の高さを調整する */
    }

     /*解決後のカード(右) */

    .card-title-red {
        font-size: 14px;
        margin: 5px 0;
        color: black;
        text-align: center; /* テキストを中央寄せに設定 */
        align-self: center; /* Flexアイテムを中央に揃える */
    }

    /* モバイル版：PC版のHR課題セクションを表示 */
    .pc-only-section {
        display: block;
        max-width: 100%;
        padding: 10px;
        overflow: hidden;
    }

    .mobile-only-section {
        display: none;
    }

    .pc-only-section .section-heading-blue .pc-only-title {
        display: block;
        font-size: 18px;
        line-height: 1.4;
    }

    .pc-only-section .section-heading-blue {
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 0;
        margin-bottom: 4px;
        max-width: 100%;
    }

    .card-pair-pc {
        overflow: hidden;
        width: 100%;
    }

    .card-pair-pc .problem-cards-container,
    .card-pair-pc .solution-cards-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        overflow-x: visible;
        gap: 6px;
        padding: 0 8px 10px;
        margin: 10px 0 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .card-pair-pc .solution-cards-container {
        margin-top: 4px;
    }

    .card-pair-pc .problem-cards-container {
        align-items: flex-start;
        padding: 0 8px 4px;
        margin: 10px 0 6px;
    }

    .card-pair-pc .problem-solution-card-before,
    .card-pair-pc .problem-solution-card-after {
        flex: 1 1 0;
        width: calc((100% - 12px) / 3);
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }

    .card-pair-pc .problem-solution-card-before {
        padding: 8px 6px 6px;
        margin: 6px 0;
    }

    .card-pair-pc .problem-solution-card-before br {
        display: none;
    }

    .card-pair-pc .problem-solution-card-before .problem-card-title {
        min-height: auto;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .card-pair-pc .problem-solution-card-before .card-text {
        margin-bottom: 0;
        font-size: 10px;
    }

    .card-pair-pc .problem-solution-card-after br,
    .card-pair-pc .problem-solution-card-after .problem-card-title br {
        display: none;
    }

    .card-pair-pc .problem-solution-card-after {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 4px;
    }

    .card-pair-pc .problem-solving {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 12px;
        margin: 10px 8px 0;
        width: auto;
        min-height: auto;
        background: transparent;
        box-shadow: none;
    }

    .card-pair-pc .problem-solving h2 {
        font-size: 24px;
        line-height: 1.4;
        letter-spacing: 0;
        color: var(--blue);
        margin: 0;
    }

    .card-pair-pc .problem-solving::after {
        display: none;
    }

    .card-pair-pc .problem-card-title,
    .card-pair-pc .card-title.problem-card-title {
        font-size: 14px;
        min-height: 2.4em;
        margin-top: 4px;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .card-pair-pc .problem-solution-card-after .problem-card-title,
    .card-pair-pc .problem-solution-card-after .problem-card-title span,
    .card-pair-pc .problem-solution-card-after .card-title span {
        font-size: 14px;
        line-height: 1.3;
        min-height: 3.8em;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
        margin-bottom: 0;
    }

    .card-pair-pc .card-text {
        font-size: 9px;
        line-height: 1.4;
    }

    .card-pair-pc .problem-solution-card-before .card-text {
        font-size: 10px;
    }

    .card-pair-pc .solution-card-image {
        width: 44px;
        height: 44px;
        object-fit: contain;
        margin: 4px auto;
        flex-shrink: 0;
    }
    
    /* カードのペアを横並びに */
    .card-pair-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 5px;
        margin-bottom: 20px;
        width: 90%;
    }

    .card-pair-mobile .card.problem-solution-card {
        flex: 1;
        width: auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .card-pair-mobile .card.problem-solution-card .problem-card-title,
    .card-pair-mobile .card.problem-solution-card .card-title-red {
        font-size: 14px;
        min-height: auto;
        display: block;
        text-align: center;
    }

    .card-pair-mobile .card.problem-solution-card .card-text {
        flex: 1;
        font-size: 10px;
        min-height: auto;
    }

    .card-pair-mobile .card.problem-solution-card:has(.card-title-red) br,
    .card-pair-mobile .card.problem-solution-card:has(.card-title-red) .mobile-break {
        display: none;
    }

    .card-pair-mobile .card.problem-solution-card:has(.card-title-red) .mobile-break::before {
        display: none;
    }

    .card-pair-mobile .mobile-arrow {
        align-self: center;
    }
    
    .card-pair-wrapper {
        margin-top: 30px; /* 上の余白を追加 */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 矢印のスタイル */
    .mobile-arrow {
        display: block;
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 20px solid #4b8df2;
        flex-shrink: 0;
    }

    /* イメージコンテナ*/
    .image-container {
        flex-direction: column; /* これが画像を縦に積み重ねるための重要な変更点です */
        gap: 20px; /* 画像間の縦方向のスペースを調整します */
        padding: 20px; /* コンテナの周りに余白を追加します */
    }

    .kaonavi-image {
        max-width: 100%; /* 画像がコンテナの全幅を占めるようにします */
        height: auto;
        margin-bottom: 0; /* 最後の画像の底部のマージンを削除します */
    }

    .kaonavi-main-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4px;
        margin: 0 auto;
        width: 100%;
    }

    .kaonavi-main-logo-text {
        font-size: 18px;
        text-align: center;
    }

    /* ロゴ画像と下線を中央に配置するための追加修正 */
    .kaonavi-main-logo img {
        width: clamp(140px, 58vw, 240px);
        max-width: 100%;
        height: auto;
    }

    .kaonavi-underline {
        bottom: -25px; /* ロゴからの距離を調整 */
        width: 70%; /* 下線の幅を調整 */
    }

    /* 親要素のFlexbox設定を修正し、中央揃えを強制します */
    .no1-share-container {
        display: flex; /* Flexboxを明確に指定 */
        flex-direction: column; /* 縦並びを強制 */
        gap: 0px; /* ここでボックス間の間隔を10pxに設定 */
        align-items: center; /* 子要素（ボックス）を中央に揃える */
        width: 100%; /* 親コンテナの幅を100%に設定 */
        margin: 0 auto; /* 親コンテナ自体を中央に配置 */
    }

    .company-count-box{
        display: flex; /* Flexboxを明確に指定 */
        flex-direction: column; /* 縦並びを強制 */
        gap: 0px; /* ここでボックス間の間隔を10pxに設定 */
        align-items: center; /* 子要素（ボックス）を中央に揃える */
        width: 100%; /* 親コンテナの幅を100%に設定 */
        margin: 0 auto; /* 親コンテナ自体を中央に配置 */
    }
    
    /* share-boxとcompany-count-boxのスタイルを統一し、中央に配置します */
    .share-box, .company-count-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 90px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 14px;
        min-height: 100px;
        margin: 6px auto;
    }

    /* 月桂樹アイコンの絶対位置指定を修正 */
    .wreath-icon, .wreath-icon-large {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 82%;
        max-width: 100%;
        height: auto;
    }

    /* テキストコンテンツの配置を調整 */
    .share-text, .count-label {
        position: relative;
        z-index: 10;
        text-align: center;
        width: 100%;
        font-size: clamp(14px, 4vw, 18px);
    }

    .share-no1,
    .count-number {
        position: relative;
        z-index: 10;
        text-align: center;
        width: 100%;
    }

    .share-no1 {
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: wrap;
        font-size: clamp(11px, 3.2vw, 15px);
        gap: 2px;
        margin: 0;
    }

    .no1-number {
        font-size: clamp(18px, 7vw, 28px);
        display: inline-block;
        vertical-align: middle;
        margin-left: 0;
    }

    .share-text, .count-label {
        margin-top: 0;
    }

    .share-no1 .num-superscript,
    .count-number .no1-superscript {
        position: static;
        top: auto;
        bottom: auto;
        right: auto;
        font-size: 10px;
        vertical-align: top;
        line-height: 1;
        margin-left: 2px;
        color: #666;
    }

    .share-box .count-number {
        font-size: clamp(18px, 7vw, 28px);
        display: flex;
        width: auto;
        margin-left: 0;
        line-height: 1.2;
    }

    .share-box .count-unit {
        font-size: clamp(11px, 4vw, 16px);
    }

    .descriptive-text {
        font-size: 14px;
    }

    .company-data-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .company-data-section-container {
        width: 100%;
        max-width: 100%;
        padding: 12px 10px;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .footnotes {
        font-size: 8px;
        line-height: 1.5;
        max-width: 100%;
        width: 100%;
        padding: 0 2px;
        box-sizing: border-box;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .footnotes p {
        word-break: break-word;
        overflow-wrap: anywhere;
        margin: 4px 0;
    }

    /*カオナビ導入後課題*/

    .section-heading-blue h2,
    .section-heading-blue h2.pc-only-title,
    .section-heading-blue h2.mobile-only-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .callout-bubbles-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        margin: 20px 0;
        padding: 0;
        box-sizing: border-box;
    }

    .callout-box {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        border-radius: 16px 16px 6px 6px;
        box-shadow: var(--card-box-shadow);
        position: static;
        overflow: hidden;
    }

    .callout-bubble {
        flex: none;
        width: 100%;
        background-color: var(--gray);
        border-radius: 16px;
        padding: 10px 8px;
        box-sizing: border-box;
        box-shadow: none;
    }

    .callout-bubble p {
        font-size: 11px;
        line-height: 1.45;
        color: var(--dark-gray);
        font-weight: 700;
    }

    .callout-bubble p br,
    .callout-content p br {
        display: none;
    }

    .callout-content p {
        font-size: 11px;
        line-height: 1.5;
        color: var(--blue);
        font-weight: 600;
        margin: 0;
    }

    .callout-content {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 8px 12px;
        background-color: #fff;
        border-radius: 0 0 6px 6px;
        text-align: center;
        flex: 1 1 auto;
        min-height: 72px;
        box-sizing: border-box;
    }

    .callout-box .blue-arrow-icon {
        margin: 2px auto;
    }

    .callout-box .blue-arrow-icon::after {
        font-size: 1.2em;
    }

    .post-adoption-challenge-section > .section-title-normal {
        font-size: 7vw;
        margin: 16px auto 8px;
        padding: 0 4px;
    }

    .post-adoption-challenge-section > .section-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .post-adoption-challenge-section > .section-description br {
        display: none;
    }

    .process-flow-diagram {
        display: block;
        padding: 10px 12px 20px;
        margin-bottom: 0;
    }

    .mobile-adapter-image-container {
        display: none;
    }

    .adapter-steps-flow {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .adapter-step-card {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: min(300px, 94vw);
        max-width: 300px;
        min-width: 0;
        padding: 8px 10px;
    }

    .adapter-step-head {
        flex: 1 1 auto;
        min-width: 0;
        min-height: auto;
        gap: 4px;
    }

    .adapter-step-head-vertical {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 3px;
        align-items: center;
        justify-items: start;
        width: 100%;
        padding-left: 8px;
        box-sizing: border-box;
    }

    .adapter-step-head-vertical .adapter-step-number {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        justify-self: center;
    }

    .adapter-step-head-vertical .adapter-step-title {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        text-align: left;
        margin: 0;
    }

    .adapter-step-head-vertical .adapter-step-icon {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        margin: 0;
    }

    .adapter-step-head-vertical .adapter-step-subtitle {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin: 0;
        text-align: left;
    }

    .adapter-step {
        flex: 0 0 auto;
        width: 76px;
        height: 76px;
        margin: 0;
        margin-left: auto;
    }

    .adapter-step-icon {
        width: 56px;
        margin: 0;
    }

    .adapter-step-icon-kaonavi {
        width: 90px;
    }

    .adapter-steps-flow > .adapter-step-card:nth-child(3) .adapter-step-icon {
        width: 80px;
    }

    .adapter-steps-flow > .adapter-step-card:nth-child(5) .adapter-step {
        width: 90px;
        height: 90px;
    }

    .adapter-steps-flow > .adapter-step-card:nth-child(7) .adapter-step {
        width: 92px;
        height: 92px;
    }

    .adapter-steps-flow > .adapter-step-card:nth-child(7) .adapter-step-icon-kaonavi {
        width: 102px;
    }

    .adapter-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin: 0;
    }

    .adapter-step-title {
        font-size: 16px;
        margin: 0;
    }

    .adapter-step-subtitle {
        font-size: 11px;
    }

    .adapter-flow-arrow {
        transform: rotate(90deg);
        flex: none;
        margin: 2px 0;
    }

    .process-flow-diagram.is-animate-ready .adapter-step-card {
        transform: translateY(-20px);
    }

    .process-flow-diagram.is-animate-ready .adapter-flow-arrow {
        transform: rotate(90deg) translateY(-20px);
    }

    .process-flow-diagram.is-animate-ready .adapter-step-card.is-visible {
        transform: translateY(0);
    }

    .process-flow-diagram.is-animate-ready .adapter-flow-arrow.is-visible {
        transform: rotate(90deg) translateY(0);
    }

      /* カオナビへの人材情報の追加更新 */
    .summary-main-text,.summary-sub-text {
        font-size: 16px; 
        font-weight: 700;
        line-height: 1.6;
        margin-bottom: 10px;
    }

     /* 実際にカオナビアダプターを導入すると */
    .section-title-normal {
        font-size: 7.0vw; /* フォントサイズを小さくする */
        width: 100%; /* 親要素の幅いっぱいに広げる */
        text-align: center; /* テキストを中央揃えにする */
        margin: 20px auto 10px auto; /* 要素全体を水平方向に中央寄せ */
        box-sizing: border-box; /* パディングを含める */
        padding: 0 20px; /* 左右にパディングを追加して内側の余白を確保 */
        box-sizing: border-box; /* パディングを幅に含める */
    }

    .solution-comparison-section {
        padding: 0 10px;
        max-width: 1200px;
        margin: 0px auto; /* これを追加 */
        text-align: center;
        background-color: #ffffff;
        border-radius: 8px;
        margin-bottom: 30px;
        width: 100%; /* 親要素の幅いっぱいに広げる */
        box-sizing: border-box; /* パディングを幅に含める */
    }

    .section-description{
        font-size: 13px;
        margin-bottom: 15px;
    }

    
    /* 導入前後のボックス */
    .comparison-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
        gap: 6px;
    }

    .comparison-box {
        flex: 1;
        width: auto;
        min-width: 0;
        max-width: calc(50% - 24px);
        margin: 0;
    }

    .box-header-1,
    .box-header-2 {
        font-size: 14px;
        padding: 6px 8px;
        margin-bottom: 8px;
    }

    .box-content {
        padding: 0 4px 10px;
    }

    .box-text {
        font-size: 9px;
        line-height: 1.4;
        margin-bottom: 12px;
        font-weight: 600;
        min-height: auto;
        display: block;
        text-align: center;
        color: black;
    }

    .box-illustration {
        height: 65px;
        width: auto;
        max-width: 100%;
    }

    .comparison-arrow-wrapper {
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        align-self: center;
        margin: 0;
        padding: 0;
    }

    .comparison-arrow {
        width: 22px;
        height: auto;
    }

    
    /* カオナビアダプターには下記が必要*/
    .container {
        min-height: auto; /* PC版の最小高さをリセット */
        height: auto;
        padding-top: 6px; /* 上部の余白を調整 */
        padding-bottom: 6px; /* 下部の余白を調整 */
        margin: 4px auto;
        
    }

    .tablet-break {
        display: none;
    }

    .main-title br {
        display: none;
    }
    
    .main-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 20px;
        align-items: flex-start;
    }

    /* 必要であれば、コンテンツ自体の余白も調整 */
    .hero-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-pc-img{
        display: none;
    }

    /* スマホ版の画像を中央に表示する */
    .main-mobile-img {
        display: flex; /* 親要素をブロックレベルに */
        text-align: center !important;
        margin: 0 auto !important;
        justify-content: center; /* 水平方向の中央揃え */
    }

    /* 画像自体のサイズ調整 */
    .main-mobile-img .need-image {
        max-width: 50%;
        height: auto;
        margin-bottom: 10px;
    }

    /*機能紹介*/
    .features-section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .features-group {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0 auto ;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        overflow: hidden;
    }

    .features-group:last-of-type {
        margin-bottom: 20px;
    }

    .features-subtitle {
        font-size: 16px;
        padding-left: 8px;
        margin-left: 0;
        margin: 20px 0;
    }

    .features-subtitle-wrapper {
        padding-left: 8px;
        margin-bottom: 12px;
    }

    .features-subtitle-wrapper .features-subtitle {
        padding-left: 0;
        margin: 0;
    }

    .features-new-badge {
        height: clamp(32px, 8vw, 44px);
        margin-bottom: 2px;
    }

    .features-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 10px;
        box-sizing: border-box;
    }

    .features-container-scroll {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 0 12px;
        scrollbar-width: thin;
    }

    .features-container-scroll .feature-card {
        flex: 0 0 42%;
        width: 42% !important;
        min-width: 42%;
        max-width: 42%;
        scroll-snap-align: start;
    }

    .features-container-pair .feature-card {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        scroll-snap-align: start;
    }

    .features-container-pair {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        overflow-x: visible;
        padding: 0;
    }

    .features-container-pair .feature-card {
        flex: 1 1 calc(50% - 5px);
    }

    .feature-card {
        flex-shrink: 0;
        padding: 12px 8px;
        box-sizing: border-box;
    }

    .feature-card .card-tag {
        font-size: 0.85em;
        padding: 5px 8px;
        margin-bottom: 10px;
    }

    .feature-card .card-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .feature-card .icon {
        width: 52px;
        height: 52px;
    }

    .feature-card .feature-description {
        font-size: 10px;
        line-height: 1.45;
    }

    .section-title {
        font-size: 26px;
        width: 90%; /* 幅を90%に設定 */
        text-align: center;
        margin: 20px auto 10px auto;
        box-sizing: border-box;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* 会社概要枠 */
    .company-overview-section {
        position: relative !important;
        padding: 14px 16px 12px !important;
        min-height: 100px;
        background-image: none !important;
    }

    /* ::before 擬似要素のスタイル */
    .company-overview-section::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: url('assets/images/会社概要枠.png') !important;
        background-size: contain !important;
        background-position: center 40% !important; 
        background-repeat: no-repeat !important;
        z-index: -1;
    }

    .company-overview-section .frame {
        display: none !important;
    }
    .overview-title{
        font-size: 24px;
    }

    .overview-description{
        font-size: 16px;
    }

    .company-overview-section .btn.blue-btn.center-btn {
        font-size: 13px;
        padding: 6px 16px;
        line-height: 1.3;
    }

    .contact-text, .contact-department {
        font-size: 16px;
        line-height: 1.3;
    }

    .phone-number {
        font-size: 22px;
    }

    /* BSOLバナー*/
    .business-solution-section {
    /* 親要素のパディングを調整し、画像を中央に配置しやすくします */
        padding: 0; /* 左右のパディングを0に設定 */
        text-align: center;
        width: 100%;
    }
    
    .business-solution-banner {
    /* 親要素の幅に合わせてバナー画像を調整 */
        max-width: 100%; 
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }
}