@charset "UTF-8";
/* CSS Document */
/*
タイトル(main__h1)のフォントサイズのコード解説 (参考：https://lpeg.info/html/css_calc_font.html)

vw: ビューポート幅の1%を表します。
320px: 最小幅（例えば、スマートフォン）この数値は、プロジェクトに合わせて調整する。
1440px: 最大幅（例えば、デスクトップ）この数値は、プロジェクトに合わせて調整する。

このコードでは、以下の計算が行われます。

(60 - 30): 最大フォントサイズと最小フォントサイズの差を求めます。
(100vw - 320px) / (1440 - 320): ビューポート幅から最小幅を引いた値を、最大幅と最小幅の差で割ることで、0から1の範囲の値を得ます。
30px + (60 - 30) * ...: 最小フォントサイズに、計算結果をかけた値を加算することで、最終的なフォントサイズを決定します。
*/
/*====================
　　タイトル
====================*/
/*共通*/
.main {
  padding-top: 0;
}
.main__h1 {
  color: #D7C4A5;
  font-weight: 400;
  letter-spacing: 0.875em; /* 14px / px-rem変換：https://hp-html.jp/px/ */
  font-size: calc(30px + (60 - 30) * ((100vw - 320px) / (1440 - 320))); /* 最小フォントサイズ30px、最大フォントサイズ60px、ビューポート幅を基準に計算 */
}
.letter-space {
  margin: 0 0.1em 0 0.3125em;
}
@media screen and (min-width: 1440px) { /*フォントサイズの最大値をここで指定*/
  .main__h1 {
    font-size: 64px;
  }
}
.main__title-erea {
  height: 100vh;
  position: relative;
}
/*
@media screen and (min-width: 768px) {
  .main__title-erea {
  background-image: url("../images/top_images/top-bg.png"); 以下、背景画像設定
  background-repeat: no-repeat;
  background-position: right bottom;
  background-color: rgba(255, 255, 255, 0.3); 画像を薄く
  background-blend-mode: lighten; 画像を薄く
  background-size: 50%;
  }
}
*/
.js-text {
  color: #D7C4A5;
  margin-top: 20px;
}
/*SP*/
.main__title-wrap {
  position: relative;
  top: 30%;
}
/*PC*/
@media screen and (min-width: 768px) {
  .main__title-wrap {
    position: absolute;
    top: 35%;
  }
}
/*====================
トップのイメージ画像の切り替え
====================*/
/*共通*/
.swiper-wrap {
  margin: 10vh 0 0;
}
/*pc・spどちらも消してる*/
.sp-top_img {
  display: none;
}
.pc-top_img {
  display: none;
}
/*SP*/
/*
.sp-top_img {
  display: block;
}
.pc-top_img {
  display: none;
}
*/
/*pc*/
/*
@media screen and (min-width: 768px) {
  .sp-top_img {
    display: none;
  }
  .pc-top_img {
    display: block;
  }
}
*/
/*====================
　　リード文
====================*/
/*line-heightはデザインカンプのデータからcalcで指定*/
/*共通*/
.lead__p {
  margin: 10vh 0 0;
  line-height: calc(32 / 14); /*フォントサイズ14px、行間32px*/
}
.lead__p-link {
  display: block;
  text-align: left;
  margin-top: 20px;
}
.lead__p-link::before {
  content: '';
  display: inline-block;
  color: #D7C4A5;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.64952em;
  border-left-color: currentColor;
}
.slide-img img { /*画像サイズの指定*/
  width: 100%;
}
/*PC*/
@media screen and (min-width: 768px) {
  .slide-img picture { /*親要素にgridのセンター指定*/
    display: grid;
    justify-items: center;
  }
  .slide-img img { /*画像サイズの指定*/
    width: clamp(400px, 55vw, 800px);
    height: auto;
  }
  .lead__p {
    line-height: calc(64 / 16); /*フォントサイズ16px、行間64px*/
  }
  .lead__p-link {
    text-align: left;
    margin-top: 20px;
  }
}
/*================================
 br 890
=================================*/
.br890 {
  display: none;
}
@media screen and (min-width: 890px) {
  .br890 {
    display: block;
  }
}
/*================================
 ホバーしたら薄くなる
=================================*/
.lead a:hover {
  opacity: .5;
}
/*====================
　　WORKS
====================*/
/*カテゴリー名の並び*/
/*共通*/
.filter-list {
  display: flex;
  line-height: 1;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  font-weight: 300;
}
.filter-list li {
  width: calc(100% / 4);
  text-align: center;
  background: #fff; /*eee*/
  border: 2px solid #fff;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-list li.is-active {
  background: #D7C4A5;
  color: #271400;
  border-radius: 4px;
}
/*sp*/
.filter-item li {
  padding: 40px 0;
  /*
  border: 2px solid #fff;
  background: #eee;
  text-align: center;
*/
}
.item-ic {
  display: block;
  color: #D8D8D8;
  font-size: 0.875em; /*14px*/
}
.item-cate {
  display: inline-block;
  border: .5px solid #D7C4A5;
  /*    background-color: #D7C4A5;*/
  color: #D7C4A5;
  border-radius: 2px;
  padding: 0 3px;
  line-height: 1.5;
}
.item-cate_wrapper {
  display: block;
}
/*pc*/
@media screen and (min-width: 768px) {
  .filter-item {
    display: flex;
    flex-wrap: wrap;
  }
  .filter-item li {
    width: calc(100% / 3.3);
    padding: 40px 1.2vw;
    /*
  border: 2px solid #fff;
  background: #eee;
  text-align: center;
*/
  }
}
/*STUDIOアイコン*/
/*共通*/
.studio-icon::after {
  content: "";
  display: inline-block;
  width: 70px;
  height: 20px;
  margin-bottom: -5px;
  background: url(../images/top_images/studio_logo.png) no-repeat;
  background-size: contain;
  position: relative;
}
/*カテゴリ別背景　後で消す？*/
.filter-item li[data-item="web"] {
  /*  background: #F7D1D1;*/
}
.filter-item li[data-item="bunner"] {
  /*  background: #D1EDF7;*/
}
.filter-item li[data-item="photograph"] {
  /*  background: #D1F7D8;*/
}
/*------------------------------------------------
テキストアニメーション　一文字ずつ表示される
------------------------------------------------*/
.js-text span {
  opacity: 0;
}