/*--------------------------------------------
Auter:Atsushi Honda
URL:https://sekilala-design.com
最適化版 - 重複を削除・統合
----------------------------------------------*/

/* ===================================
   基本設定
=================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 100px 0;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}

h1 {
  text-indent: -9999px;
  font-size: 1px;
  margin: 0;
}

a {
  color: #00ff00;
  text-decoration: none;
  transition: 0.5s;
  border-bottom: none;
}

a:hover,
a:visited {
  color: #00ff00;
}

/* ===================================
   レスポンシブ改行
=================================== */
@media (min-width: 768px) {
  .br-pc { display: block; }
  .br-sp { display: none; }
}

@media (max-width: 767px) {
  .br-pc { display: none; }
  .br-sp { display: block; }
}

/* ===================================
   共通：ボタンスタイル
=================================== */
.index_box{
width:100%;
}



.top_contact,
.top_about,
.top_news,
.moretext,
.online_link,
.contact_mail {
  font-family: "Zen Kaku Gothic New";
  font-weight: 100;
  color: #000;
  font-size: 20px;
  letter-spacing: 0.07em;
  text-align: center;
  cursor: pointer;
  border: 1px solid #00ff00;
  border-radius: 100vh;
  line-height: 36px;
}

.top_contact {
  width: 160px;
  height: 40px;
  right: 80px;
  top: 10px;
  position: fixed;
  z-index: 1001;
}

.top_about,
.top_news {
  width: 160px;
  height: 40px;
}

.top_about a,
.top_news a,
.moretext a {
  display: block;
}
.top_about {
  margin: -14px auto 140px auto;
}

.top_news {
  margin: 20px auto 140px auto;
}

.moretext {
  width: 200px;
  height: 40px;
  margin: 20px auto 140px auto;
}

.online_link {
  width: 280px;
  height: 40px;
  margin: 40px auto 80px auto;
}

.contact_mail {
  font-size: 18px;
  width: 320px;
  height: 40px;
  line-height: 40px;
  margin: 20px 0 0 0;
}

/* ===================================
   共通：テキストスタイル
=================================== */
/* タイトル系 */
.contents_title,
.award_title {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  font-size: 64px;
  font-weight: 100;
  line-height: 60px;
  letter-spacing: -1px;
  color: #00ff00;
  margin: 160px 0 40px 240px;
  clear: both;
}

/* アニメーション共通化 */
@keyframes fadeInUp {
  0% {
    transform: translate(0, -30px);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  0% {
    transform: translate(0, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.contents_title,
.award_title {
  animation: fadeInUp 2s forwards;
}

.about_text,
.contact_text,
.media_text_box,
.webmedia_text_box {
  animation: fadeInDown 2s forwards;
}

/* ===================================
   共通：サムネイルコンテナ（親）
=================================== */
.sam_top,
.sam_category02,
.sam_category03 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

/* TOP（大サムネ） */
.sam_top {
  justify-content: space-between;
  gap: 0;
}

/* NEWS / WORKS 共通グリッド */
.sam_category02 {
  justify-content: center;
  gap: 20px;
  margin: 40px auto 20px;
}

/* 下部コンテンツ */
.sam_category03 {
  justify-content: center;
  gap: 0;
    margin-bottom: 40px;
}

/* ===================================
   共通：サムネイルボックス（子）
=================================== */
.index_sambox_top,
.index_sambox_top_works,
.newsbox {
  flex-grow: 0;
  overflow: hidden;
  position: relative; /* ← absolute の基準を統一 */
}

/* ===================================
   TOP用サムネイル
=================================== */
.index_sambox_top {
  width: 100%;
  margin: 0 auto 20px;
}

.index_sambox_top::before {
  animation: img-wrap 3s cubic-bezier(.4, 0, .2, 1) forwards;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.index_sambox_top .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.index_sambox_top:hover .mask {
  opacity: 1;
}

/* ===================================
   WORKS用サムネイル
=================================== */


.index_sambox_top_works {
  width: 300px;
  overflow: hidden;
  position: relative;
}

.index_sambox_top_works::before {
  animation: img-wrap 3s cubic-bezier(.4, 0, .2, 1) forwards;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.index_sambox_top_works .mask {
  width: 300px;
  height: 300px;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.index_sambox_top_works:hover .mask {
  opacity: 1;
}

/* ===================================
   NEWS（基準）
=================================== */
.newsbox {
  width: 300px;
}

.newsbox .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.newsbox:hover .mask {
  opacity: 1;
}

/* ===================================
   共通：テキスト（サムネイル内）
=================================== */
.index_text_top,
.index_text_top_works,
.news_text_240 {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  font-weight: 400;
  width: 100%;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #000;
  margin: 44% auto 0;
}

.category_text_top,
.category_text_top_works,
.news_category_text_240 {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  font-weight: 400;
  width: 100%;
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 10px;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  color: #000;
}

.index_honbun_text_top,
.index_honbun_text_top_works {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  font-weight: 200;
  width: 100%;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 10px;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  color: #000;
}


/* ===================================
   MVV・About
=================================== */
.mvv {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  font-size: 20px;
  font-weight: 400;
  width: 1000px;
  margin: 40px auto 40px auto;
  line-height: 40px;
  letter-spacing: 1px;
  justify-content: center;
  color: #000;
  text-align: justify;
}

.mvv span {
  font-size: 28px;
  font-weight: 600;
  width: 1000px;
  line-height: 0;
  letter-spacing: 1px;
  text-align: left;
}

.about {
  margin: 0 0 80px 0;
}

.about_text,
.contact_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  margin: 5px 0 0 240px;
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-align: left;
}

.about_us_midashi {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  margin: 120px 0 0 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.1px;
  text-align: left;
  border-bottom: 2px solid #00ff00;
  display: inline-block;
}

.about_us_honbun {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  width: 80%;
  margin: 20px auto 40px 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-align: justify;
}

.online_honbun {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  width: 80%;
  margin: 20px auto 40px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-align: justify;
}


/* ===================================
   Media・Award
=================================== */


.media_box{ 
  width:100%;
  margin:140px 0 40px;
}


.media_sam_flame {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
}

.media_text_box,
.webmedia_text_box {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 600;
  width: 1100px;
  margin: 80px 0 40px 240px;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-align: left;
}

.media_sam {
  width: 280px;
}

.media_sam_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 300;
  width: 280px;
  margin: 4px 0 20px 10px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
}

.media_sam_text span {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
}

.interview_sam_text {
  font-family: "Zen Kaku Gothic New";
  font-weight: 100;
  margin: 0 0 4px 240px;
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000;
}

.interview_sam_text span {
  font-weight: 400;
  font-size: 20px;
  width: 80%;
  margin: 0 auto 4px 0;
  line-height: 32px;
  letter-spacing: 0.07em;
  color: #000;
}

/* Media詳細ページ */
.media_photo {
  width: 54%;
  margin: 0 auto;
  border-radius: 0% 10% 10% 40%;
}

.media_title_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 400;
  width: 800px;
  margin: 0 0 0 240px;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1px;
  text-align: left;
  float: left;
}

.media_title_text span {
  font-weight: 300;
  font-size: 28px;
  line-height: 24px;
  letter-spacing: 0;
}

.media_text_02 {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 400;
  width: 800px;
  margin: 20px 0 20px 240px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1px;
  text-align: left;
  float: left;
}

/* Awards */
.awards_year {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 600;
  width: 800px;
  margin: 60px 0 20px 0;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 1px;
  text-align: left;
  clear: both;
}

.awards_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 200;
  width: 800px;
  margin: 0 0 0 240px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 1px;
  text-align: left;
  float: left;
}

.awards_text span {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #000;
}

.midashi {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-weight: 200;
  margin: 5px 0 0 0;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
}

.midashi a {
  color: #000;
}

.midashi a:hover {
  color: #000;
}

.midashi span {
  font-weight: 400;
  margin: 5px 0 0 0;
  font-size: 24px;
  letter-spacing: 0;
  color: #00ff00;
}

/* ===================================
   Works
=================================== */


.works {
  width: 100%;
  margin: 0 0 140px 0;
}
.works_box {
  width: 100%;
  margin: 0;
}
.works-images {
  margin: 0;
  padding: 0;
}
.works-images li {
  list-style: none;
  margin-bottom: 0px; /* 好きな余白 */
}
.photo {
  width: 60%;
  margin: 0 auto;
  padding: 0; 
}
.photo img {
  display: block;
}


/* Works text */
.top_title,
.top_title_s,
.credit_text,
.material_text,
.processing_text,
.credit_awards_text,
.books_text,
.web_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  width: 800px;
  margin: 160px auto 30px auto;
  font-size: 32px;
  font-weight: 100;
  line-height: 40px;
  letter-spacing: 0.04em;
}

.top_title_s {
  margin: -30px auto 40px auto;
  font-size: 20px;
  line-height: 22px;
}

.works_consept {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  margin: 80px auto 0 auto;
  font-size: 14px;
  font-weight: 100;
  line-height: 32px;
  letter-spacing: 0;
  width: 800px;
  text-align: justify;
}

.credit_text {
  margin: 60px auto 60px auto;
  font-size: 14px;
  line-height: 20px;
}
.credit_text dl {
  display: flex;
  flex-wrap: wrap;
}
.credit_text dt {
  width: 220px; /* 左側の幅 */
  font-weight: normal;
}
.credit_text dd {
  width: calc(100% - 220px); /* 残りの幅 */
  margin: 0;
  margin-bottom: 0.5em;
}

.material_text,
.processing_text,
.credit_awards_text,
.books_text,
.web_text {
  margin: 20px auto 60px auto;
  font-size: 14px;
  line-height: 32px;
  color: #000;
}

.credit_awards_text a,
.books_text a,
.web_text a {
  color: #00ff00;
}


/* ===================================
   固定要素
=================================== */
.sekilala_text {
  width: 200px;
  right: 10px;
  bottom: 30px;
  position: fixed;
  z-index: 999;
}

.copyright {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #a9a9a9;
  width: 600px;
  font-weight: 300;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.1em;
  right: -154px;
  bottom: 20px;
  position: fixed;
  z-index: 999;
}

.sns {
  width: 200px;
  height: 25px;
  right: -180px;
  bottom: 50%;
  margin: 0 20px 0 0;
  float: left;
  position: fixed;
  text-align: center;
}

.fb {
  width: 30px;
  font-weight: 100;
  letter-spacing: 0.02em;
  margin: 0;
  float: left;
  color: #000;
}

.dezain_logo,
.humanerror_logo {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  width: 200px;
  height: 25px;
  bottom: 60px;
  margin: 0 20px 0 0;
  letter-spacing: 0.04em;
  float: left;
  position: fixed;
  text-align: center;
}

.dezain_logo {
  right: 20px;
}

.humanerror_logo {
  right: -64px;
}

.privacy {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #a9a9a9;
  font-size: 10px;
  left: 20px;
  bottom: 20px;
  margin: 0 20px 0 0;
  letter-spacing: 0.04em;
  float: left;
  position: fixed;
}

/* ===================================
   Online
=================================== */
.online {
  margin: 80px auto;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  width: 360px;
  height: 100px;
}

.online_text {
  font-feature-settings: "palt";
  font-family: "Zen Kaku Gothic New";
  color: #000;
  font-size: 12px;
  font-weight: 500;
  width: 268px;
  margin: 20px auto 0 auto;
  line-height: 20px;
  letter-spacing: 0.07em;
  justify-content: center;
  text-align: justify;
}

/* ===================================
   index_empty
=================================== */
.index_empty_top_works {
  width: 280px;
  flex-grow: 0;
  margin: 0 auto 20px auto;
  overflow: hidden;
  position: relative;
}

/* ===================================
   Menu
=================================== */
.menu_back {
  display: none;
}

.spmenu_btn,
.spmenu_btn::before,
.spmenu_btn::after,
.spmenu {
  display: none;
}

/* PC Menu */
.pcmenu {
  font-family: "Zen Kaku Gothic New";
  font-size: 20px;
  font-weight: 100;
	letter-spacing:0.07em;
  position: fixed;
  inset: 0;
  text-align: center;
    display: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);}


.pcmenu ul {
  list-style: none;
  margin: 8em 0 1em;
  padding: 0;
}

.pcmenu a {
  color: #00ff00;
  text-decoration: none;
}

.tagbox {
  margin-bottom: 120px;
    
  text-align: center;
}
.tag {
  font-family: "Zen Kaku Gothic New";
  font-weight: 100;
  text-align: center;
}
.tag {
  font-size: 40px;
  margin-top: 32px;
  letter-spacing: 1px;
}
.tag a {
  color: #00ff00;
}

/* Hamburger button */
.pcmenu_btn {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 30px;
  height: 10px;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1001;
}

.pcmenu_btn::before,
.pcmenu_btn::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background: #00ff00;
  right: 0;
  transition: transform 0.3s;
}

.pcmenu_btn::before {
  top: 4px;
}

.pcmenu_btn::after {
  bottom: -2px;
}

.pcmenu_btn.active::before,
.pcmenu_btn.active::after {
  top: 100%;
  bottom: auto;
  transform-origin: center;
}

.pcmenu_btn.active::before {
  transform: translateY(-50%) rotate(45deg);
}

.pcmenu_btn.active::after {
  transform: translateY(-50%) rotate(-45deg);
}



/* ===================================
   Works サムネイル（240px版）
=================================== */
.sam_category,
.sam_top_works {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.sam_category::after,
.sam_top_works::after {
  content: "";
  flex: auto;
}
.sam_top_works {
  margin: 240px auto 20px auto;
  gap: 0;
}

.index_sambox_240 {
  width: 200px;
  margin: 0 auto 0 auto;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease;
  flex-grow: 0;
}

.index_sambox_240.is-show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.index_sambox_240.is-hide {
  display: none !important;
}

/* 削除 or コメントアウト
.index_sambox_240:nth-child(3n+1) {
  transition-delay: 0.15s;
}

.index_sambox_240:nth-child(3n+2) {
  transition-delay: 0.35s;
}

.index_sambox_240:nth-child(3n) {
  transition-delay: 0.55s;
}
*/

.index_sambox_240::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.index_sambox_240 .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.8);
  transition: opacity 0.2s ease;
}

.index_sambox_240:hover .mask {
  opacity: 1;
}

.index_empty_240 {
  width: 100%;
  margin: 0 0 20px;
}

.photo_240 {
  width: 100%;
}

.photo_240 img,
.photo_240 video {
  width: 100%;
  display: block;
}

.index_text_240 {
  font-family: "Zen Kaku Gothic New";
    font-weight: 400;
    width: 100%;
  margin-top: 44%;
  font-size: 12px;
    line-height: 18px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #000;
}

.category_text_240 {
  font-size: 14px;
  margin-top: 24px;
  text-align: center;
  cursor: pointer;
}

.index_honbun_text_240 {
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}



/* ===================================
   Works Filter
=================================== */
.works-filter,
.works-filter-02 {
  font-family: "Zen Kaku Gothic New";
  display: flex;
  gap: 24px;
  letter-spacing: 0.1em;
  margin: 20px 0 0 40px;
}

.works-filter {
  font-size: 16px;
  margin-top: 16px;
}

.works-filter-02 {
  font-size: 12px;
}

.works-filter input,
.works-filter-02 input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.works-filter label,
.works-filter-02 label {
  cursor: pointer;
}

.works-filter span,
.works-filter-02 span {
  color: #b5b5b5;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.works-filter span::after,
.works-filter-02 span::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #00ff00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.works-filter label:hover span,
.works-filter-02 label:hover span,
.works-filter input:checked + span,
.works-filter-02 input:checked + span {
  color: #00ff00;
}

.works-filter label:hover span::after,
.works-filter-02 label:hover span::after,
.works-filter input:checked + span::after,
.works-filter-02 input:checked + span::after {
  transform: scaleX(1);
}

.works-filter-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

/* ===================================
   Hidden Elements
=================================== */
#pattern-a,
#pattern-b {
  display: none;
}
/* ===================================
   最下のマージン
=================================== */
.page-bottom-space {
  height: 100px;
}


/* ===== デバッグ用：遅延をすべて無効化 ===== */
.index_sambox_240 {
  transition-delay: 0s !important;
}