@charset "UTF-8";
/* Page styles */

#contents {
  justify-content: center;
}

.page #contents {
  max-width: 100%;
}

body:not(.page-child) .ttl-page {
  text-align: center;
  color: #fff;
  padding: 20px;
  margin-bottom: 80px;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.single-anshin_mail #contents .ttl-page,
#contents.newspage .ttl-page {
  margin-bottom: 20px;
}

.single-anshin_mail #contents .ttl-area,
#contents.newspage .ttl-area {
  min-height: 0;
  margin-bottom: 0;
}

.single-anshin_mail #contents time {
  font-size: 16px;
  margin-bottom: 20px;
}

.single-anshin_mail #contents .cat {
  display: none;
}

.single-anshin_mail #contents .content {
  font-size: 18px;
  line-height: 1.666;
  padding-inline: 0;
}

.tax-news_category #contents .ttl-area {
  margin-bottom: 40px;
}

body:not(.page-child) .ttl-page:before {
  content: "";
  background: rgb(81 74 151 / 80%);
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  z-index: -1;
}

body:not(.page-child) .ttl-page:after {
  content: "";
  background: url(img/lower_ttl_pc.jpg)no-repeat center;
  background-size: cover;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  z-index: -2;
}

body:not(.page-child).post-type-archive-news .ttl-page:after,
body:not(.page-child).single-news .ttl-page:after {
  background-image: url(img/news_ttl_pc.jpg);
}

body:not(.page-child).post-type-archive-news .news-filter-recruit .ttl-page:after,
body:not(.page-child).tax-news_category .term-recruit .ttl-page:after,
body:not(.page-child).single-news .news-category-recruit .ttl-page:after {
  background-image: url(img/news_ttl_recruit_pc.jpg);
}

body:not(.page-child).post-type-archive-news .news-filter-product .ttl-page:after,
body:not(.page-child).tax-news_category .term-product .ttl-page:after,
body:not(.page-child).single-news .news-category-product .ttl-page:after {
  background-image: url(img/news_ttl_product_pc.jpg);
}
/*
 * ニュースカテゴリ別ページヘッダーの画像差し替え用セレクタ
 * お知らせ：.news-filter-notice / .news-category-notice
 * 採用情報：.news-filter-recruit / .term-recruit / .news-category-recruit
 * 商品情報：.news-filter-product / .term-product / .news-category-product
 */

#contents.company .ttl-page:after {
  background-image: url(img/company_ttl_pc.jpg);
}

body.archive .ttl-page {
  margin-bottom: 0;
}

body.archive .ttl-area:after {
  content: none;
}

.ttl-area {
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
  margin-bottom: 80px;
  min-height: 220px;
  /* padding-left: 10px; */
}

.ttl-area.no-desc {
  min-height: 80px;
}

.level3.ttl-area:after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: auto;
  right: -140px;
  background: var(--page-header-image, url(img/company/default_mv.jpg)) no-repeat;
  background-size: cover;
  width: 100%;
  max-width: 640px;
  height: auto;
  z-index: -1;
  aspect-ratio: 2 / 0.75;
  object-fit: cover;
}

@media screen and (min-width: 881px) {
  .level3.ttl-area {
    min-height: clamp(220px, calc(22vw - 40px), 260px);
    margin-bottom: 0px;
  }

  .level3.ttl-area::after {
    top: -80px;
    right: 0;
    bottom: auto;
    width: min(44vw, 600px);
    max-width: 600px;
    height: min(22vw, 300px);
    max-height: 300px;
    aspect-ratio: 2 / 1;
    background-size: contain;
    background-position: top center;
  }

  .level3.ttl-area.is-default-page-header-image::after {
    right: clamp(-140px, calc((100vw - 1000px) / -2), 0px);
  }
}

.page .ttl-area .ttl-page {
  font-size: 48px;
  margin-bottom: 20px;
}

.wp-singular .ttl-page {}

.ttl-area .page-excerpt {
  max-width: 400px;
  width: 50%;
}
/* 「KASOKEI あんぜん教室」ページ */

.page.page-id-8251 .ttl-area .ttl-page {
  font-size: 30px;
}

.page.page-id-8251 .ttl-area .page-excerpt {
  max-width: none;
  width: 100%;
  margin-bottom: 24px;
  padding-inline: 20px;
  text-align: left;
}

@media screen and (min-width: 881px) {
  .page.page-id-8251 .ttl-area .ttl-page {
    font-size: 40px;
  }

  .page.page-id-8251 .ttl-area .page-excerpt {
    max-width: 460px;
    margin-bottom: 40px;
    padding-inline: 0;
  }
}

.post-type-archive-anshin_mail .ttl-area {
  margin-bottom: 30px;
}

.post-type-archive-anshin_mail .ttl-area .page-excerpt {
  max-width: 100%;
  width: 100%;
  line-height: 2;
  margin-top: 40px;
  text-align: left;
  padding-inline: 20px;
}

@media screen and (max-width: 767px) {
  body:not(.page-child) .ttl-page {
    aspect-ratio: 72/42;
  }

  body:not(.page-child) .ttl-page:after {
    background: url(img/lower_ttl_sp.jpg)no-repeat center;
    background-size: cover;
    background-position: center;
  }

  body:not(.page-child).post-type-archive-news .ttl-page:after,
  body:not(.page-child).single-news .ttl-page:after {
    background-image: url(img/news_ttl_sp.jpg);
  }

  body:not(.page-child).post-type-archive-news .news-filter-recruit .ttl-page:after,
  body:not(.page-child).tax-news_category .term-recruit .ttl-page:after,
  body:not(.page-child).single-news .news-category-recruit .ttl-page:after {
    background-image: url(img/news_ttl_recruit_sp.jpg);
  }

  body:not(.page-child).post-type-archive-news .news-filter-product .ttl-page:after,
  body:not(.page-child).tax-news_category .term-product .ttl-page:after,
  body:not(.page-child).single-news .news-category-product .ttl-page:after {
    background-image: url(img/news_ttl_product_sp.jpg);
  }

  #contents.company .ttl-page:after {
    background-image: url(img/company_ttl_sp.jpg);
  }

  .ttl-area.no-desc {
    min-height: 0;
    /* width: 100%; */
    margin-bottom: 30px;
  }
}

#main {
  width: 100%;
}

#bc {
  max-width: 1000px;
  margin-inline: auto;
}

.content {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 20px;
  margin-bottom: 120px;
}

.content p,
.content li,
.content dl > * {
  font-size: 18px;
  line-height: 1.666;
}

.content > p {
  margin-bottom: 20px;
}

.single .content > p {
  margin-bottom: 50px;
}

.wp-block-image {
  margin-bottom: 30px;
}

.organization-img img {
  max-height: calc(100vh - 300px);
}
/* ライトボックス */

.js-lightbox img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .85);
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.is-video-lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .85);
}

.video-lightbox__player {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.card-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
}

.product-list.card-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.product-list.card-list .card-item {
  flex-basis: calc((100% / 2) - 40px);
  margin-bottom: 20px;
  max-width: 460px;
}

@media screen and (max-width: 880px) {
  .ttl-area {
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .ttl-area .ttl-page {
    text-align: center;
    padding-inline: 20px;
  }

  .ttl-area:after {
    position: static!important;
    display: block;
    margin: auto;
    aspect-ratio: 2/1!important;
  }

  .level3.ttl-area.is-sp-page-header-image-hidden {
    min-height: 0;
    margin-bottom: 0;
  }

  .level3.ttl-area.is-sp-page-header-image-hidden::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .card-list .card-ttl {
    font-size: 23px;
  }

  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-list.card-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }

  .product-list.card-list .card-item {
    flex-basis: calc((100% / 1) - 40px);
    margin-inline: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 650px) {
  #contents.company .card-list:not(.card-list--single-button) > .card-link {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #contents.company .card-list:not(.card-list--single-button) .card-item {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .card-list {
    grid-template-columns: 1fr;
  }
}

.card-list .card-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.recruit-card .card-img img {
  width: 100%;
  height: auto;
}

.card-list .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.card-img {
  aspect-ratio: 308 / 180;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f3f8;
}

.card-img img {
  width: auto;
  height: 80px;
}

.card-txt-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.card-ttl {
  margin: 0 0 15px;
  font-size: 27px;
  line-height: 1.4;
  padding-left: 0;
}

.card-ttl:before {
  content: none;
}

.card-txt {
  flex: 1;
  margin: 0 0 20px;
  line-height: 1.8;
  color: #555;
}

.card-btn {
  margin-top: auto;
}

.card-btn-text,
.card-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;
  background: var(--blue);
  color: #fff;
  display: flex;
  font-size: 15px;
  position: relative;
}

.card-btn-text:after,
.card-btn a:after {
  content: "";
  padding: 16px;
  background: url(img/btn_off.svg)no-repeat center;
  /* position: absolute; */
  right: 40px;
  margin-left: 10px;
  margin-right: -10px;
}

.card-link {
  text-decoration: none;
}

.card-link:hover {
  opacity: 1;
  text-decoration: none;
}

.card-link:hover .card-btn-text,
.card-btn a:hover {
  opacity: 1;
  background: var(--yellow);
  color: #333;
}

.card-btn a:hover:after {
  background-image: url(img/btn_on.svg);
}

.card-list.card-list--single-button,
.card-list--single-button .card-list {
  grid-template-columns: 1fr;
  margin: auto;
}

.card-list--single-button .card-link {
  display: block;
}

.card-list--single-button .card-link:hover .card-item,
.card-list--single-button .card-link:focus-visible .card-item {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.card-list--single-button .card-img {
  width: 100%;
  aspect-ratio: auto;
  padding: 40px 40px 0;
  background: none;
}

.card-list.card-list--single-button {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 480px) {
  .card-list.card-list--single-button,
  .card-list--single-button .card-list {
    max-width: 100%;
  }

  .card-list--single-button .card-item {
    min-height: 0;
    border-radius: 12px;
  }

  .card-list--single-button .card-img {
    width: 100%;
    padding: 30px 20px 0;
  }

  .card-list--single-button .card-img img {
    width: 100%;
    height: auto;
  }

  .card-list--single-button .card-txt-box {
    padding: 18px;
  }

  .card-list--single-button .card-txt-box:after {
    right: 18px;
  }

  .card-list--single-button .card-ttl {
    font-size: 18px;
  }
}

h2.wp-block-heading {
  font-size: 30px;
  border-bottom: solid 2px var(--blue);
  padding-left: 28px;
  margin-bottom: 28px;
  position: relative;
  background: none;
  color: #333;
  font-weight: bold;
}

h2.wp-block-heading:after {
  content: none;
}

h2.wp-block-heading:before {
  content: "";
  padding: 7px;
  background: url(img/ttl_icon.svg)no-repeat center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.wp-block-flexible-table-block-table {
  font-size: 18px;
}

#main .wp-block-flexible-table-block-table tr > * {
  padding: 20px 10px;
  border-inline: none!important;
  border-color: #dfdfe1;
}

#main .wp-block-flexible-table-block-table th {
  font-weight: normal;
  text-align: center;
  background: #f5f6fa;
}

#contents.company .card-btn a {
  min-width: 140px;
}

#contents.company .card-list:not(.card-list--single-button) .card-link {
  display: block;
  height: 100%;
  color: inherit;
  opacity: 1;
}

#contents.company .card-list:not(.card-list--single-button) .card-link:hover,
#contents.company .card-list:not(.card-list--single-button) .card-link:focus-visible {
  opacity: 1;
}

#contents.company .card-list:not(.card-list--single-button) .card-link:focus-visible {
  outline: 3px solid #53489b;
  outline-offset: 3px;
}

#contents.company .card-list:not(.card-list--single-button) .card-link:focus-visible .card-item {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

#contents.company .card-list:not(.card-list--single-button) .card-btn-text {
  min-width: 140px;
}

#contents.company .card-list:not(.card-list--single-button) .card-link:hover .card-btn-text,
#contents.company .card-list:not(.card-list--single-button) .card-link:focus-visible .card-btn-text {
  opacity: 1;
  background: var(--yellow);
  color: #333;
}

#contents.company .card-list:not(.card-list--single-button) .card-link:hover .card-btn-text::after,
#contents.company .card-list:not(.card-list--single-button) .card-link:focus-visible .card-btn-text::after {
  background-image: url(img/btn_on.svg);
}

@media screen and (min-width: 768px) {
  #main .wp-block-flexible-table-block-table tr > *:nth-child(2) {
    padding-left: 50px;
  }

  #main .wp-block-flexible-table-block-table th:first-child {
    width: 200px;
  }

  .recruit-page .wp-block-button,
	.recruit-page .btn {
    width: 500px;
  }

  .recruit-content table .btn {
    width: auto;
  }
}

#main .wp-block-flexible-table-block-table a {
  text-decoration: none;
  color: var(--blue);
  border-bottom: solid 1px;
}

.related-page-links {
  max-width: 1000px;
  margin: 80px auto;
  padding-block: 70px;
  padding-inline: clamp(1.25rem, -2.935rem + 17.86vw, 5.625rem);
  border-block: solid 1px #d1d3d7;
}

.related-page-links-title {
  margin-bottom: 20px;
  /* font-size: 30px; */
  /* border-bottom: solid 2px var(--blue); */
  /* padding-left: 28px; */
  /* margin-bottom: 28px; */
  /* position: relative; */
}

.related-page-links-title:before {
  /* content: ""; */
  /*padding: 7px;
  background: url(img/ttl_icon.svg) no-repeat center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;*/
}

.related-page-link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.related-page-link-button {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 44px 16px 18px;
  border: 1px solid #d7d9e6;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  /* box-shadow: 0 4px 12px rgba(0,0,0,.06); */
  transition: .3s;
}

.related-page-link-button:after {
  content: "";
  width: 10px;
  height: 10px;
  background: url(img/rel_arrow.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.related-page-link-button:hover {
  border-color: var(--blue);
  color: var(--blue);
  /*box-shadow: 0 8px 24px rgba(0,0,0,.12);*/
  /*transform: translateY(-2px);*/
  opacity: 1;
}

.related-page-link-button span {
  border-bottom: solid 1px transparent;
  transition: .3s;
}

.related-page-link-button:hover span {
  border-bottom: solid 1px var(--blue);
}

.related-page-link-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .related-page-link-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .related-page-link-list {
    grid-template-columns: 1fr;
  }
}

p.groupBtn {
  margin-bottom: 0;
}

.groupBtn a {
  /* background: #ffd766; */
  font-size: 14px;
  font-weight: bold;
  padding: 1rem;
  display: inline-block;
  margin-bottom: 1rem;
  border: solid 1px #c1bedf;
  color: var(--blue);
  text-decoration: none;
}

.groupBtn a span {
  transition: .3s;
  border-bottom: solid 1px transparent;
}

.groupBtn a:hover {
  opacity: 1;
}

.groupBtn a:hover span {
  border-bottom: solid 1px var(--blue);
}

.groupBtn a:after {
  content: "";
  background: url(img/new_tab_p.svg) no-repeat center;
  padding: 10px;
  margin-left: 4px;
}

.groupBtn a img {
  display: none;
}

.groupBtn.btn2 a {
  /* background:#fff77f; */
}

.groupBtn a img {
  height: 1rem;
  margin-left: 0.2rem;
}

.job_text {
  margin-bottom: 30px;
}

.job-box .btn {
  max-width: 240px;
}

.job-box .btn a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.job-box .btn img {
  height: 40px;
  margin-right: 10px;
}

.business-job {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.business-job__image img {
  display: block;
  width: 100%;
  height: auto;
}

.business-job__spacer {
  height: 40px;
}

@media screen and (max-width: 767px) {
  .business-job {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-job__image {
    width: 100%;
    margin-inline: auto;
  }
}

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

.brand_page .small_box p {
  line-height: 2;
}

.brand_page .logo_box {
  display: flex;
  align-items: center;
}

.brand_page .logo_box .brand_logo {
  flex-basis: calc(40% - 20px);
  margin-left: 0;
  margin-right: auto;
  text-align: center;
}

.brand_logo img {
  max-height: 100px;
}

.brand_page .logo_box .brand_box {
  flex-basis: 60%;
}

.brand_page .logo_box.column {
  flex-direction: column;
  margin-bottom: 40px;
  align-items: flex-start;
}

.brand_page .logo_box.column h5 {
  font-size: 110%;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.brand_page .logo_box.column .brand_logo {
  flex-basis: 100%;
  margin-inline: auto;
  padding: 60px 0;
  width: 100%;
  box-sizing: border-box;
}

.brand_page .logo_box.column .brand_logo img {
  width: 100%;
  max-height: 200px;
  max-width: 500px;
}

.brand_page .logo_box.column .brand_logo.logo2 {
  padding: 20px;
}

.brand_page .logo_box.column .brand_logo.logo2 img {
  max-height: 300px;
}

.brand_page .logo_box.column .brand_box {
  flex-basis: 100%;
  width: 100%!important;
}

#sp_contener .brand_page .logo_box.column .brand_logo img {
  max-height: 130px;
}

#sp_contener .brand_page .logo_box.column .brand_logo.logo2 img {
  max-height: 200px;
}

.brand_img_margin {
  margin-bottom: 30px;
}

.brand_box {
  width: 550px;
  height: 100%;
  text-align: left;
  font-size: .9rem;
  line-height: 2;
  letter-spacing: .09em;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
}

.brand_box ul {
  width: 100%;
  height: 100%;
  background: #e1e2e3;
  padding: 10px 0 10px 28px;
  box-sizing: border-box;
  margin: 20px 0;
}

.center.concept {
  font-weight: bold;
  font-size: 1.875rem;
  margin-bottom: 30px;
}

.brand_page .brand-slogan {
  margin: 56px 0 42px;
  line-height: 1.5;
}

.brand_page .brand-statement p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.25;
}

@media screen and (max-width: 767px) {
  .brand_page .brand-slogan {
    margin: 40px 0 32px;
    font-size: 24px;
  }

  .brand_page .brand-statement p {
    font-size: 15px;
    line-height: 2.1;
  }
}

article h2 {
  position: relative;
  font-size: 30px;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: normal;
}

article h2::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 70 / 54;
  background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  max-height: 40px;
}

article h3,.year-title {
  font-size: 24px;
  padding-left: 30px;
  position: relative;
  margin-bottom: 24px;
}

article h3:before,.year-title:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
  background: url(img/h3_icon.svg)no-repeat center left;
}

.post article h3 {
  padding-left: 0;
  margin-bottom: 0;
}

.post article h3:before {
  content: none;
}

article h4 {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--blue);
}

article h5 {
  font-size: 18px;
  padding-left: 24px;
  margin-bottom: 10px;
  position: relative;
}

article h5:before {
  content: "";
  width: 12px;
  height: 2px;
  background: #333;
  position: absolute;
  margin: auto;
  left: 0;
  top: 0;
  bottom: 0;
}

@media screen and (max-width: 767px) {
  .wp-block-spacer {
    max-height: 40px;
  }

  .ttl-area .ttl-page {
    font-size: 35px;
  }

  .ttl-area.level4 .ttl-page {
    font-size: 24px;
  }

  .single article .content {
    padding-inline: 0;
  }

  .content p,.content table tr > * {
    font-size: 16px;
  }

  h2.wp-block-heading {
    font-size: 28px;
  }

  .page .ttl-area .ttl-page {
    font-size: 35px;
  }

  .archive #main,
	aside {
    padding-inline: 20px;
  }

  .archive .post {
    margin-bottom: 80px;
  }

  .post article {
    flex-direction: column;
  }

  .post article time {
    margin-bottom: 10px;
  }

  article h2 {
    font-size: 24px;
  }

  article h2::after {
    /* aspect-ratio: 0.75/1; */
    height: 50%;
    z-index: 0;
  }
}

.post + .pgn {
  margin-block: 70px;
}

article h5:before {
  content: "";
  width: 12px;
  height: 2px;
  background: #333;
  position: absolute;
  margin: auto;
  left: 0;
  top: 0;
  bottom: 0;
}

.goal {
  border: solid 1px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.mana_text {
  width: auto;
}

.management-certification-row {
  display: flex;
}

.management-spacer {
  height: 70px;
}

.management-certification-logo--sp {
  display: none;
}

@media screen and (min-width: 768px) {
  .management-certification-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
  }

  .management-certification-row > .management-certification-content {
    flex: 1 1 66.66% !important;
  }

  .management-certification-row > .management-certification-logo {
    flex: 0 0 33.33% !important;
    width: auto;
  }

  .management-certification-logo > div {
    margin: 0;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .wp-block-columns.reverse {
    flex-direction: column-reverse;
  }

  .management-certification-logo--sp {
    display: block;
    margin: 0 0 24px;
    text-align: center;
  }

  .management-certification-logo--sp figure {
    margin: 0 auto;
  }

  .management-certification-row {
    flex-direction: column;
    gap: 24px;
  }

  .management-certification-row > .management-certification-content,
	.management-certification-row > .management-certification-logo {
    flex-basis: 100% !important;
    width: 100%;
  }

  .management-certification-logo {
    display: none;
  }

  .management-certification-logo figure {
    margin: 0 auto;
  }

  .management-certification-logo > div {
    margin: 0;
    text-align: center;
  }

  .management-spacer {
    height: 40px;
  }
}

.year-group {
  margin-bottom: 40px;
}

.recruit-page .wp-block-column span {}

@media screen and (max-width: 767px) {
  .content p,
  .content li,
  .content .mana_text > dt,
  .content .mana_text > dd {
    font-size: 16px;
  }

  .wp-block-spacer {
    max-height: 40px;
  }
}

.mamorunosuke-lp {
  background: #fff;
  color: #1f2933;
  overflow: hidden;
}

.mamorunosuke-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.mamorunosuke-inner {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

#contents.mamorunosuke-lp {
  padding-top: 0;
}

.mamorunosuke-hero {
  padding: 56px 0 42px;
  /*background:
    linear-gradient(180deg, rgba(239, 203, 0, 0.22), rgba(255, 255, 255, 0) 58%),
    #fff;*/
  text-align: center;
}

.mamorunosuke-title {
  margin: 0 auto 24px;
  padding: 0;
  background: none;
}

.mamorunosuke-title::before,
.mamorunosuke-title::after {
  content: none;
}

.mamorunosuke-title img,
.mamorunosuke-character img,
.mamorunosuke-movie-heading img {
  margin-inline: auto;
}

.mamorunosuke-character {
  margin-top: 8px;
}

.mamorunosuke-movie {
  padding: 52px 0 72px;
  text-align: center;
}

.mamorunosuke-section-title {
  margin: 0 0 28px;
  padding: 0;
  background: none;
  color: #514a97;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.45;
}

.mamorunosuke-section-title::before,
.mamorunosuke-section-title::after {
  content: none;
}

.mamorunosuke-movie-heading {
  margin-bottom: 28px;
}

.mamorunosuke-youtube {
  width: min(100%, 900px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.mamorunosuke-youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mamorunosuke-cm-song {
  margin-top: 34px;
}

.mamorunosuke-cm-song h3 {
  margin: 0 0 18px;
  padding: 0;
  background: none;
  color: #1f2933;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}

.mamorunosuke-cm-song h3::before,
.mamorunosuke-cm-song h3::after {
  content: none;
}

.mamorunosuke-cm-song .btn {
  margin: 0 auto;
}

.mamorunosuke-cm-song .btn a {
  min-width: 260px;
}

@media screen and (max-width: 767px) {
  .mamorunosuke-inner {
    width: min(100% - 32px, 980px);
  }

  .mamorunosuke-hero {
    padding: 34px 0 30px;
  }

  .mamorunosuke-movie {
    padding: 38px 0 52px;
  }

  .mamorunosuke-title {
    margin-bottom: 18px;
  }

  .mamorunosuke-movie-heading {
    margin-bottom: 20px;
  }
}
/**/
/* パーツ全体のコンテナ */

.intro-reward-box {
  width: 100%;
  max-width: 900px;
  /* 画像の比率に合わせた最大幅 */
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 40px;
  box-sizing: border-box;
  font-family: "メイリオ", Meiryo, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
/* ヘッダー部分（タイトルと線・リボン） */

.intro-reward-header {
  position: relative;
  padding-bottom: 25px;
  /* 線とテキストの余白 */
  margin-bottom: 15px;
}
/* タイトルテキスト */

.intro-reward-title {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 300;
  /* 画像に合わせた細めのウェイト */
  color: #111;
  letter-spacing: 0.05em;
  background: no-repeat;
  padding: 0;
}

.intro-reward-title:after {
  content: none;
}
/* ピンクの横線 */

.intro-reward-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  /* 線の太さ */
  background-color: #e54d80;
  /* 画像から抽出したピンク */
}
/* 右側のリボン（SVG）の配置 */

.mizuhiki-ribbon {
  position: absolute;
  right: -10px;
  bottom: -22px;
  /* 線の位置に合わせて微調整 */
  width: 90px;
  /* リボンのサイズ */
  height: auto;
  overflow: visible;
}
/* 本文テキスト */

.intro-reward-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #222;
  text-align: justify;
  /* 両端揃えで綺麗に */
  letter-spacing: 0.03em;
}
/* スマホ対応（画面が狭い時用の微調整） */

@media (max-width: 480px) {
  .intro-reward-title {
    font-size: 20px;
  }

  .mizuhiki-ribbon {
    width: 70px;
    bottom: -17px;
  }

  .intro-reward-text {
    font-size: 13px;
  }
}
/* 2連カードのレイアウトコンテナ */

.intro-reward-details {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin: 20px auto 40px auto;
  box-sizing: border-box;
  font-family: "メイリオ", Meiryo, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
/* 共通のカードスタイル */

.intro-reward-card {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #fffcf0 0%, #fff7d6 100%);
  border: 1px solid #faeeb6;
  border-radius: 12px;
  padding: 15px 18px 20px 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}
/* 左上のピンクの斜めリボンバナー */

.intro-reward-card-badge {
  position: absolute;
  top: 10px;
  left: -35px;
  width: 120px;
  height: 16px;
  background-color: #e54d80;
  transform: rotate(-45deg);
}
/* カードの見出し */

.intro-reward-card-title {
  margin: 0 0 15px 15px;
  font-size: 24px;
  /* font-weight: normal; */
  color: #111;
  letter-spacing: 0.1em;
  padding: 0;
  margin-top: 10px;
  margin-left: 20px;
}

.intro-reward-card-title:before {
  content: none;
}
/* カード内部のコンテンツエリア */

.intro-reward-card-content {
  position: relative;
  height: calc(100% - 40px);
}
/* リストの基本スタイル */

.intro-reward-list, .intro-reward-list-mini {
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-reward-list li {
  position: relative;
  /* padding-left: 15px; */
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  margin-bottom: 12px;
}
/* 文頭の■を再現 */

.intro-reward-list li::before {
  /*content: "■";*/
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
}
/* 対象商品の補足テキスト */

.intro-reward-card-subtext {
  margin: 5px 0 15px 0;
  font-size: 15px!important;
  color: #444;
  line-height: 1.4;
}
/* 対象とならないケースの小見出し */

.intro-reward-card-subtitle {
  margin: 15px 0 5px 0;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}
/* 対象とならないケースのリスト */

.intro-reward-list-mini li {
  position: relative;
  padding-left: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 4px;
}

.intro-reward-list-mini li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
}
/* 対象商品の太字強調 */

.intro-reward-list-bold {
  font-weight: bold;
}
/* --- 左カード専用：ギフトカード風の簡易装飾 --- */

.intro-reward-giftcard-deco {
  position: absolute;
  right: -5px;
  bottom: 20px;
  width: 120px;
  background: #fff;
  border: 1px solid #ffd0e0;
  border-radius: 4px;
  padding: 8px 5px;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
  transform: rotate(-5deg);
}

.intro-reward-giftcard-amount {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #e54d80;
  line-height: 1;
}

.intro-reward-giftcard-label {
  display: block;
  font-size: 10px;
  background-color: #e54d80;
  color: #fff;
  padding: 1px 2px;
  border-radius: 2px;
  margin: 5px 0;
}

.intro-reward-giftcard-box {
  font-size: 11px;
  font-style: italic;
  color: #e54d80;
  font-family: Georgia, serif;
}
/* --- 全体の最下部：注意書き --- */

.intro-reward-footer-note {
  width: 100%;
  max-width: 680px;
  margin: 10px auto 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 12px;
  color: #333;
  font-family: sans-serif;
}
/* --- スマホ対応 --- */

@media (max-width: 600px) {
  .intro-reward-details {
    flex-direction: column;
    padding: 0 20px;
  }

  .intro-reward-card {
    width: 100%;
  }

  .intro-reward-giftcard-deco {
    position: relative;
    margin-top: 15px;
    float: right;
    bottom: 0;
    right: 0;
  }
}

.search-list {
  margin-bottom: 80px;
}

.search-list li {
  margin-top: 20px;
}

.search .pgn {
  margin-bottom: 80px;
}
/*あんしん教室*/
/* ==========================================================================
   データテーブル・定義リスト（概要や実績、問い合わせ先）
   LPの「機能紹介」や「FAQ」のカードに合わせたクリーンなグレー＆ホワイト
   ========================================================================== */

.initiative .content_title_middle {
  margin-bottom: 40px;
}

.initiative .square_box.ipc_info {
  display: grid;
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0 !important;
  background-color: #ffffff;
}

.initiative .square_box.ipc_info dt {
  grid-column: 1;
  background-color: #f5f6fa;
  padding: 15px 20px;
  font-weight: bold;
  /* font-size: 13px; */
  color: #333;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  width: 200px;
}

.initiative .square_box.ipc_info dd {
  grid-column: 2;
  padding: 15px 20px;
  color: #555;
  border-bottom: 1px solid #e2e8f0;
  margin: 0 !important;
  width: calc(100% - 200px);
}
/* 実績欄の中のリスト */

.initiative .square_box.ipc_info dd ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.initiative .square_box.ipc_info dd ul li {
  margin-bottom: 5px;
  font-weight: bold;
  color: #4e4699;
  /* 数値情報をブランドカラーに */
}
/* お問い合わせのリンク装飾 */

.initiative .square_box.ipc_info dd a {
  color: #4e4699;
  font-weight: bold;
  text-decoration: underline;
}

.initiative .square_box.ipc_info dd a:hover {
  text-decoration: none;
}

.initiative .pers_text,
.initiative .anshin_j,
.initiative .small_box_b {
  margin-bottom: 30px;
}

.initiative .etc_list_ma {
  list-style: none;
}

.initiative img.align-center {
  margin-inline: auto;
  display: block;
}

.initiative .etc_list_ma.cols {
  margin-top: 40px;
}

.initiative .etc_list_ma a {
  color: var(--blue);
}
/* ==========================================================================
   レスポンシブ対応（スマホ・タブレット表示の最適化）
   ========================================================================== */

@media (max-width: 768px) {
  .initiative .float_l,.initiative .float_r {
    float: none !important;
    width: 100% !important;
  }

  .initiative .square_box.ipc_info dt {}

  .initiative .etc_ul.etc_list_ma {
    grid-template-columns: 1fr;
  }

  .initiative .square_box.ipc_info {
    grid-template-columns: 1fr;
    border-right: 1px solid #e2e8f0;
  }

  .initiative .square_box.ipc_info dt {
    grid-column: auto;
    /* background-color: #4e4699; */
    /* color: #ffffff; */
    padding: 8px 15px;
    /* border-bottom: none; */
    width: 160px;
  }

  .initiative .square_box.ipc_info dd {
    grid-column: auto;
    padding: 15px;
  }
}

@media screen and (min-width: 768px) {
  .initiative .etc_list_ma.cols {
    display: flex;
    gap: 20px;
    margin-top: 40px;
  }

  .initiative .etc_list_ma.cols li {
    flex-basis: 100%;
  }
}
/* ==========================================================================
   よくある質問（FAQ）スタイル
   ========================================================================== */

.faq-section {
  max-width: 1000px;
  margin: 4rem auto;
  /* padding: 0 20px; */
}
/* カテゴリごとのブロック */

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-ttl {
  font-size: 20px;
  /* コーポレートカラー系 */
  padding-left: 15px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.faq-list {
  margin: 0;
  padding: 0;
}
/* 質問と回答の1ペア */

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
/* 質問（Q） */

.faq-q {
  position: relative;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  background: #f8fafc;
  padding: 18px 50px 18px 50px;
  margin: 0;
  cursor: pointer;
  /* クリック可能にする場合 */
}
/* Qの頭文字アイコン */

.faq-q::before {
  content: "Q.";
  position: absolute;
  left: 20px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}
/* 右側のプラスマイナス等の矢印（必要に応じて） */

.faq-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #94a3b8;
  border-right: 2px solid #94a3b8;
  transform: translateY(-70%) rotate(45deg);
}
/* 回答（A） */
/* ==========================================================================
   よくある質問（FAQ）絶対崩れないシンプル版
   ========================================================================== */

.faq-a {
  position: relative;
  background: #fff;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  /* 初期状態：完全に非表示（隙間も一切生まれません） */
  display: none;
  /* 正しいパディングをはじめから指定 */
  padding: 18px 20px 18px 50px;
  box-sizing: border-box;
}
/* 質問が開いている（.is-open）ときだけ表示し、上線をつける */

.faq-item.is-open .faq-a {
  display: block;
  border-top: 1px solid #e2e8f0;
}

.faq-a p {
  margin: 0;
  padding: 0;
}
/* A. のアイコン位置 */

.faq-a::before {
  content: "A.";
  position: absolute;
  left: 20px;
  top: 18px;
  color: #e28c00;
  font-size: 18px;
  font-weight: 900;
}
/* 矢印（＞）のアニメーションだけは残して心地よさをキープ */

.faq-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #94a3b8;
  border-right: 2px solid #94a3b8;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}
/* 開いた時に矢印を上に向ける */

.faq-item.is-open .faq-q::after {
  transform: translateY(-20%) rotate(-135deg);
}
/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
  .faq-a {
    font-size: 14px;
    padding: 15px 15px 15px 40px;
    /* スマホ用に余白を最適化（文字切れの心配なし） */
  }

  .faq-a::before {
    left: 15px;
    top: 15px;
  }
}
/* フォームへのインラインリンク */

.faq-link {
  display: inline-block;
  color: var(--blue);
  /* font-weight: bold; */
  text-decoration: underline;
  margin-left: 8px;
}

.faq-link:hover {
  color: #0c2b66;
}
/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
  .faq-category-ttl {
    font-size: 18px;
  }

  .faq-q {
    font-size: 15px;
    padding: 15px 40px 15px 40px;
  }

  .faq-q::before {
    left: 15px;
  }

  .faq-a {
    font-size: 14px;
    padding: 15px 15px 15px 40px;
  }

  .faq-a::before {
    left: 15px;
    top: 13px;
  }
}

#form-entry .contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 20px;
  background-color: #ffffff;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  text-align: center;
  box-sizing: border-box;
  color: #333333;
}
/* 見出し共通 */

#form-entry .contact-title-main {
  margin: 0 0 20px 0;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #333;
  background: none;
}

#form-entry .contact-title-main:after {
  content: none;
}

#form-entry .contact-title-sub {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.05em;
}
/* メインのフリーダイヤル */

#form-entry .tel-main-box {
  margin-bottom: 5px;
}

#form-entry .tel-main-link {
  font-size: 52px;
  font-weight: bold;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
/* 受付時間 */

#form-entry .contact-time {
  margin-bottom: 35px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
/* 夜間・土日祝の電話番号 */

#form-entry .tel-sub-box {
  margin-bottom: 35px;
}

#form-entry .tel-sub-link {
  font-size: 38px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  line-height: 1.1;
}
/* お問い合わせフォームボタン */

#form-entry .btn-form-box {
  margin-bottom: 10px;
}

#form-entry .btn-form-link {
  display: inline-block;
  width: 100%;
  max-width: 440px;
  padding: 18px 0;
  background-color: var(--blue);
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: opacity 0.2s;
}

#form-entry .btn-form-link:hover {
  opacity: 0.8;
}
/* 📱 スマホ用のレスポンシブ微調整 */

@media screen and (max-width: 480px) {
  #form-entry .contact-title-main {
    font-size: 20px;
  }

  #form-entry .tel-main-link {
    font-size: 38px;
  }

  #form-entry .contact-title-sub {
    font-size: 16px;
  }

  #form-entry .tel-sub-link {
    font-size: 28px;
  }

  #form-entry .btn-form-link {
    font-size: 20px;
    padding: 14px 0;
  }
}
/*取り組み*/
/* --- 全体のコンテナ --- */

.kasokei-nav-container {
  display: flex;
  flex-direction: column;
  gap: 70px;
  /* 各行の間隔 */
  max-width: 950px;
  /* 全体の最大幅 */
  margin: 0 auto;
  padding: 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
/* --- 各行のボックス（今回はリンクではない通常のプレーンなdiv） --- */

.kasokei-nav-row {
  display: flex;
  align-items: center;
  gap: 40px;
  /* 画像とテキストの間隔 */
}
/* --- 左側：画像ブロック --- */

.kasokei-nav-img-wrap {
  flex: 0 0 35%;
  /* 画像エリアの幅を35%に固定 */
  min-width: 260px;
}

.kasokei-nav-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #1a3144;
  /* 画像の細い紺色のフチ */
  object-fit: cover;
}
/* --- 右側：テキスト・ボタンブロック --- */

.kasokei-nav-content {
  flex: 1;
  /* 残りの幅をすべて使用 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kasokei-nav-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #000000;
}

.kasokei-nav-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: #333333;
}
/* --- もっと見るボタン (.btn a と同等のスタイル) --- */

.btn-txt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;
  background: var(--blue);
  color: #fff;
  display: flex;
  font-size: 15px;
  position: relative;
  max-width: 300px;
  width: 100%;
  margin-inline: auto;
}
/* ボタン右側の矢印アイコン */

.btn-txt:after {
  content: "";
  padding: 16px;
  background: url(img/btn_off.svg) no-repeat center;
  right: 40px;
  margin-left: 10px;
  margin-right: -10px;
}
/* ボタン自体にホバーしたときの挙動 */

.btn-txt:hover {
  opacity: 1;
  background: var(--yellow);
  border-color: var(--yellow);
  color: #333;
}

.btn-txt:hover:after {
  background-image: url(img/btn_on.svg);
}
/* --- レスポンシブ対応（タブレット・スマホ用） --- */

@media (max-width: 768px) {
  .kasokei-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .kasokei-nav-img-wrap {
    width: 100%;
    flex: none;
  }
}
/* ==========================================================================
   旧 custom-html-inline-styles.css 統合分　第三者認証ページ
   ========================================================================== */

.kasokei-inline-1055-1 {
  width: 100%;
  height: 409px;
}

.kasokei-inline-1055-2 {
  height: 152px;
}

.kasokei-inline-1055-3 {
  min-width: 110px;
  height: 152px;
  width: 20.8024%;
}

.kasokei-inline-1055-4 {
  height: 152px;
  width: 79.049%;
}

.kasokei-inline-1055-5,
.kasokei-inline-1055-9,
.kasokei-inline-1055-12,
.kasokei-inline-1055-18 {
  height: 42px;
}

.kasokei-inline-1055-6,
.kasokei-inline-1055-10,
.kasokei-inline-1055-13,
.kasokei-inline-1055-19 {
  height: 42px;
  width: 20.8024%;
}

.kasokei-inline-1055-7,
.kasokei-inline-1055-11,
.kasokei-inline-1055-14,
.kasokei-inline-1055-20 {
  height: 42px;
  width: 79.049%;
}

.kasokei-inline-1055-8 {
  font-weight: 400;
}

.kasokei-inline-1055-15 {
  height: 89px;
}

.kasokei-inline-1055-16 {
  height: 89px;
  width: 20.8024%;
}

.kasokei-inline-1055-17 {
  height: 89px;
  width: 79.049%;
}

.kasokei-inline-1055-21,
.kasokei-inline-1055-22 {
  display: none;
}

.kasokei-inline-1480-1 {
  text-indent: 0;
}

.kasokei-inline-1483-1 {
  font-size: 24px;
}

.kasokei-inline-1483-2 {
  font-size: inherit;
  color: red;
}

.kasokei-inline-1483-3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  padding-top: 40px;
}

.kasokei-inline-1483-4,
.kasokei-inline-1483-5 {
  width: 330px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 20px;
  border: solid 4px #005caa;
}

.kasokei-inline-1483-6,
.kasokei-inline-1483-7 {
  font-size: 24px;
  text-align: center;
  margin: 40px auto 20px;
  color: #eb0000;
}

.kasokei-inline-1634-1 {
  padding-left: 1em;
}

.kasokei-inline-1642-1 {
  width: 291px;
}

.kasokei-inline-8108-1,
.kasokei-inline-8620-1 {
  border: 0;
}

.kasokei-inline-8126-1 {
  font-size: 1.5rem;
}

.kasokei-inline-8137-1,
.kasokei-inline-8137-4 {
  display: inline-block;
  vertical-align: middle;
  margin: 2rem 1rem;
}

.kasokei-inline-8137-2,
.kasokei-inline-8137-5 {
  display: none;
}

.kasokei-inline-8137-3,
.kasokei-inline-8137-6 {
  display: inline;
  opacity: 1;
}

.kasokei-inline-8187-1 {
  margin-bottom: 20px;
}
/* ==========================================================================
   旧 offering.css 統合分
   ========================================================================== */

table.offering {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

table.offering th,
table.offering td {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 18px;
  line-height: 1.7;
  border-inline: none;
}
/* ページ固有CSSの display: block をPC表示時だけ打ち消す。 */

@media (min-width: 769px) {
  table.offering tr > th,
  table.offering tr > td {
    display: table-cell !important;
  }
}

table.offering th {
  width: 180px;
  background-color: #f8fafc;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 768px) {
  table.offering,
  table.offering tbody,
  table.offering tr,
  table.offering th,
  table.offering td {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
  }

  table.offering th {
    border-bottom: none;
    background: #edf2f7;
    font-size: 16px;
    padding-block: 10px;
  }

  table.offering td {
    display: block !important;
    padding-top: 10px;
    padding-bottom: 25px;
  }
}

.harassment-policy h2 {
  margin-top: 2rem;
}

.harassment-policy ol {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.harassment-policy ol li {
  margin-bottom: 1rem;
}

.harassment-policy .harassment-list-fullwidth-parentheses,
.harassment-policy .harassment-list-parentheses {
  padding-left: 0;
  list-style: none;
  counter-reset: harassment-item;
}

.harassment-policy .harassment-list-fullwidth-parentheses li,
.harassment-policy .harassment-list-parentheses li {
  position: relative;
  padding-left: 3em;
  counter-increment: harassment-item;
}

.harassment-policy .harassment-list-fullwidth-parentheses li::before,
.harassment-policy .harassment-list-parentheses li::before {
  position: absolute;
  left: 0;
}

.harassment-policy .harassment-list-fullwidth-parentheses li::before {
  content: "（" counter(harassment-item) "）";
}

.harassment-policy .harassment-list-parentheses li::before {
  content: "(" counter(harassment-item) ")";
}

.harassment-policy .harassment-contact-heading {
  margin-bottom: .25rem;
}

.harassment-policy .harassment-contact-list {
  padding-left: 0;
  list-style: none;
}

.harassment-policy .harassment-contact-list li {
  position: relative;
  padding-left: 1em;
}

.harassment-policy .harassment-contact-list li::before {
  position: absolute;
  left: 0;
  content: "・";
}

.align-right {
  text-align: right;
}

.indent p {
  text-indent: 1em;
}

body.error404 #main > article {
  padding-top: 48px;
}
/* 会社・採用トップメッセージはページヘッダー画像を表示しない */

#contents.message .level3.ttl-area.is-default-page-header-image,
#contents.about.recruit .level3.ttl-area.is-default-page-header-image {
  min-height: 80px;
  margin-bottom: 40px;
}

#contents.message .level3.ttl-area.is-default-page-header-image::after,
#contents.about.recruit .level3.ttl-area.is-default-page-header-image::after {
  content: none;
  display: none;
}

.harassment-policy .mb1 {
  margin-bottom: 1rem;
}

.harassment-policy .mb2 {
  margin-bottom: 2rem;
}
