@charset "utf-8";
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

a,a:hover,a:visited,a:active,a:focus{
    text-decoration: none;
}

body {
font-family:"游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;
    width: 100%;
    color: #333333;
    min-width: 300px;
    font-size: 16px;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.img_f img{
    width: 100%;
    height: auto;
}

.clearfix::after {
	display: block;
	clear: both;
	content: "";
}

/*header*/
.header{
    position: relative;
    height: 90vh;
}

.header .siteid {
    position: relative;
    z-index: 2;
    padding: 15px 15px 30px;
    width: 100%;
    background: linear-gradient(180deg, rgba(1, 0, 14, .8) 0%, rgba(0, 0, 0, 0) 100%);
}

.siteid img {
    max-width: 120px;
    height: auto;
}

.menu {
    z-index: 3;
    position: fixed;
    overflow: auto;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .6);
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    height: 70px;
}

.menu li {
    line-height: 1.4;
}

.menu li:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, .6);
}

.menu li:last-child a {
    background-color: #ffffff;
    color: #333333;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    margin: 20px 10px;
}

.menu li a:hover {
    opacity: 0.6;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.menu a {
    color: #ffffff;
    display: block;
    padding: 1em 2em;
    transition: background .6s;
}

.menu a:hover {
    background: black;
    text-decoration: none;
    color: #eeeeee;
    transition: 0.3s ease-in-out;
}

.open-menu .menu {
    transform: none;
}

.contents {
    margin-left: 0;
}

.open-menu .contents:after {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
}

.open-menu .siteid img, .open-menu .copy{
opacity: 0.5;    
}

.hamburger {
    position: fixed;
    z-index: 998;
    top: 0;
    right: 0;
    width: 65px;
    height: 70px;
}

.back_hide .menu-trigger span {
    background-color: #ffffff;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.menu-trigger {
    position: absolute;
    width: 30px;
    height: 24px;
    z-index: 999;
    top: 20px;
    right: 17px;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(3, 35, 61, .4);
}
.menu-trigger span:nth-of-type(1) {
top: 0;
}
.menu-trigger span:nth-of-type(2) {
top: 10px;
}
.menu-trigger span:nth-of-type(3) {
bottom: 0;
}
.open-menu .hamburger{
 background-color: transparent;
}    
    
.open-menu .menu-trigger {
position: fixed;
}
.open-menu .menu-trigger span {
background-color: #ffffff;
}
.open-menu .menu-trigger span:nth-of-type(1) {
-webkit-transform: translateY(10px) rotate(-45deg);
transform: translateY(10px) rotate(-45deg);
}
.open-menu .menu-trigger span:nth-of-type(2) {
opacity: 0;
}
.open-menu .menu-trigger span:nth-of-type(3) {
-webkit-transform: translateY(-10px) rotate(45deg);
transform: translateY(-10px) rotate(45deg);
}


.main {
    background: url(../image/mainimg.jpg) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
height: 90vh;
    width: 100%;
}

.main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.15);  
}

.main .copy{
    position: absolute;
    z-index: 1;
    top: 45%;
    left:5%;
    transform: translateY(-50%);
}

.main-lab {
    background: url(../image/mainimg-lab.jpg) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
height: 90vh;
    width: 100%;
}

.main-lab::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.15);  
}

.main-lab .copy{
    position: absolute;
    z-index: 1;
    top: 45%;
    left:5%;
    transform: translateY(-50%);
}

.main-a {
    background: url(../image/mainimg-a.jpg) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
height: 90vh;
    width: 100%;
}

.main-a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.15);  
}

.main-a .copy{
    position: absolute;
    z-index: 1;
    top: 45%;
    left:5%;
    transform: translateY(-50%);
}
.main-npo {
    background: url(../image/mainimg-npo.jpg) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
height: 90vh;
    width: 100%;
}

.main-npo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.15);  
}

.main-npo .copy{
    position: absolute;
    z-index: 1;
    top: 45%;
    left:5%;
    transform: translateY(-50%);
}

.main-han {
    background: url(../image/mainimg-han.jpg) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
height: 90vh;
    width: 100%;
}

.main-han::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.15);  
}

.main-han .copy{
    position: absolute;
    z-index: 1;
    top: 45%;
    left:5%;
    transform: translateY(-50%);
}

/*fontsize*/
h1{
    font-size: calc(26px + .8vw);
}
.midashi01{
    font-size: calc(18px + .8vw);
}


/*firstframe*/
.first_frame{
    background-color: #E7DACE;
}

.second_frame{
    background-color:#C7B6A5; 
}

.lab_frame{
    background-color: #000000;
}

/*fb*/

.facebook-wrapper {
    max-width: 500px; /* Facebook Page Plugin の最大幅 */
    margin: 0 auto;
}
 
.facebook-wrapper > .fb-page {
    width: 100%;
}
 
.facebook-wrapper > .fb-page > span,
.facebook-wrapper iframe {
    width: 100% !important;
}

/*各ページリンク*/
.topics{
    background-color: #8A0037;
    padding: 20px 0;
}

.topics_link > div a{
    display: block;
    padding: 80px 20px;
	color:#0A8F1A;
     font-size: calc(15px + .8vw);
	font-weight: bold;
	text-align: center;
	text-align: middle;
	text-shadow:
    margin: 5px 0;
	 position: relative;
    z-index: 1;

}

.topics_link > div{
    position: relative;

        
}

.topics_link > div::after{
    content: "";
    position: absolute;
    top:50%;
    left: 50%;
    width: calc(100% - 40px);
    height: calc(100% - 20px);
    transform: translate(-50%,-50%)
    
}

.topics_link > div:nth-child(1)::after{
    background: url(../image/kineticlabsensor.jpg);
    background-size: cover;
}

.topics_link > div:nth-child(2)::after{
    background: url(../image/ktt02.jpg);
    background-size: cover;
}


.topics_link > div:nth-child(3)::after{
    background: url(../image/topic03.png);
    background-size: cover;
}

.topics0{
   padding: 5px 0;
}

.topics0_link > div a{
    display: block;
    padding: 30px 20px;
    color:#442f2e;
     font-size: calc(15px + .8vw);
	font-weight: bold;
	text-align: center;
	text-shadow:
    1px 0 0 #ffffff,
    0 1px 0 #ffffff,
    -1px 0 0 #ffffff,
    0 -1px 0 #ffffff;
    margin: 5px 0;
	 position: relative;
z-index: 1;
   }

.topics0_link > div{
    position: relative;

        
}

.topics0_link > div::after{
    content: "";
    position: absolute;
    top:50%;
    left: 50%;
    width: calc(100% - 50px);
    height: 110%;
    transform: translate(-50%,-50%)
    
}

.topics0_link > div:nth-child(1)::after{
    background: url("../image/topic001.jpg");
    background-size: cover;
}

.topics0_link > div:nth-child(2)::after{
    background: url("../image/ipselect.png");
    background-size: cover;
}
.footer{
    background-color: #000;
    padding:20px;
}

.footer .siteid img{
    max-width: 150px;
}

.footer ul{
    float: right;
    list-style-type: none;
}
.footer ul li a{
    display:block;
    padding:  10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}



/*ここから下層ページcss*/

.child{
    background-color: #F0EAE1;
}

.child .header{
    height: 100px;
    margin-bottom:
}

.child .header .siteid {
    padding: 15px 15px ;
    background: #2E2121;
}

.child h2{
    font-size: calc(20px + 1vw);
    height: 100px;
    background: url(../image/logo.png)no-repeat center center;
    background-size: contain;
}

.midashi_img{
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.midashi_img img{
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/*記事スタイル*/
.kiji-body {
    padding-bottom: 80px;
}

.kiji-body h3{
    color: #543D3C;
    font-size: calc(17px + 0.5vw);
　 margin-bottom: 5px;
}

.kiji-body h4{
    color: #ffffff;
	background-color: #8A0037;
    padding: 10px 15px;
    margin-bottom: 0px;
}

.kiji-body h6{
    color: #ffffff;
	background-color: #8A0037;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.kiji-body ul{
    margin-left:15px;
    margin-top: 5px;
    margin-bottom: 10px;
    list-style: none;
}

.kiji-body li{
    padding-left: 15px;
    position: relative;
}

.kiji-body ul li::after{
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    background: #B2A38E;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    
}

.kiji-body ol{
   margin-bottom: 10px;
}
 
.kiji-body ol > li{
  list-style-type:none;
  list-style-position:inside;
  counter-increment: cnt;
    padding: 10px 5px;
}
.kiji-body ol > li:before{
  display: marker;
  content: "(" counter(cnt) ") ";
}

.kiji-body img{
    height: auto;
    max-width: 100%;
}

.kiji-body .pict{
    padding: 10px;
    border: 3px solid #D7CAB7;
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.example {
  margin: 10px auto;
}

@media (min-width: 768px) {
.fb-container {
    width: 100%;
}

.hamburger {
    display: none;
}

.menu {
    width: calc(100% - 130px);
    max-width: 640px;
    height: 100px;
    background: none;
    transform: none;
    padding: 0 10px;
}


.menu a {
    color: #ffffff;
    display: block;
    padding: 10px 8px;
    transition: background .6s;
    font-weight: bold;
    font-size: 15px;
}

.menu a:hover {
    background-color: transparent;
}

.header .siteid {
    position: fixed;
} 
    
.header .menu li {
    border: 0;
}

.menu li:last-child a {
    background-color: transparent;
    color: #fff;
    border-radius: 50px;
    padding: 10px 15px;
    border: 2px solid #fff;
    text-align: center;
    margin: 0;
}

    
 /*下層ページ*/
 .midashi_img{
    padding-bottom: 30%;
}

}


@media (min-width: 992px) {
.flex {
    display: flex;
}

.menu {
    max-width: 680px;
}

.fb-container {
    width: 350px;
    margin-right: 30px;
}

.menu li:last-child a {
    margin: 0 10px 0 20px;
}

.max1100 {
    max-width: 1200px;
    margin: auto;
}

}

@media (min-width: 1200px) {
 /*下層ページ*/
 .midashi_img{
    padding-bottom: 400px;
     margin-bottom: 50px;
}
}

.max1200{
    max-width: 1200px;
    margin: auto;
}
.max1400{
    max-width: 1400px;
    margin: auto;
}

.link{
	border-bottom:solid;/*下線を点線にする*/
    border-color:#543D3C;
    border-width:1px;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 60px; overflow: hidden;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*マージン設定*/
.mb0{margin-bottom:0}.mb5{margin-bottom:5px}.mb8{margin-bottom:8px}.mb10{margin-bottom:10px}.mb15{margin-bottom:15px}.mb20{margin-bottom:20px}.mb25{margin-bottom:25px}.mb30{margin-bottom:30px}.mb35{margin-bottom:35px}.mb40{margin-bottom:40px}.mb45{margin-bottom:45px}.mb50{margin-bottom:50px}.mb55{margin-bottom:55px}.mb60{margin-bottom:60px}.mb70{margin-bottom:70px}.ml5{margin-left:5px}.ml10{margin-left:10px}.ml15{margin-left:15px}.ml20{margin-left:20px}.ml30{margin-left:30px}.ml50{margin-left:50px}.ml2p{margin-left:2%}.mr5{margin-right:5px}.mr10{margin-right:10px}.mr15{margin-right:15px}.mr20{margin-right:20px}.mr30{margin-right:30px}.mt3{margin-top:3px}.mt5{margin-top:5px}.mt10{margin-top:10px}.mt15{margin-top:15px}.mt20{margin-top:20px}.mt25{margin-top:25px}.mt30{margin-top:30px}.mt40{margin-top:40px}.mt50{margin-top:50px}.mt60{margin-top:60px}.mt70{margin-top:70px}.mt80{margin-top:5pc}.mt90{margin-top:90px}.mt100{margin-top:75pt}.pb5{padding-bottom:5px}.pb10{padding-bottom:10px}.pb20{padding-bottom:20px}.pb30{padding-bottom:30px}.pb40{padding-bottom:40px}.pb50{padding-bottom:50px}.pt5{padding-top:5px}.pt10{padding-top:10px}.pt15{padding-top:15px}.pt20{padding-top:20px}.pt30{padding-top:30px}.pt40{padding-top:40px}.pt50{padding-top:50px}.pr0{padding-right:0}.pr10{padding-right:10px}.pr15{padding-right:15px}.pr20{padding-right:20px}.pl0{padding-left:0}.pl20{padding-left:20px}