/*
#headerWrap {
  position: static;
}
*/

#navigation {
	display: none;
}

.mainContents {
  box-sizing: border-box;
  width: min(960px, calc(100% - 32px));
  min-height: calc(100vh - 315px);
  margin: 0 auto;
  padding-top: 333px;
  padding-bottom: 138px;
  text-align: center;
  font-feature-settings: "palt";
}

.mainContents h2 {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-feature-settings: "palt";
  width: min(700px, 100%);
  margin: 0 auto 52px;
  padding-bottom: 13px;
  border-bottom: 1px solid #333;
  color: #4a4a4a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.mainContents p {
  margin: 0 auto 26px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.mainContents p:nth-of-type(3) {
  margin-top: 2px;
  margin-bottom: 131px;
}

.mainContents p:nth-of-type(4) {
  color: #468cf4;
  line-height: 1.5;
}

.mainContents a {
  font-size: 20px;
  color: #468cf4;
  text-decoration: none;
}

a:hover {
  color: #003fbe;
  text-decoration: underline;
}


@media screen and (max-width: 767px) {
  #header .grayBar .grayBarInner,
  #header .headerInner01 .headerInner02 {
    width: calc(100% - 32px);
  }

  #header .grayBar h1 {
    float: none;
    font-size: 12px;
    white-space: nowrap;
  }

  #header .headerInner01 .headerInner02 .logo {
    left: 0;
  }

  .mainContents {
    width: calc(100% - 32px);
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .mainContents h2 {
    font-size: 19px;
    margin-bottom: 36px;
  }

  .mainContents p {
    font-size: 16px;
    line-height: 1.8;
  }

  .mainContents p:nth-of-type(3) {
    margin-bottom: 70px;
  }
}
