/* 全体設定
------------------------------------------------------------*/
:where(#main-contents) {
  font-family: "Hiragino Sans", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  letter-spacing: normal;
  color: #24243f;
  width: 100%;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media only screen and (max-width: 767px) {
  :where(#main-contents) {
    width: 100%;
    min-width: initial;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

:where(#main-contents) *,
:where(#main-contents) *:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:where(#main-contents) img {
  vertical-align: top;
  max-width: 100%;
  width: 100%;
  height: auto;
}

:where(#main-contents) p {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

:where(#main-contents) ul {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  list-style: none;
}

/* 本文エリア
------------------------------------------------------------*/

#main-contents {
}

#main-contents .l-main-inner {
  max-width: 960px;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0 32px;
}
@media only screen and (max-width: 767px) {
  #main-contents .l-main-inner {
    padding: 0 20px;
  }
}

#main-contents .l-bg-blue-lighter {
  background: #f1f7fa;
  padding: 52px 0 36px;
}
@media only screen and (max-width: 767px) {
  #main-contents .l-bg-blue-lighter {
    padding: 36px 0 36px;
  }
}

#main-contents .l-bg-blue {
  background: #e7f6ff;
  padding: 36px 0;
}

#main-contents .l-bg-gray {
  background: #f8f9f9;
  padding: 30px 0 80px;
}
@media only screen and (max-width: 767px) {
  #main-contents .l-bg-gray {
    padding: 36px 0 64px;
  }
}

/* c-kv */
#main-contents .c-kv {
  background: #e7f6ff;
}

#main-contents .c-kv__inner {
  margin: 0 auto;
  max-width: 960px;
  height: 195px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-kv__inner {
    max-width: 375px;
    height: 148px;
  }
}
#main-contents .c-kv__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* c-top-info */
#main-contents .c-top-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #0ca5e6;
  padding: 12px 20px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-top-info {
    gap: 4px;
    padding: 8px 20px;
  }
}

#main-contents .c-top-info img {
  width: 20px;
  height: 20px;
}

#main-contents .c-top-info__text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-top-info__text {
    font-size: 12px;
  }
}

/* c-article-block */
#main-contents .c-article-block {
}

#main-contents .c-article-block__body {
  margin-top: 44px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-block__body {
    margin-top: 32px;
  }
}

#main-contents .c-article-block__card-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 16px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-block__card-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* c-headline */
#main-contents .c-headline {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  height: 63px;
  padding: 0px 16px;
  gap: 24px;
  border-radius: 4px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline {
    position: relative;
    height: 59px;
    padding: 0px 0px 0px 0px;
  }
}

#main-contents .c-headline::after {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 24px;
  height: 12px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
  background: #fff;
  content: "";
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline::after {
    bottom: -8px;
    width: 16px;
    height: 8px;
    aspect-ratio: 2/1;
  }
}

#main-contents .c-headline__inner {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 100px;
  height: 100%;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline__inner {
    position: static;
    padding-left: 52px;
  }
}

#main-contents .c-headline__img {
  position: absolute;
  left: 0;
  bottom: 0;
}

#main-contents .c-headline__img.character-1 {
  width: 76px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline__img.character-1 {
    width: 63px;
  }
}

#main-contents .c-headline__img.character-2 {
  width: 76px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline__img.character-2 {
    width: 55px;
  }
}

#main-contents .c-headline__img.character-3 {
  width: 76px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline__img.character-3 {
    width: 55px;
  }
}

#main-contents .c-headline__text {
  color: #0b41a0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline__text {
    font-size: 18px;
  }
}

#main-contents .c-headline .underline {
  position: relative;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-color: #c5d5f0;
  text-decoration-thickness: 24%;
  text-underline-offset: 10%;
  text-underline-position: from-font;
}

#main-contents .c-headline .underline.color-blue {
  text-decoration-color: #c5d5f0;
}
#main-contents .c-headline .underline.color-green {
  text-decoration-color: #a4e0df;
}
#main-contents .c-headline .underline.color-blue-light {
  text-decoration-color: #9bddfa;
}

/* c-article-card */
#main-contents .c-article-card {
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.14);
  text-decoration: none;
  transition: opacity 0.3s;
}
#main-contents .c-article-card:hover {
  opacity: 0.8;
}

#main-contents .c-article-card__head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  min-height: 58px;
  background: #0b41a0;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-card__head {
    padding: 6px 8px;
    min-height: 48px;
  }
}
#main-contents .c-article-card.color-green .c-article-card__head {
  background: #3ec1bd;
}
#main-contents .c-article-card.color-blue-light .c-article-card__head {
  background: #0ca5e6;
}
@media only screen and (min-width: 768px) {
  #main-contents .c-article-card.font-small-pc .c-article-card__head {
    padding: 6px 12px;
    min-height: 48px;
  }
}

#main-contents .c-article-card__head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 9px;
  width: 7px;
  height: 16px;
  transform: translateY(-50%);
  background-image: url("../img/icon-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-card__head::after {
    right: 9px;
    width: 7px;
    height: 12px;
  }
}

#main-contents .c-article-card__text {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-card__text {
    font-size: 14px;
  }
}
@media only screen and (min-width: 768px) {
  #main-contents .c-article-card.font-small-pc .c-article-card__text {
    font-size: 14px;
  }
}

#main-contents .c-article-card__thumb {
  position: relative;
  aspect-ratio: 38/15;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-card__thumb {
    aspect-ratio: 160/64;
  }
}

#main-contents .c-article-card__thumb .c-article-card__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
}
#main-contents .c-article-card:hover .c-article-card__thumb .c-article-card__img {
  transform: scale(1.1);
}

#main-contents .c-article-card__icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(68 / 228 * 100%);
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 767px) {
  #main-contents .c-article-card__icon {
    width: calc(48 / 160 * 100%);
  }
}

/* c-headline-primary */
#main-contents .c-headline-primary {
  display: block;
  margin-bottom: 32px;
  text-align: center;
  line-height: 0;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline-primary {
    margin-bottom: 24px;
  }
}

#main-contents .c-headline-primary__sub {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline-primary__sub {
    font-size: 14px;
  }
}

#main-contents .c-headline-primary__sub::before,
#main-contents .c-headline-primary__sub::after {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 18px;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline-primary__sub::before,
  #main-contents .c-headline-primary__sub::after {
    width: 15px;
    height: 18px;
  }
}

#main-contents .c-headline-primary__sub::before {
  left: -23px;
  transform: translateY(-50%);
  background-image: url("../img/deco-line-left.svg");
}

#main-contents .c-headline-primary__sub::after {
  right: -23px;
  background-image: url("../img/deco-line-right.svg");
  transform: translateY(-50%);
}

#main-contents .c-headline-primary__main {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-headline-primary__main {
    font-size: 24px;
  }
}

/* c-register-area */
#main-contents .c-register-area {
  max-width: 960px;
  margin: 0 auto;
}

#main-contents .c-register-area__img {
  max-width: 960px;
  margin: 0 auto;
}

#main-contents .c-register-area__link-area {
  margin-top: 32px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-register-area__link-area {
    margin-top: 16px;
  }
}

/* c-register-link */
#main-contents .c-register-link {
  display: flex;
  padding: 20px 16px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 680px;
  border-radius: 4px;
  background: #ff8700;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-register-link {
    max-width: 100%;
  }
}

#main-contents .c-register-link:hover {
  opacity: 0.7;
}

/* c-column-block */
#main-contents .c-column-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-column-block {
    grid-template-columns: 1fr;
  }
}

/* c-column-card */
#main-contents .c-column-card {
  display: flex;
  gap: 24px;
  text-decoration: none;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-column-card {
    gap: 12px;
  }
}
#main-contents .c-column-card:hover {
  opacity: 0.8;
}

#main-contents .c-column-card__img {
  flex-shrink: 0;
  width: 160px;
  height: auto;
  aspect-ratio: 64/43;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  #main-contents .c-column-card__img {
    width: 113px;
  }
}

#main-contents .c-column-card__contents {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#main-contents .c-column-card__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#main-contents .c-column-card__category {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  padding: 2px 6px;
  border-radius: 4px;
  background: #808d96;
}

#main-contents .c-column-card__type {
  position: relative;
  color: #808d96;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
}

#main-contents .c-column-card__type.type-lock {
  padding-right: 20px;
}

#main-contents .c-column-card__type.type-lock::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 16px;
  height: 16px;
  background-image: url("../img/icon-lock.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

#main-contents .c-column-card__headline {
  display: block;
  color: #0b41a0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

/* utility
------------------------------------------------------------*/
.u-mt-64-pc {
  margin-top: 64px;
}

@media only screen and (max-width: 767px) {
  .u-mt-40-sp {
    margin-top: 40px;
  }
}

@media only screen and (min-width: 768px) {
  .u-pt-52-pc {
    padding-top: 52px !important;
  }
}
@media only screen and (max-width: 767px) {
  .u-pt-32-sp {
    padding-top: 32px;
  }
}

.u-pb-80 {
  padding-bottom: 80px !important;
}

/* PC,SP切り替え
------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
  .pc-hide {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .sp-hide {
    display: none !important;
  }
}

/* ヘッダーフッターのブレークポイント
-----------------------------------------------*/
.pc-on-headfoot {
  display: block !important;
}
.sp-on-headfoot {
  display: none !important;
}

@media screen and (max-width: 1000px) {
  .pc-on-headfoot {
    display: none !important;
  }
  .sp-on-headfoot {
    display: block !important;
    height: 74px;
  }

  /* スマホ用フッター指定
  ------------------------------------------------------------*/
  .pagetop_rnet {
    text-align: right;
    margin: 0 10px;
    padding: 10px 10px 0 0;
  }

  #footer_rnet a {
    text-decoration: none;
  }

  .pagetop_rnet a {
    position: relative;
    background-size: 13px auto;
    padding-left: 16px;
    text-decoration: none;
    color: #0b41a0;
    font-size: 13px;
    background: none;
  }
  .pagetop_rnet a:after {
    content: "";
    position: absolute;
    top: 53%;
    left: -1px;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
    border-top: 2px solid #0b41a0;
    border-right: 2px solid #0b41a0;
  }
  .breadcrumb {
    text-align: left;
    padding-left: 3vw;
  }
}

/* breadcrumb_pc
------------------------------------------------------------*/
.breadcrumb_pc {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 15px;
  padding: 0 20px;
}
@media only screen and (max-width: 767px) {
  .breadcrumb_pc {
    display: none;
  }
}

.breadcrumb_pc li {
  position: relative;
  display: inline-block;
  font-size: 12px;
  color: #24243f;
  padding-right: 15px;
  margin-right: 10px;
}

.breadcrumb_pc li:after {
  content: "";
  position: absolute;
  top: 40%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #808d96;
  border-right: 1px solid #808d96;
  -webkit-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
}

.breadcrumb_pc li:last-child:after {
  content: none;
}

.breadcrumb_pc li a {
  color: #0b41a0;
}
