@charset "utf-8";

/* 内部リンク調整 */
:target::before {
  content: "";
  display: block;
  height: 148px; /* ヘッダーの高さに合わせて調整 */
  margin-top: -148px; /* ヘッダーの高さ分をマイナスにして位置を調整 */
}

/* 共通タイトル基準 */
.ContentsHead {
	text-align: center;
	margin: auto;
}
.ContentsHead h2 {
    filter: drop-shadow(2px 2px 1px #FFF);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    margin: 40px auto 24px;
    color: #333;
}
.ContentsHead h2 span {
    font-size: clamp(1.0rem, 2vw, 2.0rem);
    display: block;
}
.ContentsHead p {
    font-size: clamp(0.9rem,2vw,1.2rem);
	xtext-align: left;
	margin: 24px auto;
	max-width: 780px;
	font-weight: 700;
}
.SubPageTitle {
background: #2644AC;
    color: #FFF;
    padding: 16px 24px 16px 8px;
    border-radius: 5px;
    margin: 8px auto 32px;
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    position: relative;
}
.SubPageTitleH3 {
background: #217DE5;
    color: #FFF;
    padding: 16px 24px 16px 8px;
    border-radius: 5px;
    margin: 8px auto 32px;
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    position: relative;
}
/* 共通コンテンツ */
section {
    padding: 40px 0;
    position: relative;
}
.Contents {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
	position: relative;
}
.CommonBox {
	margin-top: 16px;
	padding: 16px;
	background: #f3f3f3;
	border: 3px solid #2644AC;
	border-radius: 8px;
}
.CommonBox p {
	margin: 0;
	color: #333;
}
.CommonBox2 {
	margin: 16px auto;
    padding: 16px;
    background: #FFF;
    border-radius: 8px;
}
.CommonBox2 p {
	margin: 0;
	color: #333;
}


@media (max-width: 1023px) {
/* 共通コンテンツ */
.Contents {
	max-width: 100%;
}
}

/* 共通テキスト */
.ann {
	font-size: 12px;
}
span.marker {
    background: linear-gradient(transparent 70%, #FFEB3B 70%);
}
/*共通BG*/
.Bg1 {
	background: #FFFFFF;
}
.BgS {
    position: relative;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
}
.Hbg03::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(././img/bg01.jpg);
    background-size: cover;
}

/* 共通 注釈ボックス */
.AnnBox {
  margin-top: 16px;
  padding: 0 16px;
  background: #f1fcff;
  border: 3px solid #2644AC;
  border-radius: 8px;
  font-size: 12px; /* フォントサイズを12pxに */
  max-height: 72px; /* 縦幅を最小限に設定 */
  overflow-y: auto; /* 縦方向にスクロールを許可 */
  color: #333;
}

.AnnBox p {
  margin: 0;
  line-height: 1.5; /* 行間を少し広げて読みやすく */
}

/*共通ボタンスタイル*/
/* ボタンのコンテナを中央寄せ */
.ListLink {
  text-align: center;
  margin: 20px 0; /* ボタン上下の余白を調整 */
}

.ListLink a {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff; /* ボタンの文字色 */
  background: linear-gradient(to right, #00a0e9, #007bbf);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 立体感を追加 */
  transition: all 0.3s ease; /* ホバー時のアニメーション */
  position: relative; /* アイコンの位置調整用 */
      width: 480px;
    max-width: 100%;
}

.ListLink a .arrow-icon {
  margin-left: 8px; /* テキストと矢印の間隔 */
  font-size: 1.0em;
  transition: transform 0.3s ease; /* ホバー時の動き */
}

.ListLink a:hover .arrow-icon {
  transform: translateX(5px); /* ホバー時に右に動くアニメーション */
}

.ListLink a:hover {
  background-color: #004bb7; /* 少し濃い青に変更 */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* ホバー時の影を強化 */
  transform: translateY(-2px); /* ホバー時に少し浮かせる */
}

.ListLink a:active {
  background-color: #003a93; /* クリック時の色 */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* クリック時の影を小さく */
  transform: translateY(0); /* クリック時は元に戻す */
}

/* 共通アクションコンテンツ */
.Action {
	xbackground: #f1fcff;
	padding: 40px 0;
}
.ActArea{
	background-color: #FFF;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    padding: 24px;
    position: relative;
}
.ActBox {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
	margin-bottom: 16px;
}
.ActCoupon {
	width: 20%;
}
.ActButton {
	width: 60%;
    padding: 0 16px;
}
.ActButton a {
    transition: all 0.3s ease;
	display: block;
}
.ActButton a:hover {
	transform: translateY(-2px);
}
.ActButton2 {
    display: flex;
	justify-content: space-between;
}
.ActButton2 a {
	max-width: 49%;
}
.ActFhoto {
	width: 20%;
}
@media (max-width: 680px) {
.ActArea {
    padding: 8px;
}
.ActBox {
flex-wrap: wrap;
}
.ActCoupon {
	width: 100%;
}
.ActButton {
	width: 100%;
    padding: 0;
}
.ActFhoto {
	display: none;
}

}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}
.footer-content a {
    line-height: 0;
    display: block;
}

.footer-content a img {
    padding: 0 8px;
}

/* 共通toggleスタイル */
.toggle-title {
  cursor: pointer;
  background: #FFF;
  color: #2644AC;
  padding: 16px 24px 16px 8px;
  border-radius: 5px;
  margin: 8px auto 0;
	font-size: clamp(1.0rem, 1.6vw, 1.6rem);
  position: relative;
}

.toggle-icon {
	position: absolute;
    right: 2%;
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    font-weight: bold;
    padding-left: 8px;
    top: 50%;
    transform: translateY(-50%);
}
.toggle-content {
	position: relative;
    top: -5px;
  padding: 16px;
  display: none; /* デフォルトでは非表示 */
}
/* トグルコンテンツのテーブル-レスポンシブ */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  color: #333;
}

.responsive-table th,
.responsive-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.responsive-table thead {
  background-color: #2ea2cc;
  color: #FFF;
}

.toggle-content {
  overflow-x: auto; /* 横スクロールを可能に */
}
@media (max-width: 680px) {
.responsive-table th,
.responsive-table td {
    font-size: 14px; /* 小さいデバイス向けにフォントサイズを調整 */
    padding: 8px;
}
}

/* 共通お支払いpayment */
.Payment {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}
.Payment .PayList {
    flex: 0 0 calc(50% - 8px);
    background-color: #f1fcff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    position: relative;
}
.Payment .PayList p {
	font-size: clamp(0.9rem, 1.0vw, 1.0rem);
}
@media screen and (max-width: 680px) {
.Payment .PayList {
    flex: 100%;
	padding: 8px;
}
}
/****** 施工事例スライド ******/
.Results {
    background-color: #f1fcff;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(75,181,235,0.25) 2px, transparent 0),
        radial-gradient(circle at 50% 80%, rgba(75,181,235,0.15) 3px, transparent 0),
        radial-gradient(circle at 80% 30%, rgba(75,181,235,0.2) 2px, transparent 0);
    background-size: 60px 60px;
}


.Results .swiper-horizontal {
	padding-bottom: 6px;
}
.Results .swiper-container {
  width: 100%;
  height: 300px; /* 高さは調整できます */
}

.Results .swiper-slide {
	background-color: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, .34);
    border-radius: 5px;
    position: relative;
	color: #333;
}
.Results .swiper-inner {
	padding: 16px;
}
.Results .swiper-inner h3 {
	margin: 0 auto 10px;
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    line-height: 1.5;
}
.Results .swiper-inner strong {
	margin: 0 auto 8px;
    font-size: 1.0rem;
    display: inline-block;
    background: #4BB5EB;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 500;
}
.Results .swiper-inner p {
	margin: auto;
    font-size: clamp(0.8rem, 1.0vw, 1.0rem);
}
.Results .article-thumbnail img {
  width: 100%; /* 幅をコンテナに合わせる */
  height: 200px; /* 高さを固定 */
  object-fit: cover; /* 画像の比率を保ちながら高さに合わせてクロップ */
  border-radius: 5px 5px 0 0;
}
/* タグのスタイル */
.Results .article-tags {
  margin-top: 10px;
}

.Results .article-tags .tag-label {
  font-weight: bold;
  color: #007acc;
}

.Results .article-tags a {
    display: inline-block;
    background-color: #4BB5EB;
    color: #FFF;
    padding: 0px 5px 2px;
    border-radius: 4px;
    text-decoration: none;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
}

.Results .article-tags a:hover {
  background-color: #007acc;
  color: #ffffff;
}
@media (max-width: 680px) {
.Results .article-thumbnail img {
  height: 150px; /* 高さを固定 */
}
}

/* 仮 */
.Contact {
	background: #FFF;
}
/*******************************
* フォームの設定
********************************/

/* バッジの色 */
.wpcf7 p span.must,
.wpcf7 p span.free {
    font-weight: 400;
    color: #FFF;
}
.wpcf7 p span.Fcol01 {
    font-weight: 400;
    color: #fb0101;
}
.themeform input[type="submit"] {
    position: relative;
    margin: auto;
    left: 0;
    right: 0;
}
.wpcf7 input[type="submit"] {
  -webkit-appearance: none;
}
/* 必須マーク */
.must {
	background: #0460D9;
}

/* 任意マーク */
.free {
	background: #999;
}

.must,
.free {
	color: #FFF;
	border-radius: 3px;
	font-size: 12px;
	margin-right: 10px;
	padding: 5px 10px;
	letter-spacing: 0.2em;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #0460D9;
}
.wpcf7 p {
    margin: 0 0px 3em;
}
/* フォーム入力項目 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 input[type="tel"] {
	padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-indent: 0.5em;
	width: 80%;
}
.wpcf7 .wpcf7-select {
	padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-indent: 0;
}
.wpcf7 textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0 0 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}
/* フォーム入力項目 */
.themeform select {
	padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
/* ファイル選択 */
.wpcf7 input[type="file"] {
    cursor: pointer;
    margin-bottom: 10px;
}
/* 送信ボタン */
input.sub-btn {
	width: 80%;
    padding: 20px 0;
    background: #1458bf;
    color: #FFF;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.2em;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
    border: 0;
    margin: 0 auto;
    text-align: center;
    display: block;
}

/* 送信ボタンホバー */
input.sub-btn:hover{
	background: #1458bf;
	color: #FFF;  
}

/* 送信ボタン中央寄せ */
.center {
	text-align:center;
}
.themeform button, .themeform input, .themeform label, .themeform select, .themeform textarea {
    font-size: 16px;
}


/***** クーポン表示 *****/
  :root { --cl-bg:#111827; --cl-fg:#fff; --cl-accent:#22c55e; --cl-accent-2:#16a34a; --cl-border:rgba(255,255,255,.15); }

  .cl-coupon-bar{
    position:fixed;left:0;bottom:0;width:300px;
    z-index:9999;transform:translateY(110%);opacity:0;
    transition:transform .35s,opacity .35s;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .cl-coupon-bar.is-show{transform:translateY(0);opacity:1}

  .cl-coupon-inner{
    background:var(--cl-bg);color:var(--cl-fg);
    border:1px solid var(--cl-border);
    border-radius:14px 14px 0 0;
    box-shadow:0 -8px 24px rgba(0,0,0,.35);
    padding:12px;display:flex;flex-direction:column;gap:10px;
  }

  .cl-badge{display:flex;flex-direction:column;gap:6px;font-weight:700}
  .cl-pill{
    display:inline-block;align-self:flex-start;
    font-size:14px;line-height:1.4;
    padding:6px 10px;border-radius:999px;
    background:rgba(34,197,94,.18);border:1px solid rgba(34,197,94,.35);
  }
  .cl-pill .cl-code-num{
    font-size:20px; /* 数字だけ大きく */
    margin-left:4px;
  }
  .cl-msg{font-size:15px;font-weight:700;}

  .cl-btn{
    cursor:pointer;display:block;text-align:center;text-decoration:none;
    border-radius:8px;padding:10px 14px;font-weight:700;
    background:var(--cl-accent);color:#0b2414;
    box-shadow:0 6px 16px rgba(34,197,94,.25);
  }
  .cl-btn:hover{background:var(--cl-accent-2)}

  .cl-close{
    position:absolute;right:6px;top:-36px;
    background:rgba(17,24,39,.72);color:#fff;
    border:1px solid var(--cl-border);
    padding:4px 8px;border-radius:999px;
    font-size:12px;cursor:pointer;
  }

  /* FAB（再表示ボタン） */
  .cl-fab{
    position:fixed;left:12px;bottom:calc(72px + env(safe-area-inset-bottom));
    z-index:3;display:none;align-items:center;gap:6px;
    background:var(--cl-bg);color:var(--cl-fg);
    border:1px solid var(--cl-border);box-shadow:0 8px 22px rgba(0,0,0,.35);
    border-radius:999px;padding:8px 10px;font-weight:700;cursor:pointer;bottom: 30px;
  }
  .cl-fab .cl-dot{width:8px;height:8px;border-radius:50%;background:var(--cl-accent)}
  .cl-fab.show{display:inline-flex}