body {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* ページ全体の高さを最低100vhに設定 */
  display: flex;
  flex-direction: column;
  font-family: "メイリオ";
}
p {
  line-height: 1.8;
}
.container {
  max-width: 1080px;
}
.custom-h1 {
  font-size: 34px;
  font-family: "Times New Roman", Times, serif;
  line-height: 0.9;
}
.custom-h2 {
  font-size: 30px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
}
.custom-h3 {
  font-size: 24px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
}
.custom-list {
  list-style: none; /* リストのマーカー（●や・など）を非表示にする */
  padding: 0; /* リストのパディングをゼロに設定 */
}
.custom-list li {
  padding: 10px 0; /* 上下のパディングを調整（例: 10px） */
}
.custom-h4 {
  font-size: 1.5rem;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.8;
}
.custom-h5 {
  font-size: 1.25rem;
  line-height: 0.4;
}
.custom-p {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.8;
}
.under {
  position: relative;
  background: linear-gradient(transparent 70%, #b0d984 50%);
}
.red {
  font-size: 18px;
  color: rgba(255, 0, 4, 1.00);
}
/* supprtの文字上下ライン装飾 */
.underline-text {
  position: relative;
}
.underline-text {
  position: relative;
}
.underline-text::before, .underline-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: black; /* 線のカラー */
}
.underline-text::before {
  top: 30px; /* 上の隙間を調整 */
}
.underline-text::after {
  bottom: 30px; /* 下の隙間を調整 */
}
.bg {
  background-color: #343a40;
}
/* navbar */
.navbar {
  display: flex; /* 直下の要素が並列 */
  justify-content: center;
  background-color: #343a40;
  width: 1100px; /* ナビゲーションバーの横幅を設定 */
  margin: 0 auto; /* ページの中央に配置 */
}
.navbar-brand {
  margin-right: auto; /* ロゴを左に寄せる */
}
.navbar-nav {
  margin-left: auto; /* メニュー項目を右に寄せる */
}
.nav-item {
  padding: 0 10px; /* メニュー項目の間隔を調整 */
}
.navbar .navbar-nav .nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 1.00);
  transition: color 0.3s; /* ホバーエフェクトのトランジションを追加 */
}
.navbar .navbar-nav .active > .nav-link, .navbar .navbar-nav .nav-link:focus, .navbar .navbar-nav .nav-link:hover {
  color: rgba(255, 87, 51, 1);
}
.dropdown-item {
  color: rgba(0, 0, 0, 1.00);
}
/* カスタムCSSスタイル */
.navbar_height {
  margin-top: 87px; /* ナビゲーションバーの高さと同じ値を設定 */
}

/* housing */
.custom-card-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px; /* 任意のフォントサイズに変更してください */
}
.btn-card-spacing {
  margin-top: 10px; /* 上部にマージンを追加します。必要に応じて調整してください。 */
}
.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}
/* custom-home renovation garage-house*/
.image-tile {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.image-tile img {
  width: 100%;
  height: auto;
}
.caption {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  margin-top: -5px; /* 画像とキャプションの間隔を調整 */
  text-align: right;
}
.caption-p {
	font-size: 0.94em;
}
a.custom-btn02 {
  padding: 10px;
  margin-top: -5px; /* 画像とキャプションの間隔を調整 */
  text-align: right;
  border: 1px solid #ccc;
}
a.custom-btn02:hover {
  border: 1px solid #ccc;
  background-color: #C4C4C4; /* マウスオーバー時の背景色 */
}
/* works each-page*/
.gallery02 {
  max-width: 1080px; /* 最大幅1080pxに設定 */
}
.gallery-item {
  margin-bottom: 20px;
  text-align: center; /* 画像を中央揃えに */
}
.gallery-item img {
  max-width: 1080px; /* 最大幅1080pxに設定 */
  width: 100%; /* 幅を100%に設定 */
  height: auto;
}
.gallery-item02 {
  margin-bottom: 20px;
  text-align: left;
  display: flex; /* Flexbox を使用 */
  align-items: center; /* 垂直方向に中央揃え */
}
.gallery-item02 img {
  max-width: 600px;
  width: 100%; /* 幅を100%に設定 */
  height: auto;
}
.align-items-center {
  display: flex !important;
  align-items: center !important;
}
.gallery-item03 {
  margin-bottom: 20px;
  text-align: right;
}
.gallery-item03 img {
  max-width: 600px;
  width: 100%; /* 幅を100%に設定 */
  height: auto;
}
/* lightbox*/
#gallery {
  margin: 0 auto;
  overflow: hidden;
}
#gallery li {
  max-width: 300px;
  padding: 5px;
}
#gallery li img {
  max-width: 100%;
  height: auto;
}
ul {
  list-style-type: none;
}
ol {
  list-style-type: none;
}
footer {
  background-color: #9bbe50;
  background-image: url(../images/bg11.png); /* 画像のURLを指定。透明PNGなら、背景色が透けて見える */
  background-position: center top; /* 画像を真上に配置 */
  background-repeat: no-repeat; /* 画像のリピートを無効にする */
  background-size: auto; /* 背景画像のサイズを実寸 */
  font-size: 16px; /* フォントサイズ */
  font-family: 'Arial', sans-serif; /* フォントファミリー */
  color: white;
  text-align: center;
  padding: 20px 0;
}
/* スマートフォンおよびタブレットのメディアクエリ(画面の幅が768ピクセル以下) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .custom-p {
    text-align: left !important;
  }
  footer {
    font-size: 0.9em; /* 親要素のフォントサイズの1.5倍のサイズに設定 */
  }
  .navbar {
    width: 100%; /* ナビゲーションバーの横幅を100%に設定 */
  }
  .navbar-toggler, .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
  /* カルーセル内の画像を高さ 100px に設定 */
  .carousel-item {
    height: 500px !important;
  }
  /* 画像のアスペクト比を解除 */
  .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* 画像をカルーセル内に合わせて調整 */
  }
}
