@charset 'utf-8';

/*
body:not(.expageheader):before,
body.expageheader:before {
	height: 60px;
}

@media only screen and (min-width: 769px) and (max-width: 1000px) {

	body:not(.nosticky):not(.expageheader):before,
	body.expageheader:not(.nosticky):before {
		height: 60px;
	}
}

@media only screen and (min-width: 1001px) {

	body.nosticky:before {
		height: 0;
	}

	body:not(.nosticky):not(.expageheader):before,
	body.expageheader:not(.nosticky):before {
		height: 120px;
	}

	body.detach:not(.nosticky):not(.expageheader):before,
	body.detach.expageheader:not(.nosticky):before {
		height: 180px;
	}
}
*/

body:before {
	height: 0 !important;
}


body.fixed #upper {
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

body:not(.fixed) #upper {
	background: rgba(255,255,255,0);
}

body.fixed #navi_header_thin {
	border-bottom-color: #fff;
}

#navi_header_thin {
	border-bottom-color: transparent;
}

@media only screen and (min-width: 1001px) {

	#upper,
	body.fixed #upper {
/* 		border-bottom-color: #fff; */
		border-bottom-color: transparent;
	}

	body.nosticky #upper {
		box-shadow: none;
	}
}



#mainvisual {
	width: 100%;
	background-image: url(../img/2025tda/keyvisual.jpg);
	background-position: 5% center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

body.pc #mainvisual {
	background-attachment: fixed;
}

#mainvisual > .inner {
	width: 100%;
	text-align: center;
	vertical-align: top;
	position: relative;
}

#promotion {
	width: 100%;
}

#pr_media {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 160%;
	overflow: hidden;
	position: relative;
}

#pr_media img {
	width: auto;
	height: 100%;
}

#tagline {
	width: 100%;
	padding-top: 40px;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#tagline .deeppart {
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	transform: translateX(-50%);
	overflow: hidden;
	position: absolute;
	left: 50%;
	top: 0;
}

#tagline .cover {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#tagline .cover img {
	width: 100%;
	height: auto;
}

#tagline .cover h1 {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 85%;
	margin: 0 auto;
}

#tagline .cover h1 span {
	display: block;
	width: 100%;
}

#tagline .cover h1 > span {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

#tagline .cover h1 > span:nth-child(1) {
	margin-bottom: .5em;
}

#tagline .cover h1 > span:nth-child(2) {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	width: 100%;
}

#tagline .cover h1 > span:nth-child(2) > span:nth-child(1) {
	width: 46%;
}

#tagline .cover h1 > span:nth-child(2) > span:nth-child(2) {
	width: 54%;
}

@media only screen and (min-width: 481px) {

	#pr_media {
		padding-top: 66.666%;
	}

	#pr_media .media > span {
		width: 100%;
		height: auto;
		transform: translateY(-50%);
		top: 50%;
		left: 0;
	}

	#pr_media img {
		width: 100%;
		height: auto;
	}

	#tagline .cover {
		align-items: center;
	}

	#tagline .cover h1 {
		flex-direction: row;
	}

	#tagline .cover h1 > span:nth-child(1) {
		width: 65%;
		margin-bottom: 0;
	}

	#tagline .cover h1 > span:nth-child(2) {
		width: 35%;
		flex-direction: column;
	}

	#tagline .cover h1 > span:nth-child(2) > span:nth-child(1) {
		width: 100%;
	}
	
	#tagline .cover h1 > span:nth-child(2) > span:nth-child(2) {
		width: 100%;
	}
}

@media only screen and (min-width: 769px) {

	#tagline .cover h1 {
	}

	#tagline .cover h1 > span > span {
	}

	#tagline .cover h1 > span > span:first-child {
	}

	#tagline .cover p {
	}

	#tagline .cover p > span > span {
	}

	#tagline .cover p > span > span:first-child {
	}
}

@media only screen and (min-width: 1001px) {

	#tagline .cover h1 {
		width: 75%;
	}
}

@media only screen and (min-width: 1201px) {

	#pr_media {
		padding-top: 800px;
	}
}


.presentation > .inner {
	padding: 50px 30px;
}

body.safearea .presentation:not(#worry) > .inner {
	padding-left: calc(env(safe-area-inset-left) + 30px);
	padding-right: calc(env(safe-area-inset-right) + 30px);
}

.presentation header:not(:last-child) {
	margin-bottom: 3em;
}

@media only screen and (min-width: 1001px) {

	.presentation > .inner {
		padding: 80px 30px;
	}

	body.safearea .presentation:not(#worry) > .inner {
		padding-left: calc(env(safe-area-inset-left) + 30px);
		padding-right: calc(env(safe-area-inset-right) + 30px);
	}

	.presentation header:not(:last-child) {
		margin-bottom: 5em;
	}
}

.presentation .caution p {
	font-size: 1.2em;
}



#lead {
	background: #fff;
	position: relative;
}

#lead .brick {
	max-width: 800px;
	margin: 0 auto;
}

#lead .brick .sentence {
	font-size: 1em;
	text-align: center;
}

#lead .brick .sentence p:first-child {
	font-size: 1.8em;
	font-weight: 700;
}

@media only screen and (min-width: 769px) {

	#lead .brick .sentence {
		font-size: 1.2em;
	}
}


#program {
	background: rgba(44,160,209,.2);
	position: relative;
}

#program .cardlist {
	justify-content: center;
}

#program .cardlist h3 {
	margin-bottom: .3em;
}

#program .cardlist h4 {
	color: #4d4d4d;
}

#program .cardlist p {
	color: #4d4d4d;
}

#program .cardlist h5 {
	margin-bottom: .5em;
}

#program .cardlist h5 span {
	display: inline-block;
	padding: .3em 1em;
	background: #2ca0d1;
	color: #fff;
}

#program .cardlist .goal {
	font-size: .9em;
}

#program .cardlist figure span {
	width: 50%;
}



#schedule {
	background: #fff;
	position: relative;
}

#schedule .brick {
	max-width: 1000px;
	margin: 0 auto;
}

#schedule .outlinetbl:not(:last-child) {
	margin-bottom: 2em;
}

#schedule .outlinetbl table td {
	padding-top: 0em;
	font-size: .85em;
}

#schedule .outlinetbl table td:first-of-type {
	padding-top: 1em;
}

@media only screen and (min-width: 769px) {

	#schedule .outlinetbl {
		font-size: 1.4em;
	}

	#schedule .outlinetbl table th,
	#schedule .outlinetbl table td {
		padding: .5em 1em !important;
		font-size: 1em;
	}

	#schedule .outlinetbl table th {
		width: auto;
		white-space: nowrap;
	}
}

#schedule .sentence {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}




#description {
	background: rgba(44,160,209,.1);
	position: relative;
}

#description .brick {
	max-width: 1000px;
	margin: 0 auto;
}
