@charset "utf-8";

/* -----------------------------------------------

	Site: 
	Type: top styles
	URL: 
	Last Up Date: 
	Version: 1.0
	Author: 
	
	----------------------------------------------
	
	Contents

		1.

----------------------------------------------- */

.pc{
    display: block;
}
.sp{
    display: none;
}
/* --- header --- */
header {
    background-image: url(../images/top.jpg);
    height: 580px;
}
header p{
    margin: 71px 0 0 28px;
}
header p img{
    width: 525px;
}
#Contents{
    width: 100%;
    text-align: center;
}
.news{
    display: block;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 30px;
    z-index: 2;
    top: 530px;
    right: 0;
    left: 0;
    text-align: left;
}
.newsTitle{
    position: relative;
    height: auto;
    background-color: #fff;
}
.newsTitle h2{
    text-align: center;
    width: 53px;
    height: 62px;
    font-size: 1.8rem;
    line-height: 65px;
    margin-left: 51px;
    color: #003b90;
    border-bottom: 2px solid #003b90;
}
.newsButton{
    width: 16px;
    height: 16px;
    position: absolute;
    top: 23px;
    right: 49px;
    background-image: url(../images/hover.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.newsButton  a img{
    width: 16px;
    height: 16px;
}
.newsButton a{
    display: inline-block;
}
.newsButton a:hover{
    background-color: transparent;
}
.newsButton a:hover img{
    visibility: hidden;
}
.news dl{
    text-align: left;
    display: inline-block;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    line-height: 2em;
    padding: 29px 50px;
    background-color: #fff;
}
.news dt{
    float: left;
    max-width: 115px;
    margin-right: 10px;
}
.news dd{
    float: left;
    width: 575px;
} 
.menuBox{
    margin-top: 20px;
    max-width: 100%;
    height: auto;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu{
    width: 50%;
    margin-bottom: 50px;
}
.menu:nth-of-type(odd){
    padding-right: 1px;
}
.menu:nth-of-type(even){
    padding-left: 1px;
}
.menuImage{
    position: relative;
}
.menuImage img{
    width: 100%;
}
.menuImage .imageBottom{
    max-width: 360px;
    height: 30px;
    position: absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
}
.menu p{
    text-align: center;
    margin-top: 11px;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    line-height: 1.5em;
}
a.button{
    max-width: 300px;
    height: 60px;
    margin: 30px auto 0;
    text-align: left;
    position: relative;
    display: block;
    padding: 20px 23px;
    z-index: 0;
    color: #fff;
    background: #003b90;
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: 0.1em;
    transition: .3s;
}
a.button::before {
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #fff100;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
a.button::after{
  width: 22px;
  position: absolute;
  content: '→';
  top: 20px;
  right: 20px;
  transform: scale(1,1);
  transition: transform .3s;
}
a.button:hover{
  color: #003b90;
  opacity: 1;
}
a.button:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.menu:last-of-type a{
    letter-spacing: 2em;
}

@media screen and (max-width: 860px) {
    .news dd{
        max-width: initial;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    header{
        background-image: url(../images/top_sp.jpg);
        height: 540px;
    }
    header p{
        margin: 63px 0 0 0;
        padding: 0 20px;
    }
    header p img{
        max-width: 100%;
    }
    .news{
        font-size: 1.4rem;
    }
    .newsTitle h2{
        margin: 0 auto;
        height: 57px;
    }
    .newsButton{
        display: none;
    }
    .news dl{
        padding: 28px 0 30px;
        line-height: 1.7em;
    }
    .newsButton2{
        text-align: center;
        display: block;
        margin: 0 auto;
        max-width: 300px;
        height: 50px;
        letter-spacing: 0.1em;
        line-height: 50px;
        color: #003b90;
        border: 1px solid #003b90;
    }
    .menuBox{
        margin: 30px 0 20px;
    }
    .menu{
        width: 100%;
    }
    .menu{
        margin-bottom: 30px;
    }
    .menu p{
        font-size: 1.4rem;
    }
    .menuImage .imageBottom{
        max-width: 300px;
        margin: 0 30px;
        transform:translateX(-60%);
    }
    a.button{
        margin-top: 19px;
        height: 50px;
        font-size: 1.4rem;
    }
}