html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  background: rgb(255, 255, 255);
  font-size: 2.2vh;
  color: rgb(20, 24, 36);
}
html,body {
  height: 100%;
}

/* @group basic */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, img, strong, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, tbody, tfoot, thead, tr, th, td, header, article, aside, figcaption, figure, footer, menu, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
}
dl,ul {list-style-type: none;}
img {vertical-align: bottom;}
.individual {
  display: none;
  overflow: hidden;
}

.pc-only { display: inline; }
.sp-only { display: none; }

@media screen and (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

:root{
  --font-sans: -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic", "Meiryo", "Segoe UI", "Roboto",
               "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho",
                "Noto Serif JP", serif;
}

html{ -webkit-text-size-adjust:100%; }
body{
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .02em;
  color: #111;
}
h1, h2, h3{
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.35;
}
nav, .nav, .btn, small{ font-family: var(--font-sans); }
body, h1, h2, h3, p{ font-feature-settings: "palt" 1; }


/* @group a */
a {
  text-decoration: none;
  background-color: transparent;
  font-weight: bold;
}
a:link {
  color: rgb(7, 12, 71);
}
a:visited {
  color: rgb(7, 12, 71);
}
a:active {
  color: rgb(7, 12, 71);
  outline: 0;
}
a:hover {
  color: rgb(7, 12, 71);
  outline: 0;
}

/* @group page_top */
#page-top {
  width: 100%;
  height: 8vh;
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 800;
}
#page-top p {
  text-align: center;
  background: rgba(7, 12, 71, .5);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
#page-top p:hover {
  background: rgba(7, 12, 71, 1);
}
#move-page-top {
  color: rgb(255, 255, 255);
  font-size: 7vh;
  line-height: 8vh;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

#contents_box {
  width: 100%;
  min-width: 300px;
  margin: 0 auto 4vh;
  overflow: hidden;
  position: relative;
}

/* @group header */
header {
  width: 100%;
  height: 10vh;
  margin: 0 auto;
  text-align: center;
  position: fixed;
  overflow: hidden;
  z-index: 800;
  border-bottom: .2vh solid rgba(255, 255, 255, .3);
  background-color: rgba(255, 255, 255, .3);
}
header h1 {
  visibility: hidden;
  display: none;
  overflow: hidden;
}
#header_logo {
  position: relative;
  width: 96%;
  max-width: 960px;
  height: 90%;
  margin: .4vh auto 0;
  overflow: hidden;
  text-align: left;
}
#header_logo img {
  height: 100%;
}

/* Top nav (fixed to viewport) */
nav {
  position: absolute;
  top: 1rem;
  right: 5%;

  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  display: flex;
  gap: 1rem;
  font-size: .9rem;
  z-index: 1000;
}
nav a {
  color: #333;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}

/* @group linkout */
#linkout {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
}
#linkout dd {
  width: calc(100% / 3);
  font-size: 6vh;
  text-align: center;
  display: inline;
  overflow: hidden;
  float: left;
}

#container {
  z-index: 0;
}
#contents {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.contents_block {
  width: 96%;
  max-width: 960px;
  margin: 0vh auto 8vh;
  position: relative;
}
.contents_blocks {
  width: 96%;
  max-width: 960px;
  margin: 0 auto 16vh;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
}
.contents_block:last-child,
.contents_blocks:last-child {
  margin: 0 auto;
}

.block-double {
  width: calc(98% / 2);
  margin: 0 2% 2% 0;
  position: relative;
}
.block-double:nth-child(2n) {
  margin: 0 0 2% 0;
}

.block-triple {
  width: calc(96% / 3);
  margin: 0 2% 2% 0;
  position: relative;
}
.block-triple2a {
  width: 66%;
  margin: 0 0 8% 0;
  position: relative;
}
.block-triple2b {
  width: 30%;
  margin: 0 2% 0 2%;
  position: relative;
}
.block-triple:nth-child(3n) {
  margin: 0 0 2% 0;
}

.block-quad {
  width: calc(94% / 4);
  margin: 0 2% 2% 0;
  position: relative;
}
.block-quad3 {
  width: 74%;
  /*2つは47%*/
  margin: 0 0 2% 0;
  position: relative;
}
.block-quad:nth-child(4n) {
  margin: 0 0 2% 0;
}

.block-inside {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 4vh;
  padding: 2vh;
}
.block-inside:last-child {
  margin: 0 auto 0;
}

/* @group table */
.contents_block table,
.contents_blocks table {
  width: 100%;
  margin: 0 auto 0;
  overflow: hidden;
  position: relative;
}
.contents_block tr,
.contents_blocks tr {
  overflow: hidden;
}
.contents_block th,
.contents_blocks th {
  vertical-align: middle;
}
.contents_block td,
.contents_blocks td {
  vertical-align: middle;
}

.contents_block ul,
.contents_blocks ul {
  margin: 5vh auto 0vh;
  padding: 2.5vh 0 0;
  overflow: hidden;
}
.contents_block li,
.contents_blocks li {
  padding: 1vh 1.5vw;
  margin: 0 0;
  border-bottom: 1px dotted rgba(0,0,0,.6);
}
.contents_block li:last-child,
.contents_blocks li:last-child  {
  border-bottom: none;
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* @group footer */
footer {
  width: 100%;
  padding: 2vh 0 4vh;
  overflow: hidden;
}
.footer_contents {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.footer_box {
  width: calc(100% /3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer_logo {
  width: calc(100% /3);
  text-align: center;
}
.footer_logo img {
  width: 90%;
  max-height: 6vh;
}
.footer_navi {
  width: 100%;
  display: block;
}
.footer_navi dd {
  font-size: 1.5vh;
  line-height: 1.8em;
  text-align: right;
  padding: 0;
}
.footer_credit {
  width: 100%;
  font-size: 1.5vh;
  line-height: 1.8em;
  text-align: right;
  display: block;
}

@media screen and (max-width:767px) {

  .block-double,
  .block-double:nth-child(2n),
  .block-triple,
  .block-triple2a,
  .block-triple2b,
  .block-triple:nth-child(3n),
  .block-quad3 {
    width: 100%;
    margin: 0 auto 2%;
    padding: 0 0 1% 0;

    border-bottom: 1px dotted rgb(7,12,71);
  }

  .footer_box {
    width: 100%;
    padding: 1vh 20vw;
  }
}

@media screen and (max-width:479px) {

  .footer_box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer_logo {
    width: 100%;
    text-align: center;
    overflow: hidden;
  }

  .footer_logo img {
    width: 90%;
    max-height: 32px;
  }

  .footer_navi dd,
  .footer_credit {
    text-align: center;
  }
}