@charset "utf=8";

/* カラースウォッチ
deep blue #056cf2
blue #05c7f2
pale blue #38e0f2
yellow #f2b705
orange #f25c05
bright red #f23005
*/

/* ハンバーガーメニューここから */
/* 768px以下になった場合にメニューを表示 */
@media (width < 768px) {
  .header {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 20px;
    background: #056cf2;
  }

  /* チェックボックスは非表示に */
  .drawer-hidden {
    display: none;
  }

  /* ハンバーガーアイコンの設置スペース */
  .drawer-open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上に */
    cursor: pointer;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer-open span,
  .drawer-open span:before,
  .drawer-open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #ffffff;
    transition: 0.5s;
    position: absolute;
  }

  /* 三本線のうち一番上の棒の位置調整 */
  .drawer-open span:before {
    bottom: 8px;
  }

  /* 三本線のうち一番下の棒の位置調整 */
  .drawer-open span:after {
    top: 8px;
  }

  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer-check:checked~.drawer-open span {
    background: rgba(255, 255, 255, 0);
  }

  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer-check:checked~.drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer-check:checked~.drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* メニューのデザイン*/
  .drawer-content {
    font-family: "Titan One", sans-serif;
    width: 100%;
    height: 100%;
    padding: 60px;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background-color: rgba(41, 101, 177, 0.5);
    line-height: 2.0em;
    font-size: 22px;
    color: #ffffff;
    transition: .5s;
  }

  .drawer-content a:hover {
    text-decoration: underline solid 2px;
  }

  /* アイコンがクリックされたらメニューを表示 */
  #drawer-check:checked~.drawer-content {
    left: 30%;
    /* メニューを画面に入れる */
  }
}

/* モーダルウインドウ用CSSここから※背景３色分 */
/* Modal Base */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 100;
}

.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 101;
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 50vh;
  z-index: 102;
  text-align: center;
}


@media(max-width: 768px) {
  .modal-content {
    max-width: 80vw;
  }

}

.noSP {
  display: none;
}

.modal-inner_blue {
  position: relative;
  background: linear-gradient(135deg, transparent 7px, #056CF2 0) top left,
    linear-gradient(-135deg, transparent 7px, #056CF2 0) top right,
    linear-gradient(-45deg, transparent 7px, #056CF2 0) bottom right,
    linear-gradient(45deg, transparent 7px, #056CF2 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.2));
  color: #fff;
  width: 100%;
  min-height: 100px;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-inner_yellow {
  position: relative;
  background: linear-gradient(135deg, transparent 7px, #F2B705 0) top left,
    linear-gradient(-135deg, transparent 7px, #F2B705 0) top right,
    linear-gradient(-45deg, transparent 7px, #F2B705 0) bottom right,
    linear-gradient(45deg, transparent 7px, #F2B705 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.2));
  color: #fff;
  width: 100%;
  min-height: 100px;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-inner_orange {
  position: relative;
  background: linear-gradient(135deg, transparent 7px, #F25C05 0) top left,
    linear-gradient(-135deg, transparent 7px, #F25C05 0) top right,
    linear-gradient(-45deg, transparent 7px, #F25C05 0) bottom right,
    linear-gradient(45deg, transparent 7px, #F25C05 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.2));
  color: #fff;
  width: 100%;
  min-height: 100px;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Close Button */
.btn_close {
  display: block;
  position: absolute;
  top: -50px;
  right: 0;
  background-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #666;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
  line-height: 35px;
  z-index: 105;
}