@charset "utf-8";
/* ============================================
   mobile.css — スマートフォン専用スタイル
   対象：max-width: 768px
   ============================================ */

/* ============================================
   ハンバーガーボタン
   ============================================ */
.hamburger-btn {
  display: none; /* デスクトップでは非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  margin-right: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1001;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1f1d19;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* 開いている状態（×アイコン） */
.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================
   スマホ用ドロワーメニュー
   ============================================ */
.sp-drawer {
  display: none; /* デスクトップでは非表示 */
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background-color: #1f1d19;
  z-index: 1000;
  padding: 100px 30px 40px;
  box-sizing: border-box;
  transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.sp-drawer.is-open {
  right: 0;
  z-index: 99;
}

.sp-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-drawer li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-nav-link {
  display: block;
  font-family: "LINE Seed JP", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sp-nav-link:hover,
.sp-nav-link:active {
  color: #d4ff4e;
  padding-left: 6px;
}

.sp-nav-contact {
  display: block;
  margin-top: 20px;
  background-color: #d4ff4e;
  color: #1a1814 !important;
  border-radius: 9999px;
  text-align: center;
  padding: 14px 0 !important;
  font-weight: 700;
}

/* オーバーレイ */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-overlay.is-open {
  opacity: 1;
}


/* ============================================
   スマホ用レイアウト（768px以下）
   ============================================ */
@media only screen and (max-width: 768px) {

  /* body */
  body {
    padding: 0;
  }

  /* ---- ヘッダー ---- */
  header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  }

  /* PCメニュー・コンタクトボックスを非表示 */
  .headder-menu,
  .head-contactbox {
    display: none !important;
  }

  /* ハンバーガーボタンとドロワーを表示 */
  .hamburger-btn {
    display: flex;
  }
  .sp-drawer {
    display: block;
  }
  .sp-overlay {
    display: none;
  }

  /* ロゴ */
  .logobox {
    width: 140px;
    height: 60px;
  }

  /* ---- MV ---- */
  .top-head-mv-box {
    height: calc(100svh - 80px);
	width: calc(100svw - 40px);
	margin: 70px auto 10px auto;
	padding: 0 10px;
  }

  .clip-wrap {
    border-radius: 0;
  }

  .tmc-box h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .tmc-box h1 .tmx-box-txt-siz {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .tmc-box p {
    font-size: 0.85rem;
    padding-top: 14px;
  }

  .tmx-box-link ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
  }

  .tmx-box-link li {
    margin-left: 0;
    width: 80%;
  }

  .tmx-box-link a {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  /* ---- mainbox ---- */
  .mainbox {
    padding: 0;
  }

  /* ---- spec セクション ---- */
  #spec {
    scroll-margin-top: 60px !important;
  }

  .spec-box {
    padding: 0 10px;
	width: calc(100% - 20px);
  }

  .garage-specbox {
    flex-direction: column;
    border-radius: 12px;
    padding-bottom: 24px;
    margin-bottom: 10px;
	background-image: none;
	background-color: #1f1d19;
  }

  .gs-mp {
  display: none;
    width: 100%;
    min-height: 180px;
    border-radius: 12px 12px 0 0;
  }

  .gs-inb {
	width: calc(100% - 20px);
    padding: 0 10px;
  }

  .spec-box h2,
  .spec-title {
    font-size: clamp(22px, 6vw, 30px);
    padding: 30px 0 0;
    text-align: center;
  }

  .gs-inb p {
    width: 100%;
    font-size: 0.9rem;
  }

  /* ガレージ仕様リスト 3列→1列 */
  .sec-box-list-mcol {
  width: 100%;
    padding: 0;
  }

  .sec-box-list-mcol figure {
    width: 100%;
  }

  /* セキュリティ画像 2列→2列（そのまま） */
  .sec-box-list {
    padding: 0 10px 10px;
  }

  .sec-box-list figure {
    width: calc(50% - 5px);
    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 12px;
  }

  .sec-box-list .coltxt h3 {
    font-size: 1rem;
  }

  .pdf-dl-bnr a {
    width: 95%;
  }

  .spec-link a {
    width: 90%;
    font-size: 1rem;
  }

  /* ---- usage セクション ---- */
  #usage {
    scroll-margin-top: 60px;
  }

  .usage-box {
    padding: 10px;
    gap: 8px;
  }

  .ub-title {
    border-radius: 12px;
    padding: 30px 20px;
    font-size: clamp(22px, 6vw, 30px);
  }

  /* 用途カード：4列 → 2列 */
  .usage-box figure {
    width: calc(50% - 4px);
    border-radius: 12px;
  }

  .usage-box figure img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

  .usage-box figure p {
    font-size: 1rem;
    margin: 0 8px 4px;
  }

  .usage-box figure span {
    font-size: 0.75rem;
    margin: 0 8px 8px;
  }

  /* ---- howstep セクション ---- */
  #howstep {
    scroll-margin-top: 60px;
  }

  .howstep-box {
    padding: 10px;
    gap: 8px;
  }

  /* フローカード：6列 → 3列×2行 */
  .flow-card {
    width: calc(33.333% - 6px) !important;
    aspect-ratio: 1 / 1.1;
    padding: 14px 10px;
    border-radius: 12px;
  }

  .flow-step-n {
    font-size: 3rem;
  }

  .flow-name {
    font-size: 0.95rem;
    border-bottom-width: 1px;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .flow-sub {
    font-size: 0.75rem;
  }

  /* ---- CTA ---- */
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    margin: 10px;
    border-radius: 12px;
    gap: 20px;
  }

  .cta-card > div:last-child {
    align-items: flex-start !important;
    width: 100%;
  }

  .cta-h {
    font-size: clamp(22px, 7vw, 36px);
  }

  .btn-acc {
    padding: 14px 28px !important;
    font-size: 1rem !important;
  }

  /* ---- company セクション ---- */
  #company {
    scroll-margin-top: 60px;
  }

  .com-box {
    padding: 10px;
  }

  /* タイトルと表を縦並びに */
  .cb-title {
    width: 100% !important;
    min-height: 140px;
    border-radius: 12px;
  }

  .cb-txt {
    width: 100% !important;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .cb-title h3 {
    font-size: 7vw;
  }

  .cb-title span {
    font-size: 3.5vw;
    letter-spacing: 0.3rem;
    top: 85px;
  }

  .cb-txt th,
  .cb-txt td {
    padding: 14px 12px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .cb-txt th {
    padding-bottom: 4px;
    letter-spacing: 0.2rem;
    font-weight: 700;
  }

  .cb-txt td {
    padding-top: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  /* 地図 */
  .cb-map {
    height: 260px;
    border-radius: 12px;
  }

  /* 周辺情報：2列→1列 */
  .map-info {
    border-radius: 12px;
    padding: 16px;
    gap: 14px;
  }

  .map-info h4 {
    font-size: 1.3rem;
  }

  .col-boxs {
    width: 100%;
  }

  .col-boxs p {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .col-boxs span {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  /* ---- footer ---- */
  footer {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px 30px;
    gap: 10px;
    text-align: center;
  }

  footer div {
    width: 100% !important;
    text-align: center !important;
  }

  footer .right {
    font-size: 0.8rem;
    color: #666;
  }

  footer img {
    margin: 0 auto;
    height: 70px;
  }

} /* end @media 768px */


/* ============================================
   小画面追加調整（414px以下）
   ============================================ */
@media only screen and (max-width: 414px) {

  /* 用途カード：2列→1列 */
  .usage-box figure {
    width: 100%;
  }

  .usage-box figure img {
    height: 200px;
  }

  .usage-box figure p {
    font-size: 1.1rem;
  }

  .usage-box figure span {
    font-size: 0.8rem;
  }

  /* フローカード：3列→2列×3行 */
  .flow-card {
    width: calc(50% - 4px) !important;
    aspect-ratio: 1 / 1;
  }

  .flow-step-n {
    font-size: 2.6rem;
  }

} /* end @media 414px */


/* ============================================
   ドロワーメニュー開閉（body scroll lock）
   ============================================ */
body.drawer-open {
  overflow: hidden;
}
