/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

.noto-sans-jp-uniquifier {
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }

/* 基本設定 */
body {
    line-height: 1.6;
    color: #333;
}

.hero img{
    display: none;
}      

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.show-header {
    transform: translateY(0);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.logo h1 {
    font-size: 24px;
    color: #2c5aa0;
    font-weight: bold;
}

.header-phone a {
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
    text-decoration: none;
}

.nav {
    padding: 5px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    height: 50px;
    gap: 30px;
    justify-content: center;
    line-height: 50px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #e67e22;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ボタンスタイル */
.btn-primary {
    background: #e67e22;
    color: white !important;
    padding: 0px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #d35400;
}

.btn-secondary {
    background: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2980b9;
}

.btn-emergency {
    background: #e74c3c;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn-emergency:hover {
    background: #c0392b;
}

/* ヒーローセクション */
.hero {
    background-image:url(images/reason-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-content {
    display: grid;
    background-image:url(images/FV.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    height: 100vh;
    margin: 0 auto;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-image {
    text-align: center;
}

.benefits-banner {
    position: absolute;
    bottom: 10px;       /* 右下に固定 */
    right: 10px;
    width: 200px;
    height: 200px;
    cursor: pointer;
    z-index: 999;
}



.benefits-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 50px;
    position: relative;
    background-image: url(images/title-line.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 80px;
    width: 500px;
    margin: 0 auto 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
}

/* 選ばれる理由 */
.reasons, .process {
    padding: 80px 0;
    background: #fff9e6;
    background-image:url(images/reason-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    width: 100%;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center; 
}

.reason-item {
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    width: 20vw;
    max-width: 280px;
    transition: transform 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-img {
    background-image: url(images/reason-img1.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 80%;
    margin: 0 auto;
}

.reason-img2 {
    background-image: url(images/reason-img2.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 80%;
    margin: 0 auto;
}

.reason-img3 {
    background-image: url(images/reason-img3.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 80%;
    margin: 0 auto;
}

.reason-img4 {
    background-image: url(images/reason-img4.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 80%;
    margin: 0 auto;
}
.reason-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 11px;
    border-radius: 25px;
    border: solid 2px #1f8cd4;
    background-color: #ffffff;
}

.reason-item p {
    color: #666;
    line-height: 1.6;
}

/* リフォーム事例 */
.works {
    padding: 80px 0;
    background: #f8f9fa;
    background-image:url(images/works-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    width: 100%;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45vw;
    max-width: 580px;
    margin: 0 auto;
}

.work-item h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    padding: 10px 20px;
    background: #f8f9fa;
    margin: 0;
}

.work-slider {
    padding: 20px;
}

.work-images {
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.work-images :first-child {
    margin: 0 auto;
    width: 100%;
}


.work-details {
    margin-bottom: 20px;
}

.work-details p {
    margin-bottom: 8px;
    color: #666;
}

.work-testimonial {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #2c5aa0;
}

.work-testimonial p {
    font-style: italic;
    margin-bottom: 10px;
}

.customer-name {
    font-weight: bold;
    color: #2c5aa0;
}

/* スタッフ紹介 */
.staff {
    padding: 80px 0;
    background-image:url(images/staff-back.jpg);
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    width: 100%;
}


.staff-top-message{
    width: 800px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.staff-item {
    text-align: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    color: #333333;
    border-radius: 3px;
    box-shadow: -5px -5px 10px 0px rgba(255, 255, 255, 0.5), 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.staff-item:hover {
    transform: translateY(-5px);
}



.staff-item  :nth-child(4){
    font-size: 200px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
    width: 10px;
    margin: 5px auto;
}

.staff-photo {
    width: 18vw;
    max-width: 216px;
    height: auto;
    border-radius: 5%;
    object-fit: cover;
    border: 1.5px solid #1f8cd4;
}

.staff-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.staff-position {
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 5px;
}

.staff-qualification {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.staff-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

/* リフォームの流れ */


.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-box {
    display: flex;
}

.process-box h3{
    margin-left: 30px;
}


.process-img {
    width: 18vw;
    max-width: 263px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
}


.process-img8 {
    width: 20vw;
    max-width: 263px;
    height: auto;
    background-image: url(images/process-img8.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.process-item {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.process-number {
    width: 50px;
    height: 50px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.process-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.process-item p {
    color: #666;
    font-size: 14px;
}

/* 会社概要 */
.company {
    padding: 80px 0;
    background: #fff;
    background-image:url(images/company-back.jpg);
    background-color:rgba(242, 247, 255, 0.75);
    background-blend-mode:lighten;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    width: 100%;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    align-items: start;
    width: 900px;
    margin: 0 auto;
}

.company-info {
    display: grid;
    gap: 10px;
}

.company-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.company-detail p {
    color: #666;
    line-height: 1.6;
}

.company-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.president-photo {
    width: 200px;
    height: 250px;
    text-align: center;
}
.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5%;
}
/* お客様の声 */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative; 
}

.testimonial-item:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color:white transparent;
    border-width: 10px 10px 0 10px;
    bottom: -10px;
    left: 20%;
    margin-left: -10px;
}

.testimonial-content {
    margin-bottom: 20px;

}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-name {
    font-weight: bold;
    color: #2c5aa0;
}

.customer-work {
    font-size: 14px;
    color: #666;
}

/* SNS */
.SNS {
    padding: 80px 0;
    background: #fff;
}


/* 視聴者特典 */
.youtube{
    padding: 80px 0;
}

.youtube img{
    width: 100vw;
    max-width: 600px;
    margin: 0 auto;
}
.youtube .container{
    width: 100%;
    max-width: 600px;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-content {
    margin-left: 150px;
    width: 200px;
}

.contact-line{
    background-image: url(images/QR.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 180px;
    width: auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 20px;
}


.contact-hours {
    color: #666;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.phone-number{
    height: 50px;
    padding-top: 0;
    margin-top: 0;
}
.phone-number-text{
    line-height: 50px;
    padding-top: 0;
    margin-top: 0;
}



/* フッター */
.footer {
    background: #327ff3;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #fff5bd;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
}



/* 固定フッター（モバイル） */
.sticky-footer {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: #295ff1;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sticky-phone {
    background: rgba(255,255,255,0.2);
    margin-right: 10px;
}

.sticky-consultation {
    background: #db1710;
}

.SNS-img {
    height: 50px;
    width: 110px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
}

.SNS-img div{
    height: 50px;
    width: 50px;
}

.SNS-img img{
    height: 50px;
}

.SNS-img2 {
    display: block;
    height: 80px;
    background-image:url(images/SNSpresen.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    margin: 0 auto;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .benefits-banner {
        bottom: -65px;
        width: 150px;
        height: 150px;
    }
    /* ヘッダー */
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        top: 15px;
        left: 20px;
    }
    
    /* ヒーロー */
    .hero {
        
        height: 650px;
        background-image: url(images/reason-back.png);
        background-size: cover;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        background-image:url(images/FV.png);
        height: 560px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 24px;
    }
    
    /* 選ばれる理由 */
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        place-items: start center;
    }
    .reason-item{
        width: 35vw;
    }
    
    /* リフォーム事例 */
    
    
    .work-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* スタッフ紹介 */
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .staff-top-message {
        width: 80vw;
    }
    
    /* リフォームの流れ */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* 会社概要 */
    .company-content {
        grid-template-columns: 1fr;
        place-items: center;
        text-align: center;
        gap: 30px;
        width: 350px;
    }
    
    /* お客様の声 */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* お問い合わせ */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-left: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0px;
        place-items: center;
        text-align: center;
        
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 固定フッター表示 */
    .sticky-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    
  /* ハンバーガー表示 */
  .mobile-menu-btn {
    display: flex;
  }

  /* ナビを隠す */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset: 100% 0 auto 0;
    background: #fff;
    z-index: 999;
  }



  /* メニューを開いた状態 */
  .nav.active {
    display: block;
  }

  .nav,
.nav.active {
    box-sizing: border-box;
}


  /* ナビ縦並び */
  .nav-list {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    display: block;
    padding: 5px;
    line-height: 1.5;
  }

  .process-img8 {
    width: 30vw;
  }
}

@media (max-width: 480px) {
    .hidden{
        display: none;
      }
    /* 選ばれる理由 */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* スタッフ紹介 */

    .section-title {
        width: 355px;
        height: 65px;
    }
    .staff-grid {
        grid-template-columns: 1fr;
    }
    .staff-photo {
        width: 80vw;
    }

    .work-item {
        width: 90vw;
    }

    .process-img {
        width: 35vw;
    }
    /* リフォームの流れ */
    .process-grid {
        grid-template-columns: 2 1fr;
    }
    .process-img8 {
        width: 42vw;
    }
    .contact-content {
        width: 80vw;
        margin: auto;
    }
    .phone-number-text {
        text-align: center;
    }
    .contact-line {
        background-position: center;
        height: 250px;
    }
    /* 固定フッター */
    .sticky-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .sticky-footer a {
        width: 100%;
        text-align: center;
    }


    .reason-item {
        width: 40vw;
        padding: 0;
        display: inline-block;
    }
    .reason-item h3 {
        border-radius: 14px;
    }
    .reason-item p {
        text-align: left;
    }
    .reason-img2 {
        margin-top: 0;
      }
      .youtube img {
        width: 90vw;
      }

      .youtube {
        text-align: center;
      }

      html {
        scroll-behavior: smooth;
      }

      .footer{
        margin-bottom: 75px;
      }

      .hero {
        display: grid;
        background-size: contain;
        background-repeat: no-repeat;
        margin-bottom: -84px;
        margin-top: -7px;
        min-height: 95vh;
    }

    .hero img{
        display: block;
        height: calc(100vh - 100px);
        width: 100%;
        
    }
      .hero-content,.benefits-banner {
        display: none;
    }
}
    
