@charset "UTF-8";

/* =============================================
   登場恐竜ページ（dinosaurs.html）専用CSS
   ============================================= */

/* --- 恐竜ページ アニメーション初期状態 --- */
.dino_main {
	opacity: 0;
	display: none;
	position: relative;
	z-index: 10;
}

.active {
	display: block;
}

.dino_list ul li {
	opacity: 0.3;
}

.dino_list ul li.active {
	opacity: 1;
}

.anime1, .anime2, .anime3 {
	opacity: 0;
}

.dino_object1 {
	opacity: 0;
}


/* =============================================
   .dino_field：外枠コンテナ（黒背景）
   ============================================= */
.dino_field {
	position: relative;
	width: 100%;
	margin: 0;
	height: auto;
	background-color: #01091c;
	padding-bottom: 0;
	padding-left: 0;
}


/* =============================================
   .dino_intro：恐竜サポーター紹介（独立・通常フロー）
   .back_img とは切り離し、h1/h2 の高さ分だけ
   padding-top で余白確保
   ============================================= */
.dino_field > .dino_intro {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	max-width: none;
	padding: 130px 10px 0;
	margin: 0;
	z-index: 200;
	box-sizing: border-box;
}

.dino_field > .dino_intro .container {
	width: 100%;
	max-width: none !important;
	padding: 0;
	margin: 0;
}

.dino_field .navi_contents {
	width: 80%;
	max-width: none;
	margin: 80px auto 0;
	padding: 40px 5%;
	background-color: #f8f3e7;
	box-sizing: border-box;
}

.dino_field .navi_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dino_field .navi_wrap figure {
    width: 30%;
    margin: 0;
    padding: 0;
}

.dino_field .navi_wrap .description {
    text-align: left;
    width: 65%;
}

.h4_supporter {
	color: var(--color-darkdark-brown);
	font-size: 1.3rem;
	line-height: 1.6;
	text-align: center;
	font-weight: bold;
	position: relative;
	margin: 0 0 50px;
	padding: 15px;
	border: 2px solid var(--color-darkdark-brown);
	border-radius: 5px;
}

.h4_supporter:before {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	height: 3px;
	width: 20px;
	background-color: #f8f3e7;
	content: "";
}

.h4_supporter:after {
	position: absolute;
	top: 90%;
	left: 50%;
	transform: translateX(-50%);
	height: 20px;
	width: 2px;
	background-color: var(--color-darkdark-brown);
	content: "";
}


/* --- main_h2 位置オーバーライド --- */
.dino_field .main_h2 {
	color: var(--color-bronze-gold);
	bottom: auto;
	top: 70px;
}


.dino_field .lead_bun {
	color: var(--color-near-black);
	font-size: 1.3em;
	line-height: 2em;
	font-weight: 600;
	text-align: center;
	letter-spacing: 1px;
	position: absolute;
	top: 220px;
	left: 50%;
	width: 52%;
	transform: translateX(-50%);
	margin: 0 auto;
	max-width: 780px;
	opacity: 0;
}

.clickthis {
	opacity: 0;
}


/* =============================================
   .dino_wrap：ヒーローイメージ＋恐竜詳細ステージ
   back_img が全面背景、dino_all が上にレイヤー
   ============================================= */
.dino_wrap {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	margin: 80px 0 0;
	/* 背景画像のアスペクト比(1920×1271)に合わせた min-height */
	min-height: calc((1271 / 1920) * 100vw);
	overflow: visible;
}

/* back_img：dino_wrap 全面を覆う背景レイヤー（CSS background で画像切替） */
.dino_wrap .back_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 1;
	background-image: url(../images/dinosaurs/dino_bg.jpg);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

/* dino_all：背景の上にレイヤーで重ねる恐竜シルエット行 */
.dino_all {
	opacity: 1;
}

.dino_wrap .dino_all {
	position: absolute;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	z-index: 5;
	margin: 0;
	padding: 0;
}

.dino_wrap .dino_all figure {
	position: relative;
	margin: 0;
	padding: 0;
}

.dino_wrap .dino_all .dino_allshadow {
	position: absolute;
	left: 50%;
	bottom: -12%;
	width: 84%;
	transform: translateX(-50%);
	z-index: 0;
}

.dino_wrap .dino_all .dino_allshadowimg {
	display: block;
	width: 100%;
	height: auto;
}

.dino_wrap .dino_all picture:not(.dino_allshadow) {
	position: relative;
	z-index: 1;
}

.dino_wrap .dino_all figcaption {
	color: #fff;
	font-size: 1em;
	line-height: 1.6em;
	text-align: center;
	margin: 20px 0 0;
}


/* =============================================
   各恐竜カード内レイアウト（GSAP連携）
   ============================================= */
.dino_eg {
	color: #fff;
	font-size: 7em;
	line-height: .9em;
	font-weight: bold;
	text-align: left;
	margin: 0;
	position: absolute;
	top: 450px;
	left: 40px;
	opacity: .3!important;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 11;
}

.dino_photo {
	position: relative;
	top: 550px;
	left: calc(50% - (528 / 1920) * 100vw + 50px); /* 80%相当に縮小して中央寄せ */
	width: calc(1056 / 1920 * 100vw);
	height: calc(548 / 1920 * 100vw);
	z-index: 11;
}

.dino_txt {
	position: absolute;
	text-align: left;
	background-color: rgba(84,80,67,0.2);
	padding: 1em 1.5em;
	border: 1px solid #978b78;
	width: 33%;
	right: 30px;
	opacity: 0;
	bottom: -640px;
	z-index: 12;
}

.dino_txt h3 {
	color: #fff !important;
	font-size: 1.5em !important;
	line-height: 1.3em !important;
	font-weight: bold !important;
	margin: 0;
	padding: 0;
}

.dino_txt h3 .new {
	font-size: 0.6em !important;
	line-height: 1.5em;
	display: inline-block;
	padding: 3px 5px 0;
	background-color: #d7073a;
	font-weight: normal;
	font-style: normal;
}

.dino_txt p {
	color: #f5f5f5 !important;
	font-size: 1em !important;
	line-height: 1.8em !important;
	margin: 10px 0 0;
}


/* =============================================
   .dino_list：サムネイルリスト（独立・通常フロー）
   ============================================= */
.dino_list {
	margin: 0 auto 80px;
	padding: 40px 0;
	width: 90%;
	position: relative;
}

.dino_list ul {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.dino_list li {
	width: 13.5%;
	margin: 0;
	padding: 0;
}

.dino_list li img {
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	cursor: pointer;
	width: 100%;
	height: auto;
	display: block;
}

.dino_list_li_img img {
	transition: filter 0.4s ease;
}

.dino_list_li_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1 !important;
}

.dino_list_li_walu {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 90 !important;
	display: none;
}

.kyo_thm {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.dino_copy {
	color: #aaa;
	font-size: 0.8em;
	line-height: 1;
	position: absolute;
	right: 20px;
	bottom: 10px;
}

.dino_notes {
	color: #444;
	font-size: 0.75em;
	line-height: 1.6em;
	text-align: right;
	margin: 0 10px 100px;
}

.dino_sub2_pd {
	padding-top: 7px !important;
}

.dino_wrap .dino_all picture,
.dino_wrap .dino_all img {
	display: block;
	width: 100%;
	height: auto;
}


/* =============================================
   レスポンシブ
   ============================================= */

/* --- 1700px --- */
@media screen and (max-width: 1700px) {
.dino_field .lead_bun {
	width: 60%;
}

.dino_eg {
	font-size: 5.5em;
	line-height: .9em;
}

.dino_txt h3 {
	font-size: 1.4em !important;
}

.dino_txt p {
	font-size: 0.9em !important;
	line-height: 1.8em !important;
}

.dino_list {
	width: 70%;
}
}


/* --- 1450px --- */
@media screen and (max-width: 1450px) {
.dino_txt {
	width: 33%;
	right: 30px;
	bottom: -400px;
}

.dino_list {
	width: 70%;
}
}


/* --- 1350px --- */
@media screen and (max-width: 1350px) {
.dino_field .lead_bun {
	color: #fff;
	font-size: 1.2em;
	line-height: 2em;
	font-weight: 500;
	text-align: left;
	letter-spacing: 1px;
	position: absolute;
	top: 200px;
	left: 50%;
	width: 60%;
	transform: translateX(-50%);
	margin: 0 auto;
	opacity: 1;
	max-width: 1000px;
}

.dino_txt {
	width: 40%;
	right: 30px;
	bottom: -350px;
}

.dino_txt h3 {
	font-size: 1.2em !important;
	line-height: 1.3em !important;
}

.dino_txt p {
	font-size: 0.95em !important;
	line-height: 1.8em !important;
}
}


/* --- 1280px --- */
@media screen and (max-width: 1280px) {
.dino_field .lead_bun {
	font-size: 1.1em;
}

.dino_eg {
	font-size: 6em;
	line-height: .9em;
}

.dino_name {
	width: 80%;
}

.dino_txt {
	width: 40%;
	right: 30px;
	bottom: -400px;
}

.dino_txt p {
	font-size: 0.95em !important;
	line-height: 1.6em !important;
}

.dino_list {
	width: 90%;
}
}


/* --- 1024px --- */
@media screen and (max-width: 1024px) {
.dino_field .navi_contents {
    width: 90%;
	margin: 50px auto 0;
	padding: 20px;
}

.h4_supporter {
	font-size: 1em;
	text-align: left;
	margin: 0 0 30px;
	padding: 1em 1em 0.8em;
}

.dino_field .navi_wrap figure {
    width: 32%;
}

.dino_field .navi_wrap .description h4 {
    font-size: 1.6em;
    line-height: 1.3em;
    text-align: left;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    padding: 0.2em 0.5em 0.3em 0;
}

.dino_field .navi_comment_p {
    font-size: 0.95rem;
    line-height: 1.8em;
    margin: 15px 0 0;
}

.dino_field .lead_bun {
	font-size: 1em;
	line-height: 2em;
	position: absolute;
	top: 180px;
	width: 70%;
}

.dino_wrap {
	min-height: calc((685 / 1920) * 100vw + 800px);
}

.dino_eg {
	font-size: 4.5em;
	line-height: .9em;
	top: 350px;
	left: 50px;
}

.dino_txt {
	width: 60%;
	right: 30px;
	bottom: -450px;
}

.dino_list {
	width: 90%;
}
}


/* --- 912px --- */
@media screen and (max-width: 912px) {
.dino_field .lead_bun {
	font-size: 1em;
	line-height: 1.8em;
	position: absolute;
	top: 180px;
	width: 80%;
}

.dino_txt {
	width: 95%;
	right: 20px;
	bottom: -450px;
}

.dino_txt h3 {
	font-size: 1.1em !important;
	line-height: 1.3em !important;
}

.dino_txt p {
	font-size: 0.9em !important;
	line-height: 1.8em !important;
}
}


/* --- 820px --- */
@media screen and (max-width: 820px) {
.dino_field .lead_bun {
	font-size: 1em;
	line-height: 1.8em;
	position: absolute;
	top: 170px;
	width: 90%;
}

.dino_txt {
	width: 95%;
	right: 20px;
	bottom: -430px;
}
}


/* --- 768px --- */
@media screen and (max-width: 768px) {
.dino_field .navi_wrap figure {
    width: 60%;
    margin: 0 auto;
    padding: 0;
}

.dino_field .navi_wrap .description {
    text-align: left;
    width: 95%;
	margin: 20px auto 0;
}

.dino_field .lead_bun {
	font-size: 1em;
	line-height: 1.8em;
	position: absolute;
	top: 180px;
	width: 95%;
}

.dino_txt {
	width: 93%;
	right: 20px;
	bottom: -480px;
}

.dino_list {
	width: 92%;
}
}


/* --- 640px（SP） --- */
@media screen and (max-width: 640px) {
.dino_field {
	width: 100%;
	padding-bottom: 30px;
	padding-left: 0;
	margin: 0 !important;
}

/* SP：dino_intro は通常フロー、padding-top で h1/h2 分を確保 */
.dino_field > .dino_intro {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	width: 100%;
	max-width: none;
	text-align: center;
	margin: 0;
	padding: 80px 20px 0;
}

.dino_field > .dino_intro .container {
	width: 100%;
}

.dino_field .navi_contents {
	width: 95%;
	margin: 50px auto 20px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.dino_field .navi_wrap {
	flex-direction: column;
	align-items: center;
}

.dino_field .navi_wrap figure {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.dino_field .navi_wrap .description {
	width: 100%;
	margin: 0 auto;
}

.dino_wrap .back_img {
	background-image: url(../images/dinosaurs/dino_bg-sp.webp);
	background-position: center -100px;
}

.dino_field .lead_bun {
	font-size: 1em;
	line-height: 1.8em;
	position: absolute;
	top: 150px;
	width: 90%;
}

.dino_wrap .dino_all {
	bottom: 140px;
	width: 95%;
}

.dino_wrap .dino_all figure {
    position: relative;
    margin: 0;
    padding: 0 0 0 15px;
}

/* SP：dino_wrap は min-height を小さめに */
.dino_wrap {
	margin: 20px 0 0;
	min-height: calc((997 / 800) * 100vw);
	display: flex;
	flex-direction: column;
	right: auto;
	left: auto;
	transform: none;
}

.dino_eg {
	display: block;
	position: relative;
	top: auto;
	left: auto;
	margin: 50px 0 12px;
	padding: 0;
	font-size: 2.2em;
	line-height: 0.9;
	text-align: center;
	opacity: 0.25 !important;
	color: #000;
}

.dino_photo {
	position: relative;
	top: 50px;
	left: auto;
	width: 85%;
	height: auto;
	margin: 0 auto;
}

.dino_txt {
	position: relative;
	text-align: left;
	background-color: rgba(84, 80, 67, 0.2);
	padding: 0.5em 1em;
	border: 1px solid #978b78;
	width: 88%;
	right: auto;
	bottom: auto;
	opacity: 0;
	left: auto;
	margin: 50px 0 0 30px;
	top: 0;
}

.dino_list {
	width: 92%;
	margin: 0 auto;
	padding: 20px 0;
}

.dino_list ul {
	justify-content: center;
	column-gap: 3%;
	row-gap: 8px;
}

.dino_list li {
	width: 30%;
}

.kyo_thm {
	aspect-ratio: auto;
}

.dino_list_li_img {
	position: relative;
	top: auto;
	left: auto;
}

.dino_wrap .dino_all figcaption {
    font-size: 0.85em;
}

.dino_list_li_walu {
	display: none;
}

.dino_notes {
	text-align: left;
	margin: 0 10px 60px;
}
}
