/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */


/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {

header {
  width:100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0;
  margin-bottom: 5%;
}
header h1 {
  width:300px;
  height: auto;
  display:block;
  margin:0 auto;
}

main h2 {
  font-size:18px;
  font-weight: 600;
  line-height: 1.5em;
  text-align: center;
  margin-bottom: 0.5em;
}
main p {
  font-size:12px;
  line-height: 2em;
  text-align: center;
}
main p:nth-of-type(1) {
  margin-bottom: 3em;
}

main p:nth-of-type(2) a {
  text-decoration: none;
  color: var(--color-2nd);
}

footer {
  width:100%;
  height: auto;
  display: block;
}
footer p {
  font-size:12px;
  line-height: 1em;
  text-align: center;
}

}

/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {

header {
  width:100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0;
  margin-bottom: 5%;
}
header h1 {
  width:300px;
  height: auto;
  display:block;
  margin:0 auto;
}

main h2 {
  font-size:18px;
  font-weight: 600;
  line-height: 1.5em;
  text-align: center;
  margin-bottom: 0.5em;
}
main p {
  font-size:12px;
  line-height: 2em;
  text-align: center;
}
main p:nth-of-type(1) {
  margin-bottom: 3em;
}

main p:nth-of-type(2) a {
  text-decoration: none;
  color: var(--color-2nd);
}

footer {
  width:100%;
  height: auto;
  display: block;
}
footer p {
  font-size:12px;
  line-height: 1em;
  text-align: center;
}

}


/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {

  header {
  width:100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding:0;
  margin-bottom: 5%;
}
header h1 {
  width:250px;
  height: auto;
  display:block;
  margin:0 auto;
}

main h2 {
  font-size:18px;
  font-weight: 600;
  line-height: 1.5em;
  text-align: center;
  padding:0 10%;
  margin-bottom: 0.5em;
}
main p {
  font-size:12px;
  line-height: 2em;
  text-align: center;
  padding:0 10%;
}
main p br {
  display: none;
}
main p:nth-of-type(1) {
  margin-bottom: 3em;
}
main p:nth-of-type(2) {
  font-size:20px;
  margin-bottom: 2em;
}
main p:nth-of-type(2) a {
  text-decoration: none;
  color: var(--color-2nd);
}

footer {
  width:100%;
  height: auto;
  display: block;
}
footer p {
  font-size:12px;
  line-height: 1em;
  text-align: center;
}

}
