@charset "UTF-8";
/* CSS Document */


/* wrap
-----------------------------------------------*/
#wrap {
  background: #fff;
}


/* header
-----------------------------------------------*/
header #logo-ia-head {
  opacity: 0;
  pointer-events: none;
}


/* contents
-----------------------------------------------*/
#contents {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 100px 40px 60px;
  background: url("/img/index/bgi-contents.jpg") repeat-x center bottom;
}
@media only screen and (max-width: 767px) {
  #contents {
    gap: 20px;
    padding: 30px 20px 60px;
    background-size: 950px auto;
  }
}


/* ttl
-----------------------------------------------*/
.ttl h1 {
  position: relative;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  line-height: 1.2;
}
.ttl h1::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  border-bottom: 1px solid #616063;
}
.ttl h1 span {
  font-size: 80px;
}
.ttl h1 span:nth-child(4n+1) { color: #FF4B00; }
.ttl h1 span:nth-child(4n+2) { color: #03AF7A; }
.ttl h1 span:nth-child(4n+3) { color: #005AFF; }
.ttl h1 span:nth-child(4n)   { color: #F6AA00; }
.ttl h1 span br {
  display: none;
}
h1 strong {
  position: relative;
  z-index: 1;
  background: #fff;
  display: block;
  color: #616063;
  font-size: 24px;
  width: fit-content;
  margin: 20px auto 0;
  padding: 0 10px;
}
.ttl p {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #5A3437;
  margin-top: 50px;
  white-space: pre-wrap;
  word-break: keep-all;
}
@media only screen and (max-width: 1023px) {
  .ttl h1 span br {
    display: block;
  }
}
@media only screen and (max-width: 767px) {
  .ttl h1::before {
    bottom: 9px;
  }
  .ttl h1 span {
    font-size: 36px;
  }
  h1 strong {
    font-size: 16px;
    margin: 10px auto 0;
    padding: 0 5px;
  }
  .ttl p {
    font-size: 16px;
    margin-top: 20px;
  }
  .ttl p br {
    display: none;
  }
}


/* link
-----------------------------------------------*/
.link-box {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}
.link-box .col {
  flex: 1;
}
.link-box .col a {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFF5F3;
  border: 16px solid #FEEAE8;
  border-radius: 30px;
  height: 390px;
  text-align: center;
  color: #5A3437;
  opacity: 1;
  transition: border-color .2s;
  padding: 20px 15px 0 15px;
}
.link-box .col a:hover {
  border-color: #FB948B;
}
.link-box .col a h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-top: 10px;
}
.link-box .col a p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  white-space: pre-wrap;
  word-break: keep-all;
}
@media only screen and (max-width: 1023px) {
  .link-box {
    gap: 20px;
  }
  .link-box .col a {
    height: 100%;
    padding: 15px 15px 30px 15px;
  }
  .link-box .col a h2 {
    font-size: 26px;
  }
  .link-box .col a p {
    font-size: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .link-box {
    flex-direction: column;
    gap: 10px;
  }
  .link-box .col a {
    border-width: 10px;
    border-radius: 20px;
    padding: 10px 25px 18px 25px;
  }
  .link-box .col a .icon {
    width: 60px;
  }
  .link-box .col a h2 {
    font-size: 24px;
    margin-top: 3px;
  }
  .link-box .col a h2 br {
    display: none;
  }
  .link-box .col a p {
    font-size: 14px;
    margin-top: 5px;
    font-weight: normal;
  }
  .link-box .col a p br {
    display: none;
  }
}


/* jpeds-link
-----------------------------------------------*/
.jpeds-link {
  margin-top: 280px;
}
.jpeds-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF5F3;
  border: 16px solid #FEEAE8;
  border-radius: 30px;
  text-align: center;
  color: #5A3437;
  opacity: 1;
  transition: border-color .2s;
  width: 562px;
  height: 116px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: bold;
}
.jpeds-link a:hover {
  border-color: #FB948B;
}
.jpeds-link a br {
  display: none;
}
@media only screen and (max-width: 767px) {
  .jpeds-link {
    margin-top: 80px;
  }
  .jpeds-link a {
    border: 16px solid #FEEAE8;
    border-radius: 20px;
    width: 280px;
    height: 100px;
    font-size: 18px;
    border-width: 10px;
  }
  .jpeds-link a br {
    display: block;
  }
}


/* footer
-----------------------------------------------*/
footer {
  margin-top: 0;
}