@charset "UTF-8";

html {
  font-size: 100%;
}
/*
フッターを画面下に配置するために、
「position: relative;」を設定
「min-height」で最小の高さを画面の高さにあわせる
*/
body {
  color: #272727;
  font-size: 0.875rem;
  min-height: 100vh;
  position: relative;
  /* font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", "Albert Sans", sans-serif; */
  font-family: "Montserrat", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
a {
  color: #272727;
  text-decoration: none;
  transition: all 0.5s;
}
a:hover {
  opacity: 0.5;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
.content {
  padding-top: 120px;
  padding-bottom: 160px;
}
.site-title a {
  width: 180px;
  line-height: 1px;
  display: block;
}
.page-title {
  font-size: 0.875rem;
  font-weight: normal;
  margin-bottom: 30px;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
「position: fixed;」でヘッダーを固定し、「z-index: 10;」で前面に表示
※他のコンテンツでpositionをrelative、absolute、fixedのいずれかに
設定している場合は、z-indexの数値が大きい方が前面に表示される
*/
#header {
  width: 100%;
  height: 80px;
  /* background-color: #fff; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  padding: 28px 35px 0 35px;
  left: 0;
  right: 0;
  z-index: 10;
}
/*
ハンバーガーメニュー
メニューが閉じている時は、「left: -300px;」で画面左に隠し、
「opacity: 0;」で非表示にしている
*/
#navi {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  color: #fff;
  padding: 36px 50px;
  transition: all 0.5s;
  z-index: 20;
  opacity: 0;
}
#navi a {
  color: #fff;
}
#navi li {
  margin-bottom: 14px;
}
/*
ハンバーガーメニュー
メニューが開いている時は、「left: 0;」「opacity: 1;」で
画面左に表示する
*/
.open #navi {
  left: 0;
  opacity: 1;
}
.toggle_btn {
  width: 30px;
  height: 30px;
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 20;
}
/*
ハンバーガーメニューの線の設定（メニューが閉じている時）
*/
.toggle_btn span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all 0.5s;
}
/*
1本目の線の位置を設定
*/
.toggle_btn span:nth-child(1) {
  top: 10px;
}
/*
2本目の線の位置を設定
*/
.toggle_btn span:nth-child(2) {
  bottom: 10px;
}
/*
ハンバーガーメニューの線の設定（メニューが開いている時）
線の色を白に変更
*/
.open .toggle_btn span {
  background-color: #fff;
}
/*
1本目の線を-45度回転
*/
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(4px) rotate(-45deg);
  transform: translateY(4px) rotate(-45deg);
}
/*
2本目の線を45度回転
*/
.open .toggle_btn span:nth-child(2) {
  -webkit-transform: translateY(-4px) rotate(45deg);
  transform: translateY(-4px) rotate(45deg);
}
#mask {
  display: none;
  transition: all 0.5s;
}
/*
メニューを開いている時は、全体を黒背景にする
*/
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 10;
  cursor: pointer;
}

/*-------------------------------------------
TOP、PRODUCTS
-------------------------------------------*/

#mainvisual {
  padding-top: 80px;
  height: 500px;
  position: relative;
  /* background-color: lab(92.23% -12.24 85.4); */
}

.icon {
  width: 300px;
  height: 300px;
  margin: 50px auto 0;
  animation: rotateAnimation 10s linear infinite;
}

.about {
  /* background-color: #d4d4d4; */
}

.maincopy {
  font-size: 7rem;
  font-weight:500;
  line-height:1.5;
  margin-top: 0px;
  margin-bottom: 80px;
}

.extend {
  background-color: #efefef;
}

#top {
  padding-top: 120px;
  padding-bottom: 160px;
  /* background-color: #e2e2e2; */
}

.section_title{
  /* display: flex;
  justify-content: center; */
  font-size:1rem;
  font-weight: normal;
  letter-spacing: 0.2cap;
  padding-bottom: 40px;
  margin: 0 auto;
  /* max-width: 1360px;
  width: 100%; */
}

.category_title{
  font-size:1rem;
  font-weight: normal;
  letter-spacing: 0.2cap;
  padding-bottom: 64px;
  margin: 0 auto;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px;
}
/*
vertical-align: top;
画像の下にできる隙間を消す
*/
.product-list img {
  margin-bottom: 12px;
  vertical-align: top;
}
.product-list p {
  margin-left: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.2cap;
}
.link-text {
  display: block;
  margin-top: 40px;
  text-align: center;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pagination li {
  padding: 0 20px;
}

/*-------------------------------------------
WORKS
-------------------------------------------*/
.works_wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px 180px;
}

.works-title {
  font-size:large;
  font-weight: 100;
  text-align: center;
  padding: 100px 0 30px;
  letter-spacing: 0.2cap;
}

.works_year {
  text-align: center;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.2cap;
}

.tag {
  text-align: center;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.2cap;
  padding: 10px 0 72px;
}

.comment {
  margin-bottom: 40px;
  padding-bottom: 64px;
  /* border-bottom: #d6d6d6 solid;
  border-width: 1px; */
}

.works_comment {

}

.client_name {
  font-size: medium;
  padding: 8px 0 12px 0;
    letter-spacing: 0.2cap;
}

.works_image {
  /* padding: 40px; */
}

.works_image img {
  margin-bottom: 24px;
}

.bg_yukariheart {
  background-image: url("../img/yukariheart_mv.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 35% bottom 45%;
}

.bg_smilefactory {
  background-image: url("../img/smilefactory_mv.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 35% bottom 45%;
}

#item {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
#item .item-text {
  width: 42%;
}
/*
text-align: justify;
テキストの両端を揃える
*/
#item .item-text p {
  margin-bottom: 30px;
  text-align: justify;
}
#item .item-text dl {
  display: flex;
  flex-wrap: wrap;
}
#item .item-text dt {
  width: 30%;
}
#item .item-text dd {
  width: 70%;
}
#item .item-img {
  width: 50%;
}

/*-------------------------------------------
ABOUT
-------------------------------------------*/
#about {
  max-width: 600px;
}
#about p {
  line-height: 1.9;
  margin-bottom: 30px;
}

/*-------------------------------------------
COMPANY
-------------------------------------------*/
#company {
  max-width: 600px;
}
#company dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#company dt {
  width: 30%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px 10px;
}
#company dt:last-of-type {
  border-bottom: none;
}
#company dd {
  width: 70%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px 10px;
}
#company dd:last-of-type {
  border-bottom: none;
}
#company .map {
  /* グーグルマップをグレースケールにする */
  filter: grayscale(1);
}
/* グーグルマップのサイズを設定 */
#company .map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
/*
「position: absolute;」を設定して、フッター位置を画面下に設定
「left: 0;」「right: 0;」で中央に配置
*/
#footer {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}
#footer .menu {
  display: flex;
}
#footer .menu li {
  font-size: 0.75rem;
  margin-right: 30px;
}
#footer .copyright {
  font-size: 0.7rem;
  letter-spacing: 0.1cap;
}

/*-------------------------------------------
フォーム
-------------------------------------------*/

form {
  margin: 50px 0;
  padding: 0;
}

input:focus{
background: #e2ff3e;
}

.text {
  white-space: pre-wrap;
  border: 1px solid #D9D9D9;
  background: white;
  padding: 15px 15px;
  margin: 5px 0 20px;
  border-radius:5px;
  border: none;
  min-width: 375px;
}

#message {
  white-space: pre-wrap;
  border: 1px solid #D9D9D9;
  background: white;
  padding: 15px 15px;
  margin: 5px 0 20px;
  border-radius:5px;
  border: none;
  min-width: 375px;
  min-height: 200px;
  width: 50%;
}

textarea:focus{
background: #bebeff;
}

.submit {
  background: #2A292F;
  color: white;
  line-height: 1;
  height: auto;
  padding: 23px;
  margin: 24px 0 0;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.4;
  width: 50％;
  min-width: 375px;
}

.submit:hover {
  background-color: rgb(135, 135, 135);
  transition: 0.5s;
  /* color: #272727;; */
}

.button {
  background: #d8d8d8;
  color: rgb(134, 133, 133);
  line-height: 1;
  height: auto;
  padding: 23px;
  margin: 24px 0;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.4;
  width: 20％;
  min-width: 100px;
}

.back {
  background: #fefefe;
  line-height: 1;
  border: #272727;
  border-style: solid;
  border-width: 1px;
  height: auto;
  padding: 23px;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.4;
  width: 50％;
  min-width: 375px;
}

.top_back {
  background: #2A292F;
  color: white;
  line-height: 1;
  height: auto;
  padding: 23px;
  margin: 24px 0 0;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.4;
  width: 50％;
  min-width: 375px;
  max-width: 300px;
}

.top_back_link {
  color: white;
  display: block;
}

.submit:hover {
  background-color: #272727;
  transition: 0.5s;
}

table {
  color: #272727;
  font-size: 0.875rem;
  margin: 50px 0;
  padding: 0;
}

td {
  font-size: 0.875rem;
}
/* .btn_block {
  width: 100%;
} */

.contact_page {
  background-color: #efefef;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {

  /*-------------------------------------------
  TOP、PRODUCTS
  -------------------------------------------*/
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  /*-------------------------------------------
  ITEM
  -------------------------------------------*/
  #item {
    flex-direction: column;
  }
  #item .item-text {
    width: 100%;
  }
  #item .item-img {
    width: 100%;
    margin-bottom: 30px;
  }

  /*-------------------------------------------
  COMPANY
  -------------------------------------------*/
  #company dl {
    flex-direction: column;
  }
  #company dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 5px;
  }
  #company dd {
    width: 100%;
    padding-top: 5px;
  }

  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  #footer {
    flex-direction: column;
  }
  #footer ul.menu {
    margin-bottom: 5px;
  }
}



/* 回転アニメーションの定義 */
@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}