
/* CSS Document */

/*==================================================

top-contents
=================================================*/

.top-image {
	width: 100%;
	position: relative;
    padding-top: 120px;
}

.top-image .onoff {
    width: 100%;
    max-width: 300px;
    position: absolute;
    top: 42%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
    z-index: 4;
}
.top-image .onoff p {
    font-size: 3rem;
    color: #FFF;
    text-align: center;
    letter-spacing: .08em;
    margin-bottom: 10%;
    animation: text-blink 2.5s linear infinite;
}
@keyframes text-blink {
      0% {opacity: .1;}
     50% {opacity: 1;}
    100% {opacity: .1;}
}


.top-image .onoff ul {
    width: 100%;
    max-width: 260px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    margin: 0 auto;
}
.top-image .onoff ul li {
    width: 100px;
    cursor: pointer;
    
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.top-image .onoff ul li:hover {
    opacity: .5;
}
.top-image .onoff ul li img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

.top-image .mov {
	width: 100%;
	position: relative;
    margin-left: auto;
    margin-right: 0;
}
#video {
	width: 100%;
    display: block;
	position: relative;
    outline: none;
}
.top-image .head-item1 {
    width: 58.3%;
    line-height: 0;
}
.top-image .head-item2 {
    width: 100%;
    line-height: 0;
    margin: 0 0 0 auto;
}
.top-image .head-ef {
    width: 40%;
    max-width: 576px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.top-image .head-ef2 {
    width: 40%;
    max-width: 576px;
    position: absolute;
    left: 0;
    bottom: 2%;
    z-index: 1;
}

.top-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.news-wrapper {
    position: relative;
    background-image: url("../../images/cover_bottom.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: -10%;
    z-index: 2;
}
.news-wrapper iframe {
    height: 600px;
}
#news {
    width: 90%;
    max-width: 1200px;
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    margin: 0 auto;
    padding-bottom: 8%;
}

#news h1 {
    width: 25%;
    font-weight: 400;
}
#news .inner {
    width: 75%;
}
#news .inner dl {
    width: 100%;
    display: table;
     border-left: 8px solid #FFF;
    border-bottom: 1px solid #CCC;
}
#news .inner dl.fix {
    border-left: 8px solid #F00;
}
#news .inner dl dt {
    width: 8em;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 20px 1em;
}
#news .inner dl dd {
    display: table-cell;
    vertical-align: middle;
    padding: 20px 1em;
}
#news .inner dl dd.cate {
    width: 8em;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 20px 0;
}
#news .inner dl dd.cate span {
    width: 100%;
    display: inline-block;
    font-size: 1.3rem;
    color: #FFF;
    background-color: #0b82b3;
    padding: 3px 1em;
}
#news .inner .button {
    margin: 60px 0 0 auto;
}

#message {
    width: 100%;
    min-height: 550px;
    position: relative;
}
#message .photo {
    width: 100%;
    position: relative;
}
#message .txt {
    width: 90%;
    max-width: 1200px;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0); 
    transform: translate(-50%, 0);
    z-index: 1;
}
#message .txt .inner {
    width: 100%;
    max-width: 550px;
    padding-top: 40px;
}
#message .txt .inner ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}
#message .txt .inner ul li {
    width: 240px;
    margin: 60px 25px 0 0;
}
#message img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

#about {
    width: 100%;
    position: relative;
    background-image: url("../../images/block2.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
}
#about h1,#about p {
    width: 90%;
    position: relative;
    text-align: center;
    margin: 0 auto;
}
#about ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    background-image: url("../../images/bg_about.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 40%;
    padding-bottom: 40px;
}
#about ul li {
    width: 45%;
    max-width: 360px;
    margin: 60px 4% 0;
}
#about ul li a {
    width: 100%;
    display: block;
    color: #333;
    text-align: center;
    text-decoration: none;
}
#about ul li a dl {
    width: 100%;
}
#about ul li a dl dt {
    background: linear-gradient(90deg, #5badd3, #bc33b1);
    padding-bottom: 5px;
}
#about ul li a dl dd {
    font-size: 2rem;
    background-color: #edf3f7;
    padding: 30px 1em 60px;
}
#about ul li a dl dd:nth-last-child(1) {
    background-color: transparent;
    padding: 0;
}
#about img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

#works {
    width: 100%;
    position: relative;
}
#works h1 {
    width: 90%;
    position: relative;
    text-align: center;
    margin: 0 auto;
}
#works .inner {
    background-color: #edf3f7;
    margin-top: 60px;
}
#works ul {
    width: 90%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    margin: 0 auto;
    
}
#works ul li {
    width: 30%;
    max-width: 360px;
    cursor: pointer;
    margin-top: 60px;
    
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
#works ul li:hover {
    opacity: .7;
}
#works ul li a {
    width: 100%;
    display: block;
    color: #333;
    text-decoration: none;
}
#works ul li dl {
    width: 100%;
}
#works ul li dl dt {
    background: linear-gradient(90deg, #5badd3, #bc33b1);
    padding-bottom: 3px;
}
#works ul li dl dd {
    text-align: center;
    background-color: #edf3f7;
    padding: 30px 1em 60px;
}
#works img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

#recruit {
    width: 90%;
    max-width: 1200px;
    position: relative;
    background-color: #79aad0;
    margin: 100px auto 0;
}
#recruit a {
    width: 100%;
    display: block;
    color: #FFF;
    text-decoration: none;
    background-image: url("../../images/recruit_bg.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5%;
}
#recruit h1,#recruit p {
    color: #FFF;
}


@media only screen and (min-width:1px) and (max-width: 768px) {
	
	.top-image {
		padding-top: 69px;
	}
    .top-image .onoff {
        top: 45%;
        left: 50%;
    }
    .top-image .onoff p {
        font-size: 2rem;
        margin-bottom: 5%;
    }
    .top-image .onoff ul {
        width: 100%;
        max-width: 160px;
    }
    .top-image .onoff ul li {
        width: 60px;
    }
    
    .top-image .head-ef {
        width: 50%;
        max-width: 576px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }
    
    .news-wrapper {
        position: relative;
        background-image: url("../../images/cover_bottom.png");
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: contain;
        margin-top: 0;
        z-index: 2;
    }
    .news-wrapper iframe {
        height: 800px;
    }
    #news {
        width: 90%;
        max-width: 1200px;

        display: block;

        margin: 0 auto;
        padding-bottom: 8%;
    }

    #news h1 {
        width: 100%;
        text-align: center;
        margin-bottom: 6%;
    }
    #news .inner {
        width: 100%;
    }
    #news .inner dl {
        width: 100%;
        display: block;
        border-left: 8px solid #FFF;
        border-bottom: 1px solid #CCC;
    }
    #news .inner dl.fix {
        border-left: 8px solid #F00;
    }
    #news .inner dl dt {
        width: 100%;
        display: block;
        text-align: left;
        vertical-align: middle;
        padding: 3% 1em;
    }
    #news .inner dl dd {
        display: block;
        vertical-align: middle;
        padding: 3% 1em;
    }
    #news .inner dl dd.cate {
        width: 100%;
        display: block;
        text-align: left;
        vertical-align: middle;
        padding: 0 1em;
    }
    #news .inner dl dd.cate span {
        width: initial;
        width: auto; 
        display: inline-block;
        font-size: 1rem;
        padding: 3px 2em;
    }
    #news .inner .button {
        margin: 6% auto 0;
    }

    #message {
        width: 100%;
        min-height: 550px;
        position: relative;
        background-color: #edf3f7;
    }
    #message .photo {
        width: 100%;
        position: relative;
        margin-top: -10%;
    }
    #message .txt {
        width: 90%;
        max-width: 1200px;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: translate(0, 0); 
        transform: translate(0, 0);
        z-index: 1;
        margin: 0 auto;
    }
    #message .txt .inner {
        width: 100%;
        max-width: 100%;
        padding-top: 5%;
    }
    #message .txt .inner ul {
        width: 100%;
        max-width: 240px;
        display: block;
        margin: 0 auto;
    }
    #message .txt .inner ul li {
        width: 240px;
        margin: 6% 0 0 0;
    }
    
    #about p {
        -moz-font-feature-settings: "palt";
        -webkit-font-feature-settings: "palt";
        font-feature-settings: "palt";
        text-align: justify;
    }
    #about p br {
        display: none;
    }
    #about ul {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;

        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;

        background-image: url("../../images/bg_about.png");
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: 100% 40%;
        padding-bottom: 6%;
    }
    #about ul li {
        width: 40%;
        max-width: 240px;
        margin: 6% 5% 0;
    }
    #about ul li a {
        width: 100%;
        display: block;
        color: #333;
        text-align: center;
        text-decoration: none;
    }
    #about ul li a dl {
        width: 100%;
    }
    #about ul li a dl dd {
        font-size: 1.6rem;
        background-color: #edf3f7;
        padding: 10% 1em;
    }
    #works .inner {
        background-color: #edf3f7;
        margin-top: 6%;
    }
    #works ul {
        width: 90%;
        max-width: 1200px;
        display: block;

        margin: 0 auto;
        padding: 5% 0;
    }
    #works ul li {
        width: 100%;
        max-width: 360px;
        margin: 6% auto 0;
    }
    #works ul li a {
        width: 100%;
        display: block;
        color: #333;
        text-align: center;
        text-decoration: none;
    }
    #works ul li dl {
        width: 100%;
    }
    #works ul li dl dd {
        background-color: #edf3f7;
        padding: 6% 1em 6%;
    }

    #recruit {
        margin: 10% auto 0;
    }
    #recruit a {
        width: 100%;
        display: block;
        color: #FFF;
        text-decoration: none;
        background-image: url("../../images/recruit_bg.jpg");
        background-position: right center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 8% 5%;
    }
    #recruit p {
        -moz-font-feature-settings: "palt";
        -webkit-font-feature-settings: "palt";
        font-feature-settings: "palt";
        text-align: justify;
    }
    #recruit p br {
        display: none;
    }
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

