#main_contents {
    padding: 80px 0 150px;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 1049px) {
    #main_contents {
        padding: 0px;
    }
}

.swiper {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px 0;

}

.swiper-slide img {
    width: 100%;
    max-width: 480px !important;
}

.swiper-slide {
    box-sizing: border-box;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    position: absolute;
    bottom: 0px;
    z-index: 10;
}

.parent-pageid-3074 .fl-module-content {
    margin: 20px 0 !important;
}

.responsive2.slick-slider {
    margin-bottom: 0px;
    position: relative;
    top: 40px;
}

.responsive2 .artileColumnImg {}

.responsive2 .artileColumnWrap {
    padding: 0px;
}

.responsive3.slick-slider {}

.responsive3 .artileColumnWrap {
    display: flex !important;
    justify-content: center;
}

h1.recruiting {
    color: rgba(38, 141, 186, 0.25);
    font-family: 'Montserrat', sans-serif;
    font-size: 3.0rem !important;
    margin-top: -2px;
}

h1.recruiting span, p.recruiting, p.recruiting_big {
    margin-left: 10px;
}

@media screen and (min-width: 769px) {
    h1.recruiting {
        font-size: 5.0rem !important;
    }

    h1.recruiting span, p.recruiting, p.recruiting_big {
        margin-left: 50px;
    }
}

h1.recruiting span {
    color: rgba(38, 141, 186, 1.0);
    margin-top: -2px;
}

p.recruiting {
    font-size: 12px;
}

p.recruiting_big {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.75em;
}

.recruiting_name {
    margin-left: 45px !important;
}

.recruiting_name {
    font-size: 17px;
}

.recruiting_small {
    font-size: 12px;
    display: block;
}

@media (max-width: 768px) {
    .fl-node-e8r2h3xgkw9q.fl-col-small:not(.fl-col-small-full-width), .fl-node-ljf3xh19byo0.fl-col-small:not(.fl-col-small-full-width), .fl-node-74janrfueblx.fl-col-small:not(.fl-col-small-full-width), .fl-node-bi3coyd27mkj.fl-col-small:not(.fl-col-small-full-width) {
        max-width: 280px;
        margin-bottom: 3.0em;
    }
}

.recruiting.flow>li:not(:last-child) {
    margin-bottom: 2vh;
}

.bgRecruitWrap {
    background: transparent !important;
    color: #268DBA;
}

.bgRecruitListTit {
    font-size: 28px;
    margin-bottom: 0;
}

.bgRecruitWrap {
    padding: 0;
}

.bgRecruitListIco {
    padding: 5px 0 5px 40px;
    margin-bottom: 0;
}

.recruiting_pd {
    padding: 0 30px;
}

.moreLink.recruiting_btn {
    background-color: #268DBA !important
}

.flow {
    padding-left: 100px;
}

.flow::before {
    left: 100px;
}

.flow02>li {
    padding: 30px 20px;
}

.flow02>li dl dt {
    font-size: 16px;
}

.update {
    display: none;
}

/* 1ページ目（=bodyに .paged が付かない時）だけ、最初の2件にラベル */
body:not(.paged) .fl-post-grid-post:nth-child(-n+2)::before {
    content: "NEW";
    position: absolute;
    z-index: 10;
    top: 5px;
    left: -28px;
    transform: rotate(-45deg);
    color: #fff;
    /* 文字色はここで変更 */
    background: #c12748;
    padding: 10px 10px 5px;
    width: 100px;
    text-align: center;
    font-weight: 700;
}

/* ラベル位置の基準。未指定なら付けておくと安定します */
.fl-post-grid-post {
    position: relative;
}

/* 1つ目の記事にラベル */
article.item:nth-child(1) .image_wrap_inner::before,
article.item:nth-child(2) .image_wrap_inner::before {
    content: "NEW";
    position: absolute;
    z-index: 10;
    top: 5px;
    left: -40px;
    transform: rotate(-45deg);
    color: #fff;
    /* 文字色 */
    background: #c12748;
    padding: 10px 10px 5px;
    width: 100px;
    text-align: center;
    font-weight: 700;
}

/* ラベルの基準位置を安定させるため */
.image_wrap_inner {
    position: relative;
}


section .card::before {
    background-color: #488bb6;
}

.card_content .name_profession .profession {
    background-image: linear-gradient(to right, #000000 0%, #000000 51%, #000000 100%);
}

.card_content2 .name {
    background-image: linear-gradient(to right, #000000 0%, #000000 51%, #000000 100%);
}

.clients_logos {
    background-repeat: no-repeat !important;
    background-size: 150px auto !important;
    margin-bottom: 0;
    height: 140px;
}

.recruitImgWrap {
    justify-content: center;
}

.fl-module img {
    margin-bottom: -10px;
}

@media screen and (min-width: 769px) {
    .recruitImgWrap {
        flex-wrap: nowrap !important;
    }
}


@media screen and (max-width:768px) {
    .infoLeftWrap {
        margin-bottom: 30px
    }
}

/* フォーム全体のスタイリング */
.custom-form {
    max-width: 600px;
    /* フォーム全体の最大幅を指定し、中央寄せでバランスを整える */
    margin: 0 auto;
    /* 中央に配置 */
    font-family: 'Arial', sans-serif;
    /* フォーム全体のフォントを指定 */
    color: #333;
    /* テキストの色を濃いグレーに設定 */
}

.custom-form label {
    display: inline-block;
    /* ラベルを独立したブロック要素として扱う */
    margin-top: 20px;
    margin-bottom: 8px;
    /* ラベル下に余白を追加して間隔を調整 */
    font-weight: bold;
    /* ラベルの文字を強調 */
    font-size: 14px;
    /* ラベルの文字サイズを調整 */
}

/* 必須ラベルのスタイリング */
.custom-form .required {
    display: inline-block;
    /* 必須ラベルをインラインで表示 */
    margin-left: 5px;
    /* ラベルと必須マークの間隔を調整 */
    padding: 0px 6px;
    /* 内側の余白を設定して視認性を向上 */
    font-size: 12px;
    /* 必須ラベルの文字サイズを指定 */
    color: #fff;
    /* テキスト色を白に設定 */
    background-color: #8ccad7;
    /* 必須ラベルの背景色をメインカラーに設定 */
    border-radius: 3px;
    /* ラベルを角丸にして柔らかい印象に */
    font-weight: bold;
    /* ラベルの文字を太字に */
}

/* 入力フィールド */
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form checkbox,
.custom-form textarea {
    width: 100%;
    /* フィールド幅をフォームに合わせて最大化 */
    padding: 10px;
    /* 内側の余白を設定して入力しやすくする */
    margin-bottom: 0px;
    /* 各フィールドの下に余白を設定して間隔を広げる */
    border: 2px solid #8ccad7;
    /* メインカラーを枠線に適用 */
    border-radius: 5px;
    /* 入力フィールドを角丸に */
    background: #f8f9fa;
    /* フィールド背景を薄いグレーに設定 */
    font-size: 14px;
    /* フィールド内テキストのサイズを指定 */
    transition: border-color 0.3s ease, background-color 0.3s ease;
    /* フォーカス時のスムーズな変化を設定 */
}

.custom-form input[type=”checkbox”] {
    display: block;
}

.custom-form input[type="text"]:focus,
.custom-form input[type="email"]:focus,
.custom-form input[type="tel"]:focus,
.custom-form textarea:focus {
    border-color: #8ccad7;
    /* フォーカス時の枠線色を強調 */
    outline: none;
    /* ブラウザデフォルトのフォーカス枠を削除 */
    background: #e6f7fa;
    /* フォーカス時の背景色をメインカラーの薄いバリエーションに変更 */
}

/* 送信ボタンの調整 */
.custom-form input[type="submit"] {
    display: block;
    /* ブロック要素として中央揃えしやすく設定 */
    width: 80%;
    /* ボタン幅を適度に制限 */
    margin: 20px auto 0;
    /* ボタンを中央寄せ */
    padding: 12px 20px;
    /* ボタン内側の余白を調整 */
    border: none;
    /* 枠線を削除してシンプルなデザインに */
    border-radius: 25px;
    /* ボタンを丸みのある形状に設定 */
    background: #8ccad7;
    /* ボタン背景にメインカラーを適用 */
    color: #fff;
    /* ボタン文字を白に設定 */
    font-size: 16px;
    /* ボタン文字のサイズを指定 */
    cursor: pointer;
    /* ボタンにホバーポインタを表示 */
    transition: background-color 0.3s ease;
    /* ホバー時の背景色変更をスムーズに */
}

.wpcf7 form.invalid .wpcf7-not-valid-tip {
    display: none;
}

.custom-form input[type="submit"]:hover {
    background: #6faebd;
    /* ボタンホバー時にメインカラーの濃いバリエーションを表示 */
}

/* 送信完了メッセージのカスタマイズ */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #fff4e6;
    /* 薄い黄色 (背景) */
    color: #333;
    /* 文字色 (暗めの色) */
    border: 2px solid #8ccad7;
    /* メインカラーのボーダー */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
}

/* メッセージの間に余白を追加 */
.wpcf7 form.sent .wpcf7-response-output p {
    font-size: 16px;
    line-height: 1.5;
}

/* メッセージが表示された時にアニメーション */
.wpcf7 form.sent .wpcf7-response-output {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* アニメーションの定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wpcf7-list-item {
    margin: 0;
}

input[type=checkbox], input[type=radio] {
    display: inline-block;
}

.form-rows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.form-item {
    display: flex;
    flex-direction: column;
}

.form-item label {
    margin-bottom: 0.5rem;
    word-break: break-word;
}

@media (max-width: 768px) {
    .form-rows {
        grid-template-columns: 1fr;
    }
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

.cta-button {
    position: relative;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: center;
    line-height: 1.4;
}

/* パターン1: 目立つオレンジグラデーション */
.cta-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #e67e22 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa500 50%, #ff8c00 100%);
}

.hero {
    background: linear-gradient(135deg, #268DBA 0%, #04355C 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.hero h1 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.hero .subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    font-weight: 300;
}

.company-intro {
    background: #f8f9fa;
    padding: 50px 40px;
    margin: 40px 0;
    border-left: 5px solid #268DBA;
    font-size: .9em;
}

.company-intro h2 {
    color: #04355C;
    font-size: 1.8em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #268DBA;
}

.company-intro p {
    margin-bottom: 15px;
    color: #000;
}

.qa-section {
    background: transparent;
    padding: 40px 0;
    margin-bottom: 30px;
    border-top: 1px solid #e0e0e0;
}

.qa-section:hover {
    transform: none;
    box-shadow: none;
}

.question {
    color: #04355C;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}



.answer {
    color: #000;
}

.answer p {
    margin-bottom: 15px;
}

.speaker {
    font-weight: 700;
    color: #04355C;
    margin-bottom: 10px;
}

.highlight {
    background: linear-gradient(transparent 60%, rgba(38, 141, 186, 0.2) 60%);
    font-weight: 600;
    padding: 2px 0;
    color: #000;
}

.editor-note {
    background: #04355C;
    color: white;
    padding: 40px;
    margin: 40px 0;
}

.editor-note h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.company-info {
    background: #000;
    color: white;
    padding: 50px 40px;
    margin-top: 40px;
}

.company-info h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #fff;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    background: #000;
}

.company-info td {
    color: #fff;
    padding: 12px;
    border: 1px solid #fff;
    background: #000;
}

.company-info td:first-child {
    font-weight: 600;
    width: 120px;
    color: #fff;
}

.company-info a {
    color: #268DBA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #1a6a8f;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.2em;
    }

    .hero .subtitle {
        font-size: 1em;
    }

    .company-intro,
    .editor-note,
    .company-info {
        padding: 30px 20px;
    }

    .qa-section {
        padding: 0px;
    }

    .question {
        font-size: 1.2em;
    }

    .answer {
        padding-left: 0;
    }

    .question::before {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .company-info table {
        display: block;
        text-align: center;
    }

    .company-info tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .company-info td {
        padding: 8px 0;
        width: 100% !important;
    }
}

.cta-section {
    background: linear-gradient(135deg, #268DBA 0%, #04355C 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cases .cta-button {
    display: inline-block;
    background: white;
    color: #04355C;
    padding: 18px 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cases .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

@media (max-width: 768px) {

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.5em;
    }

    .cta-section p {
        font-size: 1em;
    }

    .cases .cta-button {
        padding: 15px 40px;
        font-size: 1em;
    }
}