@charset "UTF-8";

#hubpage {
  background: #f5f5f5;
  line-height: 2;
  font-size: 1.2em;
}

#hubpage * {
  box-sizing: border-box;
}

#hubpage img {
  max-width: 100%;
}

#hubpage table {
  margin: 1em 0;
  border-spacing: 5px;
  width: 100%;
}

#hubpage table th {
  font-weight: bold;
  padding: .8em;
  text-align: left;
  background: #ddd;
  color: #333;
  line-height: 1.1;
}

#hubpage table thead th:not(:first-child) {
  background: #e60012;
  color: #fff;
  text-align: center;
}


#hubpage table td {
  padding: .8em;
  background: #fff;
  text-align: right;
  white-space: nowrap;
}

#hubpage table td:first-child {
  border-right: 1px solid #e60012;
  white-space: nowrap;
}

#hubpage table tr:last-child {
  border-bottom: 0;
}

#hubpage table td.red {
  font-weight: bold;
  color: #e60012;
}

#hubpage .read {
  background: #e60012;
  color: #fff;
  padding: 10px;
  line-height: 1;
}

#hubpage .read p {
  margin: 0 0 0 10%;
}

#hubpage .mainvisual {
  position: relative;
}

#hubpage .mainvisual h2 {
  font-family: 'M PLUS 2', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(64px, 10vw, 110px);
  line-height: 1.3;
  position: absolute;
  top: 5%;
  left: 10%;
  text-shadow: 1px 1px 2px #333;
}

#hubpage .mainvisual h2 .small {
  font-size: 75%;
}

#hubpage .mainvisual h2 strong {
  position: relative;
  z-index: 1;
}

#hubpage .mainvisual h2 strong::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.2em;
  background: #e60012;
  position: absolute;
  left: 0;
  bottom: 5%;
  z-index: -1;
}

#hubpage .mainvisual.dormitory .catch {
  font-size: clamp(30px, 4vw, 80px);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(0, 0, 0, .5);
  height: 100%;
  padding: 0 1em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) skew(-5deg);
  top: 0;
}

#hubpage .mainvisual.dormitory .catch span:nth-child(1) {
  font-size: 100%;
}

#hubpage .mainvisual.dormitory .catch span:nth-child(2) {
  font-size: 120%;
}

#hubpage .mainvisual.dormitory .catch span:nth-child(3) {
  font-size: 100%;
}

#hubpage .mainvisual.dormitory .catch span:nth-child(4) {
  font-size: 90%;
}

#hubpage .mainvisual.dormitory .catch strong:nth-child(5) {
  font-size: 200%;
}

#hubpage .mainvisual.dormitory .catch span:nth-child(6) {
  font-size: 90%;
}

#hubpage .mainvisual.dormitory .catch span.deco {
  position: relative;
}

#hubpage .mainvisual.dormitory .catch span.deco::after,
#hubpage .mainvisual.dormitory .catch span.deco::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url('/img/tokusyu/hub_ttldeco.png');
  background-size: contain;
  background-repeat: no-repeat;
}

#hubpage .mainvisual.dormitory .catch span.deco::after {
  transform: scaleX(-1);
}

#hubpage .mainvisual.dormitory h2 strong::after {
  height: 0.4em;
}

#hubpage .mainvisual.saga .catch {
  font-family: 'Kiwi Maru', serif;
  text-shadow: none;
  font-size: clamp(48px, 8vw, 64px);
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

#hubpage .mainvisual.saga .catch .zabuton {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #134BC9;
  box-shadow: 5px 5px 10px rgba(19, 75, 201, 0.5);
  margin: .15em 0;
  padding: 10px;
}

#hubpage .sec2>.inner>h2,
#hubpage .sec02>.inner>h2,
#hubpage h3 {
  font-size: 1.5em;
  line-height: 1.2;
  background: #fff;
  border: 1px solid #333;
  border-radius: 5px;
  margin: 0 0 .5em;
  padding: 10px;
}

#hubpage h2:not(.catch)~img,
#hubpage h3~img {
  border-radius: 10px;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

#hubpage .inner.wbox h2,
#hubpage .redcopy {
  font-size: 1.2em;
  line-height: 1.2;
  color: #e60012;
  border: 0;
  background: none;
  padding: 0;
  margin: 0 0 .5em;
  font-weight: bold;
}

#hubpage .content h3,
#hubpage h4 {
  font-size: 1.2em;
  border-left: .5em solid #e60012;
  margin: 0 0 .5em;
  padding: 0 0 0 .5em;
  background: none;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

#hubpage .content h3.checkicon,
#hubpage h4.checkicon {
  font-size: 1.2em;
  border: 0;
  margin: 1em 0;
  padding: 0;
  font-weight: bold;
  background: none;
}

#hubpage h3.checkicon::before,
#hubpage h4.checkicon::before {
  content: "\f00c";
  font-family: "FontAwesome";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #e60012;
  width: 1em;
  height: 1em;
  border: 2px solid #333;
  border-radius: 5px;
  margin-right: .25em;
}

#hubpage h3.checkicon~p,
#hubpage h4.checkicon~p {
  margin: 1em;
}

#hubpage .articlecard {
  background: #333;
  border-radius: 1em;
  padding: 1em;
  margin: 1em 0;
}

#hubpage .articlecard a {
  display: flex;
  gap: 1em;
  text-decoration: none;
}

#hubpage .articlecard a .linkbtn {
  margin: 1em auto 0;
  padding: 1em;
}

#hubpage .articlecard img {
  width: 35%;
  height: auto;
  object-fit: cover;
}

#hubpage .articlecard dl {
  flex: 1;
  font-size: 1.2em;
  color: #fff;
}

#hubpage .articlecard dl dt {
  background: #e60012;
  margin: 0 0 .5em;
  padding: .25em .5em;
  width: 100%;
  font-weight: bold;
}

#hubpage .mainvisual .subcatch {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 500;
  position: absolute;
  top: 75%;
  left: 10%;
  font-size: clamp(20px, 4vw, 30px);
  color: #fff;
  text-shadow: 1px 1px 2px #333;
}

#hubpage .linkbtn {
  display: block;
  width: fit-content;
  margin: 3em auto;
  padding: 1em 3em;
  background: #e60012;
  border-radius: 10em;
  text-shadow: 1px 1px 2px #333;
  color: #fff;
  box-shadow: 0 5px 0px rgba(181, 0, 14, 1);
  line-height: 1;
}

#hubpage .linkbtn::after {
  content: "\f105\f105\f105";
  font-family: "FontAwesome";
  letter-spacing: -.3em;
}

#hubpage p.microcopy {
  text-align: center;
  font-weight: bold
}

#hubpage p.microcopy~.linkbtn {
  margin-top: 0em;
}

#hubpage .flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}

#hubpage .flexbox dt {
  width: fit-content;
}

#hubpage .flexbox dd {
  flex: 1;
}

#hubpage .flexbox.ttl-decored dt {
  border: 2px solid #e60012;
  border-radius: 10px;
  background: #fff;
  padding: .5em 1em;
  color: #e60012;
  text-align: center;
}

#hubpage .jobcard_container {
  align-items: stretch;
  margin: 3em 0;
}

#hubpage .jobcard_container .jobcard {
  width: 48%;
  overflow: hidden;
  border-radius: 1em;
  position: relative;
  border: 2px solid #999;
  padding-bottom: 3.5em;
}

#hubpage .jobcard_container .jobcard .jobimage img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

#hubpage .jobcard_container .jobcard h3,
#hubpage .jobcard_container .jobcard h4 {
  font-size: 1.2em;
  border: none;
  background: none;
  padding: 1em 1em 0;
  margin: 0;
}

#hubpage .jobcard_container .jobcard dl {

  padding: 1em 1em 0;
}

#hubpage .jobcard_container .jobcard dl dt {
  background: #eee;
  border: 1px solid #999;
  width: 100%;
  border-radius: 5em;
  text-align: center;
}

#hubpage .jobcard_container .jobcard a {
  position: absolute;
  bottom: 0;
  background: #e60012;
  color: #fff;
  width: 100%;
  padding: .5em 0;
  text-align: center;
}

#hubpage .steps3 {
  margin: 2em 0;
  display: flex;
  justify-content: space-between;
}

#hubpage .steps3 li {
  width: 30%;
  background: #e60012;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  padding: .25em .5em 1em;
  position: relative;
}

#hubpage .steps3 .step_arrow {
  width: fit-content;
  background: transparent;
  color: #e60012;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  padding: 0;
}


#hubpage .steps3 li strong {
  display: inline-block;
  padding: 1em 0;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}

#hubpage .sec01 {
  padding: 1em;
}

#hubpage .inner {
  max-width: 800px;
  margin: 10px auto;
  padding: 10px 0;
}

#hubpage .inner.wbox {
  max-width: 800px;
  margin: 40px auto;
  padding: 1.5em 2em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}


#hubpage .content {
  margin: 1em 0 3em;
}

#hubpage .content dl {
  margin: 1em 0 2em;
}

#hubpage .content dl dt.underline {
  border-bottom: 1px solid #333;
  padding: .5em;
  font-weight: bold;
}

#hubpage .content dl dt.underline~dd {
  padding: .5em;
}

#hubpage .border-box {
  border: 1px solid #ccc;
  border-radius: 1em;
  padding: 1em;
}

#hubpage .border-box dt {
  font-size: 1em;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding: 0;
}

#hubpage .border-box dt.boxsubtitle {
  display: inline-block;
  margin: .5em 0 0 0;
  padding: 0 .5em;
  border: 0;
  border-left: 4px solid #999;
  border-radius: 4px;
}

@media (max-width: 640px) {
  #hubpage .inner {
    padding: 10px;
  }

  #hubpage .mainvisual.dormitory .catch {
    font-size: clamp(30px, 12vw, 80px);
    width: 100%;
    height: 100%;
    padding: 0em;
    transform: translateX(-50%) skew(-0deg);
  }

  #hubpage .mainvisual.saga .catch {
    font-size: clamp(27px, 8vw, 64px);
    position: absolute;
    top: 5%;
    translate: 0;
  }

  #hubpage .mainvisual.saga .catch .zabuton {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #134BC9;
    box-shadow: 5px 5px 10px rgba(19, 75, 201, 0.5);
    margin: .15em 0;
    padding: 10px;
  }

  #hubpage .flexbox {
    flex-direction: column;
  }

  #hubpage .flexbox.ttl-decored {
    align-items: flex-start;
  }

  #hubpage .flexbox.ttl-decored dt {
    width: 100%;
  }


  #hubpage .steps3 {
    flex-direction: column;
    align-items: center;
  }

  #hubpage .steps3 li {
    width: 75%;
  }

  #hubpage .steps3 .step_arrow {
    padding: .5em;
    transform: rotate(90deg);
  }

  #hubpage .articlecard a {
    flex-direction: column;
  }

  #hubpage .articlecard img {
    width: 100%;
  }

  #hubpage .read p {
    margin: 0px;
  }

  #hubpage .mainvisual h2 {
    font-size: clamp(36px, 12vw, 72px);
  }

  #hubpage .mainvisual .subcatch {
    font-size: clamp(10px, 5vw, 24px);
    position: absolute;
    top: 35%;
    left: 10%;
  }

  #hubpage .jobcard_container {
    align-items: center;
  }

  #hubpage .jobcard_container .jobcard {
    width: 80%;
    max-width: 380px;
  }

}