@charset "UTF-8";

/* -------------------------------------------
   通常の挿入画像
------------------------------------------- */
.project .text_area_layout > img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 30px 0;
  border-radius: 0;
}


/* -------------------------------------------
   パーティクル生成後はDOMテキストを隠す
------------------------------------------- */
.project.fx-active .text_area_layout{
  visibility: hidden;
}


/* ===== 基本タイポグラフィ ===== */
.project h1, .project h2 {
margin: 25px 0 20px 0;
padding: 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 31px;
font-size: 8.2666666vw;
font-size: clamp(30px, 8.2666666vw, 32px);

line-height: 1.1;
color: #000;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.project .english p {
margin: 0 0 30px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 31px;
font-size: 8.2666666vw;
font-size: clamp(30px, 8.2666666vw, 32px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.project .small_english p {
margin: 0 0 0 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 15px;
font-size: 4vw;
font-size: clamp(14px, 4vw, 16px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.project .japanese p {
margin: 0 0 30px 0;

/* Noto Sans - Google */
font-family: YakuHanJPs, "swiss-721-bt","Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 28px;
font-size: 7.4666666vw;
font-size: clamp(27px, 7.4666666vw, 29px);

color: #000;
line-height: 1.3;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}




/* リスト */
ul.project-list {
list-style: none;

margin: 0 auto;
padding: 0;
width: 90%;


font-family: "helvetica-neue-lt-pro", sans-serif;
font-weight: 400;
font-style: normal;

font-size: 11px;
}

/* 各リスト */
ul.project-list li.project-item {
position: relative;
display: block;
margin: 0 0 150px 0;
}

ul.project-list li.project-item:first-child{
margin: 110px 0 150px 0;
}


/* リンク部分のスタイリング（縦並び） */
.text-link {
position: relative;
z-index: 1;

padding: 16px 0;
width: 100%;

color:#000;
line-height: 1.5;
}

.text-link a{
color:#000;
}

/* 画像リンク（スマホでは画像にもリンクを効かせる） */
.img-link {
text-align: left;
text-decoration: none;
}

.num {
text-align: left;
display: block;
}

.date_works_archive {
text-align: left;
display: block;
}

.page_project .title {
display: block;
text-align: left;
}


.tags {
width: 100%;
display: block;
}

/* 画像はテキストの上にインライン常時表示 */
.hover-img {
display: block;
width: 100%;
max-width: 100%;
margin: 0 0 10px 0;
}



/* スマホ終了
------------------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {

.project .text_area_layout > img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 40px 0;
  border-radius: 0;
}

.project.fx-active .text_area_layout{
  visibility: hidden;
}




.project h1, .project h2 {
margin: 0 0 30px;
padding: 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 50px;
font-size: 3.4722222vw;
font-size: clamp(48px, 3.4722222vw, 52px);

color: #000;
line-height: 1.3;

letter-spacing: -0.01em;
font-feature-settings: "liga" 1, "pnum" 1;
}

.project .english p {
margin: 0 0 31px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 50px;
font-size: 3.4722222vw;
font-size: clamp(48px, 3.4722222vw, 52px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.project .small_english p {
margin: 0 0 31px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 18px;
font-size: 1.25vw;
font-size: clamp(16px, 1.25vw, 20px);

line-height: 1.1;
color: #000;

letter-spacing: -0.02em;
font-feature-settings: "liga" 1, "pnum" 1;
}

.project .japanese p {
margin: 0 0 31px 0;

/* Noto Sans - Google */
font-family: YakuHanJPs, "swiss-721-bt","Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-weight: 600;
font-style: normal;

/*FONT 1440px計算*/
font-size: 42px;
font-size: 2.9166667vw;
font-size: clamp(40px, 2.9166667vw, 44px);

line-height: 1.2;
color: #000;
letter-spacing: 0.0em;
}








ul.project-list {
width: 100%;
margin: 0;
padding: 0 0 0 0;
}



/* 各リスト */
ul.project-list li.project-item {
position: relative;
display: block;

width: 100%;
margin: 0;
padding: 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 35px;
font-size: 2.4305556vw;
font-size: clamp(33px, 2.4305556vw, 37px);

color: #000;
line-height: 1.0;

letter-spacing: -0.01em;
font-feature-settings: "liga" 1, "pnum" 1;
}


ul.project-list li.project-item:first-child{
margin: 0;
}


ul.project-list li.project-item:hover{

}

/* リンクを横並びに */
.text-link {
margin: 0;
padding: 0 0 25px 0;


width:100%;
display:grid;
grid-template-columns: 60px 50% auto 100px;

line-height: 1.1;
color:#000;
}


.text-link.is-active {
mix-blend-mode: difference;
color: #fff;
}

.text-link.is-active a {
color: #fff;
}



/* マウスオーバー */
.text-link:hover {
color:#555;
}


/* PCでは画像リンクを無効化 */
.img-link {
pointer-events: none;
display: contents;
}


/* 4つのカラムの幅設定 */
.num {
margin: 0;
padding: 0;
}

/*タイトル*/
.page_project .title {
width: auto;

padding: 0 40px 0 0;
padding: 0 40px 0 0;
box-sizing: content-box;
text-align: left;

}

/*タグ*/
.tags {
margin: 0;
padding: 0 40px 0 0;
}

/*日付*/
.date_works_archive{
margin: 0;
padding: 0;
text-align: left;
}


/* 画像は中央に浮かび上がる表示（テキストの背面） */
/* .hover-img が div でも img でも位置・フェードはここ */
.hover-img {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: auto;
max-width: 80vw;
max-height: 80vh;
margin: 0;
opacity: 0;
pointer-events: none;
z-index: 0;
}
/* img 自身に直接クラスが付くパターン */
img.hover-img {
width: auto;
height: auto;
max-width: 80vw;
max-height: 80vh;
object-fit: contain;
border-radius: 0;
}
/* div.hover-img > picture > img のパターン */
.hover-img img {
display: block;
width: auto;
max-width: 80vw;
height: auto;
max-height: 80vh;
object-fit: contain;
margin: 0;
border-radius: 0;
}

/* マウスオーバー時の画像表示 */
.project-item:hover .hover-img {
opacity: 1;
}



}/*PC終了*/
















/* -------------------------------------------
   パーティクル調整パネル
------------------------------------------- */
.project #panel{
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;

  width: 440px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 10px 12px;

  background: rgba(20,20,20,.88);
  color: #eee;

  font-family: monospace;
  font-size: 11px;

  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.project #panel #panel-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.project #panel #panel-body > #apply,
.project #panel #panel-body > .note{
  grid-column: 1 / -1;
}

.project #panel .panel-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.project #panel button{
  background: #333;
  color: #eee;
  border: 1px solid #555;
  border-radius: 4px;

  font-family: monospace;
  font-size: 11px;
  cursor: pointer;

  padding: 2px 8px;
}

.project #panel #toggle{
  padding: 0 8px;
  line-height: 1.4;
}

.project #panel label{
  display: block;
  clear: both;

  margin: 7px 0;
  line-height: 1.5;
}

.project #panel input[type="range"]{
  display: block;
  width: 100%;
  margin-top: 3px;
}

.project #panel input[type="number"]{
  float: right;
  width: 60px;

  background: #2a2a2a;
  color: #7fd;

  border: 1px solid #555;
  border-radius: 3px;

  font-family: monospace;
  font-size: 11px;
  text-align: center;

  padding: 1px 2px;
}

.project #panel #apply{
  width: 100%;
  margin-top: 6px;
  padding: 4px;
}

.project #panel .note{
  margin-top: 6px;
  color: #999;
  line-height: 1.4;
  font-size: 10px;
}

.project #panel.collapsed #panel-body{
  display: none;
}
