/* *,
*:before,
*:after {
  outline: 1px solid red !important;
} */


/*基本設定*/
html {
  padding: 0;
  margin: 0;
  font-size: 62.5%;
}

/*アドビフォント読み込むまで隠す*/
html.wf-loading body {
  visibility: hidden;
}

body {
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: dnp-shuei-gothic-gin-std, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #414141;
  font-size: 1.6rem;
  padding-top: 0;
}

a {
  text-decoration: none;
  color: #444444;
}

* {
  box-sizing: border-box;
}

h2 {
  font-size: 4.0rem;
  font-family: "agenda-one", sans-serif;
  font-weight: 300;
  font-style: normal;
}

h3 {
  font-size: 3.0rem;
  font-family: "agenda-one", sans-serif;
  font-weight: 300;
  font-style: normal;
}

ul,
p {
  margin-block-start: 0;
  margin-block-end: 0;
}

section {
  margin-bottom: 5rem;
}

.title-h2 {
  text-align: center;
  font-size: 22px;
}

.title-h3 {
  text-align: center;
  font-size: 14px;
  margin-bottom: 30px;
}

.center {
  text-align: center;
}




/*基本設定ここまで*/

/*ホバー*/
.h-lite:hover {
  opacity: 0.5;
  transition: 0.4s;
}

/*ホバーここまで*/

/*ヘッダー*/
header {
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  padding: 0;
  height: 80px;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
}

.oz-rogo {
  height: 40px;
  padding: 0;
  margin: 2rem 0 0 5rem;
}

.a-block {
  display: block;
}

.contact-box {
  margin-right: 5rem;
  margin-top: 3rem;
}

.contact-box:hover {
  letter-spacing: 0.06em;
  /* 字間の設定 */
  opacity: 0.5;
  transition: 0.4s;
}

.header-ul {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.header-li1 {
  width: 80%;
}

.header-li2 {
  position: absolute;
  right: 0;
  top: 0;
  margin-right: 5%;
}

.header-li3 {
  height: 100%;
  justify-content: flex-end;
  transform: rotate(-90deg);
  position: absolute;
  right: 0;
  top: 0;
}

/* ボタン */
.btn-menu {
  background-color: #414141;
  border: solid 1px #414141;
  padding: 2.15rem;
  margin: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: agenda-one, sans-serif;
  font-weight: 300;
  font-style: normal;
  transition: 0.4s;
}


.btn-menu:hover {
  background-color: #fff;
  color: #000;
  transition: 0.4s;
}

/* メニュー */
nav {
  background: #414141;
  margin-top: 80px;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  overflow-x: hidden;
  text-align: center;
  width: 0;
  height: 100vh;
  opacity: 0;
  transition: 0.4s;
  visibility: hidden;
}

.nav-ul {
  display: flex;
  /* width: 100%; */
  padding: 0;
  margin: 5% 3%;
  list-style-type: none;
}

.nav-ul li {
  margin-right: 5rem;
  text-align: left;
  width: 100%;
}

.nav-ul li:last-child {
  margin-right: 0;
}

.nav-ul a,
.nav-ul p {
  color: #fff;
  line-height: 4rem;
  margin-bottom: 2rem;
}

.nav-ul p {
  border-bottom: solid 1px #fff;
}

.nav-ul a {
  margin-left: 2rem;
}

/* メニューを開いた時 */
nav.open-menu {
  width: 80%;
  height: 100vh;
  opacity: 1;
  overflow: visible;
  opacity: 0.9;
  visibility: visible;
}

nav.open-menu a:hover {
  opacity: 0.4;
  transition: 0.5s;
}

.header-sns img {
  width: 10%;
  margin-top: 4rem;
}

/*ヘッダーここまで*/

/*メインビュー*/
.fixed-image {
  position: fixed;
  top: 55vh;
  left: 1.5vw;
  z-index: 999;
  /* overflow: hidden; */
  transition: opacity 0.5s ease;
}

.fixed-image img {
  width: 70%;
  object-fit: cover;
  animation: floatUpDown 1s linear infinite alternate;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-2vh);
  }
}

/*スライド*/
/* .content {
  width: 300px;
  height: 450px;
}

.content img {
  height: 100%;
  position: relative;
  left: -5rem;
}

.slideshow {
  display: flex;
  list-style-type: none;
  animation: loop-slide 20s infinite linear 0s both;
}
@keyframes loop-slide {
  from {
    transform: translateX(-30);
  }
  to {
    transform: translateX(-110%);
  }
}

.wrap {
  display: flex;
  height: 450px;
  overflow: hidden;
  width: 100%;
} */


.main-view {
  height: 100vh;
  position: relative;
  top: 80px;
}

.gallery-row {
  width: 100%;
  margin: 0;
}

.gallery-row img {
  width: 100%;
  display: block;
}

.intoro-box {
  margin-top: 5rem;
  flex-direction: row-reverse;
}

/*index以外のメニューバーの隙間対策*/
.main-view2 {
  height: 10px;
  position: relative;
  top: 80px;
}




/* .intoro-ul {
  display: flex;
  padding: 0;
  margin: 5rem 0 0 0;
  list-style-type: none;
  flex-direction: row-reverse;
}

.intoro-ul li {
  width: 50%;
} */

.intoro-img-box {
  text-align: right;
  height: 40%;
}

.intoro-img-box img {
  width: 15%;
  position: absolute;
  bottom: 0;
  left: 40%;
}

.intoro-text {
  /* line-height: 2; */
  text-align: left;
}

.intoro-text-p {
  writing-mode: vertical-rl;
  position: absolute;
  right: 35%;
  line-height: 4rem;
  height: 300px;
}

/*メインビューここまで*/

/*パンクズ*/
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li:not(:last-of-type)::after {
  content: "»";
  margin: 0 .6em;
  /* 記号の左右の余白 */
  color: #777;
  /* 記号の色 */
}

/*パンクズここまで*/


/* デザインについて */
.design-about {
  background-image: url(../image/design-back.jpg);
  width: 100%;
  padding: 2rem 0 3rem 0;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center top;
  position: relative;
  top: 100px;
}

.design-about-text {
  width: 800px;
  margin: auto;
}

.design-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.design-li1 {
  width: 60%;
  line-height: 8rem;
  margin-right: 3rem;
}

.design-li2 {
  width: 40%;
  line-height: 6.5rem;
  font-size: 1.4rem;
}

.design-li2 span {
  background-color: #f0f0f0;
  padding: 0.2rem;
}

.design-about-p {
  font-weight: bold;
  margin: 4rem auto 6rem auto;
}

.design-about-a {
  display: block;
  margin: 0 auto 3rem auto;
  text-align: center;
  transition: 0.4s;
}

.design-about-a:hover,
.view-all:hover {
  letter-spacing: 0.06em;
  /* 字間の設定 */
  opacity: 0.5;
}

/* デザインについて ここまで */

/* トップページのGALLERY */
.gallery {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.gallery-box {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.gallery-item-box {
  display: block;
  background-color: #fff;
  border-radius: 20px;
  width: 180px;
  box-shadow: 1px 1px 0px #606060;
  padding: 20px;
}

.gallery-item-box img {
  display: block;
  box-shadow: 3px 3px 5px #606060;
}

.sliderArea {
  max-width: 92%;
  margin: 0 auto;
  padding: 0 25px;
}

.sliderArea.w300 {
  max-width: 300px;
}

.slick-slide {
  margin: 0 5px;
}

.slick-slide img {
  width: 100%;
  height: auto;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
}

.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  opacity: 1;
}

.thumb {
  margin: 20px 0 0;
}

.thumb .slick-slide {
  cursor: pointer;
}

.thumb .slick-slide:hover {
  opacity: .7;
}

/* トップページのGALLERYここまで */

/* SERVICE */
.services {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.service-box {
  display: flex;
  margin: 0 5%;
}

.service-h3 {
  line-height: 2.8rem;
  margin-bottom: 1.5rem;
}

.service-h3-sub {
  font-size: 1.8rem;
  font-weight: normal;
}

.service-ul {
  display: flex;
  padding: 0;
  /* margin: 0 0 5rem 0; */
  list-style-type: none;
  width: 100%;
  text-align: left;
  /* border-left: 1px solid #414141;
  border-right: 1px solid #414141;  */
}

.service-li1 {
  border-left: 0.5px solid #414141;
  width: 60%;
  padding-left: 2%;
  line-height: 2.8rem;
}

.service-li2 {
  /* border-right: 0.5px solid #414141; */
  width: 50%;
  /* padding-right: 5%; */
  position: relative;
}

.li2-last {
  border-right: 0.5px solid #414141;
}


.service-li2 img {
  width: 80%;
  object-fit: contain;
  position: absolute;
  bottom: 0;
  right: 3rem;
}

.service-web img {
  width: 100% !important;
}



/* SERVICEここまで */

/* スタッフブログ・ニュース */
.blog {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.blog-box {
  background-color: #f0f0f0;
  margin-bottom: 2rem;
  padding: 5rem;
  width: 100%;
  overflow: scroll;
}

.blog-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-between;
  gap: 25px;
}

.blog-items {
  display: block;
  background: #fff;
  padding: 0;
  border-radius: 20px;
  box-shadow: 5px 5px 5px #555;
  width: 350px;
}

.blog-img {
  width: 350px;
  height: 244px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin-bottom: 16px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  margin: 0;
  transition: 0.5s;
  object-fit: cover;
}

.blog-img img:hover {
  transform: scale(1.1);
  /* 拡大 */
}

.blog-text {
  display: block;
  overflow: hidden;
  /* margin-top: 1rem; */
  padding: 0 1.5rem;
  text-align: left;
  font-size: 1.4rem;
  background-color: #f0f0f0;
  margin-bottom: 8px;
}

.blog-time {
  text-align: right;
  font-size: 1.2rem;
  /* margin-top: 0.5rem; */
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
}

.grid_blog {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  width: 100%;
  padding: 4%;
  padding-left: 20%;
  padding-right: 20%;
  background-color: #f0f0f0;
}

.item img {
  width: 100%;
}

/* スタッフブログここまで */

/*　news　*/
.grid_news {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  width: 100%;
  padding: 4%;
  padding-left: 20%;
  padding-right: 20%;
  background-color: #f0f0f0;
}

.item img {
  width: 100%;
}

.news-text {
  display: block;
  overflow: hidden;
  /* margin-top: 1rem; */
  padding: 0 1.5rem;
  text-align: left;
  font-size: 10px;
  background-color: #f0f0f0;
}

/*newsここまで*/

/*スタッフブログページ*/
.staff-blog-box {
  width: 100%;
  padding: 4em 8% 3em 8%;
}

/*スタッフブログページここまで*/

/*ホバー*/
.h-lite {
  transition: 0.4s;
}

.h-lite:hover {
  opacity: 0.5;
}

/*ホバーここまで*/

/*ヘッダー内*/
.contact-box {
  margin-right: 5rem;
  margin-top: 3rem;
  transition: 0.4s;
}

.contact-box:hover {
  letter-spacing: 0.06em;
  /* 字間の設定 */
  opacity: 0.5;
}

/*ヘッダー内ここまで*/


/* メニューを開いた時 */
nav.open-menu {
  width: 80%;
  height: 100vh;
  opacity: 1;
  overflow: visible;
  opacity: 0.9;
  transition: 0.5s;
}

nav.open-menu a:hover {
  opacity: 0.4;
}

/*TOPスマホ版*====================*/

@media only screen and (max-width: 767px) {
  .blog-items {
    width: 270px;
  }

  .blog-img {
    width: 270px;

  }
}

/*************=========以上トップページになります多分==========**************/


/*大切にしていること*/
.pan-box {
  width: 100%;
  padding: 2.5em 5% 0 5%;
}

.our-box {
  padding: 0;
}

.our-ul,
.service-p-ul,
.weare-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  position: relative;
}

.our-ul li,
.service-p-ul li {
  margin-right: 40px;
}

.our-ul li:last-child,
.service-p-ul li:last-child {
  margin-right: 0;
}

.our-ul p {
  font-size: 1.3rem;
  line-height: 3rem;
}

.our-li1 {
  width: 30%;
}

.our-li2 {
  width: 50%;
}

.our-li-service {
  width: 13%;
}

.our-li-service2 {
  width: 40%;
}

.our-li-img1 {
  width: 20%;
  padding-right: 5rem;
}

.our-li-img1 img {
  width: 40%;
}

.our-li-img2 {
  width: 47%;
}

.our-li1 img,
.our-li-img1 img,
.our-li-service img,
.our-li-img2 img {
  width: 100%;
}

.values-text-img {
  position: relative;
  top: -14rem;
  left: 14rem;
}

.values-text-img img {
  width: 80%;
}

.service-p-ul {
  margin-bottom: 250px;
}

.service-p-box {
  padding: 0;
  width: 100%;
}

.our-li-service2 img {
  width: 70%;
  margin-top: 20px;
  margin-bottom: 40px;
}

.our-li-service2 p {
  font-size: 1.3rem;
  line-height: 3.5rem;
}

.weare-box {
  padding: 0;
  position: relative;
  height: auto;
}

.weare-li1 {
  width: 20%;
}

.weare-li1 img {
  width: 100%;
  padding-left: 4rem;
}

.weare-li2 {
  width: 55%;
  padding: 0 3rem;
  line-height: 3.5rem;
}

.weare-li3 {
  width: 35%;
}

.weare-li3 img {
  width: 100%;
}

.weare-text-img {
  position: relative;
  top: -13rem;
  left: 5rem;
}

.weare-text-img img {
  width: 80%;
}

/*スマホ
------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
  .pan-box {
    width: 100%;
    padding: 2.5em 5% 0 5%;
  }

  .our-box {
    padding-top: 3rem;
  }

  .our-ul,
  .service-p-ul,
  .weare-ul {
    display: block;
  }

  .our-li-pc {
    display: none;
  }

  .our-ul li,
  .service-p-ul li {
    margin-right: 0;
  }

  .our-ul p {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  .our-li2 {
    width: 100%;
    padding: 0 5%;
  }

  .our-li-service2 {
    width: 100%;
    padding: 0 5%;
  }

  .our-li-img1 {
    width: 100%;
    padding-right: 0;
    margin-top: 10px;
  }

  .our-li-img1 img {
    width: 100%;
  }

  .our-li-img2 {
    width: 100%;
    margin-top: 10px;
  }

  .our-li1 img,
  .our-li-img1 img,
  .our-li-service img,
  .our-li-img2 img {
    width: 100%;
  }

  .values-text-img {
    width: 100%;
    position: relative;
    top: -58rem;
    left: 5%;
  }

  .values-text-img img {
    width: 70%;
  }

  .service-p-ul {
    margin-bottom: 100px;
  }

  .service-p-box {
    padding: 0;
    width: 100%;
  }

  .our-li-service2 img {
    width: 70%;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .our-li-service2 p {
    font-size: 1.3rem;
    line-height: 3.5rem;
  }

  .weare-box {
    padding: 6rem 0 0 0;
    position: relative;
    height: 600px;
  }

  .weare-li2 {
    width: 100%;
    padding: 0 5%;
    line-height: 3.5rem;
  }

  .weare-li3 {
    width: 100%;
    margin-top: 10px;
  }

  .weare-text-img {
    position: relative;
    top: -78rem;
    left: 5%;
  }

  .weare-text-img img {
    width: 80%;
  }
}

/*大切にしていること ここまで*/

/*コラム*/
/*
.column-text {
  display: block;
  overflow: hidden;*/
/* margin-top: 1rem;
  padding: 0 1.5rem;
  text-align: left;
  font-size: 10px;
  background-color: #f0f0f0;
}
.grid_column{
  display: grid;
  gap: 26px;
  grid-template-columns:repeat(3, minmax(240px,1fr));
  width: 100%;
  padding: 4% ;
  padding-left: 20%;
  padding-right: 20%;
  background-color: #f0f0f0;
}*/

/*コラムここまで*/


/* メンバー紹介 */
.display {
  padding: 0;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
  /*flex-wrap: wrap-reverse;*/
}

.MEMBER3 {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.member-ul {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 6%;
  margin-bottom: 50px;
  margin-right: 3%;
}

/*外部引用ｃｓｓ*/

.grid {
  display: grid;
  flex-wrap: wrap;
  gap: 26px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 6%;
  width: 100%;
  padding: 0 5%;
}

.item_ {
  width: 100%;
  height: 100%;
}

.item_ img {
  width: 100%;
  height: auto;
}

/*外部引用ｃｓｓここまで*/

/* .member-box {
  background-color: #f0f0f0;
  margin-bottom: 2rem;
  padding: 5rem;
  width: 100%;
  overflow: scroll;
}

.blog-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-between;
  gap: 25px;
} */

.member-box {
  background-color: #f0f0f0;
  margin-bottom: 2rem;
  padding: 5rem;
  width: 100%;
  overflow: scroll;
}

.member-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-between;
  gap: 25px;
}

.member-li {
  /* margin-right: 20px; */
  max-width: 100%;
}



/*=============以下AI============*/
/* モバイル対応 */
/* スマホ対応 (最大768px) */
@media only screen and (max-width: 768px) {

  /*画像用のやつ*/
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .fixed-image {
    top: 65vh;
    left: 1.5vw;
  }

  .fixed-image img {
    width: 40%;
  }

  @media only screen and (max-width: 767px) {
    .grid {
      grid-template-columns: repeat(1, 1fr);
      padding: 0 15%;
    }
  }

  /* インフォメーション */
  .con_box {
    padding: 15px;
  }

  .gallery-item-box {
    margin: 10px;
  }
}

/*=============以上AI============*/
/* メンバー紹介ここまで */







/*ニュースここから*/
.news-imgs {
  width: 100%;
}

.nenga-btn a {
  background-color: #666;
  border: 1px solid #666;
  padding: 1.5rem 3rem;
  width: 400px;
  height: auto;
  margin: 4rem auto !important;
  display: block;
  color: #fff !important;
  line-height: 1px;
}

/*======================================*/
/****AI使用スマホ****/

/* モバイル対応 */
@media (max-width: 768px) {
  /*
  .header-li3 button {
      display: block;
      background-color: #444;
      padding: 10px;
      width: 100%;
  }

  .header-li3 button:hover {
      background-color: #555;
  }*/

  /* ニュース紹介 */
  .grid_news {
    grid-template-columns: 1fr;
  }
}

/******以上AI******/
/*======================================*/


/*ニュースここまで*/

/* GALLERYページ */
.gallery-p-box {
  width: 100%;
  padding: 6em 5% 3em 5%;
  text-align: center;
}

.gallery-p-box {
  width: 100%;
  padding: 6rem 5% 3rem 5%;
  text-align: center;
}

.gallery-p-box2 {
  width: 100%;
}

.gallery-p-ul1,
.gallery-p-ul2 {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
}

.gallery-p-ul1 li {
  width: 50%;
}

.gallery-p-ul2 {
  margin-bottom: 20px;
}

.gallery-p-ul2 li {
  width: 50%;
  padding: 10px;
}

.gallery-p-ul2 p {
  font-size: 1.0rem;
  text-align: left;
}

.gallery-p-ul2 li img {
  width: 100%;
  box-shadow: 3px 3px 5px #606060;
}

/*スマホ
------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
  .gallery-p-box {
    width: 100%;
    padding: 6em 5% 3em 5%;
    text-align: left;
  }

  .gallery-p-box2 {
    width: 100%;
  }

  .gallery-p-ul1 {
    display: block;
  }

  .gallery-p-ul1 li {
    width: 100%;
  }

  .gallery-p-ul2 {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .gallery-p-ul2 li {
    width: 50%;
    padding: 10px;
  }

  .gallery-p-ul2 p {
    font-size: 1.0rem;
    text-align: left;
  }

  .gallery-p-ul2 li img {
    width: 100%;
    box-shadow: 3px 3px 5px #606060;
  }
}

/* GALLERYページここまで */


/* スタッフブログ各 */

/*外部引用ｃｓｓ*/
.grid_blog {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  margin-top: 6%;
  width: auto;
}

.item {
  width: 300px;
  height: 200px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*外部引用ｃｓｓここまで*/

/*===================================================*/
/* モバイル対応 */
@media (max-width: 768px) {

  /* メインビュー */
  .main-view2 {
    padding: 20px;
  }

  /* スタッフブログ */
  .grid_blog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
  }

  .grid_blog .item {
    text-align: center;
  }

  .grid_blog .item img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .item {
    width: auto;
    height: auto;
  }
}

/*スタッフブログ各ここまで*/
/*===================================================*/

/* PRIVACY */
.PRIVACY {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}


.PRIVACY-box {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 20%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: left;

}

.gallery-ul {
  display: flex;
  list-style-type: none;
}


.view-all {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  font-family: agenda-one, sans-serif;
  font-weight: 300;
  font-style: normal;
}


.sliderArea {
  max-width: 92%;
  margin: 0 auto;
  padding: 0 25px;
}

.sliderArea.w300 {
  max-width: 300px;
}

.slick-slide {
  margin: 0 5px;
}

.slick-slide img {
  width: 100%;
  height: auto;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
}

.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  opacity: 1;
}

.thumb {
  margin: 20px 0 0;
}

.thumb .slick-slide {
  cursor: pointer;
}

.thumb .slick-slide:hover {
  opacity: .7;
}

/* PRIVACYここまで */








/*お問い合せ*/
.contact1 {
  margin-top: 6%;
  margin-bottom: 2%;
}

.contact-page {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
  height: 60%;

}

.otoiawase {
  height: 300px
}

.cnt {
  width: 70%;
}

.cctt {
  width: 100%;
  height: 30px;
}

.cctt00 {
  width: 100%;
  height: 100%;
}


.contact-menu {
  background-color: #fff;
  margin: auto;
  width: 70%;
  text-align: left;
}

/*元のHPより引用*/
.haveto {
  font-size: 7px;
  padding: 5px;
  background: #d82533;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}

.any {
  font-size: 7px;
  padding: 5px;
  background: #bee9ed;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}

#formbtn {
  display: block;
  padding: 1em 0;
  margin: 10px auto;
  width: 50%;
  background: #606060;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 2px;
  border: none;
}

/*元のHPより引用ここまで*/

/* お問い合せここまで */



/*ADDRESSここから*/
.ADDRESS-box {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 5%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: left;
}

.ADDRESS {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.Ad_nv {
  text-align: center;
  margin-top: 5%;
}

.Ad_nv01 {
  text-align: center;
  margin-top: 3%;
  font-size: large;
  color: #de3400;
  background-color: #fff;
}


/************以下AI**************/
/* メディアクエリ：スマホ用 */
@media screen and (max-width: 768px) {

  /* メニュー表示のためのトグルボタン */
  /*.btn-menu.active + .nav-box {
    display: block; }/* メニューが開いている時に表示 */

  /* テンプレートリンクを中心に配置 */
  .Ad_nv {
    text-align: center;
  }
}

/************以上AI**************/
/*ADDRESSここまで*/




/*サービスここから*/
.service-box-1 {
  background-color: #f0f0f0;
  overflow: hidden;
  padding: 5%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
  color: #414141;
}

.service-box-2 {
  background-color: #414141;
  overflow: hidden;
  padding: 5%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
  color: #f0f0f0;
}

.SERVICE {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.titleBIG {
  font-size: 15rem;
  text-align: center;
  font-family: agenda-one, sans-serif;
  font-weight: 300;
  font-style: normal;
}

.titleMINI {
  text-align: center;
}

.line-1 {
  border-bottom: 0.5px solid #414141;
  text-align: center;
}

.line-2 {
  border-bottom: 0.5px solid #f0f0f0;
  text-align: center;
}


/*********以下AI*********/
/* メディアクエリ（スマホ対応） */
@media screen and (max-width: 768px) {

  /* サービスセクション */

  .title-h2 {
    font-size: 20px;
  }

  .title-h3 {
    font-size: 16px;
  }

  .titleBIG {
    font-size: 40px;
  }

  .titleMINI {
    font-size: 14px;
  }

  .line-1,
  .line-2 {
    font-size: 14px;
  }
}

/*********以上AI*********/


/*サービスここまで*/

/*代表挨拶*/
.MAP-mono img {
  filter: grayscale(100%);
  text-align: left;
  width: 65%;
  margin-left: 10%;
  margin-top: 5%;
}

.MESSAGE-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.MESSAGE-li1 {
  text-align: left;
  width: 50%;
  padding-left: 15%;
}

.MESSAGE-li2 {
  width: 50%;
}

.section-message {
  margin-bottom: 10%;
}

.message-big {
  font-size: large;
}

/*本文*/
.MESSAGE {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

/*本文ここまで*/

.SHAtyou img {
  width: 70%;
}

.message-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

/*代表挨拶ここまで*/

/*会社概要*/
.MAP-mono {
  filter: grayscale(100%);
  text-align: left;
}

.COMPANY-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-top: 100px;
}

.COMPANY-li1 {
  text-align: left;
  width: 50%;
  padding-left: 10%;
}

.COMPANY-li2 {
  width: 50%;
}

.COMPANY-li1 img {
  width: 50%;
  margin-left: 30%;
  margin-top: 5%;
}

.ENNKAKU th {
  width: 15%;

}

.ENNKAKU tr {
  vertical-align: baseline;
}

/*======================*/
/*********以下AI**********/
/* 画面幅が768px以下の時 */
@media (max-width: 768px) {
  .header-ul {
    flex-direction: column;
    text-align: center;
  }

  .MESSAGE-ul {
    flex-direction: column;
    align-items: center;
  }

  .MESSAGE-li1,
  .MESSAGE-li2 {
    width: 100%;
    margin-bottom: 20px;
    padding-right: 15%;
  }

  .COMPANY-li1 .COMPANY-li2 {
    width: 100%;
    margin-bottom: 20px;
  }


  /**/


  .COMPANY-ul {
    display: block;
  }

  .COMPANY-li1 {
    text-align: left;
    width: 100%;
  }

  .COMPANY-li2 {
    width: 100%;
  }

  iframe {
    width: 100%;

  }

  .MAP-mono {
    padding: 5%;
  }
}

/*********以上AI**********/


@media screen and (max-width: 768px) {

  .ENNKAKU {
    width: 80%;
  }

  .ENNKAKU th,
  .ENNKAKU td {
    border-bottom: none;
    display: block;
    width: 100%;
    margin: 1em;
  }
}

/*======================*/


/*会社概要ここまで*/










/*此処から下に3階層*/
/*此処から下に3階層*/
/*此処から下に3階層*/








/*メンバー３階層*/
.member-box3 {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 20%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: left;
}

/***********以下AI************/

/* メディアクエリ（スマホ用） */
@media (max-width: 768px) {

  .MEMBER3 {
    padding: 20px;
  }

  .member-box3 .kojin {
    width: 100%;
  }
}

/************以上AI*************/
/*メンバー３階層此処まで*/






/*3階層ここまで*/
/*3階層ここまで*/
/*3階層ここまで*/







/*インフォメーション*/
.info-box {
  padding: 0;
  text-align: center;
  position: relative;
  top: 100px;
}

.info-ul,
.service-rogo-ul,
.footer-ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.info-li1,
.info-li2 {
  width: 50%;
}

.info-li1 {
  text-align: right;
}

.info-li1 img {
  width: 45%;
  margin-right: 5rem;
}

.info-li2 {
  text-align: left;
  position: relative;
}

.info-text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.info-li2 p,
a {
  margin-bottom: 2rem;
}

.info-li3 {
  text-align: center;
}



.service-rogo {
  display: flex;
  margin-top: 5rem;
  margin-bottom: 0;
  justify-content: center;
}

.service-rogo-ul img {
  width: 15rem;
}

.service-rogo-ul img:hover {
  transform: scale(1.1);
  /* 拡大 */
  transition: 0.6s;
  opacity: 0.8;
}

.con_box {
  text-align: center;
  margin-top: 200px;
}

/*インフォメーションここまで*/

/* FOOTER */
footer {
  background: #414141;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  top: 100px;
}

.footer-box {
  position: relative;
}

.footer-menu {
  display: block;
  padding-right: 5% 0;
  margin: 2rem 0 5rem 0;
}

.footer-ul {
  text-align: left;
  justify-content: flex-end;
}

.footer-ul li {
  margin-right: 5rem;
}

.footer-ul li:last-child {
  margin-right: 0;
}

.footer-ul a {
  color: #fff;
  font-size: 1.4rem;
  line-height: 3rem;
  margin-left: 1rem;
}

.footer-ul a:hover {
  opacity: 0.6;
  transition: 0.4s;
}

.footer-ul p {
  border-bottom: solid 1px #fff;
  margin-bottom: 1rem;
}

.footer-box img {
  width: 20%;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-menu img {
  width: 30%;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-info {
  margin: 0.5rem 0 2rem 0;
}

.footer-copy {
  font-size: 1.2rem;
}

.footer-sns {
  width: 8%;
}

/* FOOTERここまで */





/*スマホ
------------------------------------------------------------*/
@media only screen and (max-width: 767px) {

  /*基本設定*/
  body {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 3.0rem;
  }

  h3 {
    font-size: 2.0rem;
  }


  .top-h2 {
    display: block;
    padding: 0 5%;
  }

  /*基本設定ここまで*/
  /*NAV*/

  .header-sns {
    height: 55%;
  }

  /*ヘッダー*/
  header {
    display: flex;
    justify-content: space-between;
    padding: 0;
    height: 80px;
    width: 100%;
  }

  .oz-rogo {
    height: auto;
    margin: 1rem 2rem 0 0.5rem;
    width: 90%;
  }

  .contact-box {
    display: none;
  }


  .header-li2 {
    width: 5%;
  }

  .header-li3 {
    width: 80px;
  }

  .nav-box,
  .nav-ul,
  .nav-ul li {
    display: block;
    width: 100%;
  }

  nav {
    height: auto;
    padding-right: 5%;
  }

  .nav.open-menu {
    height: auto;
  }

  .nav-ul {
    padding-right: 5%;
    line-height: 2rem;
    margin-bottom: 1rem;
    height: 100%;
    overflow-y: scroll;
  }

  .nav-ul li {
    margin-bottom: 1rem;
  }

  .nav-ul a {
    line-height: 3rem;
  }

  /*ヘッダーここまで*/

  /*メインビュー*/
  .main-view-box {
    width: 100%;
    height: 350px;
    overflow: scroll;
  }

  .main-view-box img {
    height: 100%;
  }

  .intoro-box {
    width: 100%;
    margin-top: 3rem;
    text-align: center;
  }

  .intoro-ul {
    display: block;
    padding: 0;
    margin: 0 0 0 0;
    list-style-type: none;
  }

  .intoro-ul li {
    width: 100%;
  }

  .intoro-img-box {
    text-align: center;
  }

  .intoro-img-box img {
    width: 50%;
    position: static;
    bottom: 0;
    left: 0;
    margin-top: 2rem;
  }

  .intoro-text {
    line-height: 2;
    text-align: center;
  }

  .intoro-text-p {
    display: inline-block;
    writing-mode: vertical-rl;
    position: static;
    right: 0;
    text-align: left;
  }

  /*メインビューここまで*/

  /* デザインについて */
  .design-about {
    background-image: url(../image/design-back.jpg);
    background-position: 96%;
    background-size: auto;
    padding: 5%;
    margin-top: 8rem;
  }

  .design-about-text {
    width: 100%;
  }

  .design-ul {
    display: block;
  }

  .design-li1 {
    width: 100%;
    line-height: 4rem;
    margin-right: 0;
  }

  .design-li2 {
    width: 100%;
    line-height: 4rem;
    font-size: 1.2rem;
  }

  .design-li2 span {
    padding: 0.2rem;
  }

  /* デザインについて ここまで */

  /* GALLERY */
  .gallery {
    padding: 0;
    text-align: left;
    margin-bottom: 5rem;
  }

  .gallery-box {
    height: 450px;
    overflow: scroll;
    margin-bottom: 2rem;
  }

  .gallery-ul {
    display: flex;
    list-style-type: none;
  }

  .gallery-box img {
    height: 350px;
    margin-top: 50px;
    margin-right: 30px;
  }

  /*========================================*/
  @media only screen and (max-width: 767px) {
    .gallery-box img {
      height: 100%;
      margin-top: 0px;
      margin-right: 0;
    }

    .gallery {
      padding: 0;
      margin-bottom: 5rem;
    }
  }

  /*=========================================*/
  .view-all {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  /* GALLERYここまで */

  /* SERVICE */
  .services {
    text-align: left;
  }

  .service-h3 {
    line-height: 2.0rem;
    margin-bottom: 1.0rem;
  }

  .service-h3-sub {
    font-size: 1.2rem;
  }

  .service-ul {
    display: block;
    width: 100%;
    text-align: left;
  }

  .service-li1 {
    border-left: none;
    width: 100%;
    padding-left: 5%;
  }

  .service-li2 {
    border-right: none;
    width: 100%;
    padding-right: 5%;
    position: static;
    border-bottom: solid 1px #414141;
    text-align: right;
  }

  .service-li2 img {
    width: 40%;
    object-fit: contain;
    position: static;
    bottom: 0;
    right: 0;
  }

  /* SERVICEここまで */

  /* スタッフブログ */
  .blog {
    margin-bottom: 5rem;
  }

  /* スタッフブログここまで */

  /*インフォメーション*/
  .info-box {
    padding: 0;
    text-align: center;
  }

  .info-ul,
  .footer-ul {
    display: block;
  }

  .info-ul {
    margin: 0 auto;
    width: 100%;
  }

  .info-li1,
  .info-li2 {
    width: 100%;
    text-align: center
  }

  .info-li1 img {
    width: 50%;
    margin: 0 auto 3rem;
  }

  .info-text {
    position: static;
    top: 0;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
  }

  .service-rogo {
    display: block;
    margin-top: 1rem;
  }

  .service-rogo-ul {
    display: flex;
    justify-content: space-evenly;
  }

  /*インフォメーションここまで*/

  /* FOOTER */
  footer {
    text-align: center;
    padding: 5%;
  }

  .footer-box {
    position: static;
  }

  .footer-menu {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .footer-ul {
    text-align: left;
    justify-content: flex-start;
    width: 100%;
  }

  .footer-ul li {
    margin-right: 0;
    margin-bottom: 4rem;
    width: 100%;
  }

  .footer-ul li:last-child {
    margin-right: 0;
  }

  .footer-ul a {
    color: #fff;
    font-size: 1.4rem;
    line-height: 3rem;
    margin-left: 1rem;
  }

  .footer-box img {
    width: 70%;
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .footer-menu img {
    width: 15%;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 3rem;
  }

  .footer-info {
    margin: 0.5rem 0 2rem 0;
  }

  .footer-copy {
    font-size: 1.2rem;
  }

  .footer-sns {
    width: 10%;
  }

  /* FOOTERここまで */
}



/* アーカイブボックス全体 */
.archive-box {
  padding: 4% 15%;
  background-color: #f0f0f0;
  width: 100%;
  margin: 0 auto;
}

/* 投稿一覧 */
.archive-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3列固定 */
  gap: 25px;
}

/* 各投稿項目 */
.archive-li {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.archive-li:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* サムネイル */
.archive-a img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5/3;
  object-fit: cover;
}

/* テキスト部分 */
.entry__text {
  padding: 10px 15px;
  text-align: left;
}

/* 日付 */
.entry__time time {
  text-align: left;
  font-size: 1.2rem;
  color: #888;
}

/* タイトル */
.entry__ttl {
  font-size: 1.5rem;
  margin-top: 8px;
  line-height: 1.4;
  text-align: left;
}

.entry__ttl a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.entry__ttl a:hover {
  opacity: 0.5;
}

@media screen and (max-width: 992px) {
  .archive-ul {
    grid-template-columns: repeat(2, 1fr);
    /* タブレットなど中サイズ画面は2列 */
  }
}

@media screen and (max-width: 600px) {
  .archive-ul {
    grid-template-columns: 1fr;
    /* スマホなど小さい画面は1列 */
  }
}


/*個別投稿ページ*/
.toukou-box {
  width: 100%;
  padding: 8em 8% 3em 8%;
}

.title-toukou {
  font-size: 22px;
  font-family: dnp-shuei-gothic-gin-std, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}


/*お問い合わせページ*/
.section_contact {
  width: 100%;
  margin-top: 12rem;
}

.containar-contact {
  display: flex;
}

.box-contact {
  width: 100%;
  margin: 0 20%;
}

@media screen and (max-width: 768px) {
  .box-contact {
    margin: 0 10%;
  }
}



.check_section,
.form-btn-box {
  text-align: center;
  margin: 0.5em 0;
}

.must {
  color: #d82533;
}


.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-name-ruby"],
.wpcf7 input[name="your-company"],
.wpcf7 input[name="your-company-ruby"],
.wpcf7 input[name="your-department"],
.wpcf7 input[name="your-postal-code"],
.wpcf7 input[name="your-address"],
.wpcf7 input[name="your-tel"],
.wpcf7 input[name="your-email"] {
  width: 100%;
  height: 30px !important;
  margin-bottom: 1em;
  font-size: 14px;
}

.wpcf7 input[type="checkbox"] {
  margin-bottom: 1.5em;
}

.wpcf7 textarea[name="your-message"] {
  width: 100%;
  height: 200px !important;
  font-size: 14px;
}

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 18px;
  width: 50%;
  padding: 0.5em 0;
  margin: 5px auto;
  background-color: #606060;
  border: none;
  color: #fff;
  cursor: pointer;
}

input[type=button].wpcf7-previous {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 18px;
  width: 50%;
  padding: 0.5em 0;
  margin: 5px auto;
  background-color: #fff;
  border: 1px solid #606060;
  color: #606060;
  cursor: pointer;
}

@media screen and (max-width: 768px) {

  input[type="submit"],
  input[type=button].wpcf7-previous {
    width: 70%;
    font-size: 14px;
  }
}

input[type="submit"]:hover {
  background-color: #ccc;
  color: #606060;
}

input[type=button].wpcf7-previous:hover {
  opacity: 0.5;
}

.wpcf7-spinner {
  display: none;
}

/*お問い合わせ　確認ページ*/
.confirmation p {
  margin-bottom: 1.5em;
}

/*お問い合わせ　完了ページ*/
.title-completion {
  text-align: center;
  font-size: 72px;
  color: #333;
  margin: 0;
}

.p-completion {
  text-align: center;
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 12% 30px;
}

/*お問い合わせページ ここまで*/


/*ギャラリー一覧ページ*/
.gallery-p-box {
  margin-top: 2.5em;
}

.gallery-item {
  width: calc((100% - 60px) / 4);
  /* gapが20px × 3 = 60px */
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .gallery-item {
    width: 100%;
    padding: 0 10%;
  }
}

.gallery-item h3,
.gallery-tag {
  font-family: dnp-shuei-gothic-gin-std, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  text-align: left;
  line-height: 1.0rem;
}

.gallery-item h3 {
  font-size: 1em;
  padding-left: 0.2em;
}

.gallery-item img {
  width: 293px;
  height: 413px;
  box-shadow: 3px 3px 5px #606060;
  transition: 0.4s;
}

.gallery-item img:hover {
  opacity: 0.6;
}

.gallery-tag {
  margin: 5% 0 3% 0;
  font-size: 1.2rem;
}

.gallery-tag:hover {
  opacity: 0.6;
}

.tag-filter-form {
  margin-bottom: 2em;
}

.tag-checkbox-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  padding: 0;
  justify-content: center;
}

.tag-checkbox-list li {
  display: inline-block;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media screen and (max-width: 768px) {
  .gallery-grid {
    flex-direction: column;
  }
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.archive-body {
  width: 100%;
}


/* タグ */
.tag {
  padding: 4px 0.7em;
  border-radius: 15px;
  font-size: 0.85em;
  text-decoration: none;
  color: #fff;
}

/* タグ別カラー（スラッグ名に合わせて追加） */
.tag-web {
  background-color: #2EC4B6;
}

.tag-illust {
  background-color: #ee2f85;
}

.tag-another {
  background-color: #3d3d3d;
}

.tag-flyer {
  background-color: #FF9F1C;
}

.tag-design {
  background-color: #9D4EDD;
}

.tag-pamphlet {
  background-color: #1cd9ff;
}

.tag-logo {
  background-color: #FF6B6B;
}

.tag-book {
  background-color: #6BCB77;
}



/*404ページ*/
.section_404 {
  width: 100%;
  margin-top: 12em;
}

.container_404 {
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.box_404 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .box_404 {
    flex-direction: column;
    gap: 10px;
  }
}

.rolling-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.h1_404 {
  font-size: 72px;
  color: #333;
  margin: 0;
}

.h2_404 {
  font-size: 20px;
  color: #333;
  margin: 15px 0 20px;
}

.container_404 p {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 12% 30px;
}

/*404ページ ここまで*/

.template {
  padding: 0;
  text-align: center;
  margin-bottom: 10rem;
  position: relative;
  top: 100px;
}

.template-box {
  background-color: #f0f0f0;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 5%;
  padding-top: 8rem;
  padding-bottom: 8rem;
  display: grid;
  flex-wrap: wrap;
  gap: 2em;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px){
  .template-box {
  grid-template-columns: 1fr;
  padding: 12%;
}
}

.item_template{
border: 1px solid;
padding: 1em;
}
