/* リセットCSS */
* {
  margin: 0; /* ページ全体のmargin */
  padding: 0; /* ページ全体のpadding */
  float: none;
  position: static;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  width: 100%;
  background: #808080;
  text-align:center;   /* autoに未対応用のセンタリング */
}

/* TOP */
img.pc_top_image {
  width: 980px;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}
img.sp_top_image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}
img.header_image {
  width: 980px;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  image-rendering: -webkit-optimize-contrast;
}
@media screen and (min-width:481px) {
  /* ここにパソコン版だけの記述 */
  img.sp_top_image {
    display: none;
  }
}
@media screen and (max-width:480px) {
  /* ここにスマホ版だけの記述 */
  img.pc_top_image {
    display: none;
  }
  img.header_image {
    width: 100%;
  }
}

/* CONTENS */
.contents {
  display: block;
  width: 980px;
  background:linear-gradient(90deg,#000000 0%,#000000 20%,#dcdcdc 20%,#dcdcdc 100%);
  margin : 0 auto;
  font-size: 0;
}
.inline-contents {
  display: inline-block;
  width: 80%;
  vertical-align: top;
  min-height: 740px;
  margin : 0 auto;
}
.inline-title {
  padding: 5px 20px 5px 20px;
  font-size: 30px;
  background: #ffdc00;
}
@media screen and (max-width:480px) {
  /* ここにスマホ版だけの記述 */
  .contents {
    width:100%;
    background:linear-gradient(90deg,#dcdcdc 0%,#dcdcdc 100%);
  }
  .inline-contents {
    width: 100%;
    min-height: 500px;
  }
  .inline-title {
    margin-top: 30px;
  }
}

/* ボタン */
.common_btn {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  width: 200px;
  height: 50px;
  line-height: 50px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  color: #ffffff;
  border: 1px solid #00008b;
  border-radius: 6px;
  background: #00008b;
}
.common_btn:after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 0;
  content: '';
  transition: 0.3s;
  -webkit-transform: translate(-50%,-50%) rotate(45deg);
  transform: translate(-50%,-50%) rotate(45deg);
  opacity: 0;
  background: #ffffff;
}
.common_btn:hover {
  color: #da3c41;
}
.common_btn:hover:after {
  height: 250%;
  opacity: 1;
}
.common_btn:active:after {
  height: 350%;
  opacity: 1;
}

/* メニュー */
.pc_menu {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  width: 20%;
  height: 740px;
  margin : 0 auto;
}
.sp_menu {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
}
@media screen and (min-width:481px) {
  /* ここにパソコン版だけの記述 */
  .sp_menu {
    display: none;
  }
  .pc_menu ul.sidenav {
    list-style-type: none;
    margin-top: 35px;
    padding: 0;
    width: 156px;
    position: relative;
    overflow: auto;
    text-align:left;
    font-size: 15px;
  }
  .pc_menu ul.sidenav li a {
    display: block;
    height: 50px;
    background-color: #333333;
    color: #ffffff;
    margin-top: 5px;
    padding: 8px 16px;
    text-decoration: none;
    line-height: 38px;
    font-style: italic;
  }
  .pc_menu ul.sidenav li a.active {
    background-color: #00008b;
    color: white;
  }
  .pc_menu ul.sidenav li a:hover:not(.active) {
    background-color: #ffd700;
    color: #00008b;
  }
}
@media screen and (max-width:480px) {
  /* ここにスマホ版だけの記述 */
  .pc_menu {
    display: none;
  }
  input {
    display: none;
  }
  /*menuコンテンツ*/
  .sp_menu .menu {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    background-color: rgba(0,0,0, 0.8);
  }
  .sp_menu .menu ul {
    position: absolute;
    top: 170px;
    left: 50%;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    transition: all 0.3s ease-in-out;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .sp_menu .menu ul li {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  .sp_menu .menu ul li a {
    font-size: 1em;
    font-weight: bold;
    display: block;
    padding: 10px 0;
    transition: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  .sp_menu .menu ul li a:hover {
    color: #ffd700;
  }
  .sp_menu .menu ul li a.active {
    background-color: #00008b;
    color: white;
  }
  /*クリックしたらメニューが開閉の動作*/
  .sp_menu #toggle:checked ~ .menu {
    visibility: visible;
    opacity: 1;
  }
  .sp_menu #toggle:checked ~ .menu ul {
    top: 70px;
  }
  .sp_menu #toggle:checked ~ .menu ul li {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(1) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.1s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(2) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.2s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(3) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.3s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(4) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.4s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(5) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.5s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(6) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.6s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(7) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.7s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(8) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.8s;
  }
  .sp_menu #toggle:checked ~ .menu ul li:nth-child(9) {
    transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.9s;
  }
  .sp_menu #toggle:checked + label.hamburger .bar {
    background-color: rgba(255,255,255 ,1);
  }
  .sp_menu #toggle:checked + label.hamburger .bar:nth-child(2) {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }
  .sp_menu #toggle:checked + label.hamburger .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }
  .sp_menu #toggle:checked + label.hamburger .bar:nth-child(3) {
    -webkit-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
  }
  
  /*ハンバーガー*/
  .sp_menu .hamburger_img {
    position: fixed;
    z-index: 10;
    top: 4px;
    right: 0px;
    width: 50px;
    height: 50px;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    image-rendering: -webkit-optimize-contrast;
  }
  .sp_menu .hamburger {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    padding: 16px;
    display: block;
    cursor: pointer;
  }
  .sp_menu .hamburger .bar {
    width: 20px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255,215,0 ,1);
  }
  .sp_menu .hamburger .bar:nth-child(2) {
    width: 20px;
  }
}

/* フッター */
footer {
  display: inline-block;
  width: 980px;
  margin : 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #dcdcdc;
}
footer .copyright {
  margin-top: 5px;
}
footer .copyright p {
  font-size:12px;
  padding-right: 5%;
  letter-spacing: 1px;
  text-align:right;
  color: #000000;
}
footer .manage {
  background-color: #dcdcdc;
}
footer .manage p {
  font-size:12px;
  line-height: 20px;
  padding-left: 2%;
  letter-spacing: 1px;
  text-align:left;
  color: #000000;
}
footer .manage p a {
  color: #000000;
  text-decoration:none; 
}
footer .ichigyou img {
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
  object-position: 50% 50%;
  image-rendering: -webkit-optimize-contrast;
}
footer .ichigyou span {
  display: inline-block;
}
@media screen and (max-width:480px) {
  /* ここにスマホ版だけの記述 */
  footer {
    width:100%;
  }
}

