@media only screen and (max-width: 500px) {
	.max500px img { 
		width: 100%;
	}
}

@media(min-width: 960px){
    .package_img{
    text-align: center;
    margin-top: -40px;
    }
    .sec02_txtbox p{
        margin-top: -20px;
    }
}

@media only screen and (min-width: 1125px) {
    .txt_subtitle_sec05{
        margin-top: 0px;
    }
}

@media only screen and (max-width: 1100px) {
    .unidare_small{
        display: none;
    }
}

@media(max-width: 960px) {
    .outbox_sec01{
    background-image: url(../img_beihei/img_mb_sec1_bill.jpg);
    }
    .sec01_txtbox{
    margin-left: 40vw;
    margin-top: 30vh;
    width: 40vw;
    font-size: small;
    line-height: 2;
    }
    .sec02_txtbox p{
    width: 90%;
    text-align: justify;
    font-size: small;
    line-height: 1.7;
    }
    .sec01_txtbox_vertical{
        position: absolute;
        top:0px;
        right: 0px;
    }
    .qanda_scroll_arrow_up{
        position:fixed;
        text-align: right;
        right: 30px;
        bottom: 0;
        z-index: 300;
        animation: scroll_arrow 1s ease -2s 30 alternate;
    }

    
}

@media(min-width: 541px){
    .outbox_sec02_mb{
        display: none;
    }
    .sec8_table_mb{
        display: none;
    }
}

@media(max-width: 540px){
    .package_img{
    text-align: center;
    margin-top: -30px;
    }
    .outbox_sec01{
    background-image: url(../img_beihei/img_mb_sec1_bill.jpg);
    }
    .smallrogo{
    position: fixed;
    top:5px;
    right:5px;
    z-index: 300;
    }
    .smallrogo img{
        width: 70px;
    }
    
    .uroko img{
        width: 14%;
        height: auto;
    }
    
    .sec01_top_rogo img{
        width: 40%;
    }
    .sec01_txtbox_vertical{
        position: absolute;
        top:0px;
        right: -20px;
    }
    .sec01_title{
    position: absolute;
    display: block;
    top: 65vh;
    }
    .sec01_title p{
        color: white;
        font-size: 3.5em;
        margin-bottom: -20px;
    }
    .sec01_title h1{
        color: white;
        font-size: 4.5em;
        font-feature-settings: "palt" 1;
        margin-top: -20px;
    }
    
    .outbox_sec2{
        width: 100%;
        margin: 0 auto;
        background-image: url(../img_beihei/sec3_BG_item_1_mb.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 80%;
    }
    
    .sec2_title{
        position: relative;
        display: block;
        top: 0px;
        text-align: center;
    }

    .sec2_title h2{
        font-size: 2em;
        margin-top: -2px;
        margin-bottom: -5px;
    }

    .sec2_title h1{
        font-size: 5em;
        font-feature-settings: "palt" 1;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .sec2_title p{
        font-size: 1em;
        padding-bottom: 50px;
    }
    
    .outbox_sec3{
        width: 100%;
        margin: 0 auto;
        background-color: #b5a833;
        background-image: url(../img_beihei/sec4_BG_item_1_mb.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 80%;
    }
    
    .sec3_title{
        position: relative;
        display: block;
        top: 0px;
        text-align: center;
    }


    .sec3_title h2{
        font-size: 3em;
        margin-top: -2px;
        margin-bottom: -5px;
    }

    .sec3_title h1{
        font-size: 4.5em;
        font-feature-settings: "palt" 1;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .sec3_title p{
        font-size: 1em;
        padding-bottom: 50px;
    }
    
    .sec5_title h2{
        font-size: 2em;
        margin-top: -2px;
        margin-bottom: -5px;
    }

    .sec5_title h1{
        font-size: 4.5em;
        font-feature-settings: "palt" 1;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .sec5_title p{
        font-size: 1em;
        padding-bottom: 50px;
    }

    .flex_item_sec5:nth-child(1) {
        -webkit-align-self: auto;
        align-self: auto;
        width: 100%;    
    }
    .flex_item_sec5:nth-child(2) {
        -webkit-align-self: auto;
        align-self: auto;
        width: 100%;
    }
    
    .sec7_title h2{
        margin-top: 0;
        font-size: 1.5em;
    }
    
    .giftbox{
        margin: 0 15%;
        margin-bottom: 50px;
    }
    
    .sec8_table{
        display: none;
    }
    
    .sec8_table table{
        width: 100%;
    }
    .sec8_table_mb table {
        width:100%;
    }


    .sec9_title p{
        font-size: 1em;
        color: white;
        padding: 0px;
        text-align: justify;
    }
    
    .sec9_title h2{
        font-size: 3em;
        margin-top: -2px;
        margin-bottom: 10px;
    }
    
    .footer_txtbox_vertical{
        position: relative;
        top:0px;
        right: 0px;
    }

    .outbox_orderform{
    width: 100%;
    height: auto;
    background-image: url(../img_azuma/orderform_mb_BG.jpg);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 100px;
    }
}
