@charset "utf-8";
/* CSS Document */
/*=====================================================================================
***************************************************************************************

　　ローディング画面
		
***************************************************************************************
=====================================================================================*/
/* ローディング画面のスタイル */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 初期状態では最前面 */
    opacity: 0;
}
#loadingScreen.show {
  opacity: 1; /* 表示状態 */
}



#loadingScreen img{animation: mochimochi 1s infinite;}

@keyframes mochimochi {
  0% {
    transform: scale(1, 0.8);
  }
  20% {
    transform: scale(0.8, 1.1);
  }
  90% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 0.8);
  }
}

#wrapper {
  opacity: 0; /* 見えない状態 */
}

#wrapper.show {
  opacity: 1; /* フェードイン */
}

/*=====================================================================================
***************************************************************************************

　　最初の選択画面
		
***************************************************************************************
=====================================================================================*/
#popup{
	position: fixed;
	width: 100%;
	height: 100vh;
	background: rgba(227, 227, 227, 0.8);
	z-index: 20;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 0;
	opacity: 0;
}
#popup.show {opacity: 1;}

#popup .flex_box{
	display: flex;
	justify-content: center;
}
#popup .btn{cursor: pointer; padding: 0 50px;}
#popup .btn:hover .open{display: block;}
#popup .btn:hover .off{display: none;}

#popup .open{display: none;}

#popup.none{display: none;}

#wrapper{overflow: hidden; height: 100vh;}
#wrapper.none{height: auto;}

@media screen and (max-width: 1420px){
	#popup .btn{padding: 0 20px;}
	#popup .top_open img{width: 450px;}
	#popup .shindan_open img{width: 450px;}
}
@media screen and (max-width: 1000px){
	#popup .btn{padding: 0 10px;}
	#popup .top_open img{width: 350px;}
	#popup .shindan_open img{width: 350px;}
}
@media screen and (max-width: 780px){
	#popup .flex_box{display: block;}
	#popup .top_open{margin-bottom: 40px;}
	#popup .top_open img.pc,#popup .shindan_open img.pc{display: none!important;}
	#popup .top_open img.sp,#popup .shindan_open img.sp{display: block;}
	
	#popup .top_open img{width: 330px;}
	#popup .shindan_open img{width: 340px;}
}


/*=====================================================================================
***************************************************************************************

　　診断
		
***************************************************************************************
=====================================================================================*/
#shindan{display: none;}
#popup .flex_box.none{display: none;}
#shindan.open{display: block;}

#shindan{
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 50;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	overflow-y: auto;
}
.result {display: none; width: 100%;}
.question{width: 100%; 	padding: 230px 0 70px;}
#shindan::-webkit-scrollbar {
  background: #FFFFFF;
  width: 15px;
  height: 15px;
  border-radius: 20px;
}
#shindan::-webkit-scrollbar-thumb {
  background-color: #ff5408;
  border-radius: 20px;
}

#shindan .in_box{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
    height: 100vh;
}



/* 共通部分 */
#shindan .shindan_box{
	max-width: 1000px;
	width: 90%;
	margin: 0 auto;
	border-radius: 30px;
	background: #fff7df;
	border: 20px solid #FFFFFF;
	text-align: center;
	padding: 70px 20px;
	position: relative;
}
#shindan .shindan_tl{
	width: 800px;
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}

/* 質問部分 */
#shindan .question .shindan_box p{font-size: 50px; font-weight: 900;}
#shindan .question .shindan_box{margin-bottom: 30px;}
#shindan .question .shindan_skip{
	font-size: 23px;
	line-height: 70px;
	width: 320px;
	border-radius: 15px;
	color: #FFFFFF;
	font-weight: bold;
	background: #2d9391;
	margin: 40px auto 0;
	cursor: pointer;
}
#shindan .question .shindan_skip:hover{
	background: #FFFFFF;
	color: #2d9391;
}

#shindan .question ul{
	display: flex; 
	justify-content: center; 
	padding: 0 5%;
	flex-wrap: wrap;
}
#shindan .question li{margin-bottom: 10px;}

#shindan .question button{
	width: 400px;
	height: 100%;
	font-size: 30px;
	padding: 35px 10px;
	display: block;
	border-radius: 30px;
	border: 5px solid #ff5408;
	color: #ff5408;
	background: #fff7df;
	font-weight: 900;
	margin: 0 10px;
}
#shindan .question button:hover{
	color: #fff7df;
	background: #ff5408;
	opacity: 1;
	cursor: pointer;
}


/* 結果部分 */
#shindan .result .shindan_box{padding: 40px 20px 70px;}
#shindan .result .shindan_box p{font-size: 40px; font-weight: 900;}
#shindan .result .shindan_box b img{max-width: 570px;}
/*ボタン*/
#shindan .result a {
	max-width: 430px;
	width: 90%;
	display: block;
	margin: 30px auto 0;
	padding: 0 10px;
	line-height: 75px;
	font-size: 30px;
	font-weight: bold;
	background-color: #e60024; /* 背景色 */
	box-shadow: 0 10px 0 #961f32; /* 影の太さ・色 */
	border-radius: 10px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	z-index: 3;
}

#shindan .result a:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}


@media screen and (max-width: 950px){
	.question{padding: 140px 0 70px;}
	#shindan .shindan_box{padding: 50px 20px;}
	#shindan .shindan_tl{width: 600px; top: -90px;}
	#shindan .question .shindan_box p{font-size: 35px;}
	
	#shindan .question button{width: 320px; font-size: 24px; padding: 20px 10px;}
}

@media screen and (max-width: 770px){
	#shindan br.sp{display: block;}
	#shindan .shindan_tl.pc{display: none;}
	#shindan .shindan_tl.sp{display: block;}
	#shindan .shindan_tl{width: 280px; top: -100px;}
	.question{padding: 200px 0 70px;}
	#shindan .shindan_box{border: 10px solid #FFFFFF; padding: 20px; }
	#shindan .question .shindan_box{margin-bottom: 10px;}
	#shindan .question .shindan_box p{font-size: 20px;}
	#shindan .question button{
		font-size: 18px; 
		padding: 15px 10px;
		border: 3px solid #ff5408; 
		border-radius: 20px;
	}
	#shindan .question .shindan_skip{font-size: 16px; margin-top: 20px; line-height: 60px;}
	
	#shindan .result .shindan_box{padding: 40px 20px 50px;}
	#shindan .result .shindan_tl{top: -75px;}
	#shindan .result .shindan_box p{font-size: 20px; line-height: 1.2; margin-bottom: 20px;}
	#shindan .result .shindan_box img{width: 250px;}
	#shindan .result a{font-size: 16px; line-height: 40px;}
}


/*=====================================================================================
***************************************************************************************

　　メインビジュアル
		
***************************************************************************************
=====================================================================================*/
#mv {
	width: 100%; /* 固定幅 */
	/*height: 100vh;*/
	padding-top: 60%;
	overflow: hidden; /* はみ出した部分を隠す */
	position: relative;
	background: #f0f0f0;
	cursor: grab;
}

/* 上にかぶせるメッセージ */
#drag-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 16px;
  border-radius: 5px;
  z-index: 10;
  pointer-events: none;
  user-select: none;
}

#mv .content {
	width: 2060px; /* 元のサイズ */
	height: 1400px;
	background: url("../img/mv_bg.jpg") top center no-repeat;
	background-size: cover; /* 背景画像を要素全体に調整 */
	position: absolute;
	top: 0;
	left: 0;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	user-select: none; /* テキスト選択を無効化 */
	transition: transform 0.3s ease; /* アニメーション */
	
	
  visibility: hidden; /* 初期状態で非表示 */
	
}

#mv .box{
	width: 100%; 
	height: 100%; 
	position: relative;
}


#mv .box a:hover{opacity: 1; animation: none;}
/* titleの設定 */
#mv .title{
	position: absolute;
	right: 280px;
	top: 50px;
	width: 350px
}


/* 吹き出しの設定 */
#mv .fukidasi01{
	position: absolute;
    left: 1080px;
    top: 215px;
	/*animation: fuwafuwa 2s infinite;*/
	
}
#mv .fukidasi02{
	position: absolute;
	right: 260px;
	top: 650px;
	/*animation: fuwafuwa 2s infinite;*/
	display: none;
}
#mv .fukidasi02_ank{
	position: absolute;
	right: 260px;
	top: 650px;
	animation: pulse 1s ease-in-out infinite;
	display: none;
}

#mv .box .active{display: block;}

#mv .fukidasi03{
	position: absolute;
	left: 360px;
	top: 520px;
	/*animation: fuwafuwa 2s infinite;*/
}

#mv .box  a.fukidasi:hover{animation: fuwafuwa 2s infinite;}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}


/* アイコンの設定 */
#mv .icon01{
	position: absolute;
	top: 275px;
	left: 580px;
	animation: fuwafuwa 2s infinite;
}
#mv .icon01_txt{
	position: absolute;
    top: 185px;
    left: 345px;
	z-index: 1;
}

#mv .icon02{
	position: absolute;
	top: 465px;
	left: 880px;
	animation: fuwafuwa 2s infinite;
	animation-delay: 0.3s;
}
#mv .icon02_txt{
	position: absolute;
	top: 375px;
	left: 630px;
	z-index: 1;
}

#mv .icon03{
	position: absolute;
	top: 360px;
	right: 600px;
	animation: fuwafuwa 2s infinite;
	animation-delay: 0.6s;
}
#mv .icon03_txt{
	position: absolute;
	top: 270px;
	right: 650px;
	z-index: 1;
}

#mv .icon04{
	position: absolute;
    top: 540px;
    right: 820px;
	animation: fuwafuwa 2s infinite;
	animation-delay: 1s;
}
#mv .icon04_txt{
	position: absolute;
	top: 550px;
	right: 800px;
	z-index: 1;
}

#mv .icon05{
	position: absolute;
    top: 640px;
    left: 730px;
	animation: fuwafuwa 2s infinite;
	animation-delay: 1s;
}
#mv .icon05_txt{
	position: absolute;
	top: 600px;
	left:630px;
	z-index: 1;
}

/*#mv .icon{animation: fuwafuwa 2s infinite;}*/
@keyframes fuwafuwa {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}

#mv .txt{display: none; animation: fadeIn 0.5s ease-in-out;}
#mv .icon_link:hover .icon{animation: none;}
#mv .icon_link:hover .txt{display: block;}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* 新着情報 */
#mv .news_box{
	position: absolute; 
	z-index: 2;
	bottom: 20px;
	left: 0;
}

#mv .news_box h3{
	background: #000000;
	color: #f49e2c;
	width: 420px;
	border-radius: 0 30px 30px 0;
	padding: 15px 40px;
	position: relative;
	z-index: 3;
	text-align: justify;
}

#mv .news_box div{
	width: 900px;
	background: #FFFFFF;
	border: 1px solid #000000;
	text-align: justify;
	font-weight: bold;
	color: #000000;
	border-radius: 0 40px 40px 0;
	padding: 20px 160px 20px 40px;
	font-size: 18px;
	position: relative;
	margin-top: -10px;
}

/*#mv .news_box div::after{
	content: "";
	position: absolute;
	top: 50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	right: 40px;
	background: url("../img/news_icon.svg") no-repeat;
	width: 32px;
	height: 32px;
}*/

#mv .news_box div a{
	color: #000000;
	display: inline-block;
	margin-left: 20px;
}

#mv .news_box div a.news_list{
	position: absolute;
	top: 50%;
	transform:translateY(-50%);
	right: 20px;
	font-size: 15px;
	width: 120px;
	line-height: 35px;
	border-radius: 20px;
	text-decoration: none;
	background: #f49e2c;
	border: 1px solid #000000;
	font-weight: bold;
	text-align: center;
}
#mv .news_box div a.news_list:hover{opacity: 1; background: #000000; color: #f49e2c;}

#mv .sp_box{display: none;}

@media screen and (max-width: 1200px){
	#mv{padding-top: 70%;}
}

@media screen and (max-width: 1000px){
	#mv .news_box div{
		width: 750px; 
		font-size: 15px;
		padding: 20px 160px 20px 20px;
	}
	#mv .news_box h3{
		width: 310px;
		font-size: 14px;
	}
}

@media screen and (max-width: 900px){
	#drag-message {display: none!important;}
	#mv .content {display: none!important;}
	#mv{
		cursor: auto; 
		height: auto;
		background: url("../img/mv_bg_sp.jpg") center;
		background-size: cover;
		padding: 0 0 50px;
	}

	#mv .fukidasi01,
	#mv .fukidasi02,
	#mv .fukidasi02_ank,
	#mv .fukidasi03{
		position: static;
	}
	#mv .sp_box .active{display: inline;}
	#mv .fukidasi img,.fukidasi02_ank img{
		width: 57%;
		max-width: 243px;
	}
	
	#mv .sp_box{
		display: block;
		padding:200px 0 5%;
		position: relative;
	}
	
	#mv .sp_box .txt_sp{
		position: absolute;
		top: 60px;
		left: 5%;
		width: 210px;
	}
	
	#mv .sp_box .fukidasi_box{padding: 0 5%;}
	#mv .sp_box .fukidasi_box li{text-align: left;}
	#mv .sp_box .fukidasi_box li:nth-child(odd){text-align: right;}
	
	#mv .sp_box .menu_sp_box{
		display: flex;
		flex-wrap: wrap;
		margin: 30px 0 20px;
		text-align: justify;
	}
	#mv .sp_box .menu_sp_box li{width: 50%;}
	#mv .sp_box .menu_sp_box li:nth-child(5){width: 100%;}
	#mv .sp_box .menu_sp_box a{
		width: 100%;
		height: 100%;
		display: block;
		text-decoration: none;
		color: #FFFFFF;
		font-size: 18px;
		font-weight: 900;
		line-height: 1.5;
		padding: 15px 20px;
		position: relative;
	}
	#mv .sp_box .menu_sp_box li:nth-child(1) a{background: #e60024; border-radius: 20px 0 0 0;}
	#mv .sp_box .menu_sp_box li:nth-child(2) a{background: #e77301; border-radius: 0 20px 0 0;}
	#mv .sp_box .menu_sp_box li:nth-child(3) a{background: #21b0c9;}
	#mv .sp_box .menu_sp_box li:nth-child(4) a{background: #2d9391;}
	#mv .sp_box .menu_sp_box li:nth-child(5) a{background: #ff5408; border-radius: 0 0 20px 20px;}
	
	/* iOS専用CSS */
	
	#mv .sp_box .menu_sp_box a::after{
		content: "";
		position: absolute;
		width: 20px;
		height: 20px;
		margin-top: -10px;
		top: 50%;
		right: 10px;
		background: url("../img/btn_sankaku.svg") no-repeat;
		background-size: cover;
	}
	
	/* 新着 */
	#mv .news_box{position: relative;}
	#mv .news_box h3{width: 75%; font-size: 14px; padding: 10px 0 10px 20px; text-align: justify;}
	#mv .news_box div{width: 90%;padding: 20px 30px 15px 20px;}
	#mv .news_box div span{display: block;font-size: 13px; line-height: 1.2;}
	#mv .news_box div a{margin-left: 0; font-size: 14px; line-height: 1.2;}
	#mv .news_box div::after{right: 20px;}
	
	#mv .news_box div a.news_list{
		display: block;
		position: static;
		transform:none;
		font-size: 12px;
		line-height: 25px;
		margin-top: 10px;
	}
}

/*=====================================================================================
***************************************************************************************

　　お知らせ
		
***************************************************************************************
=====================================================================================*/
#news{
	width: 100%;
	padding: 90px 0 80px;
	background: url("../img/news_bg.jpg") no-repeat;
	background-size: cover;
}

#news h2{
	background: #16aa52;
	color: #FFFFFF;
	font-weight: 900;
	font-size: 32px;
	line-height: 90px;
	border-radius: 45px;
	max-width: 650px;
	width: 90%;
	margin: 0 auto 40px;
	
}

#news-wrap{
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
}

.news-list {
	display: flex;
	gap: 24px;
}

.news-list li {
    flex: 1;
    min-width: 0;
    position: static;
    width: auto;
    transition: none;	
	
	background: #FFFFFF;
	border: 2px solid #000000;
	border-radius: 30px;
	padding: 25px 30px;
	text-align: justify;
	font-weight: bold;
}
.news-list .card_tag_design{
	font-size: 14px;
	line-height: 30px;
	border-radius: 15px;
	color: #FFFFFF;
	display: inline-block;
	margin-bottom: 15px;
	padding: 0 10px;
}
.news-list img{width: 100%; height: auto;}
.news-list .time{
	font-size: 16px; 
	line-height: 1;
	display: block;
	margin-top: 10px;
}
.news-list .title{
	font-size: 25px; 
	margin: 10px auto 15px; 
	line-height: 1.2;
}
.news-list a{
	display: block;
	margin: 0 auto;
	font-size: 16px;
	text-align: center;
	color: #008b10;
	width: 160px;
	line-height: 40px;
	border-radius: 20px;
	background: #fff9d3;
	border: 1px solid #0c7a5c;
	text-decoration: none;
}


/*ボタン*/
#news > a {
	max-width: 420px;
	width: 90%;
	line-height: 75px;
	display: block;
	margin: 5px auto 0;
	padding: 0 30px;
	font-size: 26px;
	font-weight: bold;
	background-color: #16aa52; /* 背景色 */
	box-shadow: 0 20px 0 #0c7a5c; /* 影の太さ・色 */
	border-radius: 20px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	z-index: 3;
	margin-top: 30px;
}

#news > a::after{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	border-width: 10px 0px 10px 20px;
	right: 40px;
	top: 40%;
	animation: moveArrow 1.5s ease-in-out infinite;
}

#news > a:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}

.ss-nav {display: none;}

@media (max-width: 1200px) {
	.news-list .title{font-size: 21px;}
}

@media (max-width: 800px) {
	#news{padding: 40px 0 60px;}
	#news h2{font-size: 19px; line-height: 60px;margin: 0 auto 20px;}
	
	.news-list li{padding: 15px 20px;}
	.news-list .time{font-size: 14px;}
	.news-list .title{font-size: 17px;}
	.news-list a{font-size: 14px;}
	
	#news > a{
		font-size: 18px; 
		margin-top: 15px;
		line-height: 55px;
		box-shadow: 0 10px 0 #0c7a5c;
		border-radius: 10px;
	}
	#news > a::after {
        border-width: 5px 0px 5px 9px;
    }

	
	
/* ===== SP: スライドショー ===== */
  #news-wrap {
	width: 90%;  
    overflow: hidden;
    position: relative;
  }

  .news-list {
    display: block;
    position: relative;
  }

  .news-list li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.4s ease;
    box-sizing: border-box;
  }

  .ss-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
  }

  .ss-nav button {
    width: 36px;
    /*height: 36px;*/
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #333;
    padding: 3px 0 10px;
  }

  .ss-dots {
    display: flex;
    gap: 8px;
  }

  .ss-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    display: block;
    transition: background 0.2s;
  }

  .ss-dots span.active {
    background: #333;
  }
}



/*=====================================================================================
***************************************************************************************

　　こどもまんなか社会って？
		
***************************************************************************************
=====================================================================================*/
#about{
	width: 100%;
	padding: 100px 0 120px;
	background: url("../img/about_bg.jpg") center no-repeat;
	background-size: cover;
}

#about .flex_box{
	display: flex;
	justify-content: center;
}
#about .left_box{margin-right: 60px;}
#about .right_box{
	text-align: justify;
	font-size: 25px;
	color: #e60024;
	line-height: 2.5;
	font-weight: 900;
	padding: 50px 80px;
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.8);
}


/*ボタン*/
#about a {
	max-width: 800px;
	width: 90%;
	line-height: 140px;
	display: block;
	margin: 5px auto 0;
	padding: 0 30px;
	font-size: 35px;
	font-weight: bold;
	background-color: #e60024; /* 背景色 */
	box-shadow: 0 20px 0 #9e0019; /* 影の太さ・色 */
	border-radius: 10px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	z-index: 3;
	margin-top: 30px;
}

#about a::after{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	border-width: 10px 0px 10px 20px;
	right: 40px;
	top: 40%;
	animation: moveArrow 1.5s ease-in-out infinite;
}

#about a:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}




@media screen and (max-width: 1520px){
	#about .flex_box{width: 90%; margin: 0 auto;}
	#about .left_box img{width: 100%;}
	#about .right_box{font-size: 1.5vw;padding: 50px; width: 60%;}
	#about a{font-size: 2vw; line-height: 400%;}
}

@media screen and (max-width: 1000px){
	#about .flex_box{display: block;}
	#about .left_box{margin: 0 0 30px;}
	#about .left_box img{width: auto;}
	#about .right_box{width: 100%; font-size: 25px; margin: 0 auto;}
	#about a{font-size: 28px; line-height: 140px;}
}


@media screen and (max-width: 800px){
	br.sp{display: block;}
	#about{padding: 40px 0 50px;}
	#about .left_box img{max-width: 330px; width: 100%;}
	#about .right_box{font-size: 14px; line-height: 2.5; padding: 25px; max-width: 400px;}
	#about a{font-size: 16px; line-height: 60px; box-shadow: 0 10px 0 #9e0019;}
	#about a::after{border-width: 5px 0px 5px 9px;}
}


/*=====================================================================================
***************************************************************************************

　　パズルページへのボタン
		
***************************************************************************************
=====================================================================================*/
#puzzle_btn{
	position: fixed;
    bottom: -80px;
    right: -130px;
	z-index: 10;
	opacity: 0; /* 初期状態は透明 */
	transition: opacity 0.5s ease; /* フェードのスムーズな遷移 */
	pointer-events: none; /* 非表示状態ではクリックできないようにする */
}
#puzzle_btn.visible {
    opacity: 1; /* 表示状態 */
    pointer-events: auto; /* 表示状態ではクリック可能 */
}

#puzzle_btn.hidden {
    opacity: 0; /* 非表示状態 */
    pointer-events: none;
}

#puzzle_btn .in_box{
	position: relative;
}

#puzzle_btn a{
	display: block;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
}
#puzzle_btn .bg{
	animation:10s linear infinite rotation;
}
@keyframes rotation{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}

@media screen and (max-width: 1500px){
	#puzzle_btn{bottom: 0; right: -70px;}
	#puzzle_btn .txt{width: 170px;}
	#puzzle_btn .bg{width: 320px;}
}


@media screen and (max-width: 800px){
	#puzzle_btn{bottom: 0; right: 58px;}
	#puzzle_btn .txt{display: none;}
	#puzzle_btn .bg{display: none;}
	#puzzle_btn .sp{display: block; max-width:396px;  width: 198px;}
	#puzzle_btn a{position: static; transform: none;}
}



/*=====================================================================================
***************************************************************************************

　　動画部分
		
***************************************************************************************
=====================================================================================*/
#movie{
	padding: 100px 0 120px;
	background: url("../img/movie_bg.jpg") center repeat;
	position: relative;
}

#movie h2{
	color: #056cb9;
	background: #ffde00;
	font-size: 40px;
	display: inline-block;
	padding: 10px 20px 0;
	border-radius: 10px;
	font-weight: 900;
}

#movie .sankaku{
	width: 0;
	height: 0;
	border-style: solid;
	border-color: #ffde00 transparent transparent transparent;
	border-width: 15px 15px 0px 15px;
	margin: 0 auto;
}

#movie .m_box{
	max-width: 1100px;
	width: 90%;
	margin: 50px auto 0;
	border-radius: 20px;
	overflow: hidden;
	border: 20px solid #ffde00;
}

/* YouTube埋め込み動画のラッパー要素 */
#movie .video-container {
  position: relative; /* 子要素を絶対位置で配置するため */
  width: 100%; /* 横幅を親要素に合わせる */
  padding-top: 56.25%; /* アスペクト比16:9 (9/16 * 100 = 56.25%) */
  overflow: hidden; /* はみ出し防止 */
}

/* iframeや埋め込み要素のスタイル */
#movie .video-container iframe{
  position: absolute; /* 親要素の中で絶対位置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* 不要な枠線を削除 */
}


/* パズルのピース */
.puzzle_link_box{
	bottom: -10px;
	left: 50px;
}

.puzzle_link_box button{transform: rotate(-45deg);}

.puzzle_link_box_popup .box{background: url("../img/common/puzzle/1_pop.png") center top no-repeat;}



@media screen and (max-width: 920px){
	#movie h2{line-height: 1.2;padding: 30px 20px 20px;}
	#movie h2 .sp{display: block;}
}

@media screen and (max-width: 800px){
	#movie{padding: 50px 0 60px;}
	#movie h2{font-size: 20px; width: 90%; padding: 20px 20px 10px;}
	#movie .m_box{margin-top: 10px; border: 5px solid #ffde00;}
	.puzzle_link_box button img{width: 50px;}
}



/*=====================================================================================
***************************************************************************************

　　コンテンツ部分
		
***************************************************************************************
=====================================================================================*/
#contents_box {margin-top: -5px;}
#contents_box .flex_box{
	display: flex;
	flex-wrap: wrap;
}
#contents_box a{
	display: block;
	width: 50%;
	cursor: url("../img/btn_mouse.svg"), auto;
	position: relative;
	overflow: hidden;
}
#contents_box a:hover{opacity: 1;}

#contents_box a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
	transition: .5s;
}

#contents_box a:hover::before {
	top: 0;
	left: 100%;
}

#contents_box .contents05{
	width: 100%;
	display: block;
	background: url("../img/mv_bg.jpg") center no-repeat;
	background-size: cover;
	
}

#contents_box .contents01 .img{
	position: absolute;
    bottom: 9%;
    right: 5%;
    width: 40%;
}

#contents_box .contents02 .img{
	position: absolute;
    bottom: 13%;
    right: 5%;
    width: 35%;
}

#contents_box .contents03 .img{
	position: absolute;
    bottom: 12%;
    right: 8%;
    width: 35%;
}

#contents_box .contents04 .img{
	position: absolute;
    bottom: 12%;
    right: 5%;
    width: 31%;
}



@media screen and (max-width: 700px){
	#contents_box{margin: 0;}
	#contents_box a .pc,#contents_box a .img{display: none;}
	#contents_box a .sp{display: block; width: 100%;}
	#contents_box .flex_box{display: block;}
	#contents_box a{width: 100%;}
}

/*=====================================================================================
***************************************************************************************

　　リンクボタン
		
***************************************************************************************
=====================================================================================*/
#btn_box{
	display: flex;
	justify-content: space-between;
	max-width: 1500px;
	width: 90%;
	margin: 0 auto;
	padding: 100px 0 90px;
}

/*ボタン*/
#btn_box a {
	width: 47%;
	display: block;
	margin: 0 auto;
	padding: 60px;
	font-weight: bold;
	border-radius: 30px;
	color: #FFFFFF;
	cursor: pointer;
	text-decoration: none; /* 文字の下線を消す */
	position: relative;
	transition: all 0.3s ease;
	z-index: 3;
}

#btn_box a::after{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	border-width: 10px 0px 10px 20px;
	right: 40px;
	top: 40%;
	animation: moveArrow 1.5s ease-in-out infinite;
}

#btn_box a:hover {
	box-shadow: none;
	transform: translateY(5px);
	opacity: 1;
}

#btn_box a b{
	display: block;
	font-weight: 900;
	font-size: 35px;
}
#btn_box a span{
	display: block;
	font-weight: 900;
	font-size: 18px;
}

#btn_box .parenting{
	background-color: #ff4d77; /* 背景色 */
	box-shadow: 0 30px 0 #b73956; /* 影の太さ・色 */
}
#btn_box .link{
	background-color: #e77301; /* 背景色 */
	box-shadow: 0 30px 0 #b77217; /* 影の太さ・色 */
}

@media screen and (max-width: 1430px){
	#btn_box a b{font-size: 28px;}
	#btn_box a span{font-size: 15px;}
}

@media screen and (max-width: 1200px){
	#btn_box{padding: 60px 0 50px; display: block;}
	#btn_box a {
		width: 100%;
		padding: 20px;
		margin-bottom: 50px;
		border-radius: 10px;
	}
}

@media screen and (max-width: 800px){
	#btn_box a {margin-bottom: 20px;}
	#btn_box a b{font-size: 20px;}
	#btn_box a span{font-size: 14px;}
	#btn_box a::after{right: 20px; border-width: 5px 0px 5px 10px;}
	
	#btn_box .parenting{box-shadow: 0 10px 0 #b73956; /* 影の太さ・色 */}
	#btn_box .link{box-shadow: 0 10px 0 #b77217; /* 影の太さ・色 */}
	
	#btn_box .sp{display: block;}
}




/*=====================================================================================
***************************************************************************************

　　bannerボタン
		
***************************************************************************************
=====================================================================================*/

#kaigi_banner{
	padding: 90px 0;
	/*background: #feffd9;*/
}

#kaigi_banner img{
	max-width: 750px;
	width: 90%;
	border: 4px solid #000000;
}

#kaigi_banner h3{
	color: #056cb9;
	background: #ffde00;
	font-size: 30px;
	display: block;
	padding: 10px 20px;
	border-radius: 10px;
	font-weight: 900;
	max-width: 350px;
	width: 90%;
	position: relative;
	margin: 0 auto 30px;
}

#kaigi_banner h3::after{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: #ffde00 transparent transparent transparent;
	border-width: 15px 15px 0px 15px;
	margin: 0 auto;
	bottom: -14px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform:translateX(-50%);
}


@media screen and (max-width: 1500px){
	#kaigi_banner img{max-width: 580px;}
	#kaigi_banner h3{font-size: 27px;}
}

@media screen and (max-width: 1200px){
	#kaigi_banner img{max-width: 600px;}
	#kaigi_banner h3{font-size: 20px; max-width: 270px;}
}


@media screen and (max-width: 800px){
	#kaigi_banner{	padding: 40px 0; margin: 0 auto 15px;}
	#kaigi_banner h3{font-size: 16px;max-width: 190px;}
	#kaigi_banner h3::after{border-width: 10px 10px 0px 10px;bottom: -7px;}
	#kaigi_banner img{max-width: 450px; border: 2px solid #000000;}
}


/*=====================================================================================
***************************************************************************************

　　インスタグラムボタン
		
***************************************************************************************
=====================================================================================*/
#inst_btn{
	position: fixed;
	right: 0;
	bottom: 360px;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
}
#inst_btn.visible {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 1500px){
	#inst_btn{
		bottom: 280px;
	}
	#inst_btn img{width: 70px;}
}

@media screen and (max-width: 800px){
	#inst_btn{bottom: 130px;}
}

