#contents h3 {
    font-size: max(22pt, 2vw);
    margin-bottom: .5em;
}

#index #contents #map .accessmap {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    margin-bottom: 2em;
}
#index #contents #map .accessmap .detail {
    flex: 1;
}
#index #contents #map .accessmap .detail > div {
    margin-bottom: 2em;
}
#index #contents #map .accessmap .detail h3 {
    font-size: min(15pt, 3vw);
    background-color: #D1CCC9;
    padding: 5px 10px;
    margin-bottom: .5em;
}

#purpose #contents table {
    width: 100%;
}

#purpose #contents table colgroup col:nth-child(1) { width: 10em; }

#purpose #contents table caption {
    font-weight: bold;
    font-size: clamp(16pt, 1.5vw, 30pt);
}
#purpose #contents table th,
#purpose #contents table td
{
    border-bottom: 2px dotted #999;
    padding: 5px;
}

#business .businessDetail ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .4em;
}

#business .businessDetail ul > li {
    text-indent: -1em;
    margin-left: 1em;
}
#business .work {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1em;
}
#business .work > div {
	border: 1px solid #000;
	padding: 1em;
	background-color: #fff;
	border-radius: 6px;
}
/* #business .work > div:not(:first-child) {
    margin-top: 1em;
} */
#business .work > div > dt {
    color: var(--main-color);
    font-weight: bold;
    font-size: 120%;
}

#tissue #contents .history2 {
    border-collapse: collapse;
    width: min(100%, 800px);
	border-top: 1px #cccccc solid;
	border-left: 1px #cccccc solid;
    margin: 0 auto 30px;
}

#tissue #contents .history2 th,
#tissue #contents .history2 td
{
    padding: 10px;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}
#tissue #contents .history2 th {
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
	background-color: #dddddd;
	width: 50%;
}

#tissue #contents .history2 td dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#tissue #contents .history2 td dt {
	font-weight: bold;
    width: min(100%, 250px);
}

/* 組織図
************************************/
#contents #chart .detail > div {
    margin-inline: auto;
}
#contents #chart dl{
	padding-left: 19px;
	overflow: hidden;
	position: relative;
	padding-bottom: 265px;
}
#contents #chart dl dt{
	width: 102px;
	line-height: 32px;
	color: #fff;
	background-color: #EE7800;
	border-radius: 5px;
	text-align: center;
	float: left;
	font-size: 15px;
	margin-right: 15px;
	margin-bottom: 20px;
	position: relative;
}
#contents #chart dl dt.c3{
	background-color: #717171;
}
#contents #chart dl dt::before{
	content: "";
	display: block;
	height: 20px;
	width: 0;
	overflow: hidden;
	position: absolute;
	left: 51px;
	top: 100%;
	border-left: 1px solid #000;
}
#contents #chart dl dt.c1::before, #contents #chart dl dt.c3::before{
	content: none;
}
#contents #chart dl dt.c2::before{
	height: 202px;
}
#contents #chart dl dt.c1, #contents #chart dl dt.c1 + dd,
#contents #chart dl dt.c3, #contents #chart dl dt.c3 + dd{
	margin-bottom: 0;
}
#contents #chart dl dt.c2,#c#ntents .chart dl dt.c2 + dd{
	margin-bottom: 202px;
}
#contents #chart dl dd{
	line-height: 32px;
	margin-bottom: 20px;
}
#contents #chart dl dd.sec{
	line-height: 16px;
}
#contents #chart dl dl.dep{
	margin-left: 51px;
	border-left: 1px solid #000;
	padding: 13px 0 5px 88px;
	position: relative;
}
#contents #chart dl dl.dep::before{
	content: "";
	display: block;
	height: 0;
	width: 63px;
	overflow: hidden;
	position: absolute;
	left: 0;
	top: 49.5%;
	border-top: 1px solid #000;
}
#contents #chart dl dl.dep dt,#c#ntents .chart dl dl.dep dd{
	margin-bottom: 10px;
}
#contents #chart dl dl.dep dt{
	position: relative;
}
#contents #chart dl dl.dep dt::before{
	content: "";
	display: block;
	height: 0;
	width: 24px;
	overflow: hidden;
	position: absolute;
	left: -25px;
	top: 16px;
	border-top: 1px solid #000;
}
#contents #chart dl dl.dep dt::after{
	content: "";
	display: block;
	height: 42px;
	width: 0;
	overflow: hidden;
	position: absolute;
	left: -25px;
	top: 16px;
	border-left: 1px solid #000;
}
#contents #chart dl dl.dep dt:last-of-type::after{
	content: none;
}
#contents #chart dl dl.comm{
	position: absolute;
	top: 330px;
	left: 0;
	padding: 0 0 0 156px;
	overflow: hidden;
}
#contents #chart dl dl.comm::before{
	content: "";
	display: block;
	height: 0;
	width: 60px;
	overflow: hidden;
	position: absolute;
	left: 70px;
	top: 93px;
	border-top: 1px solid #000;
}
#contents #chart dl dl.comm dt{
	width: 185px;
	color: #4C4A49;
	background-color: #E0E1E1;
	margin-right: 4px;
	margin-bottom: 18px;
	position: relative;
	float: left;
}
#contents #chart dl dl.comm dd{
	line-height: 16px;
	margin-bottom: 18px;
	width: 520px;
}
#contents #chart dl dl.comm dt:last-of-type,
#contents #chart dl dl.comm dd:last-of-type{
	margin-bottom: 12px;
}
#contents #chart dl dl.comm dt::before{
	content: "";
	display: block;
	height: 0;
	width: 25px;
	overflow: hidden;
	position: absolute;
	left: -26px;
	top: 16px;
	border-top: 1px solid #000;
}
#contents #chart dl dl.comm dt::after{
	content: "";
	display: block;
	height: 51px;
	width: 1px;
	overflow: hidden;
	position: absolute;
	left: -26px;
	top: 16px;
	border-left: 1px solid #000;
}
#contents #chart dl dl.comm dt:last-of-type::after{
	content: none;
}


#process #contents .process{
	max-width: 750px;
	width: 100%;
	margin: 0 auto;
}
#process #contents .sikaku{
	overflow: hidden;
	margin-bottom: 20px;
}
#process #contents .sikaku dt{
	float: left;
	background-color: #959595;
	color: #fff;
	width: 140px;
	text-align: center;
	line-height: 2.2;
	font-size: 24px;
	font-weight: bold;
	border-radius: 5px;
	margin-right: 15px;
}
#process #contents .sikaku dd{
	float: left;
	height: 55px;
}

#process #contents .process{
	margin-bottom: 30px;
}
#process #contents p.gr{
	background-color: #00964e;
	color: #fff;
	text-align: center;
	font-weight: bold;
	line-height: 2.5;
}
#process #contents .gr2{
	background-color: rgb(178, 225, 202);
	color: rgb(0, 154, 78);
	text-align: center;
	font-weight: bold;
	line-height: 2.5;
	padding: 5px 0;
}
#process #contents .gr2 ul{
	display: flex;
	justify-content: center;
}
#process #contents .gr2 ul > li{
	padding: 0 10px;
}
#process #contents .table_fl{
	overflow: hidden;
}
#process #contents .table_fl table{
	float: left;
	width: 50%;
	border-collapse: separate;
	border-spacing: 14px 0;
}
#process #contents .table_fl table:first-of-type{
	border-right: 1px dotted #666;
}
#process #contents .table_fl table th{
	border: 1px solid #b0b0b0;
	border-radius: 10px;
	padding: 8px;
}
#process #contents .table_fl table td{
	text-align: center;
	padding: 8px;
}

#search .map {
    display: flex;
    justify-content: space-between;
    gap: 3em;
    margin-bottom: 3em;
}

#search .map div:nth-child(2) {
    flex: 1;
}

.area_list{
    margin-bottom: 30px;
}
.area_list dl{
    position: relative;
}
.area_list dl:not(:first-child){
    margin-top: 20px;
}
.area_list dt{
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
    font-size: 150%;
    font-weight: bold;
    z-index: 1;
    border: 1px solid #000;
}
.area_list dt:hover{
    background-color: #fff !important;
}
.area_list dd{
    display: none;
}
.area_list dl.bizen dt{
    border-color: #499749;
    background-color: #499749;
}
.area_list dl.bizen dt:hover{
    color: #499749;
}
.area_list dl.bizen dd{
    border-color: #499749;
}
.area_list dl.bichu dt{
    border-color: #b23688;
    background-color: #b23688;
}
.area_list dl.bichu dt:hover{
    color: #b23688;
}
.area_list dl.bichu dd{
    border-color: #b23688;
}
.area_list dl.mimasaka dt{
    border-color: #479ea1;
    background-color: #479ea1;
}
.area_list dl.mimasaka dt:hover{
    color: #479ea1;
}
.area_list dl.mimasaka dd{
    border-color: #479ea1;
}
.area_list dt::before{
    display: inline-block;
    content: "＞";
}
.area_list dt.on::before{
    transform-origin: 6px 11px;
    transform: rotate(90deg);
}
.area_list dd{
    border: 1px solid #999;
    padding: 10px 5px 0;
    margin-top: -1.2em;
    margin-bottom: 20px;
}
.area_list ul{
    margin-top: 1.2em;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.area_list ul > li{
    width: 150px;
    text-indent: 0 !important;
    margin-left: 0 !important;
}




#search .koryo {
    width: 50%;
    padding: 1em;
    border: 1px solid #DDD;
    height: 250px;
    line-height: 1.5;
}

#search .koryo img {
    margin-bottom: 1em;
}

#search .koryo input[type="text"] {
    border: 3px solid #DDD;
}

#search .inbox {
    margin-bottom: 4em;
}

#search .inbox h4 {
    font-weight: bold;
    background-color: #EFEFEF;
    padding: 0.8em;
    margin: 0 0 .8em;
}

#search .inbox ul li {
    padding-left: 2em;
    text-indent: -2em;
}


@media screen and (max-width: 430px){
    #index #contents #map .accessmap {
        flex-direction: column;
    }
    #index #contents #map .accessmap .detail h3 {
        font-size: 5.5vw;
    }
    #purpose #contents table tbody tr {
        display: grid;
        grid-template-columns: 1fr;
    }

    #purpose #contents table th {
        border-bottom: none;
        text-align: left;
        padding-bottom: 0;
    }
    #purpose #contents table td {
        padding-top: 0;
    }

	#business .businessDetail ul {
		grid-template-columns: 1fr;
	}

    #tissue .detail .about .sideBySide {
        flex-direction: column-reverse;
    }

    #tissue .detail .about .main_operations {
        grid-template-columns: 1fr;
    }

    #tissue #officer .innerWrap > div:nth-child(2) {
        width: 100%;
    }
    #tissue #officer table colgroup col {
        width: auto !important;
    }
    #tissue #officer table tr th,
    #tissue #officer table tr td.totalAmount
    {
        display: none;
    }
    #tissue #officer table tr td {
        display: block;
        text-align: center !important;
        border: 0;
        padding: 2px 5px;
    }
    #tissue #officer table tr td.name {
        text-align: center;
        padding: .5em;
        background-color: var(--color-gray);
    }
    #tissue #officer table tbody tr td.detailName {
        padding-top: .5em;
    }
    #tissue #officer table tr {
        border-top: 1px solid #ccc;
    }

    #search .map {
        flex-direction: column;
    }
}