/* 全体設定 */
* {
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.hide {
  display: none;
}

.show {
  display: block;
}

body {
  background: #000; 
  color: #fff;
}

/* ヘッダ */

header {
  background: #000;
  color: #fff;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-weight: normal;
  width: 40%; 
  max-width: 400px; 
  padding: 10px; 
}

header h1 a {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  text-decoration: none; 
}

header svg {
  min-height: 60px; 
}

header svg#header-logo-s {
  display: none; 
}

header ul {
  display: flex; 
  flex-flow: row nowrap;
  align-items: center;
  margin-right: 20px;
}

header ul li {
  list-style: none; 
}

header ul li a {
  color: #fff; 
  text-decoration: none; 
  padding: 15px; 
  transition: background 0.3s ease;
}

header ul li a:hover {
  background: rgba(143, 143, 143, 0.4); 
}

#hamburger {
  display: none; 
}

  /* responsive */

@media screen and (max-width: 768px) {
  header {
    height: 80px; 
  }

  header h1 {
    width: auto; 
    height: calc(100% - 20px); 
  }

  header h1 img {
    width: auto; 
    height: 100%;
  }
  
    /* Hamburger Menu */
  #hamburger {
    display: block; 
    width: 30px; 
    height: 30px; 
    margin-right: 20px; 
    cursor: pointer;
  }

  #hamburger .line {
    display: block; 
    width: 100%; 
    height: 2px;
    background: #fff; 
    margin: 6px auto; 
    transition: all 0.5s ease;
  }

  #line1.active {
    transform: rotate(45deg) translate(5px, 6px); 
  }

  #line2.active {
    opacity: 0; 
  }

  #line3.active {
    transform: rotate(-45deg) translate(5px, -6px); 
  }

  header nav {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 80%;
    max-width: 300px; 
    text-align: center;
    margin-top: 80px;
    margin-right: -100%;
    border-left: 1px solid #d9d9d9; 
    border-bottom: 1px solid #d9d9d9;
    z-index: 9999;
    transition: margin 0.5s ease;
  }

  header nav.active {
    position: absolute;
    margin-right: 0; 
  }

  header nav ul {
    display: block; 
  }

  header nav li {
    border-bottom: 1px solid #fff;
    border-image: linear-gradient(to right, #000 5%, #fff 10%, #fff 90%, #000 95%) 1;
  }

  header nav li:hover {
    background: rgba(143, 143, 143, 0.4);
  }

  header nav li a {
    display: block;
    padding-top: 10px; 
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  header svg#header-logo-l {
    display: none;
  }

  header svg#header-logo-s {
    display: block;
  }
}

/* メイン領域 */

  /* heading */

.heading {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.heading-inner {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.heading-inner h2 {
  position: absolute;
  left: 0; 
  bottom: 0;
  font-size: 2.2em;
  padding: 40px;
  padding-left: 60px; 
}

    /* responsive */

@media screen and (max-width: 768px) {
  .heading {
    height: 160px; 
  }

  .heading-inner h2 {
    position: relative;
    font-size: 1.5em;
    width: 100%;
    text-align: center;
    padding: 0; 
    padding-top: calc(80px - 0.75em);
  }
}

  /* section */

.section {
  width: 80%; 
  max-width: 1280px; 
  min-width: 320px;
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 10px;
}

h3.section-title {
  width: 100%; 
  font-size: 1.8rem;
  font-weight: normal;
  margin-bottom: 10px;
  border-bottom: 2px solid #fff;
  padding: 5px; 
}

    /* responsive */

@media screen and (max-width: 768px) {
  .section {
    width: 90%; 
    min-width: 0px;
    margin-bottom: 20px;
  }

  h3.section-title {
    font-size: 1.3rem; 
  }
}

/* table */

.table {
  width: 100%;
  overflow: auto; 
}

.table::-webkit-scrollbar {
  height: 8px;
}

.table::-webkit-scrollbar-track {
  background: #363636;
}

.table::-webkit-scrollbar-thumb {
  background: #636363;
  border-radius: 2px;
}

.table table {
  width: 100%;
  min-width: 320px; 
  border: 1px solid #fff;
  border-collapse: collapse;
}

.table table td {
  border: 1px solid #fff;
  padding: 5px 10px;
}

.table table tr td:first-child {
  width: 20%; 
  min-width: 100px;
  text-align: right;
}

/* フッタ */

footer {
  background: #4d4d4d; 
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
}

footer ul {
  display: flex; 
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

footer ul li {
  list-style: none; 
}

footer ul li a {
  color: #fff; 
  text-decoration: none; 
  padding: 15px; 
  transition: background 0.3s ease;
}

footer ul li a:hover {
  background: rgba(127, 127, 127, 0.4); 
}

footer img {
  width: 20%; 
  max-width: 400px;
  margin: 20px auto; 
}

footer p#footer-copy {
  margin-bottom: 20px;
}

  /* responsive */

@media screen and (max-width: 768px) {
  footer nav {
    display: none; 
  }

  footer img {
    width: 40%; 
  }
}
