@charset "UTF-8";
/* CSS Document */
.page_img {
	background-image: url("../img/safety/allergy/bg_head_allergy.jpg");
}
section{
	margin-bottom: 80px;
}
.allergy .btn {
    margin-bottom: 80px;
}
.btn a {
    color: #fff;
    text-align: center;
    background: #b22222;
    display: block;
    width: 86%;
    max-width: 320px;
    padding: 0.8em 60px;
    border-radius: 16px;
    border: 1px solid #b22222;
    position: relative;
    box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.3);
	margin-left: auto;
	margin-right: auto;
}
.btn a::before {
    content: "";
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}
.btn a.link::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(-45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
}
.btn a:hover{
	background: #ffffff;
	color: #b22222;
}
.btn a.link:hover::after{
	border-color: #b22222;
}


.allergy h2.ttl .mini {
    font-size: 0.6em;
}
.item28_flex {
    display: flex;
    flex-direction: row-reverse;
	justify-content: space-between;
	flex-wrap: wrap;
    margin-bottom: 80px;
}
.item28_flex .img_wrap {
    width: 150px;
	margin: 0 auto 20px;
}
.item28_flex .txt {
    width: calc(90% - 150px);
}
.allergy_flex {
	display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
	margin-bottom: 80px;
}
.allergy_flex .flex_l{
	width: 29%;
}
.allergy_flex .flex_r {
    width: 67%;
}
.allergy_flex .icon_list {
    display: flex;
    justify-content: normal;
    align-items: center;
    flex-wrap: wrap;
}
.allergy_flex .icon_list li {
    width: calc(92vw / 4 - 10px);
    max-width: 82px;
    margin-left: 5px;
    margin-right: 5px;
	margin-bottom: 10px;
}
.allergy_flex h4.ttl {
    text-align: center;
    line-height: 140%;
    padding: 8px 10px;
}
.noallergy_img {
    margin-bottom: 60px;
    position: relative;
}
.noallergy_img .img {
    width: 260px;
    position: absolute;
    top: -10%;
    left: 2.5%;
}
.noallergy_img .txt_wrap {
    background: #fdf3bd;
    padding: 40px 5%;
    padding-left: 300px;
}
.noallergy_img .txt {
    text-indent: -1em;
    padding-left: 1em;
}

/*アレルギー対策リスト*/
.allergy_list_flex {
    border: 1px solid #da9140;
    margin-bottom: 25px;
    padding: 35px 4%;
}
.allergy_list_flex .inner_flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
}
.allergy_list_flex .img_wrap {
    width: 20%;
    max-width: 180px;
}
.allergy_list_flex .txt_wrap {
    width: 77%;
}
.allergy_list_flex h3.ttl {
    margin-bottom: 20px;
}
/*表示例*/
.display_sample {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 50px;
}
.display_sample .ttl {
    background: #edd2a3;
    text-align: center;
    color: #40220f;
    font-weight: bold;
    font-size: 1.3em;
    line-height: 120%;
    padding: 1em 5px;
}
.sample_inner {
    background: #fefae6;
    padding: 40px 4% 60px;
}
.sample_inner .name {
    text-align: center;
    font-size: 1.3em;
    line-height: 120%;
    padding: 0 0 15px;
    margin-bottom: 35px;
    color: #988047;
    font-weight: bold;
    border-bottom: 1px solid #988047;
}
.sample_inner .img {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
}
.sample_inner .img:last-child{
	margin-bottom: 0;
}
/*お客様の声*/
.voice_wrap {
    margin-top: 30px;
}
.voice_wrap li {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-bottom: 10px;
}
.voice_wrap .img_wrap {
    width: 120px;
    margin: 0 auto;
}
.voice_wrap .txt_wrap {
    width: calc(100% - 170px);
    border-radius: 10px;
    padding: 1.5em 4.5%;
    position: relative;
}
.voice_wrap .txt_wrap::before {
    content: "▼";
    font-size: 2em;
    position: absolute;
    width: 1em;
    height: 1em;
    line-height: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(90deg);
    left: -0.75em;
}
.voice_wrap li:nth-of-type(2n+1) .txt_wrap{
	background: #fbdcde;
}
.voice_wrap li:nth-of-type(2n+1) .txt_wrap::before{
	color: #fbdcde;
}
.voice_wrap li:nth-of-type(2n) .txt_wrap{
	background: #deefe7;
}
.voice_wrap li:nth-of-type(2n) .txt_wrap::before{
	color: #deefe7;
}
/*年齢群ごとの食物アレルギー新規発症例*/
h2.ttl .icon{
	font-size: 70%;
    color: #ffffff;
    background: #40220f;
    font-weight: normal;
    line-height: 147.5%;
    display: inline-block;
    vertical-align: bottom;
    padding: 0.1em 0.5em 0;
    margin: 0.2em 0.7em 0.2em 0;
    border-radius: 30px;
}
.graph_flex {
    display: flex;
}
.ranking {
    width: 60px;
    min-width: 60px;
    text-align: center;
	padding-top: 39px
}
.ranking .num_r {
    color: #ffffff;
    background: #ccc;
    line-height: 100%;
    font-size: 1.2em;
    padding: 21px 0 20px;
}
.ranking .num_r:nth-of-type(n){background-color: #ea7600;}
.ranking .num_r:nth-of-type(2n){background-color: #eb9c2d;}
.ranking .num_r:nth-of-type(3n){background-color: #f1b611;}
.ranking .num_r:nth-of-type(4n){background-color: #c0c600;}
.ranking .num_r:nth-of-type(5n){background-color: #8ba300;}

.table_wrap{
    width: calc(100% - 60px);
	overflow: scroll;
	-ms-overflow-style: none;
    scrollbar-width: none;
}
.table_wrap::-webkit-scrollbar {
    display:none;
}
.graph_flex .table {
	width: 100%;
    min-width: 670px;
    table-layout: fixed;
    border-bottom: 1px solid #806134;
}
.graph_flex .table tr:nth-of-type(2){background:#fdf3bf;}
.graph_flex .table tr:nth-of-type(3){background: #fefae6;}
.graph_flex .table th,
.graph_flex .table td{
    width: calc(100% / 6);
    line-height: 120%;
}
.graph_flex .table th{
	color: #ffffff;
	padding: 0.7em 0;
	line-height: 100%;
	background: #e58594;
	text-align: center;
    border-right: 1px solid #ffffff;
}
.graph_flex .table th .mini{
	font-size: 85%;
	font-weight: normal;
}
.graph_flex .table td {
    height: 60px;
	border-right: 1px solid #806134;
    border-bottom: 1px dotted #806134;
    text-align: center;
	padding: 0 3px;
}
.graph_flex .table td:last-child{
	border-right: none;
}
.graph_flex .table tr:last-child td{
	border-bottom: none;
}
.graph_flex .table .big td{
	font-size: 1.15em;
	font-weight: bold;
}
.graph_flex .table .red{
	color: #cc0012;
}
.graph_flex .table td.not{
	background: url("../img/safety/allergy/td_not.png") no-repeat center / 100% 100%;
}
.table_comment {
    text-align: right;
    margin-top: 1em;
}

@media screen and (min-width:861px) {
/*年齢群ごとの食物アレルギー新規発症例*/
	.spscroll:before{
		display: none;
	}
}
@media screen and (max-width:840px) {
.allergy_flex{
	margin-bottom: 20px;
}
.allergy_flex .flex_r,
.allergy_flex .flex_l {
    width: 100%;
	margin-bottom: 25px;
}
.noallergy_img {
    background: #fdf3bd;
	padding-top: 20px;
}
.noallergy_img .txt_wrap {
    padding: 25px 4.5%;
}
.noallergy_img .img {
    position: static;
    margin: 0 auto;
}
}
@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
section {
    margin-bottom: 35px;
}
.item28_flex {
    display: block;
	margin-bottom: 25px;
}
	.item28_flex .txt{
		width: 100%;
	}
.allergy_list_flex {
    padding: 25px 4%;
    margin-bottom: 10px;
}
.allergy_list_flex .img_wrap,
.allergy_list_flex .txt_wrap {
    width: 100%;
}
.allergy_list_flex .img_wrap {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 90px;
}
	.display_sample{
		margin-top: 20px;
	}
	.sample_inner{
		padding-top: 20px;
		padding-bottom: 25px;
	}
/*お客様の声*/
.voice_wrap .img_wrap {
    width: 60px;
}
.voice_wrap li {
    align-items: flex-start;
}
.voice_wrap .txt_wrap {
    width: calc(100% - 80px);
    padding-top: 1em;
    padding-bottom: 1em;
}
.voice_wrap .txt_wrap::before {
    bottom: auto;
    top: 25px;
    font-size: 1.5em;
}
/*年齢群ごとの食物アレルギー新規発症例*/
h2.ttl .icon {
    display: block;
    margin-bottom: 10px;
}
	.ranking {
    padding-top: 33px;
}
	.ranking .num_r {
    font-size: 1.4em;
}
}