@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
*/

/*--------------------------------------
 * reCAPTCHA 非表示
--------------------------------------*/
.grecaptcha-badge {
  visibility: hidden;
}

/*--------------------------------------
 * PCのみロゴの非表示
--------------------------------------*/
@media (min-width: 752px) {
  .l-header__logo {
    display: none;
  }
}

/*--------------------------------------
 * 数字の装飾
--------------------------------------*/

/* パーセンテージ */
.numberSales {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

/* ステップナンバー */
.swell-block-step__number {
  font-family: "Montserrat", sans-serif;
}

/*--------------------------------------
 * フローティングバナー（PC右）
--------------------------------------*/
.follow-banner {
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(50%);
  z-index: 20;
}

.follow-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode: vertical-rl;
  border: 1px solid;
  border-color: #ffffff;
  color: #fff;
  background-color: #dd2e1e;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5em 1em;
  border-radius: 10px 0 0 10px;
  transition: opacity 0.25s;
}

.follow-banner a:hover {
  /* opacity: 0.7; */
  border: 1px solid;
  border-color: #dd2e1e;
  color: #dd2e1e;
  background-color: #ffffff;
}

.follow-banner .swl-inline-icon::after {
  left: 50%;
  transform: translateX(-50%);
}

/* スマホでは非表示に */
@media screen and (max-width: 599px) {
  .follow-banner {
    display: none;
  }
}

/*--------------------------------------
 * フローティングバナー（PC右下配置）
--------------------------------------*/
.floating-banner {
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: 120px;
  /* 下から20pxの位置 */
  left: 83%;
  /* 右から20pxの位置 */
  width: 300px;
  /* 必要に応じて変更可能 */
  max-width: 300px;
  /* 最大幅を制限する例 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* 視覚的な効果 */
  background-color: none;
  /* バナーの背景色 */
  padding: 0px;
  /* 内側の余白 */
  border-radius: 0px;
  /* 角を丸くする */
  opacity: 1;
  /* 初期状態で表示 */
  transition: opacity 0.5s ease, transform 0.1s ease;
  /* アニメーション効果 */
}

/* 閉じるボタン */
.floating-banner-close {
  font-weight: bold;
  position: absolute;
  top: -10px;
  /* バナーの上部からはみ出す位置 */
  right: -10px;
  /* バナーの右端からはみ出す位置 */
  z-index: 99999;
  width: 30px;
  /* ボタンの横幅（円形のサイズ） */
  height: 30px;
  /* ボタンの縦幅（円形のサイズ） */
  padding: 0;
  /* 余白をなくす */
  border: none;
  /* 枠線をなくす */
  background-color: #f8f8f8;
  /* ボタンの背景色 */
  border-radius: 50%;
  /* 真円にする */
  cursor: pointer;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
  /* ボタンに影を追加 */
  display: flex;
  /* 中央寄せのためにFlexboxを使用 */
  align-items: center;
  /* テキストを縦中央に配置 */
  justify-content: center;
  /* テキストを横中央に配置 */
  font-size: 16px;
  /* ボタン内の文字サイズ */
}

/* スマホでは非表示に */
@media screen and (max-width: 599px) {
  .floating-banner {
    display: none;
  }
}

/* 非表示状態 */
.floating-banner.hidden {
  opacity: 0;
  /* フェードアウト */
  transform: translateY(20px);
  /* 下方向にスライド */
  pointer-events: none;
  /* 非表示時にクリックを無効化 */
}

/*--------------------------------------
 * グローバルメニュー
--------------------------------------*/
.l-header .l-header__inner .c-gnavWrap {
  background-color: #dd2e1e;
  color: #ffffff;
}
@media (min-width: 960px) {
  .-parallel-bottom .l-header__gnav {
    order: 3;
  }

  .l-header .l-header__inner .c-gnav li:nth-child(4) {
    background-color: #ce2314;
  }

  .l-header .l-header__inner .menu-item {
    width: 240px;
  }
}

.l-header .l-header__inner .c-gnav {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .-parallel .l-header__gnav .c-gnav {
    justify-content: center;
  }
}

.c-gnav {
  display: flex;
  height: 100%;
  text-align: center;
}

.l-fixHeader__inner {
  color: #ffffff;
}
/*@media (max-width: 751px) {
  .l-fixHeader__inner {
    background-color: #dd2e1e;
  }
}
  */
/* スマホの背景適応 */
@media (max-width: 751px) {
  header#header {
    background-color: #dd2e1e !important;
  }
}

.l-header {
  background: #ffffff;
  left: 0;
  top: 0;
  z-index: 100;
}

/* ヘッダーバー内のキャッチコピーを見えるようで見えないように */
.l-header__bar .c-catchphrase {
  color: #dd2e1e !important;
}

.l-header__bar {
  background: #dd2e1e !important;
}

/* ===================
ハンバーガーメニュー
====================== */
/* メニューアイコン（デフォルト時） */
.-menuBtn .c-iconBtn__icon {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  display: grid;
  place-items: center;
  transition: transform 0.3s;

  &::before,
  &::after {
    grid-area: 1 / 1;
    content: "";
    display: block;
    inset: 0;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s;
  }

  &::before {
    transform: translateY(-8px);
  }

  &::after {
    transform: translateY(8px);
  }
}

/* メニューアイコン（オープン時） */
[data-spmenu="opened"] {
  .-menuBtn .c-iconBtn__icon::before {
    transform: rotate(45deg);
  }

  .-menuBtn .c-iconBtn__icon {
    background-color: transparent;
  }

  .-menuBtn .c-iconBtn__icon::after {
    transform: rotate(-45deg);
  }
}

/* ボタンラベル */
.l-header__menuBtn .c-iconBtn::after,
.p-spMenu__closeBtn .c-iconBtn::after {
  font-size: 10px;
  line-height: 10px;
  transform: translateY(12px);
}

/* ボタンラベル（開くボタン） */
.l-header__menuBtn .c-iconBtn::after {
  /* content: "MENU"; */
}

/* ボタンラベル（閉じるボタン） */
.p-spMenu__closeBtn .c-iconBtn::after {
  content: "CLOSE";
}

/* メニュー */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0) !important;
  opacity: 0;
  transition: opacity 0.5s ease-out !important;
}

/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}

/* 背景色をぼかす */
.p-spMenu__inner::before {
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* メニューをフェードイン */
.p-spMenu__body {
  opacity: 0;
  transform: translateY(20px);
}

[data-spmenu="opened"] .p-spMenu__body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease-in, transform 0.7s ease-out;
}

/* 既存のメニューを削除 */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display: none;
}
/* リンクリストメニュー余白 */
.p-spMenu__body .swell-block-linkList {
  gap: 2em;
}

/* リンクリストメニュー中央寄せ */
.p-spMenu__body .swell-block-linkList__text {
  margin-inline: auto;
}

/*--------------------------------------
  コンタクトフォームの装飾
--------------------------------------*/

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #be1d1d;
}

.cf7__optional {
  background: #878d8e;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #f4f4f4;
  color: #a5a5a5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: "";
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  padding-left: 14%;
  text-align: center;
  display: flex;
  justify-content: center;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #dd2e1e;
  color: #fff;
  transition: opacity 0.6s;
}

input[type="submit"]:hover {
  opacity: 0.6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 250px;
    height: 56px;
  }
}

/*--------------------------------------
  CTA（like Lightnig Pro）
--------------------------------------*/
.footer-rich-cta {
  z-index: 0;
} /* 横のシェアアイコンと色が被る問題の回避 */
.footer-rich-cta .swell-block-button a {
  border-radius: 6px;
}
.footer-rich-cta .is-style-section_ttl {
  margin-bottom: 0.2em;
}
.footer-rich-cta h2.is-style-section_ttl::after {
  display: none;
}
.footer-rich-cta .wp-block-columns {
  margin: 2.2em auto;
}
.footer-rich-cta .swell-block-button .mininote {
  display: block;
  font-weight: 500;
  opacity: 1;
  font-size: 0.7em;
}
@media (min-width: 960px) {
  .footer-rich-cta.pc-py-60 {
    padding-top: 5em !important;
    padding-bottom: 5em !important;
  }
  .footer-rich-cta .swell-block-fullWide__inner.l-container {
    padding-left: 48px;
    padding-right: 48px;
  }
  .footer-rich-cta .wp-block-columns {
    padding-left: 1em;
    padding-right: 1em;
  }
}
@media (min-width: 600px) {
  .footer-rich-cta h2 {
    font-size: 2em;
  }
  .footer-rich-cta .swell-block-button a {
    min-width: 100%;
  }
  .footer-rich-cta .is-style-btn_normal a {
    font-size: 1.3em;
  }
  .footer-rich-cta .wp-block-columns {
    margin: 2.4em auto;
  }
}

/*--------------------------------------
  SNSボタン-radius
--------------------------------------*/
.-fix.c-shareBtns .c-shareBtns__btn {
  height: 30px;
  padding: 0;
  border-radius: 10px;
}

.c-shareBtns__btn {
  border-radius: 10px;
}

/*--------------------------------------
  ページトップボタンをオリジナル画像に変更する
--------------------------------------*/
/* アイコンを消す */
.icon-chevron-small-up:before,
.icon-chevron-up:before {
  content: none;
}

/* ボーダー、影を消す */
.c-fixBtn {
  border: 1px solid transparent;
  box-shadow: none;
  overflow: visible; /* ラベル表示対応 */
  opacity: 100 !important; /* 初期状態で非表示 */
}

/* ラベルの位置 */
.c-fixBtn__label {
  position: absolute;
  bottom: -1em;
}

/* hoverの背景を消す */
.c-fixBtn:hover {
  background-color: transparent !important;
}

/* 画像を配置 */
#pagetop.c-fixBtn .c-fixBtn__icon {
  display: block;
  background-image: url(https://costcut-man.com/wp/wp-content/uploads/2025/04/ccm-upBtn.png); /* 画像のパス */
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}

/*--------------------------------------
  Q&Aの装飾
--------------------------------------*/
[data-q="fill-custom"] .faq_q:before {
  background-color: #dd2e1e !important;
  color: #fff;
}
[data-a="col-main"] .faq_a:before,
[data-q="col-main"] .faq_q:before {
  box-shadow: 0 0 0 1px currentcolor;
  color: var(--color_main);
  background-color: #fff;
}
