@charset "UTF-8";
/*!
Theme Name: SWELL CHILD prospar
Template: swell
Version: 1.0.0
Description: 株式会社プロスパー様 SWELL子テーマ（B案・土台移行）
*/
/* --------------------------------------------------------------
   フォント（旧サイトと同じ書体スタック・見た目踏襲の一環）
   -------------------------------------------------------------- */
:root {
  --swl-font_family: Arial, Helvetica, sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
  font-family: var(--swl-font_family);
}

/* --------------------------------------------------------------
   ヘッダー・グローバルナビ
   -------------------------------------------------------------- */
@media (min-width: 960px) {
  .l-header.-parallel-bottom .l-header__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: calc(var(--container_size, 0px) + var(--swl-pad_container, 0px) * 2);
    padding-left: var(--swl-pad_container, 0);
    padding-right: var(--swl-pad_container, 0);
    margin-left: auto;
    margin-right: auto;
  }
  .l-header.-parallel-bottom .l-header__logo {
    order: 1;
    width: auto;
    text-align: left;
  }
  .l-header.-parallel-bottom .w-header {
    order: 2;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }
  .l-header.-parallel-bottom .l-header__gnav {
    order: 3;
    flex: 0 0 auto;
    width: calc(100vw - var(--swl-scrollbar_width, 0px));
    margin-left: calc(50% - 50vw + var(--swl-scrollbar_width, 0px) / 2);
    margin-right: calc(50% - 50vw + var(--swl-scrollbar_width, 0px) / 2);
  }
}
.l-header__bar.pc_ {
  display: none;
}

.-parallel-bottom .l-header__logo {
  padding: 4px 0;
}

.c-gnav > .menu-item > a {
  color: var(--color_text);
}

/* --------------------------------------------------------------
   サイドバー・ウィジェット
   -------------------------------------------------------------- */
.c-widget__title.-side {
  text-align: center;
}

.l-sidebar .widget_nav_menu li > a {
  background: url("img/icon_arrow1_gray.gif") no-repeat left center;
  padding-left: 16px;
}

.l-sidebar .widget_nav_menu a::before {
  content: none;
}

/* --------------------------------------------------------------
   フッター
   -------------------------------------------------------------- */
.footer_info.swell-block-fullWide {
  padding-bottom: 0;
}
.footer_info .swell-block-columns__inner {
  justify-content: space-between;
  align-items: center;
}
.footer_info .swell-block-column {
  width: auto;
  flex: 0 0 auto;
}

.l-header__gnav .c-gnav {
  width: 100%;
  max-width: calc(var(--container_size, 0px) + var(--swl-pad_container, 0px) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--swl-pad_container, 0);
  padding-right: var(--swl-pad_container, 0);
}
.l-header__gnav .c-gnav > .menu-item {
  flex: 1;
  border-right: 1px solid #e5e5e5;
}
.l-header__gnav .c-gnav > .menu-item:first-child {
  border-left: 1px solid #e5e5e5;
}
.l-header__gnav .c-gnav > .menu-item > a {
  align-items: center;
}

.l-fixHeader .c-gnav > .menu-item > a {
  color: var(--color_header_text);
}

.-parallel .l-header__gnav .c-gnav > li > a {
  padding-bottom: 19px;
  padding-top: 19px;
}

/* --------------------------------------------------------------
   トップページ メインビジュアル
   -------------------------------------------------------------- */
.l-topTitleArea__body {
  color: var(--color_text);
}

.l-topTitleArea {
  min-height: 120px;
}

#body_wrap.page .l-topTitleArea__body .c-pageExcerpt {
  display: none;
}

/* --------------------------------------------------------------
   ブロック「サイト上では非表示」トグル（block-display-secret.js）
   -------------------------------------------------------------- */
#body_wrap:not(.logged-in) .display-secret {
  display: none !important;
}

#body_wrap.logged-in .display-secret {
  outline: 2px dashed rgba(220, 50, 50, 0.6);
  outline-offset: 2px;
  position: relative;
}
#body_wrap.logged-in .display-secret::before {
  content: "非公開（ログイン中のみ表示）";
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(220, 50, 50, 0.92);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  z-index: 9999;
  border-radius: 4px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.post_content {
  /* --------------------------------------------------------------
     見出し
     -------------------------------------------------------------- */
}
.post_content h2:where(:not([class^=swell-block-]):not(.faq_q):not(.p-postList__title)) {
  border-radius: 14px;
}
.post_content h3:where(:not([class^=swell-block-]):not(.faq_q):not(.p-postList__title)) {
  color: #177a21;
  padding: 0 0.5em 0.5em 22px;
  background-image: url("/wp-content/uploads/2018/07/h4-img-min.jpg");
  background-repeat: no-repeat;
  background-position: left 0 top 0.34em;
  background-size: 15px 15px;
}
.post_content {
  /* --------------------------------------------------------------
     子ページ一覧カードグリッド（[child_pages_list]）
     -------------------------------------------------------------- */
}
.post_content .child-pages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 959px) {
  .post_content .child-pages-list {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}
.post_content .child-pages-list__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.post_content .child-pages-list__item a:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}
.post_content .child-pages-list__item a:hover img {
  opacity: 0.85;
}
.post_content .child-pages-list__item a:hover .child-pages-list__more {
  text-decoration: underline;
}
.post_content .child-pages-list__item figure {
  margin: 0 0 10px;
}
.post_content .child-pages-list__item figure img {
  width: 100%;
  aspect-ratio: 3/1.5;
  object-fit: cover;
  border-radius: 6px;
}
.post_content .child-pages-list__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  padding-left: 22px;
  background: url("/wp-content/uploads/2018/07/h4-img-min.jpg") no-repeat left center;
  background-size: 15px 15px;
}
.post_content .child-pages-list__excerpt {
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.post_content .child-pages-list__more {
  margin-top: auto;
  align-self: flex-end;
  font-size: 13px;
  font-weight: 700;
  color: var(--color_link);
}
.post_content .child-pages-list__more::after {
  content: " »";
}
.post_content {
  /* --------------------------------------------------------------
     お知らせスクロールボックス（.scrolly_box）
     -------------------------------------------------------------- */
}
.post_content .scrolly_box {
  height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.post_content .newsarea-list {
  list-style: none;
  padding-left: 0;
}
.post_content {
  /* --------------------------------------------------------------
     Before/Afterギャラリー（.beforeafter_gal）
     -------------------------------------------------------------- */
}
.post_content .beforeafter_gal {
  position: relative;
}
.post_content .beforeafter_gal::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23666666" d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>') no-repeat center/contain;
  z-index: 1;
  pointer-events: none;
}
.post_content .beforeafter_gal.arrow2::after {
  left: 32.33%;
}
.post_content .beforeafter_gal.arrow2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 67.66%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23666666" d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>') no-repeat center/contain;
  z-index: 1;
  pointer-events: none;
}
.post_content .beforeafter_gal .wp-block-image,
.post_content .beforeafter_gal figure {
  width: 100%;
  margin: 0;
}
.post_content .beforeafter_gal img {
  width: 100%;
}
@media (max-width: 959px) {
  .post_content .beforeafter_gal .swl-bg-color {
    font-size: 13px;
  }
}
.post_content {
  /* --------------------------------------------------------------
     フォーム（Contact Form 7・SWELLテーブル仕様）
     -------------------------------------------------------------- */
}
.post_content .required-mark {
  display: inline-block;
  background: #d33;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.post_content .form-note {
  font-size: 12px;
  color: #666;
}
.post_content .form-note--spaced {
  margin-bottom: 1.5em;
}
.post_content .optional-note {
  font-size: 13px;
  font-weight: normal;
}
.post_content .th-note {
  font-size: 11px;
  font-weight: normal;
  white-space: nowrap;
}
.post_content .wpcf7 input[type=text],
.post_content .wpcf7 input[type=tel],
.post_content .wpcf7 input[type=email],
.post_content .wpcf7 textarea {
  width: 100%;
  max-width: 480px;
}
.post_content .wpcf7 input.input-zip {
  width: 8em;
  display: inline-block;
}
.post_content .wpcf7 .wp-block-table {
  font-size: 14px;
}
.post_content .wpcf7 .wp-block-table th {
  width: 220px;
}
@media (max-width: 959px) {
  .post_content .wpcf7 .wp-block-table th {
    width: auto;
  }
}
.post_content .itemtitle {
  font-weight: 700;
  color: #177a21;
  border-bottom: 2px solid #177a21;
  padding-bottom: 4px;
  margin: 2em 0 0.75em;
}
.post_content .form-product {
  display: flex;
  gap: 16px;
  margin-bottom: 0.75em;
}
.post_content .form-product__img {
  width: 40%;
}
.post_content .form-product__img img {
  width: 100%;
  height: auto;
}
.post_content .form-product__body {
  width: 60%;
}
@media (max-width: 959px) {
  .post_content .form-product {
    flex-direction: column;
  }
  .post_content .form-product__img, .post_content .form-product__body {
    width: 100%;
  }
}
.post_content .item-table {
  font-size: 13px;
  margin: 0 0 2.5rem;
}
.post_content .item-table th,
.post_content .item-table td {
  padding: 0.5em;
  vertical-align: middle;
}
.post_content .item-table td:last-child {
  text-align: right;
}
.post_content .wpcf7 input.input-qty {
  width: 5em;
  display: inline-block;
}
.post_content .wpcf7 .item-table th {
  width: auto;
}
.post_content .form-confirm-note {
  text-align: center;
  margin: 24px 0 0;
}
.post_content .form-submit {
  margin-top: 8px;
  text-align: center;
}
.post_content .form-submit p {
  margin: 0;
  text-align: center;
}
.post_content .form-submit .wpcf7-spinner {
  display: none;
}
.post_content .form-submit input[type=submit] {
  display: inline-block;
  background: #f8921d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 14px 48px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.post_content .form-submit input[type=submit]:hover {
  opacity: 0.85;
}
.post_content .wpcf7 form.submitting .form-submit .wpcf7-spinner {
  display: inline-block;
}
.post_content {
  /* --------------------------------------------------------------
     Before/Afterギャラリー（.beforeafter_gal）
     -------------------------------------------------------------- */
}
.post_content .beforeafter_gal .wp-block-group {
  position: relative;
}
.post_content .beforeafter_gal .wp-block-group p:first-child {
  position: absolute;
  top: -8px;
  left: 0;
  z-index: 2;
  margin: 0;
}
