/*---------------------------------
リセット
---------------------------------*/
.wp-block-cover { padding:0px !important; }
.c-section { padding:0px }
.l-footer { border:none; }
.wp-block-search__label { display:none; }
.c-container {
	--_container-margin-right: 0 !important;
    --_container-margin-left: 0 !important;
}
.p-breadcrumbs-wrapper a:hover { text-decoration:none;opacity:0.7;}
.l-simple-header__row { padding:0px !important }
.c-fluid-container {
    --_container-margin: 0px !important;
    --_container-margin-right: 0px !important;
    --_container-margin-left: 0px !important;
}
.c-row--lg-margin { --_gap: 0; }

/*---------------------------------
共通
---------------------------------*/
.blue { color:#0098e7;font-weight:700 }
/* 背景 */
.block01,.block02,.block03,.block04,.block05,.block06 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
  z-index: 0;
}

/*---------------------------------
見出し
---------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans JP", "Source Han Sans JP", "Noto Sans CJK JP","Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 300; 
}
h2 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size:40px;
	line-height:1.5em;
	height:130px;
	font-weight:700;
	color:#00395c;
	text-align:center;
}
.block01 h2,.block02 h2,.block05 h2,.block07 h2,.block09 h2 {
  background: url('/wp-content/themes/gaihekireset/images/h2-bg-ptn1.png') no-repeat center center;
  background-size: auto; 
}
.block04 h2,.block06 h2,.block08 h2 {
  background: url('/wp-content/themes/gaihekireset/images/h2-bg-ptn2.png') no-repeat center center;
  background-size: auto; 
}
/*---------------------------------
ヘッダー
---------------------------------*/
.l-header--sticky-lg {
  box-shadow: none !important;
  background-color: transparent !important;
}
.l-header {
  background:rgba(255,255,255,0.8);
  padding:0px !important;
  height:80px;
}
.l-header__content, .l-simple-header, .c-fluid-container, .l-simple-header__row, .c-row, .c-row__col, .p-header-content, .c-site-branding, .c-site-branding__title  { height:100%; }
.p-header-content.p-header-content--lg { height:100% !important; }
:root{
  --hdr-sky: #d9effa;     /* TELエリアの薄い水色 */
  --hdr-blue: #0a4a63;    /* ハンバーガー背景の濃い青 */
  --hdr-red: #b71e1e;     /* 申し込みボタンの赤 */
  --hdr-text: #ffffff;    /* 白文字 */
  --hdr-accent: #1277aa;  /* TEL番号の青 */
}
/* ロゴ */
.c-site-branding__title .custom-logo { max-height:62px !important; } /* 大きさを調節 */
.c-site-branding--has-logo { padding:8px 0px 8px 3%; }

/* 右側コンテナ（TEL＋ボタン）*/
.p-header-content.p-header-content--lg {
  display: flex;
  align-items: stretch;
  height: 56px;
}
/* 内包行：TELブロックとボタンを横並びでぴったり詰める */
.p-header-content .c-header-content{
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
}
/* TEL ブロック */
.p-header-content .c-header-content .tel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 16px 6px 18px;
  min-width: 320px;
  line-height: 1.2;
}
/* TEL の見た目 */
.p-header-content .c-header-content .tel .no{
  font-weight: 600;
  font-size: 30px;
  color: var(--hdr-accent);
  letter-spacing: 0.02em;
}
.p-header-content .c-header-content .tel .text{
  font-size: 16px;
  color: #0f5a7a;
  margin-top: 0px;
}
/* 申し込みボタン枠（赤い帯） */
.p-header-content .c-header-content .btn{
  background: var(--hdr-red);
  display: flex;
  align-items: center;
  min-width: 240px;
  padding: 0 18px;
  border-left: 1px solid rgba(0,0,0,0.08);
	cursor:pointer;
}
/* ボタンリンク本体 */
.p-header-content .c-header-content .btn .header-button{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hdr-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
/* （任意）擬似アイコン：封筒 */
.p-header-content .c-header-content .btn .header-button::before{
  content:"";
  display: inline-block;
  width: 20px;   /* アイコンサイズ調整 */
  height: 20px;
  background: url('/wp-content/themes/gaihekireset/images/icon-mail.png') no-repeat center/contain;
}

/* ハンバーガーメニュー */
header.l-header .c-hamburger-btn{
  background: var(--hdr-blue);
  color: var(--hdr-text);
  border: 0;
  width: 75px;
  height: 100%;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,.15);
}
header.l-header .c-hamburger-btn__bars{
  position: relative;
  display: block;
  width: 40px;
  height: 24px;
  margin: 0 auto;
}
header.l-header .c-hamburger-btn__bar{
  position: absolute;
  left: 0; right: 0;
  height: 3.5px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition:
    top .25s cubic-bezier(.4,0,.2,1),
    transform .25s cubic-bezier(.4,0,.2,1),
    opacity .2s ease;
}
header.l-header .c-hamburger-btn__bar:nth-of-type(1){ top: 0; }
header.l-header .c-hamburger-btn__bar:nth-of-type(2){ top: calc(50% - 1.75px); } /* 中央 */
header.l-header .c-hamburger-btn__bar:nth-of-type(3){ top: calc(100% - 3.5px); } /* 下 */
.c-hamburger-btn__label{
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px; height: 1px; overflow: hidden;
}
header.l-header .c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-of-type(1){
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
header.l-header .c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-of-type(2){
  opacity: 0;
  transform: scaleX(0);
}
header.l-header .c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-of-type(3){
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
/* 低モーション設定を尊重 */
@media (prefers-reduced-motion: reduce){
  header.l-header .c-hamburger-btn__bar{
    transition: none;
  }
}

/* SP・TB　ヘッダー 1023px */
@media (max-width:1023px){
  .l-header { background:rgba(255,255,255,0.8) !important; }
  .l-header__content { padding:0px}
header.l-header .c-site-branding,
header.l-header .c-site-branding__title{
  display: flex !important;
  align-items: center !important;   /* 垂直中央 */
  gap: 0;
}
  header.l-header .c-site-branding__title .custom-logo {
    max-height: 52px !important;
    height: auto !important;
    width: auto !important;
  }
}

/* ドロワーナビゲーション */
:root{
  --drawer-logo: url("/wp-content/themes/gaihekireset/images/logo.png");
  --drawer-safe-right: 72px;                  /* 右側の安全幅（ハンバーガーを被せない） */
  --drawer-logo-h: 56px;                      /* ロゴ高さ */
  --drawer-logo-gapY: clamp(12px, 3vw, 24px); /* ロゴと1行目のスキマ */
  --drawer-logo-offsetY: clamp(36px, 4vh, 64px); /* ロゴの下げ量（ここだけで微調整） */
}

/* ========== Drawer Base ========== */
.c-drawer{
  width: min(560px, calc(100vw - var(--drawer-safe-right))) !important;
  color: #fff;
  background: rgba(0,118,192,.70) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  backdrop-filter: blur(8px) saturate(1.05);
  box-shadow: -12px 0 28px rgba(0,0,0,.25);
}
.c-drawer__inner{
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  padding: clamp(20px,5vw,36px) clamp(16px,4vw,32px);
  padding-top: clamp(24px, 5vw, 40px);
}
.c-drawer__inner > *{ position: relative; z-index: 2; }

/* 旧仕様の中央固定ロゴは完全無効化 */
.c-drawer__inner::before{ content: none !important; }

/* ========== Menu (中央寄せ) + ロゴ（メニュー先頭に固定） ========== */
.c-drawer__menu{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  /* 行間は“半分”の設定 */
  row-gap: clamp(9px, 1.75vh, 14px);
  text-align: center;

  /* ロゴの高さ + スキマ + 追加オフセット分だけ上に余白を確保 */
  padding-top: calc(var(--drawer-logo-h) + var(--drawer-logo-gapY) + var(--drawer-logo-offsetY)) !important;
}
/* ロゴ本体（メニューの内側・先頭に配置） */
.c-drawer__menu::before{
  content: "" !important;
  position: absolute;
  left: 50%;
  top: var(--drawer-logo-offsetY) !important;
  transform: translateX(-50%);
  width: min(240px, 62%);
  height: var(--drawer-logo-h);
  background: var(--drawer-logo) center / contain no-repeat;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.08));
  pointer-events: none;
  z-index: 1;
}

/* ========== Menu Links (テキスト入れ替えアニメ) ========== */
.c-drawer__item > a{
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: .35em .2em;
  line-height: 1;
  min-height: 1em;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(18px, 2.8vw, 20px);
  text-decoration: none;
  color: transparent !important; /* 本文は透明、疑似要素で描画 */
}
.c-drawer__item > a:hover,
.c-drawer__item > a:focus{ text-decoration: none; }
.c-drawer__item > a:focus-visible{
  outline: 2px solid rgba(255,255,255,.6);
  outline-offset: 4px;
}
.c-drawer__item > a::before,
.c-drawer__item > a::after{
  content: attr(data-label);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #fff;
  font-weight: inherit;
  transition: top .28s cubic-bezier(.4,0,.2,1);
}
.c-drawer__item > a::before{ top: 0; }     /* 表示中レイヤー */
.c-drawer__item > a::after { top: 100%; }  /* 待機レイヤー（下） */
.c-drawer__item > a:hover::before,
.c-drawer__item > a:focus-visible::before{ top: -100%; }
.c-drawer__item > a:hover::after,
.c-drawer__item > a:focus-visible::after { top: 0; }

/* iOS セーフエリア */
@supports (padding: max(0px)){
  .c-drawer__inner{ padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* ユーザーが低モーション設定の場合アニメ無効化 */
@media (prefers-reduced-motion: reduce){
  .c-drawer__item > a::before,
  .c-drawer__item > a::after{ transition: none; }
}

/*---------------------------------
ファーストビュー
---------------------------------*/
.fv {
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  width: 100vw; 
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv .wp-block-cover__background {
  background-image: url('/wp-content/themes/gaihekireset/images/fv-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* キャッチ */
.top-catch {
  position: absolute;
  top: 70%;
  left: 7%; 
  transform: translateY(-70%); 
  text-align: left;
  color: #000;
  line-height: 1.3;
  max-width: 80%
}
/* サブ1 */
.top-catch .sub1 {
  font-size: 41px;
  font-weight: 500;
  margin-bottom: 8px;
  background: #fff;
  display: inline-block;
  padding: 10px 18px 6px 12px;
}
/* メインキャッチ */
body .top-catch .main {
  font-weight: 700;
  line-height: 1.3;
}
.top-catch .main .bg {
  display: inline-block;
  background: #fff;
  padding: 10px 16px;
  margin-bottom: 8px;
}
.top-catch .main strong { font-size: 77px !important; }
.top-catch .main span { font-size: 64px !important; }
/* サブ2（背景帯付き） */
.top-catch .sub2 {
  display: inline-block;
  background: #00395c;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  padding: 8px 18px;
}
/* SP・TB　ヘッダー 1074px */
@media (max-width:1175px){
  .top-catch {
	  position: absolute;
	  top: 90%;
	  left: 5%; 	  
	  transform: translateY(-90%); 
  }
  .top-catch .sub1 { font-size: 4.5vw;font-weight: 600; }
  .top-catch .main strong { font-size: 6.5vw !important; }
  .top-catch .main span { font-size: 5.5vw !important; }
  .top-catch .sub2 { font-size: 3.3vw;font-weight: 600; }
  .top-catch .main .bg { padding: 8px 10px;}
}

/*---------------------------------
block1　こんなお悩みありませんか？
---------------------------------*/
.block01 {
  background-image: url('/wp-content/themes/gaihekireset/images/block01-bg.jpg');
  background-size:cover;
}
.block01 ul {
	width:fit-content;
	margin:0 auto;
	font-size:30px;
	list-style: none; 
}
.l-contents .block01 ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;      /* 項目間の余白 */
  background: url('/wp-content/themes/gaihekireset/images/icon-check.png') no-repeat left center;
  background-size: 31px 22px; /* アイコンのサイズ調整 */
}
.l-contents .block01 ul li span {
	color:#0076c0;
	font-weight:600;
}
  /* 3) 画像の角に小ラベル（キャプの見た目） */
  .block01 .wp-block-column:first-child  figure:nth-child(1)::after{ content:"カビ"; }
  .block01 .wp-block-column:first-child  figure:nth-child(2)::after{ content:"雨だれ"; }
  .block01 .wp-block-column:nth-child(3) figure:nth-child(1)::after{ content:"黒ずみ"; }
  .block01 .wp-block-column:nth-child(3) figure:nth-child(2)::after{ content:"苔"; }
  .block01 figure::after{
    position:absolute; left:0px; top:0px;
    font-size:16px; font-weight:700; color:#002c3f;
    background:#fff; padding:4px 8px;
    box-shadow:0 0 0 1px rgba(0,0,0,0.06);
  }
/* スマホ　block01 */
@media (max-width:768px){
	h2 {
		font-size:25px !important;
		height:80px;
		background-size:70% !important;
	}
  .block01 .wp-block-columns > .wp-block-column{ margin: 0 !important; }
  /* 2番目（テキスト）を先頭・全幅 */
  .block01 .wp-block-columns > .wp-block-column:nth-child(2){
    order: 0;
    flex: 0 0 100%;
  }
  /* 1番目＆3番目（画像列）を後段で左右50%ずつに */
  .block01 .wp-block-columns > .wp-block-column:first-child,
  .block01 .wp-block-columns > .wp-block-column:nth-child(3){
    order: 1;
    /* gap を考慮して少しだけ引く（好みで調整OK）*/
    flex: 0 0 calc(50% - 7px);
  }
  /* 画像の体裁 */
  .block01 figure{ 
    margin: 0 4% 14px;
    position: relative; overflow: hidden; border-radius: 6px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.12);
  }
  .block01 figure:last-child{ margin-bottom: 0; }
  .block01 figure img{ display:block; width:100%; height:auto; }
  .block01 h2{ text-align:center; margin:6px 0 8px; }
  .block01 ul{ margin:0 0 20px; }
  .block01 ul li{
    font-size:18px; line-height:1.8; list-style:none; margin:8px 0;
    padding-left:28px;
    background: url('/wp-content/themes/gaihekireset/images/icon-check.png') no-repeat 0 0.4em;
    background-size:25px 18px;
  }
  .block01 p{ font-size:16px; line-height:1.9; text-align:center; margin:8px 0 0; }
  .more-btn { margin-bottom:30px !important;} 
}

/*---------------------------------
 block02　ガイヘキリセットのこだわり
---------------------------------*/
.block02{
  background-image: url('/wp-content/themes/gaihekireset/images/block02-bg.jpg');
	  background-size:cover;
}
/* コンテナ調整（フルブリード制御用の最小限） */
.block02 .c-container{
  --container-max-width: 100vw;
  --_container-margin: 0;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
}

/* ===== 2カラム（PC） ===== */
.block02 .feature{
  display: grid;
  grid-template-columns: 52% 48%;          /* 左:テキスト / 右:画像（最終値） */
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(50px, 7vw, 100px);
  position: relative;
}
.block02 .feature.is-reverse{ grid-template-columns: 48% 52%; }
.block02 .wp-block-column {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;	
}
.block02 .feature__text{
  grid-column: 1;
  text-align: left;
  position: relative;
  max-width: none;
  padding: 0 0 0 15vw;
}
.block02 .feature.is-reverse .feature__text{
  grid-column: 2;
  max-width: none;
  padding: 0 18vw 0 0;
}
.block02 .feature__media{ grid-column: 2; }
.block02 .feature.is-reverse .feature__media{ grid-column: 1; }
/* 画像 */
.block02 .feature__media img{
  width: 100% !important;
  max-width: 100% !important;
  height: 480px;
  margin: 0 !important;
  object-fit: cover;
  display: block;
  box-shadow: -10px 10px 0 0px #0f75b5;
}
/* 画像 影 */
.block02 .feature.is-reverse .feature__media img{ box-shadow: 10px 10px 0 0px #0f75b5; }
/* テキスト */
.block02 .feature__text{
  position: relative;
  isolation: isolate;
}
.block02 .feature__text h3{
  font-size: 35px;
  font-weight:700;
  line-height: 1.4;
  margin-bottom: .6em;
}
.block02 .feature__text p{
  font-size: 20px;
  line-height: 1.7;
  color: #333;
}
.block02 .feature__no{
  position: absolute;
  left: auto !important;
  right: 0 !important;           /* テキストブロックの最右 */
  /* top: 0 !important;  ← レイアウト変化回避のため未指定に戻す */
  transform: translate(0%, -100%); 
  font-size: 130px;
  color: rgba(255,255,255,.35);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: -1 !important; 
}
.block02 .feature.is-reverse .feature__no{
  transform: translate(-240%, -100%);        /* 反転時は左へ寄せる */
}

/* ===== SP（画像→テキストに統一） ===== */
@media (max-width: 767px){
  .block02 .feature{
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 44px;
  }
  .block02 .feature.is-reverse{
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom: 44px;
  }
  .block02 .feature.is-reverse .feature__text{ padding: 0 4%;}
  .block02 .feature__media{ grid-column: 1; order: 1; padding: 0 4%; }
  .block02 .feature__text { grid-column: 1; order: 2; padding: 0 4%; }
  .block02 .feature:not(.is-reverse) .feature__media img,
  .block02 .feature.is-reverse .feature__media img{
    width: 100%;
    margin: 0;
  }
  .block02 .feature__text h3{ font-size: 6.5vw; }
  .block02 .feature__no,
  .block02 .feature.is-reverse .feature__no{
    position: absolute;
    left: auto !important;
    right: 0 !important;           /* テキストブロックの最右 */
    /* top: 0 !important;  ← レイアウト変化回避のため未指定に戻す */
    transform: translate(-10%, -110%) !important;
    font-size: 25vw;
  }
  /* 画像 影 */
  .block02 .feature__media img,
  .block02 .feature.is-reverse .feature__media img{
    background-color:#fff;
    box-shadow: 5px 5px 0 0px #0f75b5 !important;
	height: 300px;
  }
  /* 一時ロゴ表示箇所 */
  .block02 .feature__media.mini img {
    max-width: 80%;   /* 縮小率は調整可（例: 70%や90%） */
    height: auto;
    object-fit: contain;
    margin: 0 auto;   /* 中央寄せ */
    display: block;
  }
}

/*---------------------------------
block3　足場にも「プロ品質」のこだわり
---------------------------------*/
.block03 {
  background-image: url('/wp-content/themes/gaihekireset/images/block03-bg.jpg');
  color:#fff;
}
.block03 h2 { font-size:34px;color:#fff;margin-bottom:0.5rem !important;}
.block03 p { font-size:18px;margin-bottom:40px; }
/* 一覧 */
.block03 .block03__list{
  list-style: none;
  padding: 0 3% !important;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  max-width: 960px;
	box-sizing:border-box;
}
/* アイテム */
.block03 .block03__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.block03 .block03__item figure{
  max-width: 210px;
  height: 210px; 
  margin: 0;
  overflow: hidden;
}
.block03 .block03__item figure img{
  max-width: 210px;
  height: 210px;
  display: block;
  object-fit: cover;
}
.block03 .block03__item > p{
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-align:left;
}
/* リセット */
.block03 .block03__list { margin:0; padding:0; }
.block03 .block03__list > li { margin:0; }

/* ===== SP ===== */
@media (max-width: 767px){
	.block03 .smb-section__inner {padding:0 4%;}
  .block03 .block03__list{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;                 /* お好みで調整可 */
    max-width: none;           /* 端末幅いっぱいに */
  }
  /* 画像の見え方を整える（縦比率を端末幅に合わせて確保） */
  .block03 .block03__item figure{
	width:100%;
    height: clamp(140px, 38vw, 220px);
  }
  .block03 .block03__item figure img {
	width:100% !important;
  }		
}

/*---------------------------------
 block04　施行の流れ
---------------------------------*/
.block04{
  background-image: url('/wp-content/themes/gaihekireset/images/block04-bg.jpg');
}

/* 一覧グリッド */
.block04 .block04__list{
  list-style: none;
  padding: 0;
  margin: 100px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: 1180px;
}

.block04 .block04__list > li{ margin: 30px 0 0 0; }
:root .block04 :where(.is-layout-constrained,.is-layout-flow)>:where(ul) :where(li)+:where(li),
:root .block04 :where(.is-layout-constrained,.is-layout-flow)>:where(ol) :where(li)+:where(li),
:root .block04 :where(.is-layout-constrained,.is-layout-flow)>:where(ul) *>:where(li:first-child),
:root .block04 :where(.is-layout-constrained,.is-layout-flow)>:where(ol) *>:where(li:first-child){
  margin-top: 0;
}
/* アイテム */
.block04 .block04__item{
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* アイコン */
.block04 .block04__icon{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 番号 */
.block04 .block04__icon .no{
  position: absolute;
  top: -40px;
  margin: 0;
  font-style: italic;
  font-size: 70px;
  font-weight:700;
  line-height: 1;
  color: #29adff;
}
.block04 .block04__icon figure{
  width: 215px;
  height: 215px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  overflow: hidden;
}
.block04 .block04__icon figure img{
  width: auto !important;
  height: 120px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.block04 .block04__icon h4{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0f75b5;
}
.block04 .block04__icon > p:not(.no){
  max-width:210px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  padding:0 4%;
  text-align:left;
}

/* レスポンシブ */
@media (max-width: 1024px){
  .block04 .block04__list{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 767px){
  .block04 .block04__icon{
	  width:100% !important;
	}
  .block04 .block04__list{
    display: grid !important; /* 他の display 指定を強制解除 */
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 640px;
  }
  .block04 .block04__icon > p:not(.no){
	max-width:100% !important;
    font-size: 1.2rem;
	padding:0 4% !important;
  }	
  .block04 p{
    margin: 0 4% !important;
	padding:0 !important;
  }
  .block04 .block04__icon h4{ font-size: 1.8rem; }
}

/*---------------------------------
 block05　基本料金
---------------------------------*/
.block05{
  background-image: url('/wp-content/themes/gaihekireset/images/block05-bg.jpg');
}
.block05 strong { font-size:30px;display:inline-block;margin-bottom:1em;}
/* h3 */
.block05 h3{
  display: inline-block;
  margin: 0 0 clamp(14px, 3vw, 20px);
  padding: 10px 22px;
  background: #29adff;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  border-radius: 9999px;
}
/* テーブル共通 */
.block05 .block05__table{
  width: 800px !important;
  margin: 0 auto;
  border: 2px solid #0f75b5;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  text-align: center;
}
.block05 .block05__table th,
.block05 .block05__table td{
  padding: clamp(10px, 1.6vw, 16px) clamp(12px, 2vw, 18px);
  font-size:20px;
  line-height: 1.6;
  border-bottom: 2px solid #0f75b5;
  border-right: 2px solid #0f75b5;
}
/* 内側ラインの終端調整（外枠はtableの3pxを使用） */
.block05 .block05__table tr > *:last-child{ border-right: none; }
.block05 .block05__table tbody tr:last-child > *{ border-bottom: none; }
/* 価格 */
.block05 .block05__table--pricing thead th{
  font-weight: 500;
  white-space: nowrap;
  background: #69b2e0;
  color:#fff;
}
/* オプション */
.block05 .block05__table--options th[scope="row"]{
  background: #69b2e0;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  width: 50%;
}
/* 上付き文字の見た目を微調整 */
.block05 sup{
  font-size: .75em;
  vertical-align: super;
}
/* キャンペーン */
.campaign {
	max-width:800px;
	padding:30px 20px;
	background-color:#fff;
	border:2px solid #29adff;
	border-radius:20px;
	margin:30px auto 0;
	text-align:center;
}
.campaign figure { width:fit-content;margin:0 auto;padding-bottom:20px;}
.campaign p { font-size:15px !important;}
.service {
	font-size:27px;
	font-weight:600;
	color:#fff;
	width:fit-content;
	margin:20px auto 0;
	padding:5px 20px;
	border-radius:100px;
	background-color:#29adff;
}
.service span { color:#faee00; }

/* レスポンシブ（SP） */
@media (max-width: 767px){
	.block05 p {line-height:1.4em}
  .block05 .c-container { padding:0 4% !important;}
  .block05 h3{ font-size:19px;}
  .block05 strong { font-size:25px;line-height:1.5em;margin-bottom:1em;}
  .block05 .block05__table{
    width: 100% !important;
  }
  .block05 .block05__table th,
  .block05 .block05__table td{
    padding: 10px;
    font-size:16px;
    line-height: 1.6;
    border-bottom: 2px solid #0f75b5;
    border-right: 2px solid #0f75b5;
  }
  .campaign figure { padding-bottom:10px;}
  .service {
	font-size:5vw;
	line-height:1.2em;
	margin:15px auto 0;
	padding:10px 15px;
}
}

/*---------------------------------
 block06　お客様の声
---------------------------------*/
.block06{
  background-image: url('/wp-content/themes/gaihekireset/images/block06-bg.jpg');
}
.block06 .c-container {
	margin:0px auto;
	--_container-max-width: 100%;
	padding:0 4%;
}
.block06 .card{
  display: inline-block; 
  vertical-align: top;
  width: calc(33.333% - 24px);    /* 3列 - 両側マージン合計を差し引き */
  min-height:340px;
  margin: 0 12px 24px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 24px);
  text-align: left;
  color: #333;
}
.block06 .card .name{
  font-weight: 700;
  font-size: 25px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.block06 .card figure{
  margin: 4px 0 12px;
}
.block06 .card figure img{
  width: auto;
  display: block;
}
.block06 .card p{
  margin: 0;
  font-size:16px;
  line-height: 1.5;
  letter-spacing: .02em;
  word-break: break-word;
}

/* スマホ */
@media (max-width: 767px){
  .block06 .card{
    display: block;
    width: 100%;
    margin: 0 0 16px;
    border-radius: 6px;
  }
  .block06 .card .name{ font-size: 20px; }
}

/*---------------------------------
 block07　よくあるご質問
---------------------------------*/
.block07{
  background-image: url('/wp-content/themes/gaihekireset/images/block07-bg.jpg');
  --faq-speed: 600ms; /* 開閉とアイコン回転の速度 */
}

/* リスト */
.block07 .block07__list{
  list-style: none;
  margin: 0;
  padding: 0 2%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
}
.block07 .block07__item{ margin: 0; }

/* カード */
.block07 .faq{
  background: #fff;
  border-radius: 20px;
  padding: clamp(16px, 2.2vw, 24px);
}

/* summary（既定の三角を消す） */
.block07 .faq summary{
  list-style: none;
  cursor: pointer;
  outline: none;
}
.block07 .faq summary::-webkit-details-marker{ display: none; }
.block07 .faq summary::marker{ content: ""; }

/* Q行 */
.block07 .faq__summary{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  column-gap: clamp(8px, 1.6vw, 16px);
  padding: 2px 0;
}
.block07 .faq__qmark{
  font-size: 40px;
  color: #0f75b5;
  line-height: 1;
  text-align: center;
}
.block07 .faq__question{
  font-size: 22px;
  color: #0f75b5;
  text-align: left;
}

/* 右端アイコン（＋→× 回転） */
.block07 .faq__icon{
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0f75b5;
  justify-self: end;
}
.block07 .faq__icon::before,
.block07 .faq__icon::after{
  content:"";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 1px;
  transform-origin: center;
  transition: transform var(--faq-speed) ease;
}
.block07 .faq__icon::before{ transform: translate(-50%, -50%) rotate(0deg); }
.block07 .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.block07 details[open] .faq__icon::before{ transform: translate(-50%, -50%) rotate(45deg); }
.block07 details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Aエリア（線・余白は open 中のみ） */
.block07 .faq__answer{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 20px;
  align-items: start;
}
.block07 details[open] .faq__answer{
  margin-top: 0px;
  padding-top: 0px;
}
.block07 .faq__amark{
  font-size: 40px;
  color: #0f75b5;
  line-height: 1;
  text-align: center;
}

/* 開閉アニメ（JSの height+opacity 制御に合わせる） */
.block07 .faq__body{
  display: block;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height var(--faq-speed) ease, opacity var(--faq-speed) ease;
  text-align: left;
  line-height: 1.9;
}
.block07 details[open] .faq__body{ opacity: 1; }
.block07 .faq__answer{
  /* レイアウト（Aと本文の2カラム） */
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 20px;
  align-items: start;
  height: 0;
  overflow: hidden;
  padding-top: 0;
  transition:
    height var(--faq-speed) ease,
    padding-top var(--faq-speed) ease,
    border-color var(--faq-speed) ease;
}

/* 開いている間だけ線の色を出す（色もスッと変わる） */
.block07 details[open] .faq__answer{
  border-top-color: #0f75b5;
}

/* Aと本文の見た目は従来どおり（フェード等は付けない） */
.block07 .faq__amark{
  font-size: 40px;
  color: #0f75b5;
  line-height: 1;
  text-align: center;
}
.block07 .faq__body{
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
  transition: none !important;   /* 本体側ではアニメをしない */
}
.block07 .faq__body > *{
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* SP微調整（任意） */
@media (max-width: 767px){
  .block07 .block07__list{ padding-left: 4%; padding-right: 4%; }
  .block07 .faq__summary{ grid-template-columns: 36px 1fr 36px; }
}

/*---------------------------------
 block08　お知らせ
---------------------------------*/
.block08{
  background-image: url('/wp-content/themes/gaihekireset/images/block06-bg.jpg');
    background-position: right !important;
}
.block08 .wp-block-latest-posts__list{
  max-width: 760px;          /* 幅は細めに中央寄せ */
  margin: clamp(8px, 1.6vw, 16px) auto 0;
  gap: clamp(8px, 1.4vw, 14px);
}
.block08 .wp-block-latest-posts__list li{
  display: flex;
  align-items: baseline;
  column-gap: clamp(16px, 3vw, 28px);
}
/* 日付） */
.block08 .wp-block-latest-posts__post-date{
  order: 1;
  flex: 0 0 160px;
  white-space: nowrap;
  color: #0076c0;
  font-size: 18px;
}
/* タイトル */
.block08 .wp-block-latest-posts__post-title{
  order: 2;
  flex: 1 1 auto;
  text-decoration: none;
  color: #00395c;
  line-height: 1.8;
}
.block08 .wp-block-latest-posts__post-title:hover{ text-decoration: underline; }

/* SP */
@media (max-width: 767px){
  .block08 .wp-block-latest-posts__list{ max-width: 92%; }
  .block08 .wp-block-latest-posts__post-date{ flex-basis: 130px; }
}
/*---------------------------------
 block09　CTA
---------------------------------*/
.block09{
  background-image: url('/wp-content/themes/gaihekireset/images/block09-bg.jpg');
  background-position:right !important;
  text-align:center;
}
.block09 .smb-section__inner {padding:0 4%;}
.block09 .cta{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(16px, 3vw, 28px);
}

/* 共通ボタン */
.block09 .cta .cta-btn-tell,
.block09 .cta .cta-btn-form,
.block09 .cta a.cta-btn-tell,
.block09 .cta a.cta-btn-form{
  --cta-red: #bf1616;
  --cta-red-dark: #c43f33;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;                 /* 中央揃え */
  gap: clamp(14px, 2vw, 24px);            /* アイコンと文字の間 */
  min-height: clamp(68px, 9vw, 88px);
  padding: 0 clamp(20px, 3.6vw, 40px);
  border-radius: 14px;
  font-size:28px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background-color .15s ease,
    color .15s ease,
    border-color .15s ease;
}
/* 電話：塗りボタン */
.block09 .cta .cta-btn-tell,
.block09 .cta a.cta-btn-tell{
  background: var(--cta-red);
  color: #fff;
  border: 2px solid var(--cta-red);
}
.block09 .cta .cta-btn-tell:hover,
.block09 .cta a.cta-btn-tell:hover{
  background: var(--cta-red-dark);
  border-color: var(--cta-red-dark);
  transform: translateY(-1px);
}
.block09 a:where(:not(.wp-element-button)) {
    color: #b71e1e;
    text-decoration: none;
}
.block09 .cta-btn-tell a { color:#fff; }
@media (min-width: 768px){
  .block09 .cta{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 440px));
    justify-content: center;
    gap: clamp(18px, 3vw, 36px);
  }
  .block09 .cta .cta-btn-tell,
  .block09 .cta .cta-btn-form,
  .block09 .cta a.cta-btn-tell,
  .block09 .cta a.cta-btn-form{
    width: 100%;
    max-width: none;
    min-width: 0; 
    flex: none; 
  }
}
/* フォーム：白地・赤枠 */
.block09 .cta .cta-btn-form,
.block09 .cta a.cta-btn-form{
  background: #fff;
  color: var(--cta-red);
  border: 3px solid var(--cta-red);
}
.block09 .cta .cta-btn-form:hover,
.block09 .cta a.cta-btn-form:hover{
  color: var(--cta-red-dark);
  border-color: var(--cta-red-dark);
  transform: translateY(-1px);
}

/* アイコン（画像） */
.block09 .cta .cta-btn-tell::before,
.block09 .cta a.cta-btn-tell::before,
.block09 .cta .cta-btn-form::before,
.block09 .cta a.cta-btn-form::before{
  content: "";
  inline-size: clamp(26px, 3.2vw, 36px);
  block-size: clamp(26px, 3.2vw, 36px);
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.block09 .cta .cta-btn-tell::before,
.block09 .cta a.cta-btn-tell::before{
  background-image: url('/wp-content/themes/gaihekireset/images/icon-tel.png');
}
.block09 .cta .cta-btn-form::before,
.block09 .cta a.cta-btn-form::before{
  background-image: url('/wp-content/themes/gaihekireset/images/icon-mail2.png');
}

/* SP：幅を広めに・縦積み */
@media (max-width: 767px){
  .block09 .cta .cta-btn-tell,
  .block09 .cta .cta-btn-form,
  .block09 .cta a.cta-btn-tell,
  .block09 .cta a.cta-btn-form{
    width: min(560px, 94vw);
  }
	.block09 .cta .cta-btn-tell,
	.block09 .cta a.cta-btn-tell{
		font-size:30px;
	}
	.block09 .cta-btn-tell a { color:#fff;text-decoration:none;}
}


/*---------------------------------
スマホ 共通定義・リセット
---------------------------------*/
@media (max-width:768px){
 .block01 .wp-block-columns{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px 14px; /* 行間・列間 */
  }
}



/*---------------------------------
共通
---------------------------------*/
/* 詳しくはコチラ　ボタン */
.more-btn {
	width:fit-content;
	padding:0.5em 4em;
	background-color:#fff;
	border-radius:100px;
	margin:30px auto 0;
	border:2px solid #00395c;
	color:#00395c;
	cursor:pointer;
	display:none; /* 非表示 */
}


/*---------------------------------
フッター
---------------------------------*/
.l-footer,.c-copyright--inverse { background-color:#39a5b2 !important; }
.c-copyright { padding-top:0px !important; }
.footer-info{
  color:#fff;
  padding: 50px 4% ;
}
.footer-info a{ color:#fff; text-decoration:none; }
.footer-info a:hover,
.footer-info a:focus{ text-decoration:underline; }

/* レイアウト */
.footer-info__container{
  max-width: 1200px;
  margin: 0 auto;
}
.footer-info__grid{
  display:grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: clamp(20px,4vw,40px);
  align-items:start;
}

/* 左：ロゴ／住所／TEL */
.footer-info__logo{
  width: clamp(180px,24vw,260px);
  height:auto;
  display:block;
  margin: 0 0 14px;
}
.footer-info__office{ margin:0 0 6px; font-weight:500; }
.footer-info__addr{
  font-style:normal;
  margin:0px;
  line-height:1.9;
}
.footer-info__tel{
  margin:0px;
  font-weight:500;
  font-size: 40px;
	line-height:1em;
}
.footer-info__tel-label{
  font-size:.65em;
  font-weight:700;
  margin-right:.2em;
  opacity:.9;
}
.footer-info__hours{ margin: 0px; opacity:.9; }

/* 右：対応エリア（半透明カード） */
.footer-info__area-card{
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: clamp(16px,2.6vw,28px);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.footer-info__area-card h4{
  margin:0 0 10px;
  font-weight:800;
  font-size: clamp(16px,2vw,18px);
}
.footer-info__area-text{
  margin:0;
  line-height:1.9;
  word-break: break-word;
}

/* コピーライト */
.footer-info__copy{
  display:block;
  margin-top: clamp(20px,3vw,28px);
  font-size:13px;
  color: rgba(255,255,255,.85);
  text-align:left;
}

/* レスポンシブ */
@media (max-width: 980px){
  .footer-info__grid{ grid-template-columns: 1fr; }
  .footer-info__copy{ text-align:center; }
}

@media (max-width: 767px){
  .footer-info{ padding: 28px 4% 36px; }
  .footer-info__logo{ width: clamp(160px,40vw,220px); }
  .footer-info__tel{ font-size: clamp(26px,7vw,36px); }
}
/*---------------------------------
スマホ 共通定義・リセット
---------------------------------*/
@media (max-width:768px){
  .c-entry__header .c-entry__title { text-align:center; margin-bottom:20px;} /* h1 */
  body:not(.home) .l-contents__inner{ padding:0 3%; } /* 下層のみに左右余白 */
  .l-contents__container>.p-breadcrumbs-wrapper:first-child, .l-contents__container>.p-breadcrumbs-wrapper:last-child, .l-contents__container>.u-slim-width>.p-breadcrumbs-wrapper:first-child, .l-contents__container>.u-slim-width>.p-breadcrumbs-wrapper:last-child { display:none !important;}  /* パンくず非表示 */
	.pc { display: none; }
}
/*---------------------------------
スマホ　画面下部　追従　問合わせボタン
---------------------------------*/
@media (max-width: 767px){
  :root{ --sp-cta-h: 68px; }

  /* かぶり防止：下に余白を常時確保（iOSセーフエリア対応） */
  body{
    padding-bottom: calc(var(--sp-cta-h) + env(safe-area-inset-bottom, 0px));
  }

  .sp-fixed-cta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    /* 背景ぼかしが不要なら削除 */
    backdrop-filter: blur(2px);
  }
  .sp-fixed-cta__inner{
    max-width: 560px;              /* 端末幅が広いときの見栄え調整 */
    margin: 0 auto;
  }
  .sp-fixed-cta__btn{
    display: flex;
    align-items: center;
    justify-content: center;       /* アイコン＋文字をセンター */
    gap: 12px;
    min-height: var(--sp-cta-h);
    width: 100%;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .02em;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  }
  .sp-fixed-cta__btn:active{ transform: translateY(1px); }

  /* フォーム（赤枠白地） or 電話（赤塗り白字）を切替 */
  .sp-fixed-cta__btn.is-form{
    background: #fff; color: #bf1616; border: 3px solid #bf1616;
  }
  .sp-fixed-cta__btn.is-tel{
    background: #bf1616; color: #fff; border: 2px solid #bf1616;
  }

  /* アイコン画像（既存パスを使用） */
  .sp-fixed-cta__icon{
    inline-size: 28px; block-size: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .sp-fixed-cta__btn.is-form .sp-fixed-cta__icon{
    background-image: url('/wp-content/themes/gaihekireset/images/icon-mail2.png');
  }
  .sp-fixed-cta__btn.is-tel .sp-fixed-cta__icon{
    background-image: url('/wp-content/themes/gaihekireset/images/icon-tel.png');
  }
}
/* PCでは非表示 */
@media (min-width: 768px){
  .sp-fixed-cta{ display: none; }
	.sp { display: none; }
}
/*---------------------------------
 下層　共通
---------------------------------*/
body:not(.home) {
  background-image: url('/wp-content/themes/gaihekireset/images/block06-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
}
body:not(.home) .c-entry__body {
	background-color:#fff;
	width:980px !important;
	border-radius:30px;
	margin:0 auto;
	padding:30px;
	box-sizing:border-box;
}
body:not(.home) .l-contents { padding-bottom:30px;}
.c-page-header { margin-top:120px; } /* 投稿ページ　トップマージン */
.c-entry__header { margin-top:150px;text-align:center; } /* 固定ページ　トップマージン */
.p-breadcrumbs-wrapper { display:none; } /* パンくず非表示 */
.c-entry__footer { display:none; } /* ページナビ非表示 */
.c-meta__item.c-meta__item--modified { display:none; } /* 更新日非表示 */
.c-meta__item.c-meta__item--author { display:none; } /* ユーザー非表示 */
.c-meta__item.c-meta__item--categories { display:none; } /* カテゴリー非表示 */
body:not(.home) .c-page-header { padding-bottom:0px !important}
body:not(.home) .l-contents__inner { margin-top:20px !important}

.c-page-header__content{text-align:left;}

/*---------------------------------
 下層　問合わせフォーム
---------------------------------*/
:root{
  --gr-accent: #e85c4a;            /* 強調色（ボタン/枠のフォーカス等） */
  --gr-line:   rgba(0,0,0,.08);
  --gr-text:   #333;
  --gr-muted:  #999;
  --gr-bg:     #fff;

  /* 必須バッジ系（調整しやすいように変数化） */
  --gr-req-color: #e60000;         /* バッジの赤 */
  --gr-req-size: 33px;             /* 直径 */
  --gr-req-font: 11px;             /* 文字サイズ */
}

.gr-form{ --gap:18px; max-width:840px; margin:0 auto; color:var(--gr-text); }

/* 完了メッセージ */
.gr-form__notice{ padding:12px 14px; border-radius:8px; margin:0 0 18px; background:#f2fff5; }


/* チェック群 */
.gr-form__group{ border:none; border-top:1px solid var(--gr-line); padding:22px 0 10px; margin:0 0 6px; }
.gr-form__legend{ font-weight:700; margin:0 0 12px; }
.gr-checks{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px 20px; }
.gr-check{ display:flex; align-items:center; gap:8px; font-size:15px; }
.gr-check input{ inline-size:18px; block-size:18px; accent-color:var(--gr-accent); }

/* 2カラム行 */
.gr-form__row{
  display:grid; grid-template-columns:220px 1fr;
  align-items:flex-start; gap:20px; padding:18px 0;
  border-top:1px solid var(--gr-line);
}
/* 先頭行の罫線太さを明示する必要はないため削除 */

/* ラベル＆必須バッジ（ここだけで完結） */
.gr-label{
  display:inline-flex; align-items:center; gap:6px;
  line-height:2; font-weight:600;
}
.gr-required{
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; background:var(--gr-req-color);
  width:var(--gr-req-size); height:var(--gr-req-size);
  font-size:var(--gr-req-font); font-weight:700; line-height:1;
  border-radius:50%;
}

/* 入力欄 */
.gr-field{ position:relative; width:100%; }
.gr-field input[type="text"],
.gr-field input[type="tel"],
.gr-field input[type="email"],
.gr-field textarea{
  width:100%; padding:12px 14px;
  border:1px solid var(--gr-line); border-radius:8px; background:var(--gr-bg);
  transition:border-color .2s, box-shadow .2s;
}
.gr-field input:focus,
.gr-field textarea:focus{
  outline:none; border-color:var(--gr-accent);
  box-shadow:0 0 0 3px color-mix(in oklab, var(--gr-accent) 20%, transparent);
}

/* プレースホルダー（ご指定済み） */
.gr-field input::placeholder,
.gr-field textarea::placeholder{
  font-size:16px; color:#c5c5c5;
}
.gr-hint{ margin:.5em 0 0; color:var(--gr-muted); font-size:12.5px; }

/* 残り必須数（今回は非表示運用） */
.gr-form__rest{ display:none; }

/* 送信ボタン */
.gr-btn{
  width:min(420px,100%); display:block; margin:0 auto;
  padding:14px 18px; border:none; border-radius:10px;
  background:#cfcfcf; color:#fff; font-weight:700; letter-spacing:.04em;
  transition:filter .2s, transform .02s, background .2s;
}
.gr-btn:not([disabled]){ background:var(--gr-accent); cursor:pointer; }
.gr-btn:not([disabled]):hover{ filter:brightness(1.05); }
.gr-btn:not([disabled]):active{ transform:translateY(1px); }
/* 通常の送信ボタンだけ赤、戻るボタンは枠線のみ */
.gr-btn:not([disabled]):not(.gr-btn--ghost) {
  background: var(--gr-accent);
  cursor: pointer;
}
.gr-btn.gr-btn--ghost {
  background: transparent !important;
  color: var(--gr-accent);
  border: 1px solid var(--gr-accent);
}
/* --- SP最適化 --- */
@media (max-width: 768px){
  .gr-checks{ grid-template-columns:1fr; gap:8px; }
  .gr-form__row{ grid-template-columns:1fr; gap:10px; padding:14px 0; }
  .gr-label{ font-size:14px; }
  .gr-required{ width:fit-content; height:20px; font-size:10px; }
}
.gr-confirm{max-width:840px;margin:0 auto;padding:18px;background:#fff;border-radius:12px}
.gr-confirm__ttl{font-weight:700;margin:0 0 10px}
.gr-confirm__list{display:grid;grid-template-columns:220px 1fr;gap:14px 20px;margin:10px 0}
.gr-confirm__list dt{font-weight:600;color:#333}
.gr-confirm__actions{margin-top:16px;text-align:center}
.gr-confirm__back{margin-top:10px;text-align:center}
.gr-btn--ghost{background:transparent;color:var(--gr-accent);border:1px solid var(--gr-accent)}
@media (max-width:768px){
  .gr-confirm__list{grid-template-columns:1fr}
}