@media screen and (min-width: 768px) {
    .pf-aside-l .pf-aside_main {
        margin-right: 40px;
        width: 68.367%;
    }
    .pf-aside-l .pf-aside_main2 {
        width: 100%;
    }
}

.pf-aside_main {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp_br {
    display: none;
}

.pc_br {
    display: block;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Main Visual */
.main-visual {
    background-color: #0379C4;
    padding: 0;
    position: relative;
    overflow: hidden;
    /* 左右端まではみ出す */
    width: 100%;
    min-height: 228px;
}

.main-visual-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 1040px;
    /* コンテンツはコンテナ幅に合わせる */
    overflow: hidden;
    /* 画像がはみ出さないように */
}

.main-visual-image-pc,
.main-visual-image-sp {
    width: 100%;
    /* 親要素の幅に合わせて表示 */
    height: 100%;
    object-fit: cover;
    /* 画像がアスペクト比を維持しつつ親要素を覆う */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* デフォルトでは非表示 */
    transition: opacity 0.3s ease;
}

/* デフォルトでPC画像を表示 */
.main-visual-image-pc {
    opacity: 1;
}

/* Local Nav */
.local-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    padding: 15px 0;
    width: 100%;
}

.local-nav-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 15px;
}

.local-nav ul {
    display: flex;
    justify-content: center;
    /* PC版では nowrap で改行を防ぐ */
    flex-wrap: nowrap;
}

.local-nav li {
    /* PC版では flex: 1; を削除または上書きし、幅をコンテンツに合わせる */
    flex: 0 1 auto;
    /* flex-grow: 0, flex-shrink: 1, flex-basis: auto */
    text-align: center;
    position: relative;
    white-space: nowrap;
    /* テキストの改行を防ぐ */
    /* liの区切り線（pc.pngの縦線） */
    border-right: 1px solid #eee;

    /* PC版では高さを固定せず、コンテンツに合わせるため以下はSPメディアクエリ内へ */
    display: flex;
    /* aタグがブロック要素なので、li自体をFlexコンテナにする */
    align-items: center;
    /* 垂直中央揃え */
    justify-content: center;
    /* 水平中央揃え (aタグがwidth:100%になるため、テキスト自体はtext-align:centerで良い) */
}

/* 最後のli要素には右の区切り線をつけない */
.local-nav li:last-child {
    border-right: none;
}

/* PC版の区切り線 */
.local-nav li:not(:last-child) {
    border-right: 1px solid #ddd;
}

/* PC版の矢印アイコン */
.local-nav li::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    background-image: url('/images/oyakudachi/nav_arrrow_down.png');
    background-size: 13px 11px;
    background-position: center;
    /* 中央に配置（画像全体が矢印アイコンの場合） */
    background-repeat: no-repeat;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.local-nav li a {
    display: block;
    /* aタグをブロック要素にしてli全体に広げる */
    padding: 15px 30px 25px;
    /* liにあったパディングをaタグに移動 */
    text-decoration: none;
    /* 下線を削除 */
    color: #000;
    /* 文字色を設定 */
    font-weight: bold;
    /* 必要に応じて */
    width: 100%;
    /* liの幅全体を使用 */
    height: 100%;
    /* liの高さ全体を使用 */
    box-sizing: border-box;
    /* paddingを含めてheightを計算 */
    transition: all 0.3s ease;
}


.local-nav a.current,
.local-nav a:hover {
    color: #238FE8;
}

/* Section Title */
/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    /* PC版ではタイトル全体が改行しないように */
}
.section-title2 {
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    /* PC版ではタイトル全体が改行しないように */
}
/* アイコンのスタイル */
.section-icon_flow {
    display: inline-block;
    width: 36px;
    /* 旗のアイコンの幅 (用意する画像のサイズに合わせる) */
    height: 36px;
    /* 旗のアイコンの高さ (用意する画像のサイズに合わせる) */
    background-image: url('/images/oyakudachi/flow_ttl_icon.png');
    /* 別途用意する旗のアイコンのパス */
    background-size: contain;
    /* アイコンが要素内に収まるように調整 */
    background-position: center;
    /* 中央に配置 */
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-2px);
    /* 微調整 */
}
.section-icon_flow2 {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('/images/oyakudachi/flow_ttl_icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-2px);
}
.section-icon_qa {
    display: inline-block;
    width: 52px;
    /* 旗のアイコンの幅 (用意する画像のサイズに合わせる) */
    height: 52px;
    /* 旗のアイコンの高さ (用意する画像のサイズに合わせる) */
    background-image: url('/images/oyakudachi/qa_ttl_icon.png');
    /* 別途用意する旗のアイコンのパス */
    background-size: contain;
    /* アイコンが要素内に収まるように調整 */
    background-position: center;
    /* 中央に配置 */
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-2px);
    /* 微調整 */
}

/* 色分けするテキストのスタイル */
.section-title-red {
    color: #D24227;
}

.section-title-blue {
    color: #238FE8;
}

/* Step Guide */
.step-guide-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PC版は3列を維持 */
    gap: 20px;
    //margin-bottom: 40px;
}
.step-guide-list2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.step-item {
    background-color: #fff;
    border: 2px solid #0379C4;
    /* 青い枠線に変更 */
    border-radius: 8px;
    /* 角丸を維持 */
    padding: 15px;
    /* 内側のパディングを調整 */
    display: flex;
    /* 画像とテキストを横並びにするためにflexboxを使用 */
    align-items: center;
    /* 垂直方向中央揃え */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* 影を維持 */
    text-decoration: none;
    /* aタグの下線を削除 */
    color: inherit;
    /* aタグの文字色を親から継承 */
}
.step-item2 {
    background-color: #fff;
    border: 2px solid #0379C4;
    border-radius: 8px;
    padding: 15px;
    padding-right: 26px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.step-image {
    width: 80px;
    /* 画像の幅を調整 */
    height: auto;
    margin-right: 5px;
    /* テキストとの間に余白 */
    flex-shrink: 0;
    /* 画像が縮小しないように */
}
.step-image2 {
    width: 60px;
    height: auto;
    margin-right: 5px;
    flex-shrink: 0;
}
.step-item-header {
    display: flex;
    flex-direction: column;
    /* STEP番号とタイトルを縦に並べる */
    align-items: center;
    /* ここを center に変更して中央揃えにする */
    justify-content: center;
    margin-bottom: 0;
    flex-grow: 1;
}
.step-item-header2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0;
    flex-grow: 1;
}

.step-number {
    background-color: #238FE8;
    color: #fff;
    border-radius: 12px;
    padding: 3px 16px;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    margin-right: 0;
    margin-bottom: 5px;
    position: relative;
}

/* STEP番号の左側にチェックマークアイコンを追加 */
.step-number::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('/images/oyakudachi/step_item_icon.png');
    /* 実際のチェックマークアイコンのパスに修正してください */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
    vertical-align: middle;
    transform: translateY(-1px);
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}
.step-title2 {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}

/* Q&A */
.qa-section {
    margin-bottom: 40px;
}

.qa-item {
    background-color: #F4F9FE;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.qa-question {
    padding: 15px 20px;
    background-color: #F4F9FE;
    font-weight: bold;
    color: #238FE8;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ＋とーのアイコンのスタイル */
.qa-question::after {
    content: '+';
    /* 閉じた状態は '+' */
    font-size: 30px;
    /* アイコンを大きくする */
    color: #238FE8;
    /* カラーを #238FE8 に変更 */
    line-height: 1;
    /* 行の高さを調整して中央に配置 */
    transition: transform 0.3s ease;
    margin-left: 10px;
    /* テキストとの間に少し隙間 */
}

.qa-question.open::after {
    content: '−';
    /* 開いた状態は '−' (マイナス記号) */
    transform: rotate(0deg);
    /* 回転は不要なので0degに */
}

.qa-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    border-top: 1px solid #fff;

}

.qa-answer span {
    color: #D24227;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;

}

.qa-answer.open span {
    color: #D24227;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;

}

.qa-answer.open {
    max-height: 300px;
    padding: 15px 20px;
    background-color: #F4F9FE;
}

.qa-answer p {
    margin: 0 0 10px 0;
    color: #000;
}

.qa-answer a {
    color: #238FE8;
    text-decoration: underline;
}

.qa-answer a:hover {
    text-decoration: none;
}

.btn-more {
    display: block;
    width: 40%;
    margin: 30px auto 30px;
    padding: 12px 30px;
    background-color: #238FE8;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: 0px 6px 0px 0px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #0056b3;
}

/* Keyword Search */
.keyword-section {
    margin-bottom: 40px;
}

.keyword-search-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    /* 左のラインのためにパディング */
    position: relative;
    /* 擬似要素の基準 */
    text-align: left;
    /* 左詰め */
    display: inline-block;
    /* ラインがテキストの幅に合うように */
}

.keyword-search-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    /* ラインの幅 */
    height: 28px;
    /* ラインの高さ（フォントサイズに合わせる） */
    background-color: #238FE8;
    /* 指定されたカラー */
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* キーワード間の隙間 */
    justify-content: flex-start;
    /* 左詰め */
    padding-left: 0;
    /* ulなどのデフォルトパディングをリセット */
    list-style: none;
    /* リストスタイルを削除 */
}
.keyword-list2 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding-left: 0;
    list-style: none;
}

.keyword-list a {
    display: block;
    padding: 8px 25px;
    border: 1px solid #238FE8;
    /* ボーダー色 */
    background-color: #238FE8;
    /* 通常時の背景色 */
    color: #fff;
    /* 通常時の文字色 */
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    /* テキストの改行を防ぐ */
    transition: background-color 0.3s ease, color 0.3s ease;
}
.keyword-list2 a {
    display: block;
    padding: 6px 15px;
    border: 1px solid #238FE8;
    background-color: #238FE8;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.keyword-list a:hover, .keyword-list2 a:hover {
    background-color: #fff;
    /* ホバー時の背景色 */
    color: #238FE8;
    /* ホバー時の文字色 */
}

/* Banner Section */
.banner-section {
    background-color: #fff;
    /* 背景色を白に設定 */
    width: 100vw;
    /* ビューポートの幅いっぱいに広げる */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* banner-section内のコンテンツを中央に収めるためのラッパー */
.banner-content-wrapper {
    max-width: 1040px;
    /* 他のセクションと同様の最大幅 */
    margin: 0 auto;
    /* 中央揃え */
    padding: 30px 15px 0;
    /* 上下のパディングと左右の余白（コンテンツの端に余白を持たせる） */

    display: grid;
    /* Gridレイアウトを適用 */
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* アイテム間の隙間 */
    justify-content: center;
    /* グリッドアイテムを中央に */
}

.banner-item {
    text-align: center;
    /* 画像を中央に配置 */
    /* 各バナーアイテムの幅はgrid-template-columnsで自動調整されるため、widthは不要 */
}

.banner-item img {
    max-width: 100%;
    /* 親要素(banner-item)の幅に合わせて画像を最大化 */
    height: auto;
    /* 高さは自動調整 */
    display: block;
    /* img要素の下の余白を削除 */
    margin: 0 auto;
    /* 画像自体を中央揃え */
}

.banner-item a {
    display: block;
    /* リンク全体をクリック可能に */
}

.step-item2:not([data-notice])::after {
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%) rotate(0);
    background-image: url(/common/images/ic-arrow-pc.svg);
    height: 12px;
    width: 7.8px;
}

@media (max-width: 768px) {
    .pf-container_wrap {
        padding: 0;
    }

    .pf-container_inner {
        background-color: #fff;
        padding-right: 20px;
        padding-left: 20px;
    }

    .sp_br {
        display: block;
    }

    .pc_br {
        display: none;
    }

    .ptb_30 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .prl_20 {
        padding-right: 30px;
        padding-left: 30px;
    }
    
    .mb_30 {
        margin-bottom: 30px;
    }

    .pb_0 {
        padding-bottom: 0;
    }

    .main-visual {
        min-height: 285px;
    }

    /* SP画像を表示、PC画像を非表示 */
    .main-visual-image-pc {
        opacity: 0;
    }

    .main-visual-image-sp {
        opacity: 1;
    }

    /* Local Nav SP調整 */
    .local-nav {
        padding: 5px 0;
    }

    .local-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .local-nav li {
        flex: none;
        /* SPではflexの自動調整を無効化 */
        width: 50%;
        /* 2列にする */
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
        /* 下境界線を追加 */
    }

    .local-nav li:nth-child(2n) {
        border-right: none;
    }

    /* 最終行の下線を削除するロジック（項目の総数によって調整） */
    /* 現在6項目なので、5番目と6番目から下線を削除 */
    .local-nav li:nth-child(5),
    .local-nav li:nth-child(6) {
        border-bottom: none;
    }

    /* SP版の矢印アイコン */
    .local-nav li::after {
        content: '';
        display: block;
        width: 10px;
        height: 6px;
        background-image: url('/images/oyakudachi/nav_arrrow_down.png');
        background-size: 13px 11px;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    .local-nav li a {
        padding: 5px;
        /* スマホでパディングを調整 */
        font-size: 14px;
        white-space: normal;
        /* スマホではテキストを改行許可 */
        /* aタグ自体をFlexアイテムにする必要はないが、text-align:centerはaタグ内に適用 */
        text-align: center;
        /* テキスト自体を中央揃え */
        min-height: 55px;
        /* 改行される「介護・福祉・医療のお仕事解説」に合わせて調整 */
        display: flex;
        /* Flexコンテナとして設定 */
        align-items: center;
        /* 垂直方向中央揃え */
        justify-content: center;
        /* 水平方向中央揃え */
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .step-guide-list {
        grid-template-columns: 1fr;
        /* スマホでは1列にする */
    }

    .step-guide-list2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-item, .step-item2 {
        padding: 10px 35px 10px 10px;
        /* 右側のパディングを増やして矢印のスペースを確保 */
        position: relative;
        /* 追加：絶対配置の基準とする */
        display: flex;
        /* 追加：アイコンとテキストを横並びにする */
        align-items: center;
        /* 追加：垂直方向中央揃え */
        text-decoration: none;
        /* 念のため */
        color: inherit;
        /* 念のため */
    }

    /* SP版の右矢印アイコン */
    .step-item::after {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        background-image: url('/images/oyakudachi/step_arrow_right.png');
        /* SP用右矢印アイコンのパス */
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .step-item2:not([data-notice])::after {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        background-image: url('/images/oyakudachi/step_arrow_right.png');
        /* SP用右矢印アイコンのパス */
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .step-image {
        width: 70px;
        margin-right: 10px;
        flex-shrink: 0;
        /* 画像が縮小しないように */
    }

    .step-image2 {
        width: 70px;
        margin-right: 10px;
        flex-shrink: 0;
        /* 画像が縮小しないように */
    }

    .step-item-header {
        align-items: flex-start;
        flex-grow: 1;
        /* 追加：テキストが可能な限り広がるように */
    }

    .step-item-header2 {
        align-items: flex-start;
        flex-grow: 1;
        /* 追加：テキストが可能な限り広がるように */
    }

    .step-number {
        font-size: 13px;
        padding: 2px 6px;
    }

    .step-number::before {
        width: 10px;
        height: 10px;
        margin-right: 3px;
    }

    .step-title {
        font-size: 16px;
    }
    .step-title2 {
        font-size: 16px;
    }


    .qa-question {
        font-size: 16px;
    }

    .qa-answer {
        font-size: 14px;
    }

    .btn-more {
        width: 80%;
    }

    .keyword-search-title {
        font-size: 20px;
        padding-left: 10px;
    }

    .keyword-search-title::before {
        width: 4px;
        height: 24px;
    }

    .keyword-list {
        justify-content: flex-start;
        /* SPでは中央寄せにする場合はこちらを使用 */
        /* または、SPでも左寄せを維持したい場合は上記をそのまま維持 */
    }

    .keyword-list a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .banner-section {
        /* SPでも左右いっぱいに広がるが、内側のパディングはbanner-content-wrapperで制御 */
        padding: 0;
    }

    .banner-content-wrapper {
        grid-template-columns: 1fr;
        /* スマホでは1列（縦並び）に */
        gap: 15px;
        /* スマホでのアイテム間の隙間 */
        padding: 20px 15px;
        /* スマホで上下のパディングと左右の余白を調整 */
    }
}

.uni-article-list .pf-list_item {
    padding: 10px;
}



@media screen and (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block; }
    
    .pf-list_item--arrow:not([data-notice]) {
        padding: 10px 26px 10px 10px;
        position: relative;
    }
}

@media screen and (min-width: 769px) {
.pc-only { display: block; }
.sp-only { display: none !important; }
    .local-nav ul {
        flex-wrap: nowrap;
        /* PC版では改行させない */
    }

    /* PC画像を表示、SP画像を非表示 */
    .main-visual-image-pc {
        opacity: 1;
    }

    .main-visual-image-sp {
        opacity: 0;
    }

    /* PC画像を表示、SP画像を非表示 */
    .main-visual-image-pc {
        opacity: 1;
    }

    .main-visual-image-sp {
        opacity: 0;
    }
    
    .uni-article-list {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -ms-flex-wrap: wrap;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .pf-list_item--arrow:not([data-notice]) {
        padding: 10px 26px 10px 10px;
        position: relative;
    }
    .uni-article-list .pf-list_item {
        width: 48.4%;
    }
    .uni-article-list .pf-list_item:nth-of-type(2) {
        border-top: 1px solid #238fe8;
    }
}