.lifestyle_edu_teacher_description {
    margin: 10px 0;
    padding: 10px 15px;
    background: #E7EEFB;
    color: #333;
    line-height: 1.4;
    border-radius: 3px;
    font-weight: bold;
}

.lifestyle_edu_teacher_notice {
    margin: 5px 0;
    padding: 10px 15px;
    background: #eed3d7;
    color: #b94a48;
    line-height: 1.4;
    border-radius: 3px;
    font-weight: bold;
}

.lifestyle_edu_teacher_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lifestyle_edu_teacher_item_link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 3px;
    font-weight: bold;
    background-color: #00299a;
    color: white;
}

.lifestyle_edu_teacher_list_item:nth-of-type(n+2) {
    margin-top: 15px;
}

.lifestyle_edu_teacher_item_link-title i {
    margin-right: 5px;
}

.lifestyle_edu_teacher_item_link-arrow {
    margin-left: auto;
}

.lifestyle_edu_teacher_item_link-count {
    letter-spacing: .5px;
    margin-left: 5px;
}

/* 一覧0件 */
.lifestyle_edu_teacher_list_noresult {
    margin-top: 20px;
    text-align: center;
    color: red;
    font-weight: bold;
}


/* 詳細ページ */
.lifestyle_edu_teacher_detail {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    font-weight: bold;
    padding: 15px 5px;
    border-bottom: 1px solid #00299a;
}

.lifestyle_edu_teacher_detail-name {
    color: #00299a;
}


.lifestyle_edu_teacher_detail-post {
    margin-top: 5px;
}

.lifestyle_edu_teacher_detail-post-new i {
    margin-right: 5px;
}


@media print,
screen and (min-width: 765px) {
    .lifestyle_edu_teacher_detail {
        grid-template-columns: 150px auto;
        column-gap: 30px;
    }

    .lifestyle_edu_teacher_detail-post {
        padding-left: 30px;
    }
}

.lifestyle_edu_teacher_detail .highlight {
    font-weight: bold;
    background-color: yellow;
}


/* 学校別 */
.tab-container {
    max-width: 600px;
    margin: auto;
}

.lifestyle_edu_teacher_tabs {
    display: flex;
}

.lifestyle_edu_teacher_tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-bottom: none;
    transition: background-color 0.3s;
    background: #d4e5fa;
    color: #00299a;
    font-weight: bold;
    border-top: 2px solid #d4e5fa;
    border-bottom: 2px solid #00299a;
    cursor: pointer;
}

.lifestyle_edu_teacher_tab-center {
    width: 2%;
    background: white;
    border-left: 2px solid #00299a;
    border-right: 2px solid #00299a;
    border-bottom: 2px solid #00299a;
}

.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-old:checked)>.lifestyle_edu_teacher_tab-label-new {
    border-right: 2px solid #d4e5fa;
}

.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-new:checked)>.lifestyle_edu_teacher_tab-label-old {
    border-left: 2px solid #d4e5fa;
}

.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-old:checked)>.lifestyle_edu_teacher_tab-center {
    border-right: none;
}

.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-new:checked)>.lifestyle_edu_teacher_tab-center {
    border-left: none;
}

#lifestyle_edu_teacher_tab-old:checked+label {
    background: white;
    border-top: 2px solid #00299a;
    border-left: 2px solid #00299a;
    border-bottom: 2px solid white;
}

#lifestyle_edu_teacher_tab-new:checked+label {
    background: white;
    border-top: 2px solid #00299a;
    border-right: 2px solid #00299a;
    border-bottom: 2px solid white;
}

.lifestyle_edu_teacher_school_list_tab-content {
    display: none;
    background-color: white;
}

.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-old:checked)~.lifestyle_edu_teacher_school_list #lifestyle_edu_teacher_school_list-old,
.lifestyle_edu_teacher_tabs:has(#lifestyle_edu_teacher_tab-new:checked)~.lifestyle_edu_teacher_school_list #lifestyle_edu_teacher_school_list-new {
    display: block;
}

.lifestyle_edu_teacher_tab-input {
    display: none;
}

/* 詳細検索 */
.lifestyle_edu_teacher_form {
    margin-top: 20px;
}

.lifestyle_edu_teacher_form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.lifestyle_edu_teacher_form fieldset:nth-of-type(n+2) {
    margin-top: 10px;
}

.lifestyle_edu_teacher_form .form_fieldset_legend_div_wrap {
    width: 20%;
    font-weight: bold;
}

.lifestyle_edu_teacher_form .core_form_item-teacher_edu_search {
    width: 80%;
}

.lifestyle_edu_teacher_form .core_form_item-teacher_edu_search input {
    width: 100%;
    appearance: none;
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    cursor: pointer;
}

.lifestyle_edu_teacher_form .core_form_item-teacher_edu_search * {
    font-family: -apple-system, BlinkMacSystemFont, YuGothic, "Yu Gothic Medium", 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'ＭＳ Ｐゴシック', 'arial', 'Century Gothic', 'Osaka', sans-serif !important;
    font-size: 1.6rem;
}

.lifestyle_edu_teacher_form .core_form_item-teacher_edu_search select {
    width: 100%;
    border: 1px solid #ccc;
    padding: 7px 10px;
    border-radius: 3px;
    color: #333333;
    cursor: pointer;
}

.lifestyle_edu_teacher_form_citywrap {
    background-color: rgb(232, 213, 181);
    margin: 10px 0px 15px;
    padding: 5px 20px;
}

.lifestyle_edu_teacher_form_city_notice {
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
}

.lifestyle_edu_teacher_form_buttons {
    margin-top: 10px;
    text-align: right;
}

.lifestyle_edu_teacher_form_buttons button {
    padding: 3px 10px;
    border: none;
    border-radius: 5px;
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, YuGothic, "Yu Gothic Medium", 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'ＭＳ Ｐゴシック', 'arial', 'Century Gothic', 'Osaka', sans-serif !important;
    cursor: pointer;
}

.lifestyle_edu_teacher_form_button-submit {
    background-color: #00299a;
}

.lifestyle_edu_teacher_form_button-clear {
    background-color: #696969;
}

.lifestyle_edu_teacher_form_button-submit i {
    margin-right: 3px;
}
