@charset "utf-8";
/* ============================================================================== 作品個別ページ ==========================*/

.project-box-top{
	background: #09152e;
	margin-top: 50px;
}

@media screen and (min-width: 960px) {
	.project-box-top{
		margin-top: 80px;
	}
}
.project-box{
	background: #09152e;
	margin-top: 50px;
}

@media screen and (min-width: 960px) {
	.project-box{
		margin-top: 80px;
	}
}

.project{
	max-width: 1000px;
	/* height: 400px; 画像を入れたら消す */
	margin: 0 auto;
	background: #09152e;
}

.project img{
	max-width: 1000px;
	width: 100%;
	height: auto;
}

/*=========================================== 基本の表デザイン */

.project-table-container {
    width: 100%;
    background: #e6e7f1;
    padding-top: 2em;
    padding-bottom: 3em;
    font-weight: bold;   
}


.project-table-container table {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    margin: 20px auto 0;
    font-size: 18px;
    text-align: left;
    table-layout: auto; /* 自然な幅調整を許可 */
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0px 0px 7px 2px rgba(5, 30, 122, 0.4);
}

.project-table-container th, 
.project-table-container td {
    padding: 12px;
    /* border: 1px solid #10094e; */
    word-wrap: break-word; /* 単語の途中でも折り返し */
}

.project-table-container th {
    background-color: #4c4d74;
    white-space: nowrap; /* ヘッダーの折り返しを防ぐ */
    color: #fafaff;
}

.project-table-container td {
    background-color: #ffffff;
    font-size: 16px;
    color: #363447;
}

.project-table-container td a{
    color: #10094e;
    text-decoration: underline;
}
.project-table-container td a:hover{
    color: #41191d;
}

.project-table-container table h3{
    margin-block-start:0px;
	margin-block-end:0px;
}

.project-table-container iframe{
    max-width: 560px;
    width: 100%;
    height: 315px;
}

.project-table-container h1{
    max-width: 1000px;
    margin: 0 auto;
}

 /* スマホサイズで縦レイアウトに変更 */
 @media screen and (max-width: 600px) {
    .project-table-container table {
    display: block;
    width: 98%;
    }

    .project-table-container tbody,
    .project-table-container tr {
    display: block;
    width: 100%;
    }

    .project-table-container th,
    .project-table-container td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 12px;
        color: #363447;
        box-sizing: border-box;
    }

    .project-table-container th {
        background-color: #4c4d74;
        font-weight: bold;
        color: #fafaff;
    }
}
/*=========================================== 基本の情報 */

/* ゲームのルール一覧 */
.game-rules {
    width: 100%;
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.game-rules-title {
    text-align: center;
    margin-bottom: 25px;
    color: #212d21;
}

/* PC：3列 */
.rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 各ルールの枠 */
.rule-card {
    min-width: 0;
    padding: 24px;
    box-sizing: border-box;

    border: 2px solid #212d21;
    border-radius: 12px;
    background: #ffffff;

    overflow-wrap: anywhere;
}

.rule-card h3 {
    margin: 0 0 15px;
    color: #212d21;
    font-size: 20px;
}

.rule-card h2 {
    color: #212d21;
}


.rule-card p {
    margin: 0 0 15px;
    line-height: 1.8;
}

.rule-card a {
    color: #461823;
    font-weight: bold;
}

/* タブレット：2列 */
@media screen and (max-width: 900px) {
    .rule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* スマホ：1列 */
@media screen and (max-width: 600px) {
    .game-rules {
        padding: 0 15px;
    }

    .rule-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .rule-card {
        padding: 20px;
    }
}


/*=========================================== 基本の情報 */
.project-text-box{
    font-weight: bold;
    background: #e6e7f1;
    padding: 2em 0;
}

.project-text-box .telemowa{
    text-align: center;
    font-size: 1.1em;
    max-width: 500px;
    background: #f5f7fd;
    border-radius: 4em;
    margin-bottom: 1em;
     box-shadow: inset -2px -2px 5px 1px rgba(68, 64, 129, 0.5), inset 5px 5px 10px 0px rgba(122, 123, 134, 0.3);
}

.project-text-box .telemowa h3{
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.project-text-box .telemowa p{
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.project-title{
    max-width: 1000px;
	margin: 0 auto 1em auto;
    background: #e6e7f1;
    color: #35353d;
    width: 90%;
    position: relative;
    padding-left: 40px;
    box-sizing: border-box;
}

.project-title::before{
    content: "〇";
    position: absolute;
    left: 0;              
    top: 50%;            
    transform: translateY(-50%); 
    width: 40px;          
    height: 40px;  
    flex-shrink: 0;   
    font-size: 30px;   
    color: #858bcf;
}

.project-text{
	max-width: 1000px;
    width: 90%;
	margin: 0 auto 2em auto;
	background: #fafafa;
    padding: 1.3em;
    border-radius: 1.5em;
    color: #313131;
    box-shadow: 0px 0px 7px 2px rgba(5, 30, 122, 0.4);
}

.project-text-box h1{
  margin-block-start:0px;
	margin-block-end:0px;
}

.project-text-box h2{
  margin-block-start:0px;
}

.project-text-box p{
	margin-block-start:5px;
  margin-block-end:5px;
}
/*=========================================== テレモワ */

.emotion_box_wr{
    background: #e6e7f1;
}

.emotion_box{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: #e6e7f1;
    
}

.emotion_picture{
    text-align: center;
    
}

.emotion_box .emotion_picture img{
    max-width: 500px;
    width: 90%;
    height: auto;
    border-radius: 1em;
    box-shadow: 0px 0px 13px 4px rgba(5, 30, 122, 0.4);
    margin: 1em 0;
}

.project-text-box .percent p{
  color: #09152e;
  padding: 0.5em;
  margin: 0 auto;
  margin-block-start:0px;
  border-radius: 1em;
  max-width: 500px;
  width: 80%;
}

/*============== テレモワ 4つの感情 ==============*/
.emotion_4type{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1200px;
  width: 97%;
  margin: 0 auto;
}
.emotion_4type .type{
  background: #dfe4e7;
  text-align: center;
  padding: 1em;
  border-radius: 1em;
  transition: .3s;
  
  display: flex;
  flex-direction: column;
}

.emotion_4type .type .text{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.emotion_4type .type .text h2{
  margin-top: auto;
}

.emotion_4type .type h2{
  background: #ffffff;
  border-radius: 1em;
  padding: 0.2em;
  margin-top: 2px;
}

.emotion_4type .type:hover{
  transform: translateY(-4px);
}

.emotion_4type p{
  color: #222233;
}

.emotion_4type .joy2{
  color: #c58700;
  background: linear-gradient(transparent 60%, #fffdf1 60%);
}
.emotion_4type .angry2{
  color: #5f0000;
  background: linear-gradient(transparent 60%, #ffe9ee 60%);
}
.emotion_4type .sad2{
  color: #00395f;
  background: linear-gradient(transparent 60%, #f2f6ff 60%);
}
.emotion_4type .enjoy2{
  color: #004103;
  background: linear-gradient(transparent 60%, #f3fff6 60%);
}

.emotion_4type .joy{
  background: #fffbd3;
  color: #df9800;
  box-shadow: 0px 0px 7px 2px rgba(122, 75, 5, 0.4);
}
.emotion_4type .angry{
  background: #ffd3d3;
  color: #880000;
  box-shadow: 0px 0px 7px 2px rgba(122, 13, 5, 0.4);
}
.emotion_4type .sad{
  background: #d3ebff;
  color: #005d9b;
  box-shadow: 0px 0px 7px 2px rgba(5, 30, 122, 0.4);
}
.emotion_4type .enjoy{
  background: #d3ffd9;
  color: #006105;
  box-shadow: 0px 0px 7px 2px rgba(5, 122, 15, 0.4);
}

.emotion_4type .type .maru img{
  border-radius: 10em;
  max-width: 140px;
}

/* タブレット：2列 */
@media (max-width: 900px) {
.emotion_4type{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマートフォン：1列 */
@media (max-width: 600px) {
.emotion_4type{
    grid-template-columns: 1fr;
  }
  .emotion_4type .type .maru img{
  border-radius: 10em;
  max-width: 100px;
  }
  .emotion_4type .type{
    display: flex;
    gap: 0px;
  }
}


/* =====================ルール説明============================= */
.telemowa_rulebox_wr{
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}
.telemowa_rulebox{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.telemowa_rulebox .box{
  background: #f5fbff;
  box-shadow: 0px 0px 5px 2px rgba(5, 30, 122, 0.4);
  padding: 2em;
  border-radius: 1em;
}

/* タブレット：2列 */
@media (max-width: 900px) {
.telemowa_rulebox{
  grid-template-columns: repeat(2, 1fr);
  }
}

/* スマートフォン：1列 */
@media (max-width: 600px) {
.telemowa_rulebox{
    grid-template-columns: 1fr;
  }
}


/*=========================================== ゾンドミ-募集
 */
.zomdo .button{
	border: 2px solid #212d21;
	background: rgba(244, 250, 255, 0.5);
}

.zomdo .button{
	color: #212d21;
}
.zomdo .button a{
	color: #212d21;
}
.zomdo .button a:hover{
	color: #545a96;;
}
.zomdo .button:hover {
    border-color: #ced2ff;;
}

.zomdo {
    color: #212d21;
}



/* ==== ゾンドミ-ゲームの説明書＆イベントリンク ==========================*/

/* ボタン */
.zomdo .button{
	border: 2px solid #212d21;
	border-radius: 3px;
	padding: 5px;
	min-width: 180px;
	max-height: 33px;
	margin: 5px;
	text-align: center;
	background: rgba(244, 250, 255, 0.5);
}

.zomdo .button a{
	color: #212d21;
	font-weight: bold;
	display: block;
	padding: 5px;
}

.zomdo .button a:hover{
	color: #545a96;
	transition: opacity 0.5s ease, max-height 0.5s ease; /*ふわっと表示*/
}
.zomdo .button:hover {
    border-color: #ced2ff;;

}


	/* ==== ゾンドミ-ニュース一覧 ==========================*/

/* =========================
   見出し
========================= */

.zomdo .news_head h2 {
    color: #212d21;
}

.zomdo .news_list {
    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid #545a96;
}


/* =========================
   お知らせ1件
========================= */

.zomdo .news_item {
    border-bottom: 1px solid #545a96;
	background: #f9fcff;
}

/* =========================
   リンク
========================= */

.zomdo .news_item a {
    color: #41191d;
}

.zomdo .news_item a:hover {
    background: #e9fff5;
}

.zomdo .news_item a:hover .news_category{
    filter: drop-shadow(0 0px 3px rgb(220 235 228 / 60%));
}


/* =========================
   日付
========================= */

.zomdo .news_item time {
    color: #212d21;
}
/* ==== ゾンドミ-ニュース一覧 ↑==========================*/



    /* スライドショー*/
/* ゾンビィだけスライドの背景色と余白が違います */
.slide-content {
  background-color: rgb(188, 190, 218);
  --slide-height: 248px;
  padding-bottom: 3em;
}

.contents-inner h1{
    color: #081a0f;
}

.contents-inner::before{
    color: #081a0f;
}
.contents-inner::after{
    color: #081a0f;
}

/*取り消し線*/
.strikethrough {
  text-decoration: line-through;
}

@media screen and (max-width: 600px) {
  .slide-content {
    --slide-width: 300px;
    --slide-height: 212px;
  }
}


/*-------------- 制作実績------------------------------------*/

.naiyou
{
    font-size: 1.05em;
    font-weight: bold;
    margin: -1px;
}

.commission .project{
	max-width: 1000px;
	/* height: 400px; 画像を入れたら消す */
	margin: 0 auto;
	background: #d7f4ee;
}

.commission .project-box-top{
	background: #d7f4ee;
	margin-top: 50px;
}


/* 感情をまなぶと色づく仕組み */
.colorize {
  filter: grayscale(100%);
  transition: filter 0.8s ease;
}
.harmony-bar {
  max-width: 500px;
  width: 80%;
  height: 16px;
  margin: 0 auto 1em;
  background: #ffffff;
  border-radius: 1em;
  box-shadow: inset 0 0 5px rgba(5, 30, 122, 0.3);
  overflow: hidden;
}
#harmony-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd23e, #ff7b7b, #5aa9e6, #7bc47f);
  border-radius: 1em;
  transition: width 0.6s ease;
}
.emotion_4type .type {
  cursor: pointer;
}
.emotion_4type .type.learned {
  box-shadow: 0 0 0 3px currentColor, 0px 0px 7px 2px rgba(5, 30, 122, 0.25);
}

/* 感情をまなぶと色づく仕組み リセットボタン */
#harmony-reset {
  display: block;
  margin: 0 auto 1em;
  padding: 0.5em 1.5em;
  font-size: 0.95em;
  color: #35353d;
  background: #f5f7fd;
  border: 2px solid #858bcf;
  border-radius: 2em;
  cursor: pointer;
  transition: .3s;
}
#harmony-reset:hover {
  background: #858bcf;
  color: #ffffff;
}

/*=================== ボタンを押すと出るもやもや背景 */

.moyamoya{
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.moya{
  position: absolute;
  width: 35vw;
  height: 35vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 1s ease;
}
.moya.on{ opacity: 0.28; }
.moya.joy  { background: #ffdf6b; top: -15%; left: -12%; }
.moya.angry{ background: #ff9d9d; top: -15%; right: -12%; }
.moya.sad  { background: #9dcfff; bottom: -15%; left: -12%; }
.moya.enjoy{ background: #9de6a8; bottom: -15%; right: -12%; }

@media screen and (max-width: 600px) {
  body.telemowa {
    background: #e6e7f1;
  }
}

/*=================== タイトルの由来 */

.origin-box {
  position: relative;
  overflow: hidden;
  /*border-radius: 16px;*/
  background: #fffdf7;
  padding: 2em 1.5em;
}

.origin-moya {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.origin-moya .om {
  position: absolute;
  width: 45%;
  padding-top: 45%;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
}

.origin-moya .om-joy {
  background: #ffdf6b;
  top: -20%;
  left: -10%;
}

.origin-moya .om-angry {
  background: #ff9d9d;
  top: -20%;
  right: -10%;
}

.origin-moya .om-sad {
  background: #9dcfff;
  bottom: -20%;
  left: -10%;
}

.origin-moya .om-enjoy {
  background: #9de6a8;
  bottom: -20%;
  right: -10%;
}

.origin-text {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 1em 0;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 1000px;
  width: 95%;
  border-radius: 1em;
}

.project-title2{
    max-width: 1000px;
	margin: 0 auto 1em auto;
    color: #35353d;
    width: 96%;
    position: relative;
    padding-left: 40px;
    box-sizing: border-box;
}

.project-title2::before{
    content: "〇";
    position: absolute;
    left: 0;              
    top: 50%;            
    transform: translateY(-50%); 
    width: 40px;          
    height: 40px;  
    flex-shrink: 0;   
    font-size: 30px;   
    color: #858bcf;
    font-weight: bolder;
}

.origin-text h3{
    padding-left: 20px;
    color: #35354e;
}

.origin-text h3::before{
    content: "●";
}

.origin-text p{
    padding-left: 40px;
    color: #35353d;
    margin-top: -10px;
}