@charset "utf-8";

/* sp-style.css：スマホ専用スタイル（max-width: 768px） */

body {
  font-size: 18px;
  background-color: #FFF;
  background-image: url(../img/bg.png);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: contain;
  padding: 0;
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

#header {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ヘッダーロゴ画像を縮小 */
#header #h_logo {
  width: 280px;
  height: auto;
  max-width: 80%;
  margin: 0 auto;
}

/* ヘッダーCTAバナーを非表示 */
#header #form_banner {
  display: none;
}

/* フッター非表示（スマホでは） */
#footer {
  display: none;
}

.content .cont_box {
  width: 100%;
  max-width: 100%;
  padding: 20px 10px;
  margin: 0 auto 30px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.content .cont_box_in {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

/* 施工事例セクション調整 */
.box_voice {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin: 20px 10px;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.box_voice .voice_title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
  padding: 10px;
  background-color: #5B2E0F;
  color: #fff;
  border-radius: 6px;
  text-align: center;
}

.box_voice .voice_img {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}

/* お問い合わせボックス調整 */
.box_info {
  width: 100% !important;
  height: auto !important;
  padding: 20px 10px;
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.box_info .box_info_sample {
  display: none;
}

.box_info .box_info_txt {
  order: 1;
  display: block;
  width: 100%;
  max-width: 320px;
}

.box_info form.contact_form {
  order: 2;
  position: static;
  width: 100%;
  max-width: 320px;
  background: #f9f9f9;
  padding: 20px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin: 0 auto;
}

.box_info .box_info_tel {
  order: 3;
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 10px;
  background-color: #f7d600;
  border-radius: 6px;
  content: url(../data/form3-sp.png);
}

form.contact_form input,
form.contact_form select {
  width: 100%;
  font-size: 16px;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

form.contact_form .form_btn {
  width: 100%;
  margin-top: 10px;
}

/* サイドCTAは非表示 */
#side-cta-tab {
  display: none;
}

/* ======== モバイル下部CTAバー：完全統一デザイン ======== */
#mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ccc;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.10);
}

#mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #fff !important;
  border: none;
  border-radius: 0;
  margin: 0;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

#mobile-cta-bar a .cta-ico {
  display: inline-block;
  margin-right: 8px;
  font-size: 20px;
  vertical-align: middle;
}

/* 各ボタンのブランドカラー */
.mobile-cta-phone {
  background-color: #007bff;
}
.mobile-cta-form {
  background-color: #d90000;
}
.mobile-cta-line {
  background-color: #06C755;
}

#mobile-cta-bar a:hover {
  opacity: 0.87;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) inset;
}

/* アイコン画像に対応（例：LINEロゴ） */
.mobile-cta-line img {
  margin-right: 8px;
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* reCAPTCHAバッジ調整 */
.grecaptcha-badge {
  position: fixed !important;
  bottom: 100px !important;
  right: 10px !important;
  transform: scale(0.6);
  transform-origin: bottom right;
  z-index: 10000 !important;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 72px !important;
  height: 60px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
  height: 60px !important;
  overflow: visible !important;
}
#g-recaptcha-response1,
#g-recaptcha-response2 {
  display: none;
}

/* レイアウト崩れ防止 */
html, body {
  overflow-x: hidden;
  padding-bottom: 10px;
}

/* ----- 各種コンテンツ装飾・調整パーツ（省略なし） ----- */

/* ul, ol リストのスマホ用余白最適化 */
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* タイトル帯の中央寄せ＆調整 */
.title_obi,
.title_obi2,
.title_obi3 {
  text-align: center;
  background-repeat: repeat-x;
  background-position: center bottom;
  z-index: 100;
  position: relative;
  padding-top: 20px;
}
.title_obi img,
.title_obi2 img,
.title_obi3 img {
  margin-bottom: -24px;
  margin-top: 0px;
  max-width: 100%;
  height: auto;
}

/* 主要h2装飾（スマホで見やすく） */
.content .cont_box .cont_box_in h2 {
  margin-top: 24px;
  margin-right: 10px;
  margin-bottom: 18px;
  margin-left: 10px;
  padding-left: 12px;
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: #2881B3;
  font-size: 20px;
  line-height: 30px;
  background-color: #F1F9FC;
  padding-top: 2px;
}

/* 強調文字 */
u {
  font-weight: bold;
}

/* staff紹介ボックスを1カラム化 */
.box_staff {
  width: 95%;
  display: block;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  background-color: #FFFFFF;
  padding-top: 10px;
  border: 1px solid #F5E9CA;
  border-radius: 10px;
}
.box_staff img {
  display: block;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}

/* cont_box内のリスト余白最適化 */
.content .cont_box .ul_check2 {
  margin-top: 14px;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-left: 10px;
}
.content .cont_box .ul_check2 li {
  font-size: 16px;
  color: #111;
  list-style-type: none;
  font-weight: bold;
  line-height: 22px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #FFCC00;
  background-image: url(../img/li_check2.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 30px;
}

/* Q&Aセクション見やすく */
.content dl.dl_qa {
  margin: 12px;
}
.content dl.dl_qa dt {
  font-size: 18px;
  color: #069;
  padding-top: 7px;
  padding-right: 10px;
  padding-bottom: 7px;
  padding-left: 38px;
  font-weight: bold;
  background-image: url(../img/qa_q.gif);
  background-repeat: no-repeat;
  background-position: 8px 2px;
}
.content dl.dl_qa dd {
  font-size: 15px;
  padding-top: 7px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-left: 38px;
  margin-bottom: 12px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #CCC;
  background-image: url(../img/qa_a.gif);
  background-repeat: no-repeat;
  background-position: 8px 2px;
}

/* 画像中央揃え */
.centered {
  text-align: center !important;
}
.centered img {
  display: inline-block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 大手メーカー枠幅調整 */
.box_oote {
  float: none;
  height: auto;
  width: 95%;
  border: 1px solid #F5D09E;
  border-radius: 10px;
  margin: 12px auto 16px auto;
  padding-top: 8px;
  padding-right: 5px;
  padding-bottom: 8px;
  padding-left: 5px;
  background-color: #FFF8EE;
}
.box_oote p {
  font-size: 14px;
  color: #28622E;
  margin: 8px 8px 0 8px;
}
.box_oote p.p_name {
  font-size: 13px;
  text-align: right;
  margin-top: 6px;
}

/* テーブル横幅調整 */
table.table_02 {
  width: 98%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 8px;
  margin-bottom: 12px;
}
table.table_02 th {
  border: 1px solid #FFF;
  letter-spacing: 0.5px;
  font-weight: normal;
  color: #111;
  white-space: nowrap;
  padding: 8px 10px;
  font-size: 14px;
}
table.table_02 td {
  border: 1px solid #E8E8E8;
  padding: 8px 10px;
  font-size: 14px;
}

/* レスポンシブ全幅対応 */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  #header #h_logo { width: 80%; }
  .box_info form.contact_form { max-width: 98%; }
  .box_info .box_info_txt { max-width: 98%; }
  .box_info .box_info_tel { max-width: 98%; }
}
