@charset "UTF-8";

/*ロゴのフェードイン*/
.logo_fadein{
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9999;
}
.logo_fadein p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	width: 280px;
}

/*共通設定*/

/*背景を#FFFFFFにする*/
body {
    font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif, Verdana, "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    background-color: #fff;
    overflow-x: hidden;
    margin: 0;
    padding-top: 70px;
}

.container { max-width: 1000px; width: 90%; margin: 0 auto; }

.container p {
    padding: 20px 0;
}

/*見出し1*/
h1 {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    padding: 20px; /*ヘッダータイトルに使ってます*/

}

/*見出し2*/
h2 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0 ;

}

/*見出し3*/
h3 {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 0 ;

}

/*見出し4*/
h4 {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 0 ;

}
/*本文*/
.text {
    color: #000;
    font-size: 15px;
    padding: 10px 20px;
    margin-bottom: 20px;
    line-height: 2;
}

/*pタグ太字*/
.p-bold {
    color: #000;
    margin-bottom: 20px;
    font-weight: bold;
}

/*pタグ 右寄せ*/
.p-right {
    text-align: right;
}

/*タイピング*/
/*見やすくするためのCSS*/
.wrap {
  margin: 0 auto;
  max-width: 500px;
}
.typing {
  font-size: 16px;
  margin-bottom: 50px;
  letter-spacing: 0.2em;
  word-break : break-all;
}
/*jsで生成されるspanタグ*/
.typing span{
    display: none;
}
/*|カーソルを表示*/
.typing:after {
  content: "|";
  animation: typingCursor .8s ease infinite;
}

@keyframes typingCursor {
  from　{
    opacity:0;
  }
  to{
    opacity:1
  }
}
/*タイピングここまで*/

/*画像のサイズ調整*/
img {
    max-width: 100%;   /* 元サイズを超えない */
    min-width: 200px;  /* 最小200px */
    height: auto;      /* 高さを自動調整 */
}

.photo{   
    border:1px solid #d3d3d3;
    padding:10px; 
    background-color:#fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    display: block;
    margin: auto;
    box-sizing: border-box;
    width: 70%;
}

/*リンクの装飾を取る*/
a {
    text-decoration: none;
    color: #000;
} 

/*リンクに触れると色が変わる*/
a:hover {
    color:#0077ff;
} 

/*外部リンクボタン*/
.eternalbutton a {
    background: #e0ebf8;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.eternalbutton a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.2s ease-in-out;
    content: "\f08e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
}
.eternalbutton a:hover {
    background: #0077ff;
    color: #FFF;
}
/*リンクをボタンにする*/
.buttonlink a {
    background: #e0ebf8;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.buttonlink a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.2s ease-in-out;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
}
.buttonlink a:hover {
    background: #0077ff;
    color: #FFF;
}
/*テーブル*/
th,td {
    padding: 5px 10px; /*余白指定*/
    font-weight:  bold;         /* 文字の太さ指定 */
}

table {
    border-collapse:  separate; /* セルの線を重ねる */
    border-spacing: 5px;        /* 幅指定 */
    min-width: 300px;
    line-height: 30px;
    padding:0.5em 1em;      /* セル内側の余白量 */
    margin: auto;               /*中央寄せ*/
    text-align: left;
}

.tabletop {
    vertical-align:top;    
}

table td {
    vertical-align: middle;
}

th {
    color:  #fff;               /* 文字色指定 */
    font-weight:  bold;       /* 文字の太さ指定 */
}


/*1行目をヘッダーと被らないようにする*/
.pagehead {
    margin-top:80px;/*ページがヘッダーに被らない*/
    display: block; 
    text-align: center;
    padding-top: 10px;
    max-width: 1500px;
    margin: auto;
}

/* ===== ヘッダー全体 ===== */
#head1 {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: #ffffffd8;
    z-index: 99;
}

.mobile-menu {
    display: none;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
    margin: auto;
}

/* ===== ロゴ ===== */
.header-logo {
    height: 70px;
    width: auto;
    display: block;
}

/* ===== チェックボックス非表示 ===== */
#menu-toggle {
    display: none;
}

/* ===== PCメニュー ===== */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center; /* ここで縦中央揃え */
    height: 100%;        /* 親の高さに合わせる */
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    border-bottom: 3px solid #0077ff;
}

/* ===== スマホ時（768px以下） ===== */
@media screen and (max-width: 768px) {

  /* PCメニュー非表示 */
  .nav-menu {
    display: none;
  }

  /* ハンバーガーアイコン */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 100;
    margin-right: 20px;
  }

  .hamburger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* クリックで×に変化 */
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 15px;
    top: 70px;
    right: 0;
    width: 200px;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    padding: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease;
    z-index: 99;
  }

  /* チェック時に開く */
  #menu-toggle:checked ~ .mobile-menu {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: #007acc;
  }
}

/* ===== その他 ===== */
.times {
    font-weight: bold;
    padding: 20px;
    color: #0c0c0c;
}

.insta {
    max-width: 30px;
    min-width: 30px;
}

/*ヘッダーここまで*/


/*index説明文*/

/*背景をmain-bg.pngに、背景サイズとポジションを設定、高さを600pxに、中のインライン要素をセンター寄せ*/
.main-visual {
    background-image: url(images/main.jpg);
    background-size: cover;
    background-position: center;
    height: 600px;
    margin-bottom: 50px;
}
/*top画像fade-in*/
.animation_box {
  opacity: 0;
  transform: translateY(50px);
}

.animation_box.show {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 遅延設定：順番に出す */
.grid .animation_box.show:nth-child(1) { animation-delay: 0s; }
.grid .animation_box.show:nth-child(2) { animation-delay: 0.3s; }
.grid .animation_box.show:nth-child(3) { animation-delay: 0.6s; }
.grid .animation_box.show:nth-child(4) { animation-delay: 0.9s; }

/*説明文と画像を横並びにする*/
.flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 100px;
}
.about {
    max-block-size: 100%;
    flex-basis: 500px;
    text-align: center;
    line-height: 1.5;
}

/*中央部メニュー画像のサイズ調整*/
.banner {
    position: relative;
    width: 70%;
    overflow: hidden;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow:0px 4px 12px 0px #0c0c0c;
}

.banner picture,
.banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease-in-out; /* ここで拡大アニメ */
}

/* hoverしたときに画像だけ拡大 */
.banner:hover img {
    transform: scale(1.1);
}

.banner-text {
    position: absolute;
    top: 50%;               /* 縦中央 */
    left: 50%;              /* 横中央 */
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* 文字を見やすく */
    padding: 0 16px;        /* スマホの端から余白 */
}

.banner-text p {
    font-size: clamp(24px, 2vw, 40px);
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

li {
    padding: 0;
    list-style: none;
}

/*newcarを並べる*/
.flexbox2{
    display:flex;
    justify-content: space-around;
    align-content: space-around;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 3%;
    margin: 50px 0 0;
}

.imgfit {
    width: 200px;
    height: 150px;
    object-fit: cover; /* width, heightといっしょに使います */
}

.imgfit2 {
    width: 200px;
    height: 200px;
    object-fit: cover; /* width, heightといっしょに使います */
}

.imgfit3 {
    width: 600px;
    height: 300px;
    object-fit: cover; /* width, heightといっしょに使います */
}

.imgfit4 {
    width: 200px;
    height: 300px;
    object-fit: cover; /* width, heightといっしょに使います */
}
/*フッター情報*/
footer {
    background-color: #313131;
    color: #f5f5f5;
    font-weight: bold;
    font-size: 14px;
    padding: 50px 100px 30px 100px ;
    line-height: 30px;
    margin-top: 30px;
}

footer a{
    color:#f5f5f5
}

.footer a[target="_blank"] {
  &:after {
    font-family: "Font Awesome 6 Free";
    content: "\f08e";
    font-weight: 900;
    margin: 0 0.25rem;
  }
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 1500px;
    margin: auto;
}

.footernavi li {
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.cname{
    font-size: 20px;
}

.copyr{
    font-size: 10px;
}

/*会社概要*/
/*グリッド横に二分割*/
.grid2 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .grid2 {
    grid-template-columns: 50% 50%;
    }
}

 .used{
    display:flex;
    line-height: 80px;
 }

.hpimg{
    max-width: 500px;
    height: auto;
}


/*googlemap*/
iframeWrapper {
    position: relative;
}

iframeWrapper::before {
    content: "";
    display: block;
    padding-top: calc(1 / 1 * 50%);
}

iframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/*icon*/
.flowbtn{
    display:inline-block;	
    font-size:30px;
    text-decoration:none;
    transition:.5s;
    margin-top: -10px;
}
.flowbtn .fa-youtube{
    color:#fc0d1c;
    font-size:30px;
}
.flowbtn .fa-instagram{
    color:#D93177;
}
.flowbtn .fa-facebook-square{
    color:#3b5998;
}
.flowbtn .fa-line{
    color:#00c300!important;
font-size:28px;
}
.flowbtn .fa-envelope{
    color:#3293b0;
    font-size:28px;
	margin-top: 6px;
}

ul.snsbtniti{
    padding:0;
}

/* アイコン全体の位置 */
.snsbtniti{
    display:flex;
    flex-flow:row wrap;
    justify-content:space-between;
	width: 360px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
}
/* アイコン同士の余白 */
.snsbtniti li{
    text-align:center;
	    list-style-type:none;
}
/* アイコンにマウスを乗せた時 */
.flowbtn:hover{
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

/*スライダー*/
.slider {
    margin-inline: auto;
    max-width: 800px;
    width: 80%;
}

.slider-img {
    margin: 0 10px;
}

.slider-img img {
    height: auto;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .slider {
    display: none;;
    }
}

/*topページ店舗カード*/
.store-container {
    display: grid;
    gap: 20px;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr); /* PCで4列 */
    padding: 20px;
}

.store-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 370px;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px #00000033; /* 影を強調 */
}

.image-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden; /* はみ出し防止 */
}

/* 画像 */
.image-wrap img {
    display: block;
    width: 300px;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

/* 黒いオーバーレイ */
.image-wrap::after {
    content: "MORE";
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

/* hover時に黒くする */
.image-wrap:hover::after {
    background-color: #00000080; /* ← 半透明の黒 */
    opacity: 0.7;
}

.store-info h3 {
    margin: 8px 0;
    font-size: 18px;
    font-weight: bold;
}

.store-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.qr-code {
    width: 100px;
    margin-top: 12px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* 📱 スマホ対応 (2列) */
@media (max-width: 768px) {
  .store-container {
        grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 さらに小さい画面なら1列 */
@media (max-width: 480px) {
  .store-container {
        grid-template-columns: 1fr;
  }
}

/*セクションごとの間をあける*/
.page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1500px;
    margin: auto;
}

@media (max-width: 768px) {
    .page-wrapper {
        gap: 40px; /* スマホの余白 */
    }
}

/* --- カード全体 --- */
.price-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;       /* はみ出し防止 */
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* --- 店舗タイトル --- */
.price-card h2 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #37ABD493 ; 
    display: inline-block;
    padding-bottom: 4px;
}

/* --- セクション見出し（車検工賃・点検工賃など） --- */
.section-title {
    margin: 24px 0 12px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-left: 4px solid #37ABD493 ; 
    padding-left: 8px;
}

/* --- テーブル --- */
.price-table {
    width: 100%;            /* カード幅にフィット */
    border-collapse: collapse;
    font-size: 15px;
    color: #333;
    table-layout: fixed;    /* 列幅均等 */
    word-break: break-word; /* 長文対応 */
}

.price-table th {
    background: linear-gradient(135deg, #1c1c1c, #434343);
    color: #fff;
    padding: 12px;
    text-align: center;
}

.price-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
    white-space: normal;
}

.price-table tr:last-child td {
    border-bottom: none;
}

/* --- おすすめプランを強調 --- */
.price-table .highlight {
    background: #faf7f0;
    font-weight: bold;
    box-shadow: inset 0 0 0 2px #d4af37;
}

/* --- 料金表全体のグリッド（4店舗分） --- */
.price-sections {
    display: grid;
    grid-template-columns: 1fr; /* スマホは縦並び */
    gap: 32px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 16px;
}

/* PCでは横並び（2列） */
@media (min-width: 768px) {
  .price-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*アイコン横並び*/
.social-links {
  display: flex;
  justify-content: center; /* 横中央揃え */
  gap: 20px; /* アイコン間の間隔 */
}


