html {
  font-size: 120%;
  /* 16px */
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #727171;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0;
  overflow-x: hidden; /* 横スクロールバーを隠す */
  /* background-color: rgb(255, 254, 237); */
}

/* url(http://192.168.11.39:5500/index.html)初期設定解除 */

a {
  text-decoration: none;
  color: #4c4948;
}

a:focus {
  outline: none;
}

p {
  font-size: 1rem;
  padding-bottom: 10px;
}

h1 {
  font-size: 1.3rem;
  font-weight: 400;
  padding-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  padding-bottom: 5px;
}

img {
  border: none;
  max-width: 100%;
}

ul {
  padding: 0px;
}

li {
  list-style: none;
  font-size: 1rem;
}

dt,
dd {
  padding: 0px 20px;
}

/* ここから個別設定 */

h2 {
  font-size: 150%;
  font-weight: 500;
  text-align: center;
}

h3 {
  font-size: 120%;
  font-weight: 400;
  margin: 20px 0 0 0;
}

#header {
  width: 100%;
  height: 100vh;
  padding: 20px 0 0 0px;
  margin-bottom: 100px;
  background-image: url(../img/back.png);
  background-size: cover;
  text-align: center;
  color: white;
  position: relative;
  z-index: -100;
}

.photo {
  position: absolute;
  top: 8%;
  left: 0%;
}

.photo img {
  width: 30vw;
}

.contest {
  display: none;
  text-align: center;
  margin-bottom: 50px;
}

#header p {
  font-size: 200%;
  line-height: 20%;
}

.instagram {
  max-width: 60px;
  display: inline-block;
  text-align: center;
}

.period {
  font-weight: 500;
  width: 100px;
  padding: 5px 10px;
  margin: 50px auto 0px auto;
  border-radius: 10px;
  background-color: rgb(135, 109, 42);
}

.day {
  font-size: 180%;
  font-weight: 400;
  margin-bottom: 1rem;
}

.font {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: white;
  display: block;
}

.main {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -10;
}

.main img {
  display: block; /* ブラウザの余白を消す */
  max-height: 95vh; /* 画面の95%以内に収める */
  max-width: 100vw; /* 横幅がはみ出さないようにする */
  height: auto; /* 縦横比維持 */
  width: auto; /* 縦横比維持 */
}

.main_title {
  max-height: 95vh;
  position: absolute;
  right: 10%;
}

.main_instagram {
  position: absolute;
  left: 5%;
  bottom: 10%;
}

.shouhin {
  max-width: 350px;
  bottom: 10%;
  right: 5%;
}

#header span {
  font-size: 70%;
}

.wrapper {
  width: 95%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0px 0px 50px 0px;
  line-height: 170%;
}

.copy {
  font-size: 160%;
  line-height: 230%;
  text-align: center;
  margin-bottom: 100px;

  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
  /* background-color: beige; */
}

.sliderContiner {
  width: 100%;
  height: 600px;
  margin-bottom: 100px;
  /* background-color: aquamarine; */
}

.slider {
}

.slider img {
  margin: 0 auto;
  width: auto;
  height: 600px;
}

.apply {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 1rem;
  margin-bottom: 50px;
}

.apply h2 {
  width: 100%;
}

.apply h3 {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.apply_back {
  width: 100%;
  background-color: rgb(245, 241, 223);
}

.apply span {
  font-size: 80%;
  color: #ff2a2a;
}
.step-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.step {
  line-height: 170%;
  padding: 0 20px 20px 20px;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 10px;
}

.imgbox {
  text-align: center;
}

.step img {
  width: 150px;
  height: auto;
}

.assessment {
  padding-bottom: 30px;
  margin-bottom: 100px;
  /* background-color: rgb(212, 253, 253); */
}

.attention {
  margin-bottom: 100px;
  /* background-color: rgb(239, 203, 255); */
}

.attention p {
  font-size: 90%;
}

#footer {
  text-align: center;
  padding: 30px 0 50px 0;
  background-image: url(../img/pattern.png);
}

#footer img {
  display: block;
  width: 15%;
  margin: 20px auto;
}

/*--------------------------------
// レスポンシブ
----------------------------------*/

@media screen and (max-width: 600px) {
  #header {
    width: 100%;
    height: 105vh;
    padding: 20px 0px 0px 0px;
    margin-bottom: 50px;
    background-size: cover;
    background-position: center center;
    text-align: center;
    color: white;
    position: relative;
  }

  #header p {
    font-size: 150%;
    line-height: 20%;
  }

  .photo {
    position: absolute;
    top: 0%;
    left: 0%;
    display: none;
  }

  .photo img {
    height: 50px;
  }

  .contest {
    display: block;
    text-align: center;
    margin-bottom: 50px;
  }

  .main {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
  }

  .main_title {
    max-height: 60vh;
    position: absolute;
    right: 10%;
  }

  .main_instagram {
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 7%;
    /* background-color: #ff2a2a; */
  }

  .main_instagram p {
    margin: 1rem;
    color: white;
    text-shadow: -2px -2px 0 #002b0d, 2px -2px 0 #002b0d, -2px 2px 0 #002b0d, 2px 2px 0 #002b0d;
  }

  .shouhin {
    max-width: 300px;
  }

  .instagram {
    max-width: 40px;
    display: inline-block;
    text-align: center;
  }

  .period {
    width: 100px;
    padding: 0px 5px;
    margin: 0px auto;
    border-radius: 5px;
  }

  .day {
    font-size: 150%;
    font-weight: 400;
  }

  .copy {
    font-size: 100%;
  }

  .sliderContiner {
    height: auto;
    margin-bottom: 50px;
    overflow: hidden;
  }

  .slider img {
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  .apply {
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
  }

  .apply_back {
    position: relative;
  }

  .apply_back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgb(245, 241, 223);
    z-index: -1;
  }

  .step-box {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  .step {
    padding: 0 20px 20px 20px;
  }

  .attention {
    padding: 0 20px;
    margin-bottom: 00px;
  }

  #footer {
    text-align: center;
    padding: 30px 0 50px 0;
  }

  #footer img {
    width: 50%;
  }
}
