* {
  -ms-font-feature-settings: "normal";
  box-sizing: border-box;
  line-height: 1;
  min-height: 0%;
}

html {
}

body {
  background: url(../images/base.png) no-repeat center center/cover;
  height: 100%;
  min-width: 320px;
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

img {
  height: auto;
  max-width: 100%;
}

label {
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  display: none;
}

.inner {
  margin: auto;
  padding: 0 2rem;
  position: relative;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/*ヘッダー
*****************************/
.header {
  width: 100%;
  background: #fff;
  padding: 30px 0;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner::after {
  content: "";
  background: url(../images/bg_header.png) no-repeat center center/cover;
  width: 420px;
  height: 60px;
  position: absolute;
  top: 69px;
  left: 50%;
  transform: translateX(-50%);
}

.header-title {
  font-size: 18px;
}

.header-title span {
  position: relative;
}

.header-title span::before {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #00bf9f;
  position: absolute;
  top: 0;
  left: 7.5px;
}

.header-logo {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.header-logo a {
  display: block;
  transition: 0.3s;
}

.header-logo a:hover {
  opacity: 0.6;
}

.header-link {
  display: flex;
  align-items: center;
}

.header-link-text {
  font-size: 12px;
  font-weight: bold;
}

.header-link a {
  transition: 0.3s;
}

.header-link a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 900px) {
  .header-title {
    font-size: 14px;
  }

  .header-title span::before {
    top: -1px;
    left: 5.5px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-inner::after {
    width: 210px;
    height: 30px;
    top: 48px;
  }

  .header-title {
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .header-title span::before {
    width: 2px;
    height: 2px;
    top: 0px;
    left: 4px;
  }

  .header-logo {
    top: -1px;
  }

  .header-logo img {
    width: 111px;
    height: 75px;
  }

  .header-link-text {
    display: none;
  }

  .header-link-image {
    width: 30px;
    height: 35px;
  }
}


/*
*********************************/
.main {
  position: relative;
  flex: 1;
  width: 900px;
  max-width: 100%;
  margin: auto;
  padding: 0 20px 120px;
}

/*エラー
**************************************/

.error {
  position: relative;
  background: url(../images/bg_modal.png) no-repeat center center / 100% 100%;
  margin-top: 100px;
  padding: 110px 40px 110px;
}

.error-text {
  font-size: 20px;
  text-align: center;
  line-height: 1.33;
}

.error-text.joekun {
  position: relative;
  margin-top: 30px;
}

.error-text.joekun::after {
  content: "";
  background: url(../images/icon_joekun.png) no-repeat center center/cover;
  width: 107px;
  height: 167px;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
}

.error-button {
  display: block;
  margin: 40px auto 0;
  border-radius: 30px;
  width: 300px;
  padding: 16px 0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background-size: auto auto;
  background-color: rgba(0, 136, 204, 1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 10px,
    rgba(13, 142, 207, 1) 10px,
    rgba(13, 142, 207, 1) 20px
  );
  box-shadow: 2px 3px 0 0 #006699;
}

@media screen and (max-width: 900px) {
  .error-text.joekun::after {
    right: -10px;
  }
  
}

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

  .main {
    padding: 0 20px 60px;
  }

  .error {
    background: url(../images/bg_modal_sp.png) no-repeat center center / 100%
      100%;
    margin: 75px auto 0;
    padding: 50px 20px 40px;
    max-width: 345px;
  }

  .error::before {
    width: 115.5px;
    height: 107.5px;
    top: -19px;
    left: 47.6%;
  }

  .error-text {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .error-text.joekun {
   padding-right: 50px;
  }
  
  .error-text.joekun::after {
    width: 60px;
    height: 96px;
    top: -20px;
    right: 0;
  }

  .error-button {
    margin: 40px auto 0;
    width: 150px;
    padding: 16px 0;
    font-size: 16px;
  }
}

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


  .error-text {
    font-size: 13px;
  }
}