@charset "utf-8";
/* CSS Document */

/* Tablet */

@media screen and (max-width:1179px) {

  #header-main img {
    height: 7vw;
  }

  #header-main a:last-of-type {
    padding-top: 0;
  }

  #header-main a:last-of-type img {
    margin: 0.5em 0.5em 1em 0.25em;
  }

  #header-main a p {
    font-size: 3vw;
  }

  #header-main a:last-of-type p {
    font-size: 2vw;
  }
  
  .gnav li:hover::before {
    border-right: 16vw solid #f8e1e1;
    border-top: 0.75em solid transparent;
    transform: translateX(-8vw);
  }
  
  .gnav li a {
    font-size: 2.5vw;
  }
  
  .item0 {
    padding: 9vw 0 8vw;
  }

  .item0::before, #footer::before {
    border-bottom: 10vw solid transparent;
    border-left: 100vw solid #ffffff;
  }

  .item0::after, #footer::after {
    border-bottom: 7.5vw solid transparent;
    border-left: 100vw solid #f7c4c9;
    border-top: 2vw solid #f7c4c9;
  }
  
  .item0 h2 p {
    font-size: 3.5vw;
  }

  .four li {
    padding: 0;
	  width: calc(100% / 4 - 0.5em);
  }
}

/* SP */

@media screen and (max-width:767px) {

  #top-item{	
    width: 100%;
  }

  .container{
    margin: 0 auto;
    zoom: 1;
  }


  p.aligncenter{
    display: block;
    margin: 2px auto 40px;
    text-align: center;
  }

  .four {
    padding: 0;
  }

  .four li {
    padding: 0;
	  width: calc(100% / 3 - 0.5em);
  }

  .four li p small {
    position: relative;
    top: -1em;
  }

  .coming_soon::after {
    font-size: 3.5vw;
  }

  #footer {
    padding: 7em 0 5em;
  }

  #footer #footer-inner {
    justify-content: flex-start;
  }

  #footer #footer-inner > div {
    font-size: 1.25em;
    line-height: 2em;
    margin: 0 2em;
    text-align: center;
    width: 100%;
  }
  
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}