@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    color: #333;
    /* font-weight: 700; */
}

/* --- メーターローディング画面本体 --- */
#loader-wrapper {
    position: fixed; 
    left: 0; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    background: #000; 
    z-index: 9999; /* 他の要素より一番上に */
    overflow: hidden;
    transition: opacity 0.8s ease; /* 消える時のフワッと感 */
}

/* 読み込み完了後に消す設定 */
body.loaded #loader-wrapper {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* メーターのデザイン部分（ここから下はご提示のコードです） */
.loader {
    width: 150px; height: 150px; border: 1px #fff solid; position: absolute; 
    left: 50%; top: 50%; margin: -75px 0 0 -75px; border-radius: 50%;
}
.loader .loading {
    font-size: 10px; position: absolute; width: 100%; text-align: center; 
    line-height: 14px; font-family: 'Century Gothic', sans-serif; font-style: italic; 
    left: 0; top: 50%; margin-top: 20px; color: #fff; font-weight: bold; text-transform: uppercase;
}
.loader-circle-1 {
    width: 138px; height: 138px; left: 5px; top: 5px; border: 1px #fff solid; 
    border-radius: 50%; position: absolute; border-right-color: transparent;
    animation: spin 3s linear infinite;
}
.loader-circle-2 {
    width: 126px; height: 126px; left: 5px; top: 5px; border: 1px transparent solid; 
    border-radius: 50%; position: absolute; border-right-color: #e81512;
    animation: spin 5s linear infinite;
}
.loader .line { width: 10px; height: 2px; background: #fff; position: absolute; }
.loader .line:nth-child(1) { left: 16px; top: 50%; margin-top: -1px; }
.loader .line:nth-child(2) { transform: rotate(45deg); left: 33px; top: 33px; }
.loader .line:nth-child(3) { top: 16px; left: 50%; width: 2px; height: 10px; }
.loader .line:nth-child(4) { transform: rotate(135deg); right: 33px; top: 33px; }
.loader .line:nth-child(5) { right: 16px; top: 50%; margin-top: -1px; }
.loader .line:nth-child(6) { transform: rotate(45deg); right: 33px; bottom: 33px; background: #e81512; }
.loader .subline { position: absolute; width: 3px; height: 2px; background: #fff; }
.loader .subline:nth-child(7) { transform: rotate(22.5deg); left: 21px; top: 50px; }
.loader .subline:nth-child(8) { transform: rotate(67.5deg); left: 50px; top: 21px; }
.loader .subline:nth-child(9) { transform: rotate(112.5deg); right: 50px; top: 21px; }
.loader .subline:nth-child(10) { transform: rotate(157.5deg); right: 21px; top: 50px; }
.loader .subline:nth-child(11) { transform: rotate(22.5deg); right: 20px; bottom: 49px; background: #e81512; }
.loader .needle {
    width: 14px; height: 14px; border-radius: 50%; border: 1px #fff solid; 
    position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; z-index: 1; 
    animation: pegIt 3s infinite ease-in-out;
}
.loader .needle:before {
    content: ""; width: 0; height: 0; border-style: solid; border-width: 3.5px 50px 3.5px 0; 
    border-color: transparent #e81512 transparent transparent; position: absolute; 
    right: 50%; top: 50%; margin: -3.5px 0 0 0; border-radius: 0 50% 50% 0;
}

@keyframes pegIt {
    0% {transform: rotate(0deg);}
    16% {transform: rotate(75deg);}
    25% {transform: rotate(55deg);}
    30% {transform: rotate(90deg);}
    36% {transform: rotate(170deg);}
    42% {transform: rotate(150deg);}
    50% {transform: rotate(227deg);}
    100% {transform: rotate(0deg);}
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

/* 読み込み完了後に消すためのクラス */
.loaded #loader {
    opacity: 0;
    pointer-events: none;
}


/* 読み込み完了後にこのクラスを付けて表示させる */
body.is-loaded {
    opacity: 1;
}

img {max-width: 100%;}
li {list-style: none;}

a {
    text-decoration: none;
    color: #333;
}
.wrapper {
    max-width: 80%;
    margin: 0 auto;
    /* padding-inline: 4%; */
    
}
.main-color{
    color: rgb(27, 26, 129);
}
.p-color{
    color: #fff;
}
.accent{
    font-weight: 700;
}
/* 文字のサイズ */
.fs-xs { font-size: 0.75rem; }
.fs-sm { font-size: 0.875rem; }
.fs-md { font-size: 1rem; }
.fs-lg { font-size: 1.25rem; }
.fs-xl { font-size: 1.5rem; }
.fs-xxl { font-size: 2rem; } 


/* 全体の動きフェードインなど */

/* 最初は透明で、少し下に配置 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

/* クラスがついたら表示 */
.fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* 左から右へフェードイン */
.fade-left {
    opacity: 0;
    transform: translateX(-50px); /* 左側にずらしておく */
    transition: opacity 0.8s, transform 0.8s;
}

/* 右から左へフェードイン */
.fade-right {
    opacity: 0;
    transform: translateX(50px); /* 右側にずらしておく */
    transition: opacity 0.8s, transform 0.8s;
}

/* 共通：クラスがついたら元の位置に戻して表示 */
.fade-left.is-active,
.fade-right.is-active {
    opacity: 1;
    transform: translateX(0);
}


/* 点滅 */

.flash {
    animation: quick-flash 3s infinite;
}

@keyframes quick-flash {
    0%, 80%, 100% { 
        opacity: 1;
        transform: rotate(90deg) scale(1);
    }
    85%, 95% { 
        opacity: 0.7;
        transform: rotate(90deg) scale(1.1);
    }
}






/* header */
#header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
h1{
    margin-left: 40px;
    position: relative;
    z-index: 100;
}
.title-bar{
    width: 100%;
    height: 80px;
    background-color: rgb(215, 215, 215);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}
.title-bar::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;      /* 調整可 */
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    /* background-color: #fff; */
    background: repeating-linear-gradient(
    to right,
    #fff 0 40px,        /* 白い線の長さ */
    transparent 18px 80px);
    pointer-events: none;
}

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

    position: relative;
    z-index: 10;
}
.flex img{
    display: block;
    width: 50px;
    margin-right: 15px;

}
.flex p{
    margin-right: 40px;
}

/* toggle-btn */

.toggle-btn {
    position: fixed;
    right: 20px;
    width: 45px;
    height: 50px;
    /* background-color: rgb(255, 255, 255); */
    cursor: pointer;
    z-index: 30;
    display: none;
}

.toggle-btn span {
    display: block;
    width: 70%;
    height: 3px;    /*線の太さ*/
    background-color: #1F4F9C; /*線の色*/
    transition: all 0.3s;
    position: absolute;
    left: 15px;

}

/*1本目*/
.toggle-btn span:nth-child(1) {
top: 35%;

}

/*2本目*/
.toggle-btn span:nth-child(2) {
top: 50%;
}

/*3本目*/
.toggle-btn span:nth-child(3) {
top: 65%;
}

/*1本目*/
.open .toggle-btn span:nth-child(1) {
top: 50%;
transform: rotate(-45deg);
/* background-color: #fff; */


}

/*2本目*/
.open .toggle-btn span:nth-child(2) {
transform: rotate(45deg);
/* background-color: #fff; */
}

/*3本目*/
.open .toggle-btn span:nth-child(3) {
top: 50%;
transform: rotate(45deg);
/* background-color: #fff; */
}


/* ハンバーガーのメニュー */
.mask{
    display: none;

}

.open .mask{
    position: fixed;
    top:80px;
    left:0;
    width:100%;
    height: 100%;
    /* background: #0127ff; */
    /* opacity: 0.3; */
    background-color: rgba(57, 115, 250, 0.5);
    z-index: 1000;
    display: block;
}

/* 共通設定: 全てのメニュー項目に適用 */
.image-menu .menu-item span {
    /* リンクテキスト（span）が背景画像の上で目立つように設定 */
    
    font-weight: 900; /* 文字を非常に太くする */
    
    /* 文字に枠線（袋文字）を設定 */
    /* -webkit-text-stroke は Chrome/Safari 用のベンダープレフィックス */
    -webkit-text-stroke-width: 1px; /* 枠線の太さ */
    -webkit-text-stroke-color: #2b2145; /* 枠線の色 */
    
    /* 影を追加して立体感を出す（オプション） */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    
    transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease; /* ホバー時の変化を滑らかにする */
}

.image-menu .menu-item {
    margin: 12px auto;
    display: block; 
    width: 80%;
    height: 100px;
    
    /* 背景画像設定（共通） */
    background-size: cover;    
    background-position: center; 
    background-repeat: no-repeat;
    
    /* テキスト設定（共通） */
    text-align: center;
    line-height: 100px; /* heightと同じ値で垂直方向中央に */
    color: #fff; 
    font-weight: bold;
    text-decoration: none; 
    font-size: 1.75rem;
    
    /* ホバーアニメーション設定 */
    transition: all 0.3s ease;
}

/* ホバー時の効果も共通 */
.image-menu .menu-item:hover {
    transform: scale(1.03);
    filter: brightness(1.3);

}

/* 個別設定: 6つの異なる背景画像URLを指定 */
.image-menu .menu-01 {
    background-image: url('../img/burger-nav01-1200×801.webp'); 
}

.image-menu .menu-02 {
    background-image: url('../img/burger-nav09-1200×800.webp'); 
}

.image-menu .menu-03 {
    background-image: url('../img/burger-nav03-1200×727.webp'); 
}

.image-menu .menu-04 {
    background-image: url('../img/burger-nav04-1200×800.webp'); 
}

.image-menu .menu-05 {
    background-image: url('../img/burger-nav05-1200×800.webp'); 
}

.image-menu .menu-06 {
    background-image: url('../img/burger-nav06-1200×800.webp'); 
}





/* mainvisual */
.mainvisual{
    position: relative;
    margin-top: 80px;
    /* z-index: -10; */
    width: 100%;
    height: calc(100vh - 160px);
    overflow: hidden;
}
.main-slider,
.main-slider .slick-list,
.main-slider .slick-track {
    height: 100%;
}

.mainvisual-text{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    font-weight: 700;
    z-index: 2;
    background-color: rgba(221, 248, 255, 0.5);
}
.mainvisual img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center; */
    display: block;

}


.round-group{
    display: flex;
    align-items: center;
    justify-content: flex-start;

    position: absolute;
    top: 75%;
    left: 25%;
    z-index: 2;
    width: 500px;

}

.mainvisual .round p{
    position: absolute;
    top: 10%;
    left: 9%;
    font-weight: 700;
    display: block;
    /* text-shadow: 0 0 35px #ffffff; */
    font-weight: 900;
    -webkit-text-fill-color: #FFF;
    -webkit-text-stroke-width: .03em;
    -webkit-text-stroke-color: #000;
}
.round{
    width: 150px;
    height: 150px;
    background-color: #FFF64F;
    border-radius: 100px;
    /* font-size: 5rem; */

    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    
}
.round p{
    position: static;
    top: auto;
    left: auto;
    font-weight: 700;
    display: block;
    text-align: center;
    margin:0;
    /* line-height: 1.2; */
    font-size: 4rem;

}
.round p span{
    color: #333;
    display: block;
    font-size: 0.8rem;
    
}
.round-text{
    font-weight: 700;
    color: #333;
    text-shadow: none;
    background-color: rgba(221, 248, 255, 0.5);
}

@keyframes run-car {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* --- 2番目の title-bar のスタイル調整 --- */
/* (一つ目の title-bar と区別するため、セレクタを詳細にしています) */
.mainvisual + .title-bar {
    position: relative;
    overflow: hidden;
}

/* --- 走る車のアニメーションスタイル --- */
.running-car {
    position: absolute;
    width: 80px;
    height: auto;
    
    animation-name: run-car;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    
    top: 0;
    z-index: 100;
}


/* nav */
nav{
    width: 100%;
}
.nav-container{
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    position: absolute;
    padding: 10px 50px;
    top: 10px;
    left: 0;
    width: 100%;
    /* z-index: -1; */
    
}
.nav-item{
    width: 150px;
    height: 150px;
    background-color: #fff;
    border: solid 20px #5e5858;
    border-radius: 150px;
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.nav-item a{
    position: static;
    display: block;
    /* top: 20px;
    left: 1px; */
    margin: 0 auto;
    text-align: center;
    padding-block: 35px;
    /* font-weight: bold; */
    /* background: #f99393; */
    


}
/* .nav-item a:hover{
    color: #FFF64F;

} */
.image-menu a span,.nav-item a span{
    /* アニメーションの対象要素の初期設定 */
    display: inline-block;
    transition: transform 0.3s ease; /* アニメーション前の動きを滑らかにする */
}

.image-menu a:hover span,.nav-item a:hover span{
    animation: bounce 0.6s ease-in-out infinite alternate;
    
}
/* バウンドアニメーションの定義 */
@keyframes bounce {
    0%, 100% {
      /* 0%と100%（開始と終了）は元の位置 */
        transform: translateY(0);
    }
    50% {
      /* 50%で上に10px移動（跳ね上がった状態） */
        transform: translateY(-10px);
    }
}

/* 仕切りバー */
.bar{
    width: 100%;
    height: 60px;
    background-color: rgb(194, 188, 188);

}

/* about */

#about{
    background-color: #78c0fb;
    text-align: center;
    padding-block: 80px;
}
#about span{
    color: #FFF64F;
    font-size: 3rem;
    line-height: 2;
    border-bottom: dotted 3px #FFF64F;
}
.about-container{
    display: flex;
    justify-content: space-around;
    margin-block: 30px;
}
.about-container li{
    background-color: #fff;
    width: 25%;
    padding: 10px;
    color: #333;
    border-radius: 15px;
}
.about-container li p{
    margin-bottom: 20px;
}
.text{
    padding-block: 10px;

}
/* product */
#product{
    background-image: url(../img/27041571.png);
    /* 横幅を要素いっぱいに、高さは自動で調整 */
    background-size: 100% auto; 
    /* 縦方向に画像を繰り返す */
    background-repeat: repeat-y; 
    /* 画像の開始位置を左上にする */
    background-position: left top; 
    /* その他の背景設定（必要であれば） */
    background-attachment: scroll;
}
.product-box{
    display: flex;
    justify-content: space-between;
}
.product-box img{
    width: 500px;
    object-fit: contain;
}


.sec-title{
    background-color: #1F4F9C;
    color: #fff;
    height: 60px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;



}
.sec-title span{
    color: #FFF64F;
    font-size: 2.5rem;

}
.b-color{
    color: #1F4F9C;
}
.product-text p{
    margin-block: 10px;
    padding: 5px;
    width: 100%;
}

/* service */
#service{
    background-image: url(../img/27041571.png);
    /* 横幅を要素いっぱいに、高さは自動で調整 */
    background-size: 100% auto; 
    /* 縦方向に画像を繰り返す */
    background-repeat: repeat-y; 
    /* 画像の開始位置を左上にする */
    background-position: left top; 
    /* その他の背景設定（必要であれば） */
    background-attachment: scroll;
}
.service-box{
    display: grid;
    grid-template-columns: 1fr 1fr;


}
.service-item{
    max-height: 250px;
    border: solid #7AA7FA;
    text-align: center;
    background-color: #fff;

}
.service-item p{
    padding: 30px;
}
.service-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-title{
    background-color: #7AA7FA;
    padding: 10px;
    
}
.btn-more{
    margin: 15px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    padding: 1em;
    cursor: pointer;
    color: #ffffff;
    background: transparent;
    border: none;
    transition: color 0.3s cubic-bezier(0.02,0.01,0.47,1),transform 0.3s cubic-bezier(0.02,0.01,0.47,1);
    z-index: 1;

}
.btn-more:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background: #26c6da;
    transition: box-shadow 0.2s cubic-bezier(0.02,0.01,0.47,1);
    transform: skewX(20deg);
    z-index: -1;
}
.btn-more:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    content: '';
    height: 100%;
    background: #1a237e;
    transition: opacity 0.2s cubic-bezier(0.02,0.01,0.47,1),width 0.15s cubic-bezier(0.02,0.01,0.47,1);
    transform: skewX(20deg);
    opacity: 0;
    z-index: -1;
}
.btn-more:hover {
    color: #ffffff;
    transform: translateX(5px);
}
.btn-more:hover:after {
    width: 5px;
    opacity: 1;
}
.btn-more:hover:before {
    box-shadow: inset 0 -1px 0 #1a237e, inset 0 1px 0 #1a237e, inset -1px 0 0 #1a237e;
}
.btn-more:active:before {
    box-shadow: inset 0 -3px 0 #1a237e, inset 0 3px 0 #1a237e, inset -3px 0 0 #1a237e;
}
.btn-more:focus,
.btn-more:focus:hover {
    color: #ffffff;
}

/* .btn-more:hover{
    background-color: #7AA7FA;
    color: #1F4F9C;
    border:solid 3px #1F4F9C;
} */
.service-list{
    margin-bottom: 50px;
    text-align: center;
    border: solid 2px #7AA7FA;
}
.service-list p{
    padding: 20px;
    line-height: 2;
    background-color: #fff;
}
.service-list img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    
}
.service-list span{
    color: rgb(8, 195, 8);
}
.service-list:last-child {
    margin-bottom: 0;
}

/* contact */
.contact{
    background-image: url(../img/27041571.png);
    /* 横幅を要素いっぱいに、高さは自動で調整 */
    background-size: 100% auto; 
    /* 縦方向に画像を繰り返す */
    background-repeat: repeat-y; 
    /* 画像の開始位置を左上にする */
    background-position: right bottom; 
    /* その他の背景設定（必要であれば） */
    background-attachment: scroll;

    padding-top: 80px;
}
.contact img{
    width: 200px;
    margin-inline: 30px;
}
.contact-item{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact .bloon{
    background-color: #fff86e;
    border-radius: 20px;
    padding: 30px;
    width: 50%;
    font-size: 2rem;
    font-weight: 700;
}


/* 問い合わせボタン */
.floating-contact-btn {
    position: fixed;     /* 画面に対して固定 */
    right: 20px;         /* 右から20px */
    bottom: 20px;        /* 下から20px */
    width: 125px;        /* 丸の幅 */
    height: 125px;       /* 丸の高さ */
    background-color: #004a9e; /* 整備工場らしい信頼の青 */
    color: #fff;
    border-radius: 50%;  /* 正円にする */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 9999;       /* 一番手前に表示 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    animation: floating-anime 3s infinite ease-in-out; /* ふわふわ動かす */
}



/* ホバーした時（マウスを乗せた時） */
.floating-contact-btn:hover {
    transform: scale(1.1); /* 少し大きく */
    background-color: #f49f3e; /* オレンジに変わる */
}

/* ボタンの中身の調整 */
.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.floating-contact-btn img {
    width: 30px !important; /* アイコンサイズ */
    height: auto;
    margin-bottom: 5px;
    filter: brightness(0) invert(1); /* 黒いアイコンを白く反転させる場合 */
}

.floating-contact-btn span {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
}

/* ふわふわアニメーション */
@keyframes floating-anime {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* スマホでは少し小さく */
@media (max-width: 768px) {
    .floating-contact-btn {
        width: 80px;
        height: 80px;
        right: 15px;
        bottom: 15px;
    }
    .floating-contact-btn span {
        font-size: 9px;
    }
    .floating-contact-btn img {
        width: 25px !important;
    }
}
/* 最初は透明にする */
.floating-contact-btn {
    opacity: 0;
    pointer-events: none; /* 透明な時にクリックできないようにする */
    transition: opacity 0.5s ease;
    /* ...他の設定はそのまま... */
}

/* ローディングが終わったらふわっと出す */
body.loaded .floating-contact-btn {
    opacity: 1;
    pointer-events: auto;
}



/* footer */
footer{
    /* height: 400px; */
    background-color: #7AA7FA;
    color: #fff;
    padding-bottom: 70px;
}
footer a{
    color: #fff; 
}
.footer-list{
    margin: 80px;
}
footer nav{
    width: 20%;
    margin: 80px;
}
footer nav ul li{
    /* border: solid#333; */
    width: 150px;
    /* text-align: right; */
}
.content-box{
    display: flex;
    justify-content: space-between;
    padding-top: 30px;

}
iframe{
    display: block;
    width: 90%;
    margin: 10px auto;
    padding-bottom: 50px;
}

/* 1025以下の画面 */

@media screen and (max-width: 1025px){
    .nav-container{
        display: none;
    }
    .toggle-btn{
        display: block;
    }
    .title-bar .flex{
        margin-right: 80px;
    }

}
/* 共通ページトップ画像 */

.page-top{
    width: 100%;
    height: 45vh;
    max-height: 450px;
    min-height: 200px;
    display: flexbox;
    align-items: flex-end;
    overflow: hidden;
}
.page-top img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
    .page-top {
        /* モバイルでは縦長にならないよう、高さを調整 */
        height: 30vh; 
        max-height: 250px;
    }
}


/* スマホ・タブレット向けの調整 (768px以下) */

@media screen and (max-width: 768px) {
    
    .wrapper {
        max-width: 95%; /* 左右に少し余裕を持たせる */
    }
    h1{
        margin-left: 15px;
        font-size: 1.2rem;
    }
    .title-bar .flex {
        margin-right: 60px;
    }
    .flex img {
        width: 30px; /* アイコンを小さく */
        margin-right: 8px;
    }
    .mainvisual p{
        display: none;
    }
    .round{
        display: none;
    }
    #about h2{
        font-size: 1rem;
    }
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* 要素間の隙間 */
    }
    .about-container li {
        width: 80%;
    }
    #about span {
        font-size: 1.8rem; /* スマホだと大きすぎるので調整 */
    }
    #product .sec-title{
        font-size: 0.85rem;
    }
    #product .sec-title span{
        font-size: 1.5rem;
    }
    .product-box {
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        padding-inline: 10px;
    }
    .product-box img {
        width: 100%; /* 画像を画面幅に合わせる */
        margin: 20px;
    }

    /* 4. Serviceセクション：2カラムのグリッドを1カラムに */
    .service-box {

    
       display: flex !important; /* gridからflexに変更 */
       flex-direction: column !important; /* 縦並び */
        grid-template-columns: none !important;
        
    }
    /* 1番目：車検のタイトル・説明 */
    .service-box li:nth-child(1) { order: 1; } 
    /* 2番目：車検の画像 */
    .service-box li:nth-child(2) { order: 2; border-bottom: none; } 
    
    /* 3番目：修理の画像 */
    .service-box li:nth-child(3) { order: 4; border-top: solid #7AA7FA; } 
    /* 4番目：修理のタイトル・説明 */
    .service-box li:nth-child(4) { order: 3; } 
    
    /* 5番目：保険のタイトル・説明 */
    .service-box li:nth-child(5) { order: 5; } 
    /* 6番目：保険の画像 */
    .service-box li:nth-child(6) { order: 6; border-bottom: none; }
    
    /* 共通調整：画像が上に来る時に枠線が重ならないように */
    .service-item img {
        border-bottom: none;
    }

        /* grid-template-columns: 1fr; 
        margin-top: 10px; */
    
    .service-item {
        max-height: none; /* 高さを自動にする */
    }

    /* 5. Contactセクション：吹き出しと画像を調整 */
    .contact-item {
        flex-direction: column;
    }
    .contact img {
        width: 150px;
        margin-bottom: 20px;
    }
    .contact .bloon {
        width: 90%;
        font-size: 1.2rem; /* 文字サイズをスマホ向けに */
    }

    /* 6. Footerセクション：横並びを縦並びに */
    .content-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer nav {
        width: 100%;
        margin: 40px 0;
    }
    footer nav ul li {
        margin: 0 auto;
        width: auto;
    }

    /* 7. メインビジュアル：丸いキャッチコピーの調整 */
    .round-group {
        width: 90%;
        left: 5%;
        top: 70%;
        justify-content: center;
    }
    .round {
        width: 100px;
        height: 100px;
    }
    .round p {
        font-size: 2.5rem;
    }


    /* お問い合わせセクションの調整 */
    .contact {
        padding-top: 40px; /* PC版より少し余白を詰める */
    }

    .contact-item {
        display: flex !important;
        flex-direction: column !important; /* 縦並びにする */
        align-items: center !important;   /* 中央寄せ */
    }

    .contact .bloon {
        order: 1 !important;
        width: 70% !important;
        font-size: 1rem;
        padding: 10px;
        text-align: center;
        margin-bottom: 10px;    /* 画像との間に隙間を作る */
        position: relative;
    }

    .contact img {
        order: 2 !important;    /* 画像を下にする */
        width: 100px;           /* キャラ画像を程よいサイズに */
        margin-right: auto;
    }

    .contact .bloon p {
        margin-bottom: 5px;
    }


}
