@charset "UTF-8";

/* all */
body {
    font-family: "Shippori Mincho", serif;
}



img {
    max-width: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

li {
    list-style: none;
}



a {
    text-decoration: none;
    color: #333;
    display: block;
}

p {
    font-size: 1.5rem;
}

/* 共通タイトル */
.section-title {
    padding: 50px 50px;
    text-shadow: 5px 5px 5px #333;
}

.title {
    font-size: 4rem;
}

/* 共通ボタン */
.more-btn {
    text-align: center;
  }
  
  .more-btn .btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    margin-top: 50px;
    border: 1.5px solid #8b6f4e; /* 落ち着いたブラウン */
    background-color: rgba(139, 111, 78, 0.08); /* 薄いベージュ背景 */
    color: #8b6f4e; /* テキスト色もブラウン */
    font-weight: bold;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .more-btn .cta-text {
    margin-right: 6px;
  }
  
  .more-btn .btn:hover {
    background-color: #8b6f4e; /* ホバー時に背景をブラウン */
    color: #fff;
  }
  
  .more-btn .btn:hover .cta-icon {
    transform: translateX(4px);
  }
  
  .more-btn .cta-icon {
    transition: transform 0.3s ease;
  }

  .more-btn a,
  .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1.5px solid #8b6f4e; /* 落ち着いたブラウン */
    background-color: rgba(139, 111, 78, 0.08); /* 薄いベージュ背景 */
    color: #8b6f4e; /* テキスト色もブラウン */
    font-weight: bold;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .more-btn a:hover,
  .submit-btn:hover {
    background-color: #8b6f4e; /* ホバー時に背景をブラウン */
    color: #fff !important;
  }






/* header */
header {
    position: fixed;
    width: 100%;
    height: 80px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* 画像より上に */
}

.site-title {
    width: 200px;
}

.site-link {
    display: flex;
}

.site-link li {
    margin-right: 30px;
}

.site-link a {
    color: #f5f5f5;
}

.header-fade {
    display: none;
}


/* main */
/* top-mainvisual */
.top-mainvisual {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.top-mainvisual-slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.top-mainvisual-slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.top-mainvisual-slides img.active {
    opacity: 1;
}

.main-message {
    color: #EDEAE5;
    font-weight: bold;
    text-shadow: 5px 5px 5px #222;
    position: absolute;
    top: 40%;
    left: 10%;
    z-index: 2;
}

.main-message h2 {
    font-size: 5rem;
}
/* mainvisual */
.mainvisual {
    width: 100%;
    height: 100vh;
    position: relative;
    margin-bottom: 150px;
}

.mainvisual img {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

/* mainvisual message */
.main-message {
    color: #EDEAE5;
    font-weight: bold;
    text-shadow: 5px 5px 5px #222;
    position: absolute;
    top: 40%;
    left: 10%;
}

.main-message h2 {
    font-size: 5rem;
}


/* about us */
.about-us {
    color: #333;
    background: #E0DEDA;
    padding: 150px 0 100px 0;
    position: relative;
}

.about-title {
    position: relative;
    padding-left: 100px;
    font-weight: 700;
    font-size: 2.6rem;
    z-index: 2;
  }
  .about-title::before{
    content:"About us";
    position:absolute;
    left:0;
    top:-90px;                 
    font-family: "Shippori Mincho", serif;
    font-size:min(18vw,220px);
    line-height:1;
    color:transparent;
    -webkit-text-stroke:2px rgba(0,0,0,.08);
    z-index:0;
    pointer-events:none;
  }

.about-content {
    display: flex;
    justify-content: space-between;
    margin: 50px 0 250px 0;
    padding-left: 50px;
    width: 100%;
}

.about-wrapper {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.about-text {
    width: 100%;
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    width: 45%;
}

.about-img-position {
    position: absolute;
    width: 65%;
    bottom: -200px;
    left: -150px;
}



/* ===========================
   SERVICE (scroll-pinned)
   =========================== */
.service {
    background-color: #E0DEDA;
    padding-bottom: 50px;
}

.service-wrapper {
    width: 100%;
    height: 300vh;
    background-image: url(../img/servicebg.png);
    background-size: cover;
    background-position: center 0%;
    background-attachment: scroll;
    padding: 200px 80px;
    color: #f5f5f5;
}

.service-item {
    position: sticky;
    top: 35%;
    height: 50vh;
}

.service-flex {
    width: 100%;
    display: flex;
    justify-content: center;
}

.service-image {
    width: 550px;
    /* overflow-y: scroll; */
    overflow: hidden;
    scrollbar-width: none;
    height: 350px;
    pointer-events: none;
}

/* 画像の縦積みを動かす内側ラッパー */
.service-image-inner {
    will-change: transform; 
}

.service-image img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
}

.service-text {
    width: 40%;
    position: relative;
    margin-left: 40px;
}

.restore-service,
.inspection-maintenance-service,
.course-service {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 20px;
    transition: all 0.5s;
}

.service-number {
    font-size: 1rem;
    margin-bottom: 10px;
}

.text-title {
    font-size: 1.9rem;
    margin-bottom: 50px;
}

.service-content {
    margin-bottom: 30px;
}

.sub-text-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.content-text {
    font-size: 1.3rem;
}

.inspection-maintenance-service, 
.course-service {
  opacity: 0;
}



    

/* gallery */
.gallery {
    background-color: #E0DEDA;
    z-index: 1;
    overflow: hidden;
    padding: 200px 0 100px 0;
    position: relative;
}

.gallery-title {
    position: relative;  
    z-index: 2;          
    font-weight: 700;    
    font-size: 2.6rem;
    padding-left: 100px;
}

.gallery-title::before {
    content: "Gallery";
    position: absolute;
    left: 0;
    top: -90px;
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 220px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, .08);
    z-index: 0;
    pointer-events: none;
}

.gallery-bg {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
}

.gallery-img {
  width:100%;
  aspect-ratio: 1 / 1;  /* 比率は好みで 1/1, 16/9 など */
  overflow:hidden;
}

.gallery-bg img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.slick-gallery {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: 15%;
}

.gallery-item {
    display: block;
    height: 560px;
    box-shadow: 0 0 8px 4px #ccc;
    background-color: #fff;
}

.gallery-img {
    width: 100%;
    height: 60%;
}

.gallery-img img {
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    height: 50%;
    padding: 20px;
}


.item-title {
    font-size: 1.3rem;
}

.item-text {
    font-size: 1rem;
    margin: 10px 0;
}

.date {
    font-size: 0.8rem;
    text-align: right;
}

/* slickのslideのpaddingや見えない問題対策 */
.slick-slide {
    display: block;
    padding: 0 10px;
}

.slick-track {
    display: flex !important;
    align-items: stretch;
}

.gallery-item {
    list-style: none;
    display: block;
}


/* News and FAQ */
.NandF {
    background-color: #E0DEDA;
}

.NandF-flex {
    display: flex;
    justify-content: space-around;
    padding-bottom: 50px;
}

.nf {
    width: 45%;
    padding: 0 3%;
    border: 3px solid #333;
    background: #f8f8f8;
}

/* news */
.news {
    padding: 100px 0;
    position: relative;
}

/* News タイトル */
.news-title {
    position: relative;       /* 疑似要素の基準 */
    z-index: 2;               /* 疑似要素より前面 */
    font-weight: 700;         /* 他セクションと統一 */
    font-size: 2.6rem;
    padding-left: 50px;
    margin-bottom: 50px;
}

.news-title::before {
    content: "News";
    position: absolute;
    left: 0;
    top: -90px; /* 見出し上に配置（他と揃える） */
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 180px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, .08);
    z-index: 0;
    pointer-events: none;
}

/* FAQ タイトル */
.faq-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.6rem;
    padding-left: 50px;
    margin-bottom: 50px;
}

.faq-title::before {
    content: "FAQ";
    position: absolute;
    left: 0;
    top: -90px;
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 180px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, .08);
    z-index: 0;
    pointer-events: none;
}

.news-content {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 30px;
    border-bottom: 1px solid #333;
}

.nf-date {
    font-size: 0.8rem;
    margin-right: 15px;
}

.news-content dt {
    width: 80%;
    font-size: 1rem;
    padding: 25px;
    border-top: 1px solid #333;
}

.news-content dd {
    width: 20%;
    padding: 25px;
    text-align: right;
    border-top: 1px solid #333;
}


/* faq */
.faq {
    padding: 100px 0 100px 0;
    position: relative;
}

.faq-content {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 30px;
    border-bottom: 1px solid #333;
}
.faq-content dt {
    width: 80%;
    padding: 25px;
    border-top: 1px solid #333;
}

.faq-content dd {
    width: 20%;
    padding: 25px;
    text-align: right;
    border-top: 1px solid #333;
}





/* roop */

.roop {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    background-color: #E0DEDA;
    position: relative;
}
  
.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    text-shadow: 5px 5px 5px #333;
}

.marquee span {
    display: inline-block; 
    font-size: 80px;
    font-weight: bold;
    color: #111;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.diagonal-divider-top {
    height: 200px;
    background-color: #333; /* 仕切りの色（背景とマッチ） */
    background: linear-gradient(to bottom, #E0DEDA 0%, #888 50%, #333 100%);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    z-index: -1;
}


/* footer */
footer {
    padding: 50px;
    background-color: #E0DEDA;
    background-color: #333;
    color: #f5f5f5;
}

.footer-logo {
    width: 350px;
    margin: 0 auto;
}

.footer-flex {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    font-size: 1.3rem;
    font-weight: bold;
}

.footer-link {
    display: flex;
    justify-content: space-around;
    width: 50%;
    padding: 20px;
}

.footer-link li {
    padding: 15px;
}

.footer-link a {
    color: #f5f5f5;
}

.footer-info {
    width: 50%;
}

.footer-info .more-btn a {
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: #C49A6C;
    border-bottom: 2px solid #C49A6C;
    padding-bottom: 8px;
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    margin: 15px;
    padding: 20px;
    font-size: 1rem;
    font-weight: normal;
}

.info-content dt {
    width: 25%;
    text-align: right;
    padding: 5px;
}

.info-content dd {
    width: 75%;
    padding: 5px;
}

/* sns */
.nav-sns {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-sns li {
    width: 60px;
    margin-right: 50px;
}

.Copyright {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 30px;
}








/* -------------------------------
aboutus.html
-------------------------------*/
.bg-grad {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(51, 51, 51, 1));
}

.mainvisual .section-title {
    color: #EDEAE5;
    text-shadow: 5px 5px 5px #222;
}

.about-main {
    position: relative;
}

/* About ページ専用 見出しデザイン */
.page-about .about-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.6rem;
    padding: 300px 0 0 100px;
    color: #f5f5f5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-about .about-title::before {
    content: "About us";
    position: absolute;
    left: 0;
    top: 100px; /* 見出しの上に薄く */
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 220px);
    line-height: 1;
    color: #fff;
    -webkit-text-stroke: 3px rgba(255,255,255,.2);
    text-shadow: 0 0 8px rgba(0,0,0,0.4);
    z-index: -1;
    pointer-events: none;
}

/* top-message */
.top-message {
    font-family: "Shippori Mincho", serif;
    padding-bottom: 100px;
    color: #f5f5f5;
}

.message-content {
    padding: 50px 200px;
}

.message-content p {
    margin-bottom: 30px;
}

.message-name {
    font-weight: bold;
}

.message-name span {
    font-size: 2.8rem;
}

/* company */
.company {
    background: #EDEAE5;
    font-size: 1.5rem;
    font-family: "Shippori Mincho", serif;
    padding-bottom: 150px;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    margin: 80px 150px 0 150px;
    border-bottom: 1px solid #333;
}

.company dt {
    width: 20%;
    padding: 25px;
}

.company dd {
    width: 80%;
    padding: 25px;
    text-align: left;
}

.company dt, .company dd {
    border-top: 1px solid #333;
}

/* google-map */
.google-map {
    text-align: center;
    padding: 150px 0;
    width: 100%;
    background: url(../img/gmap-bg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.google-map:before {
    content: '';
    background: inherit;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
}

.google-map iframe {
    width: 80%;
    filter: grayscale(1);
    border-radius: 30px;
}



/* -------------------------------
service.html
-------------------------------*/
.page-top {
    height: 20vh;
    position: relative;
}

.page-service .service-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.6rem;
    padding: 300px 0 0 100px;
    color: #f5f5f5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-service .service-title::before {
    content: "Service";
    position: absolute;
    left: 0;
    top: 100px; /* 見出しの上に薄く */
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 220px);
    line-height: 1;
    color: #fff;
    -webkit-text-stroke: 3px rgba(255,255,255,.2);
    text-shadow: 0 0 8px rgba(0,0,0,0.4);
    z-index: -1;
    pointer-events: none;
}



.bg-color {
    height: 300px;
    background: #333;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(51, 51, 51, 1));
}

.btn-area {
    padding: 50px;
    background: #333;
}

.btn-list {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-list li {
    padding: 10px 25px;
    border-right: 1px solid #f5f5f5;
    position: relative;
}

.btn-list li:last-child {
    border-right: none;
}

.btn-area a {
    font-size: 2rem;
    color: #f5f5f5;
}

/* sample_btn */
.sample_btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  transition: color 0.5s ease;
}
.sample_btn:hover {
  color: #333;
}
.sample_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.sample_btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}
.btn_text {
  position: relative;
}

.repair-area {
    height: 70vh;
    padding: 30px;
    background: #333;
}

.repair-box {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: auto;
    padding: 50px;
    background: #111;
    color: #f5f5f5;
}

.repair-text {
    width: 50%;
}

.repair-image {
    width: 50%;
}

.repair-image img {
    width: 100%;
    height: 320px;
}

.box-title {
    padding: 50px 50px;
    text-shadow: 5px 5px 5px #333;
    font-size: 3rem;
}

/* restore */
.restore {
    background-color: #E0DEDA;
    padding: 50px;
}
  
.restore-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    gap: 10px;
}
  
.tab-btn {
    padding: 15px 40px;
    border: 2px solid #C49A6C;
    background: transparent;
    color: #C49A6C;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
  
.tab-btn.active {
    background: #C49A6C;
    color: #fff;
}
  
.tab-content {
    display: none;
    padding: 50px;
    background: #f5f5f5;
    animation: fadeIn 0.5s ease;
}
  
.tab-content.active {
    display: block;
}
  
.restore-main {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}
  
.restore-main img {
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
  
.restore-text {
    width: 50%;
    padding: 25px;
}

/* 背景の数字 */
.frame-text {
    position: relative;
}

.frame-text::before {
    content: "01";
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    opacity: 0.2;
    font-weight: bold;
    font-size: 10rem;
    line-height: 10rem;
    z-index: 1;
}

.engine-text {
    position: relative;
}

.engine-text::before {
    content: "02";
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    opacity: 0.2;
    font-weight: bold;
    font-size: 10rem;
    line-height: 10rem;
    z-index: 1;
}

.coating-text {
    position: relative;
}

.coating-text::before {
    content: "03";
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    opacity: 0.2;
    font-weight: bold;
    font-size: 10rem;
    line-height: 10rem;
    z-index: 1;
}
  
.restore-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
}
  
.restore-text p {
    margin-bottom: 15px;
}
  
.detail-btn {
    display: inline-block;
    color: #C49A6C;
    font-weight: bold;
    border-bottom: 2px solid #C49A6C;
    padding-bottom: 3px;
}
  
.restore-sub {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
  
.restore-sub img {
    width: 33%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
  
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/* inspections & maintenance */
.maintenance {
    padding: 50px;
    background: #E0DEDA;
}

.maintenance-main {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.maintenance-image {
    width: 50%;
    position: relative;
    display: inline-block;
  }
  
  .maintenance-image::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    width: calc(100% + 10px);
    height: calc(100% + 10px); 
    background: #fff;
    z-index: 1;
  }
  
  .maintenance-image img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2; /* 枠の上に画像 */
  }


.maintenance-text {
    width: 50%;
    padding: 25px;
}

.maintenance-text p {
  padding: 15px;
}

.maintenance-text .section-title {
    padding: 0;
}

.maintenance-text h3 {
    font-size: 4rem;
    margin-bottom: 10px;
}

 p {
    margin-bottom: 15px;
}


/* restore course */
.course {
    background: #E0DEDA;
    padding: 80px;
}

.course-title {
    padding: 25px;
}
.course-list {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* -------------------------------
gallery.html
-------------------------------*/
.gallery-page {
    background: #E0DEDA;
}

.gallery-main {
    margin-bottom: 0;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

.page-gallery .gallery-title,
.post-type-archive-gallery .gallery-title,
.tax-gallery_cat           .gallery-title {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 2.6rem;
    padding: 300px 0 0 100px;
    color: #f5f5f5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-gallery .gallery-title::before,
.post-type-archive-gallery .gallery-title::before,
.tax-gallery_cat .gallery-title::before {
    content: "Gallery";
    position: absolute;
    left: 0;
    top: 100px; /* 見出しの上に薄く */
    font-family: "Shippori Mincho", serif;
    font-size: min(18vw, 220px);
    line-height: 1;
    color: #fff;
    -webkit-text-stroke: 3px rgba(255,255,255,.2);
    text-shadow: 0 0 8px rgba(0,0,0,0.4);
    z-index: -1;
    pointer-events: none;
}

.gallery-filter {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 100px;
}

.gallery-filter button {
    background: none;
    border: 2px solid #C49A6C;
    color: #C49A6C;
    padding: 8px 16px;
    margin: 15px 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover,
.gallery-filter button.active {
    background: #C49A6C;
    color: #fff;
}

.gallery-content {
    display: grid;
    padding: 50px;
    margin: 0 50px;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gallery-items {
    width: 100%;
    height: 500px;
    flex-shrink: 0;
    box-shadow: 0 0 8px 4px #ccc;
    background-color: #fff;
    display: block;
}


/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    background: #E0DEDA;
    font-size: 1.2rem;
}
  
.pagination a,
.pagination span {
    display: inline-block;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ccc;
    color: #333;
    transition: all 0.3s ease;
}
  
.pagination a:hover {
    background-color: #C49A6C;
    color: #fff;
}
  
.pagination .active {
    background-color: #C49A6C;
    color: #fff;
    pointer-events: none;
}

.gallery-filter { text-align:center; margin:0 0 24px; }
.gallery-filter .filter-btn{
  display:inline-block; padding:8px 16px; margin:0 6px 8px;
  border:2px solid #C49A6C; color:#C49A6C; text-decoration:none; font-weight:700;
  transition:.2s;
}
.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active{ background:#C49A6C; color:#fff; }




/* -------------------------------
gallery-detail.html
-------------------------------*/
.gallery-detail {
    padding-top: 100px;
    background: #E0DEDA;
}

.title-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-detail-title {
    position: relative;
    padding-bottom: 20px;
}

.gallery-detail-title::after {
    display: inline-block;
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background: #999;
}
.before-after {
    position: relative;
    width: 100%;
    background: #EDEAE5;
  }
  
  .horizontal-wrapper {
    position: sticky;
    top: 0;
    height: 100vh; /* 横スクロール中は画面固定 */
    overflow: hidden;
  }
  
  .horizontal-scroll {
    display: flex;
    height: 100%;
    width: 200vw; /* スライド2枚分 */
    transition: transform 0.1s linear;
  }
  
  .slide {
    flex: 0 0 100vw;
    height: 100vh;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .after-horizontal {
    background: #E0DEDA;
    padding: 100px 20px;
  }

  .after-image {
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.1s linear;
    background: #E0DEDA;
  }

  .after-horizontal {
    padding: 100px 20px;
    background: #f8f8f8;
    min-height: 100vh; /* しっかり縦スクロールできるように高さ確保 */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .after-horizontal.show {
    opacity: 1;
    transform: translateY(0);
  }

  .explain {
    width: 100%;
    padding: 50px 100px 150px 100px;
    background: #E0DEDA;
  }

  .explain h2 {
    font-size: 2.3rem;
  }

  /* detail-image */
  .detail-image {
    background-color: #E0DEDA; /* 現行背景色 */
    column-count: 4; /* 列数 */
    column-gap: 15px;
    padding: 40px 80px;
  }
  
  .detail-item, .detail-text {
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
  }
  
  .detail-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .detail-text p {
    font-size: 1.3rem;
  }
  
  /* ホバー浮き上がり */
  .detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }


/* -------------------------------
news.html
-------------------------------*/
.news-header a {
    color: #333;
}
/* main */

.news-top {
    margin-bottom: 0;
    padding: 200px 100px 100px 100px;
    background: #E0DEDA;
}

.news-top::before {
    top: 120px;
}


.container {
    display: flex;
    justify-content: space-between;
    background: #E0DEDA;
}

.container-left {
    width: 80%;
    padding: 50px;
}

.container-right {
    width: 20%;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #888;
}

.news-list dt {
    width: 75%;
    padding: 20px;
    border-top: 1px solid #888;
}

.news-list dd {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 25%;
    padding: 20px 10px 20px 0;
    border-top: 1px solid #888;
}

.news-list .date {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.news-list p {
    font-size: 1rem;
}

.news-more {
    width: 100%;
}

.news-btn {
    margin-top: auto;
}

.news-text {
    font-size: 0.9rem;
}

.news-icon {
    font-size: 0.9rem;
}


/* aside */
.gallery-filter {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-filter button {
    background: none;
    border: 2px solid #C49A6C;
    color: #C49A6C;
    padding: 8px 16px;
    margin: 5px 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter button:hover,
.gallery-filter button.active {
    background: #C49A6C;
    color: #fff;
}

.news-filter a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #C49A6C;
  color: #C49A6C;
  text-decoration: none;
  margin: 0 5px;
  transition: all 0.3s;
}

.news-filter a.active,
.news-filter a:hover {
  background: #C49A6C;
  color: #fff;
}

/* -------------------------------
news-detail.html
-------------------------------*/
.news-detail {
    background: #E0DEDA;
}

.news-detail article {
    padding: 100px;
}

.news-meta {
    margin-bottom: 50px;
}

.news-meta .date {
    margin: 50px;
    font-size: 1.3rem;
}

.news-detail-title {
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 1px solid #999;
}

.news-contents {
    padding: 50px;
}

.news-navigation {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: auto;
    padding-bottom: 100px;
    font-weight: bold;
}

.news-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #C49A6C;
    font-size: 1.8rem;
    transition: opacity 0.3s ease;
}

.news-navigation a:hover {
    opacity: 0.7;
}

.news-navigation .disabled {
    color: #999;
}

.nav-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-navigation a:hover .nav-thumb {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* -------------------------------
faq.html
-------------------------------*/
.category-link-area {
    background: #E0DEDA;
    display: flex;
    justify-content: flex-start;
}

.faq-top {
    margin-bottom: 0;
    padding: 200px 100px 100px 100px;
    background: #E0DEDA;
}

.faq-top::before {
    top: 120px;
}

.faq-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 150px 20px;
    padding: 50px;
    background: #f5f5f5;
}

.faq-menu li a {
    text-decoration: none;
    color: #C49A6C;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #C49A6C;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.faq-menu li a:hover {
    background-color: #C49A6C;
    color: #fff;
}

.faq-page {
    display: flex;
    align-items: flex-start;
    padding-bottom: 150px;
    background: #E0DEDA;
}

/* 左固定 */
.faq-left {
    width: 50%;
    padding: 30px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.faq-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.faq-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.faq-image.active {
    opacity: 1;
}

/* 右側は通常スクロール */
.faq-right {
    width: 50%;
    padding: 100px 50px;
    background: #E0DEDA;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category-title {
    margin-bottom: 15px;
    font-size: 2rem;
}

/* アコーディオン */
.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
    position: relative;
    padding-right: 32px;
}

.faq-btn::after{
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);   /* 下向き風 */
    transition: transform .3s ease;
}
  
/* 開いたときは上向きに回転 */
.faq-btn.active::after{
    transform: translateY(-50%) rotate(-135deg);
}

.faq-q {
    font-weight: bold;
    margin-right: 10px;
    color: #C49A6C;
}

.faq-a {
    color: #333;
}

.faq-main-text {
    padding: 20px;
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease;
    padding: 0;                          /* 初期は余白なし */
    border-top: 1px solid transparent;
}

.faq-main-text.active {
    max-height: 500px;
}

/* -------------------------------
contact.html
-------------------------------*/
.contact-page {
    padding: 250px 0 100px ;
    background: #E0DEDA
}

.contact-title {
    position: relative;
    padding:0 0 100px 100px;
    font-weight: 700;
    font-size: 2.6rem;
    z-index: 2;
  }
  .contact-title::before{
    content:"Contact";
    position:absolute;
    left:0;
    top:-90px;                 /* 見出しの上に薄く */
    font-family: "Shippori Mincho", serif;
    font-size:min(18vw,220px);
    line-height:1;
    color:transparent;
    -webkit-text-stroke:2px rgba(0,0,0,.08);
    z-index:0;
    pointer-events:none;
  }

.contact-message {
    margin: 40px 150px;
    line-height: 1.8;
}

.contact-form-wrap{
    max-width: 840px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
  }
  
  /* ラベル行：左に項目名、右に「必須」タグ */
  .form-group{ margin-bottom: 22px; }
  .label-row{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  .label-row label{
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #333;
  }
   .required{
    display: inline-block;
    font-size: .78rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    background: #C49A6C;
  }
  
  /* 入力エリア共通 */
  .contact-form-wrap input,
  .contact-form-wrap textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
  }

  .contact-form-wrap input::placeholder,
  .contact-form-wrap textarea::placeholder{
    color: #aaa;
  }
  
  /* フォーカス時 */
  .contact-form-wrap input:focus,
  .contact-form-wrap textarea:focus{
    background: #fff;
    border-color: #C49A6C;
    box-shadow: 0 0 0 4px rgba(196,154,108, .15);
  }

.required {
    color: red;
    font-size: 0.8rem;
    margin-left: 5px;
}

.submit-wrap{
    text-align:center;
    margin: 56px 0 10px;
}

.submit-btn{
    -webkit-appearance:none;
    appearance:none;
    border: 2px solid #C49A6C;
    background: transparent;
    color: #C49A6C;
    padding: 16px 64px 16px 48px;   /* 右に余白 → 矢印分 */
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 16px;
    line-height: 1;
    position: relative;
    cursor: pointer;
    transition: color .25s ease, background .25s ease,
                box-shadow .25s ease, transform .15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
  }
  
  /* 右側の小さな矢印 */
  .submit-btn::after{
    content:"";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    position: absolute;
    right: 28px;
    top: 50%;
    margin-top: -6px;
    transition: transform .25s ease, right .25s ease;
  }
  
  /* hover: 色反転＋ふわっと */
  .submit-btn:hover{
    background: #C49A6C;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,.10);
  }
  .submit-btn:hover::after{
    right: 24px;              /* ほんの少し前進 */
    transform: rotate(-45deg) translateX(2px);
  }
  
  /* active: 押し込み感 */
  .submit-btn:active{
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
  }
  
  /* disabled も一応 */
  .submit-btn:disabled{
    border-color: #cfcfcf;
    color: #cfcfcf;
    background: #f4f4f4;
    box-shadow: none;
    cursor: not-allowed;
  }

  /* 注意文 */
.submit-note {
    font-size: 12px;
    color: #666;  /* 薄めのグレー */
    margin-top: 8px;
    letter-spacing: 0.05em;
  }
  
  .submit-note a {
    display: inline-block;
    color: #C49A6C; /* アクセントカラー */
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
  }
  
  .submit-note a:hover {
    border-color: #C49A6C; /* ホバー時に下線 */
  }



  @media screen and (max-width: 1024px) {
    /* ===============================
       Spacing / Typography
       =============================== */
    .section-title {
      padding: 36px 36px;
    }
  
    .title {
      font-size: 3.2rem;
    }
  
    p {
      font-size: 1.2rem;
    }
  
    /* ===============================
       Hamburger Nav (fade style)
       =============================== */
    .site-nav {
      display: none;
    }
  
    .header-fade {
      position: relative;
      display: block;
      z-index: 1100;
    }
  
    /* Toggle button */
    .hamburger-fade {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1101;
      width: 60px;
      height: 60px;
      line-height: 60px;
      padding: 0;
      border: none;
      background: #000;
      cursor: pointer;
    }
  
    .hamburger-fade__wrapper {
      position: relative;
      width: 30px;
      height: 20px;
      margin: 20px auto;
    }
  
    .hamburger-fade__line {
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #fff;
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
  
    .hamburger-fade__line:nth-child(1) {
      top: 0;
    }
  
    .hamburger-fade__line:nth-child(2) {
      top: 9px;
    }
  
    .hamburger-fade__line:nth-child(3) {
      top: 18px;
    }
  
    .hamburger-fade.active .hamburger-fade__line:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
  
    .hamburger-fade.active .hamburger-fade__line:nth-child(2) {
      opacity: 0;
      transform: translateX(20px);
    }
  
    .hamburger-fade.active .hamburger-fade__line:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  
    /* Overlay menu */
    .nav-fade {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100vh;
      visibility: hidden;
      z-index: 1100;
    }
  
    .nav-fade__bg {
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.92);
      opacity: 0;
      transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
  
    .nav-fade.active {
      visibility: visible;
    }
  
    .nav-fade.active .nav-fade__bg {
      opacity: 1;
    }
  
    .nav-fade__wrapper {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      height: 100%;
      padding: 5vh 10vw;
    }
  
    .nav-fade__list {
      margin: 0;
      padding: 0;
      list-style: none;
    }
  
    .nav-fade__item {
      position: relative;
      margin-bottom: 2vh;
      padding-left: 60px;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
  
    .nav-fade.active .nav-fade__item {
      opacity: 1;
      transform: translateY(0);
    }
  
    .nav-fade.active .nav-fade__item:nth-child(1) {
      transition-delay: 0.15s;
    }
  
    .nav-fade.active .nav-fade__item:nth-child(2) {
      transition-delay: 0.25s;
    }
  
    .nav-fade.active .nav-fade__item:nth-child(3) {
      transition-delay: 0.35s;
    }
  
    .nav-fade.active .nav-fade__item:nth-child(4) {
      transition-delay: 0.45s;
    }
  
    .nav-fade.active .nav-fade__item:nth-child(5) {
      transition-delay: 0.55s;
    }
  
    .nav-fade.active .nav-fade__item:nth-child(6) {
      transition-delay: 0.65s;
    }

    .nav-fade.active .nav-fade__item:nth-child(7) {
      transition-delay: 0.75s;
    }
  
    .nav-fade__number {
      position: absolute;
      left: 0;
      color: #aaa;
      font-size: 14px;
      font-family: 'Roboto', sans-serif;
    }
  
    .nav-fade__link {
      display: inline-block;
      color: #fff;
      font-size: 32px;
      text-decoration: none;
      transition: color 0.25s ease, transform 0.25s ease;
    }
  
    .nav-fade__link:hover {
      color: #C49A6C;
      transform: translateX(2px);
    }
  
    /* ===============================
       Mainvisual
       =============================== */
    .main-message {
      left: 8%;
      top: 42%;
    }
  
    .main-message h2 {
      font-size: 3.6rem;
    }
  
    /* ===============================
       About
       =============================== */
    .about-us {
      padding: 120px 0 80px 0;
    }
  
    .about-title {
      padding-left: 60px;
      font-size: 2.2rem;
    }
  
    .about-title::before {
      top: -70px;
      font-size: 160px;
    }
  
    .about-content {
      margin: 40px 0 200px 0;
      padding-left: 30px;
    }
  
    .about-wrapper {
      width: 52%;
    }
  
    .about-text p {
      font-size: 1.1rem;
    }
  
    .about-image {
      width: 44%;
    }
  
    .about-img-position {
      width: 70%;
      bottom: -160px;
      left: -100px;
    }
  
    /* ===============================
       Service (scroll sync)
       =============================== */
    .service-wrapper {
      padding: 140px 40px;
      height: 300vh;
    }
  
    .service-item {
      top: 30%;
      height: 55vh;
    }
  
    .service-flex {
      gap: 24px;
    }
  
    .service-image {
      width: 480px;
      height: 300px;
    }
  
    .service-image img {
      height: 300px;
    }
  
    .service-text {
      width: 44%;
      margin-left: 0;
    }
  
    .text-title {
      font-size: 1.8rem;
      margin-bottom: 36px;
    }
  
    .sub-text-title {
      font-size: 1.3rem;
    }
  
    .content-text {
      font-size: 1.1rem;
    }
  
    /* ===============================
       Gallery
       =============================== */
    .gallery {
      padding: 160px 0 80px 0;
    }
  
    .gallery-title {
      padding-left: 60px;
      font-size: 2.2rem;
    }
  
    .gallery-title::before {
      top: -70px;
      font-size: 160px;
    }
  
    .slick-gallery {
      top: 8%;
    }
  
    .gallery-item {
      height: 380px;
    }
  
    .gallery-img {
      height: 50%;
    }
  
    .item-title {
      font-size: 1.1rem;
    }
  
    /* ===============================
       News & FAQ
       =============================== */
    .NandF-flex {
      padding: 0 20px 40px;
      flex-direction: column;
      align-items: center;
    }
  
    .nf {
      width: 90%;
      margin-bottom: 50px;
    }
  
    .news-title,
    .faq-title {
      padding-left: 36px;
      font-size: 2.2rem;
    }
  
    .news-title::before,
    .faq-title::before {
      top: -70px;
      font-size: 140px;
    }
  
    .news-content dt,
    .faq-content dt {
      padding: 20px;
    }
  
    .news-content dd,
    .faq-content dd {
      padding: 20px;
    }
  
    /* ===============================
       Footer
       =============================== */
    .footer-flex {
      font-size: 1.1rem;
    }
  
    .footer-info .more-btn a {
      font-size: 1.6rem;
    }
  
    .info-content {
      font-size: 0.95rem;
    }
  
    /* ===============================
       about-us.html
       =============================== */
    .page-about .about-title {
      font-size: 2.2rem;
      padding: 220px 0 0 60px;
    }
  
    .page-about .about-title::before {
      top: 60px;
      font-size: min(16vw, 180px);
      -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.22);
    }
  
    .top-message {
      padding-bottom: 80px;
    }
  
    .message-content {
      padding: 40px 80px;
    }
  
    .message-content p {
      margin-bottom: 22px;
    }
  
    .message-name span {
      font-size: 2.2rem;
    }
  
    .company {
      font-size: 1.3rem;
      padding-bottom: 120px;
    }
  
    .company-info {
      margin: 60px 80px 0;
    }
  
    .company dt {
      width: 28%;
      padding: 20px;
    }
  
    .company dd {
      width: 72%;
      padding: 20px;
    }
  
    .google-map {
      padding: 120px 0;
    }
  
    .google-map iframe {
      width: 90%;
      border-radius: 24px;
    }
  
    /* ===============================
       service.html
       =============================== */
    .page-top {
      height: 70vh;
      min-height: 420px;
    }
  
    .page-top .service-title {
      font-size: 2.4rem;
      padding: 220px 0 0 60px;
    }
  
    .page-top .service-title::before {
      top: 70px;
    }
  
    .bg-color {
      height: 240px;
    }
  
    .btn-area {
      padding: 36px 20px;
    }
  
    .btn-area a {
      font-size: 1.6rem;
    }
  
    .btn-list {
      gap: 8px;
    }
  
    .btn-list li {
      padding: 8px 18px;
    }
  
    .repair-area {
      height: auto;
      padding: 24px;
    }
  
    .repair-box {
      width: 90%;
      padding: 36px;
    }
  
    .box-title {
      font-size: 2.4rem;
      padding: 32px;
    }
  
    .repair-image img {
      height: 280px;
    }
  
    .restore {
      padding: 40px 30px;
    }
  
    .restore-tabs {
      margin-bottom: 60px;
      flex-wrap: wrap;
    }
  
    .tab-btn {
      padding: 12px 28px;
      font-size: 16px;
    }
  
    .tab-content {
      padding: 36px;
    }
  
    .restore-main {
      gap: 20px;
    }
  
    .restore-main img {
      width: 48%;
    }
  
    .restore-text {
      width: 52%;
    }
  
    .frame-text::before,
    .engine-text::before,
    .coating-text::before {
      font-size: 8rem;
      line-height: 8rem;
    }
  
    .maintenance {
      padding: 40px 30px;
    }
  
    .maintenance-main {
      gap: 20px;
    }
  
    .maintenance-image,
    .maintenance-text {
      width: 50%;
    }
  
    .maintenance-text h3 {
      font-size: 2.6rem;
    }
  
    .course {
      padding: 40px 30px;
    }
  
    /* ===============================
       gallery-detail.html
       =============================== */
    .slide img {
      object-position: center;
    }
  
    .explain {
      padding: 36px 40px 100px;
    }
  
    .explain h2 {
      font-size: 1.9rem;
    }
  
    .explain p {
      font-size: 1.1rem;
    }
  
    .detail-image {
      padding: 40px;
    }
  
    .detail-text h2 {
      font-size: 1.3rem;
    }
  
    .detail-text p {
      font-size: 1rem;
    }
  
    /* ===============================
       news.html
       =============================== */
    .news-top {
      padding: 140px 40px 70px;
    }
  
    .news-top::before {
      top: 80px;
    }
  
    .container {
      gap: 20px;
    }
  
    .container-left {
      width: 72%;
      padding: 36px;
    }
  
    .container-right {
      width: 28%;
    }
  
    /* ===============================
       news-detail.html
       =============================== */
    .news-detail article {
      padding: 60px;
    }
  
    .news-meta {
      margin-bottom: 36px;
      display: flex;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }
  
    .news-meta .date {
      margin: 0;
      font-size: 1.1rem;
    }
  
    .news-detail-title {
      font-size: 1.8rem;
    }
  
    .news-contents {
      padding: 30px 40px;
      font-size: 1.05rem;
    }
  
    .news-navigation {
      width: 90%;
      padding-bottom: 80px;
      justify-content: space-between;
      column-gap: 24px;
    }
  
    .news-navigation a {
      font-size: 1.5rem;
    }
  
    .nav-thumb {
      width: 44px;
      height: 44px;
    }
  
    /* ===============================
       faq.html
       =============================== */
    .faq-top {
      padding: 160px 60px 80px;
    }
  
    .faq-top::before {
      top: 90px;
    }
  
    .category-link-area {
      gap: 24px;
      align-items: center;
    }
  
    .faq-menu {
      margin: 80px 20px;
      padding: 24px;
      gap: 12px;
    }
  
    .faq-menu li a {
      padding: 6px 12px;
      font-size: 0.95rem;
    }
  
    .faq-left {
      width: 48%;
      padding: 24px;
    }
  
    .faq-right {
      width: 52%;
      padding: 80px 40px;
    }
  
    .faq-category-title {
      font-size: 1.6rem;
    }
  
    .faq-btn {
      font-size: 1.1rem;
    }
  
    .faq-main-text {
      font-size: 0.95rem;
    }
  
    .faq-main-text.active {
      max-height: 420px;
      padding: 16px 0;
      border-top: 1px solid #ddd;
    }
  
    /* ===============================
       contact.html
       =============================== */
    .contact-page {
      padding: 200px 0 80px;
    }
  
    .contact-title {
      padding: 0 0 80px 60px;
      font-size: 2.2rem;
    }
  
    .contact-title::before {
      top: -70px;
      font-size: min(18vw, 180px);
      -webkit-text-stroke: 2px rgba(0, 0, 0, 0.08);
    }
  
    .contact-message {
      margin: 24px 60px;
      font-size: 1.05rem;
      line-height: 1.9;
    }
  
    .contact-form-wrap {
      max-width: 760px;
      padding: 20px 20px 32px;
    }
  
    .form-group {
      margin-bottom: 18px;
    }
  
    .label-row label {
      font-size: 0.95rem;
    }
  
    .required {
      font-size: 0.72rem;
      padding: 4px 8px;
    }
  
    .contact-form-wrap input,
    .contact-form-wrap textarea {
      padding: 11px 12px;
      font-size: 0.95rem;
    }
  
    .submit-wrap {
      margin: 44px 0 8px;
    }
  
    .submit-btn {
      padding: 14px 56px 14px 44px;
      font-size: 15px;
    }
  
    .submit-btn::after {
      right: 24px;
    }
}
    
    
@media screen and (max-width: 820px) {

    /* ベース文字サイズ */
    p {
      font-size: 1rem;
    }
  
    .title {
      font-size: 2.4rem;
    }
  
  
    /* ヘッダー（1行に収まらない場合を考慮） */
    header {
      height: 64px;
      padding: 0 12px;
    }
  
    .site-title {
      width: 140px;
    }
  
    .site-link {
      gap: 12px;
      flex-wrap: wrap;
    }
  
    .site-link a {
      font-size: 0.9rem;
    }
  
  
    /* Top mainvisual */
    .mainvisual {
      margin-bottom: 0;
    }
  
    .top-mainvisual {
      height: 80vh;
    }
  
    .main-message {
      left: 6%;
      top: 44%;
    }
  
    .main-message h2 {
      font-size: 2.4rem;
    }
  
    .main-message p {
      font-size: 0.9rem;
    }
  
  
    /* About：1カラム */
    .about-us {
      padding: 100px 0 60px 0;
    }
  
    .about-title {
      padding-left: 20px;
      font-size: 1.8rem;
    }
  
    .about-title::before {
      top: -48px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08);
    }
  
    .about-content {
      flex-direction: column;
      padding-left: 0;
      margin: 30px 0 120px 0;
    }
  
    .about-wrapper,
    .about-image {
      width: 100%;
    }
  
    .about-text {
      padding: 0 20px;
    }
  
    .about-text p {
      font-size: 1rem;
    }
  
    .about-image {
      margin-top: 24px;
    }
  
    .about-img-position {
      position: relative;
      width: 85%;
      bottom: auto;
      left: auto;
      margin: 14px auto 0;
      display: block;
    }
  
  
    /* Service：1カラム＋サイズ縮小 */
    .service {
      padding-bottom: 30px;
    }
  
    .service-wrapper {
      height: 300vh;
      padding: 100px 16px;
    }
  
    .service-item {
      top: 22%;
      height: 56vh;
    }
  
    .service-flex {
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
  
    .service-image {
      width: 100%;
      max-width: 560px;
      height: 240px;
    }
  
    .service-image img {
      height: 240px;
    }
  
    .service-text {
      width: 100%;
      max-width: 560px;
      margin-left: 0;
    }
  
    .service-number {
      font-size: 0.9rem;
      margin-bottom: 6px;
    }
  
    .text-title {
      font-size: 1.6rem;
      margin-bottom: 24px;
    }
  
    .sub-text-title {
      font-size: 1.1rem;
    }
  
    .content-text {
      font-size: 1rem;
    }
  
  
    /* Gallery */
    .gallery {
      padding: 120px 0 60px 0;
    }
  
    .gallery-title {
      padding-left: 20px;
      font-size: 1.8rem;
    }

    .page-gallery .gallery-title,
    .post-type-archive-gallery .gallery-title,
    .tax-gallery_cat           .gallery-title {
        padding: 220px 0 0 20px;
    }
  
    .gallery-title::before {
      top: -48px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08);
    }
  
    .slick-gallery {
      margin-top: 30px;
    }
  
    .gallery-item {
      height: 320px;
    }
  
    .gallery-img {
      height: 50%;
    }

    .content {
        padding: 5px;
    }
  
    .item-title {
      font-size: 0.9rem;
    }
  
    .item-text {
      font-size: 0.8rem;
    }

    .date {
        font-size: 0.7rem;
    }
  
  
    /* News & FAQ：縦積み */
    .NandF-flex {
      padding: 0 16px 36px;
    }
  
    .nf {
      width: 100%;
    }
  
    .news {
      padding: 60px 0;
    }
  
    .news-title,
    .faq-title {
      padding-left: 20px;
      font-size: 1.8rem;
    }
  
    .news-title::before,
    .faq-title::before {
      top: -48px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08);
    }
  
    .news-content dt,
    .faq-content dt,
    .news-content dd,
    .faq-content dd {
      padding: 16px;
    }
  
  
    /* Footer：縦積み */
    footer {
      padding: 36px 16px;
    }
  
    .footer-logo {
      width: 240px;
    }
  
    .footer-flex {
      flex-direction: column;
      gap: 24px;
      font-size: 1rem;
    }
  
    .footer-link,
    .footer-info {
      width: 100%;
      padding: 0;
    }
  
    .footer-link {
      justify-content: space-around;
    }
  
    .footer-link li {
      padding: 10px;
    }
  
    .footer-info .more-btn a {
      font-size: 1.3rem;
    }
  
    .info-content {
      margin: 8px 0;
      padding: 8px 0;
    }
  
    .info-content dt {
      width: 40%;
      text-align: right;
    }
  
    .info-content dd {
      width: 60%;
    }
  
    .nav-sns li {
      width: 44px;
      margin-right: 22px;
    }
  
  
    /* -------------------------------
       service.html
       -------------------------------*/
    /* メインビジュアル見出し */
    .page-about .mainvisual img {
      height: 100vh;
      top: 0;
    }
  
    .page-about .about-title {
      font-size: 1.8rem;
      padding: 240px 0 0 20px;
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
    }
  
    .page-about .about-title::before {
      top: 128px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 2px rgba(255, 255, 255, .22);
    }
  
    /* トップメッセージ */
    .top-message {
      padding-bottom: 60px;
    }
  
    .message-content {
      padding: 24px 16px;
    }
  
    .message-content p {
      margin-bottom: 18px;
    }
  
    .message-name span {
      font-size: 1.8rem;
    }
  
    /* 会社概要：縦並びでも読みやすく */
    .company {
      font-size: 1.05rem;
      padding-bottom: 80px;
    }
  
    .company-info {
      margin: 40px 16px 0;
      border-bottom: 1px solid #333;
    }
  
    .company dt,
    .company dd {
      width: 100%;
      padding: 14px 12px;
      border-top: 1px solid #333;
    }
  
    .company dt {
      background: rgba(0, 0, 0, .04);
      font-weight: 700;
    }
  
    .company dd {
      padding-top: 8px;
    }
  
    /* Google Map */
    .google-map {
      padding: 80px 0;
    }
  
    .google-map iframe {
      width: 92%;
      border-radius: 16px;
    }
  
  
    /* -------------------------------
       service.html
       -------------------------------*/
    /* Top は全面にして見栄え優先 */
    .page-top {
      height: 100vh;
      min-height: 520px;
    }
  
    .page-top .service-title {
      font-size: 2rem;
      padding: 200px 0 0 20px;
    }
  
    .page-top .service-title::before {
      top: 80px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(255, 255, 255, .25);
    }
  
    /* ボタン帯：縦積み */
    .bg-color {
      height: 200px;
    }
  
    .btn-area {
      padding: 28px 12px;
    }
  
    .btn-list {
      flex-direction: column;
      align-items: center;
      gap: 12px;
      margin-top: 28px;
    }
  
    .btn-list li {
      width: 100%;
      max-width: 560px;
      padding: 0;
      border-right: none;
    }
  
    .sample_btn {
      width: 100%;
      line-height: 52px;
      border: 1px solid rgba(245, 245, 245, .5);
    }
  
    .btn-area a {
      font-size: 1.2rem;
    }
  
    /* REPAIR：縦積み */
    .repair-area {
      padding: 20px 12px;
    }
  
    .repair-box {
      width: 90%;
      padding: 20px;
      flex-direction: column;
      gap: 16px;
    }
  
    .repair-text,
    .repair-image {
      width: 100%;
    }
  
    .repair-image img {
      height: 220px;
      object-fit: cover;
    }
  
    .box-title {
      font-size: 2rem;
      padding: 16px 0;
    }
  
    /* RESTORE：1カラム */
    .restore {
      padding: 28px 12px;
    }
  
    .restore-tabs {
      gap: 8px;
      margin-bottom: 28px;
    }
  
    .tab-btn {
      padding: 10px 16px;
      font-size: 14px;
    }
  
    .tab-content {
      padding: 20px 14px;
    }
  
    .restore-main {
      flex-direction: column;
      gap: 14px;
      margin-bottom: 14px;
    }
  
    .restore-main img,
    .restore-text {
      width: 100%;
    }
  
    .restore-text {
      padding: 6px 0;
    }
  
    .restore-sub {
      gap: 8px;
    }
  
    .restore-sub img {
      width: 30%;
    }
  
    /* INSPECTION/MAINTENANCE：縦積み */
    .maintenance {
      padding: 28px 12px;
    }
  
    .maintenance-main {
      flex-direction: column;
      gap: 16px;
    }
  
    .maintenance-image,
    .maintenance-text {
      width: 80%;
    }
  
    .maintenance-image {
      margin-bottom: 50px;
    }
  
    .maintenance-image::before {
      top: 18px;
      left: 18px;
      width: calc(100% + 6px);
      height: calc(100% + 6px);
    }
  
    .maintenance-text {
      padding: 0;
    }
  
    .maintenance-text h3 {
      font-size: 2rem;
    }
  
    /* COURSE：縦積み */
    .course {
      padding: 28px 12px;
    }
  
  
    /* -------------------------------
       gallery.html
       -------------------------------*/
    /* （ページ固有調整があればここに） */
  
  
    /* -------------------------------
       gallery-detail.html
       -------------------------------*/
    .gallery-detail {
      padding-top: 64px;
    }
  
    .section-title {
      padding: 20px 16px;
    }
  
    .explain {
      padding: 50px;
    }

    .detail-image {
        column-count: 3;
    }
  
    .detail-text h2 {
      font-size: 1rem;
    }
  
    .detail-text p {
      font-size: 0.8rem;
    }
  
  
    /* -------------------------------
       news.html
       -------------------------------*/
    /* タイトル帯 */
    .news-top {
      padding: 100px 16px 40px;
    }
  
    .news-top::before {
      top: 56px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08);
    }
  
    /* 1カラム化 */
    .container {
      flex-direction: column-reverse;
      gap: 0;
    }
  
    .container-left,
    .container-right {
      width: 100%;
    }
  
    .container-left {
      padding: 20px 16px 8px;
    }
  
    .container-right {
      padding: 16px;
      background: #E0DEDA;
    }
  
    /* フィルタボタンは折り返し＆広めタップ領域 */
    .gallery-filter {
      padding-top: 50px;
    }
  
    .gallery-filter button {
      margin: 6px 8px 6px 0;
      padding: 10px 14px;
      font-size: 0.9rem;
      border-width: 1.5px;
    }
  
    /* 日付と本文の余白・サイズ */
    .news-list .date {
      margin-bottom: 8px;
      font-size: 0.95rem;
    }
  
    .news-list p {
      font-size: 0.95rem;
      line-height: 1.7;
    }
  
    /* ニュース行：dt と dd を縦並びにして読みやすく */
    .news-list {
      border-bottom: 1px solid #bbb;
    }
  
    .news-list dt,
    .news-list dd {
      width: 100%;
      padding: 14px 0;
      border-top: 1px solid #bbb;
    }
  
    /* ボタンは右寄せ→全幅化 */
    .news-list dd {
      justify-content: flex-start;
      align-items: center;
      padding: 8px 0 16px;
      border-top: none;
    }
  
    .news-more {
      width: 100%;
    }
  
    .news-btn {
      width: 100%;
      text-align: center;
      padding: 10px 18px;
    }
  
    .news-text {
      font-size: 0.95rem;
    }
  
    .news-icon {
      font-size: 14px;
    }
  
  
    /* -------------------------------
       news-detail.html
       -------------------------------*/
    .news-detail article {
      padding: 28px 16px 40px;
    }
  
    .news-meta {
      margin-bottom: 20px;
      gap: 12px;
      font-size: 0.95rem;
    }
  
    .news-meta .date {
      margin: 0;
      font-size: 1rem;
    }
  
    .news-detail-title {
      font-size: 1.5rem;
      margin-bottom: 20px;
    }
  
    .news-contents {
      padding: 16px;
      font-size: 0.95rem;
    }
  
    /* 前後ナビは縦並びにして中央寄せ */
    .news-navigation {
      width: 100%;
      padding: 40px 16px 60px;
      flex-direction: column;
      align-items: center;
      row-gap: 16px;
      justify-content: center;
    }
  
    .news-navigation a {
      font-size: 1.2rem;
    }
  
    .news-navigation a:only-child {
      margin: 0 auto;
    }
  
    .nav-thumb {
      width: 40px;
      height: 40px;
    }
  
  
    /* -------------------------------
       faq.html
       -------------------------------*/
    /* 見出し・カテゴリリンク */
    .faq-top {
      padding: 120px 20px 40px;
    }
  
    .faq-top::before {
      top: 70px;
    }
  
    .category-link-area {
      flex-direction: column;
      align-items: stretch;
    }
  
    .faq-menu {
      margin: 24px 16px 0;
      padding: 16px;
      gap: 8px;
      flex-wrap: wrap;
    }
  
    .faq-menu li a {
      font-size: 0.9rem;
      padding: 6px 10px;
    }
  
    /* レイアウトを1カラムに */
    .faq-page {
      flex-direction: column;
      padding-bottom: 80px;
    }
  
    /* 左のビジュアルはsticky解除して高さ固定 */
    .faq-left {
      width: 100%;
      position: relative;
      top: auto;
      height: auto;
      padding: 0 16px 12px;
    }
  
    .faq-image-wrapper {
      position: relative;
      width: 100%;
      height: 48vh;
      max-height: 380px;
      border-radius: 8px;
      overflow: hidden;
    }
  
    .faq-image {
      transition: opacity .6s ease;
    }
  
    /* QA 本文 */
    .faq-right {
      width: 100%;
      padding: 28px 16px 0;
    }
  
    .faq-category-title {
      font-size: 1.3rem;
      margin-bottom: 10px;
    }
  
    .faq-item {
      padding: 14px 0;
    }
  
    .faq-btn {
      font-size: 1rem;
      padding-right: 28px;
    }
  
    .faq-btn::after {
      right: 4px;
      width: 7px;
      height: 7px;
    }
  
    .faq-q {
      margin-right: 8px;
    }
  
    .faq-main-text {
      font-size: 0.95rem;
    }
  
    .faq-main-text.active {
      max-height: 360px;
      padding: 12px 0;
      border-top: 1px solid #ddd;
    }
  
  
    /* -------------------------------
       contact.html
       -------------------------------*/
    .contact-page {
      padding: 140px 0 56px;
    }
  
    .contact-title {
      padding: 0 0 48px 20px;
      font-size: 1.8rem;
    }
  
    .contact-title::before {
      top: -48px;
      font-size: min(28vw, 120px);
      -webkit-text-stroke: 1.5px rgba(0, 0, 0, .08);
    }
  
    .contact-message {
      margin: 16px 16px 24px;
      font-size: 0.95rem;
      line-height: 1.8;
    }
  
    .contact-form-wrap {
      max-width: none;
      width: calc(100% - 24px);
      margin: 0 auto;
      padding: 16px 14px 24px;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    }
  
    .form-group {
      margin-bottom: 16px;
    }
  
    .label-row {
      gap: 8px;
      margin-bottom: 6px;
    }
  
    .label-row label {
      font-size: 0.9rem;
    }
  
    .required {
      font-size: .7rem;
      padding: 3px 8px;
    }
  
    .contact-form-wrap input,
    .contact-form-wrap textarea {
      padding: 10px 12px;
      font-size: 0.95rem;
    }
  
    #check {
      display: block;
      margin-top: 6px;
      font-size: 0.85rem;
    }
  
    .submit-wrap {
      margin: 32px 0 6px;
    }
  
    .submit-btn {
      padding: 14px 52px 14px 40px;
      font-size: 15px;
      border-radius: 999px;
    }
  
    .submit-btn::after {
      right: 22px;
    }
  
    .submit-note {
      font-size: 11px;
      margin-top: 10px;
      line-height: 1.6;
    }
  
    .submit-note a {
      border-bottom-width: 1px;
    }
  
}

@media screen and (max-width: 480px) {
    .about-title::before {
        font-size: min(18vw, 100px);
    }

    .gallery-title::before {
        font-size: min(18vw, 100px);
    }

    .gallery-item {
        height: 240px;
    }

    .item-title {
        font-size: 0.8rem;
    }

    .item-text {
        font-size: 0.65rem;
    }

    .date {
        font-size: 0.5rem;
    }
    
    .nf-date {
        display: block;
        font-size: 0.6rem;
    }
    
    .detail-btn {
        font-size: 0.8rem;
    }

    .gallery-content {
        padding: 0;
    }

    .gallery-items {
        height: 320px;
    }

    .news-content dt,
    .faq-content dt {
      padding-right: 0;
    }

    .news-content dd,
    .faq-content dd {
        padding-left: 0;
    }

    .detail-image {
        padding: 10px;
        column-count: 2;
    }

    .page-about .about-title::before,
    .page-service .service-title::before {
        font-size: min(18vw, 100px);
    }
    

    .contact-title::before {
        font-size: min(18vw, 100px);
    }
}

@media screen and (max-width: 320px) {
    .about-text {
        text-align: center;
    }

    .slick-gallery {
        margin-top: 0;
    }

    .gallery-item {
        height: 200px;
    }

    .content {
        padding: 0;
    }


    .news-content dt,
    .faq-content dt {
      padding-left: 0;
    }

    .news-content dd,
    .faq-content dd {
        padding-right: 0;
    }

    .gallery-content {
        margin: 0 10px;
    }

    .gallery-items {
        height: 240px;
    }

    .gallery-img {
        height: 60%;
    }
    .content {
        height: 40%;
    }

    .title {
        font-size: 1.8rem;
    } 

    .explain {
        padding: 15px;
    }
}