@charset "UTF-8";
/*--------------------------------------------------------------------------------------
    基本レイアウト
--------------------------------------------------------------------------------------*/
/*--  -----------------------------------------*/
.sp-nav {
  display: none;
}
/*--------------------------------------------------------------------------------------
    PC用
--------------------------------------------------------------------------------------*/
@media (width > 1240px) {
  .f-nav {
    width: 80%;
    margin-inline: auto;
    padding: 1em 1.5em;
    border: 2px solid hsla(0, 0%, 100%, 1);
    border-radius: 12px;
    background: hsla(0, 0%, 0%, 0.8);
	  h2 {
		  display: flex;
		  align-items: center;
		  margin-bottom: 1rem;
		  font-size: 1.4rem;
		  color: white;
		  &::before {
			  content: "■";
			  font-size: .8rem;
			  margin-right: .5rem;
		  }
	  }
  }
  .f-menu {
    ul {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-left: 1.5rem;
      list-style: none;
      li {
        width: 100%;
        margin-bottom: .8rem;
		  a {
			  color: white;
			  font-weight: bold;
			  text-decoration: none;
			  &:hover {
				  color: var(--hover-color);
			  }
		  }
      }
    }
  }
}
/*--------------------------------------------------------------------------------------
    スマホ用
--------------------------------------------------------------------------------------*/
@media (width <=1240px) {
  .f-nav {
    display: none;
  }
  /*hamburgerMenu*/
  .sp-nav {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 右からスライド */
    transition: left 0.5s;
    z-index: 10;
  }
  .nav ul {
    list-style: none;
	  font-size: 1.2rem;
	  font-weight: bold;
	  text-align: center;
  }
  .nav li:not(:last-child) {
    margin-bottom: 30px;
  }
  .nav a {
    color: white;
	  text-decoration: none;
  }
  /* ナビゲーションボタン（開く） */
  #navbtn {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
  }
  #navbtn::before, #navbtn::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #333333;
    transform: translateY(10px);
    transition: 0.3s ease-in-out;
  }
  #navbtn::before {
    transform: translateY(-10px);
    box-shadow: 0 10px #333333;
  }
  /* ナビゲーションボタン（閉じる） */
  .open #navbtn {
    z-index: 1000;
  }
  .open #navbtn::before {
    transform: rotate(-45deg);
    background-color: #fff;
    box-shadow: none;
  }
  .open #navbtn::after {
    transform: rotate(45deg);
    background-color: #fff;
    box-shadow: none;
  }
  /* ナビゲーションメニュー 開いた時*/
  .open .nav {
    left: 0;
    pointer-events: auto;
  }
}