/* 全体設定 */
.page-content h2:not(.st-article_title),
.page-content h3,
.page-content h4 {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}
.page-content h3 + h4 {
  margin-top: 2rem;
}
.page-content h2:not(.st-article_title) {
  font-size: 3.2rem;
  text-align: center;
  color: #0C1E84;
  position: relative;
  font-style: normal;
  font-weight: 800;
}
.page-content h3 {
  font-size: 2rem;
  font-weight: 800;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid #D2E4FF;
  border-bottom: 1px solid #D2E4FF;
}
.page-content h4 {
  display: flex;
  font-size: 1.8rem;
  align-items: center;
}
.page-content h4::before {
  content: "";
  background-image: url(./../img/ic_h4.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 3rem;
  width: 3rem;
  margin-right: 5px;
  align-self: flex-start;
  flex-shrink: 0;
}

.page-content p {
  margin-bottom: 2rem;
}

.page-content[class^="page-"] p > a {
  color: #0c1e84;
  text-decoration: underline;
}
.page-content[class^="page-"] p > a:hover {
  color: #0C1E84;
  text-decoration: none;
}
.page-content .inner > .st-subcta_btn {
  margin: 3.5rem auto;
}

.page-mv {
  background-color: #0C1E84;
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.page-mv h1 {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 0;
}

@media screen and (max-width:980px) {
  .page-content h2:not(.st-article_title) {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  .page-content h3 {
    font-size: 1.8rem;
  }
  .page-content .inner > .st-subcta_btn {
    margin: 2rem auto;
  }
  .page-mv h1 {
    font-size: 2.4rem;
  }
}

/* メンバー一覧 */
.member-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

.member-list li {
  text-align: center;
}

.member-list figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.member-list img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.member-list figcaption {
  font-weight: bold;
  font-size: 2rem;
  color: #000;
  text-decoration: none;
}

.member-list figcaption span {
  display: inline;
  font-size: 1.4rem;
  color: #929292;
  margin-left: 0.5rem;
  font-weight: normal;
}

.member-list a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.member-list a:hover {
  opacity: 0.8;
}

.member-contents-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10rem;
}
.member-contents-list .st-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
}
.member-contents-list .st-article_img {
  grid-row: 1/3;
}
.member-contents-list dl:nth-of-type(n+2){
  grid-column: 1/3;
}
.member-contents-list .st-article h2 {
  font-size: 3.2rem;
	position: relative;
	padding-left: 25px;
  color: #0C1E84;
}
.member-contents-list .st-article h2 span {
  font-size: 1.4rem;
  color: #B4D2FF;
  margin-left: 0.5rem;
}
.member-contents-list .st-article h2:before,
.member-contents-list .st-article h2:after {
	content: '';
	position: absolute;
	bottom: 0;
}
.member-contents-list .st-article h2:before {
	left: 0;
	width: 0;
	height: 0;
	border: none;
	border-left: solid 15px transparent;
	border-bottom: solid 15px #0c1e84;
}
.member-contents-list .st-article h2:after {
	bottom: 0;
	left: 10px;
	width: calc(100% - 10px);
	border-bottom: solid 2px #0c1e84;
}
.member-contents-list dt {
  font-size: 2.4rem;
  font-weight: bold;
  background-color: #0C1E84;
  color: #fff;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
}

.member-contents-list .st-article_img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media screen and (max-width:980px) {
  .member-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .member-contents-list {
    gap: 5rem;
  }
  .member-contents-list .st-article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .member-contents-list .st-article_img {
    grid-row: auto;
  }
  .member-contents-list dl:nth-of-type(n+2) {
    grid-column: auto;
  }
  .member-contents-list .st-article h2 {
    order: -1;
    font-size: 2.4rem;
  }
  .member-contents-list dt {
    font-size: 1.6rem;
  }
}

/* 求人情報 */
.recruit-mv {
  position: relative;
}
.recruit-mv .inner {
  width: 90%;
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 1.8rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
}
.recruit-mv .bg_img {
  position: relative;
}
.recruit-mv .bg_img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  mix-blend-mode: darken;
  opacity: 0.3;
}
.recruit-mv .bg_img img {
  width: 100%;
  max-height: 40rem;
  aspect-ratio: 16/9;
  object-fit: cover;
  overflow: hidden;
}
.recruit-mv_copy {
  font-size: 4rem;
  text-align: center;
  font-weight: bold;
  color: #FFF;
}
.recruit-mv_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.recruit-mv_cta a {
  width: 30rem;
  height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 100vw;
  outline: 1px solid white;
  outline-offset: -0.4rem;
  transition: 0.5s;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  background-color: #0c1e84;
  text-decoration: none;
}
.recruit-mv_cta a:hover {
  outline-offset: 0rem;
}



.has-text-align-center {
  text-align: center;
}

/* お問い合わせページ */
.wpcf7-form {
  width: 75%;
  max-width: 740px;
  margin: 0 auto;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  border: 1px solid #929292;
  padding: 1em;
  width: 100%;
}
.wpcf7-form input[type=checkbox] {
  width: auto;
  padding: 1em;
  appearance: auto;
}
.wpcf7-form textarea {
  height: 100px;
}
.wpcf7-form dl {
  margin-bottom: 2rem;
}
.wpcf7-form dt {
  margin-bottom: 5px;
}
.wpcf7-form dt span {
  display: inline-block;
  width: 40px;
  padding: 3px 0;
  background-color: #0C1E84;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-left: 3px;
  font-size: 1.2rem;
}
.wpcf7-form dt .nini {
  background-color: #929292;
}
.wpcf7-form .btn_send {
  margin: 4rem auto;
}
.wpcf7-form .btn_send input {
  display: block;
  background: #0C1E84;
  color: #fff;
  font-weight: 700;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
  border: 1px solid #0C1E84;
  border-radius: 50vw;
  transition: all 0.3s 0s ease;
}
.wpcf7-form .btn_send input:not([disabled]):hover {
  background: #FFF;
  color: #0C1E84;
  border: 1px solid #0C1E84;
}
.wpcf7-form input[type=submit][disabled] {
  background: #dcdcdc;
  border: 1px solid #dcdcdc;
}

.infobox {
  height: 12em;
  overflow: scroll;
  background-color: #F0F6FF;
  padding: 1rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}
.info_ttl {
  width: 100%;
  text-align: center;
  margin:  1rem auto;
}
.info_txt {
  line-height: 1.5;
  font-size: 1.2rem;
}
.info_txt strong {
  line-height: 2;
}
.info_txt p {
  margin-top: 1rem;
  letter-spacing: .5px;
}
.info_txt p:first-child {
  margin-top: 0;
}
.wpcf7-spinner {
  display: none;
}
@media screen and (max-width: 640px) {
  .wpcf7-form {
    width: 100%;
  }
  .wpcf7-form input,
  .wpcf7-form textarea,
  .wpcf7-form select {
    padding: 0.5em;
  }
}

/* 採用情報 */
.recruit-mv {
  position: relative;
}
.recruit-mv .inner {
  width: 90%;
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 1.8rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
}
.recruit-mv .bg_img {
  position: relative;
}
.recruit-mv .bg_img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  mix-blend-mode: darken;
  opacity: 0.3;
}
.recruit-mv .bg_img img {
  width: 100%;
  max-height: 40rem;
  aspect-ratio: 16/9;
  object-fit: cover;
  overflow: hidden;
}
.recruit-mv_copy {
  font-size: 4rem;
  text-align: center;
  font-weight: bold;
  color: #FFF;
}
.recruit-mv_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.recruit-mv_cta a {
  width: 30rem;
  height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 100vw;
  outline: 1px solid white;
  outline-offset: -0.4rem;
  transition: 0.5s;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  background-color: #0c1e84;
}
.recruit-mv_cta a:hover {
  outline-offset: 0rem;
}
@media screen and (max-width:980px) {
  .recruit-mv_copy {
    font-size: 2.4rem;
  }
  .recruit-mv_cta a {
    width: 25rem;
    height: 5rem;
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 640px) {
  .recruit-mv .inner {
    gap: 0;
  }
  .recruit-mv_cta {
    flex-direction: column;
  }
  .recruit-mv_cta a {
    font-size: 1.4rem;
  }
}

/* ページ共通 */
.post-content {
  padding-top: 5rem;
  border-top: 1px solid #D2E4FF;
}
@media screen and (max-width:680px) {
  .post-content {
    padding-top: 3rem;
  }
}

/* 記事ページのヘッド */
.single-head {
  display: grid;
  gap: 1rem;
}
.single-head h1 {
  font-size: 3.2rem;
  color: #0A0A0A;
}
.single-head .single-company,
.single-head .single-subhead {
  font-weight: bold;
}
.single-head .single-subhead {
  color: #0c1e84;
  font-size: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #0c1e84;
  border-bottom: 1px solid #0c1e84;
}
.single-head_box {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.single-head_box li:only-child {
  margin-left: auto;
}
.single-head_box .single-date {
  color: #929292;
  display: flex;
  gap: 2rem;
  font-size: 1.4rem;
}
.single-head_box .single-category {
  display: flex;
  gap: 1rem;
}
.single-head_box .single-category a {
  padding: .5rem 1rem;
  border: 1px solid #0A0A0A;
  border-radius: 5px;
  font-size: 1.2rem;
  text-decoration: none;
  display: block;
  color: #0A0A0A;
}
.single-head_box .single-category a:hover {
  color: #FFF;
  background-color: #0C1E84;
  border-color: #0C1E84;
}

@media screen and (max-width:680px) {
  .single-head h1 {
    font-size: 2.4rem;
  }
  .single-head .single-subhead {
    font-size: 1.6rem;
  }
  .single-head_box {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* 記事ページの各パーツ */
.single-main {
  padding-top: 2rem;
}
.single-main p a {
  color: #0C1E84;
  text-decoration: underline;
}
.single-main p a:hover {
  color: #0C1E84;
  text-decoration: none;
}

/* 目次プラグインの上書き */
div#ez-toc-container {
  width: 90%;
  margin: 5rem auto;
  padding: 3rem 5rem;
  box-shadow: none;
  background-color: #F0F6FF;
  border: 1px solid #D2E4FF;
  border-radius: 5px;
}
div#ez-toc-container .ez-toc-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
div#ez-toc-container p.ez-toc-title {
  font-weight: bold;
  font-size: 1.8rem;
  margin: 0;
}
div#ez-toc-container .ez-toc-title-toggle {
  display: none; /* トグル機能は静的サイトでは不要 */
}
div#ez-toc-container nav {
  display: block;
}
div#ez-toc-container ul.ez-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
div#ez-toc-container ul.ez-toc-list-level-1 {
  counter-reset: item;
}
div#ez-toc-container ul.ez-toc-list-level-1 > li {
  margin-bottom: 0.5em;
}
div#ez-toc-container ul.ez-toc-list-level-1 > li.ez-toc-heading-level-2::before {
  counter-increment: item;
  content: counter(item) ". ";
  font-weight: bold;
}
div#ez-toc-container ul.ez-toc-list-level-3 {
  margin-left: 2em;
  margin-top: 0.5em;
  list-style: none;
}
div#ez-toc-container ul.ez-toc-list-level-3 > li {
  margin-bottom: 0.3em;
}
div#ez-toc-container a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  line-height: 1.5;
}
div#ez-toc-container ul.ez-toc-list a:hover {
  color: #0C1E84;
  text-decoration: underline;
}
@media screen and (max-width:680px) {
  div#ez-toc-container {
    width: 100%;
    margin: 4rem auto;
    padding: 2rem;
  }
  div#ez-toc-container p.ez-toc-title {
    font-size: 1.6rem;
  }
}

.single-thumbnail {
  margin-bottom: 3.5rem;
}
.single-thumbnail img {
  width: 100%;
}
.single-main h2:not(.cta_ttl),
.single-main h2.wp-block-heading,
.single-main h3,
.single-main h3.wp-block-heading,
.single-main h4,
.single-main h4.wp-block-heading {
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.single-main h5,
.single-main h6 {
  margin-bottom: 2rem;
}
.single-main h2 + h3 {
  margin-top: 3rem;
}
.single-main h3 + h4 {
  margin-top: 2rem;
}

.single-main h2:not(.cta_ttl),
.single-main h2.wp-block-heading {
  font-size: 2.4rem;
  position: relative;
  padding: 1rem 2rem;
  box-shadow: 4px 4px #0C1E84;
  outline: 2px solid #fff;
  border: 2px solid #0C1E84;
  background-color: #0C1E84;
  color: #FFF;
  font-weight: bold;
}
.single-main h3,
.single-main h3.wp-block-heading {
  font-size: 2rem;
  position: relative;
  padding: 1rem;
  background-color: #F5F5F5;
  color: #0C1E84;
  font-weight: bold;
  border-radius: 5px;
}
.single-main h3:before,
.single-main h3.wp-block-heading:before {
  margin-right: 1rem;
  border-left: 5px solid;
  content: '';
}
.single-main h4,
.single-main h4.wp-block-heading {
  display: flex;
  font-size: 1.8rem;
  align-items: center;
}
.single-main h4::before,
.single-main h4.wp-block-heading::before {
  content: "";
  background-image: url(../img/ic_h4.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 3rem;
  width: 3rem;
  margin-right: 5px;
  align-self: flex-start;
  flex-shrink: 0;
}
.single-main p {
  margin-bottom: 2rem;
}
.single-main > ul,
.single-main > ol {
  max-width: 90%;
  margin: 0 auto 2rem;
  padding: 2rem;
  border: 1px solid #D2E4FF;
  background-color: #f0f6ff;
}
.single-main > ol {
  list-style-type: decimal;
}
.single-main > ul li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}
.single-main > ol li {
  margin-bottom: 1rem;
  margin-left: 1.5em;
  padding-left: 0.5em;
}
.single-main > ul li:last-child,
.single-main > ol li:last-child {
  margin-bottom: 0;
}
.single-main > ul li::before {
  content: "";
  background-image: url(../img/ic_check1.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 1.5em;
  height: 1.5em;
  margin-right: 5px;
  align-self: flex-start;
  flex-shrink: 0;
}
.single-main > ol li::marker {
  font-weight: bold;
  color: #C7020C;
}
.single-main > .st-subcta_btn {
  margin: 3.5rem auto;
}

@media screen and (max-width:680px) {
  .single-main {
    padding-top: 1.5rem;
  }
  .single-main h2:not(.cta_ttl) {
    font-size: 2rem;
  }
  .single-main > ul,
  .single-main > ol {    
    max-width: 100%;
  }
}

/* 記事ナビゲーション */
.single-nav-btn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  justify-items: center;
  margin: 10rem auto;
  font-size: 1.4rem;
}
.single-nav-btn li {
  padding: 1em 0;
}
.single-nav-btn a {
  padding: 1em 2em;
  background-color: #F0F6FF;
  border-radius: 100vw;
  color: #0C1E84;
}
.single-nav-btn_prev {
  grid-column: 1;
}
.single-nav-btn_archive {
  grid-column: 2;
}
.single-nav-btn_next {
  grid-column: 3;
}
@media screen and (max-width:680px) {
  .single-nav-btn {
    gap: 1rem;
    margin: 5rem auto;
  }
  .single-nav-btn li {
    padding: 0.5em 0;
  }
  .single-nav-btn a {
    padding: 0.5em 1em;
  }
}

/* よくある質問一覧 */
.qa-list {
  font-weight: 700;
  font-size: 1.6rem;
}
.qa-list dl {
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid #D2E4FF;
}
.qa-list .question {
  display: flex;
  align-items: center;
  margin: 0 0 1rem;
}
.qa-list .answer {
  display: flex;
  align-items: center;
}
.qa-list .question:before,
.qa-list .answer:before {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  width: 4rem;
  height: 4rem;
  border-radius: 50vw;
  font-size: 28px;
}
.qa-list .question:before {
  content: 'Q';
  background-color: #0C1E84;
  color: #fff;
}
.qa-list .answer:before {
  content: 'A';
  background-color: #FFF;
  border: 1px solid #0C1E84;
  color: #0C1E84;
}
.qa-list .question span,
.qa-list .answer .txt-box {
  display: block;
  width: calc(100% - 4rem);
  margin-left: 1rem;
}
.qa-list .answer .txt-box {
  font-weight: normal;
}
.qa-list .answer p:not(:first-child) {
  margin-top: 1em;
}

/* メンバー一覧 */
.member-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: center;
  gap: 3rem;
}
.member-list li {
  width: 100%;
}
.member-list figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
.member-list img {
  aspect-ratio: 2/3;
  object-fit: cover;
  width: 100%;
}
.member-list figcaption {
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
}
.member-list figcaption span {
  font-size: 1.4rem;
  color: #929292;
}
@media screen and (max-width:680px) {
  .member-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* 実績一覧 */
.post-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}
.st-article a {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto;
}
.st-article_img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  overflow: hidden;
  border: 1px solid #0C1E84;
  border-radius: 10px;
}
.st-article_title {
  font-size: 2rem;
}
.st-article_contents {
  margin-top: 0.5rem;
}
@media screen and (max-width:980px) {
  .st-article_contents {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:680px) {
  .post-list {
    gap: 3rem;
    grid-template-columns: 1fr;
  }
  .st-article_title {
    font-size: 1.6rem;
  }
}