@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333; /* RGB */
  font-family: 'Times New Roman', Times, 'serif';
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
h2 {
  font-size: 3.2rem;
  line-height: 4.0rem;
  text-align: left;
  border-left: 6px solid #009944;
  padding-left: 10px;
  margin: 40px 16px 40px 16px;
}
h3 {
  font-size: 2.4rem;
  margin: 40px 0px;
}
h4 {
  font-size: 1.6rem;
}
a:hover {
  opacity: 0.5;
}
.none {
  display: none;
}
.header {
  position: relative;
  height: 100px;
  max-width: 1272px;
  margin: 0 auto;
  background: #FFF;
}
.header_logo {
  position: absolute;
  left: 20px;
  top: 20px;
}
.header nav {
  display: block;
  text-align: right;
}
.header nav li {
  position: relative;
  display: inline-block;
  margin-left: 60px;
  padding-top: 50px;
}
.header nav a {
  text-decoration: none;
  font-size: 2.0rem;
  font-weight: 600;
  color: #333333;
}
.header nav li:last-child::before {
  position: absolute;
  top: 45px;
  left: -40px;
  content: "";
  background-image: url("../img/top/japan_small.png");
  width: 35px;
  height: 30px;
  color: crimson;
}
.header nav i {
  margin-right: 5px;
}
/* navigation */
.open-button, .close-button {
  display: none;
}
@media (max-width:1160px) {
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: #fff;
    /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);

  }
  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
    text-align: right;
  }
  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: inline;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}
.footer {
  position: relative;
  min-height: 300px;
  background-color: #888888;
  margin-top: 80px;
  padding: 0;
}
.f_container {
  max-width: 1040px;
  height: 200px;
  margin: 0 auto;
  padding-top: 40px;
}
.f_site-map {
  float: left;
}
.f_site-map ul {
  display: inline-block;
  text-align: left;
  margin-left: 10px;
}
.f_site-map li a {
  margin: 0;
  text-decoration: none;
  display: block;
  color: #FFF;
}
.f_site-map li i {
  padding-right: 5px;
}
.sns_container {
  float: right;
  color: #fff;
}
.sns_container li {
  display: inline-block;
  list-style: none;
  }
.sns_container li a {
  color: #fff;
  }
.sns i {
  padding: 10px;
}
.footer small {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  clear: both;
  display: block;
  text-align: center;
  color: #FFF;
}
@media (max-width:960px) {
  .footer {
    min-height: 200px;
    padding: 0 16px;
  }
}
/*ボタン*/
.btntextchange {
  /*テキストの基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  border: 1px solid #e60012;
  border-radius: 25px;
  min-width: 210px;
  padding: 20px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  background: #e60012;
  color: #fff;
  outline: none;
  /*アニメーションの指定*/
  transition: all .2s;
}
/*hoverした際の変化*/
.btntextchange:hover {
  background: #fff;
  color: #e60012;
}
.btntextchange span {
  /*絶対配置でテキストの位置を決める*/
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 2.0rem;
  transform: translate(-50%, -50%);
  /*アニメーションの指定*/
  transition: all .5s;
  /*ブロック要素にしてテキスト折り返しなし*/
  display: block;
  white-space: nowrap;
}
/*差し替わるテキストの設定*/
.btntextchange span:nth-child(2) {
  opacity: 0; /*透過0に*/
}
/*hoverするとテキストが入れ替わる設定*/
.btntextchange:hover span:nth-child(1) {
  opacity: 0; /*透過0に*/
}
.btntextchange:hover span:nth-child(2) {
  opacity: 1; /*不透明に*/
}
/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e60012;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}
#page-top a:hover {
  background: #777;
}
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}
/*　上に上がる動き　*/
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*　下に下がる動き　*/
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}