@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Regular.eot);
  /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  display: inline-flex;
  vertical-align: middle;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.bg-lightgreen {
  background-color: #eef9f1 !important;
}
.text-green {
  color: #4CAF50 !important;
}
/* Rules for sizing the icon. */

.material-icons.md-36 {
  font-size: 36px;
}
.table {
  border-top: 1px solid #dee2e6;
}
.table > :not(caption) > * > * {
  vertical-align: middle;
}
body{
  font-family: "Yu Mincho", "游明朝", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
/*  padding-top: 106px;トップのリストをスクロールで動かす場合は上を少し空ける*/
  padding-top: 0px;
}
h1, h2, h3{
  font-weight: 600;
  letter-spacing: .05em;
}

/* TOPアイコン */
.totop {
  position: absolute;
  top: -60px;
  right: 40px;
}
.logo-img {
  height: 80px;
  width: auto;
}

@media (max-width: 991.98px) {
  .logo-img {
    height: 55px;
  }
}
/* TOP文字 */
.custom-text-shadow {
  font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS PMincho', serif;
  color: White;
  text-shadow: 0 0 20px black, 0 0 40px black, 0 0 60px white, 0 0 80px black, 0 0 100px black;
  font-size: 52px; /* デスクトップなどの大きい画面用のデフォルトサイズ72px */
}

@media (max-width: 768px) { /* 画面幅768px以下の場合（タブレットやスマホ） */
  .custom-text-shadow {
    font-size: 36px; /* 小さい画面では文字を小さくする */
  }
}

@media (max-width: 480px) { /* スマホの画面幅480px以下の場合 */
  .custom-text-shadow {
    font-size: 24px; /* より小さい画面では文字をさらに小さくする */
  }
}
html {
  scroll-behavior: smooth;
/*  scroll-padding-top: 106px;*/ /* fixed-topの分 */
}

/*============================================== */
/*=ボタンの共有================================= */
.btn-contact {
  background-color: #4CAF50;
  color: #fff;
  border: none;
}

.btn-contact:hover {
  background-color: #43a047;
  color: #fff;
}

/* --------------------------------------------------
    Hero画面
-------------------------------------------------- */
.hero-visual {
  position: relative;
  height: 100dvh;
  min-height: 500px;
  overflow: hidden;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* タブレット・スマホ */
@media (max-width: 991.98px) {

  .hero-visual {
    height: auto;
    min-height: 0;
  }

  .hero-picture {
    height: auto;
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}

.hero-copy {
  width: min(90%, 1200px);
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(1.4rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 767.98px) {

	.hero-copy {
    width: 92%;
    top: 52% !important;
  }

  	.hero-title {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  	.hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
/* --------------------------------------------------
    ファーストビュー:電話ボックス
-------------------------------------------------- */
	.bg-transparent-custom{
  	background-color: rgba(76, 175, 80, 1.0); /* 緑を少し透過 */
  	backdrop-filter: blur(6px);               /* ぼかし（対応ブラウザのみ） */
	padding-bottom: env(safe-area-inset-bottom);
}
	:root{
  	--bar-h: 134px;
}
	body.has-cta{
  	padding-bottom: var(--bar-h);
}
@media (max-width: 768px){
  :root{
    --bar-h: 140px;
  }
}
	.hero-contact{
  	position: fixed;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	z-index: 1000;
	width: 100%;
}
	.cta-row{
  	gap: 16px;
}
   .time-text{
  	font-size: 1.25rem;
}

	.time-group{
  	display: flex;
  	align-items: center;
  	gap: 8px;
  	flex-wrap: nowrap;
}

@media (max-width: 768px){
 	.hero-contact{
	  font-size: 0.9rem;
}
  	.hero-contact .p-3{
    padding: 10px !important;
}

  	.hero-contact .h2{
    font-size: 1.2rem;
}

  	.hero-contact .cta-row{
    gap: 6px;
}

  	.hero-contact .cta-row span{
    font-size: 0.9rem;
}

  	.hero-contact .btn{
    font-size: 0.8rem;
    padding: 6px 10px;
}
	.time-text{
  	font-size: 0.9rem;
}

	.time-group{
  	flex-wrap: nowrap;
}

	.hero-contact .time-group .rounded-pill{
  	white-space: nowrap;
	font-size: 0.7rem;
	padding: 4px 10px;
}
}


/*============================================== */
/*=Sectionタイトルレスポンシブ=========================== */
.promise-heading .logo {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 1.2;
  white-space: nowrap;
}

.promise-heading h5 {
  font-size: clamp(1.0rem, 1.7vw, 1.25rem);
  white-space: nowrap;
}

/*============================================== */
/*=Section2の画像処理=========================== */
.sec2-bg{
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255,0.75), rgba(255, 255, 255,0.75)),
    url("../img/top/Sec2_House.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 260px;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .sec2-bg {
    margin-bottom: 40px;
  }
}
.sec2-bg .container{
  position: relative;
  z-index: 1;
}
.sec2-corner-img{
  position: absolute;
  right: 0px;
  bottom: 70px;
  width: 100%;
  height: auto;
  max-width: 35%;   /* ←これがポイント */
  transform: translateX(20%);
}
@media (max-width: 992px){
  .sec2-corner-img{
    width: 70%;
    height: auto;
	right: 0px;
	max-width: 100%;   /* ←これがポイント */
	bottom: -10px;
	transform: none;
  }
}
/*============================================== */

/*============================================== */
/*=Section3の画像処理=========================== */
.service-img{
  width: 1000px;      /* 横幅固定 */
  height: 200px;     /* 高さ固定 */
  object-fit: cover; /* はみ出しカット */
  border-radius: 6px;
}
/*============================================== */

/*============================================== */
/*=Section4の画像処理===画像を円にする========== */
.border-blue {
  border-color:#4CAF50 !important;
}
.border-top {
	position: relative;
	left: 0px;
	width: 100%;
  	border-width: 4px !important;
	z-index: 1;           /* ← 画像より下 */
}
.service-circle{
	position: relative;   /* ← 必須 */
	z-index: 2;           /* ← 線より大きく */
	width: min(100%, 320px);
	aspect-ratio: 1 / 1;
 	 margin: 0 auto;
  	border-radius: 50%;
  	overflow: hidden;
}

.service-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*============================================== */
/*============================================== */
/*=Section5の表処理===レスポンシブ対応にする========== */
@media (max-width: 767.98px) {

  /* 会社概要の下余白を縮小 */
  #company {
    padding-bottom: 1rem !important;
  }

  #company > .row {
    margin-bottom: 0 !important;
  }

  /* 選ばれる理由の上余白を縮小 */
  .reason-section {
    padding-top: 1rem !important;
  }

  .reason-section > .container > .row {
    padding-top: 0 !important;
  }

  /* 地図の左側50pxを解除 */
  #company .col-md-4 {
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-top: 1rem !important;
  }
  /* 表を囲むcontainer-fluidの二重余白を解除 */
  #company .col-md-7 > .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }  
}
/*============================================== */

/* スムーススクロール*/
.page-top {
  position: fixed;
  right: 16px;
  bottom: 140px;
  z-index: 2000;
}

.page-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

@media (max-width: 768px){
  .page-top{
    bottom: 180px;
  }
  .page-top a {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
}
/* スマホの時はフッター小さく*/
@media (max-width: 768px){
	footer .navbar{
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  footer .nav-link{
    font-size: 0.8rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }

  footer .nav-item{
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  footer .text-center.mt-4{
    margin-top: 0.75rem !important;
  }

  footer small{
    font-size: 0.7rem;
    line-height: 1.5;
  }
  .footer-info{
    padding-bottom: 20px;
  }
}

/* 見出しフォント*/

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    text-align: center;
}
        
.subtext {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #777;
    text-align: center;
}
.bg-custom {
    background-color: #4CAF50 !important;
}
