@charset "UTF-8";
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

全ページ共通

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: 1.6rem;
  color: #333;
  letter-spacing: 2px;
  line-height: 1.8;
}
@media screen and (max-width: 520px) {
  body {
    font-size: 1.4rem;
  }
}

*:hover,
*::before,
*::after {
  transition: 0.2s;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

文字

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
p {
  margin: 20px 0;
  letter-spacing: 1px;
  text-align: justify;
}

a {
  color: inherit;
}

/*－－－－－－－－－－ 見出し －－－－－－－－－－*/
h1,
h2,
h3,
h4,
h5 {
  letter-spacing: 4px;
  font-weight: normal;
  text-transform: uppercase;
  word-break: break-all;
}

/*－－－－－－－－－－ 大見出し －－－－－－－－－－*/
.headingL {
  font-size: 2.4rem;
  margin: 40px 0;
}
@media screen and (min-width: 1025px), print {
  .headingL {
    font-size: 3rem;
  }
}

/*－－－－－－－－－－ 中見出し －－－－－－－－－－*/
.headingM {
  font-size: 2rem;
  margin: 30px 0;
}
@media screen and (min-width: 1025px), print {
  .headingM {
    font-size: 2.4rem;
  }
}

/*－－－－－－－－－－ 小見出し －－－－－－－－－－*/
.headingS {
  font-size: 1.8rem;
  margin: 20px 0;
}
@media screen and (min-width: 1025px), print {
  .headingS {
    font-size: 2rem;
  }
}

/*－－－－－－－－－－ 最小見出し －－－－－－－－－－*/
.headingSS {
  font-size: 1.6rem;
  margin: 20px 0;
}
@media screen and (min-width: 1025px), print {
  .headingSS {
    font-size: 1.8rem;
  }
}

/*－－－－－－－－－－ 文字装飾 －－－－－－－－－－*/
.right {
  text-align: right;
}

.center {
  text-align: center;
}

.marker {
  background: linear-gradient(transparent 60%, #aaa 60%);
}

.label {
  display: block;
  margin: 20px 0;
  padding: 2px 10px;
  background-color: #666;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

アイコン等

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.la,
.las {
  position: relative;
  top: 2px;
  font-size: 1.2em;
  color: #aaa;
  margin-right: 4px;
}

/* 矢印 */
.arrow {
  width: 20px;
  height: 20px;
  border: 2px solid #aaa;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

入力フォーム、ボタン

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/* 入力フォーム */
input,
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 10px 20px 8px 20px;
  border: 1px solid #aaa;
  margin: 10px 0;
}

/* ボタン */
.btn {
  display: block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #aaa;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #aaa;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.btn:hover {
  cursor: pointer;
  background-color: #666;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

リスト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.list,
.list-number {
  margin: 20px 0;
}

.list li {
  position: relative;
  margin-left: 16px;
}
.list li::before {
  position: absolute;
  top: 10px;
  left: -16px;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: #aaa;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* スマホ用 */
@media screen and (max-width: 520px) {
  .list li::before {
    top: 8px;
  }
}
/* 数字付きリスト */
.list-number {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
}
.list-number li {
  text-indent: -3.4rem;
  padding-left: 3.6rem;
}
.list-number li > :not(:first-child) {
  text-indent: 0;
}

/* 表リスト */
.gridlist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
}
@media screen and (max-width: 520px) {
  .gridlist {
    grid-template-columns: 1fr;
  }
}
.gridlist .gridlist__label,
.gridlist .gridlist__text {
  padding: 6px 12px 4px;
}
.gridlist .gridlist__label {
  display: flex;
  align-items: center;
  background-color: #aaa;
  color: #fff;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

枠組み

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.box {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: 80px;
  border: 1px solid #aaa;
  border-left: none;
  border-right: none;
}
.box .box__title {
  display: block;
  margin-top: -40px;
  background: #fff;
  width: -moz-fit-content;
  width: fit-content;
}
.box > :first-child {
  margin-top: 0;
}
.box > :last-child {
  margin-bottom: 0;
}

.title-box {
  position: relative;
  border: 2px solid #aaa;
  margin: 80px;
}
.title-box .title-box__ttl {
  position: absolute;
  top: calc((1rem + 21px) * -1);
  left: -2px;
  font-size: 1rem;
  color: #fff;
  background-color: #aaa;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6px 10px;
}
.title-box .title-box__body {
  max-height: 40vh;
  overflow-y: auto;
}

.prism pre {
  margin: 0 !important;
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

SNSアイコンリスト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.snslist .snslist__item {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #aaa;
  border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.snslist .snslist__item .lab {
  margin: 10px 1px 3px 3px;
  font-size: 2rem;
}
.snslist .snslist__item a {
  color: #fff;
}
.snslist .snslist__item:hover.twitter {
  background-color: #1DA1F2;
}
.snslist .snslist__item:hover.instagram {
  background-color: #CF2E92;
}
.snslist .snslist__item:hover.facebook {
  background-color: #4267b2;
}
.snslist .snslist__item:hover.youtube {
  background-color: #DA1725;
}
@media screen and (max-width: 520px) {
  .snslist {
    justify-content: center;
  }
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

レイアウト

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
/*－－－－－－－－－－ 横並び －－－－－－－－－－*/
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* 表示サイズを変えたい場合は200pxの部分を変更 */
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/*－－－－－－－－－－ 2カラム表示 －－－－－－－－－－*/
.--2column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}
@media screen and (max-width: 768px) {
  .--2column {
    grid-template-columns: 1fr;
  }
}

/*－－－－－－－－－－ 左右反対 －－－－－－－－－－*/
.reverse {
  flex-direction: row-reverse;
}

/*－－－－－－－－－－ コンテンツ全体の横幅 －－－－－－－－－－*/
.mainwrapper,
footer {
  padding: 10px;
}

/* PC */
@media screen and (min-width: 1025px), print {
  .mainwrapper,
  footer {
    max-width: 1160px;
    margin-left: 15vw;
    padding: 40px;
  }
}
/*－－－－－－－－－－ セクション －－－－－－－－－－*/
section:first-of-type {
  padding-top: 0;
}

section {
  padding: 30px 0;
}
section > :first-child {
  margin-top: 0;
}
section > :last-child {
  margin-bottom: 0;
}
section section:first-of-type {
  padding-top: 0;
}
section section:last-of-type {
  padding-bottom: 0;
}

/* PC */
@media screen and (min-width: 1025px), print {
  section {
    padding: 40px 0;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

メニューボタン

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #aaa;
  border: none;
  cursor: pointer;
  z-index: 999;
}
.hamburger .hamburger__line {
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #fff;
}
.hamburger .hamburger__line::before, .hamburger .hamburger__line::after {
  position: absolute;
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
}
.hamburger .hamburger__line::before {
  top: -8px;
}
.hamburger .hamburger__line::after {
  bottom: -8px;
}

/*閉じる*/
.hamburger._active .hamburger__line {
  background: transparent;
}
.hamburger._active .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger._active .hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* PCで非表示 */
@media screen and (min-width: 1025px), print {
  .hamburger {
    display: none;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

メニュー

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.globalnav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  width: 15vw;
  height: 100%;
  border-right: 1px solid #aaa;
  padding: 40px 0;
  background-color: #fff;
}

.globalnav__main .globalnav__item {
  position: relative;
  text-transform: uppercase;
}
.globalnav__main .globalnav__item a {
  display: block;
  padding: 10px 40px;
  text-decoration: none;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}
.globalnav__main .globalnav__item a:hover {
  color: #fff;
  background-color: #666;
}
.globalnav__main .globalnav__item._has-child:hover .globalnav__child {
  background-color: #fff;
  border: 1px solid #aaa;
  border-right: none;
  border-left: none;
  visibility: visible;
  opacity: 1;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -moz-transition: 0.2s;
  -o-transition: 0.4s;
}
.globalnav__main .globalnav__child {
  position: absolute;
  top: 0;
  left: 100%;
  width: -moz-max-content;
  width: max-content;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}

/*  タブレット、スマホでの表示 */
@media screen and (max-width: 1024px) {
  .globalnav {
    width: 100%;
    height: 100dvh;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #666;
    opacity: 0;
    transform: translateX(100%);
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
  }
  .globalnav._active {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -moz-transition: 0.2s;
    -o-transition: 0.4s;
  }
  .globalnav__main .globalnav__item a {
    color: #fff;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

サブメニュー

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.submenu {
  margin-bottom: 40px;
}

.submenu__main {
  justify-content: flex-start;
}

/* 親項目のスタイル */
.submenu__item {
  position: relative;
}
.submenu__item a {
  display: inline-block;
  padding: 8px 20px 8px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
}

/* 親項目の矢印 */
.submenu__item._has-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  transform: rotate(135deg);
}

/* 子項目のスタイル */
.submenu__item._has-child .submenu__child {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 9;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
}
.submenu__item._has-child .submenu__child li a {
  display: block;
  color: #000;
  border-bottom: solid 1px #666;
}
.submenu__item._has-child .submenu__child li a:hover, .submenu__item._has-child .submenu__child li a:active {
  background: rgba(170, 170, 170, 0.2);
}
.submenu__item._has-child .submenu__child li:last-child a {
  border-bottom: none;
}

/* 子項目の矢印 */
.submenu__child {
  position: relative;
}
.submenu__child ._has-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.submenu__child ._has-child:hover::before {
  left: 10px;
}

/* 親項目ホバー時に子項目を表示 */
.submenu__item._has-child:hover .submenu__child {
  background-color: #fff;
  visibility: visible;
  opacity: 1;
}

/* 孫項目のスタイル */
.submenu__item._has-child .submenu__child li._has-child .submenu__grandchild {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: -moz-max-content;
  min-width: max-content;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
}

/* 子項目ホバー時に表示 */
.submenu__item._has-child .submenu__child li._has-child:hover .submenu__grandchild {
  background-color: #fff;
  visibility: visible;
  opacity: 1;
}

/* スマホ、タブレット */
@media screen and (max-width: 768px) {
  .submenu__main {
    display: block;
  }
  /* 子、孫メニューの左に余白 */
  .submenu__main ._has-child ul {
    margin-left: 20px;
  }
  /* 親メニューのスタイル */
  .submenu__item a {
    text-align: left;
  }
  .submenu__item._has-child .submenu__child {
    width: auto;
  }
  /* 子項目の矢印 */
  .submenu__child ._has-child::before {
    content: "";
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
  }
  /* タップで表示 */
  .submenu__item._has-child .submenu__child,
  .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild {
    position: relative;
    left: 0;
    top: 0;
    visibility: visible;
    /*JSで制御するため一旦表示*/
    opacity: 1;
    /*JSで制御するため一旦表示*/
    display: none;
    /*JSのslidetoggleで表示させるため非表示に*/
    /*JSで制御するためCSSのアニメーションを切る*/
  }
  .submenu__item._has-child .submenu__child.active,
  .submenu__item._has-child .submenu__child li._has-child .submenu__grandchild.active {
    display: block;
  }
}
/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

ページUP

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
.pageup {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #666;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  opacity: 0;
}
.pageup .arrow {
  border-color: #fff;
  margin-top: 10px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

/*－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－

フッター

－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－*/
footer {
  padding: 20px 40px;
}

.copyright {
  font-size: 1rem;
}