@charset "UTF-8";
*{
  --heading2-fs: 3.2rem;
  --heading2-eng-fs: 2rem;
  --hero-ephraze-fs: 6.2rem;
  --hero-ephraze-eng-fs: 4rem;
  --business-heading3-fs: 2.2rem;
  --business-text-fs: 1.6rem;
  /*column 66px / gap 32px*/
}
main{
  width: 100%;
  overflow-x: hidden;
}
section{
  width: min(100%, 120rem);
  margin-inline: auto;
  margin-bottom: 6.4rem;
}
h2{
  position: relative;
  width: 100%;
  padding-bottom: 4rem;

  font-size: var(--heading2-fs);
  text-align: center;
}
h2::after{
  content: attr(data-text);
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);

  font-size: var(--heading2-eng-fs);
  font-family: 'Oswald', sans-serif;
  color: #34B4FF;
  text-transform: uppercase;
}

#hero{
  position: relative;
  z-index: 1;

  width: 100%;
  height: 85vh;
  margin-bottom: 5vh;

  background: url(../img/hero.png);
  background-size: cover;
}
#hero .eyecatch-phraze{
  position: absolute;
  z-index: 10;
  left: 12%;
  bottom: 22%;

  font-size: var(--hero-ephraze-fs);
  font-weight: 600;
  color: #fff;

  line-height: 1.2;

  text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#hero .eyecatch-phraze span{
  font-size: var(--hero-ephraze-eng-fs);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

section#information{
  margin-bottom: 4rem;
}
#information h2{
  position: static;
  width: auto;
  padding-bottom: 0;

  font-size: 2rem;
  text-align: left;
  font-weight: 600;
}
#information h2 span{
  margin-left: 1.6rem;

  font-size: 1.8rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}
#information .topbar{
  display: flex;
  justify-content: space-between;

  padding-bottom: .8rem;
  border-bottom: solid 1px #B5B5B5;
}
#information .topbar a{
  font-size: 2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: #333;
}
#information .article-list{
  padding: 1.6rem 0;
  border-bottom: solid 1px #B5B5B5;
}
#information .article-list li:not(:last-of-type){
  margin-bottom: 2.4rem;
}
#information .article-list dl{
  display: grid;
  grid-template-columns: 9.6rem 1fr;
  align-items: center;

  column-gap: 3.2rem;
  padding-left: 7.2rem;

  font-size: 1.7rem;
  word-break: break-all;
}
#information .article-list dl.newtag{
  position: relative;
}
#information .article-list dl.newtag::before{
  content: 'NEW';
  position: absolute;
  top: 50%;
  left: .8rem;
  transform: translateY(-50%);

  display: inline-block;
  padding: .2rem 1.2rem;

  font-size: 1.4rem;
  color: #fff;

  background: #34B4FF;
}
#information .article-list a{
  color: #333;
  line-height: 1.4;
  text-decoration: underline;
}

section#catch{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  margin-bottom: 6rem;
  padding: 12rem 0;

  background: var(--main-color);
}
#catch .text-wrap{
  width: min(64rem ,100% - 2rem);
}
#catch .text{
  margin-bottom: 1.6rem;

  font-size: 3.2rem;
  font-weight: 600;
}
#catch .content{
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.4;
}


section#business{
  margin-bottom: 6.4rem;

  line-height: 1.4;
}
#business .cardContainer{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;

  border-top: solid 1px #DEDEDE;
  border-left: solid 1px #DEDEDE;
}
#business .cardContainer .card{
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;

  padding: 3.2rem 6.4rem;

  border-right: solid 1px #DEDEDE;
  border-bottom: solid 1px #DEDEDE;
}
#business h3{
  font-size: var(--business-heading3-fs);
  font-weight: 600;
  color: #34B4FF;
}
#business .text{
  font-size: var(--business-text-fs);
  font-weight: 400;
}
#business a{
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 4rem;
}

section#work{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3.2rem;
  row-gap: 3.2rem;

  padding: 4rem 3.2rem 6.4rem;

  background: url(../img/index-work-bg.png);
  background-size: cover;
}
#work h2{
  grid-column:  1 / span 3;
  grid-row: 1 / 2;

  color: #fff;
}
#work h2::after{
  color: #fff;
}
#work .imgContainer img{
  width: 100%;
  max-width: auto;
  margin-bottom: 1.6rem;
}
#work .imgContainer .title{
  font-size: 2rem;
  color: #fff;
}
#work .btn{
  grid-column: 2 / 3;

  color: #51AF49;
}


#footer-eyecatch{
  width: 100%;
  margin-bottom: 3.2rem;
}

@media (max-width : 1024px){
  section{
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  #hero{
    position: relative;
    z-index: 1;
  
    display: flex;
    align-items: flex-end;
    justify-content: center;

    width: 100%;
    height: 100dvh;
    padding: 0 1.6rem;
    padding-bottom: 10dvh;
    margin-bottom: 5dvh;
  
    background: url(../img/hero.png);
    background-size: cover;
  }
  #hero .eyecatch-phraze{
    position:static;
    z-index: 10;
    left: auto;
    bottom: auto;
  
    font-size: 2.4rem;
    font-weight: 600;
  
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  #hero .eyecatch-phraze span{
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
  }
}
@media (max-width : 599px){
  #hero{
    background: url(../img/hero-sp.png);
    background-size: cover;
    background-position: center;
  }

  #information .article-list dl{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  
    column-gap: 0;
    row-gap: 1.2rem; /*記事タイトル＆タグと記事コンテンツの間隔*/
    padding-left: 0;
  
    font-size: 1.7rem;
    word-break: break-all;
  }
  #information .article-list dl.newtag::before{
    content: 'NEW';
    position: absolute;
    top: 0;
    left: 10.2rem;
    transform: none;
  
    display: inline-block;
    padding: .2rem 1.2rem;
  
    font-size: 1.4rem;
    color: #fff;
  
    background: #34B4FF;
  }


  #business .cardContainer{
    grid-template-columns: repeat(1, 1fr);
  }
  section#work{
    grid-template-columns: repeat(1, 1fr);
  }
  #work h2,
  #work .btn{
    grid-column: auto;
  }
}