:root {
  --site-main-color: #6ec2c5;
  --site-white-color: #f3f3f3;
  --site-black-color: #171a1f;
  --site-red-color: #9d1f02;
}

@keyframes body-fade-in-anime {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hover-fade-out-anime {
  from { opacity: 1; }
  to { opacity: 0.6; }
}

@keyframes hover-fade-in-anime {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.clearfix:after{
  content: ".";
  clear:both;
  display:block;
  height:0;
  font-size: 0;
}

br { letter-spacing:0; }

a, a:visited {
  color: var(--site-black-color);
  text-decoration: none;
}

html {
  height: 100%;
  min-width: 320px;
}

body {
  background-color: var(--site-main-color);
  color: var(--site-black-color);
  animation-name: body-fade-in-anime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

body, td, th {
  font-family: Arial, 'Zen Kaku Gothic Antique', sans-serif;
//  font-family: "Noto Sans", sans-serif;
//  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 15px;
}

button, input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

a.button, button, input[type=submit] {
  display: inline-block;
  line-height: 1.4em;
  padding: 0.5em 2em;
  color: var(--site-white-color) !important;
  border-radius: 1.2em;
  text-decoration: none !important;
  text-align: center;
  background-color: #555555;
}

input[type=submit] {
  background-color: var(--site-main-color);
}

a.button img {
  height: 1.4em;
  width: auto;
  vertical-align: -0.3em;
}

a.button:hover, button:hover, input[type=submit]:hover {
  animation-name: hover-fade-out-anime;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  cursor: pointer;
}

a.link {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1em;
  padding: 0.6em 2.6em 0.6em 1.4em;
  border-radius: 0.2em;
  background-color: var(--site-main-color);
  text-decoration: none !important;
  color: var(--site-white-color) !important;
  vertical-align: 0.1em;
  background-image: url("../images/link_bg.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 1em) center;
  background-size: 1.4em;
}

a.link:hover {
  animation-name: hover-fade-out-anime;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

a.link img {
  height: 1.4em;
  width: auto;
  vertical-align: -0.3em;
  margin-left: 0.3em;
}

img.icon {
  height: 1.4em;
  width: auto;
  vertical-align: -0.3em;
  margin-right: 0.5em;
}

footer {
  text-align: center;
  background-color: var(--site-main-color);
  padding: 20px 30px;
  width: calc(100% - 60px);
  color: var(--site-white-color);
  font-size: 0.8em;
}

footer a, footer a:visited {
  color: var(--site-white-color) !important;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

#footer-logo:hover {
  opacity: 0.7;
}

#footer-logo h2 img {
  width: 90px;
  height: auto;
}

#footer-logo h1 {
  margin-top: 5px;
}

#footer-logo h1 img {
  width: 200px;
  height: auto;
}

#footer-address {
  margin-top: 15px;
  line-height: 1.4em;
}

#footer-address span {
  display: inline-block;
}

#footer-address .icon {
  height: 1.1em;
  margin-right: 0.5em;
  vertical-align: -0.2em;
}

#footer-copyright {
  margin-top: 15px;
  line-height: 1.4em;
}

#footer-copyright span {
  display: inline-block;
}

@media screen and (min-width: 480px), print {
body, td, th {
  font-size: 16px;
}
}

@media screen and (min-width: 960px), print {

body, td, th {
  font-size: 18px;
}

html {
//  min-width: 960px;
  min-width: 1100px;
}

footer {
  padding: 30px 0;
  width: 100%;
}

#footer-content {
  vertical-align: top;
  width: 960px;
  margin: 0 auto;
}

#footer-logo {
  display: inline-block;
  vertical-align: top;
  width: 370px;
  margin: 0 auto;
  text-align: left;
}

#footer-logo h2 {
  text-align: left;
}

#footer-logo img {
  width: 186px;
  height: auto;
}

#footer-logo h1 {
  text-align: left;
  margin-top: 5px;
}

#footer-logo h1 img {
  width: 366px;
  height: auto;
}

#footer-address {
  display: inline-block;
  vertical-align: top;
  margin-top: 10px;
  margin-left: 130px;
  width: 450px;
  text-align: left;
  display: inline-block;
  line-height: 1.8em;
}

#footer-copyright {
  margin-top: 30px;
  width: 100%;
  text-align: center;
}
}
