@charset "utf-8";
/*共通*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  position: relative;
  z-index: -20;
  color: #666;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}
h2, h3, figcaption {
  line-height: 1.3;
}
h2 {
  position: relative;
  text-align: center;
}
h2::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: -40px;
  width: 30px;
  height: 30px;
  background: url(../images/icon_circle.png) no-repeat;
  background-size: contain;
  transform: translateY(-50%)
}
p, dd {
  line-height: 1.8;
}
img {
  width: 100%;
}
img, svg, video {
  vertical-align: bottom;
}
svg {
  line-height: 1;
}
@media screen and (min-width:600px) {
  h2::before {
    left: -50px;
    width: 40px;
    height: 40px;
  }
}
/*ナビゲーション*/
.gnav_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav_logo a {
  display: block;
}
#gnav ul {
  display: flex;
}
#gnav ul li a {
  display: block;
  position: relative;
  padding: 0.5rem 0.7rem;
  color: #95BC8E;
  font-weight: bold;
  font-size: 1.8rem;
  transition: 0.3s;
}
#gnav ul li:last-child a {
  padding-right: 0;
}
#gnav ul li a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  height: 2px;
  background: #95BC8E;
  transform: translate(-50%, 0) scale(0, 1);
  transform-origin: center;
  transition: 0.3s;
}
#gnav ul li a:hover::after {
  transform: translate(-50%, 0) scale(1, 1);
}
@media screen and (min-width:600px) {
  #nav_logo {
    width: 60px;
    height: 60px;
  }
  #nav_logo img {
    width: 100%;
  }
  #gnav ul li a {
    font-size: 2.8rem;
    padding: 1.5rem 2rem;
    transition: 0.5s;
  }
}
@media screen and (min-width:1025px) {
  #gnav ul li:last-child a {
    padding-right: 2rem;
  }
  #gnav ul li a::after {
    height: 3px;
    transition: 0.5s;
  }
}
/*ヘッダー共通*/
header {
  position: fixed;
  z-index: -10;
  right: 0;
  left: 0;
  padding: 15px 15px 0;
  background: #E1EEBD;
}
/*メイン共通*/
.transparent_box {
  position: relative;
  z-index: -100;
}
.main_section {
  padding: 6rem 20px 8rem;
}
.main_lastsection {
  padding-bottom: 14rem;
}
main h2 {
  margin: 0 auto 4rem;
}
@media screen and (min-width:600px) {
  .main_section {
    padding: 12rem 20px 16rem;
  }
  .main_lastsection {
    padding-bottom: 20rem;
  }
  main h2 {
    margin-bottom: 8rem;
  }
}
@media screen and (min-width:1025px) {
  .main_section {
    padding-right: 0;
    padding-left: 0;
  }
  .contents {
    max-width: 1100px;
    margin: 0 auto;
  }
}
/*アイコンリンクボタン*/
.linkbox {
  width: 81.5%;
  margin: 0 auto;
  padding: 3rem 0;
  border: 1px solid #eee;
  border-radius: 100px 0 100px 0;
  box-shadow: 3px 3px 3px rgba(219, 219, 219, 0.2);
  background: #FCFCFC;
  transition: 0.3s;
}
.linkbox:not(:first-child) {
  margin-top: 6rem;
}
.linkbox:hover {
  box-shadow: 10px 10px 0 0 rgba(158, 220, 166, 0.3);
}
.linkbox_img {
  margin: 0 auto;
}
#works_web .linkbox_img {
  width: 70.05%;
}
#works_logo .linkbox_img {
  width: 54.31%;
}
#works_graphic .linkbox_img {
  width: 39.25%;
}
.linkbox_sentence {
  margin-top: 2rem;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
}
@media screen and (min-width:600px) {
  .linkbox_wrapper {
    display: flex;
    justify-content: space-between;
  }
  .linkbox {
    width: 31%;
    margin: 0;
  }
  .linkbox:not(:first-child) {
    margin-top: 0;
  }
  .linkbox_sentence {
    margin-top: 1.5rem;
    font-size: 3.2rem;
  }
}
@media screen and (min-width:1025px) {
  .linkbox {
    transition: 0.5s;
  }
}
/*more*/
.more {
  text-align: center;
}
.more a {
  display: inline-block;
  position: relative;
  padding: 0 2rem;
  font-size: 2.2rem;
}
.more a::before { /*矢印*/
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.2rem;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: skewX(45deg);
}
.more a::after { /*黄緑の円*/
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(229, 235, 151, 0.7);
  transform: translate(-30%, 50%);
}
.more a::before, .more a::after, .more a {
  transition: 0.3s;
}
.more a:hover {
  color: #FFB8A5;
}
.more a:hover::before {
  border-color: #FFB8A5;
  transform: scale(1.3, 1) skewX(35deg);
  transform-origin: left;
}
.more a:hover::after {
  background: #FFB8A5;
}
@media screen and (min-width:600px) {
  .more a {
    padding: 0 4rem;
    font-size: 2.8rem;
  }
  .more a::before { /*矢印*/
    height: 1.6rem;
  }
  .more a::after { /*黄緑の円*/
    width: 45px;
    height: 45px;
  }
}
@media screen and (min-width:1025px) {
  .more a::before, .more a::after, .more a {
    transition: 0.5s;
  }
}
/*フッターの戻るボタン*/
.go_top {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 30px;
  transition: 0.3s;
}
.go_top:hover {
  transform: scale(1.2);
}
.active { /*クラス付与*/
  opacity: 1;
  visibility: visible;
}
footer {
  position: relative;
}
.absolute { /*クラス付与*/
  position: absolute;
  top: -10rem;
  bottom: auto;
}
/*フッター*/
footer p {
  height: 3rem;
  background: #A5A5A5;
  text-align: center;
}
footer p small {
  color: #fff;
  font-size: 1.2rem;
  vertical-align: top;
}
@media screen and (min-width:600px) {
  .go_top {
    width: 40px;
  }
  footer p {
    height: 4rem;
  }
  footer p small {
    font-size: 1.4rem;
  }
}
@media screen and (min-width:1025px) {
  .go_top {
    right: 40px;
    bottom: 40px;
    transition: 0.5s;
  }
}
/*フェードインアニメーション（PCのみ）*/
@media screen and (min-width:1025px) {
  .scrollanime {
    opacity: 0;
  }
  .fadeInDown {
    animation: fadeInDown 3s forwards;
  }
  @keyframes fadeInDown {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      transform: translate(0);
    }
  }
  /*上下の動き*/
  .downup {
    transform: translateY(100px);
  }
  /*リンクメニューの時間差アニメーション*/
  .linkbox_wrapper #works_logo {
    animation-delay: 0.5s;
  }
  .linkbox_wrapper #works_graphic {
    animation-delay: 1s;
  }
}