@charset "UTF-8";
/* ========================================
   日本建材工事 - メインスタイルシート
   ======================================== */
/* リセットCSS */
/* ========================================
   カスタムリセット - Tablerでカバーされていない部分のみ
   ======================================== */
/* カスタムフォーカス設定（Tablerのデフォルトを上書き） */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap");
:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* カスタムスクリーンリーダー用クラス */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card {
  height: 100% !important;
}

/* ベーススタイル */
/* ========================================
   カスタムベーススタイル - Tablerをカスタマイズ
   ======================================== */
/* Google Fonts - Noto Sans Japanese & Zen Kurenaido */
/* カスタムフォント設定 */
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 500;
  /* デフォルトを500（Medium）に設定 */
  padding-top: 60px;
  /* 固定ヘッダーの高さ分 */
}

/* カスタム見出しの太さ調整 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  /* Bold */
}

h1 {
  font-weight: 800;
  /* ExtraBold */
}

h3, h4, h5, h6 {
  font-weight: 600;
  /* SemiBold */
}

/* カスタムカードタイトルの太さ */
.card-title {
  font-weight: 600;
  /* SemiBold */
}

/* カスタムボタンの太さ */
.btn {
  font-weight: 500;
  /* Medium */
}

/* カスタムナビゲーションリンクの太さ */
.nav-link {
  font-weight: 700;
  /* Bold */
}

/* コピー用のフォントスタイル */
.copy-text {
  font-family: 'Zen Kurenaido', cursive;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .copy-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .copy-text {
    font-size: 1.5rem;
  }
}

/* レイアウトスタイル */
/* ========================================
   カスタムレイアウト - プロジェクト固有のレイアウト
   ======================================== */
/* カスタムヘッダー */
#main-header {
  background-color: #212529;
  /* フッターと同じ色 */
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  height: 60px;
}

#main-header.scrolled {
  background-color: rgba(33, 37, 41, 0.95);
  padding: 0.5rem 0;
}

/* カスタムヒーローセクション */
.hero-section {
  position: relative;
  min-height: calc(100vh - 60px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  padding: 0;
  background-size: cover;
  background-position: center center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-transition: background-image 1s ease-in-out;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.hero-overlay .container {
  position: relative;
  z-index: 2;
}

/* カスタムセクション間隔 */
section {
  padding: 4em 0;
  /* デフォルト（スマホ） */
}

.hero-section {
  padding: 0;
}

.inquiry-hero {
  padding: 0;
  margin-top: 0;
}

/* 各セクション個別のpadding設定 */
#cases, #about, #message, #history, #services {
  padding: 4em 0;
}

/* PCでのセクション間隔 */
@media (min-width: 768px) {
  section {
    padding: 8em 0;
    /* PC */
  }
  #cases, #about, #message, #history, #services {
    padding: 8em 0;
  }
}

/* コンポーネントスタイル */
/* ========================================
   カスタムコンポーネント - プロジェクト固有のコンポーネント
   ======================================== */
/* カスタムヘッダー */
#main-header .navbar-brand {
  color: #fff;
}

#main-header .navbar-brand:hover {
  color: #fff;
}

#main-header .nav-link {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}

#main-header .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

#main-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

#main-header .nav-link:hover::after {
  width: 80%;
}

/* モバイルメニューのセンタリング */
@media (max-width: 991px) {
  #main-header .navbar-collapse {
    text-align: center;
  }
  #main-header .navbar-nav {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #main-header .nav-link {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 1rem;
  }
}

/* カスタムヒーローセクション */
.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-section .lead {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  color: #fff;
  position: relative;
  z-index: 1;
}

/* カスタムスクロールインジケーター */
.scroll-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  padding: 1.5rem 2rem;
  min-width: 120px;
}

.scroll-text:hover {
  -webkit-transform: translateY(-8px) scale(1.05);
          transform: translateY(-8px) scale(1.05);
  color: #007bff;
}

.scroll-text:active {
  -webkit-transform: translateY(-4px) scale(1.02);
          transform: translateY(-4px) scale(1.02);
}

.scroll-arrow {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  display: block;
  -webkit-animation: bounce-arrow 2s infinite, glow 3s infinite;
          animation: bounce-arrow 2s infinite, glow 3s infinite;
  line-height: 1;
}

.scroll-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.9;
}

/* シンプルな時系列デザイン */
.timeline-vertical {
  position: relative;
  padding-left: 2rem;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #dee2e6;
}

.timeline-item-vertical {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item-vertical:last-child {
  margin-bottom: 0;
}

.timeline-marker-vertical {
  position: absolute;
  left: -1.5rem;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  background-color: #007bff;
  border-radius: 50%;
  border: 2px solid #fff;
  -webkit-box-shadow: 0 0 0 2px #007bff;
          box-shadow: 0 0 0 2px #007bff;
}

.timeline-content-vertical {
  background-color: #fff;
  padding: 1.5rem;
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 0.25rem;
}

.timeline-month {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.timeline-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

/* 未来への展望の特別スタイル */
.timeline-item-vertical.future .timeline-marker-vertical {
  background-color: #28a745;
  border-color: #28a745;
  -webkit-box-shadow: 0 0 0 2px #28a745;
          box-shadow: 0 0 0 2px #28a745;
}

.timeline-item-vertical.future .timeline-content-vertical {
  border-left-color: #28a745;
}

.timeline-item-vertical.future .timeline-content-vertical .timeline-year {
  color: #28a745;
}

.timeline-item-vertical.future .timeline-content-vertical .timeline-title {
  color: #28a745;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .timeline-vertical {
    padding-left: 1.5rem;
  }
  .timeline-vertical::before {
    left: 0.75rem;
    width: 1px;
  }
  .timeline-marker-vertical {
    left: -1.5rem;
    width: 0.75rem;
    height: 0.75rem;
  }
  .timeline-content-vertical {
    padding: 1.25rem;
  }
  .timeline-year {
    font-size: 1rem;
  }
  .timeline-title {
    font-size: 1rem;
  }
  .timeline-description {
    font-size: 0.9rem;
  }
}

/* カスタム社長メッセージ */
.message-content p {
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.message-content .president-info {
  text-align: center;
  margin-top: 1rem;
}

.message-content .president-info h3 {
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.message-content .president-info h4 {
  font-weight: 600;
  color: #007bff;
  font-style: italic;
}

.message-content .blockquote {
  border-left: 4px solid #007bff;
  background-color: #f8f9fa;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.375rem;
}

.message-content .blockquote p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 0;
}

.message-content .blockquote .blockquote-footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.message-content .blockquote .blockquote-footer::before {
  content: '— ';
}

/* セクション見出しのサイズ調整 */
.display-5 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .display-5 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 576px) {
  .display-5 {
    font-size: 1.5rem !important;
  }
}

/* カスタムフッター */
footer h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 0.5rem;
}

footer h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

/* ユーティリティスタイル */
/* ========================================
   カスタムユーティリティ - プロジェクト固有のユーティリティ
   ======================================== */
/* カスタムスクロールインジケーター用のユーティリティ */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 1000;
  pointer-events: auto;
  width: auto;
  text-align: center;
}

/* カスタムアニメーション用のユーティリティ */
@-webkit-keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
  }
  60% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
}
@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
  }
  60% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
}

@-webkit-keyframes glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.8), 0 0 40px rgba(0, 123, 255, 0.4);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.8), 0 0 40px rgba(0, 123, 255, 0.4);
  }
}

.image_43 {
  aspect-ratio: 4/3;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* ========================================
   追加のカスタムスタイル
   ======================================== */
/* レスポンシブデザインの追加調整 */
@media (max-width: 576px) {
  section .container .row {
    margin-bottom: 1.5rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section .lead {
    font-size: 1rem;
  }
  .card-title.h4 {
    font-size: 1rem;
  }
  /* ヒーローセクションのモバイル対応 */
  .hero-section .lead {
    font-size: 1rem;
  }
  /* 社長挨拶のモバイル対応 */
  .message-content {
    margin-top: 2rem;
  }
}

/* 印刷用スタイル */
@media print {
  .hero-section,
  .scroll-indicator,
  .navbar,
  footer {
    display: none !important;
  }
  body {
    padding-top: 0 !important;
  }
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 991px) {
  #main-header .navbar-collapse {
    background-color: #073F95 !important;
    color: white !important;
    margin: 1rem -1rem;
  }
  #main-header .navbar-collapse .nav-item {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: 100%;
  }
  .navbar-toggler-icon {
    color: #fff !important;
  }
}
/*# sourceMappingURL=style.css.map */