@charset "utf-8";

/* ------------------------------------------------------------------------------------------------------ 共通 */

body {
	font-feature-settings: "palt";
}

img {
	width: 100%;
	height: auto;
	border: none;
	vertical-align: text-bottom;
}

h3,h4 {
	line-height: var(--line_height) !important;
}

/* css変数 */
:root {
	/* カラー */
	--blu_color: #47b2ec;
	--red_color: #ec5e68;
	--yel_color: #e8b817;
	--gre_color: #3da444;
	--pnk_color: #dd315e;
	--gry_color: #606060;
	--blk_color: #333333;
	
	/* ボーダー */
	--radius: 20px;
	
	/* 行間 */
	--line_height: 1.8;
}

/* ルビ */
ruby[data-ruby] {
  display: inline-block;
  position: relative;
}

ruby[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  left: -2em;
  top: -0.8em;
  right: -2em;
  text-align: center;
  font-size: .5em;
}

rt {
  display: none;
}

/* map icon */
.map {
    display: inline-block;
    position: relative;
    width: 90px;
    height: 36px;
    margin-left: 12px;
	background-image: url("../soudan/child/images/map_icon.svg");
	background-position: left center;
	background-size: contain;
	background-repeat: no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
	transition: 0.5s;
}

.map:after {
    content: "地図≫";
    position: absolute;
    top: 0;
    left: 32px;
	font-size: 0.6em;
	line-height: 40px;
    text-indent: 0;
    text-decoration: underline;
}

.map:hover {
	opacity: 0.5;
}



/* ------------------------------------------------------------------------------------------------------ 子どもの人権相談 */

/* 共通 */
.child figure figcaption {
	font-size: 0;
	line-height: 0;
}
/*------------------------------------------------------------------*/



/* img-content02_「こんなこと相談していいのかな…？」 */
.w-inner {
	width: 90%;
	margin: 0 auto;
}

/* img-content03_「大丈夫です！まずは相談してみてね！」 */
.child .img-content03 {
	display: grid;
	margin-top: 25px;
	border: 1px solid var(--gry_color);
	border-radius: var(--radius);
}

.child .img-content03 >figure {
	padding: 20px 30px 50px 30px;
	background-color: #f0f8f0;
	border-top-right-radius: var(--radius);
	border-top-left-radius: var(--radius);
}

.child .img-content03 > div {
	position: relative;
	padding: 0 5px;
	padding-bottom: 30px;
	text-align: center;
	font-size: 20px;
}

.child .img-content03 >div::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 130px;
	height: 5px;
	background-color: var(--gre_color);
}

.child .img-content03 >div p {
	line-height: var(--line_height);
}

.child .img-content03 > div p:first-child {
	margin-top: 35px;
    margin-bottom: 20px;
}

.child .img-content03 >div p:not(:first-child) {
    margin-top: 0;
	margin-bottom: 0;
}

.child .img-content03 >div p:last-child {
	display: block !important;
	margin-top: 15px;
}

.child .img-content03 >div p:last-child span {
	display: inline-block;
	font-weight: bold;
	color: #bb1b21;
}

.event-guid {
	margin: 0;
	text-align: center;
	font-size: 20px;
}

.event-guid a {
	display: block;
    padding: 20px 10px;;
	background-color: #fadee5;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
	line-height: var(--line_height);
	text-decoration: none;
	transition: 0.5s;
}

.event-guid a:hover {
	background-color: var(--pnk_color);
	color: #fff;
}


@media screen and (min-width: 601px) {
	
	/* ワイドインナー */
	.w-inner {
		max-width: 1062px;
	}
	
	.child .img-content01 > figure {
		width: 90%;
		margin: 0 auto;
	}
	
	.child .img-content03 {
		margin-top: 45px;
	}
	
	.child .img-content03 >figure {
		padding: 60px 15px 40px 70px;
	}
	
	.child .img-content03 >div {
		font-size: 25px;
	}
	
	.child .img-content03 > div p:first-child {
		margin-bottom: 15px;
	}
	
	.child .img-content03 >div p:not(:first-child) {
		display: inline-block;
		padding: 0 30px 0;
	}
	
} /* min 601px -- */


/* ------------------------------------------------------------------------------------------------------ 子どもの人権相談予約フォーム_ボタン */

.btn {
	margin-top: 10px;
}

.btn a {
	display: block;
	position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 30px 8px;
    background-color: var(--gre_color);
    border-radius: 12px;
    text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	line-height: var(--line_height);
    color: #fff;
}

.btn a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-image: url("../soudan/child/images/icon_send.svg");
	background-size: contain;
	background-repeat: no-repeat;
}

@media screen and (min-width: 601px) {
	
	.btn {
		margin-top: 20px;
	}
	
	.btn a {
		font-size: 20px;
		transition: 0.5s;
	}

	.btn a::after {
		right: 20px;
		width: 22px;
		height: 22px;
	}
	
	.btn a:hover {
		filter: alpha(opacity=70);
		-moz-opacity: 0.70;
		opacity: 0.70;
	}
	
} /* min 601px -- */


/* ------------------------------------------------------------------------------------------------------ Q＆A */

.child .qa {
	margin-top: 85px;
}

/* 共通_qa */

.qa-cover {
	padding-top: 70px;
	font-size: 16px;
	line-height: 1.4;
	border-top: 1px solid #aaa;
	color: var(--blk_color);
}

.qa-cover h5 {
	display: inline-block;
	position: relative;
	max-width: 90%;
	padding: 25px 20px 20px 60px;
	background-color: #b8f3bd;
	border: 1px solid var(--gry_color);
	border-radius: var(--radius);
	font-weight: bold;
	line-height: 1.8;
}

.qa-cover h5:not(:first-child) {
	margin-top: 50px;
}

.qa-cover h5::before {
	content: "";
	position: absolute;
	top: 0;
	left: -15px;
	width: 54px;
	height: 78px;
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("../soudan/child/images/img_child-qa-q.png");
}

.qa-answer {
	display: block;
	margin-top: 50px;
	text-align: right;
}

.qa-answer_inner {
	display: inline-block;
    position: relative;
	max-width: 90%;
    padding: 25px 45px 20px 20px;
    background-color: #f4f4f4;
	text-align: left;
    border: 1px solid var(--gry_color);
    border-radius: var(--radius);
	line-height: 1.8;
}

.qa-answer_inner::before {
	content: "";
	position: absolute;
	top: -10px;
	right: -20px;
	z-index: 1;
	transform: translateY(-40%);
	width: 87px;
	height: 77px;
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url("../soudan/child/images/img_child-qa-a.png");
}

.qa-answer_inner p:first-child {
	margin-top: 0;
}

.qa-answer_inner p:last-child {
	margin-bottom: 0;
}


.qa-answer_inner p a {
	position: relative;
	display: inline-block;
	padding-right: 30px;
}

.qa-answer_inner p a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-40%);
	width: 20px;
	height: 20px;
	background-image: url("../soudan/child/images/out-link_icon.svg");
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;	
}

.stamp {
	width: 40%;
	margin-top: 30px;
}

.qa-answer_inner strong:nth-of-type(1) { color: var(--blu_color);}
.qa-answer_inner strong:nth-of-type(2) { color: var(--red_color);}
.qa-answer_inner strong:nth-of-type(3) { color: var(--yel_color);}

.qa-answer_inner ul {
	margin: 10px 0 50px 28px;
}

/* 目次_qa */
.mokuji-list {
    margin-top: 40px;
    margin-bottom: 60px;
    padding: 5px;
    background-color: #f4f4f4;
}

.mokuji-list ul {
    display: grid;
    gap: 5px;
    list-style: none;
}

.mokuji-list ul li {
    position: relative;
    background-color: #fff;
}

.mokuji-list ul li a {
    display: block;
    padding: 7px 7px 5px;
    padding-left: 30px;
    text-decoration: none;
    transition: 0.5s;
    font-size: 16px;
    line-height: 1.8;
}

.mokuji-list ul li a::before {
    content: "Q";
    display: inline-block;
    position: absolute;
    top: 3px;
    left: 5px;
    margin: 0 auto;
    font-size: 20px;
    color: var(--gre_color);
}


.mokuji-back {
	display: block;
	position: absolute;
    bottom: 0px;
    right: 0;
	width: 60px;
	height: 40px;
	padding-top: 15px;
	background-color: var(--blu_color);
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	text-align: center;
    text-decoration: none;
	font-size: 12.8px;
	color: #fff !important;
}

.mokuji-back::before {
	content: "";
	position: absolute;
	top: 12px;
	right: 22px;
	width: 15px;
	height: 10px;
	background-image: url("../soudan/child/images/arrow.svg");
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;
}


@media screen and (min-width: 601px) {
	
	.child .qa {
		margin-top: 155px;
	}
	
	.qa-cover {
		padding-top: 100px;
		font-size: 25px;
		line-height: 1.6;
	}	
	
	h5 {
		max-width: 75%;
		padding: 25px 30px 20px 100px;
		line-height: var(--line_height);
	}
	
	h5:not(:first-child) {
		margin-top: 80px;
	}
	
	h5::before {
		width: 94px;
		height: 118px;
	}
	
	.qa-answer {
		margin-top: 80px;
	}
	
	.qa-answer_inner {
		max-width: 75%;
		padding: 25px 100px 20px 30px;
		line-height: var(--line_height);
	}
	
	.qa-answer_inner::before {
		width: 127px;
		height: 117px;
	}
	
	.qa-answer_inner p a::after {
		transform: translateY(-30%);	
	}
	
	
	/* 目次_qa */
	.mokuji-list {
		margin-bottom: 70px;
		padding: 20px 20px 0;
		background-color: initial;
	}
	
	.mokuji-list ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.mokuji-list ul li {
		background-color: initial;
	}
	
	.mokuji-list ul li a {
		display: inline-block;
		border-bottom: 0px;
		transition: 0.5s;
	}
	
	.mokuji-list ul li a::before {
        top: -4px;
        left: 0;
		font-size: 25px;
	}
	
	.mokuji-list ul li a::after {
		content: "";
		display: block;
		bottom: 0;
		left: 0;
		width: 0;
		height: 1px;
		background-color: var(--gre_color);
		transition: 0.5s;
	}
	
	.mokuji-list ul li a:hover {
		color:  var(--gre_color);
	}
	
	.mokuji-list ul li a:hover::after {
		width: 100%;
	}
	
	.mokuji-back {
		display: none;
	}
	
	
} /* min 601px -- */



/* ------------------------------------------------------------------------------------------------------ インフォメーション */

.info {
	position: relative;
	margin-top: 80px;
	padding: 30px 0;
	background-color: #fafafa;
}

.info >div {
	font-size: 16px;
}

.info h6 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: bold;
	color: var(--pnk_color);
}

.info >div div {
	position: relative;
}

.info >div div::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	background-image: url("../soudan/child/images/link_icon.svg");
	background-position: center top;
	background-size: contain;
	background-repeat: no-repeat;
}

.info >div div:last-child {
	margin-top:10px;
}

.info >div div a {
	padding-left: 30px;

}


@media screen and (min-width: 601px) {
	
	.info >div {
		font-size: 20px;
	}
	
	.info h6 {
		font-size: 25px;
	}

} /* min 601px -- */



/* ------------------------------------------------------------------------------------------------------ インフォメーション_ナビ */

.info-nav {
	position: fixed;
	left: 10px;
	bottom: 5px;
	z-index: 999;
	width: 145px;
}

.info-nav a {
	display: block;
}


@media screen and (min-width: 601px) {
	
	.info-nav {
		left: 20px;
		width: 200px;
	}
	

} /* min 601px -- */


/* ------------------------------------------------------------------------------------------------------ アンカーポイント */

.anchor {
	position: absolute;
    top: 0;
}

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

    .anchor {
        top: -100px;
    }
} /* mq-pc -- */


