@charset = "utf-8";

html{
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, YuGothic, メイリオ, Meiryo, sans-serif";
    color: #333;
}


*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: black;
}

a:hover,
button:hover{
    opacity: 0.7;
}

img{
    vertical-align: bottom;
    width: 100%;
}

li{
    list-style: none;
}

.cf:after{
  content: "."; 
  display: block; 
  height: 0; 
  font-size:0;	
  clear: both; 
  visibility:hidden;
}

.pc{
    display: block;
}

.sp{
    display: none;
}

.flex {
   display: -moz-flex;
   display: -webkit-flex;
   display: flex;
   vertical-align:top;
   -webkit-flex-direction: row;
   flex-direction: row;

}
.reverse{
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    vertical-align:top;
    -webkit-flex-direction: row-reverse;
    flex-direction:row-reverse;  
}
.flex .middle {
    align-self:center;
}


/****************************
header
****************************/

header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    z-index: 100;
    border-top: 5px solid #073ccc;
}

header div.flex{
    width: 93%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
}

header div.flex h1{
    
}

header div.flex h1 img,
header div.flex p img{
    max-width: 200px;
}

header div.flex nav{
    
}

header div.flex nav ul{
    height: 70px;
    line-height: 70px;
}

header div.flex nav ul li{
    margin-right: 20px;
}

header div.flex nav ul li:last-child{
    margin-right: 0;
}

@media screen and (max-width:768px){
    header div.flex{
        width: 96%;
    }
    
    header div.flex h1 img,
    header div.flex p img{
        max-width: 150px;
    }
    
    header div.flex nav .sp ul{
        height: auto;
    }
    
    header div.flex nav .sp ul li{
        margin: 0;
    }
    
    /*header ハンバーガー*/
    #menu {
        list-style-type: none;
        width: 100%;
        background: #ffffff;
        opacity: 0.9;
        position: absolute;
        left: 0px;
        top: 73px;
        z-index: 990;
        display: none;
    }

    #menu li {
        text-align: center;
        display: block;
        border-bottom: 1px solid #073ccc;
        margin-left: 0;
    }

    #menu li a {
        text-decoration: none;
        display: block;
        padding: 5px 0;
        font-size: 16px;
    }

    #menu li a:hover {
        background: #a9a9a9;
        opacity: 0.7;
    }
    header ul li:first-child a{
        border: 0;
    }
    
    #sp-icon {
        width: 70px;
        height: 70px;
        position: absolute;
        right: 0px;
        top: 4px;
        z-index: 999;
    }

    #sp-icon:hover {
        cursor: pointer;
        opacity: 0.7;
    }

    #sp-icon span,
    #sp-icon span:before,
    #sp-icon span:after {
        display: inline-block;
        width: 30px;
        height: 3px;
        background: #000000;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.3s;
    }

    #sp-icon span {
        left: 50%;
        top: 50%;
        transform: translate( -50%, -50% );
    }

    #sp-icon span:before {
        content: "";
        transform: translateY( -10px ) rotate( 0deg );
    }

    #sp-icon span:after {
        content: "";
        transform: translateY( 10px ) rotate( 0deg );
    }


    .sp-open span {
        background: transparent !important;
    }

    .sp-open span:before {
        transform: rotate( 45deg ) !important;
    }

    .sp-open span:after {
        transform: rotate( -45deg ) !important;
    }
    
    /*header ハンバーガー*/
}


/****************************
header
****************************/

/****************************
main
****************************/

#main {
    padding-top: 95px;
    padding-bottom: 100px;
}

#main #〇〇 {
    
}

#main div {
    
}

@media screen and (max-width:768px){
    #main{
        padding-top: 78px;
    }
}

/****************************
main
****************************/


/****************************
footer
****************************/

footer {
    background-color: #073ccc;
    padding-top: 80px;
    padding-bottom: 30px;
    color: #fff;
}

footer a,
footer li{
    color: #fff;
}

footer .flex{
    width: 93%;
    margin: 0 auto;
    padding-bottom: 40px;
    justify-content: space-between;
}

footer .flex .map{
    width: calc(50% - 5%);
    margin-right: 5%;
}

footer .flex .foot-other{
    width: calc(55% - 5%);
    max-width: 700px;
}

footer dl{
    margin-bottom: 230px;
}

footer dl dt{
    width: 15%;
    margin-right: 5%;
    display: inline-block;
    line-height: 2.5;
    letter-spacing: 0.1em;
    font-size: 18px;
}

footer dl dd{
    width: 70%;
    display: inline-block;
    line-height: 2.5;
    letter-spacing: 0.1em;
    font-size: 18px;
}

footer ul{
    display: flex;
    justify-content: flex-start;
}

footer ul li{
    margin-right: 50px;
}

footer ul li:last-child{
    margin-right: 0;
}

footer ul li a{
    font-size: 18px;
    line-height: 2.5;
    letter-spacing: 0.1em;
}

footer .copy{
    text-align: center;
}

@media screen and (max-width:1500px){
    footer dl{
        margin-bottom: 220px;
    }
    
    footer dl dt{
        font-size: 16px;
    }

    footer dl dd{
        font-size: 16px;
    }
    
    footer ul li{
        margin-right: 30px;
    }
    
    footer ul li a{
        font-size: 16px;
    }
}

@media screen and (max-width:1200px){
    footer dl{
        margin-bottom: 220px;
    }
    
    footer dl dt{
        font-size: 15px;
    }

    footer dl dd{
        font-size: 15px;
    }
    
    footer ul li{
        margin-right: 20px;
    }
    
    footer ul li a{
        font-size: 15px;
        letter-spacing: 0.05em;
    }
}

@media screen and (max-width:1000px){
    footer .flex{
        display: block;
    }
    
    footer .flex .map{
        width: 100%;
        margin-right: 0;
        margin: 0 auto 30px;
    }
    
    footer .flex .foot-other{
        width: 100%;
        margin-left: 0;
        margin: 0 auto;
        max-width: 460px;
    }
    
    footer dl{
        margin-bottom: 50px;
    }
    
    footer dl dd:first-child{
        top: -40px !important;
    }
}

@media screen and (max-width:480px){
    footer .flex .map iframe{
        height: 350px;
    }

    footer dl{
        text-align: center;
        padding: 0 20px;
    }
    
    footer dl dt,
    footer dl dd{
        font-size: 1.3rem;
    }

    footer dl dt{
        width: 21%;
    }

    footer dl dt:first-child{
        top: -32px !important;
    }
    
    footer dl dd{
        width: calc(79% - 40px);
    }
    
    footer dl dd:first-child{
        top: -34px !important;
    }
    
    footer ul{
        display: block;
    }
    
    footer ul li{
        text-align: center;
    }
}

/****************************
footer
****************************/


@media screen and (max-width:768px){
    
    .pc{
        display: none;
    }
    
    .sp{
        display: block;
    }
    
    
    .flex {
       display: -moz-flex;
       display: -webkit-flex;
       display: block;
       vertical-align:top;
       -webkit-flex-direction: row;
       flex-direction: row;
    }
    .reverse{
         display: -moz-flex;
       display: -webkit-flex;
       display: block;
       vertical-align:top;
       -webkit-flex-direction: row-reverse;
       flex-direction:row-reverse;  
    }
   
}



@media screen and (max-width:480px){
    
    html{
        font-size: 62.5%;
    }
    
    

}
