@charset "utf-8";

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* stylesheet----------------------*/

html {
  overflow-x: hidden;
  overflow-y: scroll; -webkit-overflow-scrolling: touch
}

body {
  max-width: 100vw;
  height: 100%;
  font-family: "Kosugi Maru", sans-serif;
  background-image: url(../img/haikei4.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-size: 1rem;

}

.sp_only2,.sp_only3,.sp_only5,.sp_only6 {
  display: none;
}


/*--humberger-----------------------*/
@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

#overlay-button {
  position: fixed;
  right: 20px;
  top: 40px;
  padding: 26px 11px;
  z-index: 7;
  cursor: pointer;
  user-select: none;
  background-color: rgba(222,184,135,50%);
}

#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #808000;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}

#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #808000;
  position: absolute;
  content: "";
  transition: all 0.2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #BC8F8F;
}

input[type=checkbox] {
  display: none;   
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}

input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
}

input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}

#overlay {
  width: 100vw;
  height: 100vh;
  background-image: url(../img/logotop1a1.png);
  background-size: cover;
  background-repeat: no-repeat;
  /*background: rgba(250,240,230,50%);*/
  z-index: 6;
  visibility: hidden;
  position: fixed;
}

#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}

#overlay ul li {
  padding: 20px;
}

#overlay ul li a {
  color: #5C4033;
  font-size: 2.5rem;
  text-transform: uppercase;
}

#overlay ul li a:hover {
  color: #E6E6FA!important;
  font-weight: bold;
}

/*------------------------------------*/


.omise {
  text-align: center;
  font-size: 3rem;
 /* font-family: tegakimoji;
 font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
  letter-spacing: 2.0px;
  color: transparent;
  background-image: url(../img/Bouquet.png);
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
}

.typingset {
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(245,245,245,60%);
}

.typing-effect {
  width: 44ch;
  animation: typing 4s steps(38), blink .5s step-end infinite alternate; 
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #5C4033;
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}



/*---popup-------------------*/

.fade-bubble {
  width: 70%;
  margin: 0 auto;
  max-width: 80%;/*--全体の最大の横幅(1)--*/
  position: relative;
  margin-top: 100px;
}

.fade-bubble::before {
  content: "";
  display: block;
  padding-top: calc(5 / 14 * 100%); /*--全体のアスペクト比(2) --*/
}

.fade-bubble figure {
  position: absolute;
  height: auto;
  width: 40%;/*--基本画像サイズ(3)--*/
}

.fade-bubble img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  vertical-align: top;
  opacity: 0;
  animation: fade-bubble 18s infinite forwards;/*--アニメーションの設定と全体の時間(4)--*/
}

/* --画像の位置とサイズ(5)-- */
.fade-bubble figure:nth-of-type(1) {
  top: 0;
  left: 0;
  }

.fade-bubble figure:nth-of-type(2) {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 35%;
}

.fade-bubble figure:nth-of-type(3) {
  right: 0;
  top: 5%;
  opacity: 1;
}

.fade-bubble figure:nth-of-type(4) {
  left: 0;
  bottom: 5%;
}

.fade-bubble figure:nth-of-type(5) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 35%;
}

.fade-bubble figure:nth-of-type(6) {
  right: 0;
  bottom: 0;
}

/*--画像表示タイミング(6)--*/
.fade-bubble figure:nth-of-type(1) img {
  animation-delay: 0s;
}

.fade-bubble figure:nth-of-type(2) img {
  animation-delay: 2s;
}

.fade-bubble figure:nth-of-type(3) img {
  animation-delay: 4s;
}

.fade-bubble figure:nth-of-type(4) img {
  animation-delay: 6s;
}

.fade-bubble figure:nth-of-type(5) img {
  animation-delay: 8s;
}

.fade-bubble figure:nth-of-type(6) img {
  animation-delay: 10s;
}

/*--アニメーション設定(7)--*/
@keyframes fade-bubble {
  0% {
      transform: scale(50%);
      opacity: 0;
  }

  20% {
      transform: scale(100%);
      opacity: 1;
  }

  40% {
      transform: scale(100%);
  }

  45% {
      opacity: 1;
  }

  55% {
      opacity: 0;
  }
  
}
/*--------------------------*/



.concept {
  margin-top: 150px;
}

.concept p {
  text-align: center;
  font-size: 1.3rem;
  color: #FFFFF0;
  padding: 20px 0;
}

.sp_only4 {
  display: block;
  margin: 0 auto;
  width: 35%;
}

.fadein {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 2s, transform 4s;
}

.fadein.active {
  opacity: 2;
  transform: translateY(0);
}

.navul {
  display: flex;
  justify-content: end;
  padding-top: 10px;
  padding-bottom: 30px;
}

.navul li {
  text-transform: uppercase;
  font-size: 2.5rem;
  padding-right: 80px;
  color: #5C4033;
  
}

.navul li a:hover {
  color: #E6E6FA;
}

footer {
  text-align: center;
  padding-bottom: 10px;
  color: #FAF0E6;
  background-color: #D19275;
}

.button {
  position: fixed;
  bottom: 0px;
  right: 20px;
}


/*---medea query--------------------*/

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

  body {
    background-image: url(../img/Bouquet.png);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(1px);
    background-attachment: fixed;
    width: 100vw;
  }

  .navul_sp {
    display: flex;
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .navul_sp li {
    justify-content: end;
    padding-right: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    color: #5C4033;
  }

  .omise {
    text-align: center;
    font-size: 1.5rem;
    padding: 10px 0;
    color: transparent;
    background-image: url(../img/haikei4.png);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
  }
  
  .typingset {
    background-color: rgba(255,248,220,70%);
    height: 15vh;
  }

  .typing-effect {
    width: 23ch;
    animation: typing 3s steps(20), blink .4s step-end infinite alternate; 
  }
  
  .sp_only2,.sp_only5 {
    display: block;
  }

  .sp_only5 {
    width: 60%;
    margin: 0 auto;
  }

  .concept {
    margin-top: 80px;
    width: 80%;
    margin: 50px auto 0 auto;
    background-color: rgba(92,40,51,70%);
  }

  .concept p {
    padding: 0;
    font-size: 0.8rem;
    color: #FFFFF0;
    line-height: 2.0;
    padding: 10px 20px;
  }

  .sp_only4 {
    display: none;
  }

  #overlay-button,#overlay {
    display: none;
  }

  footer {
  color: #FAF0E6;
  background-color: #D19275;
  height: 15vh;
  width: 100vw;
  }
}
