@charset "utf-8";
:root{
	--contentWidth: min(1100px,100%);
}

#header{
	margin-bottom: -550px;
}
#header::after{
	height: 550px;
}
#footer:has(#top_banner .free_box){
	padding-top: 120px;
}

#he_left h1 {
	padding: 25px 0px 15px;
}
#logo::before {
	height: 262px;
}

/* スライドショー */
#photo_wrap{
	width: var(--contentWidth);
	margin-inline: auto;
	position: relative;
	height: 466px;
}
#photo img{
	border-radius: 30px;
}
#mp_control_box{
	position: absolute;
	bottom: 15px;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 20px;
	background: transparent !important;
}
#mp_control_navigation{
	justify-self: end;
	background: transparent !important;
}
#mp_control_buttons{
	justify-self: start;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 15px;
	background: transparent !important;
}

#mp_control_navigation ul{
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	background: transparent !important;
}
#mp_control_navigation ul li{
	display: block;
	margin: 0px;
	padding: 0px;
	background: transparent !important;
}
#mp_control_navigation ul button{
	border: none;
	background:#dcdddd;
	color: #000;
	border-radius: 50%;
	text-align: left;
	text-indent: -9999em;
	overflow: hidden;
	width: 15px;
	height: 15px;
	margin: 0px;
	padding: 5px;
	box-shadow: 0px 0px 0px 3px #fff inset;
}
#mp_control_navigation ul li.slick-active button{
	background: #ffc845 !important;
}

#mp_control_buttons button{
	margin: 0px;
	padding: 0px;
	width: 40px;
	height: 40px;
	background-color: #fff !important;
	background-repeat: no-repeat;
	background-position: center center;
	color: #000;
	text-align: left;
	text-indent: -9999em;
	border: none;
	border-radius: 50%;
	position: relative;
}
#mp_control_prev{
	background-image: url(/img/site/achidoki2025/top/btn-prev.png);
}
#mp_control_pause{
	background-image: url(/img/site/achidoki2025/top/btn-pause.png);
}
#mp_control_buttons #mp_control_play{
	background-image: url(/img/site/achidoki2025/top/btn-play.png);
	background-position: left 16px center;
	display: none;
}
#mp_control_next{
	background-image: url(/img/site/achidoki2025/top/btn-next.png);
}

/* スライドショーここまで */


/* フッタバナー */
#top_banner {
	width: var(--contentWidth);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	align-items: center;
	min-height: 150px;
}
#top_banner .free_box p{
	margin: 0px;
}
#top_banner .free_box p :where(a,img){
	display: block;
}
/* フッタバナーここまで */

#mymainback {
	width: auto;
	padding-bottom: 0;
}

#main_a {}

#news {
	width: min(1000px,100%);
	margin-inline: auto;
	margin-top: 100px;
	padding: 10px 0px 80px;
}
#main_body_wrap {
	background: #ffffee;
	padding-top: 60px;
}

#main_body{
	width: var(--contentWidth);
	margin-inline: auto;
	padding-bottom: 50px;
}
#main_body:not(:has(*)){
	padding: 0;
}

/* トップのワープロライクに登録内容が無い時 */
#main_a:has(#main_body.no_detail) #top_search_by::after{
	display: none;
}
#mymainback:has(#main_body.no_detail){
	padding-bottom: 0;
}
#container:has(#main_body.no_detail) #footer::before{
	display: none;
}
/* トップのワープロライクに登録内容が無い時 ここまで */


/* さがす */
#top_search_by{
	background: 
		url(/img/site/achidoki2025/bg-tori-l-pink.png) no-repeat left calc(50% - 600px) top 200px,
		url(/img/site/achidoki2025/bg-tori-l-orange.png) no-repeat left calc(50% - 700px) top 500px,
		url(/img/site/achidoki2025/bg-maru4.png) no-repeat left calc(50% - 700px) top 650px,
		url(/img/site/achidoki2025/bg-maru3.png) no-repeat right calc(50% - 700px) top 250px,
		url(/img/site/achidoki2025/bg-butterfly.png) no-repeat right calc(50% - 700px) top 750px,
		url(/img/site/achidoki2025/bg-blue.png) repeat center top
	;
	padding: 50px 0px;
	position: relative;
}
#top_search_by::before,
#top_search_by::after{
	content: '';
	display:block;
	width: 100%;
	height: 60px;
	position: absolute;	
}
#top_search_by::before{
	bottom: 100%;
	background: url(/img/site/achidoki2025/top/bg-news-end.png) repeat-x center bottom;
}
#top_search_by::after{
	top: 100%;
	background: url(/img/site/achidoki2025/top/bg-wl-start.png) repeat-x center bottom;	
}
#top_search_by :where(#nendai,#mokuteki){
	width: min(1050px,calc(100% - 20px));
	margin-inline: auto;
	padding: 30px 30px 40px;
	box-sizing: border-box;
	border-radius: 50px;
	box-shadow: 0px 0px 0px 20px #fff inset;
}
#nendai{
	background: #ffface;
	margin-bottom: 30px;
}
#mokuteki{
	background: #ffe3ce;
}

#top_search_by h2{
	width: fit-content;
	margin-inline: auto;
	font-size: 2.3rem;
	line-height: 1;
}
#top_search_by ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
}
#top_search_by ul li a{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 150px 1fr;
	gap: 10px;
	width: 150px;
	font-size: 1.5rem;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}
#top_search_by ul li a span{
	display: block;
}
#top_search_by ul li a span:has(img){
	background: #fff;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	display: grid;
	place-content: center center;
	box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.15);
}
/* さがすここまで */

/* トップページワープロライク見出し */
#main_body h2 {
	background-image: url(/img/site/achidoki2025/top/h2bg.png);
	background-position: right 10px bottom;
	background-color: #73dfff;
	border-radius: 30px;
}

#main_body h3 {
	background-image: url(/img/site/achidoki2025/top/h3bg.png);
	background-position: right 10px bottom;
	background-color: #76e0c7;
	border-radius: 30px;
}

#main_body h4 {
	border: 2px solid #76e0c7;
	border-radius: 30px;
	background-color: transparent;
}

#main_body h5 {
	border-bottom: 2px solid #76e0c7;
	background-color: transparent;
}
#main_body h6{
	background-color: transparent;
}

#main_body h6::before {
	background: #76e0c7;
}
/* トップワープロライクここまで */

#footer::before{
	background: url(/img/site/achidoki2025/top/bg-wl-end.png) repeat-x center bottom;
}

@media screen and (max-width: 1079px){

	#header2 {
/*		background: url(/img/site/achidoki2025/top/bg-wl-end.png) repeat-x center bottom;*/
	}

	#header{
		margin-bottom: calc(-42vw - 90px);
		/* padding-bottom: 50px; */
		background-size: 30px auto, 30px auto, 120px auto, 0px 0px, 120px auto, 120px auto, auto;
		background-position: right 5px bottom 50px, right 45px bottom 10px, right top 0px, left top, right -45px top 60px, left -60px bottom 50px, left top;
	}
	#header::after{
		height: calc(42vw + 100px);
	}
	#he_left {
		margin-bottom: -10px;
	}
	#he_left h1 {
		padding: 10px 15px;
	}
	#photo_wrap{
		height: auto;
		padding-bottom: 70px;
		padding-inline: 5px;
		width: 100vw;
		box-sizing: border-box;
	}
	#photo_wrap .free_box p{
		margin: 0px;
	}
	#photo_wrap .free_box p img{
		max-width: 100%;
		height: auto !important;
		width: auto !important;
		border-radius: 15px;
	}
	#mp_control_box{
		bottom: 10px;
	}
	#mymainback{
		margin: 0px;
	}
	#news{
		margin-top: 20px;
		text-align: center;
		padding: 10px 0px 20px;
	}
	.section_information h2 {
		display: inline-block;
		padding: 15px 0px 10px 30px;
	}
	.section_information h2::before {
		width: 54px;
		right: calc(100% - 10px);
		background-size: contain;
		background-repeat: no-repeat;
	}
	.section_information h2 span.title_main {
		font-size: 2.4rem;
	}
	.section_information h2 span.title_sub {
		font-size: 1.1rem;
		line-height: 1.5;
	}
	.section_information_list_wrap {
		text-align: left;
	}
	.section_information_list ul {
		padding: 0px 10px 20px;
	}
	.section_information_list ul li {
		margin: 0px;
	}
	.section_information_list div.link_box{
		position: static;
	}
	.section_information_list div.link_box a::after{
		width: 25px;
		height: 25px;
		background-size: contain;
	}

	/* さがす */
	#top_search_by::before,
	#top_search_by::after {
		height: 30px;
		background-size: 150% 20px;
	}
	#top_search_by::after {
		background-position: center top;
	}

	#top_search_by {
		padding: 40px 0px;
	}
	#top_search_by h2{
		font-size: 1.6rem;
		text-align: center;
		width: 130px;
		height: auto;
		aspect-ratio: 1 / 1;
		display: grid;
		place-content: center center;
		border-radius: 50%;
		margin: 0px;
		padding: 0px;
		box-sizing: border-box;
		box-shadow: 0px 0px 0px 3px #fff;
	}
	#top_search_by ul{
		display: contents;
	}
	#nendai,#mokuteki{
		display: grid;
		grid-template-columns: repeat(auto-fit,130px);
		gap: 20px;
		justify-content: center;
	}
	#top_search_by ul li a{
		width: 130px;
		height: auto;
		grid-template-rows: 130px 1fr;
	}
	#top_search_by ul li a span{
		font-size: 1.2rem;
	}
	#top_search_by ul li a span:has(img){
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		box-sizing: border-box;
	}
	#main_body_wrap{
		padding-top: 20px;
	}
	#main_body{
		width: calc(100% - 0px);
		padding-inline: 10px;
		box-sizing: border-box;
		background: #ffffee;
		padding-top: 30px;
	}
	#main_body.no_detail {
		padding-top: 0px;
	}

	#top_banner{
		display: grid;
		grid-template-columns: repeat(auto-fill,150px);
		gap: 20px;
		min-height: auto;
		margin-bottom: 100px;
	}

	#footer::before {
		background-size: 150% 20px;
		background-position: center top;
	}

	#footer {
		padding-top: 100px;
	}
	#footer:has(#top_banner .free_box) {
		padding-top: 60px;
	}

}
/* スマートフォンここまで */

.color_change #top_search_by{
	background: none;
}
.color_change #top_search_by::before,
.color_change #top_search_by::after,
.color_change #footer::before{
	display: none;
}

.color_change #header {
	margin-bottom: 20px;
	border: none;
}