* {
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header .header_top {
    background: #F59600;
}

header .header_top .inner {
    width: 94%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 13px 0;
}

header .header_top .inner .logo {
    width: 12.81%;
    max-width: 154px;
    margin-right: 0.89%;
    position: static;
    height: auto;
}

header .header_top .inner .logo-side {
    margin-right: 6px;
}

header .header_top .inner .logo-side img {
    width: 48px;
    height: 48px;
}

.hnBtn {
    padding: 0;
    border: none;
    border-radius: 0;
}

.tab_block {
    display: none;
}

header .header_top .inner .header_banner {
    width: 35%;
    margin-right: 2.13%;
    background: #fff;
}

header .header_top .inner .header_banner a {
    display: block;
}

header .header_top .inner .header_submenu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    margin-left: auto;
    width: 43.17%;
}

header .header_top .inner .header_submenu li:not(:last-of-type) {
    margin-right: 1.785%;
}

header .header_top .inner .header_submenu li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    line-height: 32px;
    width: 23.611%;
    padding: 0 8px;
}

header .header_top .inner .header_submenu li.document::before {
    background: url(https://www.osaka-kousha.or.jp/oph-search/common/img/2303_renew/common/header_icon_document.svg) no-repeat center / 100%;
}

header .header_top .inner .header_submenu li::before {
    content: "";
    width: 16px;
    height: 15px;
    display: block;
}

header .header_top .inner .header_submenu li a {
    display: block;
    color: #000;
    text-decoration: none;
    width: calc(100% - 16px);
    text-align: center;
    font-size: 13px;
    padding: 0;
    border: none;
}

header .header_top .inner .header_submenu li.contact::before {
    background: url(https://www.osaka-kousha.or.jp/oph-search/common/img/2303_renew/common/header_icon_contact.svg) no-repeat center / 100%;
}

header .header_top .inner .header_submenu li.history::before {
    background: url(https://www.osaka-kousha.or.jp/oph-search/common/img/2303_renew/common/header_icon_history.svg) no-repeat center / 100%;
}

header .header_top .inner .header_submenu li.favolit::before {
    background: url(https://www.osaka-kousha.or.jp/oph-search/common/img/2303_renew/common/header_icon_favorite.svg) no-repeat center / 100%;
}

.navigation {
    background: #fff;
    padding: 12px 0;
    width: 100%;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 94%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #F59600;
}

.navigation ul li {
    width: 12.5%;
    text-align: center;
    border-right: 1px solid #F59600;
    line-height: 34px;
}

.navigation ul li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.content_header{
    border-top: none;    
}

@media screen and (max-width: 1050px) {
    header .header_top .inner .header_banner {
        width: 33%;
    }
}

@media screen and (min-width: 1024px) {
    .tab_block {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    header .header_top {
        background: none;
    }
    header .header_top .inner {
        width: 100%;
        background: #F59600;
    }
    header .header_top .inner .logo {
        order: 1;
        width: 21%;
        margin-left: 3%;
    }
    header .header_top .inner .logo-side {
        order: 2;
        margin-right: 6px;
    }
    header .header_top .inner .header_icon {
        order: 4;
        margin-right: 3%;
    }
    .tab_block {
        display: block;
    }
    header .menu_btn .menu-trigger {
        display: block;
        transition: all 0.4s;
        box-sizing: border-box;
        position: relative;
        width: 26px;
        height: 24px;
        background: none;
        border: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        margin: 0 auto;
    }
    header .menu_btn .menu-trigger span:nth-of-type(1) {
        top: 0;
    }
    header .menu_btn .menu-trigger span:nth-of-type(2) {
        top: 10px;
    }
     header .menu_btn .menu-trigger span:nth-of-type(3) {
        bottom: 0;
    }
    header .menu_btn .menu-trigger span {
        display: inline-block;
        transition: all 0.4s;
        box-sizing: border-box;
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #fff;
        border-radius: 4px;
    }
    header .menu_btn::after {
        content: "メニュー";
        font-size: 12px;
        color: #fff;
        width: 100%;
    }
    header .header_top .inner .header_banner {
        order: 5;
        margin: 10px 0 0;
        width: 100%;
        background: #FBF7F0;
    }
    header .header_top .inner .header_banner a {
        width: 66%;
        margin: 0 auto;
    }
    header .header_top .inner .header_submenu {
        order: 3;
        width: 56%;
        margin-right: 2%;
    }
    .navigation {
        position: fixed;
        background: #FBF7F0;
        z-index: 5;
        width: 100%;
        height: 100vh;
        display: flex;
        top: 0;
        background: none;
        padding: 0;
        left: 100%;
        transition: 0.3s;
    }
    .navigation.view {
        left: 0;
    }
    .navigation .menu_close {
        width: 75px;
        height: 75px;
        position: relative;
        background: #F59600;
    }
    .navigation .menu_close::before, .navigation .menu_close::after {
        content: "";
        width: 36px;
        height: 3px;
        background: #fff;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        transform: rotate(45deg);
    }
    .navigation .menu_close::after {
        transform: rotate(-45deg);
    }
    .navigation .menu_close {
        width: 75px;
        height: 75px;
        position: relative;
        background: #F59600;
    }
    .navigation ul {
        background: #FBF7F0;
        display: block;
        border: none;
        padding: 20px 18px;
        height: 100%;
        overflow: auto;
        border-left: none !important;
    }
    .navigation ul li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border: none;
        width: 100%;
        border-bottom: 1px solid #F59600;
        border-right: none !important;
        text-align: left;
    }
    .navigation ul li a {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 20px;
        font-size: 16px;
        width: 100%;
    }
    .navigation ul li a::after {
        content: "";
        background: url(https://www.osaka-kousha.or.jp/oph-search/common/img/2303_renew/common/arrow_icon.svg) no-repeat center / 100%;
        width: 20px;
        height: 20px;
        margin-left: auto;
    }
    .tab_none {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    header {
        padding-top: 0 !important;
    }
    .sp_block {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    header .header_top .inner .header_submenu {
        display: none;
    }
    header .header_top .inner {
        padding-top: 2.6666666667vw;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
    }
    header .menu_btn .menu-trigger {
        width: 6.9333333333vw;
        height: 6.4vw;
    }
    header .header_top .inner .header_icon {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 53.3333333333vw;
        margin-left: auto;
    }
    header .header_top .inner .header_icon .sp_block {
        display: block !important;
    }
    header .header_top .inner .header_icon .history a, header .header_top .inner .header_icon .favorit a {
        display: block;
        text-decoration: none;
        width: 100%;
    }
    header .header_top .inner .header_icon .history a p, header .header_top .inner .header_icon .favorit a p {
        color: #fff;
        font-size: 3.2vw;
        font-weight: 500;
        text-align: center;
    }
    header .header_top .inner .header_icon .history a img, header .header_top .inner .header_icon .favorit a img {
        width: auto;
        height: 6.4vw;
        margin: 0 auto 1.33vw;
    }
    header .header_top .inner .header_icon .favorit {
        width: 19.2vw;
    }
    header .header_top .inner .header_icon .history {
        width: 17.3333333333vw;
    }
    header .menu_btn .menu-trigger span {
        height: 1.0666666667vw;
    }
    header .menu_btn .menu-trigger span:nth-of-type(2) {
        top: 2.7vw;
    }
    header .menu_btn::after {
        font-size: 3.2vw;
        margin-top: 1.3vw;
        display: inline-block;
    }
}

@media screen and (min-width: 673px), print {
    .content_header {
        position: relative;
    }
    .content_header {
        color: #000000;
    }
    .content_header:after {
        content: "";
        display: block;
        width: 100%;
        height: 22px;
        background-image: url(https://www.osaka-kousha.or.jp/oph-search/common/img/bg_contaner.png);
        background-repeat: repeat-x;
        background-position: 50% 0;
        position: absolute;
        left: 0;
        top: 100%;
    }
    header {
        position: relative;
        width: 100%;
        max-width: 1024px;
        height: 70px;
        margin: 0 auto;
    }
    .content_header img {
        max-width: 100%;
        vertical-align: top;
    }
    .hnBtn {
        display: block;
        padding: 5px;
        width: 94px;
        text-align: center;
        border-radius: 3px;
    }
    .content_header img {
        max-width: 100%;
        vertical-align: top;
    }
    .content_header img {
        max-width: 100%;
        vertical-align: top;
    }
}

header {
    margin-bottom: 36px;
    display: block;
    max-width: none;
    height: auto;
}

#headerNaviClone:after{
    display: none;
}

* {
        box-sizing: border-box;
    }

body{
    min-width: 320px;
}
#container{
    border-top: none;
}