@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* カテゴリーのアコーディオン */
/* Accordion全体のラッパー */
.accordion-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 親カテゴリーのヘッダー */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10.5px 0;
  /* 上下10.5pxのパディング */
  border-bottom: 1px solid #e5e5e5;
  /* 下線 */
}

/* 親カテゴリーリンク（クリックエリア拡大のためflex:1で全体をカバー） */
.accordion-header a {
  color: rgb(51, 51, 51);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex: 1;
  padding-right: 10px;
  /* トグルボタンとの隙間 */
}

/* 親カテゴリーのアイコン（フォルダアイコン） */
.accordion-header a::before {
  content: "\e92f";
  /* フォルダアイコン */
  font-family: icomoon;
  font-size: 14px;
  margin-right: 8px;
  color: rgb(51, 51, 51);
}

/* アコーディオンのトグルボタン（＋／－アイコン） */
.accordion-toggle {
  background: none;
  border: none;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
  font-family: icomoon;
  /* アイコンフォント適用 */
  color: rgb(51, 51, 51);
}

/* 子カテゴリーのコンテンツ（初期状態は非表示） */
.accordion-content {
  display: none;
  padding-left: 20px;
}

/* 子カテゴリーリストのスタイル */
.accordion-content ul,
.accordion-content .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 子カテゴリーリンク */
.accordion-content a {
  font-size: 12px;
  color: rgb(51, 51, 51);
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* 子カテゴリーのアイコン（ファイルアイコン） */
.accordion-content a::before {
  content: "\e921";
  font-family: icomoon;
  font-size: 11px;
  margin-right: 6px;
  color: rgb(51, 51, 51);
}

/* 各子カテゴリー項目：下線と上下10.5pxのパディング */
.accordion-content li {
  border-bottom: 1px solid #e5e5e5;
  padding: 10.5px 0;
}

/* ホバー時のエフェクト（親・子、及びトグルボタン） */
.accordion-header a:hover,
.accordion-content a:hover,
.accordion-toggle:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ヘッダー*/
#body_wrap {
  top: 10rem
}

@media only screen and (max-width: 768px) {
  #body_wrap {
    top: 5rem
  }
}


/*費用相場ページ*/
.market-price-child-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  column-gap: 30px;
  row-gap: 15px;
  flex-wrap: wrap;
  padding-left: 0 !important;
}

.market-price-child-list li {
  margin-bottom: 5px;
  width: calc((100% - 90px) / 4);

}


.market-price-child-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  padding: 12px 52px;
  font-size: 22px;
  white-space: nowrap;
  border: 1px solid #1b1b1b;
  border-radius: 5px;

}


.market-price-child-list li.no-posts a {
  color: #aaa;
  pointer-events: auto;
  /* リンク有効 */
  text-decoration: none;

}

.toggle-more-children {
  background: #FDE7E7;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  font-size: 24px;
  font-weight: 700;
}

.toggle-more-children span {
  position: relative;
}

.toggle-more-children span::before {
  content: '';
  background-image: url('column_img/market-price_arrow.svg');
  width: 35px;
  height: 35px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
}

.toggle-more-children span.market-open::before {
  transform: rotate(180deg);
  top: -18%;
}

.more-children {
  width: 100%;
}

.more-children ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  display: flex;
  column-gap: 30px;
  row-gap: 15px;
  flex-wrap: wrap;

}

.more-children li {
  width: calc((100% - 90px) / 4);
  list-style: none;
}


@media screen and (max-width:768px) {
  .market-price-child-list li {
    width: calc((100% - 30px) / 2);
  }

  .market-price-child-list li a {
    font-size: 16px;
    padding: 5px;
  }

  .market-price-child-list {
    row-gap: 5px;
  }

  .more-children li {
    width: calc((100% - 30px) / 2);
    list-style: none;
  }

  .more-children ul {
    row-gap: 5px;
  }

  .toggle-more-children {
    font-size: 16px;
    padding: 5px;
  }

  .toggle-more-children span::before {
    width: 20px;
    height: 20px;
    left:-35px;
  }
}

/* コンタクトフォーム７*/
@media only screen and (max-width: 768px) {
  .wpcf7 tr {
    display: flex;
    margin-bottom: 30px;
  }
}

.wpcf7 .submit .btn {
  background-color: #AB131A;
  color: #ffffff !important;
  border-radius: 100px;
  padding: 10px;
}

.wpcf7 .your-number {
  display: inline !important;
}
.wpcf7 form {
  margin-bottom: 80px;
  font-size: 1.6rem;
}
.wpcf7 table {
  width: 100%;
}
.wpcf7 tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wpcf7 th {
  color: #2d3a4c;
  font-size: 1em !important;
  line-height: 1.4;
  width: 100%;
  text-align: left;
  vertical-align: middle;
  float: left;
}
.wpcf7 th p {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.wpcf7 td {
  width: 100%;
  vertical-align: middle;
  float: left;
}
.wpcf7 .verticallist .wpcf7-list-item {
  display: block;
}
.wpcf7 input,
.wpcf7 select {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 2%;
  outline: 0;
  font-size: 16px;
  width: 100%;
}
.wpcf7 textarea {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 10px 2%;
  outline: 0;
  font-size: 16px;
  width: 100%;
}
.wpcf7 .haveto {
  font-size: 13px;
  padding: 3px 8px;
  margin-left: 10px;
  position: relative;
  bottom: 1px;
  color: #fff;
  background-color: #ad151a;
  border-radius: 6px;
}
.wpcf7 .optional {
  font-size: 13px;
  padding: 3px 8px;
  margin-left: 10px;
  position: relative;
  bottom: 1px;
  color: #fff;
  background-color: #0c4a83;
  border-radius: 6px;
}
.wpcf7 .wpcf7-form-control.wpcf7-checkbox {
  display: block;
}
.wpcf7 span.wpcf7-list-item {
  position: relative;
  margin: 0 0 0 0 !important;
  /*項目ごとの余白を調整*/
}
.wpcf7 span.wpcf7-list-item {
  width: 100%;
}
.wpcf7 .wpcf7-list-item-label {
  /*項目の色や文字サイズ*/
  position: relative;
  color: #000;
  cursor: pointer;
  font-size: 16px;
  padding-top: 15px;
  margin-left: 15px;
  display: block;
}
.wpcf7 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  /*既存のチェックボックスを見えなくする*/
}
.wpcf7 .wpcf7-list-item-label:before {
  /*チェックボックスの枠*/
  content: "";
  border: 1px solid #000;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  top: -3px;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
}
.wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label:after,
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label:after {
  /*チェックアイコン*/
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: url("../img/common/check.svg") no-repeat center;
  background-size: contain;
}
.wpcf7 input[type="radio" i] {
  position: absolute;
  top: 12px;
  opacity: 1;
}
.wpcf7 .wpcf7-form-control.wpcf7-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.wpcf7 input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.wpcf7 .wpcf7-list-item-label:before {
  content: "";
  background: #fff;
  border-radius: 100%;
  border: 1px solid #888888;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 14px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}
.wpcf7 .pv-position::before {
  position: relative;
}
.wpcf7 .submit {
  padding-top: 35px;
  text-align: center;
}
.wpcf7 .submit .wpcf7-list-item-label {
  display: inherit;
  margin-left: 0;
}
.wpcf7 .submit .btn {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 0;
  border: none;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  font-size: 2.8rem;
  font-weight: bold;
  color: #ad151a;
  margin-right: 16px;
}
.wpcf7 .submit a {
  display: block;
  margin-top: 12px;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 .wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
  text-align: center;
}
.wpcf7 .wpcf7 .ajax-loader {
  width: 0;
  margin: 0;
}
.wpcf7 .wpcf7-spinner {
  display: none;
}
.wpcf7 tr {
    display: block;
}
.wpcf7 th {
	width: 100%;
}
.wpcf7 th p {
	margin-bottom: 0;
}
.wpcf7 td {
	width: 100%;
	display: block;
}
.wpcf7 td p {
	margin-bottom: 0;
}