@charset "utf-8";

/* =========================
   Base（全体の土台）
   方針：bodyは白／水色はセクション側で付ける
========================= */
html, body{
  background-color: #ffffff;
}

body{
  color: #222222;
  font-family: "Noto Sans JP","Yu Gothic","游ゴシック体",sans-serif;
  font-size: 1.25rem;
  line-height: 1.7;
  padding-bottom: 0;
}

.site-main{
  padding-top: 20px;
  padding-bottom: 90px; /* 下固定バー分 */
}


/* 固定ヘッダーがあるなら */
.service-anchorbar{
  top: 80px;
}

/* 水色背景を使いたいセクション用（必要な箇所だけHTMLに付与） */
.bg-softblue{
  background-color: #E6F0FA;
}

.has-fixed-header{
  padding-top: 80px;
}


/* =========================
   Typography
========================= */
h1, h2, h3, h4, h5, h6{
  color: #357ABD;
  font-family: "Yu Gothic","Noto Sans JP",sans-serif;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h2{ font-size: 2.2rem; }
h3{ font-size: 1.8rem; }
h4{ font-size: 1.6rem; }

p{
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.text-muted{
  color: #6c757d !important;
  font-size: 1.25rem;
}

/* =========================
   Buttons / Cards
========================= */
.btn{
  font-size: 1.2rem;
  padding: 0.8rem 1.4rem;
  font-weight: bold;
}

.card-title{
  font-size: 1.6rem;
  font-weight: bold;
}

.card-text{
  font-size: 1.35rem;
  line-height: 1.7;
  color: #222222;
}

/* カスタムボタン */
.btn-custom{
  background-color: #2A9FD6;
  color: #FFFFFF;
  border: 2px solid #1C7CB6;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn-custom:hover{
  background-color: #1C7CB6;
  color: #FFFFFF;
  border-color: #1C7CB6;
}

.btn-custom2{
  background-color: #28a745;
  color: #FFFFFF;
  border: 2px solid #198754;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn-custom2:hover{
  background-color: #198754;
  color: #FFFFFF;
  border-color: #198754;
}

/* =========================
   Navbar（固定ヘッダー・白背景・濃紺文字）
========================= */
.navbar.bg-white{
  background-color: #ffffff;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.navbar{
  border-bottom: 3px solid #0b1f33; /* ロゴ下アクセント */
}

.navbar .nav-link{
  color: #0b1f33;
  font-weight: 600;
}
.navbar .nav-link:hover{
  color: #123a66;
}
.navbar .nav-link.active{
  color: #0b1f33;
  border-bottom: 2px solid #0b1f33;
}

/* =========================
   Hero（FV）
========================= */
:root{--header-h: 80px; }

@media (max-width: 768px){
  :root{
    --header-h: 110px;
  }
}


/* トップ画像のスタイル */
.hero-btn{
  position: absolute;
  bottom: 20px;/* 40 */
  right: 40px;
  z-index: 10;
}

/* スマホ調整 */
@media (max-width: 768px){
  .hero-btn{
    bottom: 5px;
    right: 15px;
    white-space: nowrap;
   /* font-size: 12px!important;*/
   /* line-height: 1.0!important;*/
  }
}

/* スマホだけ */
@media (max-width: 576px){
  .hero-btn{
    left: 50%;
    right: auto;
    bottom: 15px;

    transform: translateX(-50%);
  }
}



/* =========================
   Footer
========================= */
.footer{
  background-color: #1C3D5A;
  color: #ffffff;
  width: 100%;
  padding: 40px 0;
}

.footer a{
  color: #ffffff;
  text-decoration: underline;
}
.footer a:hover{
  color: #E6F0FA;
}

li.list-inline-item{
  display: inline-block;
}

/* =========================
   Company page（背景固定）
========================= */
.philosophy-section{
  background-image: url("../images/philosophy-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 0;
}

.philosophy-content{
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* PC/モバイルで写真切替 */
.photo-pc{
  float: right;
  margin: 20px 0 20px 20px;
  max-width: 300px;
  display: block;
}
.photo-mobile{
  display: none;
  margin: 20px auto 0 auto;
}

/* =========================
   Subpage header（各ページ）
========================= */
.subpage-header{
  background-size: cover;
  background-position: 50% 80%;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

.subpage-header::after{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(173, 216, 230, 0.5);
  z-index: 1;
}

.subpage-header h1{
  position: relative;
  z-index: 2;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-shadow: 1px 1px 2px #E6F0FA;
}

.subpage-header p{
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: #f0f0f0;
  text-shadow: 2px 2px 2px #1C3D5A;
}

/* ページ別背景画像 */
.page-case .subpage-header{ background-image: url('../images/subheader/case.png'); }
.page-company .subpage-header{ background-image: url('../images/subheader/company.png'); }
.page-service .subpage-header{ background-image: url('../images/subheader/service.png'); }
.page-voice .subpage-header{ background-image: url('../images/subheader/voice.png'); }

/* =========================
   Carousel arrows（施工事例）
========================= */
.carousel-control-prev-icon,
.carousel-control-next-icon{
  background-image: none;
  width: 2rem;
  height: 2rem;
  border: solid 2px #1C3D5A;
  border-width: 0 10px 10px 0;
  display: inline-block;
  padding: 5px;
}

.carousel-control-prev-icon{
  transform: rotate(135deg);
  margin-left: 10px;
}

.carousel-control-next-icon{
  transform: rotate(-45deg);
  margin-right: 10px;
}

/* =========================
   Top 強み（見出しライン）
========================= */
.lined-title{
  position: relative;
  padding-left: 1rem;
  font-weight: bold;
  color: #1C3D5A;
}

.lined-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 1.2em;
  background-color: #1C3D5A;
}

/* fade-in（アニメ） */
.fade-in{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.fade-in:nth-of-type(1){ animation-delay: 0.1s; }
.fade-in:nth-of-type(2){ animation-delay: 0.3s; }
.fade-in:nth-of-type(3){ animation-delay: 0.5s; }
.fade-in:nth-of-type(4){ animation-delay: 0.7s; }
.fade-in:nth-of-type(5){ animation-delay: 0.9s; }

@keyframes fadeInUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================
   施工事例ページ（写真）
========================= */
.photo-pc2{
  max-width: 80%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.photo-mobile2{
  max-width: 90%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.small-smaller{
  font-size: 0.75rem;
}

/* お問い合わせボタン列の左右余白 */
.contact-btn-wrapper{
  padding-left: 5vw;
  padding-right: 5vw;
  margin-left: 0;
  margin-right: 0;
}

/* =========================
   固定お問い合わせバー（下部固定・参考画像風）
========================= */
.contact-fixed-bar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  background: #0b1f33;
  border-top: 3px solid #0b1f33;
  box-shadow: 0 -4px 12px rgba(0,0,0,.12);
/*  padding: 10px 0;*/
  
  padding: 8px 0;
}

.contact-fixed-bar .contact-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;

  transition: opacity .15s ease, transform .15s ease;
}

.contact-fixed-bar .contact-btn:hover{
  opacity: .9;
  transform: translateY(-1px);
}

.contact-btn.phone{ background: #e60033; }
.contact-btn.mail{  background: #f6a000; }
.contact-btn.line{  background: #06c755; }

.contact-btn.is-disabled{
  opacity: .5;
  pointer-events: none;
}

.contact-btn .tel-icon,
.contact-btn .mail-icon{
  font-size: 18px;
  line-height: 1;
}

.line-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
}
.footer-logo{
  width:150px;
/*  filter: brightness(0) invert(1);*//* 白ロゴにする*/
/*  filter: invert(33%) sepia(93%) saturate(520%) hue-rotate(175deg) brightness(95%) contrast(105%);*/
  filter: invert(43%) sepia(85%) saturate(600%) hue-rotate(180deg);
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px){
  /* ここに書く */
  .footer-logo{ width:100px;}

}


@media (max-width: 768px){
  .subpage-header{
    padding: 50px 10px;
  }
  .subpage-header h1{
    font-size: 1.6rem;
  }
  .subpage-header p{
    font-size: 1.5rem;
  }

  /* 会社概要 写真切替 */
  .photo-pc{ display: none; }
  .photo-mobile{ display: block; }

  /* フォント微調整 */
  body{
    font-size: 1.1rem;
    line-height: 1.7;
  }
  h1{ font-size: 1.8rem; }
  h2{ font-size: 1.6rem; }
  h3{ font-size: 1.4rem; }
  .card-title{ font-size: 1.3rem; }
  .card-text{ font-size: 1.05rem; }
  .btn{
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
  .catchcopy{ font-size: 2rem; }
  .subcopy{ font-size: 1.1rem; }
  .text-muted{ font-size: 1.1rem; }
}

@media (max-width: 576px){
  .header-overlay{
    right: 2%;
    bottom: 3%;
    text-align: center;
    width: 100%;
    padding-bottom: 10px;
  }
  .catchcopy{ font-size: 1.6rem; }
  .subcopy{ font-size: 1rem; }

  .contact-fixed-bar{
    padding: 8px 6px;
  }
  .contact-fixed-bar .contact-btn{
    font-size: 13px;
    padding: 10px 6px;
  }
  .contact-fixed-bar .tel-number{
    display: none;
  }

}


@media (max-width: 480px){
  .catchcopy{
    font-size: 1.4rem !important;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
  }
  .subcopy{
    font-size: 0.95rem !important;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
  }
}




/* =========================
   こんなお悩みありませんか？ 専用上書き 
   =========================*/
.alert .text-warning{
  color: #FFB347;      /* パステル寄りオレンジ */
  font-size: 1.15rem;
  font-weight: 700;
  border-left: 4px solid #F6A000;
  padding-left: 8px;
}
.alert ul{
  list-style: none;        /* ●を消す */
  padding-left: 0;
}

.alert ul li{
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.4em;
}

.alert ul li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #F6A000;          /* オレンジ */
  font-weight: bold;
}


/* =========================
   標準工事費エリア（A案）
========================= */

/* オレンジ背景 */
.cost-area{
  background: #f7941d;
  padding: 40px 16px;
}

/* 白いまとめ箱（内訳＋＋商品代） */
.cost-box{
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 16px;
  margin: 0 auto;
  max-width: 1000px;
}

/* 各工事項目 */
.cost-item{
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px 8px 12px;
  height: 100%;
}

/* アイコン */
.cost-icon{
  width: 56px;
  height: auto;
  margin-bottom: 8px;
  filter: invert(58%) sepia(70%) saturate(550%) hue-rotate(345deg);
}

/* ラベル */
.cost-label{
  font-size: 0.9rem;
  font-weight: 600;
  color: #246ff0;
  margin-bottom: 0;
}

/* ＋マーク */
.price-plus{
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff3e6;
  color: #f7941d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

/* 商品代ボックス */
.product-box{
  max-width: 460px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px 12px;
  border: 2px dashed rgba(247,148,29,.55);
}

.product-label{
  font-size: 1.05rem;
  font-weight: 800;
  color: #1C3D5A;
}

.product-note{
  font-size: .9rem;
  color: #6c757d;
}


/* =========================
   サービス＋ 施工事例：固定ページ内リンクバー（統一版）
========================= */
.service-anchorbar{
  position: sticky;
  top: 0;                 /* ヘッダー固定なし前提 */
  z-index: 1030;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-bottom: 24px;    /* 下に余白 */
}

.anchorbar-inner{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px;     /* ←左右に余白（見切れ防止） */
  justify-content: center;
  scrollbar-width: none;  /* Firefox */
}

.anchorbar-inner::-webkit-scrollbar{
  display: none;
}

.anchorbtn{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #E6F0FA;
  color: #0b1f33;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, opacity .12s ease;
}

.anchorbtn:hover{
  text-decoration: none;
  opacity: .9;
  transform: translateY(-1px);
}

.anchorbtn.active{
  background: #f7941d;
  color: #fff;
}

/* モバイル微調整 */
@media (max-width: 576px){
  .anchorbar-inner{
    justify-content: flex-start; /* ←スマホは左寄せの方が自然 */
  }
  .anchorbtn{
    padding: 9px 12px;
    font-size: 0.95rem;
  }
}

/* アンカー先がバーに隠れないように */
section[id]{
  scroll-margin-top: 90px; /* 70→90 推奨（バーが太めなので） */
}



/* =========================
   サービス：チェック付きリスト（悩み / ポイント用）
========================= */
.svc-check{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.svc-check li{
  position: relative;
  padding-left: 1.8em;
  margin-bottom: .5rem;
  line-height: 1.6;
}

.svc-check li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 800;
  color: #f7941d; /* オレンジ */
}

/* =========================
   サービス：悩みボックス
========================= */
.svc-box{
  background: #fff7f0;                 /* うっすらオレンジ */
  border-left: 6px solid #f7941d;      /* 強調ライン */
  border-radius: 8px;
  padding: 20px 18px;
  margin: 24px 0;
}

.svc-box-title{
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0b1f33;
}

.svc-note{
  font-size: 1.1rem;
  color: #777;
  margin-top: 6px;
}

.svc-caption{
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
}



/* =========================
   サービス：安さのヒミツ
========================= */
.price-reason-box{
  background:#f8f9fa;
  border-radius:16px;
  padding:24px 18px;
  max-width:900px;
  margin:0 auto;
  border:1px solid rgba(0,0,0,.06);
}

.price-reason-list{
  list-style:none;
  padding-left:0;
}

.price-reason-list li{
  padding:14px 0;
  border-bottom:1px dashed rgba(0,0,0,.12);
  line-height:1.7;
}

.price-reason-list li:last-child{
  border-bottom:none;
}

.price-reason-list strong{
  font-size:1.05rem;
}

/* =========================
   お客様の声：カード 
========================= */


.voice-wrap { border-radius: 12px; }

.voice-card{
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.voice-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.voice-avatar{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  flex: 0 0 auto;
}

.voice-message{
  line-height: 1.7;
  color: #333;
  font-size: 0.98rem;
}



/* =========================
  施工事例：セクション見出し
========================= */
.case-section{
  padding: 48px 0;
  scroll-margin-top: 90px; /* アンカーバー高さに合わせて調整 */
}

.case-section--alt{
  background: #f8f9fa;
}

.case-title{
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.case-lead{
  text-align: center;
  color: #666;
  margin-bottom: 24px;
}

/* 工事風景 */
.work-scene{
  padding-top: 40px; /* 必要なら調整 */
}

.work-caption{
  font-size: 1rem; /* 大きすぎる場合は 0.95rem などへ */
  color: #555;
  margin-top: 6px;
}

/* 工期目安 */
.work-info{
  background: #f5f7fa;
  border-radius: 8px;
  padding: 20px 15px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* よくある質問 */
.faq-mini{
  background: #f5f7fa;
  border-radius: 8px;
  padding: 25px 20px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-mini p{
  margin-bottom: 1rem;
  line-height: 1.7;
}

.faq-mini strong{
  color: #333;
}

.faq-mini strong:first-child{
  color: #0b5ed7;
}









