@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
*/

/* =========================================================
  1) ヘッダー：フルワイド化
========================================================= */

/* ヘッダーボタン*/
#custom_html-2,
#custom_html-3{
  display: inline-flex;
}
#custom_html-3{
  margin-right: 20px;
}

/* =========================================================
  2) スマホFV（ブログパーツ）
========================================================= */
@media (max-width: 960px){
  .home .hc-top_sub_title span{
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .home .hc-top_main_title span{
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
}

/* =========================================================
  3) フッター（ブログパーツHTML：.hc-footer）
========================================================= */
.l-footer__inner{
  font-family:
    "Yu Gothic",
    "游ゴシック体",
    "Yu Gothic Medium",
    "游ゴシック Medium",
    "游ゴシック",
    sans-serif;
}

.hc-footer{
  background: #ECECEC;
  width: 100%;
}

.hc-footer__inner{
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 64px);
}

/* ロゴ */
.hc-footer__logo img{
  width: 120px;
  height: auto;
  display: block;
}

/* テキスト側 */
.hc-footer__right{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hc-footer__name{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hc-footer__addr{
  font-size: 16px;
  line-height: 1.7;
}

.hc-footer__logo,
.hc-footer__right{
  text-align: left;
}

@media (max-width: 960px){
  .hc-footer__inner{
    gap: 10px;
  }
  .hc-footer__logo img{
    width: 100px;
  }
  .hc-footer__name{
    font-size: 18px;
  }
}

/* =========================================================
  4) トップページ（フロントページ）固有の見た目調整
  ※ 以前の「固定ページCSS」を home に限定して移管
========================================================= */
/* スマホ表示調整 */
@media (max-width: 960px) {
  .hc-top_title {
    padding-left: 10px !important;
  }
  .hc-pc_only_text{
    display: none;
  }
}

/* PC表示調整 */
@media (min-width: 960px){
  .hc-top_title {
    padding-left: 48px !important;
  }
  .hc-table_groups {
    padding: 0 200px;
  }
  .hc-feature_groups {
    padding: 0 200px;
  }
}

/* feature */
.hc-feature .has-border.-border01{
  padding: 0;
}
.hc-feature_left_column{
  padding: 10px;
}

/* wp-block-clumn */
.hc-table_groups .wp-block-column{
  padding: 10px 2px;
}
.hc-table_groups .wp-block-columns{
  gap: 0.5em !important;
}
.hc-table_groups .wp-block-column.is-vertically-aligned-center{
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
  5) CF7（お問い合わせページ限定）
  ※ ページ内CSS → 子テーマへ移管して、ページIDで限定
========================================================= */

/* ▼▼▼ ここを実数に置き換え ▼▼▼ */
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like{
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-sec{ margin: 0 0 18px; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-sec__ttl{
  background: #efefef;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-req{ font-weight: 700; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-note{
  margin: 6px 0 10px;
  font-size: 12px;
  color: #666;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-field{ margin: 0 0 12px; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-label{
  font-size: 12px;
  color: #222;
  margin: 0 0 6px;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input[type="text"],
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input[type="email"],
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input[type="tel"],
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input[type="number"],
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input[type="file"],
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like textarea{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  background: #fff;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like textarea{
  min-height: 170px;
  resize: vertical;
}

/* 見積行 */
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-rows{ margin-top: 6px; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-row{
  display: grid;
  grid-template-columns: 1fr 180px 22px;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-row__label,
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-row__unit{
  font-size: 12px;
  color: #222;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-row__unit{ text-align: left; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like input.cf7-num{
  width: 100%;
  padding: 8px 10px;
}

/* 同意 */
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-accept{
  text-align: center;
  margin: 18px 0 16px;
  font-size: 12px;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .wpcf7-acceptance .wpcf7-list-item{ margin: 0; }

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .wpcf7-acceptance label{
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* 送信ボタン */
body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-submit input[type="submit"]{
  width: 100%;
  border: none;
  border-radius: 2px;
  background: #333;
  color: #fff;
  font-weight: 700;
  padding: 14px 12px;
  cursor: pointer;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-submit input[type="submit"]:hover{
  opacity: .92;
}

body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .wpcf7-spinner{
  display: block;
  margin: 12px auto 0;
}

@media (max-width: 480px){
  body.page-id-CONTACT_PAGE_ID .cf7-wrap.cf7-like .cf7-row{
    grid-template-columns: 1fr 150px 22px;
  }
}