@charset "utf-8";

/* ----------------------------------------------------

mainimg

----------------------------------------------------- */
#mainimg {
width: 100%;
height: 530px;
margin: 0 auto;
overflow: hidden;
background-image: url("../images/mainimg.jpg");
background-position: right center;
background-repeat: no-repeat;
background-size: cover;
}

.mainimgbox {
width: 90%;
height: 100%;
margin: 0 auto;
position: relative;
text-align: left;
}

.mainimg_txt {
position: absolute;
display: inline-block;
width: 50%;
left: 46%;
bottom: 12%;
color :#FFF;
text-align: right;
}

.mainimg_txt h2 {
font-size: 4.2rem;
line-height: 1.4;
margin: 0 0 0.2em 0;
}

.mainimg_txt p {
font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
    /* mainimg */
    #mainimg {
    height: 300px;
    background-position: center center;
    }
    .mainimg_txt {
    width: 100%;
    left: 0;
    bottom: 1em;
    text-align: center;
    transform: translateY(0);
    }
    .mainimg_txt h2 {
    font-size: 2.6rem;
    }
    .mainimg_txt p {
    font-size : 1.4rem;
    }
}


/* ----------------------------------------------------

導入

----------------------------------------------------- */
#top_about {
padding: 7rem 0 7rem 0;
}

.top_aboutbox {
width: 1040px;
margin: 0 auto;
text-align: left;
}

.top_aboutbox P {
line-height: 2.4;
}

.more {
text-align: right;
margin-top: 3em;
}

.more a {
color: #181818;
padding: 0.5em 3em 0.5em 2em;
border:1px solid #999999;
box-shadow: 3px 3px 5px #999;
text-decoration: none;
position: relative;
}

.more a:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -4px;
  transform: rotate(45deg);
}


@media screen and (max-width: 768px) {
    /* 導入 */
    #top_about {
    padding: 3rem 0 2rem 0;
    }
    .top_aboutbox {
    width: 90%;
    }
    .top_aboutbox p {
    line-height: 2.0;
    }
    .more {
    text-align: center;
    }
    .more a {
    display: block;
    }
}

/* ----------------------------------------------------

研究紹介

----------------------------------------------------- */
#top_research {
width: 1040px;
margin: 0 auto;
padding: 6rem 0 5rem 0;
}

#top_research h3 {
font-size: 3.0rem;
text-align: left;
letter-spacing: 0.1em;
margin-bottom: 1em;
}

.top_researchbox {
width: 100%;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.top_researchbox dl {
width: 32%;
margin: 0 2% 1em 0;
position: relative;
}

.top_researchbox dl:nth-of-type(3n) {
margin: 0 0 1em 0;
}

.top_researchbox dl dt {
width: 100%;
height: 240px;
overflow: hidden;
}

.top_researchbox dl dd {
position: absolute;
width: 96%;
height: 30px;
left: 0;
right: 0;
bottom: 1em;
margin: auto;
background: rgba(255,255,255,0.8);
z-index: 10;
}

.top_researchbox dl dd a {
font-weight: 500;
color: #023B59;
text-decoration: none;
}

.top_researchbox dl dd a:before {
content: "";
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
}


@media screen and (max-width: 768px) {
    /* 研究紹介 */
    #top_research {
    width: 90%;
    padding: 2rem 0 3rem 0;
    }
    #top_research h3 {
    font-size: 2.0rem;
    }
    .top_researchbox dl {
    width: 100%;
    }
    .informationbox_r {
    flex:none;
    width: 100%;
    }
    .informationbox_r dl {
    display: block;
    }
    .informationbox_r dl:last-child {
    border-bottom: 0;
    }
    .informationbox_r dl dt {
    width: 100%;
    }
    .informationbox_r dl dd {
    width: 100%;
    }
}

/* ----------------------------------------------------

検索

----------------------------------------------------- */
#top_search {
padding: 5rem 0 0 0;
}

.top_searchbox {
width: 1200px;
margin: 0 auto;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.top_searchbox_l {
width: 220px;
margin-right: 4%;
text-align: left;
}

.top_searchbox_r {
flex: 1;
min-width: 0;
position: relative;
}

.top_searchbox_rbox {
position: absolute;
top: 50%;
transform: translateY(-50%);
}

.top_searchbox h3 {
font-size: 4.8rem;
font-weight: 500;
line-height: 1.2;
margin:0 0 1em 0;
text-align: left;
}

.top_searchbox h3 span {
display: block;
font-size: 1.8rem;
padding-left: 0
}


#search-tab {
width: 100%;
margin: 0 auto;
margin-top: 10px;
border-bottom: 1px solid #17426E;
}

.search-border {
border-bottom: 2px solid #17426E;
}

.search-borderbox {
width: 1200px;
margin: 0 auto;
}

.tab {
width: 260px;
height: 60px;
line-height: 60px;
text-align: center;
font-size: 1.8rem;
font-weight: 500;
float: left;
cursor: pointer;
color: #FFF;
background-color: #17426E;
border: 2px solid #17426E;
position: relative;
top: 2px;
z-index: 10;
}

#tab1 {border-top-left-radius: 12px;}
#tab2 {border-top-right-radius: 12px;}

.selected {
color: #17426E;
background-color: #FFF;
border-bottom: 2px solid #FFF;
}

#search-container {
position: relative;
width: 1200px;
margin: 0 auto;
min-height: 500px;
overflow: hidden;
clear: left;
text-align: left;
}

.search-box {
display: inline-block;
white-space: nowrap;
position: absolute;
width: 1200px;
padding: 7rem 0 5rem 0;
cursor: pointer;
}

#search-data {
    top: 0px;
    left: 0px;
}

#serach-case {
top: 0px;
left: 1200px;
}

#slide {
transition: transform 1s ease-in-out 0s;
-moz-transition: -moz-transform 1s ease-in-out 0s;
-webkit-transition: -webkit-transform 1s ease-in-out 0s;
}

.move-to-second {
-moz-transform: translateX(-1200px);
-webkit-transform: translateX(-1200px);
transform: translateX(-1200px);
}

.move-to-first {
-moz-transform: translateX(0px);
-webkit-transform: translateX(0px);    
transform: translateX(0px);
}

.search-box dl {
width:100%;
padding: 0 0 1.4em 0;
margin-bottom: 1.4em;
border-bottom: 1px solid #CCC;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.search-box dt {
width: 240px;
font-size: 1.8rem;
font-weight: 500;
margin-right: 2%;
}

.search-box dt span.hissu {
color: #FFF;
font-size: 1.4rem;
padding: 0.1em 1em;
background-color: #C1272D;
float: right;
}

.search-box dd {
flex: 1;
min-width: 0;
}

input.input80 {
width: 80%;
}

.submitbt {
text-align: center;
}

.submitbt input {
display : inline-block;
font-size:1.8rem;
text-align:center;
cursor : pointer; 
padding: 0.5em 2em;
color: #FFF;
border:1px solid #17426E;
background:#17426E;
line-height:1.0;
transition:0.6s;
  border-radius:50vh;
}
.button:hover {
color : #000066; 
background : #ffffff; 
}

@media screen and (max-width: 768px) {
    /* 検索 */
    .top_searchbox {
    width: 90%;
    margin: 0 auto;
    }
    .top_searchbox h3 {
    margin-bottom: 0.5em;
    }
    .top_searchbox_l {
    width: 100%;
    }
    .top_searchbox_r {
    flex: none;
    width: 100%;
    }
    .top_searchbox_rbox {
    position: inherit;
    top: 0;
    transform: translateY(0);
    text-align: left;
    }
    .search-borderbox {
    width: 90%;
    }
    .tab {
    width: 160px;
    font-size: 1.6rem;
    }

    #search-container {
    width: 340px;
    min-height: 640px;
    }
    .search-box {
    width: 340px;
    }
    #serach-case {
    left: 340px
    }
    .move-to-second {
    -moz-transform: translateX(-340px);
    -webkit-transform: translateX(-340px);
    transform: translateX(-340px);
    }
    .search-box dt {
    width: 100%;
    margin-bottom: 1em;
    }
    .search-box dd {
    flex: none;
    width: 100%;
    font-size: 1.4rem;
    }
    input.input80 {
    width: 100%;
    }
}

