@charset "UTF-8";
@import url("./common4.css");


/* 背景　*/

#kv_back {
  z-index: -1;
}

/* 共通部分 */

.ffJosefin {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
}

/* ヘッダー　*/

#header {
  position: fixed;
  z-index: 11;
  height: 250px;
}

#header .layoutwrap {
  height: 250px;
  position: relative;
}

#header .innerwrap {
  width: 100vw;
  height: 200px;
  overflow: hidden;
  display: inline-block;
  background-color: var(--red);
  opacity: 95%;
  border-bottom: 3px solid black;
}

/* ヘッダー_吹き出し */
#header .innerwrap::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 75px);
  background-color: black;
  width: 150px;
  height: 50px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}


#header .innerwrap::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: calc(50% - 75px);
  background-color: var(--red);
  width: 150px;
  height: 50px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/**/

h1 {
  text-align: center;
  margin: 35px auto auto auto;
  font-size: 60px;
  line-height: 1;
  color: black;
  text-shadow: 1px 1px 0 white, -1px -1px 0 white,
    -1px 1px 0 white, 1px -1px 0 white,
    0px 1px 0 white, 0-1px 0 white,
    -1px 0 0 white, 1px 0 0 white;
}

#header h1 img {
  width: 500px;
}



/* 本文 */

main {
  padding: 280px 3rem 10rem 3rem;
  max-width: 767px;
  margin: auto;
  background-color: var(--bgcolor);

  border-left: 3px solid black;
  border-right: 3px solid black;

  box-shadow: 20px 30px 20px #6d171baf, -20px 30px 20px #6d171baf;
}

main p {
  margin-bottom: 80px;
}




/* BACK */

#backwrap {
  background-color: var(--pale-yellow);
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  border-left: 2px solid black;
  box-sizing: border-box;
  border-radius: 100vh 0 0 100vh;
  padding: 1rem 1rem 1rem 2rem;
  width: fit-content;
  position: fixed;
  bottom: 1rem;
  right: 0;
  z-index: 11;
}


/* /////////////////// 
     SP
 /////////////////// */

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

  /* ヘッダー */

  #header {
    z-index: 11;
    height: calc(15vh + 50px);
  }

  #header .layoutwrap {
    height: calc(15vh + 50px);
    position: relative;
  }

  #header .innerwrap {
    height: 15vh;
    border-bottom: 3px solid black;
  }

  h1 {
    text-align: center;
    margin: 0.8em 1em auto auto;
    font-size: 1.8em;
    line-height: 1;
    color: black;
    text-shadow: 1px 1px 0 white, -1px -1px 0 white,
      -1px 1px 0 white, 1px -1px 0 white,
      0px 1px 0 white, 0-1px 0 white,
      -1px 0 0 white, 1px 0 0 white;
  }

  #header h1 img {
    width: 300px;
  }

  main {
    width: calc(100% - 6rem);
    padding-top: calc(15vh + 70px);
    border: none;
  }

  main p {
    margin-bottom: 3rem;
  }

  .btn-pointer {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
  }

}