/* 共通設定 */
@charset "UTF-8";
*{
  box-sizing: border-box;
}

body{
  font-size: 14px;
  line-height: 1.8;
  font-family: -apple-system,BlinkMacSystemFont, 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", 'ヒラギノ角ゴ W3', "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  color: #333;
}

h1,h2,h3,h4{
  line-height: 1.5;
}

.heading-title{
  font-size: 28px;
  text-align: center;
  margin-bottom: 0.5em;
}

a{
  color: #75af57;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover{
  opacity: 0.8;
}

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

ul{
  padding: 0;
  list-style: none;
}

section,article{
  max-width: 1140px;
  padding: 0 15px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .heading-title{
    font-size: 36px;
  }
}

@media (min-width: 992px) {
  body{
    font-size: 16px;
  }
  .heading-title{
    font-size: 48px;
  }
}


/* ヘッダー */
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  left: 0;
  top: 0;
  padding: 20px 15px 10px;
  z-index: 100;
  width: 100%;
}

@media (min-width: 768px) {
  header{
    padding: 30px;
  }
  .header-logo img{
    width: 350px;
  }
}



/* 共通ヘッダー ナビゲーション*/
.header-gnav{
  position: fixed;
  right: 0;
  top: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateX(100%);
  transition: .3s ease;
}

.header-gnav ul{
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 10%;
}

.header-gnav ul li{
  margin-bottom: .5em;
  font-size: 20px;
}

@media (min-width: 768px) {
  .header-gnav ul{
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  header{
    padding-top: 30px;
  }
  header .header-logo{
    flex: none;
  }
  header .header-logo img{
    width: 360px;
  }
}

/* ボタン */
.header-button{
  position: fixed;
  right: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: none;
  width: 75px;
  height: 75px;
  background-color: transparent;
  color: #000;
}

@media (min-width: 768px) {
  .header-button{
    display: none;
  }
}

.header-button span{
  display: block;
  position: relative;
  top: 0;
  margin: 0 auto;
  width: 24px;
  height: 3px;
  background-color: #292929;
  transition: .3s ease;
}

.header-button span::before,
.header-button span::after{
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  transition: all .3s;
  background-color: inherit;
}
.header-button span::before{
  top: -9px;
}
.header-button span::after{
  top: 9px;
}

/* ボタンの開閉時の動き */
body.open .header-button{
  z-index: 30;
}

body.open .header-button span{
  width: 30px;
  background-color: transparent;
}

body.open .header-button span::before,
body.open .header-button span::after{
  top: 0;
  background-color: #292929;
}
body.open .header-button span::before{
  transform: rotate(45deg);
}
body.open .header-button span::after{
  transform: rotate(-45deg);
}

body.open .header-gnav{
  transform: translateX(0);
}

@media (min-width: 768px) {
  .header-gnav{
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    height: auto;
    background-color: transparent;
    transform: none;
  }
  .header-gnav li{
    margin-top: 0;
    margin-left: 2em;
  }
}




/* フッター */
footer{
  margin: 70px 0 10px;
  text-align: center;
}


/* トップ ヘッダー */
.top .icon{
  background-color: #eee;
}

.top .icon::before, .top .icon::after{
  background-color: #eee;
}

.top.open .icon{
  background-color: transparent;
}

.top.open .icon::before, .top.open .icon::after{
  background-color: #000;
}


/* Top main */
.hero{
  background-image: url(../img/photo-hero.jpg);
  background-position: center center;
  background-size: cover;
  max-width: 1300px;
  height: 420px;
  margin: -70px auto 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
  color: #eee;
}


/* フィーチャー */
.top-feature{
  text-align: center;
}

.top-feature .top-feature_box{
  padding: 0 30px 20px;
}

.top-feature h2{
  font-size: 28px;
  margin-bottom: .5em;
}

.top-feature p{
  text-align: left;
}

.top-feature a{
  padding-bottom: .2em;
  border-bottom: 2px solid #75af57;
  font-size: 18px;
}

/* PC用フィーチャー */
@media (min-width: 768px) {
  .top-feature{
    background-color: beige;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -50px;
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: left;
  }

  .top-feature .top-feature_box{
    max-width: 600px;
    padding: 0 60px 30px 40px;
    margin-top: -30px;
    margin-right: -10px;
    background-color: #fff;
  }
  .top-feature img{
    max-width: 48vw;
  }

  /* .top-feature:nth-child(3){ */
  .top-feature:last-child{
    flex-direction: row-reverse;
    padding-bottom: 80px;
    .top-feature_box{
      margin-right: 0;
      margin-left: -20px;
      z-index: 0;
    }

  }
}


/* Top News */
.top-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.top-list li{
  width: 100%;
  padding: 0 10px;
  margin-bottom: 30px;
}

.top-list li a{
  display: flex;
  align-items: center;
}

.top-list li img{
  flex: 0 1 90px;
}

.top-list li .top-list_info{
  margin-left: 20px;
}

.top-list li time{
  font-size: 14px;
  color: #333;
}

.top-list li .top-list_title{
  margin-top: .25em;
  line-height: 1.4;
}

/* PC用top News */
@media (min-width: 768px) {
  .top-list li{
    width: 50%;
  }
}