@charset "UTF-8";

section.mv {
    background-image: url(/img/title/benefit_sp.jpg) ;
}


#tokuten {
    margin: auto;
    width: fit-content;
}
#tokuten td {
    font-size: 2.6rem;
    color: #643200;
    padding: 4px 16px;
}

.grade {
    color: #000000;
    text-align: right;
}

.list-item {
    display: flex;
    font-size: 2.6em;
}

#accordion h3 {
    text-align: center;
}

#benefitlist {
    margin: auto;
    width: fit-content;
}
#benefitlist div {
    font-size: 1.6rem;
    /* display: flex;*/
    width: fit-content;
    margin-top: 1.6rem;
}
#benefitlist dd {
    color: #643200;
    text-indent: -5rem;
    padding-left: 5rem;
}
#benefitlist dd::before {
    content: '▶';
    padding: 0 16px 0 16px;
    color: #643200;
}

#accordion #number {
    border: solid thin #643200;
    width: fit-content;
    padding: 16px 12px 16px;
    text-align: center;
    line-height: 1.6rem;
    background-color: #ffffff;
    margin: 0 auto;
}

#accordion #number .number_count {
    font-size: 3.2rem;
    font-weight: 600;
    color: #643200;
}

#accordion #number .number_facility {
    color: #643200;
    font-weight: 600;
    font-size: 1.4rem;
}

.number_day {
    font-size: 1.2rem;
    color: #000000;
    text-align: center;
}


/* accordion */
/*ベース*/
.toggle2 {
	display: none;
}
/* タイトルorigin
.Label {
	padding: 1em;
	display: block;
	color: #fff;
	background:#019ac6;
}
*/
.Label {
    background-color: #643200;
    border-radius: 32px;
    color: #fff;
    padding: 8px 2em 8px;
    display: inline-block;
    line-height: 1.6em;
    margin: auto;
    text-align: center;
}
.Label::before{		/*タイトル横の矢印*/
	content:"";
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top:calc( 50% - 3px );
	right: 20px;
	transform: rotate(135deg);
}
.Label,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
/* width: fit-content;  ←これを変更 */
    width: 100%;            /* 横幅いっぱいにする */
    box-sizing: border-box; /* パディングを含めて100%にする */
    /* padding: 10px 40px; */
    margin: 10px auto;
    
    display: flex; /* flexを維持 */
    
    /* スマホでは縦並びにする */
    flex-direction: column; 
    /* align-items: center; */
    
    /* padding: 20px 24px; */
    line-height: 1.5; /* 縦並びの時は行間を詰めないと間が空きすぎるため調整 */
}
.content {		/*本文*/
	height: 0;
	margin-bottom:10px;
	padding:0;
	overflow: hidden;
}
.toggle2:checked + .Label + .content {	/*開閉時*/
	height: auto;
	/* padding:20px ; */
	transition: all .3s;
}
.toggle2:checked + .Label::before {
	transform: rotate(-45deg) !important;
}
/* ここまで */

.labeltext {
    font-size: 2.2rem;
}

#jmap img {
    width: 100%;
    display: block;
}

#japan_map img {
    display: contents;
    width: 100%;
}

.maptext {
    line-height: 1.6em;
    margin: 40px 0;
}

.maptext #red {
    color: #ff0000;
    line-height: 1.6em;
}

.maptext .small {
    font-size: 1.2rem;
    line-height: 1.6em;
    text-indent: -1em;
    padding-left: 1em;
    margin: 4px 0;
}

/* table関連 */
#benefittable table {
    width: 100%;
    margin-top: 48px;
    border-collapse: collapse;
}

#benefittable tr:nth-child(2n+1) {
 background: #f2f0eb;
}

#benefittable th {
    background-color: #6B6B6B;
    color: #ffffff;
    border: 1px solid #ffffff;
    line-height: 1.6em;
    padding: 8px 20px;
    vertical-align: middle;
}

#benefittable td {
    border: 1px solid #ffffff;
    line-height: 1.6em;
    padding: 8px 20px;
    vertical-align: middle;
    border-bottom: solid 1px #778ca3;
}

#benefittable a {
    text-decoration: underline;
}

#benefittable .touhoku {
    background-color: #5eaccd;
    color: #ffffff;
}

#benefittable .kantou {
    background-color: #c7b34a;
    color: #ffffff;
}

#benefittable .chuubu {
    background-color: #9fb965;
    color: #ffffff;
}

#benefittable .kinki {
    background-color: #6a9e99;
    color: #ffffff;
}

#benefittable .chuugoku {
    background-color: #b184a9;
    color: #ffffff;
}

#benefittable .shikoku {
    background-color: #b77a8c;
    color: #ffffff;
}

#benefittable .kyuushuu {
    background-color: #c28b71;
    color: #ffffff;
}

/* #benefittable の中にある、id属性を持つすべての要素に適用 */
    #benefittable [id] {
    scroll-margin-top: 67px;
}


@media screen and (min-width: 560px) {
    section.mv {
        background-image: url(/img/title/benefit_pc.jpg);
        background-position: left ;
    }
    
    #tokuten td {
    font-size: 2.6rem;
    color: #643200;
    padding: 4px 16px;
    }
    
    #benefitlist div {
    font-size: 2.4rem;
    display: flex;
    width: fit-content;
    }
    
.Label {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
    width: fit-content;
    margin: -60px auto 20px;
    display: flex;
    padding: 0px 24px;
    line-height: 4.8em;
    
    /* PCでは横並びに戻す */
    flex-direction: row; 
    line-height: 3em; /* 元の高さに戻す */
    }

.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
    width: fit-content;
    margin: 10px auto;
    padding: 20px 24px;
    line-height: 4.8em;
    }


    .labeltext {
    display: block;
    font-size: 2.2rem;
    }
    
    .labelkochira {
        display: block;
        margin: 0 12px;
    }
    
    #accordion #number {
    margin-right: 12px;
    margin-bottom: 0;
    }
    
    .number_day {
        position: absolute;
        right: 20%;
        /* width: fit-content; */
        margin-right: 12px;
    }
    
    #jmap img {
    width: 80%;
    display: block;
    margin: auto;
    }
    
/* #benefittable の中にある、id属性を持つすべての要素に適用 */
    #benefittable [id] {
    scroll-margin-top: 94px;
}
    
    #facility_count {
        margin-right: 20%;
    }



}


