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




/* -----------------------------------メインビジュアル */


.mainimage{
  position: relative;
  width: 100%;
  height: 50vh;
  background: url(../images/topimage.jpg) no-repeat;
  background-size: cover;
  color: #fff;
  opacity: 1;
animation: bgchange01 5s forwards;
}
@keyframes bgchange01 {
0%{
  opacity: 0;
}
20%{
  opacity: 0;
    background-position: left;
}
75%{
  opacity: 1;
}
100%{
    background-position: center;
}
}

.section01{
  position:  absolute;
  text-align: center;
  width:60%;
  top: 65%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.section01 h2.copy01{
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3.0rem;
  margin: 0;
}
.section01 span.leadcopy{
  display: block;
  font-size: 0.8rem;
  line-height: 1.2rem;
}
.section01 p{
  margin: 0;
}


/* -----------------------------------コンテンツ部分 */
.container{
  min-height: calc(100vh - 80px);
  overflow: hidden;
}

.contents{
  background: #efefef;
  width: 100%;
  min-height: calc(50vh - 80px);
  padding: 30px;
  box-sizing: border-box;
  box-shadow:0px -3px 6px 1px  rgba(80,80,80,0.5);
}

.topmenu,
.news{
  display: flex;
  background: #fff;
  border-radius: 8px;
  list-style: none;
  margin: 0 0 30px; /* newsのmarginは下部で別途0指定 */
  padding: 0;
  overflow: hidden;
}

.topmenu li{
  width: 33%;
  text-align: justify;
  flex-grow: 3;
}
.topmenu li a{
  display: block;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  text-decoration: none;
}
.topmenu li a div{
  border-right: 1px solid #3d93a3;
  padding: 0 1rem;
}
.topmenu li:last-child a div{
  border-right: none;
}

.topmenu li a div h2,
.news h2{
  color: #3d93a3;
  text-align: center;
  margin: 0 auto 1.2rem;
}
.topmenu li a div h2:before{
  display: block;
  content:'';
  background: #3d93a3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0.5rem auto 1.5rem;
}
.topmenu li a div p{
  color: #333;
}


/* ------------------------------------新着情報 */
.news{
  margin: 0;
  align-items: center;
  padding: 1rem 0;
}
.news h2{
  padding: 2rem;
  margin: 0;
  box-sizing: border-box;
}
.news ul{
  list-style: none;
  flex-grow: 1;
  margin: 0;
  padding: 0 1rem 0 2rem;
  border-left: 1px solid #3d93a3;
}
.news li:last-child{
  text-align: right;
}

.news li:last-child a{
  display: inline-block;
  color: #3d93a3;
  border: 1px solid #3d93a3;
  border-radius: 8px;
  padding: 0.5rem;
}



/* -----------------------------------スマホ用メディアクエリ */
@media screen and (max-width: 767px) {
.section01{
  width:95%;
}
.mainimage{
  height: 70vh;
}
.contents {
  padding: 30px 8px;
}
.topmenu, .news {
  display: block;
}
.topmenu li {
  width: 100%;
}
.topmenu li a div {
  border-right: none;
}
.topmenu li a div p {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #3d93a3;
}
.topmenu li:last-child a div p {
  padding: 0;
  border-bottom: none;
}
/* 新着情報 */
.news h2{
  padding: 1rem;
}
.news ul {
  border-left: none;
  padding: 0 1rem;
}
.news ul li{
  padding: 0.5rem 0;
  border-top: 1px solid #3d93a3;
}
.news ul li:last-child{
  padding: 1rem 0 0;
}
}/* メディアクエリ終了 */


/* -----------------------------------PChover用メディアクエリ */
@media screen and (min-width: 767px) {
.topmenu li a:hover{
  background: rgba(61,147,163,0.2);
  transition: all  0.3s ease;
}
.news li:last-child a:hover{
  color: #fff;
  background: #3d93a3;
}

}/* メディアクエリ終了 */
