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

/************************************
** contact form7 カスタマイズ
************************************/
.haveto{
font-size:11px;
padding:2px 5px;
background:#FF0000;/*必須 色の変更はこちら*/
color:#fff;
margin:0px 5px;
position:relative;
bottom:2px;
}

.grecaptcha-badge {

	/* 表示を消す */
	visibility: hidden !important;

}

/*************************************************
 * CF7 予約フォーム（.cf7-reserve）完全版
 *************************************************/

/* フォーム全体：中央寄せ＆幅 */
.cf7-reserve{
  max-width: 600px;          /* PC時の最大幅：必要なら 640/720 などに */
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}

/* ラベルと項目の余白 */
.cf7-reserve label{
  display: block;
  margin-bottom: 15px;        /* 項目間の間隔 */
}

/* 入力欄の共通（submit除外） */
.cf7-reserve input:not([type="submit"]),
.cf7-reserve textarea{
  width: 100%;
  max-width: 560px;
  padding: 10px;
  font-size: 16px;
  margin-top: 6px;            /* ラベルと入力欄の間 */
  box-sizing: border-box;
}

/* アクセシビリティ：フォーカス時の見やすさ */
.cf7-reserve input:not([type="submit"]):focus,
.cf7-reserve textarea:focus{
  outline: 2px solid #bfead7;     /* 柔らかいグリーン */
  outline-offset: 2px;
}

/* 送信ボタン */
.cf7-reserve input[type="submit"]{
  background-color: #ff6b35;  /* ブランドカラー */
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .3s ease, transform .05s ease;
}
.cf7-reserve input[type="submit"]:hover{ background-color:#e85a27; }
.cf7-reserve input[type="submit"]:active{ transform: translateY(1px); }
.cf7-reserve .submit-area input[type="submit"]{ width:100%; }


/* ----- 見出し（フィールドタイトル） ----- */
.cf7-reserve .field-title{
  display: inline-block;
  margin: 6px 0 10px;
  font-weight: 600;
}

/* ====== チェックボックス（exclusive）整形 ====== */
/* CF7は .wpcf7-checkbox > .wpcf7-list-item で各項目を包む */
.cf7-reserve .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item{
  display: block;                 /* 縦並び */
  margin: 6px 0 10px;             /* 項目間の余白 */
}

/* 各項目のラベル：チェックとテキストを中央揃えで横並び */
.cf7-reserve .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item label{
  display: inline-flex;
  align-items: center;
  gap: 10px;                      /* チェックと文字の間隔 */
  line-height: 1.6;
  cursor: pointer;
}

/* チェックボックス自体の見た目＆ズレ防止 */
.cf7-reserve .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 0;                      /* 右上にズレるのを防止 */
  vertical-align: middle;
  accent-color: #00bf63;          /* チェック色をボタン色と統一（対応ブラウザ） */
}

/* ラップ段落の余白を詰める（テーマ側の余白を打ち消し） */
.cf7-reserve .radio-wrap p{ margin: 0 0 8px; }

/* ----- スマホ微調整 ----- */
@media (max-width: 599px){
  .cf7-reserve{ padding: 16px; }
  .cf7-reserve input:not([type="submit"]),
  .cf7-reserve textarea{ font-size: 16px; } /* ズーム防止 */
}


/* バナー本体：スマホで最上部固定＋LINEグリーン */
/* バナー本体：スマホで最上部固定＋LINEグリーン */
.sp-top-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 99999;
  background: #06C755;
  color: #fff;
  padding: calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.sp-top-banner__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* LINEロゴ画像 */
.line-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.sp-top-banner__text {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.sp-top-banner__cta {
  flex-shrink: 0;
  background: #fff;
  color: #06C755;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.sp-top-banner__link:hover .sp-top-banner__cta {
  background: #e9f9f1;
}

/* スマホ専用 */
@media (max-width: 599px) {
  .sp-top-banner { display: block; }
}
@media (min-width: 600px) {
  .sp-top-banner { display: none !important; }
}

/* ===== PC固定バナー（上固定・PC専用） ===== */
.pc-top-banner{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99990;
  background: #06C755;  /* LINEグリーン */
  color: #fff;
  padding: 6px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  display: none;         /* JSで .is-active を付与して表示 */
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

/* 表示はPCのみ */
@media (min-width: 768px){
  .pc-top-banner { display: flex; }
}

/* 中身のレイアウト */
.pc-top-banner__link{
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; width: 100%;
  text-decoration: none; color: inherit;
}
.pc-line-logo{ width: 40px; height: 40px; display:block; flex-shrink:0; }
.pc-top-banner__text{ flex:1; font-weight: 600; font-size: 16px; line-height: 1.35; }
.pc-top-banner__cta{
  background: #fff; color: #06C755;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; white-space: nowrap;
  transition: background .2s ease;
}
.pc-top-banner__link:hover .pc-top-banner__cta{ background: #e9f9f1; }

/* バナー分の余白をJSで付与するためのフラグ（中身はJSがinlineで入れる） */
body.has-pc-top-banner{}
