/* WordPress Gallery
------------------------------------------ */

.gallery {
  margin-left: -0.5em;
  margin-right: -0.5em;
}

.gallery:after {
  display: table;
  content: '';
  clear: both;
}

.gallery-item {
  margin: 0;
  float: left;
  padding: 0.5em;
}

.gallery-item img {
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
  float: none;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  width: 33.3333%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
}

.gallery-columns-6 .gallery-item {
  width: 16.6667%;
}

.gallery-columns-7 .gallery-item {
  width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
  width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-child(2n + 1),
.gallery-columns-3 .gallery-item:nth-child(3n + 1),
.gallery-columns-4 .gallery-item:nth-child(4n + 1),
.gallery-columns-5 .gallery-item:nth-child(5n + 1),
.gallery-columns-6 .gallery-item:nth-child(6n + 1),
.gallery-columns-7 .gallery-item:nth-child(7n + 1),
.gallery-columns-8 .gallery-item:nth-child(8n + 1),
.gallery-columns-9 .gallery-item:nth-child(9n + 1) {
  clear: left;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

.logged-in.admin-bar .l-header,
.logged-in.admin-bar .l-header-variable,
.logged-in.admin-bar .l-header-minimal {
  top: 32px;
}

@media screen and (max-width: 59.3125em) {
  .logged-in.admin-bar .l-header,
  .logged-in.admin-bar .l-header-variable,
  .logged-in.admin-bar .l-header-minimal {
    top: 0px;
  }

  .logged-in.admin-bar .c-slidebar-button {
    /*top: 46px;*/
  }
}

.mw_wp_form_confirm .u-hidden-mw-wp-confirm {
  display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy {
  display: none !important;
}

.mw_wp_form_confirm #zipauto,
.mw_wp_form_confirm .c-forms__note,
.mw_wp_form_confirm .c-forms__block.is-privacy-policy {
  display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy a,
.mw_wp_form_confirm .c-forms__block a {
  text-decoration: none !important;
  color: inherit !important;
  pointer-events: none !important;
}

.wp-embedded-content {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 16px;
  margin-bottom: 16px;
}

/* add */

.c-post-navs__archive {
  min-width: 18.75rem;
}

/* デフォルト画像対策 */
.c-box-case__item-image,
.c-card-simple__item-image {
  border: 1px solid #ddd;
}

.c-box-case__list.js-case-slider {
  display: flex;
  justify-content: center;
}

.js-case-slider.owl-carousel .owl-stage {
  display: flex;
}

.c-box-case__item {
  min-width: 833px;
}

@media screen and (max-width: 59.3125em) {
  .c-box-case__item {
    min-width: 326px;
    height: 100%;
  }
}

@media screen and (min-width: 59.3126em) {
  a[href*='tel:'] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }

  .mw_wp_form_confirm .c-forms__block {
    align-items: center;
  }
}

/* フォーム郵便番号用のスタイリング */
.mw_wp_form_error .c-forms__flex-al {
  align-items: flex-start;
}

.mw_wp_form_error .c-forms__flex-al .c-forms-simple__button {
  margin-top: 0.3rem;
}

.c-block-service-header__image {
  border: 1px solid #ddd;
}

.c-pagetop a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-pagetop .fa {
  margin-top: -3px;
}

.c-form-head__item-number {
  letter-spacing: 0;
}

.c-forms__privacy input {
  margin-top: -2px;
}

@media screen and (max-width: 59.3125em) {
  .c-form-head__list {
  }

  .c-form-head__item {
    width: 30%;
    max-width: 140px;
    text-align: center;
  }

  .c-form-head__item:nth-of-type(2) {
    width: 40%;
    padding-left: 0;
  }

  .c-slidebar-menu {
    height: calc(100vh - 100px) !important;
  }

  .c-post-navs__archive .c-button {
    max-width: 9em;
    margin: 0 auto;
  }
}

.c-news-column__item:last-of-type {
  border-bottom: 1px solid #d3d3d3;
}

.c-news__content .c-news-column__item:last-child {
  border-bottom: none;
}

@media screen and (max-width: 59.3125em) {
  .c-news-column__item:last-child {
    border-bottom: 1px solid #d3d3d3 !important;
  }

  .c-news-column__item-option,
  .c-news-column__item-title {
    font-size: 0.95rem;
  }
}

/* プライバシーマーク追加 */

.l-footer__container .l-container {
  position: relative;
}

.l-footer__marks {
  position: absolute;
  right: 0;
  bottom: -10px;
  display: inline-flex;
}

@media (max-width: 1200px) {
  .l-footer__marks {
    right: 32px;
  }
}

@media screen and (max-width: 59.3125em) {
  .l-footer__marks {
    position: static;
    display: flex;
    justify-content: center;
    padding-top: 35px;
  }
}

.l-footer__mark {
  width: 70px;
  margin-left: 15px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 59.3125em) {
  .l-footer__mark {
    margin: 0 10px;
  }
}

body.is-footer-menu-none .l-footer__container {
  display: block !important;
  padding: 30px 0;
}

@media screen and (max-width: 59.3125em) {
  body.is-footer-menu-none .l-footer__container {
    padding-top: 0;
  }
}

body.is-footer-menu-none .l-footer__content {
  display: none !important;
}

body.is-footer-menu-none .l-footer__marks {
  bottom: 0;
  left: 0;
  padding-top: 0;
  padding-bottom: 5px;
}

body.is-footer-menu-none .l-footer__mark {
  margin-left: 0;
  margin-right: 15px;
}

.is-slidebar-active .c-slidebar-menu.is-top-to-bottom {
  overflow-x: hidden;
}

@media screen and (max-width: 59.3125em) {
  .c-slidebar-menu {
    height: calc(100vh - 71px) !important;
  }

  .c-slidebar-menu__children li a {
    padding: 0.75rem 0.5rem !important;
  }
}

.l-page-header {
  opacity: 0;
}

.c-main-visual {
  min-height: 394px;
}

/* 202204 リニューアル対応 */

.c-block-buttons__inner {
  margin: 3.75rem 0 0;
}
.c-block-buttons__button {
  background: #fff;
}
.c-box-flow__list {
  display: flex;
  max-width: 1063px;
  margin: auto;
}
.c-box-flow__item {
  display: inline-block;
  width: 100%;
  margin-right: 2.5rem;
  margin-bottom: 0;
}
.c-box-flow__item:after {
  height: 1.625rem;
  width: 0.745rem;
  top: 0;
  right: -1.68rem;
  left: auto;
  bottom: 0;
  background: url(../manual-seisaku-html/dist/assets/images/icon-rgt-primary-arrow.png) no-repeat center center/cover;
}
.c-box-flow__item:last-of-type {
  margin-right: 0;
}
.c-box-flow__item-head {
  min-width: auto;
  width: 100%;
  padding: 1.1875rem 0 1.125rem;
  border-radius: 12px 12px 0 0;
}
.c-box-flow__item-icon {
  width: 4.7815rem;
}
.c-box-flow__item-content {
  height: 6.625rem;
  padding: 1.6875rem 0;
  border: 1px solid #d3d3d3;
  border-top: none;
  border-radius: 0 0 12px 12px;
  text-align: center;
}
.c-box-flow__item-title {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
  line-height: 1.5;
}

@media screen and (max-width: 59.3125em) {
  .c-box-flow__list {
    display: block;
  }

  .c-box-flow__item {
    display: inline-block;
    width: 100%;
    margin-right: auto;
    margin-bottom: 2.5rem;
  }
  .c-box-flow__item-content {
    height: 5.4375rem;
    padding: 1.6875rem 0;
    border: 1px solid #d3d3d3;
    border-left: none;
    border-radius: 12px;
    text-align: center;
  }
  .c-box-flow__item-title {
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    line-height: 1.5;
  }
  .c-box-flow__item:after {
    width: 1.84375rem;
    height: 1.09375rem;
    top: auto;
    right: 0;
    bottom: -1.875rem;
    left: 0;
    background: url(../manual-seisaku-html/dist/assets/images/icon-btm-primary-arrow.png) no-repeat center center/cover;
  }

  .c-box-flow__item:last-of-type {
    margin-right: 0;
  }
  .c-box-flow__item-icon {
    width: 4.7815rem;
  }
  .c-box-flow__item-head {
    position: absolute;
    width: 8.625rem;
    height: 100%;
    border-radius: 12px 0 0 12px;
    padding: 0;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
  }
}
@media screen and (min-width: 0em) and (max-width: 46.8125em) {
  .c-box-flow__item-title {
    font-size: 15px;
    text-align: left;
    justify-content: left;
  }
  .c-box-flow__item-content {
    height: 5rem;
    padding: 1.875rem 0 1.875rem 7.5rem;
  }
  .c-box-flow__item-icon {
    width: 3.25rem;
  }
  .c-box-flow__item-head {
    width: 6rem;
    height: auto;
  }
}

/* 業務内容 */
.c-tabs.is-business {
  margin: auto;
  margin-top: 3.375rem;
  max-width: 970px;
}
.c-tabs.is-business .c-tabs__navs li a {
  min-height: 111px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-tabs.is-business .c-tabs__navs li a span {
  color: #000;
  font-size: 20px;
  font-weight: bold;
  opacity: 0.5;
}
.c-tabs.is-business .c-tabs__navs li a.is-active span {
  opacity: 1;
}
.c-tabs__navs li a.is-border-none {
  border-right: none !important;
}
.c-tabs.is-business li:not(:last-of-type) a:not(.is-active) {
  border-right: solid 2px #d3d3d3;
}
.c-business-block {
  max-width: 900px;
  margin: auto;
}
.c-business-block__item-image {
  position: relative;
  width: calc(100% - 20px);
  height: 14.8125rem;
  margin: 4rem auto 0;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
}
.c-business-block__item-image .bg-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.c-business-block__item-content {
  display: flex;
  margin-top: 3rem;
  justify-content: center;
}
.c-business-block__item-icon {
  width: 6.3748rem;
  height: 6.3748rem;
  margin-right: 2rem;
}
.c-business-block__item-text {
  width: 100%;
}
.c-business-block__item-title {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.c-business-block__item-title br {
  display: none !important;
}
@media screen and (max-width: 59.3125em) {
  .c-tabs.is-business .c-tabs__navs li {
    height: 3.5rem;
  }
  .c-tabs.is-business .c-tabs__navs li a {
    display: flex;
    min-height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .c-tabs.is-business .c-tabs__navs li:last-of-type a {
    width: 100%;
  }
  .c-tabs.is-business .c-tabs__navs li a span {
    font-size: 0.65rem;
    letter-spacing: 0em;
    line-height: 1.5;
    font-weight: 700;
  }
  .c-business-block__item-icon {
    width: 5rem;
    height: 5rem;
    margin-right: 1.5rem;
  }
  .c-business-block__item-text {
    font-size: 0.8125rem;
    letter-spacing: 0em;
    line-height: 2;
  }
  .c-business-block__item-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}
@media screen and (min-width: 0em) and (max-width: 46.8125em) {
  .c-business-block__item-image {
    height: 10rem;
    margin-top: 2rem;
  }
  .c-business-block__item-content {
    margin-top: 1.5rem;
  }
  .c-business-block__item-icon {
    margin-right: 1rem;
  }
}

/* 料金体系 */
.c-block-first-read h2 span.is-strong {
  position: relative;
  display: inline-block;
  color: #b79e3c;
}
.c-block-first-read h2 span.is-strong:after {
  content: '';
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #b79e3c;
}
.c-fee__table {
  max-width: 800px;
  position: relative;
  margin: 4.5625rem auto;
}
.c-fee__table-title {
  background: #b79e3c;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  text-align: center;
  padding: 1.20625rem 0 1.04375rem 0;
}
.c-fee__table table {
  width: 100%;
  font-size: 16px;
  border: solid 2px #b79e3c;
  border-collapse: separate;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  text-align: left;
}

.c-fee__table table tr > * {
  border-bottom: solid 1px #d6d6d6;
}
.c-fee__table table tr th {
  width: 50%;
  padding: 1.125rem 1.5rem;
  font-weight: bold;
  background: #f5f5f5;
  border-right: solid 1px #d6d6d6;
}
.c-fee__table table tr td {
  width: 50%;
  padding: 1.125rem 2rem;
}
.c-fee__button {
  text-align: center;
}

.c-hero-block.is-fee .c-hero-block__item {
  border-radius: 11px;
  padding: 4rem 5.5625rem;
  letter-spacing: 0.05em;
}
.c-hero-block.is-fee .c-hero-block__item:before {
  display: none;
}
.c-hero-block.is-fee .c-hero-block__item-inner {
  flex-direction: row;
}
.c-hero-block.is-fee .c-hero-block__item-title {
  font-size: 1.375rem;
  font-weight: bold;
  line-height: 1.45;
}
.c-hero-block.is-fee .c-hero-block__item-content {
  width: 100%;
}
.c-hero-block.is-fee .c-hero-block__item-text {
  letter-spacing: 0.05em;
}
.c-hero-block.is-fee .c-hero-block__item-text table th {
  position: relative;
  min-width: 87px;
  /*padding-right: 22px;*/
  padding-right: 13px;
  vertical-align: top;
  font-weight: normal;
  text-align-last: left;
  text-align: left;
  /*-moz-text-align-last: justify;*/
  /*text-align-last: justify;*/
}
.c-hero-block.is-fee .c-hero-block__item-text table th.is-three-letters {
  letter-spacing: 8.8px;
}
.c-hero-block.is-fee .c-hero-block__item-text table th:after {
  content: '：';
  position: absolute;
  right: 4px;
  letter-spacing: normal;
}
.c-hero-block.is-fee .c-hero-block__item-table {
  position: relative;
  width: 100%;
  min-width: 35.25rem;
  min-height: auto;
  /*min-height: 22.25rem;*/
}
.c-hero-block.is-fee .c-hero-block__item-table table {
  width: 100%;
  font-size: 1rem;
  border: solid 2px #b79e3c;
  border-collapse: separate;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}
.c-hero-block.is-fee .c-hero-block__item-table table tr > * {
  border-bottom: solid 1px #d6d6d6;
}
.c-hero-block.is-fee .c-hero-block__item-table table tr th {
  width: 246px;
  padding: 1.0625rem 1.5rem;
  font-weight: bold;
  background: #f5f5f5;
  border-right: solid 1px #d6d6d6;
  text-align: left;
}
.c-hero-block.is-fee .c-hero-block__item-table table tr td {
  padding: 1.0625rem 1.5rem;
  line-height: 1.3rem;
}

.c-hero-block.is-fee .c-hero-block__item-table table tr td span {
  font-size: 11px;
}

.c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type * {
  background: #b79e3c;
  color: #fff;
  font-weight: bold;
  border-bottom: none;
}

.c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type td {
  padding: 0.875rem 1.5rem;
  font-size: 1.3125rem;
}
.c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type td span {
  font-size: 1.0625rem;
}
.c-hero-block.is-fee .c-hero-block__item-table table tr:first-of-type th {
}
@media all and (-ms-high-contrast: none) {
  .c-hero-block.is-fee .c-hero-block__item-table table tr:first-of-type th {
    border-top-left-radius: 7px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:first-of-type td {
    border-top-right-radius: 7px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type {
    background: #b79e3c;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type th,
  .c-fee__table table tr:last-of-type th {
    border-bottom-left-radius: 7px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type td,
  .c-fee__table table tr:last-of-type td {
    border-bottom-right-radius: 7px;
  }
}

@media (max-width: 1200px) {
  .c-hero-block.is-fee .c-hero-block__item {
    /*padding: 2.875rem 3.75rem;*/
    /*padding: 2.1875rem 2.8125rem;*/
    padding: 2.1875rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-pop {
    width: 5rem;
    min-width: 5rem;
    margin-right: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-title {
    font-size: 1.125rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-text {
    font-size: 0.9375rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table {
    margin-left: 1.25rem;
  }
}
@media screen and (max-width: 59.3125em) {
  .c-fee__table {
    margin: 2.1875rem auto;
  }
  .c-hero-block.is-fee .c-hero-block__item {
    margin-bottom: 1.5rem;
    padding: 2.1875rem 2.8125rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-inner {
    max-width: 35.25rem;
    margin: auto;
    width: 100%;
  }
  .c-hero-block.is-fee .c-hero-block__item-title {
    font-size: 1.25rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-text {
    font-size: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table {
    width: 100%;
    min-width: 100%;
    margin: 1.875rem auto 0;
  }
  .c-hero-block.is-fee .c-hero-block__item-text table th {
    min-width: auto;
    padding-right: 10px;
  }
}
@media screen and (min-width: 0em) and (max-width: 46.8125em) {
  body.fee .c-heading.is-xlg {
    font-size: 1.125rem;
  }
  .c-fee__table-title {
    padding: 0.5625rem;
  }
  .c-fee__table table tr th {
    width: 34%;
    padding: 0.5625rem 0.75rem;
    font-size: 13px;
  }
  .c-fee__table table tr td {
    width: 66%;
    font-size: 12px;
    padding: 0.5625rem 0.75rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-pop {
    width: 4rem;
    min-width: 4rem;
    margin-right: 0.8125rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-title {
    font-size: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-text {
    font-size: 0.8125rem;
    margin-top: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item {
    padding: 24px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table {
    margin-top: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table {
    font-size: 0.9375rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr th {
    width: 34%;
    padding: 0.5625rem;
    font-size: 13px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr td {
    width: 66%;
    padding: 0.5625rem;
    font-size: 12px;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type td {
    padding: 0.5625rem;
    font-size: 1rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr:last-of-type td span {
    font-size: 0.8125rem;
  }
  .c-hero-block.is-fee .c-hero-block__item-table table tr td span {
    font-size: 10px;
  }
}

/* 2025/01/10 footer banner 幅均等化 */
@media (min-width: 950px) {
  .l-footer__sites-list {
    justify-content: center;
  }
  .l-footer__sites-item {
    width: calc(100% / 6);
  }
}
