﻿@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

html {scroll-padding-top: 60px; scroll-behavior: smooth;}

body{
	margin: 0;
	padding: 0;
	background-color: white;
	}

body:before{
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-image: url("../images/tanmoshi/background.webp");
	background-position: top 15vh right -5vw;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	}

body.is-drawer-open {overflow: hidden;}
body.is-drawer-open .header-logo {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	}

body.STORY, body.CHARACTER{
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	overscroll-behavior: none; 
	}



/*animation*/
.fadein {
  opacity: 0;
  transform: translate(0,0);
  transition: all 2.25s;
  
  &.fadein-left{transform: translate(-30px,0);}
  &.fadein-right{transform: translate(30px,0);}
  &.fadein-up{transform: translate(0,-30px);}
  &.fadein-bottom{transform: translate(0,30px);}
  &.scrollin{opacity: 1 !important; transform: translate(0, 0) !important;}
	
  &.line-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    overflow: hidden;
    transition: opacity 2.25s;

    /* text */
    .txt {
      display: inline-block;
      opacity: 0;
      transform: translateY(20px);
    }

    /* line */
    &::after {
      content: '';
      height: 1px;
      background-color: #333;
      flex-grow: 1;
      transform: scaleX(0);
      transform-origin: left center;
    }

    /* h2 scroll */
    &.scrollin {
      .txt {
        animation: headingTextIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
      }
      &::after {
        animation: headingLineIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.5s;
      }
    }
  }
}


@keyframes headingTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headingLineIn {
  to {
    transform: scaleX(1);
  }
}


.anime_02{animation-delay: 2s;}
.anime_04{animation-delay: 4s;}
.anime_06{animation-delay: 6s;}
.anime_08{animation-delay: 8s;}



@media only screen and (max-width: 900px) {
	html {scroll-padding-top: 180px;}
	body:before{background-position: top 5vh center;}
	}


/*-----navi-----*/
.site-header {
	position: fixed;
	top: 20px;
	left: 0;
	width: 100%;
	height: 90px;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	box-sizing: border-box;
	}


.header-logo {
	padding: 0.5em;
	border-radius: 5px;
	background: #FFF;
	transition: opacity 0.3s ease;
	}

	#TOP .header-logo{background: none!important;}
	
.header-logo img {
	margin-left: 15px;
	height: 60px;
	width: auto;
	display: block;
	}

	#TOP .header-logo img{display: none;}


.hamburger {
	margin-top: -20px;
	margin-right: 20px;
	position: relative;
	width: 60px;
	height: 60px;
	background-color: #000;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
	box-shadow: -5px 5px 0px 0px #ff007f;
	display: flex;
	justify-content: center;
	align-items: center;
	}

.hamburger span {
	position: absolute;
	width: 34px;
	height: 2px;
	background-color: #fff;
	transition: all 0.3s ease;
	}

	.hamburger span:nth-child(1) { transform: translateY(-10px); }
	.hamburger span:nth-child(2) { opacity: 1; }
	.hamburger span:nth-child(3) { transform: translateY(10px); }

	.hamburger.active span:nth-child(1) {transform: translateY(0) rotate(45deg);}
	.hamburger.active span:nth-child(2) {opacity: 0;}
	.hamburger.active span:nth-child(3) {transform: translateY(0) rotate(-45deg);}


.full-menu {
	position: fixed;
	top: -20px;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 90;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	}

.full-menu.active {
	opacity: 1;
	pointer-events: auto;
	}

/*sub menu*/
.full-menu li.nav-parent {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	}

.full-menu ul.sub-menu {
	margin-top: 10px;
	margin-left: 15px;
	padding-left: 15px;
	border-left: 2px solid #ff007f;
	}

.full-menu ul.sub-menu li {
	margin: 10px 0;
	opacity: 1;
	transform: none;
	}

.full-menu ul.sub-menu a {
	font-size: clamp(1rem, 0.8vw + 1rem, 1.5rem);
	background: linear-gradient(60deg, rgba(255,255,255,1) 50%, rgba(255,0,127,1) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	}


/*navi text*/
.full-menu div{
	width: 70%;
	max-width: 300px;
	padding: 1em;
	margin: 0 auto 30px;
	display: block;
	background: #FFF;
	border-radius: 5px;
	box-shadow: -5px 5px 0px 0px #ff007f;
	}

.full-menu ul {list-style: none; text-align: left; margin: 0; padding: 0;}
.full-menu li {
	margin: 15px 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	}

.full-menu.active li {
	opacity: 1;
	transform: translateY(0);
	}

	.full-menu.active li:nth-child(1) {transition-delay: 0.2s;}
	.full-menu.active li:nth-child(2) {transition-delay: 0.3s;}
	.full-menu.active li:nth-child(3) {transition-delay: 0.4s;}
	.full-menu.active li:nth-child(4) {transition-delay: 0.5s;}
	.full-menu.active li:nth-child(5) {transition-delay: 0.6s;}

.full-menu a {
	color: #fff;
	font-size: clamp(1.7rem, 1.25vw + 1rem, 3rem);
	font-family: "Spectral", serif;
	background: linear-gradient(60deg, rgba(255,0,127,1) 20%,rgba(255,255,255,1) 60%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
	}

/*inactive*/
.full-menu ul li:nth-child(3) a, .full-menu ul li:nth-child(4) a{
	color: #7d7d7d;
	background: initial;
	-webkit-background-clip: initial;
	background-clip: initial;
	}


@media only screen and (max-width: 650px) {
	.site-header{top: 10px; padding: 5px;}
	.hamburger {margin-top: -10px; margin-right: 10px;}
	}



/*-----main-----*/
main{padding-bottom: 20%;}
.STORY main, .CHARACTER main{padding: 0;}

main section{padding: 1.5%;}
#TOP main section:nth-child(2){padding: 0 0 10%;}
.STORY main section, .CHARACTER main section{padding: 0;}

h3, h4, h5{color: #333; font-family: "Shippori Mincho", serif;}
main p, main li, main dt, main dd, main ul{
	font-size: clamp(0.5rem, 1.25vw + 0.5rem, 1rem);
	line-height: 1.6em;
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	color: #333;
	}

.red{color: red;}
.small{font-size: clamp(0.4rem, 1.25vw + 0.4rem, 0.8rem);}
br.sp{display: none;}

a{outline: none; text-decoration: none;}
:hover{transition: all  0.5s ease;}

@media only screen and (max-width: 650px) {br.sp{display: block;}}



/*h2*/
h2{
	font-size: clamp(2.5rem, 1.25vw + 2rem, 6rem);
	font-family: "Spectral", serif;
	font-weight: 400;
	}

h2 span{
	background: linear-gradient(60deg, rgba(255,0,127,1) 20%,rgba(51,51,51,1) 60%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	}


@media only screen and (max-width: 650px) {.STORY main h2{margin: 0;}}



/*h3*/
h3 {
	margin: 0 0 5rem;
	padding: 0 0 1rem;
	font-size: clamp(1.8rem, 1.25vw + 1rem, 2.5rem);
	position: relative;
	text-align: center;
	}

h3:before {
	position: absolute;
	bottom: -10px;
	left: calc(50% - 24px);
	width: 48px;
	height: 5px;
	content: '';
	background: linear-gradient(135deg, rgba(51,51,51,1) 0%,rgba(255,0,127,1) 100%);;
	}

h3 br{display: none;}

#Story h3, #System h3{font-size: clamp(1rem, 1.25vw + 1rem, 2rem);}
#Story h3 br, #System h3 br{display: block;}
h3.char-name:before{background: transparent;}


@media only screen and (max-width: 650px) {
	#Story h3, #System h3{margin: 0 0 2.5rem;}
	h3 br{display: block;}
	}


/*h4*/
h4{
	margin: 0 0 1em;
	padding: 0.5em 0.25em;
	font-size: clamp(0.7rem, 1.25vw + 0.7rem, 1.2rem);
	border-bottom: solid 1px #333;
	}

	h4 span.first-txt{color:#ff007f;}


/*h5*/
h5{
	margin: 2em 0 1em;
	padding: 0.25em 0.65em;
	font-size: clamp(0.7rem, 1.25vw + 0.7rem, 1rem);
	border-left: solid 10px #ff007f;
	}


img{max-width: 100%;}

.Product ul, .Product-item ul{margin: 1em 1%; padding: 0; list-style: none;}
.Product ul > li, .Product-item ul > li{margin: 0; padding: 0.35em 0.5em 0.35em 1em;}
.Product ul > li:before, .Product-item ul > li:before{color:#ff007f; content:"◆"; margin-left: -1em; margin-right: 0.5em;}

.Product ul > li ul, .Product-item  ul > li ul{margin: 0.5em; padding: 0; list-style: none;}
.Product ul > li ul > li:before, .Product-item ul > li ul > li:before{color:#ff007f; content:"◇"; margin-left: -1em; margin-right: 0.5em; font-weight: 800;}


/*LinkButton*/
.LinkButton{width: 80%; max-width: 400px; padding-bottom: 1em;}
#TOP .LinkButton{margin: 2em auto auto;}

.LinkButton a {
	width: 100%;
    margin: 0 auto;
    padding: 0.75rem 0;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(0.5rem, 5vw + 0.5rem, 0.8rem);
	line-height: 1.5em;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 700;
	border: solid 1px #00aeff;
	background: #00aeff;
    }

	.LinkButton a:hover{color: #FFF; background: #0084ff;}

.LinkButton a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.5rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    transform: translateY(-50%) rotate(45deg);
    }

	.LinkButton a:hover:after {right: 1rem;}



@media only screen and (max-width: 900px) {.Product section{padding: 3.5%;}}
@media only screen and (max-width: 650px) {
	.Product{padding-bottom: 40%;}
	.Product section{padding: 0;}
	.Product section:last-child{padding: 5%;}
	}



/*-----TOP-----*/
/*mainVisual*/
#mainVisual{display: flex; flex-wrap: wrap; align-items: center; position: relative;}

#mainVisual > div{flex: 0 1 50%;}
#mainVisual > div article{padding: 0 10% 0 0;}
#mainVisual > div:last-child p{margin: 0; padding: 1.5%; text-align: center;}

.platform{
	max-width: 90px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 1.5%;
	left: 1.5%;
	}

.tanmoshi_5th{
	max-width: 100px;
    margin: 0 auto;
	height: 0;
	padding-top: 20%;
	background-repeat: no-repeat;
	background-size: contain!important;
	overflow: hidden;
	display: block;
    background-image: url("../images/tanmoshi/tanmoshi5th.webp");
	background-position: top center;
    }

#mainVisual h1{
	width: 100%;
    margin: 1em 0 2em;
	height: 0;
	padding-top: 28%;
	background-repeat: no-repeat;
	background-size: contain!important;
	overflow: hidden;
	display: block;
    background-image: url("../images/tanmoshi/tanmoshi_logo.webp");
	background-position: top center;
    }


/*border anime*/
	.stroke {padding: 1em 0; position: relative;}

	.stroke .border {content: ""; position: absolute; opacity: 0;}
	.stroke .border.top, .stroke .border.bottom {width: calc(100% - 25%);}
	.stroke .border.top {border-top: 1px solid #000; left: 0; top: 0;}
	.stroke .border.bottom {border-bottom: 1px solid #000; right: 0; bottom: 0;}

	.stroke.is-animated .border {opacity: 1;}
	.stroke.is-animated .border.top, .stroke.is-animated .border.bottom {animation: stroke-width 1.8s cubic-bezier(0.22, 1, 0.36, 1);}

	.stroke p{width: 80%; max-width: 600px; margin: auto; padding: 1.5em 0; text-align: center;}


	@keyframes stroke-width { 0% {width: 0; opacity: 1;} 100% {width: calc(100% - 25%); opacity: 1;}}


@media only screen and (max-width: 900px) {.platform{max-width: 70px; top: 3.5%; left: 3.5%;}}

@media only screen and (max-width: 650px) {
	#mainVisual > div{flex: 0 1 100%;}
	#mainVisual > div article{margin-top: -40%; padding: 0;}
	#mainVisual > div:last-child p{margin: 0; padding: 0;}
	
	.platform{max-width: 55px; top: 20px; left: 20px;}
	.tanmoshi_5th{max-width: 40px; position: absolute; top: 17px; left: 86px;}
	#mainVisual h1{width: 90%; margin: 1em 5% 2em;}
	
	.stroke {padding: 0.5em 0;}
	
	.mv_01{order: 2;}
	.mv_02{order: 1;}
	}


/*introduction*/
#Introduction{padding: 30vh 0 2em;}

/*h2*/
#Introduction h2{
	text-align: center;
	font-size: clamp(0.8rem, 1.25vw + 1rem, 1.5rem)!important;
	}

#Introduction h2 span{
	letter-spacing: 5px;
	background: #333;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	}

.fade-text span {
	display: inline-block;
	opacity: 0;
	transform: translateY(10px);
	}

.fade-text.is-active span {
	animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(var(--index) * 0.08s);
	}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---introduction---*/
/*introduction Design*/
.animated-bg-box {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	}


.bg-content {
	padding: 1em 2em 3em;
	position: relative;
	z-index: 2;
	pointer-events: auto;
	}

	.bg-content p{font-size: clamp(0.5rem, 1.25vw + 0.5rem, 1.25rem)}


/*introduction inner*/
.bg-circles * {box-sizing: border-box;}

.bg-circles {
	width: 30vw;
	height: 30vw;
	position: absolute;
	top: 60%;
	right: 0;
	transform: translate(50%, -60%);
	z-index: 1;
	pointer-events: none;
	}

/*circle*/
.outer-circle {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 6px solid rgba(0,0,0,0.05);
	border-radius: 50%;
	
	mask-image: conic-gradient(
		transparent 0deg, transparent 15deg, 
		#000 15deg, #000 165deg, 
		transparent 165deg, transparent 195deg, 
		#000 195deg, #000 345deg, 
		transparent 345deg, transparent 360deg
	);
	
	-webkit-mask-image: conic-gradient(
		transparent 0deg, transparent 15deg, 
		#000 15deg, #000 165deg, 
		transparent 165deg, transparent 195deg, 
		#000 195deg, #000 345deg, 
		transparent 345deg, transparent 360deg
	);
	
	animation: spin-clockwise 20s linear infinite;
	}


.inner-circle {
	position: absolute;
	top: 3vw;
	left: 3vw;
	right: 3vw;
	bottom: 3vw;
	border: 6px solid rgba(0,0,0,0.05);
	border-radius: 50%;
	
	mask-image: conic-gradient(
		transparent 0deg, transparent 15deg, 
		#000 15deg, #000 165deg, 
		transparent 165deg, transparent 195deg, 
		#000 195deg, #000 345deg, 
		transparent 345deg, transparent 360deg
	);
	
	-webkit-mask-image: conic-gradient(
		transparent 0deg, transparent 15deg, 
		#000 15deg, #000 165deg, 
		transparent 165deg, transparent 195deg, 
		#000 195deg, #000 345deg, 
		transparent 345deg, transparent 360deg
	);
	
	animation: spin-counter-clockwise 17s linear infinite;
	}

@keyframes spin-clockwise {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
	}

@keyframes spin-counter-clockwise {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(-360deg); }
	}

@media screen and (max-width: 650px) {
	.bg-circles {
		width: 60vw;
		height: 60vw;
		position: absolute;
		top: 55%;
		}
	
	.outer-circle {border: 3px solid rgba(0,0,0,0.05);}
	.inner-circle {
		border: 3px solid rgba(0,0,0,0.05);
		top: 6vw;
		left: 6vw;
		right: 6vw;
		bottom: 6vw;
	}
}


/*loop_ss*/
.loop-slider {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	}

.loop-slider__wrap {
	display: flex;
	flex-shrink: 0;
	flex-wrap: nowrap;
	animation: loop-animation 120s linear infinite;
	}

@media screen and (max-width: 650px) {.loop-slider__wrap {animation: loop-animation 80s linear infinite;}}

.loop-slider__wrap img {
	width: clamp(300px, 45vw, 800px);
	aspect-ratio: 16 / 9;
	height: auto; 
    object-fit: cover;
	margin-right: 2px;
	flex-shrink: 0;
	}

@keyframes loop-animation {
	0% {transform: translateX(0);}
	100% {transform: translateX(-100%);}
	}


/*character List #TOP*/
.characterList{
	width: 100%;
	max-width: 1480px;
	margin: auto;
	padding-top: 10vh;
	padding-bottom: 15em;
	}

@media screen and (max-width: 650px) {.characterList{padding-top: 30vh;}}


/*news*/
#NEWS{
	max-width: 1050px;
	margin: auto;
	padding: 75px;
	border: 4px solid #333;
	outline: 2px solid #333;
	outline-offset: -8px;
	background-color: rgba(255,255,255,0.25);
	background:
		url("../images/tanmoshi/frame_01.webp") top 15px left 15px no-repeat,
		url("../images/tanmoshi/frame_02.webp") top 15px right 15px no-repeat,
		url("../images/tanmoshi/frame_03.webp") bottom 15px left 15px no-repeat,
		url("../images/tanmoshi/frame_04.webp") bottom 15px right 15px no-repeat;
	}

h2.News_title{
	width: 100%;
    margin: 0 0 1.5em;
	height: 0;
	padding-top: 33px;
	background-repeat: no-repeat;
	background-size: contain!important;
	overflow: hidden;
	display: block;
    background-image: url("../images/tanmoshi/News_h2.webp");
	background-position: top center;
	}


#NEWS > div{max-height: 280px; overflow-y: auto;}

.news-container ul{list-style: none; padding: 0; margin: 0 1em;}

.news-container ul li{border-bottom: 1px solid rgba(0,0,0,0.5);}
.news-container ul li:last-child {border-bottom: none;}

.news-container ul li > a {
	display: flex;
	align-items: flex-start;
    padding: 1em 1.5em;
	color: #000;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
	}

.news-container ul li > a:hover {background-color: rgba(0,0,0,0.15);}

.news-date {
    font-size: clamp(0.5rem, 1.25vw + 0.5rem, 0.9rem);
    font-weight: 600;
    margin-right: 20px;
    white-space: nowrap;
	}

.news-title {
    font-size: clamp(0.5rem, 1.25vw + 0.5rem, 1rem);
    font-weight: 500;
    line-height: 1.5;
	}

.news-container::-webkit-scrollbar {width: 8px;}
.news-container::-webkit-scrollbar-track {background-color: #f8fafc;}
.news-container::-webkit-scrollbar-thumb {background-color: #cbd5e1; border-radius: 4px;}
.news-container::-webkit-scrollbar-thumb:hover {background-color: #94a3b8;}

@media screen and (max-width: 650px) {
	#NEWS{padding: 75px 30px; background-size: 40px auto;}
	#NEWS h2{padding-top: 32px;}
    .news-container ul li > a {flex-direction: column; padding: 16px;}
    .news-date {margin-bottom: 6px;}
	}



/*-----story system-----*/
#Story{padding: 15em 1.5em 0;}
#System{padding: 8em 1.5em 0;}

#Story > div, #System > div{max-width: 1480px; margin: auto;}

.fixed-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 50;
	padding-top: 8em;
	background: #FFF;
	}

.fixed-nav > div{max-width: 800px; margin: auto; display: flex; justify-content: center; align-items: center;}

.nav-link {
	flex: 0 1 45%;
	max-width: 400px;
	margin: auto;
	padding: 0;
	text-align: center;
	font-weight: bold;
	transition: background-color 0.3s;
	}

.nav-link a {padding: 0.5em; color: #ff007f; display: block; border: solid 1px #ff007f;}
.nav-link:hover {background-color: rgba(255, 0, 127, 0.15);}


/*story*/
.story-oped{max-width: 2000px; margin: auto; padding: 1em 1em 15vh;}

.story-oped .story-txt{max-width: 800px; margin: auto;}
.story-oped .story-txt p{text-align: center; font-size: clamp(0.5rem, 1.25vw + 0.5rem, 1.25rem);}

.game_SS{padding-top: 3em;}

.str-detail{max-width: 1480px; margin: auto; display: flex; align-items: center; flex-wrap: wrap; padding: 1em 1em 15vh;}
.str-detail > div:first-child{flex: 0 1 52.5%; margin: 2.5%;}
.str-detail > div:last-child{flex: 0 1 37.5%; margin: 2.5%;}
.str-detail:nth-child(odd) {flex-direction: row-reverse;}


/*system*/
.sys-detail{display: flex; align-items: center; flex-wrap: wrap; padding: 1em 1em 15vh;}
.sys-detail > div{flex: 0 1 45%; margin: 2.5%;}
.sys-detail:nth-child(odd) {flex-direction: row-reverse;}

@media screen and (max-width: 650px) {
	#System{padding: 4em 1.5em 0;}
	.story-oped{padding-top: 1.5em;}
	.str-detail{display: block;}
	.sys-detail{display: block;}
	}



/*-----character-----*/
.CharPage{max-width: 1480px; margin: auto; padding: 6em 1em 10em;}
.char-profile-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 1em;
	display: flex;
    gap: 30px;
    align-items: center;
	}

.left-column {
	flex: 1;
	max-width: 500px;
	width: 100%;
	}

.right-column {
	flex: 1.2;
	padding-top: 10px;
    }

.img-frame {
	width: 100%;
    aspect-ratio: 4 / 6;
    overflow: hidden;
    margin-bottom: 15px;
    }

.char-img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    }

/* char-img animation */
.fade-in {animation: fadeInTransform 0.5s ease-out forwards;}

@keyframes fadeInTransform {
	0% {opacity: 0; transform: translateY(10px);}
	100% {opacity: 1; transform: translateY(0);}
	}


/*char-img thumbnail*/
.thumb-container {
	display: flex;
	padding-top: 2em;
    justify-content: flex-start;
    gap: 10px;
    }

.thumb-btn {
	width: 75px;
    height: 75px;
    border-radius: 8px;
	cursor: pointer;
    overflow: hidden;
    padding: 0;
    background: #000;
    transition: all 0.2s ease;
    }

    .thumb-btn img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		}

     .thumb-btn.active {
     	border-color: #ff007a;
        transform: translateY(-3px);
        }


/*char-txt*/
h3.char-name{
	font-size: clamp(2rem, 1.25vw + 1rem, 2.5rem);
	text-align: left;
	margin: 0;
	padding: 0 0 .5rem;
	color: #333;
	background: none;
	}

	h3.char-name span{color:#ff007f;}
	h3.char-name br{display: none;}

h3.char-name + p{margin: 0 0 2rem; font-size: clamp(1rem, 1.25vw + 1rem, 1.4rem);}


@media (max-width: 768px) {
	.char-profile-wrapper {flex-direction: column; align-items: center; gap: 10px;}
	.left-column {max-width: 400px;}
	.right-column {
        width: 100%;
        display: flex;
        flex-direction: column;
		}
	.text-content {order: 2;}
	.thumb-container {
		order: 1; 
        justify-content: center;
        padding-top: 0;
        margin-bottom: 3em;
		}
		
	h3.char-name br{display: block;}
	}


/*char-List*/
.char-list-section {
	width: 75%;
	max-width: 940px;
    margin: 80px auto 50px auto;
    padding: 30px 30px 20px;
	border-radius: 5px;
    background: rgba(200,207,215,0.2);
    }

.char-grid {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
	}

.char-item-link {
	display: block;
    text-decoration: none;
    text-align: center;
    width: 90px;
    }

.char-avatar-frame {
	width: 75px;
    height: 75px;
    margin: 0 auto 10px;
	border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    outline: 2px solid #eee; /* 外側の薄い枠線 */
    transition: outline-color 0.2s ease;
	background: #000;
    }

    .char-item-link.current .char-avatar-frame {outline-color: #ff007a;}

	.char-avatar-frame img {
		width: 100%;
		height: 100%;
		object-fit: cover;
        }

	.char-avatar-frame:hover {background: #ff007a; transition: transform 0.2s ease;}


@media screen and (max-width: 650px) {.char-item-link {width: 80px;}}


/*-----product-----*/
.ProductList{
	max-width: 1480px;
	margin: auto;
	padding: 100px 2.5% 2.55%;
	}

.ProductList section{padding-bottom: 10rem;}

.Product-item{
	padding: 1.5em 5%;
	margin: 0 1em 5vh;
	border-radius: 10px;
	background: rgba(200,207,215,0.2);
	box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
	}

.item-detail{display: flex; padding: 0 1em;}
.item-detail > div:first-child{flex: 0 1 40%; padding: 1.5% 2.5%;}
.item-detail > div:last-child{flex: 0 1 52%; padding: 0 1.5%;}

.notes{padding: 0 1em;}
.notes p{margin: 0; font-size: clamp(0.4rem, 1.25vw + 0.4rem, 0.9rem);}

.Store{display: flex; flex-wrap: wrap; padding-bottom: 2rem;}
.Store p{flex: 0 1 45%; margin: auto 2.5% 1rem;}

.StoreLink a {
	width: 100%;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(0.5rem, 5vw + 0.5rem, 0.8rem);
	line-height: 1.5em;
    color: #00aeff;
    transition: 0.3s ease-in-out;
    font-weight: 700;
	border: solid 1px #00aeff;
    }

	.StoreLink a:hover{color: #FFF; background: #00aeff;}

.StoreLink a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.5rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    transform: translateY(-50%) rotate(45deg);
    }

	.StoreLink a:hover:after {right: 1rem;}


@media screen and (max-width: 900px) {
	.item-detail{display: block; padding: 0 0.5em;}
	.item-detail > div:first-child{padding: 1.5% 2.5%;}
	.item-detail > div:last-child{padding: 1.5em 0.5%;}
	
	.Store{width: 90%; padding-bottom: 0; margin: auto; display: block;}
	.StoreLink a {padding: 0.65rem 0.5rem;}
	}



/*product common*/
.Product{
	max-width: 1200px;
	display: flex;
	margin: auto;
	padding: 10vh 1em;
	}

.Product > div{flex: 0 1 40%; padding: 2.5em;}

.Product dl{
	flex: 0 1 60%;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	}

.Product dt{flex: 0 1 20%; padding: 1em 2.5%; border-bottom: solid 1px rgba(0,0,0,0.25); text-align: center;}
.Product dd{flex: 0 1 70%; margin: 0; padding: 1em 2.5%; border-bottom: solid 1px rgba(0,0,0,0.25);}
.Product dd ul{margin: 0!important;}
.Product dd ul li:first-child{padding-top: 0;}

@media only screen and (max-width: 650px) {
	.Product{display: block;}
	.Product dl{width: 100%; padding: 0 0 2em;}
	}



/*-----DLC-----*/
#DLC{
	max-width: 1480px;
	margin: auto;
	padding: 100px 2.5% 2.55%;
	}

.DLC-item{
	padding: 1.5em 5%;
	margin: 0 1em 5vh;
	border-radius: 10px;
	background: rgba(200,207,215,0.2);
	box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
	}



/*-----swiper-----*/
.layout-container img {width: 100%;	height: auto; display: block;}

.layout-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 20px;
	}

.swiper-area {min-width: 0;}

.swiper {
	width: 100%;
	height: 100%;
	--swiper-theme-color: #ff007f;
	--swiper-pagination-color: #ff007f;
	}


.charaSwiper{padding: 1em; position: relative;}

.characterList .swiper-pagination {
	position: static;
	margin-top: 15px;
	--swiper-pagination-color: #ff007f;
	}


.characterList .swiper-button-prev {
	top: 46%;
	left: -2.5px;
	--swiper-theme-color: #ff007f;
	}

.characterList .swiper-button-next {
	top: 46%;
	right: -2.5px;
	--swiper-theme-color: #ff007f;
	}

@media (min-width: 768px) {.layout-container {grid-template-columns: 1fr 1fr;}	}

@media only screen and (max-width: 650px) {
	.characterList .swiper-button-prev {top: 45%; left: 0;}
	.characterList .swiper-button-next {top: 45%; right: 0;}
	}


/*-----footer-----*/
footer{padding: 1.5% 3%; background: #3b3b3b;}
footer section{width: 100%; max-width: 1480px; margin: auto;}
footer p,footer li{color: white;}
body.STORY footer, body.CHARACTER footer{
	width: 100vw;
	padding: 1.5% 0;
	scroll-snap-align: end;
	display: flex;
	justify-content: center;
	align-items: center;
	}

.FooterContent{display: flex; flex-wrap: wrap;}
.FooterContent > div:first-child{flex: 0 1 70%;}
.FooterContent > div:last-child{flex: 0 1 30%; max-width: 240px; margin: 0 0 0 auto;}

.TAITO_Link{padding: 3em 0;}

.TAITO_Link article{display: flex; align-items: flex-end;}
.TAITO_Link article > p{flex: 0 1 180px; padding-right: 2em;}

.TAITO_Link ul{
	flex: 0 1 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	}

.TAITO_Link li{
	flex: 0 1 auto;
	padding: 0 1em 0.5em 25px;
	font-size: clamp(0.4rem, 1.25vw + 0.4rem, 0.9rem);
	font-weight: 600;
	font-family: "Shippori Mincho", serif;
	position: relative;
	}
	
	.TAITO_Link li::before {content: "◆"; color: #ff007f; position: absolute; left: 0;}


.TAITO_Link a{color: white;}
.TAITO_Link p{font-size: clamp(0.4rem, 1.25vw + 0.4rem, 0.9rem);}

.ShareLink{display: flex; padding: 3em 0;}
.ShareLink div{flex: 0 1 60px; height: 60px; margin: 0 1em;}
.ShareLink div a{
	height: 60px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	display: block;
	}

	.ShareLink div.fbBtn a{background-image: url("../images/tanmoshi/sns_Facebook.png");}
	.ShareLink div.xBtn a{background-image: url("../images/tanmoshi/sns_X.png");}
	.ShareLink div.lineBtn a{background-image: url("../images/tanmoshi/sns_LINE.png");}

.copyright p{margin: 0; padding: 3em 0; font-size: clamp(0.4rem, 1.25vw + 0.4rem, 0.9rem); text-align: center;}
.copyright p:first-child{border-bottom: solid 1px rgba(255,255,255,0.35);}



@media only screen and (max-width: 900px) {
	.FooterContent > div:first-child{flex: 0 1 100%;}
	.FooterContent > div:last-child{flex: 0 1 100%; margin: 0 auto;}
	.box_01{order: 2;}
	.box_02{order: 1;}
	
	.ShareLink{padding: 6em 0 3em;}
	}

@media only screen and (max-width: 650px) {
	.TAITO_Link{padding: 0 1em;}
	
	.TAITO_Link article{padding-bottom: 3em; align-items: stretch;}
	.TAITO_Link article > p{flex: 0 1 40%; padding-top: 1em; padding-right: 5%; border-right: solid 1px rgba(255,255,255,0.25);}
	.TAITO_Link article > p img{max-width: 150px;}
	
	.TAITO_Link ul{display: block; margin: 2em 0 1em 1.5em;}
	.TAITO_Link li{padding: 0 1em 0.5em 18px; margin-bottom: 1em;}
	
	.ShareLink{padding: 6em 0;}
	
	.copyright{padding: 3em 2em;}
	}





