@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : info-single.css
 Style Info : 「お知らせ - 詳細」のCSS
====================================================== */

#post-wrap .no-data {
  text-align: center;
}

#post-block {
  margin-bottom: 5em;
}

#top-info-box {
  margin-bottom: 2em;
}

#top-info-box li .iconify {
  display: inline-block;
  vertical-align: middle;
  margin: -3px 3px 0 0;
  width: 20px;
  height: 20px;
  color: var(--basecolor3);
}

#top-info-box li:nth-child(1) {
  margin-bottom: 1em;
}

#top-info-box li:nth-child(2) {
  padding: .1em 1em;
  width: fit-content;
  text-align: center;
  border: 1px solid var(--basecolor1);
}

#single-box .img-full {
  margin: 0 calc(50% - 50vw);
  margin-bottom: 2em;
  width: 100vw;
}

#single-box .text-box {
  margin-bottom: 2.5em;
}

#single-box .text-box p {
  line-height: 2;
  margin-bottom: 1.5em;
  max-width: 580px;
}

#single-box .text-box p:last-child {
  margin-bottom: 0;
}

#single-box .text-box .text-link {
  text-decoration: none !important;
}

#single-box .text-box .text-link:hover {
  text-decoration: underline !important;
}

#single-box .img-box.grid {
  display: grid;
  gap: 2em
}

#single-box .img-box .caption-text {
  margin-top: 1em;
}

#single-box .pdf-box {
  margin-top: 3em;
}

#single-box .btn-box {
  margin-top: 4em;
}

#single-box .btn-pdf {
  width: 100%;
}

#single-box .btn-pdf .iconify {
  display: inline-block;
  vertical-align: middle;
  margin: -3px 0 0 .5em;
  width: 30px;
  height: 30px;
  color: var(--basecolor3);
}

#single-box .recruit-box {
  margin-top: 3em;
}

#single-box .btn-recruit {
  width: 100%;
  color: var(--basecolor2);
  background: var(--basecolor8);
  border-color: var(--basecolor8);
}

#cat-block .cat-box:not(:last-child) {
  margin-bottom: 3em;
}

#cat-block li {
  position: relative;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .3em;
  margin-bottom: 1em;
}

#cat-block li:last-child {
  margin-bottom: 0;
}

#cat-block li svg {
  width: 20px;
  height: 20px;
  color: var(--basecolor3);
}

#cat-block .cat-box li a {
  color: var(--basecolor1);
  text-decoration: none !important;
}

#cat-block .cat-box .children {
  margin: 1em 0 1.5em 1.5em;
}

#cat-block .archive-data dt {
  cursor: pointer;
  position: relative;
  margin-bottom: 1.2em;
  padding-right: 2em;
  width: fit-content;
  font-weight: 500;
}

#cat-block .archive-data dt::before,
#cat-block .archive-data dt::after {
  content: '';
  position: absolute;
  background: var(--basecolor3);
  border-radius: 10px;
  transition: all .3s ease-in-out;
}

#cat-block .archive-data dt::after {
  top: 11px;
  right: 0;
  width: 15px;
  height: 2px;
}

#cat-block .archive-data dt::before {
  top: 4px;
  right: 7px;
  width: 2px;
  height: 15px;
}

#cat-block .archive-data dt.active::before {
  transform: rotate(90deg);
}

#cat-block .archive-data dd:not(:last-of-type) {
  margin-bottom: 1.2em;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #post-wrap.grid {
    display: grid;
    gap: 5em;
  }

  #post-block .grid {
    grid-template-columns: 1fr 2fr;
    gap: 2.5em;
  }

  #post-block {
    margin-bottom: 0;
  }

  #single-box .text-box p {
    line-height: 1.9;
  }

  #single-box .img-box.grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #single-box .pdf-box {
    margin-top: 4em;
  }

  #single-box .btn-box {
    margin-top: 5em;
  }

  #cat-block .cat-box:not(:last-child) {
    margin-bottom: 3.5em;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #post-wrap.grid {
    grid-template-columns: 1fr 210px;
    gap: 100px;
  }

  #post-wrap .no-data {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  #single-box .img-full {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
  }

  #single-box .text-box p {
    line-height: 2;
  }

  #single-box .pdf-box {
    margin-top: 5em;
  }

  #single-box .btn-box {
    margin-top: 8em;
  }

  #cat-block .cat-box:not(:last-child) {
    margin-bottom: 4em;
  }

}
