/* =========================================================
   IchouNet legacy → Responsive minimal overlay
   - 既存HTML/画像は極力そのまま
   - 本ファイルは“最後に”読み込む（後勝ち）
   ========================================================= */

/* -------------------------
   ベース
------------------------- */
html body {
    -webkit-text-size-adjust: 100%;
}
/* 画像はリキッド化（高さは比率保持） */
img, iframe, video {
    max-width: 100%;
    height: auto;
}
img[usemap] {
    max-width: 100%;
    height: auto;
    width: min(80vw,368px);
}
a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}
nobr {
    padding: 4px;
}
nobr a {
    margin: 2px 5px;
    line-height: 1.3;
}
/* PC/SP表示切替ヘルパー */
.sp-only {
    display: none !important;
}
.pc-only {
    display: block !important;
}
/* -------------------------
   汎用ユーティリティ（必要に応じてHTML側に付与）
------------------------- */
.u-mt-16 {
    margin-top: 16px !important;
}
.u-mt-24 {
    margin-top: 24px !important;
}
.u-mb-16 {
    margin-bottom: 16px !important;
}
.u-mb-24 {
    margin-bottom: 24px !important;
}
/* bxSlider 用ページャー位置 */
.bx-default-pager {
    width: 588px;
    position: absolute;
    bottom: 10px;
}
/* lineup 用フォントサイズサンプラ */
#lineup-font-size-sampler {
    position: absolute;
    top: 0;
    left: 0;
}
/* important_news 周り（フッター直前にあったスタイル） */
#important_tel {
    margin-bottom: 20px;
    margin-bottom: 20px;
}
#important_tel h2 {
    padding: 14px 10px 10px 50px;
    background-image: url("/yoyaku/img/important_title_R.png"), url("/yoyaku/img/important_title_L.png") !important;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
    font-size: 120%;
    font-weight: bold;
    color: #6a1917;
    width: 650px;
    padding: 14px 10px 10px 50px;
    font-size: 120%;
    font-weight: bold;
    color: #6a1917;
}
#important_tel div {
    padding: 10px 15px;
    border: 1px solid #ff6f0f;
    border-top-width: 2px;
    background: #fff;
    width: 678px;
    padding: 10px 15px;
    border: 1px solid #ff6f0f;
    border-top-width: 2px;
    background: #fff;
}
#important_tel div.inner-tel-div {
    text-align: center;
    color: #c00;
    font-size: 150%;
    border-top: none;
    font-weight: bold;
    min-height: 120px;
    vertical-align: middle;
    margin-bottom: 20px;
    line-height: 160%;
    text-align: center;
    color: #c00;
    font-size: 150%;
    border-top: none;
    font-weight: bold;
    min-height: 120px;
    vertical-align: middle;
    margin-bottom: 20px;
    line-height: 160%;
}
.inner-tel-div span {
    margin: auto;
    min-height: 120px;
    display: table-cell;
    width: 710px;
    vertical-align: middle;
    padding-bottom: 20px;
    margin: auto;
    min-height: 120px;
    display: table-cell;
    width: 710px;
    vertical-align: middle;
    padding-bottom: 20px;
}
#footer #info dt span {
    font-weight: bold;
    color: #6a1917;
    font-size: 120%;
    font-weight: bold;
    color: #6a1917;
    font-size: 120%;
}
/* ヘッダーのキャッチコピー */
.header-copy {
    text-align: center;
    margin-top: -5px;
    height: 17px;
    font-size: 16px;
    font-weight: bold;
    font-family: "HG丸ｺﾞｼｯｸM-PRO", sans-serif;
    color: #800000;
    z-index: 5;
}
/* 子ども向け情報の小ブロック */
.child-guide {
    display: block;
    border: none;
    padding: 0;
}
.child-guide__thumb {
    float: left;
}
.child-guide__text {
    border: none;
    padding: 0 10px;
}
/* サイドバナー（大阪市・生涯学習センター・視聴覚ライブラリ） */
.side-banner {
    float: left;
    margin: 5px 0;
}
/* 文字色ユーティリティ */
.c-blue {
    color: #0000ff;
}
.c-red {
    color: #ff0000;
}
/* 下線を消すリンク */
.no-underline {
    text-decoration: none;
}
/* JS で toggle される非表示要素 */
.is-hidden {
    display: none;
}
/* ピックアップスライダーの高さ
   → 常に中身に合わせて伸ばす */
.pickup-slider {
    height: auto;
}
#riyoryokin_page .design .inbox .form_box {
    height: auto !important;
}
#riyoryokin_page .design .inbox .form_box .contents_page {
    height: auto;
    display: flex;
    column-gap: 10px;
    align-items: flex-start;
    flex-direction: row;
    padding: 10px 0;
}
#riyoryokin_page .design .inbox .form_box .contents_page .float-left {
    float: unset;
    flex: 1;
    align-self: center;
}
#riyoryokin_page .design .inbox .form_box .contents_page table.fs-115 {
    flex: 1;
    text-align: left;
}
/* =========================================================
   SPヘッダー＆スライドナビ
   ========================================================= */
body.sp-nav-open {
    overflow: hidden;
}
/* body に .is-sp-nav-open が付いている間は背景をスクロールさせない */
.is-sp-nav-open {
    overflow: hidden;
}
#important_news h2 {
    background-image: url("/yoyaku/img/important_title_R.png"), url("/yoyaku/img/important_title_L.png") !important;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
}
#pickup h2 {
    background-image: url("/yoyaku/img/pickup_title_R.png"), url("/yoyaku/img/pickup_title_L.png") !important;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
}
#search_study h2 {
    background-image: url("/yoyaku/img/pickup_title_R.png"), url("/yoyaku/img/search_study_title_L.png") !important;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
}
#field_info h2 {
    background-image: url("/yoyaku/img/field_info_title_R.png"), url("/yoyaku/img/field_info_title_L.png") !important;
    background-position: top right, top left;
    background-repeat: no-repeat, no-repeat;
}
#magazine h2 {
    background-image: url("/yoyaku/img/magazine_title_L.png"), url("/yoyaku/img/magazine_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#child_info h2 {
    background-image: url("/yoyaku/img/child_info_title_L.png"), url("/yoyaku/img/magazine_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#mailmg h2 {
    background-image: url("/yoyaku/img/mailmg_title_L.png"), url("/yoyaku/img/magazine_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#question h2 {
    background-image: url("/yoyaku/img/question_title_L.png"), url("/yoyaku/img/question_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#teacher h2 {
    background-image: url("/yoyaku/img/teacher_title_L.png"), url("/yoyaku/img/question_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#recruitment h2 {
    background-image: url("/yoyaku/img/recruitment_title_L.png"), url("/yoyaku/img/question_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
#ranking h2 {
    background-image: url("/yoyaku/img/ranking_title_L.png"), url("/yoyaku/img/ranking_title_R.png") !important;
    background-position: top left, top right;
    background-repeat: no-repeat, no-repeat;
}
/* =========================================================
   PICKUP スライド：画像下にキャプションをセンター配置
   ========================================================= */
#pickup .bxslider .slidecard p.img {
    text-align: center;
}
#pickup .bxslider .slidecard p.img a {
    display: inline-block;
}
#pickup .bxslider .slidecard p.img img {
    display: block;
    margin: 0 auto;
}
#pickup .bxslider .slidecard p.img span {
    display: block;
    margin-top: 4px;
}
ul.table_list {
    display: block;
    margin-left: 0px !important;
}
ul.table_list li {
    list-style: none !important;
    padding: 0 0 6px 18px;
    background: url("/yoyaku/img/icon_arrow02.png") left 1px top 4px no-repeat;
    margin-top: 0px !important;
}
ul.table_list li a {
    color: #3366cc !important;
    text-decoration: underline;
}
ul.table_list li a:hover {
    color: #666 !important;
    text-decoration: none;
    cursor: pointer;
}
#contents #mailmg {
    display: none;
}
#contents #child_info {
    display: none;
}
#side #mailmg {
    display: block;
}
#side #child_info {
    display: block;
}
#vcbody-wrapper .bxslider {
    visibility: hidden;
    display: none;
}
#vc-footer {
    visibility: hidden;
}
/*
.type02 .inbox {
    padding-top: 20px; 
}*/
.map-ward-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 10px;
    border: none !important;
    padding: 0 !important;
}
.ward-list {
    border: none !important;
    padding: 0 !important;
    width: auto;
    display: flex;
    flex-direction: column;
}
.ward-list .field_list {
    float: none;
}
.osaka-map-container {
    border: none !important;
    padding: 10px !important;
    position: relative;
    width: min(calc(100% - 280px), 368px);
    max-width: 400px;
    flex: 1 1 40%;
    margin: auto;
}
.osaka-map-container svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    background-color: #f5f5f5;
}
.ward {
    fill: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}
.ward:hover {
    fill: rgba(198,40,40,0.3);
    stroke-width: 2;
    stroke: #c62828;
}
.ward-hover-info {
    position: fixed;
    background-color: rgba(0,0,0,0.75);
    color: white;
    padding: 4px 8px 6px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.2s;
    max-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.ward-hover-info.visible {
    opacity: 1;
}
.inner-cont-area {
    margin: 10px auto;
    width: auto;
}
.m-0 {
    margin: 0 !important;
    padding-bottom: 3px;
}
.contact-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.contact-itm {
    width: 25%;
    text-align: left;
    box-sizing: border-box;
    padding: 1px 3px;
}
.flex-column {
    flex-direction: column;
}
.w-100 {
    width: 100% !important;
}
.w-40 {
    width: 40% !important;
}
.w-44 {
    width: 44% !important;
}
.w-45 {
    width: 45% !important;
}
.w-50 {
    width: 50% !important;
}
.fac-cont {
    padding-top: 30px;
}
.overlay {
    z-index: 1002;
}
.cal-cont {
    clear: both;
    max-width: 980px;
    width: auto;
    margin: 0 auto;
    padding: 0;
	margin-bottom: 20px;
}
.three-months-cont {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: auto;
    max-width: 100%;
    gap: 10px;
    
}
.month-cont {
    width: auto;
    max-width: calc(100% / 3 - 10px);
    flex: 1 1 calc(100% / 3 - 10px);
    display: flex;
    flex-direction: column;
}
.month-cont h5 {
    padding: 2px 5px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
}
.month-cont .cal-month-cont {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 calc(100% / 7);
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    background: #F2F1CE;
}
.weekdays {
    width: 100%;
    display: grid;
	grid-template-columns: repeat(7, 1fr);
    border-left: 1px solid #666699;
    border-top: 1px solid #666699;
    margin: 0;
}
.weekday {
    min-width: calc(100% / 7);
/*    width: calc(100% / 7);*/
    text-align: center;
    font-weight: 600;
    padding: 2px 0;
    background-color: white;
    border-right: 1px solid #666699;
    /*border-bottom: 1px solid #666699;*/
}
.weekday.sun {
    color: #e74c3c;
}
.weekday.sat {
    color: #2980b9;
}
.days-grid {
    width: 100%;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
    border-left: 1px solid #666699;
    border-top: 1px solid #666699;
    flex-wrap: wrap;
}
.day {
    min-width: calc(100% / 7);
/*    width: calc(100% / 7);*/
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 50px;
    border-right: 1px solid #666699;
    border-bottom: 1px solid #666699;
}
.day.empty {
    background-color: #f9f9f9;
    border-right: 1px solid #666699;
    border-bottom: 1px solid #666699;
    
}
.day-number {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: auto;
    font-weight: 500;
    background-color: #F2F1CE;
    border-bottom: 1px dotted #666699;
	height: 35%;
}
.status {
    width: 100%;
    background-color: #FBFAEC;
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    margin: auto;
	height: 65%;
    display: flex;
    justify-content: center;
    align-items: center;
}
h2.shichoku-aki-title {
	margin-bottom: 10px;
    padding-bottom: 4px;
    padding-left: 4px;
    border-bottom: 2px solid #6BB11A;
    font-size: 1.1rem;
    font-weight: bold;
}
.test-info {
    position: absolute;
    top: 60px;
    left: calc(50% - 80px);
    font-size: 150%;
    font-weight: 700;
    color: #e90707;
}
div#youtube {
	position: relative;
	padding-bottom: 56.25%;
	width: 100%;
	height: 0;
}
div#youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* SP/TABLET ONLY */
@media (max-width: 1020px) {
    html, body {
        min-width: 0;
        width: 100%;
    }
    #container, #wrapper {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    #header .inline {
        width: 100%;
    }
    #footer .inner {
        width: 100%;
    }
    #copyright .inner {
        width: 100%;
    }
    #copyright #chara {
        visibility: hidden;
    }
}
@media (max-width: 1024px) {
    .sp-only {
        display: block !important;
    }
    .pc-only {
        display: none !important;
    }
    .sp-br {
        display: inline !important;
    }
    #container, #header, #gnav, #wrapper, #contents, #side, #add_area, #footer {
        width: auto !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #contents, #side {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    #contents:after {
        content: "";
        display: table;
        clear: both;
    }
    #contents, #important_news, #pickup, #search_study, #tab_area, #field_info, #side, #add_area {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
    }
    #side, #add_area {
        margin-top: 24px !important;
    }
    #gnav ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 12px;
    }
    #gnav li, #gnav a {
        display: block !important;
        max-width: 100%;
    }
    table {
        width: 100% !important;
        overflow-x: auto;
    }
    thead, tbody, tr {
        width: 100%;
    }
    #contents_page .table02 th, #contents_page .table02 td {
        display: flex;
        width: auto !important;
        height: auto;
		flex-direction: column;
    }
    .kv, .slider, .visual {
        position: relative;
        overflow: hidden;
    }
    .kv img, .slider img, .visual img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    [style*="width:778px"], [style*="width: 778px"] {
        width: auto !important;
    }
    #important_tel {
        margin-top: 30px;
    }
    #important_tel h2 {
        width: 100%;
        box-sizing: border-box;
        padding-left: 50px !important;
        font-size: 95%;
        padding: 14px 10px;
    }
    #footer #fnav #pagetop {
        margin-bottom: 10px;
    }
    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        border-bottom: 1px solid #ccc;
        padding: 8px 10px;
    }
    #wrapper {
        padding-top: 98px;
    }
    #wrapper #bodyArea .wrapper {
        max-width: 100%;
        width: auto;
        padding: 10px;
    }
    #contents_page #wrapper {
        padding-top: 80px;
    }
    #bodyArea #wrapper {
        padding: 0 5px;
    }
    #bodyArea #wrapper p:first-of-type, #bodyArea .wrapper p:first-of-type {
        margin-top: 10px;
    }
    #bodyArea #wrapper > div.fs-20px {
        margin: 15px auto;
        line-height: 1.1;
    }
    #riyoryokin_page {
        width: 100%;
        margin-top: 10px;
    }
    #riyoryokin_page .design {
        background-size: contain;
    }
    #riyoryokin_page .design .inbox {
        padding-top: 0;
        padding-bottom: 0;
    }
    #riyoryokin_page .design .form_box {
        max-width: 100%;
        width: auto;
        height: auto !important;
    }
    .sns-cont {
        width: auto;
        float: unset;
        margin-top: 10px;
    }
    #header .inline {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        padding: 0;
    }
    #header #logo {
        margin: 0;
    }
    #header #logo img {
        max-width: 230px;
        height: auto;
    }
    #header #navi_area, #header #gnav {
        display: none !important;
    }
    #header .header-copy {
        font-size: 13px;
        padding-left: 25px;
        margin-top: 0;
    }
    #facility_info {
        /*background: url("/yoyaku/img/title_bg_s.png") left top no-repeat; */
        background-size: 100% auto;
        margin-top: 20px;
    }
    div#search_keywords {
        margin-top: 20px;
        background-size: 100% auto;
    }
    div#search_keywords h2 {
        float: none;
        width: auto;
    }
    div#search_keywords .inbox {
        float: none;
        width: auto;
        max-width: 100%;
    }
    #contents_page #wrapper input[type=text],
    #contents_page #wrapper input[type=password] {
        max-width: 300px;
        width: 40vw;
    }
    #contents_page #wrapper table.table02 input,
    #contents_page #wrapper table.table02 select,
    #contents_page #wrapper table.table02 textarea {
        max-width: 300px;
        width: 40vw !important;
    }
    div#category_area {
        display: flex;
        justify-content: flex-start;
        column-gap: 2%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #category_area .left_column,
    #category_area .right_column {
        float: none;
        width: auto;
        max-width: 49%;
    }
    #category_area .link_box {
        background-size: 100% auto;
    }
    #category_area ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        padding: 5px;
        justify-content: flex-start;
    }
    #category_area ul li {
        float: none;
        width: auto;
        margin: 0;
        max-width: calc(50% - 5px);
        flex: 1 1 calc(50% - 10px);
    }
    #category_area ul li a {
        width: auto;
        max-width: 100%;
        line-height: 1.4;
        max-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #point_search_area {
        background-size: 100% auto;
    }
    .shinchoku-info {
        padding-top: 20px;
    }
    #category_areas .left_column {
        width: 100%;
        float: none;
    }
    #category_areas ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 0;
    }
    #category_areas ul li {
        flex: 1 1 25%;
        width: 25%;
    }
    #category_areas ul li a {
        width: auto;
        max-width: 100%;
        line-height: 1.5;
    }
    .sp-menu-btn {
        position: absolute;
        top: 50%;
        right: 8px;
        width: 32px;
        height: 32px;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .sp-menu-btn__bar, .sp-menu-btn__bar::before, .sp-menu-btn__bar::after {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        height: 3px;
        background: #000;
        content: "";
    }
    .sp-menu-btn__bar {
        top: 50%;
        transform: translateY(-50%);
    }
    .sp-menu-btn__bar::before {
        top: -8px;
    }
    .sp-menu-btn__bar::after {
        top: 8px;
    }
    .sp-global-nav {
        position: fixed;
        inset: 0;
        z-index: 9999;
        pointer-events: none;
    }
    .sp-global-nav__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.3);
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    .sp-global-nav__panel {
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        display: flex;
        flex-direction: column;
    }
    .sp-global-nav.is-open {
        pointer-events: auto;
    }
    .sp-global-nav.is-open .sp-global-nav__overlay {
        opacity: 1;
    }
    .sp-global-nav.is-open .sp-global-nav__panel {
        transform: translateX(0);
        box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    }
    .sp-global-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid #ddd;
    }
    .sp-global-nav__logo img {
        max-width: 220px;
        height: auto;
    }
    .sp-menu-close {
        background: none;
        border: none;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }
    .sp-global-nav__nav {
        padding: 8px 16px;
        flex: 1 1 auto;
        overflow-y: auto;
    }
    .sp-global-nav__nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .sp-global-nav__nav li {
        border-bottom: 1px solid #eee;
        font-size: 16px;
        font-weight: bold;
        padding: 6px;
    }
    .sp-global-nav__nav a {
        display: block;
        padding: 10px 0;
        text-decoration: none;
        color: #267240;
    }
    .sp-global-nav__nav a::before {
        content: "\25B8";
        margin-right: 0.5em;
    }
    .sp-global-nav__search {
        padding: 12px 16px 0;
    }
    .sp-global-nav__search #sp-search {
        display: flex;
        align-items: center;
        margin: 0;
    }
    .sp-global-nav__search #sp-search dt {
        margin: 0 6px 0 0;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    .sp-global-nav__search #sp-search dd {
        margin: 0;
        padding: 0;
    }
    .sp-global-nav__search #sp-search .keyword {
        flex: 1 1 auto;
        height: 34px;
        padding: 3px;
        background: url("/yoyaku/img/search_bg.jpg") left top no-repeat;
        background-size: 100% 34px;
        box-sizing: border-box;
    }
    .sp-global-nav__search #sp-search .keyword input {
        width: 100%;
        height: 22px;
        padding: 0;
        border: 0;
        background: transparent;
        vertical-align: middle;
        box-sizing: border-box;
    }
    .sp-global-nav__search #sp-search .button {
        width: 58px;
        height: 34px;
        margin-left: 0px;
        flex: 0 0 auto;
    }
    .sp-global-nav__search #sp-search .button input {
        height: 34px;
        border: 0;
        vertical-align: middle;
    }
    .sp-global-nav__sub {
        list-style: none;
        margin: 12px 16px 16px;
        padding: 0;
        font-size: 0.875rem;
    }
    .sp-global-nav__sub li {
        display: inline-block;
        margin-right: 12px;
        padding: 3px 0 3px 20px;
        background: url("/yoyaku/img/icon_arrow01.png") left 6px no-repeat;
    }
    .sp-global-nav__sub li + li {
        margin-top: 0;
    }
    .sp-global-nav__sub a {
        color: #3366cc;
        text-decoration: underline;
    }
    .sp-global-nav__sub a:hover {
        color: #666;
        text-decoration: none;
    }
    #add_area {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    #important_tel div {
        padding: 10px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    #footer {
        padding-right: 10px;
        padding-left: 10px;
    }
    #footer #info dl {
        white-space: normal;
        margin-right: 0px;
        font-size: 90%;
        padding-right: 30px;
    }
    #tab_nav li a {
        background-image: url("/yoyaku/img//tab_bg_off_R.png"), url("/yoyaku/img//tab_bg_off_L.png") !important;
        background-position: top right, top left;
        background-repeat: no-repeat, no-repeat;
    }
    #tab_nav li.active a {
        background-image: url("/yoyaku/img//tab_bg_on_R.png"), url("/yoyaku/img//tab_bg_on_L.png") !important;
        background-position: top right, top left;
        background-repeat: no-repeat, no-repeat;
    }
    .bx-default-pager {
        width: 100% !important;
        position: relative !important;
    }
    #pickup div span {
        width: 100%;
        text-align: center;
    }
    #pickup div .img {
        width: 40%;
    }
    #pickup div dl {
        float: right;
        width: 60%;
    }
    #search_study div {
        padding: 10px;
    }
    #search_study ul.main, #search_study ul.sub {
        display: flex;
        flex-wrap: wrap;
        column-gap: 8px;
        row-gap: 8px;
        margin: 0 0 8px;
        padding: 0;
    }
    #search_study ul.main li, #search_study ul.sub li {
        width: calc(50% - 4px);
        float: none !important;
        list-style: none;
        box-sizing: border-box;
    }
    #search_study ul.main li a, #search_study ul.sub li a {
        display: block;
    }
    #search_study li.clear {
        clear: none !important;
    }
    #search_study ul li {
        float: left;
        margin: 0;
    }
    #search_study ul.main li a {
        padding: 22px 24px 22px 55px;
        border: none;
        color: #fff;
        font-size: 100%;
        font-weight: bold;
    }
    #search_study ul.sub li a {
        border: none;
        font-size: 100%;
    }
    #search_study ul.sub li {
        background: #378845 url("/yoyaku/img/btn_bg02.jpg") right top no-repeat;
    }
    #search_study ul.sub li:hover {
        background-image: url("/yoyaku/img/btn_bg02_on.jpg");
    }
    #search_study ul.main li {
        background: #378845 url("/yoyaku/img/btn_bg01.jpg") right top no-repeat;
    }
    #search_study ul.main li:hover {
        background-image: url("/yoyaku/img/btn_bg01_on.jpg");
    }
    #tab_nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0 0 0 0;
        box-sizing: border-box;
        width: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    #tab_nav li {
        float: none !important;
        list-style: none;
        flex: 1 0 10%;
        margin: 0;
        width: 25%;
        max-width: 175px;
        margin-right: 8px;
        align-items: center;
        align-self: center;
    }
    #tab_nav li a.tab {
        display: flex;
        padding: 12px 2px;
        height: 30px !important;
        white-space: nowrap;
        width: 100%;
        max-width: 175px;
        font-size: 90%;
        letter-spacing: -0.1em;
        justify-content: center;
        flex-direction: column;
    }
    #tab_nav li a span {
        font-size: 80%;
        letter-spacing: -0.1em;
    }
    #tab_content table td {
        background: url("/yoyaku/img/icon_arrow02.png") left center no-repeat;
    }
    #ranking div dd {
        display: inline-block;
        width: 82%;
    }
    #banner {
        grid-column: 1 / -1;
        grid-row: 6;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .side-banner {
        width: 45%;
        margin-right: 5%;
    }
    .side-banner img {
        width: 100%;
        height: auto;
    }
    #banner .side-banner {
        float: none;
        width: calc(50% - 5px);
        margin: 0;
    }
    #banner .side-banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    #child_info ul li {
        width: 100%;
        margin-bottom: 3px;
        border: 1px solid #60a42b;
        background: url("/yoyaku/img/btn_bg03.jpg") left top no-repeat;
    }
    #child_info ul li:hover {
        background-image: url("/yoyaku/img/btn_bg03_on.jpg");
    }
    h1.title01 {
        background-image: url("/yoyaku/img/h1_title01.jpg");
    }
    h1.title02 {
        background-image: url("/yoyaku/img/h1_title02.jpg");
    }
    h1.title03 {
        background-image: url("/yoyaku/img/h1_title03.jpg");
    }
    h1.title04 {
        background-image: url("/yoyaku/img/h1_title04.jpg");
    }
    h1.title05 {
        background-image: url("/yoyaku/img/h1_title05.jpg");
    }
    h1.title00,
    h1.title06 {
        background-image: url("/yoyaku/img/h1_title06_R.png"), url("/yoyaku/img/h1_title06_L.png") !important;
        background-position: top right, top left !important;
        background-repeat: no-repeat, no-repeat;
    }
    h1.pickup07 {
        background-image: url("/yoyaku/img/pickup_title.jpg");
    }
    #form_page h1 {
        margin: auto 10px !important;
    }
    #contents_page h1,
    #form_page h1 {
        height: inherit;
        color: #fff;
        line-height: 25px;
        padding: 15px 10px;
        margin: auto;
        border: 1px solid #93c588;
        outline: 1px solid #2d945c;
        outline-offset: 0px;
        text-align: left !important;
    }
    #contents_page h1.title00 {
        padding-left: 60px;
    }
    #contents_page h1.title01, #contents_page h1.title02, #contents_page h1.title03, #contents_page h1.title04, #contents_page h1.title05 {
        background-image: url("/yoyaku/img/h1_title06_R.png"), url("/yoyaku/img/h1_title06_L.png") !important;
        background-position: top right, top left !important;
        background-repeat: no-repeat, no-repeat;
    }
    #gide_area.type02 {
        margin: 20px 10px;
    }
    #crumb {
        padding: 0 5px;
    }
    #footer #fnav {
        padding: 0 6px;
    }
    #footer #fnav li {
        display: inline-flex;
    }
    #contents #mailmg {
        display: block;
    }
    #contents #child_info {
        display: block;
    }
    /*
    #side #mailmg {
        display: none;
    }
    #side #child_info {
        display: none;
    }
    */
    .search-keywords-cont {
        padding: 10px 5px;
    }
    .back-btn-cont {
        padding-top: 10px;
    }
    #results_area_shichokaku dl dd {
        padding: 0;
    }
    #results_area_shichokaku table tr {
        display: flex;
        width: auto;
        height: auto;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;
    }
    #results_area_shichokaku table th, 
    #results_area_shichokaku table td {
        display: block;
    }
    #results_area_shichokaku table th {
        width: 20%;
        flex: 1 1 20%;
    }
    #results_area_shichokaku table td {
        width: 30%;
        flex: 1 1 25%;
        
    }
    #sitemap_area ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    #sitemap_area ul li.long {
        width: 100%;
        float: none;
        flex: 1 1 100%;
    }
    #sitemap_area ul li {
        float: none;
        width: 48%;
        margin: 0;
    }
    #sitemap_area ul li ul li {
        width: 48%;
    }
    #side #child_info, #side #mailmg {
        display: none;
    }
	.test-info {
		top: 30px;
		left: 250px;
		font-size: 120%;	
	}
	
}
/* SP ONLY */
@media (max-width: 380px) {
    #banner {
        display: block;
    }
    #banner .side-banner {
        width: 100%;
        margin: 0 0 10px;
    }
}
/* SP ONLY */
@media (max-width: 520px) {
    #side {
        display: block;
    }
    #side > div, #side > p {
        float: none;
        width: auto;
        margin: 0 0 10px;
        box-sizing: border-box;
    }
    .bnr img {
        height: auto;
    }
    #banner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #banner .side-banner {
        float: none;
        width: calc(50% - 5px);
        margin: 0 0 10px;
    }
    #banner .side-banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    #side .bnr {
        margin-bottom: 15px;
        text-align: center;
    }
	.month-cont {
	    max-width: 100%;
	    flex: 1 1 auto;
		width: 100%;
	}
}
/* SP ONLY */
@media (max-width: 562px) {
    #pickup .bxslider .slidecard p.img {
        float: none;
        width: 100%;
        margin: 0 0 10px;
        text-align: center;
    }
    #pickup .bxslider .slidecard p.img img {
        display: inline-block;
    }
    #pickup .bxslider .slidecard dl {
        float: none;
        width: 100%;
    }
    .submit-btn,
    .cancel-btn {
        width: 40vw;
    }
}
/* SP ONLY */
@media (max-width: 600px) {
    #riyoryokin_page .design .inbox .form_box .contents_page {
        flex-direction: column;
        row-gap: 10px;
        padding: 10px 0;
    }
    #riyoryokin_page .table04 td.cell_type03 {
        display: block;
        box-sizing: border-box;
        text-align: left;
    }
    #category_area .left_column,
    #category_area .right_column {
        max-width: 100%;
    }
    #contents_page .table01 th,
    #contents_page .table01 td {
        display: flex;
        width: auto;
        height: auto;
        box-sizing: border-box;
        align-items: center;
    }
    #results_area table th,
    #results_area table td {
        display: flex;
        width: auto;
        height: auto;
        box-sizing: border-box;
        align-items: center;
    }
    .link_btn a {
        min-width: 150px;
        max-width: 200px;
    }
    #contents_page #wrapper select {
    	width: 100%;
    }
    #contents_page #wrapper table.table02 input,
    #contents_page #wrapper table.table02 select,
    #contents_page #wrapper table.table02 textarea {
        max-width: 100%;
        width: 100% !important;
    }
    #sitemap_area ul li {
        width: 100%;
    }
}
/* SP ONLY */
@media (max-width: 690px) {
    #field_info .clearfix > p {
        text-align: center;
        margin-bottom: 10px;
    }
    #field_info img.maphilighted, #field_info img[usemap] {
        display: inline-block;
        height: auto;
        max-width: 100%;
    }
    #field_info .clearfix ul {
        float: none !important;
        width: 100% !important;
        margin: 0;
        padding: 6px;
        box-sizing: border-box;
    }
    #field_info .clearfix ul::after {
        content: "";
        display: block;
        clear: both;
    }
    #field_info .clearfix ul li {
        list-style: none;
        box-sizing: border-box;
    }
    #field_info .clearfix ul li a {
        display: block;
        padding: 4px 2px;
    }
    .osaka-map-container, .ward-list {
        width: 100%;
        margin: auto;
    }
    .ward-list .field_list {
        width: 100%;
    }
    #results_area_shichokaku dl dd {
        padding: 0;
    }
    #results_area_shichokaku table tr {
        display: flex;
        width: auto;
        height: auto;
        flex-wrap: wrap;
        box-sizing: border-box;
        align-items: center;
    }
    #results_area_shichokaku table th, 
    #results_area_shichokaku table td {
        display: block;
    }
    #results_area_shichokaku table th {
        width: 30%;
        flex: 1 1 25%;
    }
    #results_area_shichokaku table td {
        width: 70%;
        flex: 1 1 60%;
        
    }
	.cal-cont {
	    width: 100%;
	}

}
/* SP ONLY */
@media (max-width: 700px) {
    .contact-itm {
        width: 50%;
    }
}
/* SP ONLY */
@media (max-width: 767px) {
    #breadcrumb {
        font-size: 0.875rem !important;
        line-height: 1.6;
        word-break: break-word;
    }
    body {
        line-height: 1.8;
    }
    #footer {
        padding-top: 120px;
        padding-bottom: 16px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #pickup p.more_list a {
        padding: 5px 0 5px 13px;
        font-size: 75%;
        letter-spacing: -0.1em;
        line-height: 23px;
    }
    p {
        word-break: break-word;
    }
    .inner-cont-area {
        width: auto;
        max-width: 700px;
        margin: 10px;
    }
    #contents_page .table01 th,
    #contents_page .table01 td {
        display: flex;
        width: auto;
        height: auto;
        box-sizing: border-box;
        align-items: center;
    }
    p.link_btn2 {
        width: 40vw;
    }
    div.btn-group {
        width: 100%;
    }
}
/* SP ONLY */
@media (min-width: 521px) and (max-width: 1024px) {
    #side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 10px;
    }
    #side > div, #side > p {
        float: none;
        width: auto;
        margin: 0;
        box-sizing: border-box;
    }
    #side #magazine {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    #side #child_info {
        grid-column: 1;
        /*grid-row: 2; */
    }
    #side #mailmg {
        grid-column: 2;
        /* grid-row: 2; */
    }
    #side #question {
        grid-column: 1;
        grid-row: auto / span 2;
        border: 1px solid #CCC;
        border-top: none;
        background: #fff;
    }
    #side #question > div {
        border: none;
        border-top: none;
    }
    #side #teacher {
        grid-column: 2;
        /* grid-row: 3; */
    }
    #side #recruitment {
        grid-column: 2;
        /*grid-row: 4; */
    }
    #side p.bnr {
        grid-column: 1 / -1;
        grid-row: 5;
    }
    #side #ranking {
        grid-column: 1 / -1;
        grid-row: 6;
    }
    #side .side-banner {
        grid-column: 1 / -1;
        width: auto;
        margin-right: 0;
    }
	/*
    #side #child_info, #side #mailmg {
         display: flex;
        flex-direction: column;
        margin-bottom: 15px; 
    }*/
    #side #child_info > div, #side #mailmg > div {
        flex: 1 1 auto;
        height: 100%;
    }
    #side .bnr {
        text-align: center;
    }
    #banner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #banner .side-banner {
        float: none;
        width: calc(50% - 5px);
        margin: 0 0 10px;
    }
    #banner .side-banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    #contents {
        display: flex;
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 10px;
        align-items: stretch;
    }
    #contents > * {
        flex: 0 0 100%;
        box-sizing: border-box;
    }
    #contents #magazine.sp-only {
        flex: 0 0 100%;
    }
    #contents #child_info.sp-only, #contents #mailmg.sp-only {
        flex: 0 0 calc(50% - 5px);
        display: flex;
        flex-direction: column;
    }
    #contents #child_info.sp-only > div, #contents #mailmg.sp-only > div {
        flex: 1 1 auto;
        height: auto;
    }
    #contents #mailmg.sp-only > div {
        padding: 10px;
    }
}
/* SP ONLY */
@media (min-width: 768px) {
    .sp-br {
        display: none !important;
    }
    
}