/*
Theme Name: STINGER8 Child
Template: stinger8
Version: 20170614
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {

    #st-headerbox {
        position: relative;
        background-repeat: no-repeat;
        background-position: 55.5% 0%;
        background-size: 307vw;
        height: 100vh;
        width: 100vw;
    }

    #st-headerbox::after {
        position: absolute;
        content: '';
        background-color: rgba(0, 0, 0, 0.2);
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

	#st-header {
        position: absolute;
        width: 100vw;
        height: 100vh;
        z-index: 2;
        top: 0;
        left: 0;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    #st-headericon {
        background-repeat: no-repeat;
        background-size: 9.07vw 8vw;
        background-position: top;
        text-align: center;
        width: 100vw;
    }

    #st-headericon::before {
        content: '';
        width: 9.07vw;
        height: 8vw;
    }

    #st-headertitle {
        padding-top: 15vw;

        writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        color: #ffffff;
        letter-spacing: 1em;
        font-family: "Noto Serif Japanese", serif, san-serif;
        font-size: 6.66666vw;
        font-weight: 700;
    }

    #headbox-bg {
        position: absolute;
        z-index: 2;
        top: 0px;
        right: 0px;
    }

    #s-navi dt.trigger .op {
        max-width: none;
    }

    #s-navi dd.acordion_tree {
        margin: 2em 0;
        color: #5d627b;
        background: white;
        border-top: solid 5px #5d627b;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    }

    #footer {
        padding: 0;
        /*text-align: unset;*/
    }

	#footer .footer-c {
        padding: 10.666666vw 8vw;
        background-color: #23313f;
        color: #ffffff;
        font-family: Arial, Helvetica, "Noto sans Japanese", sans-serif;
    }
    
    #footer .footerlogo {
        margin-bottom: 2.666666vw;
        font-size: 4.8vw;
        font-weight: bold;
    }

    #footer .footercontact {
        font-size: 3.2vw;
        line-height: 1;
    }

    #footer .copy {
        text-align: center;
    }

    #st-scroll_icon {
        position: absolute;
        bottom: 60px;
        left: 50%;
        margin-left: -5vw;
        width: 10vw;
        z-index: 10;
        text-align: center;
    }

    #st-scroll_icon a {
        font-family: Arial, Helvetica, "Noto sans Japanese", sans-serif;
        color: #fff;
        text-decoration: none;
        font-weight: 100;
        font-size: 12px;
    }

    #st-scroll_icon a span {
        position: absolute;
        top: -28px;
        left: 50%;
        width: 15px;
        height: 25px;
        margin-left: -7.5px;
        border: 1px solid #fff;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    #st-scroll_icon a span::before {
        position: absolute;
        top: 3px;
        left: 50%;
        content: '';
        width: 3px;
        height: 3px;
        margin-left: -1.5px;
        background-color: #fff;
        border-radius: 100%;
        animation: sdb 2s infinite;
        -webkit-animation: sdb 2s infinite;
        box-sizing: border-box;
    }

    
    @-webkit-keyframes sdb {
        0% {
            -webkit-transform: translate(0, 0);
            opacity: 0;
        }
        40% {
            opacity: 1;
        }
        80% {
            -webkit-transform: translate(0, 3vw);
            opacity: 0;
        }
        100% {
            opacity: 0;
        }
    }
    @keyframes sdb {
        0% {
            transform: translate(0, 0);
            opacity: 0;
        }
        40% {
            opacity: 1;
        }
        80% {
            transform: translate(0, 3vw);
            opacity: 0;
        }
        100% {
            opacity: 0;
        }
    }

    #pg-headerbox {
        position: relative;
        background-repeat: no-repeat;
        background-position: 40.5% 40%;
        background-size: 307vw;
        height: 10vh;
        width: 100vw;
    }

    #pg-headerbox::after {
        position: absolute;
        content: '';
        background-color: rgba(0, 0, 0, 0.2);
        width: 100vw;
        height: 10vh;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

	#pg-header {
        position: absolute;
        width: 100vw;
        height: 10vh;
        z-index: 2;
        top: 0;
        left: 0;

        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    #pg-headericon {
        background-repeat: no-repeat;
        background-size: 9.07vw 8vw;
        background-position: 5vw;
        text-align: center;
        width: 100vw;
    }

    #pg-headericon::before {
        content: '';
        width: 9.07vw;
        height: 8vw;
    }

    #pg-headertitle {
        color: #ffffff;
        letter-spacing: 1em;
        font-family: "Noto Serif Japanese", serif, san-serif;
        font-size: 6.66666vw;
        font-weight: 700;
    }
	
	.st-aside .kanren {
		display: none;
	}
/*-- ここまで --*/
}

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {

/*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {

    #st-headerbox {
        position: relative;
        background-repeat: no-repeat;
        background-position: 70% 34%;
        background-size: 126%;
        width: 100%;
        height: 600px;
    }

    #st-headerbox::after {
        position: absolute;
        content: '';
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        height: 600px;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

	#st-header {
        position: absolute;
        max-width: none;
        width: 100%;
        height: 600px;
        z-index: 2;
        top: 0;
        left: 0;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    #st-headericon {
        background-repeat: no-repeat;
        background-size: 48px 43px;
        background-position: top;
    }
    
    #st-headertitle {
        padding-top: 77px;
        writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        color: #ffffff;
        letter-spacing: 1em;
        font-family: "Noto Serif Japanese", serif, san-serif;
        font-size: 36px;
        font-weight: 700;
    }

    #footer {
        padding: 20px 0px;
    }

	#footer-in {
		max-width: none;
	}

	#footer .footer-c {
        padding: 30px 0;
        background-color: #23313f;
        color: #ffffff;
        font-family: Arial, Helvetica, "Noto sans Japanese", sans-serif;
        text-align: center;
    }
    
    #footer .footerlogo {
        margin-bottom: 10px;
        font-size: 24px;
        font-weight: bold;
    }

    #footer .footercontact {
        font-size: 12px;
        line-height: 1;
    }

    #st-scroll_icon {
        display: none;
    }

    #pg-headerbox {
        position: relative;
        background-repeat: no-repeat;
        background-position: 70% 34%;
        background-size: 126%;
        width: 100%;
        height: 100px;
    }

    #pg-headerbox::after {
        position: absolute;
        content: '';
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        height: 100px;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }

	#pg-header {
        position: absolute;
        max-width: none;
        width: 100%;
        height: 100px;
        z-index: 2;
        top: 0;
        left: 0;

        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    #pg-headericon {
        background-repeat: no-repeat;
        background-size: 48px 43px;
        background-position: 10px;
    }
    
    #pg-headertitle {
        padding-left: 77px;
        color: #ffffff;
        letter-spacing: 1em;
        font-family: "Noto Serif Japanese", serif, san-serif;
        font-size: 36px;
        font-weight: 700;
    }

/*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {

	div.whatsnew {
		width: 80%;
		margin: auto;
	}
	
	#search {
		margin: 20px 0px;
	}

/*-- ここまで --*/
}

.blank_image {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
}

/*
.disable_events {
    pointer-events: none;
    user-select: 'none';
    -webkit-user-select: 'none';
    -moz-user-select: 'none';
    touch-callout: 'none';
    -webkit-touch-callout: 'none';
    -moz-touch-callout: 'none';
    user-drag: 'none';
    -webkit-user-drag: none;
}
*/
