* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
    list-style: none;
    text-decoration: none;
  }
  
  body {
      width: 100%;
      height: 100vh;
      background-size: cover;
      background-position: center;
      background-color: #E6E6E6;
    
  }
  
  .header{
      background-size: cover;
      background-position: center;
      background-color: #ffffffcc;
      position:fixed;
      top:0;
      left:0;
      width: 100%;
      height: 10vh;
      z-index: 2;
  
  }
  
  .headerlogo{
      height: 100px !important;
      margin: .10em left;
      justify-content:space-between;
      padding:0 2%;
      align-items:center;
      position:fixed;
      top:0.5%; 
      left:0;
      z-index: 2;
  }
  
  .headerlogo img {
      width: 100%;
     height: 74%;
  }
  
  .menubar{
        background-color: #ffffff00;
        text-align: right;
        position:fixed;
        top:0.5%;
        right: 0;
        z-index: 2;
  }
  
  .menubar-pc ul li{
      display: inline-block;
      width: 110px;
      margin: 0 20px;
      padding-top: 25px;
      padding-bottom: 20px;
      cursor: pointer;
      transform: all 0.2s;
      text-align:center
  }
  
  .menubar-pc ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
  }
  
  .active,
  .menubar-pc ul li a:hover {
      background-color: #cc0000;
      color: pink;
      
  }
  
  .pcsubmenu-1,
  .pcsubmenu-2,
  .pcsubmenu-3,
  .pcsubmenu-4 {
      position: absolute;
      background-color: #cc0000E6;
      margin-top: 20px;
      padding-top: 10px;
      padding-bottom: 10px;
      display: none;
      cursor: pointer;
     
  }
  
  .menubar-pc ul li:hover .pcsubmenu-1,
  .menubar-pc ul li:hover .pcsubmenu-2,
  .menubar-pc ul li:hover .pcsubmenu-3,
  .menubar-pc ul li:hover .pcsubmenu-4 {
      display: block;
  }
  
  .menubar-pc ul li:hover .pcsubmenu-1 ul li, 
  .menubar-pc ul li:hover .pcsubmenu-2 ul li,
  .menubar-pc ul li:hover .pcsubmenu-3 ul li, 
  .menubar-pc ul li:hover .pcsubmenu-4 ul li {
      display: block;
      width: 135px;
      border-bottom: solid 1px white;
      white-space: nowrap;
      font-size: 1.7vmin;
  }
  
  .checkbox-hidden{
    display: none;
  }
  
  label {
    position:fixed;
    top: 2.2rem;
    right: 5.2%;
    width: 30px;
    height: 16px;
    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(7px) rotate(45deg);
    background-color: #fff;
  }
  
  #navTgl:checked + .hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0px;
    opacity: 0;
    background-color: #fff;
  }
  
  #navTgl:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #fff;
  }
  
  .menu {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 100%;
    opacity: 0;
    z-index: 99;
    background: #cc0000E6;
    transition: 0.5s ease-in-out;
  }
  
  .menu ul {
    text-align: left 20%;
    margin-top: 20%;
  }

  .menu ul .active-sumafo{
    float: left;
    margin-right: 30px;
    line-height: 60px;
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
    height: auto;
    width: 100%;
    padding: 0px 20px;
    border-bottom: 1px solid #DDD;
  }
  
  .menu ul li {
    position: relative;
    margin-bottom: 60px;
    transform: translateX(-100px);
    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 a {
    margin: 3%;
    font-size: 1.15rem;
    color: #fff;
    z-index: 100;
  }
  
  #navTgl:checked ~ .menu {
    left: 0;
    opacity: 1;
  }
  
  #navTgl:checked ~ .menu li {
    transform: translateX(0px);
  }
  
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
      text-align: center;
      left: 40%;
      position: absolute;
      background-color: #cb8686e6;
      margin-top: -20%;
      padding-top: 0%;
      padding-bottom: 0;
      display: none;
  }

  .menubar-sumafo ul li a:hover {
      background-color: #cc0000;
      color: pink;
  }
  
  .menubar-sumafo ul li:hover .sumafosubmenu-1,
  .menubar-sumafo ul li:hover .sumafosubmenu-2,
  .menubar-sumafo ul li:hover .sumafosubmenu-3,
  .menubar-sumafo ul li:hover .sumafosubmenu-4 {
      display: block;
  }
  
  .menubar-sumafo ul li:hover .sumafosubmenu-1,
  .menubar-sumafo ul li:hover .sumafosubmenu-2,
  .menubar-sumafo ul li:hover .sumafosubmenu-3,
  .menubar-sumafo ul li:hover .sumafosubmenu-4 {
    display: block;
    width: 220px;
    line-height: 5%;
  }
  
  #input:checked ~ #content {
    transform: translateX(0px);
  }
  
  .mainvisualpc {
    position: relative;
    width: 100%;
    height: auto;
    top: 10%;
    padding: 0;
    overflow: hidden;
  }

  .mainvisualpc img {
    width:100%;
    height: 100%;
    top: 10%;
    animation: fadein 3s forwards;
  }

  @keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 1}
  } 
  
  .mainvisualsp {
    position: relative;
    width: 100%;
    height: auto;
    top: 10%;
    padding: 0;
    overflow: hidden;
    }

  .mainvisualsp img {
  width:100%;
  height: 100%;
  top: 10%;
  animation: fadein 3s forwards;
  display: none;
  }

  @keyframes fadein {
   0% {opacity: 0}
   100% {opacity: 1}
  } 

  
  .headline {
    font-size: 2.25rem;
    margin: auto;
    text-align: center;
  }

  .message p {
    width: 70%;
    margin: auto;
    text-align: justify; 
    line-height: 2;
  }

  .message img {
    margin: 0 0 0 75%;
    width: 10%
  }

  .footer {
    background: #fff;
  }
  
  .footer .info img{
    align-items: center;
  }
  
  .footer .cont-wrap {
    padding: 40px 10%;
  }
   
  .footer .info .address {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 1px solid #000;
    color: #000;
  }
   
  .footer .cont .nav a {
    color: #000;
    
  }
   
  .footer .cont-wrap .map {
    width: 100%;
    height: 300px;
  }
   
  .footer .cont-wrap .map iframe {
    margin-top: 5%;
    width: 100%;
    height: 270px;
  }
  
  @media screen and (max-width: 768px){
    .headerlogo img {
      width: 90%;
     height: 70%;
  }
  }
  
  @media screen and (min-width: 768px){
    .menubar-sumafo {
      display: none;
      position: absolute;
      width: 100%;
      background-color: #cc0000E6;
      z-index: 1;
      text-align: center;
    }
  }
  
  @media screen and (max-width: 768px){
    .menubar-pc{
      display: none;
    }
  }

  @media screen and (max-width: 768px){
    .sumafosubmenu-1,
    .sumafosubmenu-2,
    .sumafosubmenu-3,
    .sumafosubmenu-4 {
       left: 30%;
       margin-top: -18%;
       padding: 0;
       padding-top: 2%;
   }
   }
   @media screen and (max-width: 700px){
     .sumafosubmenu-1,
     .sumafosubmenu-2,
     .sumafosubmenu-3,
     .sumafosubmenu-4 {
        left: 32%;
        margin-top: -19%;
        padding: 0;
        padding-top: 2%;
    }
    }
   
    @media screen and (max-width: 600px){
     .sumafosubmenu-1,
     .sumafosubmenu-2,
     .sumafosubmenu-3,
     .sumafosubmenu-4 {
        left: 35%;
        margin-top: -22%;
        padding: 0;
        padding-top: 2%;
    }
    }
   
    @media screen and (max-width: 500px){
     .sumafosubmenu-1,
     .sumafosubmenu-2,
     .sumafosubmenu-3,
     .sumafosubmenu-4 {
        left: 35%;
        margin-top: -26%;
        padding: 0;
        padding-top: 2%;
    }
    }
   
    @media screen and (max-width: 430px){
     .sumafosubmenu-1,
     .sumafosubmenu-2,
     .sumafosubmenu-3,
     .sumafosubmenu-4 {
        left: 40%;
        margin-top: -34%;
        padding: 0;
        padding-top: 2%;
    }
    }

  @media screen and (max-width: 599px) {
    .mainvisualpc img { 
      display: none 
     }
  }

  @media screen and (max-width: 599px) {
    .mainvisualsp img {
      display: block;
    }
  }

  @media screen and (max-width: 768px){
    .headline{
      font-size: 1.75rem;
    }
    }
    
  @media screen and (max-width: 480px){
    .headline{
      font-size: 1.5rem;
    }
    }

  @media screen and (max-width: 768px){
    .message img {
      margin: 0 0 0 65%;
      width: 15%
    }
  }

  @media screen and (max-width: 480px){
    .message img {
      margin: 0 0 0 60%;
      width: 25%
    }
  }


  @media  screen and (min-width: 768px) {
    .footer .cont-wrap {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between;
    }
  }
  
  @media  screen and (max-width: 768px) {
    .footer .cont-wrap {
      padding: 30px 0;
    }
    .footer .cont .logo img {
      width: 200px;
    }
    .footer .nav {
      width: calc(100% + auto);
      margin-left: -20px;
    }
    .footer .nav li {
      border-top: 1px solid #555;
    }
    
    .footer .nav li:last-child {
      border-bottom: 1px solid #555555;
    }
    .footer .nav li a {
      display: block;
      padding: 12px 20px;
      background-size: 6px auto;
    }
    .footer .cont-wrap .map {
      margin-top: 20px;
      width: 100%;
      height: 200px;
    }
  }
  
  @media screen and (max-width: 599px){
    .footer .nav img {
      width:5%; 
      height:5%;
  }
}
  