/* Base */
html{scroll-behavior:smooth}
body{
  margin:0;
  padding:0;
  font-family: "Noto Sans JP", sans-serif;
  background-color:#fffcf7;
  color:#333;
  overflow-x:hidden;
  padding-bottom: 100px; 
}

/* Header */
.site-header{background-color:rgba(255,255,255,.95);backdrop-filter:blur(8px);padding:10px 20px;box-shadow:0 2px 5px rgba(0,0,0,.08);position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:center;transition:transform .4s ease-in-out}
.site-header.is-hidden{transform:translateY(-110%)}
/* ▼▼▼ ロゴを中央配置するため、position:absoluteを削除 ▼▼▼ */
.logo-container{
  /* position:absolute; left:50%; transform:translateX(-50%) */ 
}
.logo-container img{height:40px;display:block}
/* ▲▲▲ ロゴを中央配置するため、position:absoluteを削除 ▲▲▲ */

main {
  padding: 0;
}

/* Hero (ファーストビュー) */
.first-view {
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.first-view .appeal-bg-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ファーストビュー内のボタン */
.first-view-button-area {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}

.first-view-button-area .first-view-button {
  display: block;
  width: 100%;
  height: auto;
}

/* プルプルアニメーションの定義 */
@keyframes shake {
  10%, 90% {
    transform: translateX(-50%) translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translateX(-50%) translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translateX(-50%) translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translateX(-50%) translate3d(4px, 0, 0);
  }
}

/* 車両情報セクション (フリード) */
.vehicle-info-freed {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative; 
}

.vehicle-info-freed .vehicle-info-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 車両情報セクション内のボタン (※フリード・ヴェゼルから参照されなくなりました) */
.vehicle-button-area {
  position: absolute;
  bottom: 2%; /* 下から2%の位置 */
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}

.vehicle-button-area .vehicle-button {
  display: block;
  width: 100%;
  height: auto;
}

/* 車両情報セクション (ヴェゼル) */
.vehicle-info-vezel {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative; 
}

.vehicle-info-vezel .vehicle-info-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ▼▼▼ ブログバナーセクションを追加 ▼▼▼ */
.blog-info {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-info .blog-info-image {
  display: block; /* 隙間防止 */
  width: 100%;
  height: auto;
  vertical-align: bottom; /* 隙間防止 */
}
/* ▲▲▲ ブログバナーセクションを追加 ▲▲▲ */

/* 会社紹介セクション */
.company-info {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.company-info .company-info-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 店舗情報セクション */
.store-info-section {
  background-color: #fff;
  padding: 60px 0;
  max-width: 100%; 
}
.store-info-section h2 {
  text-align: center;
  font-size: 1.8em;
  margin: 0 auto 40px;
  color: #fff;
  background-color: #CC0000;
  padding: 15px;
  max-width: 600px; 
  box-sizing: border-box;
}

.store-info-content {
  max-width: 600px; 
  margin: 0 auto 40px;
  padding: 0 15px;
  box-sizing: border-box;
}
.info-row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.info-row:first-child {
  border-top: 1px solid #eee;
}
.info-label {
  background-color: #CC0000;
  color: #fff;
  font-weight: bold;
  padding: 15px;
  width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-data {
  padding: 15px;
  line-height: 1.6;
  flex-grow: 1;
}
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; 
  height: 0;
  overflow: hidden;
  margin: 40px auto 0;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* フローティングフッター */
.floating-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  pointer-events: none;
}
.floating-bar-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  padding: 0 10px 10px;
  box-sizing: border-box;
  pointer-events: auto;
}
.contact-btn {
  flex: 1;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  height: 65px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.contact-btn .icon-wrapper {
  padding: 0 25px; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-sizing: border-box;
}
.contact-btn .text-wrapper {
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
  line-height: 1.4;
  text-align: center;
}
.contact-btn .text-wrapper small {
  font-size: 0.7em;
  font-weight: normal;
  margin-top: 2px;
  opacity: 0.9;
}

.phone-btn {
  border: 1px solid #c62828;
  border-radius: 5px 5px 5px 5px;
}
.phone-btn .icon-wrapper {
  color: #c62828;
}
.phone-btn .text-wrapper {
  background: linear-gradient(135deg, #e53935, #c62828);
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%);
  padding: 0 15px 0 35px;
  margin-left: -15px;
  font-size: 1em;
}

.email-btn {
  border: 1px solid #1565c0;
  border-radius: 5px 5px 5px 5px;
}
.email-btn .icon-wrapper {
  color: #1565c0;
}
.email-btn .text-wrapper {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  padding: 0 35px 0 15px;
  margin-right: -15px;
  font-size: 1.1em;
}

/* サイトフッター */
.site-footer-final {
  background-color: #CC0000;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}
.footer-links {
  margin-bottom: 15px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}
.footer-links a:hover {
  text-decoration: underline;
}
.copyright {
  font-size: 0.8em;
  font-weight: bold;
}

/* スマホ用レスポンシブスタイル（フッター）*/
@media (max-width: 480px) {
  .floating-bar-inner {
    padding: 0 5px 5px;
  }
  .contact-btn {
    height: 60px;
  }
  .contact-btn .icon-wrapper {
    font-size: 20px;
    padding: 0 20px;
    min-width: unset;
  }
  .phone-btn .text-wrapper {
    font-size: 0.8em;
    padding: 0 10px 0 25px; 
    margin-left: -15px;
  }
  .email-btn .text-wrapper {
    font-size: 0.9em;
    padding: 0 25px 0 10px;
    margin-right: -15px;
  }
}

/* ▼▼▼ フリードセクションのボタン (ここから) ▼▼▼ */

/* 1. 在庫ボタン (フリード) */
.freed-stock-button-area {
  position: absolute;
  bottom: 2%; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}
.freed-stock-button-area .vehicle-button {
  display: block;
  width: 100%;
  height: auto;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

/* 2. 来店予約ボタン (フリード) */
.freed-reserve-button-area {
  position: absolute;
  bottom: 40%; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}
.freed-reserve-button-area .vehicle-button {
  display: block;
  width: 100%;
  height: auto;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* ▲▲▲ フリードセクションのボタン (ここまで) ▲▲▲ */


/* ▼▼▼ ヴェゼルセクションのボタン (ここから) ▼▼▼ */

/* 1. 在庫ボタン (ヴェゼル) */
.vezel-stock-button-area {
  position: absolute;
  bottom: 2%; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}
.vezel-stock-button-area .vehicle-button {
  display: block;
  width: 100%;
  height: auto;
  /* (ヴェゼルボタンはサイズ指定なし) */
}

/* 2. 来店予約ボタン (ヴェゼル) */
.vezel-reserve-button-area {
  position: absolute;
  bottom: 40%; 
  left: 50%;
  transform: translateX(-50%);
  width: 90%; 
  max-width: 500px;
  z-index: 10;
  animation: shake 0.8s infinite cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center center;
  backface-visibility: hidden;
  perspective: 1000px;
}
.vezel-reserve-button-area .vehicle-button {
  display: block;
  width: 100%;
  height: auto;
  max-width: 90%; /* (フリード側とサイズを合わせました) */
  margin-left: auto;
  margin-right: auto;
}

/* ▲▲▲ ヴェゼルセクションのボタン (ここまで) ▲▲▲ */