/* ===========================================
   Custom Styles - building2
   =========================================== */

/* ===========================================
   Font - Noto Serif JP
   =========================================== */

* {
  font-family: 'Noto Serif JP', serif;
}

body,
h1, h2, h3, h4, h5, h6,
p, a, span, div,
button, input, textarea, select {
  font-family: 'Noto Serif JP', serif;
}

.section_h_m{
  position: relative;
  overflow: hidden;
}

/* 背景動画 */
.section_h_m__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 既存の黒グラデーション */
.section_h_m::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to right, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
  pointer-events:none;
  z-index:1;
}

/* テキスト等を前面へ */
.section_h_m > *:not(.section_h_m__video){
  position: relative;
  z-index: 2;
}

@media (max-width:767px){
  .section_h_m::before{
    background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 100%);
  }
}
.section_h_m__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* ★ 薄い黒オーバーレイ（動画とテキストの間） */
.section_h_m__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.25); /* ←ここで濃さ調整 */
  z-index:1;
  pointer-events:none;
}

/* 既存グラデーション（さらに上） */
.section_h_m::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,.7) 0%,
    rgba(0,0,0,.3) 50%,
    transparent 100%
  );
  pointer-events:none;
  z-index:2;
}

/* テキストは最前面 */
.section_h_m > *:not(.section_h_m__video):not(.section_h_m__overlay){
  position:relative;
  z-index:3;
}

@media (max-width:767px){
  .section_h_m::before{
    background:linear-gradient(
      to bottom,
      rgba(0,0,0,.5) 0%,
      rgba(0,0,0,.3) 100%
    );
  }
}
/* ===========================================
   Header Logo
   =========================================== */

.link_logo_nav {
  display: flex;
  align-items: center;
}

.link_logo_nav .img_auto_h_100 {
  height: 50px;
  width: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .link_logo_nav .img_auto_h_100 {
    height: 44px;
  }
}

@media screen and (max-width: 767px) {
  .link_logo_nav .img_auto_h_100 {
    height: 40px;
  }
}

/* ===========================================
   Services Section Fix (サービスの流れ)
   =========================================== */

.section_services .text_drop_service {
  color: #222;
}

.section_services .parag_16_300_b_60 {
  color: rgba(0, 0, 0, 0.7);
}

/* ===========================================
   FAQ Section Fix (よくあるご質問)
   =========================================== */

.section_faq .text_drop_faq {
  color: #222;
}

.section_faq .bx_drop_faq_text {
  color: rgba(0, 0, 0, 0.7);
}

.section_faq .parag_16_300_b_60 {
  color: rgba(0, 0, 0, 0.7);
}

/* ===========================================
   Project Slider Text Fix (施工実績テキスト)
   =========================================== */

.section_slider_project .title_slide_project {
  color: #fff;
}

.section_slider_project .descrip_slide_project {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   Partners Flip Effect (事業内容カードフリップ)
   =========================================== */

.wrap_flip {
  position: relative;
  perspective: 1000px;
}

.wrap_flip .card_parthers_img {
  transition: transform 0.6s ease, opacity 0.6s ease;
  backface-visibility: hidden;
}

.wrap_flip .card_parthers_back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.wrap_flip:hover .card_parthers_img {
  transform: scale(1.05);
}

.wrap_flip:hover .card_parthers_back {
  opacity: 1;
}

/* ===========================================
   Testimonial Section (お客様の声)
   =========================================== */

.testimonial-section-8492 {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.testimonial-inner-8492 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonial-header-8492 {
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-title-8492 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #222;
  margin-bottom: 16px;
}

.testimonial-title-8492 span {
  color: #999;
}

.testimonial-subtitle-8492 {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-slider-8492 {
  position: relative;
  overflow: hidden;
}

.testimonial-wrapper-8492 {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.testimonial-slide-8492 {
  min-width: calc(33.333% - 20px);
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-quote-8492 {
  font-size: 40px;
  color: #c9a227;
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-text-8492 {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.testimonial-author-8492 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar-8492 {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #666;
}

.testimonial-info-8492 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name-8492 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.testimonial-project-8492 {
  font-size: 14px;
  color: #888;
}

.testimonial-stars-8492 {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}

.testimonial-stars-8492 svg {
  width: 18px;
  height: 18px;
  color: #c9a227;
  fill: #c9a227;
}

.testimonial-nav-8492 {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-nav-btn-8492 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #222;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav-btn-8492:hover {
  background: #222;
  color: #fff;
}

.testimonial-nav-btn-8492 svg {
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 991px) {
  .testimonial-slide-8492 {
    min-width: calc(50% - 15px);
  }
}

@media screen and (max-width: 767px) {
  .testimonial-section-8492 {
    padding: 60px 0;
  }

  .testimonial-inner-8492 {
    padding: 0 20px;
  }

  .testimonial-slide-8492 {
    min-width: 100%;
    padding: 30px;
  }

  .testimonial-header-8492 {
    margin-bottom: 40px;
  }
}

/* ===========================================
   Map Section
   =========================================== */

.map-section-8492 {
  width: 100%;
  line-height: 0;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.map-section-8492:hover {
  filter: grayscale(0%);
}

.map-section-8492 iframe {
  width: 100%;
  height: 400px;
  display: block;
}

@media screen and (max-width: 767px) {
  .map-section-8492 iframe {
    height: 300px;
  }
}

/* ===========================================
   Footer Styles
   =========================================== */

/* Footer Main Container */
.footer-main-8492 {
  background-color: #1a1a1a;
  padding: 80px 0 0;
}

.footer-inner-8492 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-content-8492 {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Left Column - Logo, Text, SNS */
.footer-left-8492 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo-8492 {
  width: 160px;
  height: auto;
}

.footer-logo-8492 img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-text-8492 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.footer-sns-8492 {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-sns-link-8492 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-sns-link-8492:hover {
  background-color: #c9a227;
  transform: translateY(-3px);
}

.footer-sns-link-8492 svg {
  width: 20px;
  height: 20px;
}

/* Center Column - Menu Links (3 columns) */
.footer-center-8492 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-menu-col-8492 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-menu-title-8492 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-menu-link-8492 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-menu-link-8492:hover {
  color: #c9a227;
  transform: translateX(5px);
}

/* Right Column - Company Info */
.footer-right-8492 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info-title-8492 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-info-item-8492 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-info-item-8492 svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #c9a227;
}

.footer-info-link-8492 {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-link-8492:hover {
  color: #c9a227;
}

/* Copyright */
.footer-copyright-8492 {
  text-align: center;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ===========================================
   Responsive Design
   =========================================== */

@media screen and (max-width: 991px) {
  .footer-content-8492 {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-left-8492 {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-sns-8492 {
    justify-content: center;
  }

  .footer-center-8492 {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .footer-menu-col-8492 {
    align-items: center;
  }

  .footer-right-8492 {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .footer-info-item-8492 {
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .footer-main-8492 {
    padding: 60px 0 0;
  }

  .footer-inner-8492 {
    padding: 0 20px;
  }

  .footer-content-8492 {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .footer-center-8492 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-menu-link-8492:hover {
    transform: none;
  }
}

