@charset "UTF-8";
/* CSS Document */


body{
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
}

p {
	line-height: 30px;
}

h2 {
	font-size: 3em;
	font-weight: bold;
}

p {
	font-weight: 500;
}

section {
	margin: 300px auto;
}

.section_80{
	width: 70%;
}

.section_60{
	width: 70%;
}

#top_catch {
	background-image:url(image/top_catch.jpg) ;
	background-size: cover;
	margin-top: 0 !important;
	height: 100vh; /* ビューポートの高さいっぱいに設定 */
	background-position: right;
}

#header {
	padding: 1%;
}

#header img {
	width: 8%;
}

#header_darwinfilm_logo {
	width: 20%;
	padding: 20% 15% 15% 12%;
}

#top_catch h2 {
	font-size: 0.7rem;
	text-align: center;
}

.section_60 h2,
.section_80 h2 {
	margin: 150px 0;
}

#about img {
	margin: 5% 0;
}

.tex_center {
	text-align: center;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.flex div {
	width: 45%;
	margin: 2.5%;
}

.flex div img {
	width: 75%;
    margin: auto;
    display: block;
}

.flex div h3 { 
	font-size: 2em;
	margin-top: 7%;
}

#flex2 {
	gap: 2%;
}

.bold_p {
	font-weight: bold;
	font-size: 1.2em;
}

.contents_text {
	/*margin-top: 10%;*/
}

.bg_01 {
	background-color: #cae1ee;
	border-radius: 40px;
	padding: 5%;
	width: 35% !important;
}

.bg_02 {
	background-color: antiquewhite;
	border-radius: 40px;
	padding: 5%;
	width: 35% !important;
}

#square_icon {
	font-size: 6em;
	margin: 0 0 80px 0;
}

.effects {
	background-color: antiquewhite;
	border-radius: 10px;
	padding: 3%;
	width: 38% !important;
}

.effects h3 {
	margin-top: 5% !important;
}

.effects p {
	font-size: 0.9em;
	text-align: center;
}

#question_list {
	margin: 100px 0;
}

#question_list h4 {
	font-size: 1.2em;
}

#question_list p {
	margin-bottom: 4%;
}

#question_list div {
	background-color: #dbdbdb;
	border-radius: 20px;
	padding: 3%;
	margin-bottom: 3%;
}

table {
	width: 100%;
	font-size: 1em;
	font-weight: 500;
}

.fee_table {
	width: 70%;
	margin: auto;
	background-color: antiquewhite;
	border-radius: 30px;
	margin-bottom: 20px;
	padding: 2%;
}

table td {
	width: 60%;
	padding: 1% 3%;
}

.left_td {
	width: 40%;
	font-size: 1.2em;
	font-weight: bold;
	padding: 1% 0% 1% 5%;
}

#company .left_td {
	text-align: right;
}

.right_td {
	padding: 0 0 0 12%;
}

.fee_table td {
	width: 50%;
}

#company h3 {
	font-size: 1.5em;
	margin: 8% 0 3% 0;
}

#flex_3 {
	display: flex;
	width: 35%;
	margin: auto;
	flex-wrap: wrap-reverse;
	gap: 5%;
}

#flex_3 div {
	width: 30%;
	align-self: flex-end;
}

#footer_img_pc {
	margin-bottom: -60px;
}

#copyright {
	font-size: 0.7em;
	text-align: center;
}
#footer_img_smp {
	display: none;
}



@media screen and (min-width:801px) and ( max-width:1500px) {
	#header_darwinfilm_logo {
    	padding: 23% 15% 15% 8%;
	}
	.fee_table {
	    width: 100%;
}
}


@media screen and (min-width:621px) and ( max-width:800px) {
	#header img {
		width: 12%;
	}
	#header_darwinfilm_logo {
		width: 25%;
    	padding: 28% 15% 15% 6%;
	}
	.section_60 {
		width: 95%;
	}
	.fee_table {
	    width: 100%;
	}
}


@media screen and (max-width:620px) {
	#top_catch {
		background-image: url("image/darwinfilm_illust_smp.png")
	}
	#header img {
		width: 15%;
	}
	#header {
		padding: 3%;
	}
	#header_darwinfilm_logo {
		width: 60%;
	    padding: 20% 20% 15% 20%;
	}
	.section_80,
	.section_60 {
		width: 90%;
	}
	h2 {
		font-size: 2.2em;
	}
	section {
		margin: 230px auto;
	}
	.flex {
		display: flex;
	}
	.flex div {
		width: 85% !important;
		margin: 10% auto 0 auto;
		text-align: center;
	}
	#question_list div {
		margin-bottom: 8%;
	}
	.fee_table {
		width: 100%;
		padding: 6%;
	}
	#flex_3 {
		width: 50%;
	}
	.item1_1 {
		order: 1;
	}
	.item1_2 {
		order: 2;
	}
	.item2_1 {
		order: 4;
	}
	.item2_2 {
		order: 3;
	}
	.item3_1 {
		order: 5;
	}
	.item3_2 {
		order: 6;
	}
	.item4_1 {
		order: 8;
	}
	.item4_2 {
		order: 7;
	}
	#company h3 {
		margin: 20% 0 3% 0;
	}
	table {
		font-size: 0.85em;
	}
	#footer_img_pc {
		display: none;
	}
	#copyright {
		margin-bottom: -35px;
	}
	#footer_img_smp {
		display: block;
		margin-bottom: -40px;
	}
	#copyright {
		font-size: 0.7em;
		text-align: center;
	}
	.flex div h3 {
		font-size: 1.5em;
	}
	#question_list h4 {
		font-size: 1em;
	}
	#question_list p {
		font-size: 0.9em;
	}
	#question_list div {
		padding: 5%;
	}
} 




/*ふわっと表示アニメーション*/
/* アニメーションの設定 */
@keyframes fadeInUp {
    0% {
        transform: translateY(50px); /* 下から50pxの位置に */
        opacity: 0; /* 透明度を0に */
    }
    100% {
        transform: translateY(0); /* 通常位置に */
        opacity: 1; /* 透明度を1に */
    }
}

/* 最初は非表示状態 */
.animation01 {
    opacity: 0; /* 最初は透明に */
    transform: translateY(50px); /* 下に移動している状態 */
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out; /* アニメーションを0.8秒に短縮 */
}

/* スクロール時に表示される状態 */
.show {
    opacity: 1; /* 透明度を1に */
    transform: translateY(0); /* 元の位置に移動 */
}
/*終わり ふわっと表示アニメーション*/




/* 上下に揺れるアニメーション */
@keyframes bounce {
    0% {
        transform: translateY(0); /* 元の位置 */
    }
    50% {
        transform: translateY(15px); /* 15px下に移動 */
    }
    100% {
        transform: translateY(0); /* 元の位置に戻る */
    }
}

/* アニメーションの適用 */
#square_icon {
    display: block;
    animation: bounce 1.5s infinite ease-in-out; /* 1.5秒間隔で繰り返し動作 */
    margin: 100px; /* 適度なマージン */
}
/* 終わり上下に揺れるアニメーション */



/*SNSボタンアニメーション*/
#flex_3 div {
    /*width: 100px; /* 各ロゴの初期サイズ */
    transition: transform 0.5s ease; /* 拡大・縮小を0.5秒かけて実行 */
}

#flex_3 div:hover {
    transform: scale(1.2); /* ホバー時に20%大きくする */
}
/*終わり SNSボタンアニメーション*/




/*トップキャッチ ロゴアニメーション*/
.animation02 {
    opacity: 0; /* 初期状態は透明 */
    transform: scale(0.3) translateY(100px); /* 小さく、下に移動した状態 */
    animation: bigZoomPauseShrink 5s ease forwards; /* アニメーションを適用 */
}

/* アニメーションの定義 */
@keyframes bigZoomPauseShrink {
    0% {
        opacity: 0; /* 完全に透明 */
        transform: scale(0.3) translateY(100px); /* 小さく、下に移動した状態 */
    }
    50% {
        opacity: 1; /* 完全に表示 */
        transform: scale(1.3) translateY(0); /* 大きく拡大して元の位置に */
    }
    70% {
        opacity: 1; /* 表示されたまま */
        transform: scale(1.3) translateY(0); /* 2秒間この状態を維持 */
    }
    100% {
        opacity: 1; /* 完全に表示 */
        transform: scale(1) translateY(0); /* 元のサイズにゆっくり戻る */
    }
}