@charset "UTF-8";

/* 変数の登録 */
:root{
  --header_color:#71caac;
  --nav_color:#c9ba71;
  --content-txt_color:#71c990;
  --col-1_color:#71bec9;
}
/*呼び出し
 body{
  background-color: var(--col-1_color);
} */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img{
  max-width: 100%;
  vertical-align: bottom;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
body{
  color: #222;
  font-family: "Urbanist", sans-serif;
}
/* header */
header{
  text-align: center;
  background-color: var(--header_color);
  padding: 30px 0;
}
h1{
  font-family: "Dosis", sans-serif;
  font-size: 40px;
}
#hum-btn{
  display: none;
}
@media (max-width:900px){
  header{
    width: 100%;
    text-align: left;
    padding: 10px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
  }
  h1{
    font-size: 28px;
  }
  #hum-btn{
    display: block;
    width: 44px;
    height: 44px;
    background: var(--nav_color);
    /* border: 1px solid #333; */
    position: relative;
    >span{
      /* display: block; */
      width: 26px;
      height: 3px;
      background-color: #333;
      position: absolute;
      inset: 0;
      top: -12px;
      margin: auto;
      transition: .3s;
      &::after{
        content: "";
        width: 26px;
        height: 3px;
        background-color: #333;
        position: absolute;
        top: 12px;
        transition: .3s;
      }
    }
  }
#hum-btn.is-active{
  >span{
    top: 0;
    rotate: 45deg;
    &::after{
      top: 0;
      rotate: 90deg;
    }
  }
}
}

/* nav */
#g-nav{
  width: 100%;
  height: 50px;
  background-color: var(--nav_color);
  position: sticky;
  top: 0;
  @media (max-width:900px){
    display: none;
  }
}
#g-nav>ul{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  gap: 0 30px;
}
#g-nav a{
  color: #222;
  padding: 10px 20px;
}
#g-nav a:hover{
  text-decoration: 3px underline #287c3e;
  text-underline-offset: 4px;
}
/* スマホ用ナビ */
#sp-nav{
  display: none;
  @media (max-width:900px){
    display: block;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--nav_color);
    position: fixed;
    top: 70px;
    padding: 50px 10% 0;
    translate: 100%;
    transition: .3s;
    &.move{
      translate: 0;
    }
    >ul li{
      margin-bottom: 15px;
      /* text-align: center; */
      >a{
        /* background-color: #fff; */
        color: #333;
        display: block;
        font-size: 20px;
        padding: 10px 10px 8px;
        border-bottom: 2px solid #333;
      }
    }
  }
}

/* main */
main{
  max-width: 1366px;
  margin: 0 auto 10px;
  padding: 0 10px;
}
.content-wrapper{
  display: flex;
  gap: 0 10px;
  margin-bottom: 10px;
}
.content-wrapper:nth-of-type(odd){
  flex-direction: row-reverse;
}
.content-txt{
  width: calc((100% - 20px) / 3);
  background-color: var(--content-txt_color);
  padding: 150px 40px 20px;
  text-align: center;
}
/* .content-wrapper:nth-of-type(2)>.content-txt{
  background-color: var(--col-1_color);
} */
.content-txt>h2{
  font-size: 32px;
  margin-bottom: 50px;
}
.content-txt>p{
  font-size: 20px;
  line-height: 2.5;
}
.content-img{
  width: calc((100% - 20px) / 3 * 2 + 10px);
  height: 600px;
}
.content-img>img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.col-1{
  background-color: var(--col-1_color);
  height: 600px;
  padding: 120px;
  text-align: center;
}
.col-1>h2{ 
  margin-bottom: 50px;
  font-size: 50px;
}
.col-1>p{
  font-size: 30px;
  line-height: 2;
}
footer{
  height: 100px;
  background-color:var(--nav_color);
}
footer>p{
  text-align: center;
  font-size: 18px;
  line-height: 100px;
}
@media (max-width:720px){
  .content-wrapper{
    flex-direction: column-reverse;
    gap: 10px 0;
  }
  .content-wrapper:nth-of-type(odd){
    flex-direction: column-reverse;
  }
  .content-txt>h2{
    font-size: 32px;
    margin-bottom: 30px;
  }
  .content-txt{
    width: 100%;
    padding: 30px 30px 20px;
  }
  .content-img{
    width: 100%;
    height: auto;
    aspect-ratio: 1.5/1;
  }
  .col-1{
    height: 350px;
    padding: 45px;
  }
  .col-1>h2{ 
    margin-bottom: 30px;
    font-size: 24px;
  }
  .col-1>p{
    font-size: 20px;
    line-height: 2;
  }
}