/* font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Roboto&display=swap');
body, h2, h3, h4, h5, h6, input, textarea {
  color: #24292F;
  font-size: 15px;
  line-height: 1.9em;
	font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

/* body */
html{
  height: -webkit-fill-available;
}

body {
  background: #FFFFFF;
  margin: 0;
  /* padding-top: 64px; */
  /* padding-left: calc((100vw - 800px) / 2);
  padding-right: calc((100vw - 800px) / 2); */
  /* padding-bottom: 64px; */
  box-sizing: border-box;
  min-height: 100vh;
  min-height: -webkit-fill-available;
	overflow-x: hidden;
	/* padding-top: 64px;
  padding-left: calc((100vw - 800px) / 2);
  padding-right: calc((100vw - 800px) / 2);
  padding-bottom: 64px; */
}

@media screen and (max-width:840px) {
  body {
    /* padding-top: 60px; */
    padding-bottom: 60px;
  }
}

/* hero */

.hero {
  margin-top: 68px;
  height: calc(61.80339887vw); /* 570px; */
  background: linear-gradient(20deg, rgba(50, 20, 70, 0.18), rgba(0, 60, 100, 0.13)), url(../image/form.jpg);
  background-position: top center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero__text h1 {
  color: #FFFFFF;
  font-size: 55px;
  line-height: 50px;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.hero__text p {
  color: #FFFFFF;
  font-size: 25px;
  line-height: 30px;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.hero__credit{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #FFFFFF88;
  font-size: 10px;
  line-height: 12px;
}

@media screen and (max-width:840px) {
  .hero {
    margin-top: 0;
    height: 100vh;
    background-position: center center;
  }
  .hero__text h1 {
    font-size: 32px;
  }
}

/* main */

main {
	position: relative;
	z-index: 1;
}

.margin1em {display: block; height: 1em;}
.margin2em {display: block; height: 2em;}
.margin3em {display: block; height: 3em;}
.margin4em {display: block; height: 4em;}
.margin5em {display: block; height: 5em;}
.margin6em {display: block; height: 6em;}
.margin7em {display: block; height: 7em;}
.margin8em {display: block; height: 8em;}
.margin9em {display: block; height: 9em;}
.margin10em {display: block; height: 10em;}
.margin15em {display: block; height: 15em;}
.margin20em {display: block; height: 20em;}
.margin25em {display: block; height: 25em;}
.margin30em {display: block; height: 30em;}
.margin40em {display: block; height: 40em;}
.margin50em {display: block; height: 50em;}
.margin60em {display: block; height: 60em;}

.center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.section-inner {
  width: max-content;
  margin: auto;
  max-width: 100%;
  /* overflow-x: scroll; */
}

@media screen and (max-width:840px) {
  .section-inner {
    overflow-x: scroll;
  }
}

section {
  max-width: 105vw;
  overflow: hidden;
	padding-top: 100px;
  padding-left: calc((100vw - 800px) / 2);
  padding-right: calc((100vw - 800px) / 2);
  padding-bottom: 105px;
}

section:nth-child(even) {
/* background-color: #F0F6FF; */
	background-color: #f5f0fa;
}

.dark {
  background: linear-gradient(20deg, rgba(50, 20, 70, 0.85), rgba(0, 60, 100, 0.8)), url(../image/form.jpg);
  background-size: cover;
  color: #FFFFFF;
}

.dark h1 {
  color: #FFFFFF;
}

section h1 {
	text-align: center;
	font-size: 30px;
  padding-bottom: 75px;
	/* padding-bottom: 15px; */
  /* border-bottom: solid 2px #00C8C8; */
  width: fit-content;
  margin: auto;
}

section h2 {
	text-align: center;
	font-size: 23px;
	padding-top: 40px;
	padding-bottom: 40px;
}

section h3 {
	text-align: center;
	font-size: 22px;
	padding-top: 36px;
	padding-bottom: 36px;
}
section h5 {
	text-align: center;
	font-size: 16px;
	padding-top: 0px;
	padding-bottom: 0px;
}

section h2:first-child {
	padding-top: 10px;
	padding-bottom: 40px;
}

section a {
  color: #00C8C8;
}

section li {
	list-style: inside;
	text-indent: -1.35em;
  padding-left: 1.35em;
}

@media screen and (max-width:840px) {
	section {
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 80px;
  }
  section h1 {
    font-size: 28px;
    padding-bottom: 50px;
  }
  section h2 {
    font-size: 22px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* その他 */

.new {
  font-weight: bold;
}

.pdf {
  margin-left: 0.2em;
  vertical-align: middle;
  height: 1.2em;
  width: 1.2em;
}

/* button */

.button {
  padding: 1em 2em;
  border-radius: 2em !important;
  line-height: 1.3em !important;
  width: fit-content !important;
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(0,180,140,0.8) 0%, rgba(0,160,220,0.9) 100%);
  margin: auto;
}

.button:hover{
  opacity: 0.6;
  transition: 0.2s;
  cursor: pointer;
}

.button--closed {
  padding: 1em 2em;
  border-radius: 2em !important;
  line-height: 1.3em !important;
  width: fit-content;
  margin: auto;
  color: #FFFFFF;
  background: #909090;
}

.button--closed:hover{
  cursor: not-allowed;
}


/* foorter */

footer {
  z-index: 2;
  position: relative;
  color: rgba(0, 0, 0, 0.54);
	/* border-top: 1px solid rgba(0, 0, 0, 0.2); */
	display: flex;
	align-items: center;
  justify-content: center;
  height: 64px;
  margin-bottom: -64px;
  box-sizing: border-box;
}

@media screen and (max-width:840px) {
  footer {
    height: 60px;
    margin-bottom: -60px;
  }
}
