@charset "utf-8";

		html {
			scroll-behavior: smooth;
			scroll-padding-top: 80px;
		}

		body {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
			width: 100%;
			background-color: #000000;
			background-image: url('../img/bg_tensei.jpg');
			background-repeat: no-repeat;
			background-size: contain;
			background-attachment: fixed;
			background-position: center;
			color: #ffffff;
			font-family: Noto Sans JP, Arial, sans-serif;
			padding-top: 100px; /* グローバルナビの高さ＋余白 */
			font-size: 16px;
		}

	@media screen and (min-width: 700px) {
		body {
			min-width: 700px;
		}

		.global-nav {
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 80px;
			background-color: rgba(17, 17, 17, 0.9);
			border-bottom: 1px solid #333333;
			z-index: 1000;
			display: flex;
			justify-content: center; 
			align-items: center;
		}
		.nav-list {
			display: flex;
			list-style: none;
			gap: 30px;
		}
	}

	@media screen and (max-width: 700px) {
		.global-nav {
			position: fixed;
			width: 100%;
			height: 80px;
			top: 0;
			background-color: rgba(17, 17, 17, 0.9);
			border-bottom: 1px solid #333333;
			z-index: 1000;
		}

		.nav-button {
			position: fixed;
			top: 15px;
			right: 15px;
			z-index: 100;
			width: 40px;
			height: 40px;
			background-color: #333;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			border-radius: 5px;
}

		.nav-button span, .nav-button span::before, .nav-button span::after {
			position: absolute;
			width: 20px;
			height: 20px;
			border-top: 2px solid #fff;
			content: '';
			top: 14px;
		}
		.nav-button span::before { top: 4px; left: 0; }
		.nav-button span::after { top: -6px; left: 0; }

		.nav-list {
			position: fixed;
			top: 65px;
			right: 15px;
			z-index: 99;
			padding: 5px;

			display: grid;
			grid-template-columns: repeat(1, 120px);
			grid-template-rows: repeat(5, 50px);
			gap: 10px;

			opacity: 0;
			visibility: hidden;
			transition: all 0.3s ease;
			background-color: rgba(17, 17, 17, 0.7);
			list-style: none;
		}

		.nav-checkbox:checked ~ .nav-list {
			opacity: 1;
			visibility: visible;
		}
	}

		.nav-list a {
			color: #ffffff;
			text-decoration: none;
			font-weight: bold;
			font-size: 16px;
			transition: color 0.3s;
		}
		.nav-list a:hover {
			color: #00adb5;
		}

		.nav-checkbox {
			display: none;
		}

		.artelogo {
			position: absolute;
			top: 10px;
			left: 20px;
		}

        /* タイトルコンテナ */
        .title-container {
			position: relative;
			text-align: center;
			margin: -60px auto 0 auto;
        }

        .title-container img {
			max-width: 100%;
        }

	@media screen and (max-width: 700px) {
        .title-container {
			margin: -30px auto 0 auto;
        }
	}

		.hacs-logo {
			position: absolute;
			margin-top: 40px;
		}

		/* コンテンツエリア全体 */
		.container {
			max-width: 1000px;
			margin: 0 auto;
			padding: 40px 0;
		}

		.footer {
			text-align: center;
			color: #ffffff;
			padding: 20px;
			font-size: 12px;
		}

		/* 各セクションの基本設定（アニメーションの初期状態） */
	@media screen and (max-width: 700px) {
		section {
			padding: 15px 15px;
		}
	}
	@media screen and (min-width: 700px) {
		section {
			padding: 40px 40px;
		}
	}
		section {
			margin-bottom: 100px;
			background-color: rgba(255, 255, 255, 0.70); /* エリア可視化用の仮背景 */
			border-radius: 8px;
			color: #112255;

			/* JSが動く前の初期状態：透明＆下に50px下がった状態 */
			opacity: 0;
			-webkit-transform: translateY(50px);
			transform: translateY(50px);
			
			/* 変化の速度や滑らかさを指定（0.8秒かけて変化） */
			-webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
			transition: opacity 0.8s ease, transform 0.8s ease;
		}

		/* 画面に入ったときにJSで付与するクラス */
		section.is-visible {
			opacity: 1;
			-webkit-transform: translateY(0);
			transform: translateY(0);
		}

		.h2-outer {
			background-image: url('../img/head-ui.png');
			background-repeat: no-repeat;
			margin-bottom: 30px;
			width: 230px;
			height: 60px;
			display: flex;
			justify-content: center;
			align-items: center;
		}

		h2 {
			font-size: 24px;
			color: #ffffff;
			margin-bottom: 1em;
		}

		h3 {
			font-size: 18px;
			font-weight: bold;
			padding: 0;
			margin: 20px 0;
			width: fit-content;
			display: flex;
		}

		.karuman {
			position: absolute;
			top: 30px;
			right: 30px;
			display: inline;
		}

		red {
			color: #dd0000;
		}

	@media screen and (min-width: 700px) {
		/* synopsis（回り込み設定） */
		.synopsis-row {
			margin-bottom: 40px;
		}
		/* 回り込み解除のクリアフィックス */
		.synopsis-row::after {
			content: "";
			display: block;
			clear: both;
		}
		.synopsis-img {
			display: flex;
			align-items: center;
			color: #aaa;
			font-size: 14px;
		}

		/* 上段：文字の回り込みを画像の左側（＝画像を右に配置） */
		.row-right .synopsis-img {
			float: right;
			margin-left: 20px;
			margin-right: 40px;
		}
		/* 下段：文字の回り込みを画像の右側（＝画像を左に配置） */
		.row-left .synopsis-img {
			float: left;
			margin-right: 20px;
			margin-left: 40px;
		}
		.synopsis-row p {
			line-height: 1.8;
		}

		.yt-inner {
			width: 560px;
			aspect-ratio: 16 / 9;
		}
	}
	@media screen and (max-width: 700px) {
		.yt-inner {
			width: 300px;
			aspect-ratio: 16 / 9;
		}
	}
		.yt-inner iframe {
			width: 100%;
			height: 100%;
		}

		img.inline-yt {
			vertical-align: middle;
			margin-left: 10px;
		}

		.info-list {
			list-style: disc;
			padding: 0 40px;
		}

		.tbl-list {
			list-style: none;
			padding: 0;
		}

		.table-header, .table-row {
			display: grid;
			grid-template-columns: 1fr 3fr;
			border-bottom: 1px solid #ddd;
			align-items: end;
		}

		.table-noborder {
			display: grid;
			grid-template-columns: 1fr 3fr;
		}

		.table-noborder p {
			margin: 4px 0;
		}

		.coltl {
			padding: 12px;
			font-weight: bold;
		}

		.col {
			padding: 12px;
		}

		.col-end {
			padding: 0px;
		}

		.annotxt {
			font-size: 14px;
		}

        /* --- サムネイル画像のスタイル --- */
        .thumbnail {
            max-width: 300px;
			max-height: 200px;
            cursor: pointer;
            transition: scale 0.3s ease;
        }
        .thumbnail:hover {
            scale: 1.05; /* ホバー時に少し大きくする */
        }

        /* --- モーダル（オーバーレイ）の基本スタイル --- */
        #modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8); /* 半透明の黒背景 */
            display: none; /* 初期状態は非表示 */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* --- 表示する画像 --- */
        #modal-img {
            max-width: 90%;
            max-height: 90%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        /* --- 閉じるボタン --- */
        #close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 40px;
            color: #ffffff;
            background: none;
            border: none;
            cursor: pointer;
            line-height: 1;
        }
        #close-btn:hover {
            color: #aaaaaa; /* ホバー時に色を変える */
        }

		body.no-scroll {
			overflow: hidden;
		}

		.ninstore {
			margin-left: 40px;
			padding: 15px 40px;
			height: 80px;
		}

		.ninstore img {
			height: 80px;
		}

	@media screen and (min-width: 700px) {
		.cero {
			height: 40px;
			margin-left: 5em;
		}
	}

	@media screen and (max-width: 700px) {
		.cero {
			height: 30px;
			margin-left: 0.5em;
		}
	}
