@font-face {
  font-family: 'YuMincho';
  src: url('../fonts/yumineb.ttf') format('truetype');
  font-weight: 800;
}

@font-face {
  font-family: 'YuMincho';
  src: url('../fonts/yumindb.woff') format('woff');
  font-weight: 500;
}
@font-face {
  font-family: 'YuMincho';
  src: url('../fonts/yumin-light.woff') format('woff');
  font-weight: 300;
}

@font-face {
  font-family: 'YuGothic';
  src: url('../fonts/YuGothic-bold.woff') format('woff');
  font-weight: 700;
}


body {
  background-color: #EDF0F1;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
  font-family: 'YuMincho';
}
.sp-hiden {
  display: none !important;
}

body .image-container {
  position: absolute;
  z-index: -1;
}

body .image-container img {
  width: 100%;
  height: 100%;
}

body .image-container.top {
  top: 0;
  left: 0;
  width: 38vw;
}

body .image-container.bottom {
  bottom: 0;
  right: 0;
  width: 38vw;
}

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

  body .image-container.top {
    width: 50vw;
  }
  
  body .image-container.bottom {
    width: 50vw;
  }
}
.header a {
  text-decoration: none;
  display: inline-block;
  position: relative;
  color: #f3f6fa;
  margin: 0;
  z-index: 100;
  padding: 30px 60px;
  letter-spacing: 0.05em;
  font-family: YuMincho;
  font-size: 32px;
  font-weight: 500;
  line-height: 48px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  z-index: 200;
}

.content {
  text-align: center;
  padding: 50px;
  max-width: 775px;
  margin: 0 auto;
  padding-bottom: 200px;
}
.content h2 {
  font-size: 36px;
  color: rgba(48, 70, 133, 1);
  font-family: YuMincho;
  font-size: 40px;
  font-weight: 800;
  line-height: 60px;
  letter-spacing: 0.05em;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.message {
  background-color: white;
  display: inline-block;
  padding: 20px 40px 40px 40px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  position: relative;
}

.message::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 52px solid #C9C9C9 ;
  border-bottom: 38px solid #C9C9C9; 
}

.message::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 52px solid transparent; 
  border-bottom: 38px solid #EDF0F1; 
}
.message p {
  color: rgba(51, 51, 51, 1);
  margin: 20px 0;
  font-family: YuGothic;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.05em;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
.message .message-big-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.message .message-small-text {
  font-size: 14px;
  line-height: 21px;
  font-family: YuGothic;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-position: from-font;
  text-decoration-skip-ink: auto;
  text-decoration-color: #EDF0F1;
  text-decoration-thickness: 0.6rem;
}

.message span {
  color: red;
}
.button {
  margin-top: 60px;
}
.button a {
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-family: YuGothic;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.05em;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  background: 
  linear-gradient(90deg, #76E01E, #6cc124),
  radial-gradient(circle at 1.38% 5.71%, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);

}

.sp_breack {
  display: none !important;
}

@media only screen and (max-width: 600px) {
  .pc-hiden{
    display: none !important;
  }
  .sp-hiden {
    display: block !important;
  }

  body .image-container.top {
    width: 100vw;
  }
  
  body .image-container.bottom {
    width: 100vw;
  }

  .header a {
    padding: 20px;
    font-family: YuMincho;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
  }

  .content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .content h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 42px;
    letter-spacing: 0.05em;
  }

  .message {
    padding: 20px 12px;
  }

  .message p {
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
  }

  .message .message-big-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }
  
  .message .message-small-text {
    font-size: 12px;
    line-height: 20px;
    text-decoration-thickness: 0.3rem;
  }

  .message::before {
    border-left: 30px solid #C9C9C9 ;
    border-bottom: 23px solid #C9C9C9; 
  }
  
  .message::after {
    border-left: 30px solid transparent; 
    border-bottom: 23px solid #EDF0F1; 
  }

  .button a {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.05em;
  }

  .sp_breack {
    display: block !important;
  }

  
}