@charset "UTF-8";
/* CSS Document */

#header li.navi01{
border-bottom:2px solid #fff;
}
#header li.navi01.active{
border-bottom:2px solid #000;
}

#mainimage{
    background-image:url("img/mainimage.jpg");
}

/*------------------------------------------------------------------------------------message*/
.message,.history{
display:flex;
justify-content:space-between;
}
.message .txt{
text-align:justify;
width:55%;
    line-height: 2;
}
.message .image{
width:35%;
    padding: 0 0 7em 0;
}
.message .name{
text-align:right;
padding-top:1.8em;
font-size:1.5rem;
line-height:1;
font-weight:500;
}
.message .name span{
font-size:2.1rem;
line-height:1;
}
.gainen{
    background-image: url("img/greeting_img2.jpg");
    background-position: 50%;
    background-size: cover;
    color: #a5a5a5;
    border-bottom: 1px solid #fff;
    padding: 6em 0 8em 0;
    font-weight: 400;
}
.gainen dl{
    padding: 0 0 4em 55%;
    text-align: justify;
}
.gainen dt{
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 0.3em;
}
.gainen dt p{
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 500;
    padding-right: 0.8em;
}
.gainen dt span{
    font-size: 1.4rem;
}
.gainen dd{
    padding-top: 1.2em;
}

/*------------------------------------------------------------------------------------outline*/
.outline_back{
    background-image: url("img/outline_back.jpg");
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.outline dl{
    display: flex;
    padding: 1.2em 0;
    border-bottom: 1px solid #d5d5d5;
    width: 63%;
    text-align: justify;
}
.outline dt{
    font-weight: 500;
    width: 10em;
}
.outline dd{
    flex: 1;
}
/*------------------------------------------------------------------------------------history*/
.history .txt{
text-align:justify;
width:60%;
}
.history .image{
width:40%;
    text-align: justify;
}
.history .image .title{
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    padding: 0 0 0.8em 3em;
}
.history .image .title2{
    font-size: 1.4rem;
    padding: 0 0 0 5.4em;
}
.history dl{
    display: flex;
    padding: 1.7em 0;
    border-bottom: 1px solid #d5d5d5;
    text-align: justify;
}
.history dt{
font-weight:500;
width:31%;
}
.history dt span{
font-size:3.2rem;
line-height:1;
font-style: italic;
vertical-align:sub;
}
.history dd{
flex:1;
padding-top:0.1em;
}

/*------------------------------------------------------------------------------------access*/
.access iframe{
width:100%;
height:45em;
border:1px solid #bfbfbf;
margin-bottom:1.5em;
}
.access .innerbox{
display:flex;
justify-content:space-between;
}
.access .add{
text-align:justify;
width:48%;
}
.access .link{
order:2;
width:48%;
text-align:right;
}
.access .link a{
display:inline-block;
text-align:center;
margin-left:1em;
border:1px solid #c8c8c8;
padding:0.4em 0;
width:15em;
}
.access .link a:hover{
border:1px solid #499300;
background-color:rgba(73,147,0,0.1);
}
.access a img{
height:2.2em;
}

@media only screen and (min-width: 2470px) {
    .outline_back {
        background-position: 100% 50%;
    background-size: auto 130%;
}
}
@media only screen and (max-width: 767px) {
    
/*------------------------------------------------------------------------------------message*/
.message,.history{
        display: block;
    }
.message .txt{
width:100%;
    line-height: 1.8;
    padding-bottom: 3em;
}
.message .image{
width:100%;
    padding: 0 0 5em 0;
}
.message .name{
text-align:center;
}
.gainen{
    color: #fff;
    background-position: 13% 50%;
    padding: 5em 0 2em 0;
    font-weight: 400;
}
.gainen dl{
    padding: 0 0 3em 0;
    text-align: justify;
}
.gainen dt{
    border-bottom: 1px solid #fff;
    padding-bottom: 0.3em;
}
.gainen dt p{
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 500;
    padding-right: 0.8em;
}
.gainen dd{
    padding-top: 1.2em;
}
   
/*------------------------------------------------------------------------------------outline*/
.outline_back{
    background-position: 100% 108%;
    background-size: 170% auto;
}
.outline{
    padding-bottom: 7em;
}
.outline dl{
    display: block;
    padding: 1.2em 0;
    width: 100%;
    text-align: justify;
}
.outline dt{
    font-weight: bold;
    width: 10em;
}
.outline dd{
    flex: 1;
}

/*------------------------------------------------------------------------------------history*/
.history .txt{
width:100%;
    padding-bottom: 3em;
}
.history .image{
width:100%;
}
.history .image .title{
    font-size: 2.6rem;
    line-height: 1;
    padding: 0 0 0.5em 0;
}
.history .image .title2{
    font-size: 1.4rem;
    padding: 0;
}
.history dl{
    display: block;
    padding: 1.2em 0;
}
.history dt{
width:100%;
}
.history dt span{
font-size:3.2rem;
line-height:1;
font-style: italic;
vertical-align:sub;
}
.history dd{
flex:1;
padding-top:0.1em;
}
/*------------------------------------------------------------------------------------access*/
.access iframe{
height:20em;
margin-bottom:1em;
}
.access .innerbox{
display:block;
}
.access .add{
padding-top:1.5em;
width:100%;
}
.access .link{
width:100%;
text-align:center;
}
.access .link a{
width:48%;
margin:0 0.5%;
padding:0.4em 0;
font-size:1.6rem;
}
.access a img{
height:2em;
}
    
}