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

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* 横スクロールバーを防ぐ */
    background-color: #FFFFFF;
    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: 20px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    text-align: center; /* テキストを中央寄せ */
    line-height: 1.4; /* 行の高さ調整 */
    margin: 0;
}

.orange-btn {
    background-color: #ff8c00; /* オレンジ */
    color: white;
    border: 2px solid #ff8c00;
}

.orange-btn:hover {
    background-color: #e47d00;
    transform: translateY(-2px);
}

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

.white-border-btn {
    background-color: transparent;
    color: #ff8c00; /* オレンジ色の文字 */
    border: 2px solid #ff8c00;
}

.white-border-btn:hover {
    background-color: #ff8c00; /* ホバーで背景がオレンジに */
    color: white;
    transform: translateY(-2px);
}

.contact-features-btn {
    margin-top: 30px; /* 上のカードとのスペース */
    font-size: 1.2em;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 130px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 1.5rem 3.0rem; /* パディングを1rem 2remから1.5rem 3.0remに拡大 */
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.0em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.bottom-line {
    width: 100%;
    max-width: auto; /* 線の長さを長くしました */
    height: 3px;
    background-color: #e0e0e0;
    margin: 40px auto 30px auto; /* 上部の余白を60px、左右を自動にすることで中央に配置します */
}

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

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

/* PC版のヘッダーを修正 */

header {
    background-color: #e0e0e0; /* グレーの背景色に変更 */
    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;
    padding: 0 20px;
}

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

.logo img {
    height: 60px; /* Adjust as needed */
    vertical-align: middle; /* ロゴとナビゲーションが揃うように調整 */
}

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

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

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

nav ul li a:hover {
    color: #ff8c00; /* ホバー時の色変更 */
}

.contact-button-header {
    background-color: #ff8c00; /* Orange color */
    color: #fff;
    border: none;
    padding: 13px 17px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap; /* ボタン内のテキストが折り返されないように */
}

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

/* ナビゲーションの各項目の間隔を調整 */
.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: 80px; /* ヘッダーの高さに合わせて調整 */
    position: relative;
    min-height: 700px; 
    padding-bottom: 40px; /* 下部に余白を追加 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    width: 100%;
    background-image: url('./assets/images/タイトル背景.png');
    background-size: cover; /* 画像が要素全体を覆うように */
    background-position: center; /* 画像を中央に配置 */
    background-attachment: scroll; /* スクロールに合わせて背景が動くように */
    margin-bottom: 40px;

}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 100px;
}

.hero-title {
    transition: all 1.0s ease-out;
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: -15px; /* サブタイトルとの間隔を調整 */
    line-height: 1.4;
    text-align: left; /* テキストを左揃えにする */
    color: black;
    transform-style: preserve-3d;
    perspective: 800px;
    white-space: normal;
    word-break: keep-all;
}

.hero-title {
    opacity: 1;
    transform: translateY(150px) ;
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: normal;
    color: black;
    margin-bottom: 50px;
    text-align: left; /* 左揃えを明確にします */
    line-height: 1.6;
}
/* 左側のテキストとボタンをまとめるコンテナ */
.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;;
}

/* 右側のテキストコンテナ */
.hero-right-container {
    position: relative; /* 子要素の絶対位置指定の基準にする */
}
/* 画像コンテナのスタイル */
.hero-image-container {
    flex: 0 0 auto;
    margin-left: 0;
    z-index: 2;
}
.hero-image-container img {
    width: 400px;
    height: auto;
}
/* 右側のテキストコンテナ（画像の上に配置） */
.hero-right-content {
    position: absolute; /* 画像に対する絶対位置指定 */
    top: 20%; /* 上からの位置を調整 */
    left: 50%; /* 水平方向の中央に配置 */
    transform: translateX(-50%); /* 中央寄せの微調整 */
    text-align: center; /* テキストを中央寄せ */
    z-index: 3; /* 画像より手前に表示 */
    width: 550px;
}
.hero-description {
    font-size: 1.5em;
    color: black;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    text-align: center;
}

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

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

.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: #ff8c00; /* Orange color */
    color: #fff;
}

.contact-button:hover {
    background-color: #e67e00;
}

.free-trial-button {
    background-color: #fff;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

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

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

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

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

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

.problem-solving {
    background-image: url(assets/images/HR課題解決背景.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-bottom: 20px; /* 下の要素との間隔 */
    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; /* paddingとborderを幅に含める */
}

.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: 70px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
}

.solution-cards-container { 
    display: flex; 
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    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: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.card.problem-solution-card {
    background-color: #fff8e9; /* 背景色を追加 */
    border: 1px solid #ffffff;
    max-width: 330px; /* カードの幅を固定 */
    flex: 1 1 300px; /* Flexアイテムのサイズ設定 */
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.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: #4b8df2; /* 青い線 */
    border-top-left-radius: 8px; /* 角の丸みに合わせる */
    border-top-right-radius: 8px; /* 角の丸みに合わせる */
}

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

.card-text {
    font-size: 21px;
    color: #555;
    line-height: 2.0;
    text-align: left;
}

.underline-text {
    text-decoration: underline;
}

/* 下向き矢印のコンテナ */
.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 #4b8df2; /* 矢印の底辺 (色) */
    position: relative;
    top: +10px; /* 微調整 */
}

/* カードのタイトル（赤色） */
.card-title-red {
    font-size: 29px;
    font-weight: 700;
    color: #e74c3c; /* 赤色 */
    margin-top: 15px; /* card-lineの分だけ下げる */
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 全体コンテナ */
.company-data-section {
    text-align: center; /* 中央寄せ */
    padding: 30px 30px;
    background-color: #cbebff; /* 白い背景 */
    margin: 0 auto; /* 上下の余白と中央寄せ */
    max-width: 1200px;
    border-radius: 8px;
    min-height: 500px;
    width: 100%;
}

/* Kaonaviメインロゴ */
.kaonavi-main-logo {
    margin-bottom: 20px;
    display: inline-block; /* img要素を含むdivを中央寄せするため */
    position: relative;
}

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

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


/* シェアNo.1コンテナ */
.no1-share-container {
    display: flex;
    justify-content: center;
    gap: 150px; /* 2つのボックス間のスペース */
    margin-bottom: 10px;
    flex-wrap: wrap; /* レスポンシブ対応 */
}

/* 個々のシェアボックス */
.share-box {
    position: relative; /* 月桂樹アイコンの配置のため */
    display: flex; /* テキストとアイコンをFlexboxで配置 */
    flex-direction: column; /* 要素を縦に並べる */
    align-items: center; /* 中央寄せ */
    background-color: #f8f8f8; /* 軽い背景色 */
    border: 1px solid #87CEFA;
    padding: 3px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 350px; /* ボックスの最小幅 */
    min-height: 150px;
}

.wreath-icon {
    position: absolute;
    top: 15px; /* 位置調整 */
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    width: 425px; /* アイコンのサイズ */
    height: auto;
}

.share-text {
    font-size: 24px;
    color: #333;
    line-height: 1.4;
    font-weight: bold;
    margin-top: 20px; /* 月桂樹との間隔 */
    margin-bottom: 1px;
    text-align: left;
    align-self: center;
}

.share-no1 {
    font-size: 30px;
    font-weight: 700;
    color: #2a61c7; /* 青色 */
    margin: 0;
    display: flex;
    align-items: baseline; /* シェアNo.1のベースラインを揃える */
}

.no1-number {
    font-size: 65px; /* No.1のフォントサイズ */
    font-weight: 900;
    margin-left: 5px;
    vertical-align: top;
}

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

.no1-superscript {
    font-size: 0.3em;
    position: relative;
    top: 27px;
    margin-left: 4px;
    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;
}

.wreath-icon-large {
    position: absolute;
    top: 20px; /* 位置調整 */
    left: 50%;
    transform: translateX(-50%);
    width: 450px; /* アイコンのサイズ */
    height: auto;
}

.count-label {
    font-size: 26px;
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

.count-number {
    font-size: 65px; /* 4,000のフォントサイズ */
    font-weight: 900;
    color: #2a61c7; /* 青色 */
    margin: 0;
    line-height: 1;
    margin-left: 10px;
}

.count-unit {
    font-size: 30px; /* 社超のフォントサイズ */
    font-weight: 700;
    margin-left: 1px;
}

/* 脚注 */
.footnotes {
    text-align: left;
    font-size: 10px;
    color: #666;
    max-width: 900px; /* 脚注の最大幅 */
    margin: 0 auto 15px auto; /* 中央寄せと下部マージン */
    line-height: 1.6;
}
.footnotes p {
    margin: 5px 0;
}

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

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

.download-button {
    display: inline-block; /* パディングが効くように */
    padding: 18px 50px;
    border: 2px solid #ff8c00; /* オレンジ色のボーダー */
    background-color: #ffffff; /* 白い背景 */
    color: #ff8c00; /* オレンジ色のテキスト */
    text-decoration: none; /* 下線を消す */
    border-radius: 50px; /* 丸い角 */
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.download-button:hover {
    background-color: #ff8c00; /* ホバーで背景色をオレンジに */
    color: #ffffff; /* ホバーでテキストを白に */
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px); /* 少し浮き上がるエフェクト */
}

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

    /* その他のスタイル */
    padding: 15px 30px;
    background-color: #ff8c00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border-radius: 50px;
}

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

/* 2つの吹き出し型説明コンテナ */
.callout-bubbles-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* レスポンシブ対応 */
}

/* 個々の吹き出しボックス */
.callout-box {
    flex: 1 1 45%; /* 2列表示 */
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* bubbleの角丸がはみ出さないように */
    text-align: left;
    margin-bottom: -10px;
}

.callout-bubble {
    background-color: #d0e5ff; /* 薄い青 */
    padding: 3px 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 21px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* 少し影を追加 */
    text-align: left;
}

.callout-content {
    padding: 25px;
    display: flex; /* 矢印とテキストを横並びにする */
    align-items: flex-start; /* 上揃え */
    gap: 10px;
}

.blue-arrow-icon {
    color: #2a61c7; /* 濃い青 */
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.6; /* テキストと揃える */
}

.callout-content p {
    margin: 0;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

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

.process-flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* レスポンシブ対応 */
    gap: 10px; /* ステップと矢印の間のギャップ */
    margin-bottom: 20px;
    background-color: #ffffff; /* 白い背景 */
    padding: 15px 20px;
    border-radius: 10px;
}

.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: #2a61c7; /* 青色 */
    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-bottom: 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-image: url('assets/images/カオナビの課題背景.png');
    background-size: cover; /* ボックス全体を覆うように拡大・縮小 */
    background-position: center; /* 背景画像を中央に配置 */
    background-repeat: no-repeat; /* 画像が繰り返さないように設定 */
    color: white;
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 750px; /* ボックスの最大幅 */
    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: 55px;
    font-weight: 700;
    color:#007BFF;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #ffc107;
    margin-top: -20px;
}

/* 説明文 */
.section-description {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    margin-top: 0;
}

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

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

.box-header {
    background-color: #2a61c7; /* 青色 */
    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: 20px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px; /* テキストの高さの差を吸収するため、最小高さを設定 */
    display: flex; /* flexboxでテキストを中央揃え */
    align-items: center;
    justify-content: center;
}

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

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

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

.container {
    text-align: center;
    background-color: #4B90F7; /* 青い背景色 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.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: 3.0em;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* タイトルの影 */
}

.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: 0 10px 20px rgba(0, 0, 0, 0.1); /* カードの影 */
    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: 3.4em;
    font-weight: bold;
    color: #333;
    margin: 20px auto 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-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 画面幅が狭い場合にカードを折り返す */
    max-width: 1200px; /* コンテナの最大幅 */
    width: 100%;
    margin-bottom: 60px; /* ボタンとの間のスペース */
    margin: 0 auto 60px auto;
}

.feature-card {
    background-color: #edf7ff;
    border: 1px solid #e0e0e0; /* 軽い枠線 */
    /*border-radius: 10px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 軽い影 */
    padding: 30px;
    width: 300px; /* カードの固定幅 */
    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: 25px;
    background-color: #ffffff; /* アイコンの背景色 */
    border-radius: 50%; /* 円形 */
}

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

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

.frame {
    display: none;
}

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

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

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

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

.overview-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

/* ビジネスソリューションバナーセクション */
.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: 90%; /* 親要素に合わせて拡大縮小 */
    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;
}

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

/* お問い合わせ電話番号セクション */
.contact-phone-section {
    background-color: #F0F8FF;
    padding: 30px 0 60px 0; /* 上下のパディング */
    text-align: center;
    width: 100%;
    margin: 0 auto; /* 中央寄せ */
}

.contact-text {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 10px;
}

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

.phone-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #FF7043; /* オレンジ色 */
    text-decoration: none; /* 下線をなくす */
    display: block;
    margin-bottom: 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-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

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

/* タブレット用: メディアクエリ内で非表示に設定 */
@media (max-width: 1024px) {

    .header-right-content {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .hero-section {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center; /* 中央に配置 */
        align-items: center;     /* 中央に配置 */
        gap: 20px;
        padding: 0 5vw;
        text-align: center;
    }

    .hero-title {
        font-size: 2.4rem;
        word-break: normal;
        white-space: normal;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        text-align: center;
    }

     .hero-title br {
        display: block;
        content: "";
    }
    .hero-title .break {
        display: block;
        content: "";
    }

    /* ヒーローサブタイトルの改行を強制します */
    .hero-subtitle .break {
        display: block;
        content: "";
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center !important;
        justify-content: center;  /* 全体を中央に寄せる */
    }

    /* ヒーローセクションの左側と右側の要素の幅を調整 */
    .hero-left-content,
    .hero-right-container {
        width: 100%;
        text-align: center;
        padding: 0;
         align-items: center; /* 子要素（タイトル、サブタイトル、ボタン）を中央に揃える */
    }

    /* ヒーローセクション右側のテキストの位置を調整 */
    .hero-right-content {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 60%; /* 固定値を100%にすることで画面幅に収める */
        position: static;
        top: auto;
        left: auto;
        transform: none;
        background-color: rgba(255, 255, 255, 0.7); /* 薄い白の背景 */
        padding: 20px; /* 内側の余白 */
        border-radius: 10px; /* 角を少し丸くする */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
        box-sizing: border-box; /* これを追加 */
        margin: 0 auto; /* ここを追加 */
    }

    .hero-image-container img {
        width: 90%;
        height: auto;
    }

    .hero-description {
        font-size: 1.2em; /* スマホ版でのフォントサイズを調整 */
        color: black;
        line-height: 1.6;
        margin: 0;
        white-space: pre-wrap;
        text-align: center;
    }

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

    /* その他のセクションの調整 */
    .problem-cards-container,
    .solution-cards-container,
    .comparison-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .card.problem-solution-card,
    .comparison-box {
        flex: 1 1 100%;       /* 幅を100%にして、1列で表示します */
        max-width: none;  
    }

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

    .logo img {
        height: 30px;
        vertical-align: middle;
    }
    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 10px;  /* ここを修正 */
    }
    
    .main-nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        font-size: 1.5vw;
        white-space: nowrap;
        padding: 2px 0;
    }

    .contact-button-header {
        background-color: #ff8c00;
        color: #fff;
        border: none;
        padding: 13px 17px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        font-size: 1.7vw;
        white-space: nowrap;
    }

     /* 左右のスクロールを防止 */
    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 {
        font-size: 1.2rem;
        padding: 1.5rem 3.0rem;
    }

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

    .mobile-kaonavi-logo {
        display: block;
        text-align: center;
        margin-bottom: 20px; /* タイトルとの間に余白を追加 */
    }

      .mobile-kaonavi-logo img {
        width: 250px; /* ロゴの幅を100pxに縮小 */
        height: auto; /* 高さは自動調整 */
    }

    .section-heading-blue {
        text-align: center;
        box-sizing: border-box; /* これを追加 */
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 90%; /* ボックスの最大幅を画面幅の90%に設定 */
        margin: 0 auto; 
    }

    /* スマホ版ではPC版のタイトルを非表示にする */
    .pc-only-title {
        display: none;
    }

    /* スマホ版ではスマホ版のタイトルを表示する */
    .mobile-only-title {
        display: block;
        font-size: 1.8rem; /* スマホ版のフォントサイズを調整 */
        line-height: 1.4;
    }

    .section-heading-blue .mobile-only-title2 {
        display: block;
        font-size: 1.4rem; /* スマホ版のフォントサイズを調整 */
        line-height: 1.4;
    }

    .problem-solving{
        display: none;
    }


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

     .card.problem-solution-card .problem-card-title {
        font-size: 3.5vw;
        text-align: left; /* テキストを左寄せに設定 */
        align-self: flex-start; /* これを追加して、要素自体を左に揃える */
        margin-top: 15px; /* 上下のマージンを調整 */
        margin-bottom: 15px;
    }
    .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: 0 0 20px 0;
        position: relative;
        padding: 10px;
        min-height: 150px; /* この値を調整して、すべてのカードが同じ高さになるようにする */
    }

    .card-text{
        font-size:2.3vw;
        text-align: center; 
        min-height: 6rem;
    }


    .problem-solving{
        background-image: url(assets/images/HR課題解決背景.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        text-align: center;
        padding: 15px 10px; /* 上下の余白を小さくする */
        margin-bottom: 20px;
        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: 3.5vw;
        margin-top: 15px; /* 上下のマージンを調整 */
        margin-bottom: 15px;
        text-align: center; /* テキストを中央寄せに設定 */
        align-self: center; /* Flexアイテムを中央に揃える */
    }

    /* モバイル版ではモバイル版のコンテンツを表示にする */

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

    .mobile-only-section {
        display: block;
    }
    
    /* カードのペアを横並びに */
    .card-pair-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .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;
    }

    /* イメージコンテナ*/
    .company-data-section {
        width: 95%; /* より狭い画面幅に合わせて幅を調整 */
        margin: 0 auto; /* 中央寄せ */
        padding-left: 10px;
        padding-right: 10px;
    }

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

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

    .kaonavi-main-logo {
        display: flex; /* Flexboxを有効にする */
        justify-content: center; /* 子要素を水平方向に中央揃え */
        align-items: center; /* 子要素を垂直方向に中央揃え */
        flex-direction: column; /* 縦並びにする */
        margin: 20px auto; /* 上下のマージンと左右のマージンをautoに設定して中央寄せ */
        width: 100%; /* 親要素の幅いっぱいに広げる */
    }

    /* ロゴ画像と下線を中央に配置するための追加修正 */
    .kaonavi-main-logo img {
        max-width: 90%; /* スマホの画面幅に合わせて調整 */
        height: auto;
    }

    .kaonavi-underline {
        bottom: -50px; /* ロゴからの距離を調整 */
        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: 90%; /* 画面幅の90%に設定 */
        min-width: unset; /* PC版の最小幅設定をリセット */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center; /* コンテンツを水平方向に中央揃え */
        justify-content: center; /* コンテンツを垂直方向に中央揃え */
        margin: 10px auto; /* 上下のマージンと中央寄せ */
        padding: 20px;
        height: 150px; /* ここでボックスの高さを統一します */
    }

    /* 月桂樹アイコンの絶対位置指定を修正 */
    .wreath-icon, .wreath-icon-large {
        position: absolute;
        top: 50%; /* 垂直方向の中央 */
        left: 50%; /* 水平方向の中央 */
        transform: translate(-50%, -50%); /* 自身を基準に正確な中央に移動 */
        width: 70%; /* コンテナ幅に合わせて調整 */
        height: auto;
    }

    /* テキストコンテンツの配置を調整 */
    .share-text, .share-no1, .count-label, .count-number {
        position: relative; /* 月桂樹の上に表示するために必要 */
        z-index: 10;
        text-align: center;
        width: 100%;
        font-size: 3.5vw; /* スマホ用にフォントサイズを調整 */
    }

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

    .share-no1 {
        display: block; /* 縦並びにするため */
        font-size: 4.0vw;
    }

    .no1-number {
        font-size: 10.9vw; /* スマホ用にサイズを調整 */
        display: inline-block;
        vertical-align: middle;
    }

    .count-number {
        font-size: 10.9vw; /* スマホ用にサイズを調整 */
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
    }

    .share-no1 .num-superscript {
        top: 0;
        vertical-align: top;
    }

    .no1-superscript {
        top: 0;
        vertical-align: top;
    }

    .descriptive-text {
        font-size: 3.5vw;
    }

    .download-button{
        font-size: 4.0vw;
    }

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

    .section-heading-blue h2 {
        font-size: 4.5vw; /* フォントサイズを小さくする */
        line-height: 1.4;
    }

    .callout-bubbles-container {
        display: flex;
        flex-direction: column;
        gap: 10px; /* ここを100pxから10pxに変更 */
        margin-bottom: 20px;
        flex-wrap: wrap;
        align-items: center; /* 子要素を中央揃えにする */
        margin-top: 50px; /* ここに余白を追加 */
    }

    /* 個々の吹き出しボックス */
    .callout-box {
        width: 100%; /* ボックスの幅を調整 */
        max-width: 500px;
        margin-bottom: 10px; /* こちらのマージンも調整 */
    }

    .callout-content p {
        font-size: 2.6vw; 
        line-height: 1.6;
        color: #555;
        margin: 0;
    }

    /*カオナビアダプターイメージ*/
    .process-flow-diagram {
        display: none;
    }

    .mobile-adapter-image-container {
        display: flex; /* ブロック要素として表示 */
        text-align: center; /* コンテナ内の画像を中央寄せ */
        margin: 20px auto; /* 上下の余白を追加 */
        padding: 0 10px;
        justify-content: center;
        align-items: center;
    }


    .mobile-adapter-image-container img {
        max-width: 100%; /* 画像の最大幅を調整 */
        height: auto;
    }

      /* カオナビへの人材情報の追加更新 */
    .summary-main-text,.summary-sub-text {
        font-size: 4.5vw; 
        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: 3.0vw;
   }

    
    /* 導入前後のボックス */
    .comparison-container {
        display: flex; /* Flexboxを有効にする */
        flex-direction: column; /* 縦並びに変更 */
        align-items: center; /* 子要素（ボックスと矢印）を水平方向に中央揃え */
        width: 100%; /* 親要素の幅いっぱいに広げる */
        padding: 0 10px; /* 左右に余白を追加 */
        box-sizing: border-box; /* パディングを幅に含める */
        gap: 20px; /* 要素間の間隔 */
    }

    .box-header{
        font-size: 5.6vw;
    }

    /* 比較ボックスと矢印を中央に配置 */
    .comparison-box, .comparison-arrow-wrapper {
        margin: 0 auto; /* 各要素を中央に配置 */
    }

    /* 導入前後のボックスの幅を調整 */
    .comparison-box {
        width: 90%; /* ボックスの幅を画面幅の90%に設定 */
    }

    .box-text {
        font-size: 4.0vw; /* フォントサイズを調整 */
        color: #333;
        line-height: 1.6;
        margin-bottom: 10px;
        min-height: auto; /* PC版の最小高さをリセット */
        display: block; /* Flexboxを無効化 */
        text-align: center;
    }
    
    /* 矢印の向き */
    .comparison-arrow-wrapper {
        transform: rotate(90deg); /* 90度左に回転 */
        display: block; /* 縦並びにするためブロック要素にする */
        margin: 10px auto; /* 中央揃えと上下のマージン */
    }

    
    /* カオナビアダプターには下記が必要*/
    .tablet-break {
        display: block; /* ブロック要素として表示して改行させる */
    }

    .container {
        min-height: auto;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-title {
        font-size: 6.72vw; /* フォントサイズをvwで設定 */
        margin-bottom: 20px; /* 下の要素との間隔を調整 */
    }

    .hero-section {
        min-height: auto; /* PC版の最小高さをリセット */
        padding-top: 60px; /* 上部の余白を調整して高さを縮める */
        padding-bottom: 60px; /* 下部の余白を調整して高さを縮める */
    }

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

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

    /* スマホ版の画像を中央に表示する */
    .main-mobile-img {
        display: flex; /* 親要素をブロックレベルに */
        text-align: center !important;/* 子要素を中央寄せ */
        margin: 20px auto  !important; /* 上下20px、左右自動で中央寄せ */
        justify-content: center; /* 水平方向の中央揃え */
    }

    /* 画像自体のサイズ調整 */
    .main-mobile-img .need-image {
        max-width: 70%; /* 親要素の90%に幅を調整 */
        height: auto;
    }

    /*機能紹介*/
    .section-title {
        font-size: 8.0vw;
        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-top: 150px !important;
        padding-bottom: 150px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        min-height: 500px ;
        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: 6.5vw;
    }

    .overview-description{
        font-size: 4.0vw;
    }

     /* 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;
    }
}

/* スマホ用: メディアクエリ内で非表示に設定 */
@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;
        box-sizing: border-box; /* パディングを要素の幅に含める */
    }

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

    /* スマホ版のロゴとボタンのスタイル */
    .mobile-header .logo img {
        height: 5vh;
        min-height: 25px;
    }

    .mobile-header .contact-button-header {
        font-size: 1.2rem;
        padding: 2vw 4vw;
    }

    /* ハンバーガーメニューの調整 */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger {
        display: block;
        width: 6vw;
        height: 0.8vw;
        min-width: 20px;
        min-height: 3px;
        background-color: #333;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 6vw;
        height: 0.8vw;
        min-width: 20px;
        min-height: 3px;
        background-color: #333;
        position: absolute;
        transition: transform 0.3s ease;
    }

    .hamburger::before { top: -2vw; }
    .hamburger::after { top: 2vw; }

    /* モバイルナビゲーションのスタイル */
    .mobile-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background-color: #f0f0f0;
        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: #f0f0f0;
        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 {
        background-color: #e0e0e0;
    }

    /* ヒーローセクションの調整 */
    .hero-section {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center; /* 中央に配置 */
        align-items: center;     /* 中央に配置 */
        gap: 20px;
        padding: 0 5vw;
        text-align: center;
    }

    .hero-title {
        font-size: 2.4rem;
        word-break: normal;
        white-space: normal;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        text-align: center;
    }

     .hero-title br {
        display: block;
        content: "";
    }
    .hero-title .break {
        display: block;
        content: "";
    }

    /* ヒーローサブタイトルの改行を強制します */
    .hero-subtitle .break {
        display: block;
        content: "";
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center !important;
        justify-content: center;  /* 全体を中央に寄せる */
    }

    /* ヒーローセクションの左側と右側の要素の幅を調整 */
    .hero-left-content,
    .hero-right-container {
        width: 100%;
        text-align: center;
        padding: 0;
         align-items: center; /* 子要素（タイトル、サブタイトル、ボタン）を中央に揃える */
    }

    /* ヒーローセクション右側のテキストの位置を調整 */
    .hero-right-content {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%; /* 固定値を100%にすることで画面幅に収める */
        position: static;
        top: auto;
        left: auto;
        transform: none;
        background-color: rgba(255, 255, 255, 0.7); /* 薄い白の背景 */
        padding: 20px; /* 内側の余白 */
        border-radius: 10px; /* 角を少し丸くする */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
        box-sizing: border-box; /* これを追加 */
    }

    .hero-image-container img {
        width: 90%;
        height: auto;
    }

    .hero-description {
        font-size: 1.2em; /* スマホ版でのフォントサイズを調整 */
        color: black;
        line-height: 1.6;
        margin: 0;
        white-space: pre-wrap;
        text-align: center;
    }

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

    /* その他のセクションの調整 */
    .problem-cards-container,
    .solution-cards-container,
    .comparison-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .card.problem-solution-card,
    .comparison-box {
        flex: 1 1 100%;       /* 幅を100%にして、1列で表示します */
        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 {
        font-size: 1.2rem;
        padding: 1.5rem 3.0rem;
    }

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

    .mobile-kaonavi-logo {
        display: block;
        text-align: center;
        margin-bottom: 20px; /* タイトルとの間に余白を追加 */
    }

      .mobile-kaonavi-logo img {
        width: 250px; /* ロゴの幅を100pxに縮小 */
        height: auto; /* 高さは自動調整 */
    }

    .section-heading-blue {
        text-align: center;
        box-sizing: border-box; /* これを追加 */
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 90%; /* ボックスの最大幅を画面幅の90%に設定 */
        margin: 0 auto; 
    }

    /* スマホ版ではPC版のタイトルを非表示にする */
    .pc-only-title {
        display: none;
    }

    /* スマホ版ではスマホ版のタイトルを表示する */
    .mobile-only-title {
        display: block;
        font-size: 1.8rem; /* スマホ版のフォントサイズを調整 */
        line-height: 1.4;
    }

    .section-heading-blue .mobile-only-title2 {
        display: block;
        font-size: 1.4rem; /* スマホ版のフォントサイズを調整 */
        line-height: 1.4;
    }

    .problem-solving{
        display: none;
    }


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

     .card.problem-solution-card .problem-card-title {
        font-size: 1.0rem;
        text-align: left; /* テキストを左寄せに設定 */
        align-self: flex-start; /* これを追加して、要素自体を左に揃える */
        margin-top: 15px; /* 上下のマージンを調整 */
        margin-bottom: 15px;
    }
    .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: 0 0 20px 0;
        position: relative;
        padding: 10px;
        min-height: 150px; /* この値を調整して、すべてのカードが同じ高さになるようにする */
    }

    .card-text{
        font-size:2.3vw;
        text-align: center; 
        min-height: 6rem;
    }


    .problem-solving{
        background-image: url(assets/images/HR課題解決背景.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        text-align: center;
        padding: 15px 10px; /* 上下の余白を小さくする */
        margin-bottom: 20px;
        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: 3.5vw;
        margin-top: 15px; /* 上下のマージンを調整 */
        margin-bottom: 15px;
        text-align: center; /* テキストを中央寄せに設定 */
        align-self: center; /* Flexアイテムを中央に揃える */
    }

    /* モバイル版ではモバイル版のコンテンツを表示にする */

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

    .mobile-only-section {
        display: block;
    }
    
    /* カードのペアを横並びに */
    .card-pair-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .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; /* Flexboxを有効にする */
        justify-content: center; /* 子要素を水平方向に中央揃え */
        align-items: center; /* 子要素を垂直方向に中央揃え */
        flex-direction: column; /* 縦並びにする */
        margin: 20px auto; /* 上下のマージンと左右のマージンをautoに設定して中央寄せ */
        width: 100%; /* 親要素の幅いっぱいに広げる */
    }

    /* ロゴ画像と下線を中央に配置するための追加修正 */
    .kaonavi-main-logo img {
        max-width: 90%; /* スマホの画面幅に合わせて調整 */
        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: 90%; /* 画面幅の90%に設定 */
        min-width: unset; /* PC版の最小幅設定をリセット */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center; /* コンテンツを水平方向に中央揃え */
        justify-content: center; /* コンテンツを垂直方向に中央揃え */
        margin: 10px auto; /* 上下のマージンと中央寄せ */
        padding: 20px;
        height: 150px; /* ここでボックスの高さを統一します */
    }

    /* 月桂樹アイコンの絶対位置指定を修正 */
    .wreath-icon, .wreath-icon-large {
        position: absolute;
        top: 50%; /* 垂直方向の中央 */
        left: 50%; /* 水平方向の中央 */
        transform: translate(-50%, -50%); /* 自身を基準に正確な中央に移動 */
        width: 100%; /* コンテナ幅に合わせて調整 */
        height: auto;
    }

    /* テキストコンテンツの配置を調整 */
    .share-text, .share-no1, .count-label, .count-number {
        position: relative; /* 月桂樹の上に表示するために必要 */
        z-index: 10;
        text-align: center;
        width: 100%;
        font-size: 4.7vw; /* スマホ用にフォントサイズを調整 */
    }

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

    .share-no1 {
        display: block; /* 縦並びにするため */
        font-size: 5.2vw;
    }

    .no1-number {
        font-size: 14.9vw; /* スマホ用にサイズを調整 */
        display: inline-block;
        vertical-align: middle;
    }

    .count-number {
        font-size: 13.0vw; /* スマホ用にサイズを調整 */
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
    }

    .share-no1 .num-superscript {
        top: 0;
        vertical-align: top;
    }

    .no1-superscript {
       font-size: 0.3em;
        position: absolute; /* 👈 絶対位置指定に変更 */
        bottom: 5px;        /* 👈 下端から5pxの位置に配置 */
        right: 10%;         /* 👈 右から38%の位置（4,000の下あたり）に調整 */
        margin-left: 0;     /* マージンをリセット */
        color: #666;
    }

    .descriptive-text {
        font-size: 3.0vw;
    }

    .download-button{
        font-size: 4.0vw;
    }

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

    .section-heading-blue h2 {
        font-size: 5.0vw; /* フォントサイズを小さくする */
        line-height: 1.4;
    }

    .callout-bubbles-container {
        display: flex;
        flex-direction: column;
        gap: 10px; /* ここを100pxから10pxに変更 */
        margin-bottom: 20px;
        flex-wrap: wrap;
        align-items: center; /* 子要素を中央揃えにする */
        margin-top: 50px; /* ここに余白を追加 */
    }

    /* 個々の吹き出しボックス */
    .callout-box {
        width: 100%; /* ボックスの幅を調整 */
        max-width: 500px;
        margin-bottom: 10px; /* こちらのマージンも調整 */
    }

    .callout-content p {
        font-size: 3.5vw; 
        line-height: 1.6;
        color: #555;
        margin: 0;
    }

    /*カオナビアダプターイメージ*/
    .process-flow-diagram {
        display: none;
    }

    .mobile-adapter-image-container {
        display: block; /* ブロック要素として表示 */
        text-align: center; /* コンテナ内の画像を中央寄せ */
        margin: 20px auto; /* 上下の余白を追加 */
        padding: 0 10px;
    }


    .mobile-adapter-image-container img {
        max-width: 100%; /* 画像の最大幅を調整 */
        height: auto;
    }

      /* カオナビへの人材情報の追加更新 */
    .summary-main-text,.summary-sub-text {
        font-size: 4.5vw; 
        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: 3.0vw;
   }

    
    /* 導入前後のボックス */
    .comparison-container {
        display: flex; /* Flexboxを有効にする */
        flex-direction: column; /* 縦並びに変更 */
        align-items: center; /* 子要素（ボックスと矢印）を水平方向に中央揃え */
        width: 100%; /* 親要素の幅いっぱいに広げる */
        padding: 0 10px; /* 左右に余白を追加 */
        box-sizing: border-box; /* パディングを幅に含める */
        gap: 20px; /* 要素間の間隔 */
    }

    .box-header{
        font-size: 5.6vw;
    }

    /* 比較ボックスと矢印を中央に配置 */
    .comparison-box, .comparison-arrow-wrapper {
        margin: 0 auto; /* 各要素を中央に配置 */
    }

    /* 導入前後のボックスの幅を調整 */
    .comparison-box {
        width: 90%; /* ボックスの幅を画面幅の90%に設定 */
    }

    .box-text {
        font-size: 4.0vw; /* フォントサイズを調整 */
        color: #333;
        line-height: 1.6;
        margin-bottom: 10px;
        min-height: auto; /* PC版の最小高さをリセット */
        display: block; /* Flexboxを無効化 */
        text-align: center;
    }
    
    /* 矢印の向き */
    .comparison-arrow-wrapper {
        transform: rotate(90deg); /* 90度左に回転 */
        display: block; /* 縦並びにするためブロック要素にする */
        margin: 10px auto; /* 中央揃えと上下のマージン */
    }

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

    .tablet-break {
        display: none;  
    }
    
    .main-title {
        font-size: 6.72vw; /* フォントサイズをvwで設定 */
        margin-bottom: 20px; /* 下の要素との間隔を調整 */
    }

    .hero-section {
        min-height: auto; /* PC版の最小高さをリセット */
        padding-top: 60px; /* 上部の余白を調整して高さを縮める */
        padding-bottom: 60px; /* 下部の余白を調整して高さを縮める */
    }

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

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

    /* スマホ版の画像を中央に表示する */
    .main-mobile-img {
        display: flex; /* 親要素をブロックレベルに */
        text-align: center !important;/* 子要素を中央寄せ */
        margin: 20px auto  !important; /* 上下20px、左右自動で中央寄せ */
        justify-content: center; /* 水平方向の中央揃え */
    }

    /* 画像自体のサイズ調整 */
    .main-mobile-img .need-image {
        max-width: 70%; /* 親要素の90%に幅を調整 */
        height: auto;
    }

    /*機能紹介*/
    .section-title {
        font-size: 8.0vw;
        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-top: 150px !important;
        padding-bottom: 150px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        min-height: 500px ;
        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: 6.5vw;
    }

    .overview-description{
        font-size: 4.0vw;
    }

     /* 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;
    }
}