<style>
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 1200px; /* 固定幅 */
    margin: 0 auto; /* 中央寄せ */
    background-color: #fff;
    padding: 20px;
}

.content1, .content2, .content3, .content4, .footer {
    width: 100%; /* 親の幅に基づく固定幅 */
    margin-bottom: 10px;
}

/* 親要素であるsectionにrelativeを指定して、子要素であるh1とpの位置を調整 */
.header {
    position: relative;
    width: 100%;
    height: auto;
}

/* 画像を全幅にして、親要素に合わせて表示 */
.header img {
    width: 100%;
    height: auto;
}

/* h1とpを画像の上に重ねるための設定 */
.header h1, .header p {
    position: absolute;
    transform: translateX(-50%);
    z-index: 1; /* 画像より上に配置 */
}

/* h1の縦書き設定 */
.vertical-text {
    writing-mode: vertical-rl;
    line-height: 1.5;
    color: #2C4198;
    text-align: center;
    font-size: 65px; /* 文字サイズを調整 */
    margin: 50px 150px 30px 200px;
    text-shadow:1px 1px 0 #ffffff, -1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff, 1px -1px 0 #ffffff,
    0px 1px 0 #ffffff,  0-1px 0 #ffffff,
    -1px 0 0 #ffffff, 1px 0 0 #ffffff;
}

/* pの位置調整 */
.header p {
    font-size: 50px;
    margin: 650px 0px 0px 650px;
    text-align: left;
    color: #ffffff;
    white-space: nowrap; /* 改行を防ぐ */
    text-shadow:1px 1px 0 #000000, -1px -1px 0 #000000,
    -1px 1px 0 #000000, 1px -1px 0 #000000,
    0px 1px 0 #000000,  0-1px 0 #000000,
    -1px 0 0 #000000, 1px 0 0 #000000;
}

/*コンテンツ1*/
.content1{
    margin-top: 150px;
}

.content1 p{
    font-size: 18px;
}

.content1 h2 {
    color: #2C4198;
    text-align: center;
    margin: 20px 0;
    font-size: 30px;
    margin-bottom: 50px;
}

/*コンテンツ1とコンテンツ3の画像の調整*/
.content-row {
    display: flex;
    align-items: center; /* 垂直方向の位置を調整 */
    gap: 10px; /* 要素間の間隔を小さく */
}

/*content1の文字調整*/
.content-text {
    margin: 0px 0px 0px 250px;
}

.content-image img {
    border-radius: 8px; /* 写真の角を丸くする */
    margin: 0px 0px 0px 50px;
}

/*コンテンツ2*/
.content2 {
    text-align: center;
    margin-top: 150px;
}

.content2 p{
    font-size: 20px;
}

.content2 b{
    color:#2C4198;
    font-size: 28px;
}

.content2 h2 {
    color: #2C4198;
    text-align: center;
    margin: 20px 0;
    margin-top: 50px;
}

/*コンテンツ3*/
.content3 h1 {
    color: #2C4198;
    text-align: center;
    margin: 20px 0;
}

.content3 .agent {
    color: #000000;
    text-align: center;
    margin: 20px 0px 0px 0px;
    font-size: 25px;
}

.content3 .support{
    color: #000000;
    font-size: 22px;
    text-align: left;
    margin: 20px 0px 20px 100px
}

.content3 .manager{
    color: #000000;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
    margin: 0px 0px 0px 100px
}

/*コンテンツ4*/
.content4 {
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
    font-size: 22px;
}

/*リンクボタン*/
.cta {
    text-align: center;
    margin: 50px 0px 200px 0px;
    font-size: 18px;
}
.cta a {
    background: #bd9f29;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.3s;}

.cta .disabled-link {
        background-color: rgba(255, 217, 0, 0.5); /* 背景色: 黄色 */
        color: #000000; /* 文字色: 白 */
        border: none; /* ボーダーなし */
        padding: 20px 50px; /* 上下左右の余白 */
        text-align: center; /* 中央揃え */
        text-decoration: none; /* 下線なし */
        display: inline-block;
        font-size: 18px; /* フォントサイズ */
        border-radius: 8px; /* 丸みを帯びた角 */
        cursor: pointer; /* カーソルをポインターに */
        transition: background-color 0.3s ease; /* 背景色の変化にアニメーションを追加 */
        white-space: nowrap; /* 改行を防ぐ */
}

.cta button {
    background-color: rgba(255, 217, 0, 0.5); /* ボタンの背景色 */
    color: #000000; /* テキストの色 */
    font-size: 18px; /* 文字サイズ */
    font-weight: bold; /* 文字を太字に */
    padding: 15px 30px; /* 内側の余白 */
    border: none; /* 枠線なし */
    border-radius: 8px; /* 角を丸く */
    cursor: pointer; /* クリック可能なカーソル */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    width: 80%; /* ボタンの横幅を80%に */
    max-width: 300px; /* 最大幅を400pxに */
    margin: 20px auto; /* 上下に余白、中央配置 */
    text-align: center;
}

.cta a:hover {
    background: #ffaa00;
}

/* フレックスレイアウトで左右分割 (フリーランスに必要な営業を代行)*/
.content-row {
    display: flex;
    gap: 20px; /* テキストと画像の間隔 */
    align-items:center; 
}

/*content3ロゴ画像*/
.content-images2 {   
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列構成 */
    gap: 10px; /* 画像間の間隔 */
     /* position: absolute;
   margin-top: 10vh;
    margin-left: 1.5vw;
    z-index: 1;  画像より上に配置 */
}

/*切手サイズ画像
.stamp-image {
    width: 100px; /* 幅 
    height: 100px; /* 高さ 
    object-fit: cover; /* 画像を枠内に収める 
    border-radius: 8px; /* 角を丸める 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /*軽い影を付ける 
}*/

/* 画像と文字を重ねるための親要素 */
.content-images2 .image-container {
    position: relative; /* 子要素を絶対配置にするため */
    width: 100%; /* 親の幅に合わせる */
    height: auto; /* 高さは自動調整 */
    overflow: hidden; /* 必要に応じて画像のはみ出しを防ぐ */
    padding: 0px;
    margin: 0px;
}

/* 画像 */
.content-images2 .image-container img {
    width: 100%; /*親要素にフィット */
    height: auto; /* アスペクト比を維持 */
    display: block; /* 隙間を防ぐ */
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影 */
    padding: 0px;
    margin: 0px;
}

/* 文字のスタイル */
.content-images2 .image-container .proposal, .content-images2 .image-container .review, .content-images2 .image-container .suchedule, .content-images2 .image-container .countermeasure, .content-images2 .image-container .conditions, .content-images2 .image-container .contract, .content-images2 .image-container .follow{
    position: absolute;
    top: 70%; /* 垂直方向の中央 */
    left: 50%; /* 水平方向の中央 */
    transform: translate(-50%, -50%); /* 中央揃えに調整 */
    color: #2C4198; /* 文字色 */
    font-size: 15px; /* 文字サイズ */
    text-align: center; /* 中央揃え */
    pointer-events: none; /* クリックを無効化（必要なら追加） */
    text-shadow:1px 1px 0 #ffffff, -1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff, 1px -1px 0 #ffffff,
    0px 1px 0 #ffffff,  0-1px 0 #ffffff,
    -1px 0 0 #ffffff, 1px 0 0 #ffffff;
}

.content-images2 .image-container .review {
    position: absolute;
    top: 70%; /* 垂直方向の中央 */
    left: 50%; /* 水平方向の中央 */
    transform: translate(-50%, -50%); /* 中央揃えに調整 */
    color: #2C4198; /* 文字色 */
    font-size: 15px; /* 文字サイズ */
    text-align: center; /* 中央揃え */
    pointer-events: none; /* クリックを無効化（必要なら追加） */
    text-shadow:1px 1px 0 #ffffff, -1px -1px 0 #ffffff,
    -1px 1px 0 #ffffff, 1px -1px 0 #ffffff,
    0px 1px 0 #ffffff,  0-1px 0 #ffffff,
    -1px 0 0 #ffffff, 1px 0 0 #ffffff;
}


 /*フリーランスとしてのキャリアの可能性を広げる*/
 h1 {
    margin: 0;
    font-size: 1.8rem;
}
  

/* スライドショー全体のレイアウト */
.slide-show {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    position: relative; /* 子要素の絶対配置を有効にする */
    margin-bottom: 150px;
}

/* 左側のボタンのコンテナ */
.left-slide-buttons {
    display: flex;
    flex-direction: column; /* ボタンを縦に並べる */
    gap: 10px; /* ボタン間の間隔 */
    position: absolute; /* 親要素に対して絶対配置 */
    left: -100px; /* スライドの左横に配置 */
    top: 30%; 
    transform: translateY(-50%); /* 縦方向の中央揃え */
    z-index: 1; /* 他の要素より前面に表示 */
}

/* サムネイルボタン */
.thumbnail-button {
    width: 30px; /* ボタンの幅 */
    height: 30px; /* ボタンの高さ */
    border-radius: 50%; /* 丸いボタン */
    border: 2px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.thumbnail-button.active {
    background-color: #4CAF50;
}

.slidecontainer {
    width: 700px;
    height: 400px;
    display: flex;
    border: 2px solid #2C4198;
    margin: 20px auto;
    text-align: left;
    border-radius: 15px; /* 角を丸くする */
    overflow: hidden; /* 内容が枠からはみ出さないようにする */
    background-color: #ffffff; /* 背景色（任意） */
}

.left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 2px solid #000;
    background-color: #f9f9f9;
}

.left-line {
    height: 25%;
    border-bottom: 1px solid #ccc;
    display: block;
    align-items: left;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
    cursor: pointer; /* クリック可能なカーソル */
    padding: 40px 0px 30px 10px;
    transition: background-color 0.3s ease;
    text-align: left; /* テキストを左揃え */ 
}

.left-line.active {
    background-color: rgba(255, 217, 0, 0.5); /* 選択時の背景色 */
    color: #000000; /* 選択時の文字色 */
}

.left-line b{
    font-size: 18px;
}

.left-line:last-child {
    border-bottom: none;
}

.left-line:hover {
    background-color: rgba(255, 217, 0, 0.2);
}

.right {
    width: 50%;
    position: relative;
    background-color: #eaeaea;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
}

/* スライド上半分 */
.slide-top {
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.slide-top img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* スライド下半分 */
.slide-bottom {
    height: 40%;
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: rgba(255, 217, 0, 0.5);
    padding: 40px;
    text-align: left;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    word-break: break-word; /* 文字列の折り返しを強制 */
    max-width: 100%; /* 親要素の幅を超えないようにする */
    overflow-wrap: break-word; /* テキストが幅を超えたときに折り返す */
}

.slide-bottom b {
    display: inline;
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

/* スマホ表示用記述 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f9f9f9;
}
.container {
    padding: 20px;
}
h1 {
    color: #2C4198;
    font-size: 15px;
}

.possible {
    font-size: 18px;
}


.highlight {
    color: #2C4198;
    font-weight: bold;
    font-size: 23px;
}
.cta-button {
    display: block;
    background-color: rgba(255, 217, 0, 0.5);
    color: #000000;
    padding: 5px;
    border-radius: 10px;
    text-decoration: none;
    margin: 0 auto;
    width: 50%;
    height: 40%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* 影の設定 */
    margin-top: 40px;
}

.cta-text {
    font-size: 10px; /* 例: 好きなサイズに変更 */
}

.cta-text2 {
    font-size: 15px; /* 例: 好きなサイズに変更 */
    font-weight: bold;
    color: #2C4198;
}
.problems {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
   /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}
.problems p {
    font-size: 25px;
    color: #333;
    margin-bottom: 0px;
}

.problems h2 {
    font-size: 16px;    
}

.problems1 {
    padding-right: 15px;
    font-size: 12px;
}

.problems2 {
    padding-left: 30x;
    font-size: 12px;
}
.problems3 {
    font-size: 12px;
}


.solution {
    color: #2C4198;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}
.support {
    font-size: 25px;
    color: #555;
    padding: 0 10px;
    text-align: left;
    margin-bottom: 40px;
}

.support ul {
    padding-left: 0px; /* 左側の余白を確保 */
}

.support li {
    list-style-type: disc; /* デフォルトの黒丸を適用 */
    margin-bottom: 8px; /* リスト間の余白 */
    font-size: 13px;
}

.container2-image {
    display: flex;
    /*gap: 30px;  画像間のスペース */
    margin-top: 0;
    margin-bottom:60px;
}

.cta-button2 {
    display: block;
    background-color: rgba(255, 217, 0, 0.5);
    color: #000000;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    margin: 20px auto;
    margin-bottom: 50px;
    width: 40%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* 影の設定 */
}

.mobilemain-footer {
    background-color: #f8f8f8;
    padding: 5px 0px  10px  0px;
}

.mobilefooter-content {
    text-align: center;
    flex: 1;
    margin-top: 20px; /* フッター上部との間隔を調整 */
    text-align: center; /* 中央寄せ */
    font-size: 10px;
}
.mobilefooter-logo {
    display: flex;
    margin-left: 180px;
    margin-top: 20px;
    gap: 25px;
}

.mobilefooter-link:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

.mobilefooter-link {
    color: #000; /* リンクの色 */
    text-decoration: none; /* 下線を除去 */
    margin: 0 10px; /* リンク間の余白 */
    writing-mode: horizontal-tb; /* 横書き */
    display: inline; /* インライン表示 */
    color: #000; /* リンクの色 */
}

.mobilejaphic-logo {
    height: 45px; /* お好みの高さ */
    width: auto; /* アスペクト比を保つ */
}

.mobilecompany-logo{
    height: 45px;
    width: auto;
}


/* スマホ専用のスタイル */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
    .container {
        width: 100%;
        max-width: 1200px; /* 最大幅だけ1200pxに制限する */
        margin: 0 auto;
        background-color: #fff;
        padding: 20px;
        box-sizing: border-box; /* パディング込みで幅を計算する */
    }
    

}

/* スマホ用の調整（幅600px以下のとき） */
@media (max-width: 600px) {
    .vertical-text {
        font-size: 20px; /* 文字を小さくする */
        margin: 6px 0px 20px 70px; /* マージンを狭くする */
    }

    .header p {
        font-size: 15px; /* 文字を小さくする */
        margin: 190px 0px 0px 190px; /* 左の余白もゼロに */
        text-align: center; /* 中央寄せにする */
        white-space: normal; /* スマホでは改行もOKにする */
        white-space: nowrap;
    }

}

/* PC専用のスタイル */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    .pc-only {
        display: block;
    }
}


/* フッター全体のスタイル */
.main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f8f8f8; /* 背景色は必要に応じて変更 */
    writing-mode: horizontal-tb; /* 横書きに設定 */
    text-align: center;
}

.footer {
    background: #f1f1f1;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    text-align: center;
    flex: 1;
    margin-top: 20px; /* フッター上部との間隔を調整 */
    text-align: center; /* 中央寄せ */
    margin-top: 20px;
    margin-left: 400px;
}

.footer-logo {
    display: flex;
    margin-left: 150px;
    gap: 40px;
}

.footer-link:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

.footer-link {
    color: #000; /* リンクの色 */
    text-decoration: none; /* 下線を除去 */
    margin: 0 10px; /* リンク間の余白 */
    writing-mode: horizontal-tb; /* 横書き */
    display: inline; /* インライン表示 */
    color: #000; /* リンクの色 */
}

.japhic-logo {
    height: 85px; /* お好みの高さ */
    width: auto; /* アスペクト比を保つ */
}

.text-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
  
.text-content .left {
    flex: 1;
    text-align: left;
}
  
.text-content .right {
    flex: 2;
}


</style>