﻿@media screen and (max-width: 640px) {
  #FooterPane {
    border-top: 5px solid #7b9675;
    width: 100%;
    box-sizing: border-box;
  }
  
  #FooterPane .nara-pref {
    box-sizing: border-box;
    width: 100%;
    background: #ebefea;
    text-align: center;
    padding: 30px 0 !important;
    color: #333;
  }
  
  #FooterPane .nara-pref h2 {
    box-sizing: border-box;
    width: 180px;
    height: 57px;
    margin: 0 auto 15px auto !important;
  }
  
  #FooterPane .nara-pref p {
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.4;
  }
  
  #FooterPane .nara-pref p span {font-size: 12px;}
  
  #FooterPane .notes {
    box-sizing: border-box;
    width: 100%;
    background: #e1e7df;
    padding: 20px 0 !important;
    margin: 0 !important;
  }
  
  #FooterPane .notes p {
    color: #333;
    width: 90%;
    line-height: 1.66;
    font-size: 10px;
    text-align: left;
    margin: 0 auto !important;
  }
  
  #FooterPane .links {
    box-sizing: border-box;
    width: 100%;
    background: #7b9675;
    padding: 15px 0 30px 0 !important;
  }
  
  #FooterPane .links .links-inner {
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto !important;
    font-size: 12px;
    color: #fff;
    text-align: center;
  }
  
  #FooterPane .links .links-inner ul {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0 !important;
  }
  
  #FooterPane .links .links-inner li {
    display: inline-block;
    margin: 0 20px 0 0 !important;
    padding: 0;
  }
  
  #FooterPane .links .links-inner li a,
  #FooterPane .links .links-inner .copyright p {color: #fff !important;}  
#FooterPane .gototop {
	z-index: 9;
	display: block;
	text-decoration: none;
	color: #fff;
	background: #7b9675;
	border-radius: 5px 5px 0 0;
	position: absolute;
	top: -40px;
	left: 50%;
	width: 150px;
	height: 40px;
	font-weight: 600;
	transform: translateX(-50%);
}

#FooterPane .gototop::before {
	content: '';
	width: 20px;
	height: 20px;
	background: url("/miryoku/aruku/secure/8120/icon_backtotop.png") no-repeat center;
	background-size: 20px 20px;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}

#FooterPane .gototop span {
	display: inline-block;
	position: relative;
	top: 50%;
	left: 35px;
	transform: translateY(-50%);
}

}

@media screen and (min-width: 641px) {
  #FooterPane {
    border-top: 5px solid #7b9675;
    width: 100%;
    min-width: 1100px;
    box-sizing: border-box;
  }
  
  #FooterPane .nara-pref {
    box-sizing: border-box;
    width: 100%;
    min-width: 1100px;
    background: #ebefea;
    text-align: center;
    padding: 30px 0;
    margin: 0;
    color: #333;
  }
  
  #FooterPane .nara-pref h2 {
    box-sizing: border-box;
    width: 180px;
    height: 57px;
    margin: 0 auto 15px auto;
  }
  
  #FooterPane .nara-pref p {
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.4;
  }
  
  #FooterPane .nara-pref p span {font-size: 12px;}
  
  #FooterPane .notes {
    box-sizing: border-box;
    width: 100%;
    min-width: 1100px;
    background: #e1e7df;
    padding: 20px 0;
    margin: 0;
  }
  
  #FooterPane .notes p {
    color: #333;
    width: 1000px;
    line-height: 2.0;
    font-size: 10px;
    text-align: left;
    margin: 0 auto;
  }
  
  #FooterPane .links {
    box-sizing: border-box;
    width: 100%;
    min-width: 1100px;
    background: #7b9675;
    padding: 15px 0;
  }
  
  #FooterPane .links .links-inner {
    box-sizing: border-box;
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #fff;
  }
  
  #FooterPane .links .links-inner ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  #FooterPane .links .links-inner li {
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
  }
  
  #FooterPane .links .links-inner li a {color: #fff;}

#FooterPane .gototop {
	z-index: 9;
	display: block;
	text-decoration: none;
	color: #fff;
	background: #7b9675;
	border-radius: 5px 5px 0 0;
	position: absolute;
	top: -40px;
	right: 50px;
	width: 150px;
	height: 40px;
	text-align: center;
	transition: height .25s, top .25s;
}

#FooterPane .gototop::before {
	content: '';
	width: 20px;
	height: 20px;
	background: url("/miryoku/aruku/secure/8120/icon_backtotop.png") no-repeat center;
	background-size: 20px 20px;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}

#FooterPane .gototop span {
	display: inline-block;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	padding-left: 20px;
}

#FooterPane .gototop:hover,
#FooterPane .gototop:active {
	top: -50px;
	height: 50px;
}
}