@charset "UTF-8";
/* CSS Document */

@media (max-width: 700px) {

#sitemap{
    margin-top: 12.3%;
    margin-bottom: 7.69%;
}
#sitemap_top{
	display: flex;
	flex-wrap: wrap;
}
#sitemap .sitemap_link{
    border: 1px solid #009450;
    width: 100%;
    margin-right: 0%;
    margin-bottom: 3.07%;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    opacity: inherit;
}

.sitemap_link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right top, #009685 0%, #00964F 100%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}
.sitemap_link::before a{
	
}

.sitemap_link:hover::before {
  opacity: 1;
}
#sitemap .sitemap_link:hover{
		color: #FFFFFF;
}
.sitemap_link a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 18px;
  color: #000;
  background-image: url("../images/arrow_double_black.svg");
  background-position: right 12px center;
  background-size: 16px auto;
  background-repeat: no-repeat;
  transition: color 0.5s, background-image 0.5s, background-size 0.5s;
	opacity: 1;
}

.sitemap_link a:hover {
  color: #fff;
  background-image: url("../images/arrow_double_white.svg");
  background-size: 20px auto;
	opacity: 1 !important;
}
#sitemap_top .sitemap_link:nth-child(2n){
	margin-right: 0;
}

.sitemap_each{
	margin-top: 3.84%;
	box-sizing: border-box;
}
#sitemap .sitemap_each h2{
	box-sizing: border-box;
	width: 100%;
	position: inherit;
	padding: 18px;
	border: 1px solid #009450;
	font-size: 20px;
    line-height: 1em;
    font-weight: 600;
}
#sitemap .sitemap_each.tit-no-link h2{
	padding: 0;
	position: relative;
    overflow: hidden;
}
#sitemap .sitemap_each.tit-no-link h2 a{
	opacity: 1;
}
.sitemap_each ul{
    display: flex;
    flex-wrap: wrap;
    margin-top: 3.07%;
    box-sizing: border-box;
}
.sitemap_each ul li{
    box-sizing: border-box;
    width: 100%;
    margin-right: 0%;
    margin-bottom: 3.07%;
    background-color: #DADEDF80;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.sitemap_each ul li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right top, #009685 0%, #00964F 100%);
  opacity: 0; /* 初期は透明 */
  transition: opacity 0.5s; /* フェードイン */
  z-index: 0; /* 文字の後ろ */
}
.sitemap_each ul li:hover::before {
  opacity: 1;
}
.sitemap_each ul li:nth-child(2n){
	margin-right: 0;
}
.sitemap_each ul li a{
    font-size: 18px;
    line-height: 1em;
    font-weight: 600;
	position: relative;
	box-sizing: border-box;
	display: block;
	background-image: url("../images/arrow_double_black.svg");
	background-position: right 12px center;
	background-size: 16px auto;
	background-repeat: no-repeat;
	height: 100%;
	padding: 18px;
	z-index: 1;
}
.sitemap_each ul li a:hover{
color: #FFFFFF; /* hover時文字色 */
  background-image: url("../images/arrow_double_white.svg"); /* 矢印画像切替 */
  background-size: 20px auto;
	opacity:1;
}
}
