@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl {
	position: relative;
}
#top_ttl .mv {
	width: 100%;
}
#top_ttl .ankaman {
	position: absolute;
	top: 13vw;
	left: 5vw;
	width: 37vw;
}
#top_ttl a {
	position: absolute;
	top: 25vw;
	left: 14vw;
	width: 33vw;
}
#top_bg_gray::before {
	background: #b2b49c;
	top: 260px;
	height: calc(100% - 510px);
}
#top_installation {
	background: #f2f2ec;
	padding-left: 100px;
	border-top-left-radius: 100px;
	transform: translateY(-100px);
	position: relative;
}
#top_installation::before {
	width: 50vw;
	left: auto;
	right: 0;
	background: #f2f2ec;
}
@media only screen and (max-width: 1150px) {
	#top_installation::before {
		margin-right: -25px;
	}
}
#top_installation .img01 {
	position: absolute;
	top: -26vw;
	right: -10.5vw;
}
#top_installation .img01 img {
	width: 31vw;
}
@media only screen and (max-width: 1220px) {
/*	#top_ttl .ankaman {
		top: 250px;
		left: 50px;
		width: 400px;
	}*/
	#top_ttl .ankaman {
		top: 170px;
		left: 65px;
		width: 440px;
	}
/*	#top_ttl a {
		top: 370px;
		left: 50px;
		width: 480px;
	}*/
	#top_ttl a {
		top: 310px;
		left: 135px;
		width: 405px;
	}
	#top_installation .img01 {
		top: -280px;
		right: 0;
	}
	#top_installation .img01 img {
		width: 360px;
	}
}
#top_installation .imgs li {
	width: 220px;
}
#top_installation .imgs li img {
	width: 100%;
	border-radius: 20px;
}
#top_mv {
	padding-top: 50px;
}
#top_mv::before {
	background: url("../img/top/yamada-txt.png") no-repeat top / 100% auto;
}
#top_mv .youtube {
	width: 496px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
}
#top_mv .youtube iframe {
	width: 100%;
	height: 100%;
	display: inline-block;
	border: 8px solid #6e8b96;
	border-radius: 16px;
}
/* コンテンツ */
#top_contents:before {
	background: #7ee;
}
#top_menu .box {
	margin-bottom: 100px;
}
#top_menu .box .info {
	width: 500px;
}
#top_menu .box .info h3.sub {
	position: relative;
	color: #17181c;
	line-height: 1.35;
	margin-bottom: 50px;
}
#top_menu .box .info h3.sub .no {
	position: absolute;
	top: -2px;
	margin-left: 20px;
	font-size: 80px;
	line-height: 1;
	font-weight: 800;
	color: rgba(0,0,0,0.3);
	letter-spacing : 0;
}
#top_menu .box .info .btn01 {
	text-align: right;
}
#top_menu .box .img {
	width: 500px;
}
#top_menu .box .img img {
	border-radius: 30px;
}
/* お知らせ */
#top_info {
	background: #f2f2ec;
	padding-left: 100px;
	border-top-left-radius: 100px;
}
#top_info::before {
	width: 50vw;
	left: auto;
	right: 0;
	background: #f2f2ec;
}
@media only screen and (max-width: 1150px) {
	#top_info::before {
		margin-right: -25px;
	}
}
#top_info .list {
	margin-top: 50px;
	width: 700px;
}
#top_info dl {
	border-top: 1px solid #fff;
	padding: 29px 0;
	color: #666;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #fff;
}
#top_info dl dd {
}
/*アンカマン誕生*/
#top_birth.birth {
	padding: 70px;
	padding-left: 0;
	z-index: 2;
}
#top_birth.birth::before {
	left: auto;
	right: 0;
	margin-right: 0;
	background: #f2f2ec;
	border-radius: 0 90px 0 0;
}
#top_birth.birth .in {
	position: relative;
}
#top_birth.birth p {
	line-height: 2.2em;
}
#top_birth.birth p:nth-last-of-type(1) {
	margin-bottom: 0;
}
#top_birth.birth .photo img {
	width: 250px;
}
#top_birth.birth .logo {
	text-align: right;
}
#top_birth.birth .logo img {
	width: 252px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#top_birth.birth .photo img {
		position: absolute;
		top: -30px;
		right: 0;
		z-index: -1;
	}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
	#top_birth.birth .logo {
		position: relative;
		transform: translateY(-100%);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
	#top_birth.birth .photo {
		margin: 0 auto 20px;
		width: 200px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_ttl .ankaman {
		top: 12vw;
		left: 3vw;
		width: 42vw;
	}
	#top_ttl a {
		top: 26vw;
		left: 13vw;
		width: 35vw;
	}
	#top_installation {
		transform: translateY(-50px);
		padding-left: 20px;
		border-top-left-radius: 50px;
	}
	#top_installation .img01 {
		top: -22.5vw;
		right: 0;
	}
	#top_installation .img01 img {
		width: 40vw;
	}
	#top_installation .imgs li {
		width: 24%;
	}
	#top_mv {
		padding-top: 30px;
	}
	#top_menu .box {
		margin-bottom: 50px;
	}
	#top_menu .box .info, #top_menu .box .img {
		width: 48%;
	}
	#top_menu .box .info h3.sub .no {
		margin-left: 10px;
		font-size: 48px;
	}
	#top_info {
		padding-left: 20px;
		border-top-left-radius: 50px;
	}
	#top_info .list {
		margin-top: 0;
		width: 100%;
	}
	#top_info dl {
		padding: 15px 0;
	}
	#top_birth.birth .logo img {
		width: 180px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_ttl .ankaman {
		top: 12vw;
		left: 3vw;
		width: 44vw;
	}
	#top_ttl a {
		top: 27vw;
		left: 8vw;
		width: 38vw;
	}
	#top_installation {
		padding-bottom: 30px;
		transform: translateY(-30px);
	}
	#top_installation .img01 {
		top: -24vw;
		right: -12px;
	}
	#top_installation .img01 img {
		width: 37vw;
	}
	#top_installation .imgs li {
		width: 49%;
		margin-bottom: 2%;
	}
	#top_mv {
		padding-top: 20px;
	}
	#top_mv .youtube {
		width: 100%;
	}
	#top_mv .youtube iframe {
		border-width: 5px;
	}
	#top_menu .box {
		margin-bottom: 40px;
	}
	#top_menu .box .info, #top_menu .box .img {
		width: 100%;
	}
	#top_menu .box .info {
		order: 2;
	}
	#top_menu .box .info h3.sub {
		margin-bottom: 15px;
	}
	#top_menu .box .info h3.sub .no {
		font-size: 36px;
		top: -4px;
	}
	#top_menu .box .img {
		width: 85%;
		margin: 0 auto 15px;
	}
	#top_birth.birth {
		padding: 30px 20px;
		padding-left: 0;
	}
	#top_birth.birth::before {
		border-radius: 0 60px 0 0;
	}
	#top_birth.birth .photo {
		margin-bottom: 20px;
		text-align: center;
	}
	#top_birth.birth .photo img {
		width: 200px;
	}
	#top_birth.birth .logo {
		margin-top: 30px;
	}
}