@charset "utf-8";

/* ==================================================
PC
================================================== */

/* ========== トップページ全体 ========== */

/* 非表示 */
#footstep_wrap {
	display: none !important;
}
#subsite_menu_wrap {
	display: none;
}

#container {
	overflow: hidden;
}

/* ルビのインライン化 */
#top_menu ruby,
#top_kidslink ruby {
	ruby-position: over;
	-webkit-font-feature-settings: "palt";
	        font-feature-settings: "palt";
	display: inline;
}
#top_menu rp,
#top_menu rt,
#top_kidslink rp,
#top_kidslink rt
	{ display: inline }
#top_menu rt,
#top_kidslink rt
	{ font-size: 1em; }
.ruby_block {
	display: inline-block;
}


/* ========== ヘッダ ========== */

#header {
	margin-bottom: 0;
}
#he_left {
	width: 454px;
	height: 349px;
}
#header2::before,
#header2::after {
	content: '';
	display: block;
	width: 405px;
	height: auto;
	aspect-ratio: 405 / 264;
	position: absolute;
}
#header2::before {
	background: url(/img/site/kids/top/1_bg_cloud_l.png) no-repeat center center / contain;
	top: 264px;
	left: calc(50% - 761px);
}
#header2::after {
	background: url(/img/site/kids/top/1_bg_cloud_r.png) no-repeat center center / contain;
	top: 90px;
	left: calc(50% + 491px);
}
#header2_box {
	min-height: 350px;
}
#header2_box::before,
#header2_box::after {
	content: none;
}

/* ========== トップページメニュー ========== */

#top_menu {
	width: var(--content-width, 1080px);
	margin: 0 auto;
	position: relative;
	z-index: 10;
}
#top_menu ul {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: space-evenly;
	    -ms-flex-pack: space-evenly;
	        justify-content: space-evenly;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-ms-flex-line-pack: start;
	    align-content: flex-start;
	width: 1012px;
	margin: 0 auto;
	padding: 0;
}
#top_menu li a {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: 0 8px 6px rgb(119 119 119 / .2);
	        box-shadow: 0 8px 6px rgb(119 119 119 / .2);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-line-pack: center;
	    align-content: center;
	width: 208px;
	height: auto;
	margin: 38px 0 0;
	padding: .5em 0 0;
	aspect-ratio: 1 / 1;
	background-color: #fff;
	border: 10px solid #fff;
	border-radius: 100%;
	color: var(--txtColor-brown);
	-webkit-font-feature-settings: "palt";
	        font-feature-settings: "palt";
	font-size: var(--fontsize-detail);
	text-align: center;
	text-decoration: none;
	letter-spacing: var(--letterspacing-detail);
	line-height: 1.667;
	position: relative;
	outline: 3px solid rgb(106 70 57 / .0);
	-webkit-transition: outline .2s ease-out, -webkit-transform .1s ease-out, -webkit-box-shadow .1s ease-out;
	transition: outline .2s ease-out, -webkit-transform .1s ease-out, -webkit-box-shadow .1s ease-out;
	-o-transition: transform .1s ease-out, outline .2s ease-out, box-shadow .1s ease-out;
	transition: transform .1s ease-out, outline .2s ease-out, box-shadow .1s ease-out;
	transition: transform .1s ease-out, outline .2s ease-out, box-shadow .1s ease-out, -webkit-transform .1s ease-out, -webkit-box-shadow .1s ease-out;
}
#top_menu li a:hover,
#top_menu li a:focus {
	-webkit-transform: translatey(8px);
	    -ms-transform: translatey(8px);
	        transform: translatey(8px);
	outline: 3px solid rgb(106 70 57 / .25);
	-webkit-box-shadow: none;
	        box-shadow: none;
	text-decoration: underline;
}
#top_menu li a > span {
	display: block
}
#top_menu li a:hover span,
#top_menu li a:focus span {
	text-decoration: underline;
}

/* 位置切替 */
#top_menu li:nth-child(4n-3) a,
#top_menu li:nth-child(4n) a {
	top: -165px;
}

/* 色切替 */
#top_menu li:nth-child(odd) a {
	background-color: #f6f17c;
}
#top_menu li:nth-child(even) a {
	background-color: #bdedff;
}

/* 装飾（海） */
#top_menu_wrap {
	position: relative;
}
#top_menu_wrap::before {
	content: '';
	display: block;
	width: 2000px;
	height: 350px;
	background-image:
		url(/img/site/kids/top/1_bg_skipjack.png),
		url(/img/site/kids/top/1_bg_land.png),
		url(/img/site/kids/top/1_bg_katsurahama.png),
		url(/img/site/kids/top/1_bg_sea.png),
		url(/img/site/kids/top/1_bg_whale.png);
	background-position:
		left calc(50% - 663px) top 158px,
		center top 218px,
		left calc(50% + 391px + (609px / 2)) top,
		center top 157px,
		left calc(50% - 523px) top 82px;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	left: calc(50% - 1000px);
	z-index: 0;
}

/* ========== 意見箱リンク ========== */

.header_contact_box {
	margin: -65px 0 0;
	padding: 90px 0 85px;
	background: url(/img/site/kids/top/1_bg_sand.png) #fcf8ed  no-repeat center bottom;
	z-index: 5;
}
.header_contact_box .contact_link {
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.header_contact_box::after {
	content: '';
	display: block;
	width: 2000px;
	height: 381px;
	background-image:
		url(/img/site/kids/top/3_bg_wave.png),
		url(/img/site/kids/top/2_bg_bush.png),
		url(/img/site/kids/top/2_bg_child_r.png),
		url(/img/site/kids/top/2_bg_child_l.png);
	background-position:
		center top 327px,
		center bottom,
		left calc(50% + 415px) top 76px,
		left calc(50% - 591px + (289px / 2)) top 88px;
	background-repeat: no-repeat;
	position: absolute;
	bottom: -45px;
	left: calc(50% - 1000px);
	z-index: 0;
}
.header_contact_box::before {
	content: '';
	display: block;
	width: 248px;
	height: 548px;
	background: url(/img/site/kids/top/1_bg_ryoma.png) no-repeat center top;
	position: absolute;
	left: calc(50% + 414px);
	bottom: 75px;
	z-index: 0;
}


/* ========== 新着情報 ========== */

#mymainback_bg {
	background: #e5f2f3;
}
#mymainback {
	display: block;
	margin: 0;
	width: auto;
	padding: 80px 0 0;
	position: relative;
	z-index: 10;
}
#mymainback::before {
	content: '';
	display: block;
	width: 239px;
	height: 149px;
	background: url(/img/site/kids/top/3_bg_bridge.png) no-repeat center center / contain;
	position: absolute;
	top: -70px;
	left: calc(50% - 760px);
}
#main_a:not(:has(.section_information)) {
	padding-top: 200px;
}
.section_information {
	margin: 0;
	padding: 0 0 130px;
	color: var(--txtColor-brown);
}
.section_information a {
	color: var(--txtColor-brown);
	text-decoration: none;
}
.section_information a:hover,
.section_information a:focus {
	text-decoration: underline;
}
.section_information h2 {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	margin: 0;
	padding: 13px 0;
	border: none;
	border-radius: 0;
	background: none;
	color: inherit;
	font-size: 3.6rem;
	letter-spacing: var(--letterspacing-detail);
	position: relative;
	z-index: 1;
}

.section_information p.no_data {
	margin: 0;
	padding: 80px 0;
}

.section_information_list_wrap {
	width: var(--content-width, 1080px);
	margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-ms-flex-line-pack: start;
	    align-content: flex-start;
	gap: 50px;
}

/* 一覧リスト */
.section_information_list {
	width: 100%;
	min-height: 175px;
	position: relative;
	z-index: 0;
}
.section_information_list::before,
.section_information_list::after {
	content: '';
	display: block;
	width: 191px;
	height: auto;
	aspect-ratio: 191 / 362;
	background: url(/img/site/kids/top/3_bg_bubble.png) no-repeat center center / contain;
	position: absolute;
	top: 50%;
	z-index: 0;
}
.section_information_list::before {
	left: -250px;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
.section_information_list::after {
	right: -250px;
	-webkit-transform: translateY(-50%) rotateY(180deg);
	        transform: translateY(-50%) rotateY(180deg);
}

.section_information_list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 1;
}
.section_information_list ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-radius: 20px;
	margin: 0;
	padding: 25px 30px;
}
.section_information_list ul li:nth-child(odd) {
	background-color: rgb(255 255 255 / .7);
}
.section_information_list ul li > span {
	display: table-cell;
	vertical-align: top;
	font-size: var(--fontsize-detail, 1.8rem);
}
.section_information_list ul li > span.article_date {
	width: calc(11em + 10px);
	font-size: var(--fontsize-main-small, 1.5rem);
	padding-top: 0.15rem;
}

.section_information_list img.icon_new {
	vertical-align: text-top;
	margin-left: .5em;
}

/* 新着情報（文字拡大時） */
.font_size_changed .section_information_list ul li,
.font_size_changed .section_information_list ul li > span {
	display: block;
}
.font_size_changed .section_information_list ul li > span.article_date {
	width: auto;
	padding-top: 0px;
}

/* 新着情報（一覧 / RSS） */
.link_ichiran {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
	position: relative;
	z-index: 1;
}
.link_ichiran a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-item-align: stretch;
	    align-self: stretch;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	height: 100%;
	min-width: 240px;
	padding: 10px 50px 10px 10px;
	background-color: rgb(255 255 255 / .7);
	border-radius: 20px;
	color: #333;
	position: relative;
}
.link_ichiran a::after {
	content: '';
	display: block;
	width: 7px;
	height: 12px;
	background: url(/img/site/kids/arw_r_r.png) no-repeat center center;
	position: absolute;
	top: calc(50% - 6px);
	right: 40px;
}
.link_ichiran a:hover,
.link_ichiran a:focus {
	text-decoration: underline;
}


/* ========== キッズリンク集（ワープロライクエリア） ========== */

#main_body {
	background: #d1f0f2;
	padding: 50px 0 140px;
	position: relative;
}
#main_body::before {
	content: '';
	width: 100%;
	height: 74px;
	background: url(/img/site/kids/top/4_bg_wave.png) no-repeat center bottom;
	position: absolute;
	top: -35px;
	left: 0;
	z-index: 0;
}

#top_kidslink {
	width: var(--content-width, 1080px);
	margin: 0 auto;
	position: relative;
}
#top_kidslink h2.ttl {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background-color: transparent;
	background-image:
		url(/img/site/kids/top/4_ttl_l.png),
		url(/img/site/kids/top/4_ttl_r.png);
	background-position:
		left center, right center;
	background-repeat: no-repeat;
	background-size: auto;
	border: none;
	border-radius: 0;
	font-size: 2.4rem;
	text-align: center;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 680px;
	margin: 0 auto 45px;
	padding: 5px 33px;
	position: relative;
}
#top_kidslink h2.ttl::after {
	content: '';
	display: block;
	width: 150px;
	height: auto;
	aspect-ratio: 15 / 13;
	background: url(/img/site/kids/top/4_ico_car.png) no-repeat center center / contain;
	position: absolute;
	bottom: 0;
	right: -196px;
	z-index: 2;
}

#top_kidslink .box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: left;
	    -ms-flex-pack: left;
	        justify-content: left;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	gap: 20px 45px;
}
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: 330px;
	margin: 0;
	padding: 0;
}
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) p {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-item-align: stretch;
	    align-self: stretch;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: 80px;
	padding: 10px 50px 10px 40px;
	background-color: #fff;
	border-radius: 20px;
	color: var(--txtColor-brown);
	text-decoration: none;
	position: relative;
	outline: 3px solid rgb(106 70 57 / .0);
	-webkit-transition: outline .2s ease-out;
	-o-transition: outline .2s ease-out;
	transition: outline .2s ease-out;
}
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a:hover,
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a:focus {
	text-decoration: underline;
	outline: 3px solid rgb(106 70 57 / .25);
}
#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a::after {
	content: '';
	display: block;
	width: 7px;
	height: 12px;
	background: url(/img/site/kids/arw_r_r.png) no-repeat center center / contain;
	position: absolute;
	top: calc(50% - 6px);
	right: 40px;
}

#footer {
	margin: 0;
	position: relative;
	z-index: 15;
}
.spm_menu_open #footer {
	z-index: 0;
}

/* ========== 背景色変更 ========== */

/* 共通 */
.color_change #header {
	border-bottom: none !important;
}
.color_change #header2::before,
.color_change #header2::after,
.color_change #top_menu_wrap::before,
.color_change .header_contact_box::before,
.color_change .header_contact_box::after,
.color_change #mymainback::before,
.color_change .section_information_list::before,
.color_change .section_information_list::after,
.color_change #main_body::before {
	content: none;
}
.color_change .link_ichiran a,
.color_change #top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a {
	outline: 1px solid rgb(255 255 255 / .5);
}
.color_change .link_ichiran a::after,
.color_change #top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a::after {
	-webkit-filter: grayscale(1) brightness(100);
	        filter: grayscale(1) brightness(100);
}
.color_change .header_contact_box {
	background-image: none;
	border-bottom: 2px solid;
}

.color_change #header {
	border-bottom: 2px solid;
}
/* 黒 */
.color_black #top_menu li a {
	background-color: #333 !important;
}
/* 青 */
.color_blue #top_menu li a {
	background-color: #00a !important;
}

/* ========== 文字サイズ変更 ========== */
.font_size_changed #top_menu ul {
	width: calc(1080px + 20px) 10px;
}
.font_size_changed #top_menu li a {
	width: calc(208px * 1.25);
	margin: 30px calc((-200px * 1.25 + 200px) / 4) 0;
}
.font_size_changed.font_size_limit_max #top_menu li a br {
	display: none;
}
.font_size_changed .ruby_block {
	display: block;
}
.font_size_changed .ruby_block.ch_inline {
	display: inline;
}

/* ==================================================
PC ここまで
================================================== */


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	:root {
		--content-width: auto;
	}
	#header2::before,
	#header2::after {
		width: clamp(108px, 34.722vw, 405px);
		left: 0;
		top: 165px;
		bottom: auto;
		-webkit-transform: translateX(-5.556%);
		    -ms-transform: translateX(-5.556%);
		        transform: translateX(-5.556%);
	}
	#header2::after {
		left: auto;
		right: 0;
		-webkit-transform: translateX(5.556%);
		    -ms-transform: translateX(5.556%);
		        transform: translateX(5.556%);
	}
	#header2_box {
		min-height: auto;
	}
	#he_left {
		width: 225px;
		height: auto;
	}
	#he_right {
		z-index: 100;
	}
	#mymainback_bg {
		margin-top: 0;
		margin-bottom: -1px;
		padding-top: 5px;
	}

	/* ========== トップページメニュー ========== */

	/* 装飾（全体切替） */
	#top_menu_wrap {
		padding-bottom: 180px;
	}
	#top_menu_wrap::before {
		width: clamp(844px, 100%, 1080px);
		height: auto;
		aspect-ratio: 844 / 259;
		background: url(/img/site/kids/top/1_bg_sp.png) no-repeat center bottom / cover;
		bottom: -15px;
		left: 50%;
		-webkit-transform: translateX(-50%);
		    -ms-transform: translateX(-50%);
		        transform: translateX(-50%);
	}

	.ruby_block.sp_bk {
		display: block;
	}

	#top_menu {
		width: auto;
	}
	#top_menu ul {
		gap: clamp(10px, 2.667vw, 38px) 10px;
		width: auto;
		margin: 0 20px;
	}
	#top_menu li {
		width: calc(50% - 5px);
	}
	#top_menu li a {
		border-width: 2px;
		max-width: 100%;
		margin: 0 auto;
		line-height: 1.5;
	}
	@media screen and (max-width: 370px) {
		#top_menu li a {
			font-size: var(--fontsize-main-small);
		}
	}
	#top_menu li:nth-child(4n-3) a,
	#top_menu li:nth-child(4n) a {
		top: auto;
	}


	/* ========== 意見箱リンク ========== */

	.header_contact_box {
		background: #29bb9c;
		display: block;
		margin: 0;
		padding: 0 35px 50px;
	}
	.header_contact_box::before,
	.header_contact_box::after {
		display: none;
	}
	.header_contact_box .contact_link {
		gap: 12px;
		width: auto;
		max-width: 350px;
		padding: 10px 15px 14px;
		border-width: 5px;
		font-size: 1.3rem;
		letter-spacing: 0;
	}


	/* ========== 新着情報 ========== */

	#mymainback::before {
		left: 15px;
		width: clamp(90px, 24vw, 239px);
		top: 0;
		-webkit-transform: translateY(-56%);
		    -ms-transform: translateY(-56%);
		        transform: translateY(-56%);
		z-index: 1;
	}
	#mymainback::after {
		content: '';
		display: block;
		background: url(/img/site/kids/top/3_bg_wave.png) no-repeat center bottom / cover;
		width: 100%;
		height: auto;
		aspect-ratio: 2000 / 74;
		position: absolute;
		top: 0;
		left: 0;
		-webkit-transform: translateY(-50%);
		    -ms-transform: translateY(-50%);
		        transform: translateY(-50%);
		z-index: 0;
	}
	.section_information {
		padding: 0 0 calc(60px + 3vw);
	}
	.section_information h2 {
		-webkit-box-flex: initial;
		    -ms-flex: initial;
		        flex: initial;
		width: -webkit-fit-content;
		width: -moz-fit-content;
		width: fit-content;
		padding: 6px 20px 6px 0;
		font-size: 3.2rem;
	}
	.section_information p.no_data {
		padding: 60px 20px;
	}
	.section_information_list_wrap {
		gap: 20px 0;
		width: auto;
		padding: 0 20px 0;
	}
	.section_information_list ul li {
		display: block;
		border-radius: 10px;
		width: auto;
		padding: 20px;
	}
	.section_information_list ul li > span {
		display: block;
	}
	.section_information_list ul li > span.article_date {
		width: auto;
		padding-top: 0px;
	}
	/* あわ */
	.section_information_list::before,
	.section_information_list::after {
		width: 30.667vw;
		max-width: 191px;
	}
	.section_information_list::before { left: -20px; }
	.section_information_list::after { right: -20px; }

	/* 新着情報（一覧 / RSS） */
	.link_ichiran a {
		border-radius: 10px;
		min-width: auto;
		padding-right: 40px;
	}
	.link_ichiran a::after {
		right: 13px;
	}

	/* ========== キッズリンク集（ワープロライクエリア） ========== */

	#main_body {
		padding: 3vw 20px 100px;
		background: url(/img/site/kids/bg_horizon.png) #d1f0f2 no-repeat center bottom / 100% auto;
	}
	#main_body::before {
		background-size: cover;
		height: auto;
		aspect-ratio: 2000 / 74;
		top: 2px;
		-webkit-transform: translateY(-100%);
		    -ms-transform: translateY(-100%);
		        transform: translateY(-100%);
	}

	#top_kidslink h2.ttl {
		margin-bottom: 20px;
		padding: 5px 20px;
		font-size: 2rem;
		letter-spacing: var(--letterspacing-detail);
		position: static;
	}
	#top_kidslink h2.ttl::after {
		width: 21.333vw;
		max-width: 150px;
		right: -10px;
		top: 5px;
		bottom: auto;
		-webkit-transform: translateY(-100%);
		    -ms-transform: translateY(-100%);
		        transform: translateY(-100%);
	}

	#top_kidslink .box {
		gap: clamp(10px, 2.8vw, 20px);
	}
	#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) {
		width: calc((100% - clamp(10px, 2.8vw, 20px)) / 2);
		font-size: 1.4rem;
	}
	#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a {
		border-radius: 10px;
		min-height: 60px;
		padding: 5px 25px 5px 15px;
		font-size: var(--fontsize-main);
		letter-spacing: var(--letterspacing-detail);
		line-height: var(--lineheight-main);
	}
	#top_kidslink .box > div:not(:has(h1, h2, h3, h4, h5, h6)) a::after {
		height: 10px;
		right: 15px;
	}

	/* ========== 背景色変更 ========== */

	/* 共通 */
	.color_change #mymainback::after {
		content: none;
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */