a{
  color: var(--color-green);
}

/*
  pageHeader(サブページのみ)
*/
.pageHeader{
  background: #001 url(/images/head.webp) no-repeat center center;
  background-size: cover;
  color:#fff;

  .inner{
    max-width: 1200px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
  }
  h1{
    margin-top:30px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    border-bottom: 4px solid var(--color-yellow);
  }
}
.pageHeaderBg2{
  background-image: url(/images/head2.webp);
}
@media only screen and (max-width: 800px) {
  .pageHeader{
    background-image: url(/images/head_sp.webp);
    .inner{
      padding-left: 20px;
      height: 200px;
    }
    h1{
      margin-top:16px;
      font-size: 18px;
      border-bottom-width: 2px;
    }
  }
}

/*
  section
*/
#content .section{
  padding-block: 60px;
  .inner{
    max-width: 1200px;
    margin: 0 auto;
  }
  .inner-narrow{
    max-width: 800px;
  }
  .hgroup{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-align: center;

    h2{
      color: var(--color-green);
      font-family: "Century Gothic", sans-serif;
      letter-spacing: 0.05em;
      font-size: 30px;
      font-weight: bold;
      line-height: 1;
    }
    div {
      color:#000;
      border-bottom: var(--color-green) 2px solid;
      padding: 2px 4px;
      font-size: 14px;
    }
  }
  h3{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin-block: 20px;
  }
  h4{
    font-size: 16px;
    font-weight: bold;
    color: var(--color-green);
    margin-block: 20px 12px;
  }
  section{
    margin-block: 40px;
  }
  .table{
    width:100%;
    margin-block: 32px;
    border-collapse: separate;
    border-spacing: 4px;
    th, td{
      font-size: inherit;
      padding: 8px 12px;
    }
    th{
      background-color: #000;
      color: #fff;
      white-space: nowrap;
      font-weight: normal;
    }
    td{
      background: #f0f0f0 url(/images/bg-stripe.png) repeat;
      color: #000;
    }
  }
}
#content .section.section-dark{
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  background: #333 url(/images/bg-black.png) repeat;
  color: #fff;
  thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
  }
  tbody + tbody {
    border-top: 2px solid #dee2e6;
  }
  .hgroup{
    h2 {
      color: var(--color-yellow);
    }
    div {
      color: #fff;
      border-bottom-color: var(--color-yellow);
    }
  }
}
@media only screen and (max-width: 800px) {
  #content .section{
    .inner{
      padding-inline: 20px;
    }
  }
}

/*
  メインボタン
*/
.buttonPrimary{
  width: 320px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  border: #000 1px solid;
  text-decoration: none;
  background: #fff url(/images/bg-button.png) no-repeat right bottom;
  transition: opacity 0.3s ease;

  &:hover{
    opacity: 0.8;
  }

  &.buttonBlack{
    background-color: #000;
    color: #fff;
    border: #fff 1px solid;
  }
}
@media only screen and (max-width: 800px) {
  .buttonPrimary{
    width: 100%;
  }
}


/*
  totopボタン
*/
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  &:hover {
    background: #f2f2f2;
  }
  &:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: relative;
    top: 2px;
    border: 3px solid #3a3a3a;
    border-left: none;
    border-bottom: none;
    transform: rotate(-45deg);
  }
}
