html, body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==== NAVIGATION MENU ==== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 40px;
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
}

.logo {
  height: 20px !important;
  vertical-align: top;
  margin-top: -15px;
  margin-left: -23px;
}

.site-header a { 
display: inline-block;
  }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px; /* 各リンクの間隔 */
  list-style: none;
  margin-left: 920px;
  margin-top: -25px;
}

/* テキストリンクだけにマージン調整 */
.nav-menu li:not(:last-child) a {
  margin-top: 10px; /* ← 調整用。必要に応じて微調整 */
}

.nav-menu ul {
  display: flex;
  align-items: flex-start;
  gap: 40px !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 18px !important;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

/* テキストリンクだけにアンダーラインつける（画像リンクは除外） */
.nav-menu a:not(.logo-link)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #63a2ff;
  transition: width 0.3s ease;
}

/* テキストリンク：ホバーでズーム＋アンダーライン */
.nav-menu a:hover:not(.logo-link) {
  transform: scale(1.05);
}

.nav-menu a:hover:not(.logo-link)::after {
  width: 100%;
}

.officialsite {
  height: 45px;
  transform: translateY(-8px);
  margin-top: 13px;
  margin-left: 0px;
}








/* ==== ABOUTセクション ==== */
.about {
  margin-top: -5px;
  padding: 100px 40px;
  background-color: #fff;
}

.about-title {
  width: 200px;
}

.about-text {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}

/* ==== FIRST VIEW ==== */
.company-hero {
  position: relative;
  width: 100%;
  height: 47vh !important;
  max-height: 60vh !important;
  overflow: hidden !important;
  margin: 0;
  padding: 0;
}

.company-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.firstview::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  z-index: 100;
}

.wave-first-view {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
}

.fv-text {
  position: absolute;
  left: 10%;
  bottom: 20%;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.mask-text {
  display: inline-block;
  background: linear-gradient(90deg, #B8E6FC 50%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mask-text br {
  line-height: 1.2;
}

/* ==== アニメーション・表示処理 ==== */
.overlay-wave.finished {
  transform: none !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.firstview,
.overlay-wave,
.slideshow-bg,
.car-icon {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.overlay-wave {
  animation-fill-mode: forwards;
}

.main-content {
  opacity: 0;
  position: relative;
  z-index: 1;
  transition: opacity 1s ease;
}

.opening-finished .main-content {
  opacity: 1;
}




/* 追従バナー */
.floating-banner {
  width: 140px;
  height: 140px;
  bottom: 20px;
  right: 20px;
  position: fixed;
  z-index: 9999;
  opacity: 1;
}

.banner-circle {      /* ← アイコン∔テキストセット */
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: -20px;
  margin-top: -30px;
}

.banner-main {
  width: 100%;
  height: auto;
  display: block;
}

.circle-icon { /* ← アイコン */
  position: absolute;
  top: 3px;
  left: 57%;
  transform: translateX(-50%);
  width: 155px;
  height: auto;
  z-index: 2;
}

.circle-text { /* ← テキスト */
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 230px;
  animation: rotateText 20s linear infinite;
  transform-origin: center center;
  z-index: 3;
  pointer-events: none;
  transform: translate(-35px, -35px) !important;
}

.circle-text text {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  fill: #002c3e;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 2px;
  transform-origin: center center;
  animation: rotateText 20s linear infinite;
}

@keyframes rotateText {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(360deg);
  }
}









/* === 代表あいさつ === */
.message-section {
  background: none;           /* 背景削除 */
  padding: 60px 20px 40px;
  margin-bottom: 100px;
  border: none;               /* 枠線完全に消す */
  box-shadow: none;           /* 影も全部消す */
}

/* 見出し類は中央 */
.message-section h2,
.message-section .subheading {
  text-align: center;
}

.message-section h2 {
  font-size: 28px;
  color: #444;
  margin-bottom: 10px;
}

.message-section .subheading {
  font-size: 14px;
  color: #007BFF;
  margin-bottom: 30px;
}

/* 本文テキストは左揃え */
.message-text {
  font-size: 1.125rem;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

/* 署名部分：右寄せ */
.message-sign {
  text-align: right;
  font-size: 1.125rem; /* 代表取締役社長の文字 */
  color: #333;
  margin-top: 20px;
}

/* 三木啓司だけちょっと目立たせる */
.message-sign .name {
  font-family: 'Yuji Mai', serif;
  font-size: 1.7rem;     /* ここ大きくした */
  display: inline-block;
  margin-left: 10px;
}





main {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.info-section h2 {
  text-align: center;
  font-size: 28px;
  color: #444;
  margin-bottom: 10px;
}

.subheading {
  text-align: center;
  color: #007BFF;
  font-size: 14px;
  margin-bottom: 30px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.company-table th {
  text-align: left;
  width: 25%;
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
}

.company-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
}


/* 安心・安全・便利 */
.vision-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.vision-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
  color: #222;
}

.vision-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.vision-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 30px 20px;
  width: 180px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s;
  backdrop-filter: blur(4px);
}

.vision-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.vision-icon安心,
.vision-icon安全,
.vision-icon便利 {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4a90e2, #8ab4f8);
  box-shadow: inset -4px -4px 12px rgba(255,255,255,0.5),
              inset 4px 4px 12px rgba(0,0,0,0.1);
}

/* 個別アニメ風味 */
.vision-icon安心 {
  animation: float 3s ease-in-out infinite;
}
.vision-icon安全 {
  animation: pulse 2s ease-in-out infinite;
}
.vision-icon便利 {
  animation: pop 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes pop {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.15); }
}

.vision-label h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}

.vision-label p {
  font-size: 13px;
  color: #666;
  margin: 0;
}






.access-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.access-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.access-section .subtitle {
  color: #007BFF;
  font-size: 14px;
  margin-bottom: 40px;
}

.access-card {
  background: #fff;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  box-shadow: 0 0 20px #eee;
  gap: 30px;
}

.access-image {
  width: 460px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
}

.access-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.access-info {
  text-align: left;
  max-width: 460px;
}

.access-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.access-info p {
  font-size: 15px;
  margin-bottom: 15px;
}

.map-link {
  color: #007BFF;
  text-decoration: none;
  border-bottom: 1px dotted #007BFF;
  font-size: 14px;
}

.arrow {
  display: inline-block;
  margin-left: 5px;
  font-weight: bold;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}


/* 沿革セクション */
.history-section {
  background: #f9fbfd;
  padding: 80px 20px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #333;
  font-weight: bold;
}
.history-subtitle {
  text-align: center;
  color: #007BFF;
  font-size: 14px;
  margin-bottom: 50px;
  margin-top: -30px;
}
.timeline {
  max-width: 900px;
  margin: 0 auto;
  border-left: 3px solid #005bac;
  padding-left: 20px;
}
.timeline-year {
  font-size: 22px;
  font-weight: bold;
  color: #005bac;
  margin-top: 40px;
  margin-bottom: 15px;
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 13px;
  height: 13px;
  background-color: #005bac;
  border-radius: 50%;
}
.timeline-date {
  font-weight: bold;
  color: #005bac;
  margin-bottom: 5px;
}
.timeline-content {
  background: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}









/* ---------------------------------- */
/*   　 PC・ファーストビュー画像        */
/* ---------------------------------- */
body {
  overflow-x: hidden;
}

/* 親コンテナではみ出し部分をクリップ */
.company-hero {
  width: 100vw;              /* 横幅画面いっぱい */
  height: 70vh;              /* 縦方向も広げる（好みで調整） */
  margin-left: calc(-50vw + 50%); /* 中央寄せのレイアウトからはみ出す補正 */
  overflow: hidden;
  position: relative;
}

.company-hero img {
  width: 100%;
  height: 95%;
  object-fit: cover;         /* 画面全体にフィットさせる */
}

/* ---------------------------------- */
/*    　　 PC・companyタイトル         */
/* ---------------------------------- */
.company-title {
  position: absolute;
  bottom: -50px;               /* お好みで上下位置調整 */
  right: 0;                   /* 右端からはみ出さない */
  padding-right: 20px;        /* 内側の余裕（任意） */

  /* 最小360px〜最大800pxで画面幅に応じて伸縮 */
  font-size: clamp(250px, 9vw, 550px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.15);
  font-family: 'Helvetica Neue', sans-serif;
  top: -10px;

  transform: translateX(-100%);
  opacity: 0;
  animation: slideInRight 1.5s ease-out forwards;
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 表紙 */
.business-heading {
  text-align: center;
  padding: 60px 20px 30px;
  background-color: #fff; /* 同じ白背景想定 */
}

.business-ja {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.business-en {
  font-size: 14px;
  color: #2a78c4; /* 哲学セクションと揃えるための青 */
  margin-bottom: 0;
}

.renta-section {
  background-color: #f4f6fa; /* 薄グレーっぽい */
  padding: 80px 40px;
}

.renta-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
}

.renta-text {
  flex: 1 1 500px;
}

.renta-en {
  color: #6082bb;
  font-size: 14px;
  margin-bottom: 10px;
}

.renta-title {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333;
}

.renta-desc {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.renta-image {
  flex: 1 1 400px;
}

.renta-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.business-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f9f9f9;
  flex-wrap: nowrap;
  margin-bottom: 40px;
}

.business-tag {
  color: #2a78c4; /* 青 */
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
}

.business-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.business-image {
  flex: 1 1 50%;
  min-width: 300px;
}

.business-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.business-ja {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.business-en {
  font-size: 14px;
  color: #2a78c4;
  margin-bottom: 30px;
}

.business-copy {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #222;
}

.business-detail {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.business-intro.second .business-image {
  margin-left: 20px;  /* ← 画像を右へ */
}

.business-intro.second .business-text {
  margin-right: 20px; /* ← テキストを左へ */
}






/* フッター */
.site-footer {
  position: relative;
  background-color: #0B1E32;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(#0B1E32, #0B1E32);
  background-repeat: repeat;
  background-size: 20px 20px, cover;
  padding: 60px 20px 20px;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-top h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.footer-top p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 40px 0;
}

.footer-logo {
  max-width: 280px;
}
.footer-logo img {
  width: 160px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-icon-group {
  margin-top: 10px;
}
.footer-icon-group a {
  display: inline-block;
  margin-right: 12px; /* アイコン間の余白 */
}
.footer-icon-group img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* 白アイコン */
}

.footer-nav {
  display: flex;
  margin-left: 0px;
  gap: 70px;
}
.footer-nav h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 130px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.footer-nav a:hover {
  border-bottom: 1px solid #fff;
}

/* □ LINEバナーとのスペースを調整したい場合は以下を追加 */
.site-footer {
  margin-top: 40px; /* 必要に応じて調整 */
}



/* line・Instagramアイコン */
.footer-icon-group a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-icon-group a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.sns-icon {
  width: 38px !important;
  height: 38px !important;
}






/* ========================================== */
/* 　　 モバイル対応・ハンバーガーメニュー　　　　*/
/* ========================================== */
.nav-menu {
  display: flex;
  gap: 20px;
}
.hamburger,
.mobile-nav {
  display: none;
}

/* ===== モバイル表示（768px以下） ===== */
@media screen and (max-width: 768px) {
  html, body {
    font-size: 14px;
    overflow-x: hidden;
  }

  /* ヘッダー */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 999;
  }

  /* PC用ナビ非表示 */
  .nav-menu {
    display: none !important;
  }

  /* ハンバーガーアイコン */
  .hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 22px;
    z-index: 10000;
    cursor: pointer;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { bottom: 0; }

  /* モバイルナビメニュー */
  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7); /* 透け感ありの黒 */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 9999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
  }

  .mobile-nav a {
    display: block;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    width: 100%;
  }

  .mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* キャッチフレーズ非表示（必要に応じて） */
  .company-title {
    display: none;
    z-index: -100;
  }

  .logo{
   width: 190px;
   margin-top: 10px !important;
  }
}






/* ------------------------------------ */
/* 　モバイル対応・ファーストビュー画像　　 */
/* ------------------------------------ */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* ← 横スクロール防止 */
}

@media (max-width: 768px) {
  .company-hero {
    background: url('images/bg.jpg') center/cover no-repeat;
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    width: 100%;         /* ← 100vwではなく100% */
    height: 30vh !important;       /* ← 画面いっぱい */
    overflow: hidden;
  }

  .hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  .company-title {
    display: block;
    position: absolute;
    top: 150px;
    left: 90px;
    font-size: 5rem;
    font-weight: 300;
    font-family: 'Helvetica Neue', sans-serif;
    z-index: 10;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2); /* ← 白だけど少し透ける */
  font-family: 'Helvetica Neue', sans-serif;
  }
}




/* --------------------------- */
/* 　モバイル対応・あいさつ　　　 */
/* --------------------------- */
.message-section {
  padding: 24px 16px 40px 16px;
  margin-top: 0;
}

.message-sign .name {
  font-family: 'Yuji Mai', serif;
  font-size: 20px;
  display: inline-block;
  margin-left: 6px;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    margin-left: auto;
    z-index: 9999;
    position: relative;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-list li {
    list-style: none;
    width: 100%;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 10px 12px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }

  .logo {
    height: 10px;
    margin-left: -10px !important;
    margin-top: 0px;
  }

  .site-header {
    background: transparent;
  }
}

/* PCではモバイル非表示 */
@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: block;
  }

  .logo {
    height: 28px;
  }
}




/* ----------------------------- */
/* 　モバイル対応・安全安心便利　　 */
/* ----------------------------- */
@media screen and (max-width: 768px) {
  .vision-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px;
  }

  .vision-card {
    width: calc(33.333% - 10px); /* 横3つ */
    padding: 12px 4px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .vision-card h3 {
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .vision-card p {
    font-size: 11px;
    margin: 0;
  }

  .vision-icon安心,
  .vision-icon安全,
  .vision-icon便利 {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #4d91ff, #9bcfff);
  }
}



/* --------------------------- */
/* 　モバイル対応・事業所紹介　　 */
/* --------------------------- */
@media screen and (max-width: 768px) {
  .access-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
    justify-content: center;
  }

  .access-card {
    transform: scale(0.85);
    transform-origin: top center;
    padding: 6px;
    font-size: 11px;
    max-width: 160px;
    box-sizing: border-box;
    background-color: #fff;
    max-height: 270px;
    border-radius: 12px;
    box-shadow: 0 0 4px rgba(0,0,0,0.08);
    position: relative;
    z-index: 0;
  }

  .access-image {
    position: relative;
    z-index: 1;
    margin-bottom: 0; /* ← 距離ゼロで密着 */
  }

  .access-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
  }

  .access-info {
    position: relative;
    z-index: 10;
    background-color: white;
    padding: 4px 4px 0 4px;
    margin-top: -190px; /* ← 画像とさらに近づける */
  }

  .access-info h3 {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .access-info p {
    margin: 0 0 2px 0;
    font-size: 11px;
    line-height: 1.3;
  }

  .map-link {
    display: inline-block;
    font-size: 11px;
    margin-top: 2px;
  }
}





/* --------------------------- */
/* 　モバイル対応・フッター　　　 */
/* --------------------------- */
@media screen and (max-width: 768px) {
  .footer-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px; /* ← この幅で調整できる */
  }

  .footer-nav div {
    margin-right: 0; /* ← 余計な右マージン排除 */
    min-width: auto;
    flex: 1; /* 均等に縮まるように */
  }

  .footer-nav h3 {
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .footer-nav li {
    font-size: 11px;
    white-space: nowrap;
    margin-bottom: 2px;
  }

  .footer-nav a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-nav div {
    margin-right: 12px;
    min-width: 100px;
  }

  .footer-main {
    flex-wrap: wrap;
    padding: 12px;
    gap: 12px;
  }

  .footer-logo p {
    font-size: 11px;
  }

  .site-footer {
    font-size: 11px;
  }
}

@media screen and (max-width: 768px) {
.floating-banner{
   display: none;
}
}





/* ----------------------------------------------- */
/* 　モバイル対応・フォント統一＆横スクロール禁止　　　 */
/* ----------------------------------------------- */
@media screen and (max-width: 768px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  * {
    box-sizing: border-box !important;
  }
  img, svg, video {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  body, html, h1, h2, h3, h4, h5, h6, p, a, li, dt, dd, small, strong, em {
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",
                 Meiryo,system-ui,-apple-system,"Segoe UI",Arial,sans-serif !important;
  }

  /* 三木啓司だけ別フォント */
  .message-sign .name {
    font-family: "Yuji Mai", serif !important;
  }
}