@charset "utf-8";

/* ハンバーガーメニュー　input */
.checkbox-hidden {
    display: none;
  }
  
  label {
    position: absolute;
    /* top: 2.2rem; */
    top: 20px;
    right: 5%;
    width: 24px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .hamburger {
    z-index: 100;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s, width 0.3s;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  
  .hamburger span:nth-child(3) {
    bottom: 0;
  }
  
  #navTgl:checked + .hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: #333;
  }
  
  #navTgl:checked + .hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0px;
    opacity: 0;
    background-color: #333;
  }
  
  #navTgl:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #333;
  }
  
  .menu {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 100%;
    opacity: 0;
    z-index: 99;
    background: rgb(255 245 245 / 28%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: 0.5s ease-in-out;
  }
  
  .menu ul {
    text-align: center;
    margin-top: 140px;
    overflow: hidden;
  }

  
  .menu ul li ul {
    margin-top: 30px;
  }
  
  .menu ul li {
    position: relative;
    margin-bottom: 40px;
    transform: translateX(-200px);
    transition: transform 1.3s ease;
  }
  .menu ul li ul li {
    position: relative;
    margin-bottom: 20px;
    transform: translateX(-200px);
    transition: transform 1.3s ease;
  }

  
  .menu ul li:nth-child(2) {
    transition-delay: 0.15s;
  }
  
  .menu ul li:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .menu ul li:nth-child(4) {
    transition-delay: 0.45s;
  }
  .menu ul li:nth-child(5) {
    transition-delay: 0.5s;
  }
  .menu ul li a,.menu ul li {
    font-size: 1.4rem;
    color: #333;
    font-weight: 800;
    ;
  }

  .menu ul li ul li a {
    font-size: 1rem;
    color: #333333;
    font-weight: 800;
  }
  
  #navTgl:checked ~ .menu {
    left: 0;
    opacity: 1;
  }
  
  #navTgl:checked ~ .menu li {
    transform: translateX(0px);
  }
  
  .inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  
  .photo-sec {
    margin-top: 5%;
    margin-bottom: 5%;
  }
  
  .photo-box {
    width: 47.5%;
    margin-top: 5%;
  }
  
  .photo-box img {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .drawer {
    display: none;
  }
  @media only screen and (max-width: 750px) {
    /* body
  --------------------------------*/
    .inner {
      position: relative;
      width: calc(100% - 40px);
      max-width: 1000px;
      margin: 0 auto;
      padding: 0;
    }
    .header-sec {
      height: 55px;
      padding: 0 20px;
    }
    .header-logo {
      width: 54px;
      height: auto;
    }
    .header-ul {
      display: none;
    }
    .drawer {
      display: block;
    }
    .photo-box p {
      font-size: 1.6rem;
    }
    .text-sec p {
      font-size: 1.6rem;
      line-height: 1.9;
    }
    .photo-sec {
      margin-top: 3rem;
      margin-bottom: 3rem;
    }
  }

  @media only screen and (max-width: 510px) {

  label {
    top: 20px;
  }
  .header {
    height: 60px;
    align-items: center;
  }
  h1 a{
    display: inline-block;
    width: 200px;
    
  }
  }