@charset "utf-8";

/* PC View */
@media print, screen and (min-width:650px) {
  #sp_top_menu{
    display: none;
  }
}

/* Smart Phone View */
@media only screen and (max-width: 649px) {

  #sp_top_menu{
    width: 100%;
    height: 64px;
    display: block;
    position: fixed;
    z-index: 1500;
    top: 0;
    background-color: #7dccf3;
    overflow: hidden;
  }
  
  .sp_top_menu_title{
    margin-left: 5%;
    padding-top: 10px;
  }
}

  
  /* ------------------------------
  /* ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ */
  /* ------------------------------*/
/* PC View */
@media print, screen and (min-width:650px) {
  .drawer-open {
      display: none;
  }
  .sp_top_menu_btn{
      display: none;
  }
}

/* Smart Phone View */
@media only screen and (max-width: 649px) {
  /* ãã§ãã¯ããã¯ã¹ã¯éè¡¨ç¤ºã« */
  .drawer-hidden {
      display: none;
  }

  /* ãã³ãã¼ã¬ã¼ã¢ã¤ã³ã³ã®è¨­ç½®ã¹ãã¼ã¹ */
  .drawer-open {
    display: flex;
    height: 1px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    position: fixed;
    top: 25px;
    right: 0;
    margin-right: 2%;
    z-index: 1510;
    cursor: pointer;
  }
  .hb_menu p{
    color: #ffffff;
    display: block;
    position: fixed;
    top: 36px;
    right: 22px;
    font-size: 1rem;   
    z-index: 1520;
  }
  /* ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ã®ã¢ã¤ã³ã³ */
  .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,
  #drawer-check:checked ~ .drawer-open span:after{
    background: rgba(255, 255, 255, 1);
  }

  /* ã¢ã¤ã³ã³ãã¯ãªãã¯ããããã¢ã¤ã³ã³ãÃå°ã«ãªããã«ä¸ä¸ã®ç·ãåè»¢ */
  #drawer-check:checked ~ .drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

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

  /* ã¡ãã¥ã¼ã®ãã¶ã¤ã³*/
  .accordion {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 64px;
    right: 100%;/* ã¡ãã¥ã¼ãç»é¢ã®å¤ã«é£ã°ã */
    z-index: 1000;
    overflow-y: auto;
    background: rgba(45,45,45,0.40);
    /*transition: 0.5s;*/
    overflow: hidden;
    right: 0;
    opacity: 0;
    pointer-events: none;
  }
  .accordion_contents {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px;
  }
  /* ã¢ã¤ã³ã³ãã¯ãªãã¯ããããã¡ãã¥ã¼ãè¡¨ç¤º */
  #drawer-check:checked ~ .accordion {
    right: 0;/* ã¡ãã¥ã¼ãç»é¢ã«å¥ãã */
    transition: 0.5s;
    opacity: 1.0;
    pointer-events: auto;
  }

  #drawer-check:checked ~ .sp_top_menu_title {
    background-color: #000000;
  }

  /* ------------------------------
  /* ã¢ã³ã¼ãã£ãªã³ */
  /* ------------------------------*/
  /* ãã§ãã¯ããã¯ã¹ã¯éè¡¨ç¤º */

  .accordion-hidden{
    display: none;
  }
  .accordion-open a,
  .accordion-open a:visited,
  .accordion-close a,
  .accordion-close a:visited,
  .accordion-none a,
  .accordion-none a:visited{
    color: #ffffff;
    padding-left: 30px;
  }
  .accordion-open a:before,
  .accordion-close a:before,
  .accordion-none a:before{
    content:"";
    position:absolute;
    margin-left: 10px;
    width:calc(30px/3.5);
    height:calc(30px/3.5);
    background:rgba(200,200,200,0);
    border:calc(30px/8) solid #FFFFFF;
    border-right:none;
    border-top:none;
    top:16px;
    bottom:0;
    left:0;
    right:calc(30px/8);
    transform:rotate(-135deg);
    box-sizing:content-box;
  }

  /* Blacké¨å */
  .accordion-open,
  .accordion-none{
    display: block;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    position: relative;/* å¤æ´é¨å */
    border-bottom: solid 1px #ffffff;
  }
  .accordion-none a{
    display: block;
    width: 100%;
  }

  /* å¥ãå­ --------*/
  /* ééç¶æãç¤ºãã¢ã¤ã³ã³+ã®ä½æ */
  .accordion-open::before,
  .accordion-open::after {
    content: '';
    width: 15px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
  }

  /* ä¸æ¬ã¯ç¸¦ã«ãã¦+ãä½ã */
  .accordion-open::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
  }

  /* ã¢ã³ã¼ãã£ãªã³ãéãããç¸¦æ£ãæ¨ªæ£ã«ãã¦-ã«ãã */
  .accordion-hidden:checked + .accordion-open:after {
    transform: translateY(-50%) rotate(0);
  }

  /* å¥ãå­è¡¨ç¤º */
  .accordion-close {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    /*transition: all 0.5s;/* è¡¨ç¤ºéåº¦ã®è¨­å® */
  }
  .accordion-close a{
    width: 100%;
    display: block;
    padding: 10px;
    border-bottom: solid 1px #ffffff;
    padding-left: 40px;
  }

  /* ãã§ãã¯ããã¯ã¹ã«ãã§ãã¯ãå¥ã£ããå¥ãå­é¨åãè¡¨ç¤ºãã */
  .accordion-hidden:checked + .accordion-open + .accordion-close {
    height: auto;
    opacity: 1;
    padding: 0px;
    background: #403D3C;
    font-weight: 400;
  }

}
