@charset "utf-8";

/* ==========================
   共通設定
========================== */
a, a:hover { text-decoration: none !important; }

/* リンクが設定されている要素に強制的に指マークを出す */
selector { cursor: pointer !important; }


/* ==========================
   言語ホバー (lang hover)
========================== */
.hover-card { position: relative; display: inline-block; width: 100%; max-width: 180px; height: 45px; text-decoration: none; }
.hover-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hover-image img { max-width: 116px; width: 100%; height: auto; object-fit: contain; }
.hover-link { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.25s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.15); z-index: 2000 !important; }
.hover-card:hover .hover-link { opacity: 1; visibility: visible; transform: translateY(0); }

.l-menu__second-level { list-style: none; margin: 0; padding: 10px 0; }
.l-menu__second-level li { text-align: center; }
.l-menu__second-level li a { display: block; padding: 8px 0; color: #000; }
.l-menu__second-level li a:hover { background: #f2f2f2; }

/* ==========================
   SPメニュー & ドロワー
========================== */
.sp-hamburger {
  position: fixed; top: 8px; right: 16px; width: 44px; height: 44px; background: #000;
  border: none; border-radius: 6px; cursor: pointer; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px; z-index: 10001 !important;
}
.sp-hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: 0.3s; }
.sp-hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sp-hamburger.active span:nth-child(2) { opacity: 0; }
.sp-hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.sp-drawer {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
  background: #f9fff6; padding: 24px; transition: 0.3s; z-index: 10000 !important;
}
.sp-drawer.active { right: 0; }
.sp-drawer-menu { list-style: none; padding: 0; margin-top: 64px; }
.sp-drawer-menu li { margin-bottom: 20px; }
.sp-drawer-menu a { color: #000; font-size: 18px; font-weight: 600; }

.sp-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0;
  pointer-events: none; transition: 0.3s; z-index: 9999 !important;
}
.sp-drawer-overlay.active { opacity: 1; pointer-events: auto; }

/* ==========================
   ヘッダー・固定要素
========================== */
.fixed-top-header { position: fixed; z-index: 2000 !important; }
.fixed-header { position: fixed; z-index: 1500 !important; }
@media (max-height: 800px) { .fixed-header { transform: scale(0.9); transform-origin: top right; } }

.fixed-container {
  /* --- ベース設定 --- */
  position: fixed;
  z-index: 800 !important;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  
  /* 【機能1】ヒーロー（70vh）を超えたら出現 */
  opacity: 0;
  visibility: hidden;
  animation: fadeUpSmooth linear both;
  animation-timeline: scroll(root);
  animation-range: 0vh 70vh;

  /* 【機能2】吸い込み・再表示の滑らかな動き（0.6sでにゅっと出す） */
  transition: 
    opacity 0.4s ease, 
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
    visibility 0.4s !important;
}

/* 【機能3】5秒放置 or フッター到達時に下に吸い込まれるクラス */
.fixed-container.trm-auto-hide,
.fixed-container.trm-menu-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(-50%) translateY(100%) !important; /* 真下に隠す */
  pointer-events: none;
}

/* 【機能4】触れた（ホバー）した瞬間に下からにゅっと戻る */
.fixed-container:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto;
}

/* 出現アニメーションの定義 */
@keyframes fadeUpSmooth {
  0%, 50% { opacity: 0; visibility: hidden; margin-bottom: -20px; }
  100% { opacity: 1; visibility: visible; margin-bottom: 0px; }
}


/* ==========================================
   スピード予約パネル
========================================== */
@media (min-width: 1024px) {

  /* ===== パネル本体 ===== */
  .speed-panel {
    position: fixed;
    top: 96px; /* 6vw 相当を px 指定で Edge 安定 */
    right: 25vw; /* 固定メニュー幅に合わせて調整 */
    width: 450px;
    height: 600px; /* 固定高さで Edge と Chrome 両対応 */
	min-height:800px;
    background: #E4F6D9;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    overflow-y: auto;

    /* 初期は画面外に配置 */
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;

    /* スムーズスライド */
    transition:
      transform 0.45s cubic-bezier(.77,0,.18,1),
      opacity 0.3s ease;

    z-index: 900; /* 固定ボックスより低く設定 */
  }

  /* ===== 表示状態 ===== */
  .speed-panel.active {
	width: 450px;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  /* ===== 内側余白 ===== */
  .speed-panel-inner {
    padding: 25px;
  }

  /* ===== タイトル ===== */
  .speed-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  /* ===== リスト ===== */
.speed-list {
    display: flex;
    flex-wrap: wrap;   /* 折り返しを許可 */
    justify-content: space-between; /* 左右に綺麗に配置 */
    list-style: none;
    margin: 0;
    padding: 10px;     /* 全体の内側余白 */
  }

  /* リスト項目：1つあたりの幅を48%程度にする */
  .speed-list li {
    width: 49%;        /* 2列（少し隙間を開ける） */
    margin-bottom: 8px;
  }

  /* ===== 店舗リンク ===== */
  .speed-list a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f5f5f5;
    text-decoration: none;
    color: #333;
    font-size: 14px;

    /* ホバーアニメーション */
    transition:
      background 0.25s ease,
      color 0.25s ease,
      transform 0.2s ease;
  }

  .speed-list a:hover {
    background: #ffb87a;
    color: #ffffff;
    transform: translateX(5px);
  }

  /* ===== スクロールバー ===== */
  .speed-panel::-webkit-scrollbar {
    width: 6px;
  }

  .speed-panel::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
  }

  .speed-panel::-webkit-scrollbar-thumb:hover {
    background: #bbb;
  }

  /* ===== スピード予約ボタンのカーソル ===== */
  .speed-trigger,
  .speed-trigger * {
    cursor: pointer;
  }

}

/* ==========================================
   大画面対応（1920px以上）
========================================== */
@media (min-width: 1920px) {
  .speed-panel {
    top: 100px; /* 同じ高さで統一 */
    right: 26%; /* 広い画面用に右余白調整 */
    height: 842px; /* 高さを画面比率で調整 */
  }
}


/* ==========================================
   タブレット・モバイル（左からスライド）
========================================== */

@media (max-width: 1023px) {

  .speed-panel {
    position: fixed;
    top: 60px;
    left: 0;
    width: 50%;
    height: 70vh;
	background: #E4F6D9;
    overflow-y: auto;
	-webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    opacity: 1;          
    visibility: visible;

    transition: transform 0.4s ease;

    z-index: 800; 
  }

  .speed-panel.active {
    transform: translateX(0);
  }
	
  /* タイトル */
  .speed-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
	padding-left: 20px;
  }

  /* リスト */
  .speed-list {
	width: 95%;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .speed-list li {
    margin-bottom: 12px;
  }

  /* リンクボタン */
  .speed-list a {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    background: #f5f5f5;  /* DT版と同じ */
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  }

}

/* ==========================
   Heroスライダー
========================== */

.hero{
  position: relative;
  height: 100vh; /* PC基準 */
  overflow: hidden;
}

/* ==========================
   モバイル高さ修正
========================== */

@media (max-width:767px){
  .hero{
    height: 100vh; /* iPhone含むモバイルで安定 */
  }
}

/* ==========================
   スライダー本体
========================== */

.hero-slider{
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  animation: slideFade 32s linear infinite;
}

/* スライド順 */

.hero-slide:nth-child(1){ animation-delay:0s; }
.hero-slide:nth-child(2){ animation-delay:8s; }
.hero-slide:nth-child(3){ animation-delay:16s; }
.hero-slide:nth-child(4){ animation-delay:24s; }

/* 画像 */

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transform-origin:center center;
  animation: slideZoom 32s linear infinite;
  will-change: transform;
}

/* ズームタイミング */

.hero-slide:nth-child(1) img{ animation-delay:0s; }
.hero-slide:nth-child(2) img{ animation-delay:8s; }
.hero-slide:nth-child(3) img{ animation-delay:16s; }
.hero-slide:nth-child(4) img{ animation-delay:24s; }

/* ==========================
   フェード
========================== */

@keyframes slideFade{
0%{opacity:0;}
5%{opacity:1;}
20%{opacity:1;}
25%{opacity:0;}
100%{opacity:0;}
}

/* ==========================
   ズーム
========================== */

@keyframes slideZoom{
0%{ transform: scale(1); }
20%{ transform: scale(1.05); }
100%{ transform: scale(1.08); }
}

/* ==========================
   Hero news
========================== */
@media (min-width: 768px) {
  /* コピーコンテナ */
  .hero-copy-container {
    position: absolute !important;
    top: 150px !important; /* 位置は実機の見え方で微調整してください */
    padding: 0 0 0 8% !important;
    width: 80% !important;
  }

  /* お知らせコンテナ */
  .hero-news-fix {
    position: absolute !important;
    /* コピーのすぐ下に来るように top を調整 */
    bottom: 100px !important; 
    padding: 0 0 0 7% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* ==========================
   モバイル版：お知らせだけを底に固定
========================== */
@media (max-width: 767px) {
  /* コピーは元の位置（またはElementorの設定通り） */
  .hero-copy-container {
    position: absolute!important;
    top: 120px !important;
    left: auto !important;
    /* もしモバイルでも位置をずらしたいならここで調整 */
  }

  /* お知らせは最下部へ */
  .hero-news-fix {
    position: absolute !important;
    top: 65vh !important;
	top: 65svh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 400px !important;
    margin: 0 !important;
  }
}

@media (max-width: 420px) {
	.hero-news-fix {
	top: 65vh !important;
	top: 65svh !important;
  }
}


/* ==========================
   お知らせ・スライド
========================= */
.notice-box { width: 100%; height: 230px; border-radius: 16px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.15); overflow: hidden; }
.notice-box__header { background: #FB8823; color: #fff; padding: 12px; font-weight: 700; text-align: center; }
.notice-box__body { height: calc(230px - 48px); overflow-y: auto; padding: 12px 30px; }
.notice-item { padding: 12px 0; border-bottom: 1px solid #ddd; }
.notice-title { font-size: 16px; font-weight: 700; color: #000; }

/* --- Slider Base: 全体の骨組み --- */
.slider-container { width: 100%; margin: 0 auto; padding: 20px 0; overflow: hidden; } /* overflow追加 */
.slider-window    { width: 100%; overflow: hidden; position: relative; }
.slider-track     { display: flex; gap: 24px; transition: transform 0.4s ease-out; will-change: transform; }

/* --- Slide Item: スライド画像 (ホバー変化なし) --- */
.slide            { flex: 0 0 auto; width: 272px; text-decoration: none !important; box-sizing: border-box; }
.slide img        { width: 100%; height: auto; display: block; border-radius: 4px; }

/* --- Controls: 矢印ボタン (ホバー変化なし / Astra対策済み) --- */
.slider-controls  { display: flex; justify-content: flex-end; gap: 30px; margin-top: 20px; padding-right: 10px; width: 100%; box-sizing: border-box; }
.control-btn      { all: unset; cursor: pointer; color: #888; font-family: "serif" !important; font-size: 32px !important; font-weight: 100 !important; line-height: 1; }
.control-btn:hover { background: none !important; color: #888 !important; }
.control-btn:active { transform: scale(0.9); }

/* --- Responsive: スマホ対応 (はみ出し防止強化) --- */
@media (max-width: 768px) {
  .slider-container { padding: 10px 0; } /* 左右パディングをなくす */
  .slide           { width: 180px; }
  .slider-track    { gap: 16px; }
  .slider-controls { justify-content: center; padding-right: 0; margin-left: 0; margin-right: 0; }
}


/* ==========================
   TOP　テーブル
========================= */
/* --- PC設定（1920px基準） --- */
.mie-outer-container { width: 100%; padding-bottom: 60px; box-sizing: border-box; }
.mie-header-area, .mie-layout-wrapper { width: 75%; margin: -80px auto; display: flex; }
.mie-side-spacer { width: 8%; flex-shrink: 0; }
.mie-header-content { padding-top: 40px; }
.mie-main-title { font-size: clamp(30px, 3.5vw, 40px) !important; font-weight: 900 !important; color: #F48612 !important; margin: 0 0 5px 0 !important; }
.mie-sub-title { font-size: clamp(20px, 2.5vw, 30px) !important; font-weight: 900 !important; color: #000 !important; margin: 0 0 30px 0 !important; }
.mie-content-box { position: relative; display: grid; grid-template-columns: 1fr 21%; gap: 1.5vw; padding: 60px 40px 40px 25px; z-index: 1; align-items: end; }
.mie-left-column { display: flex; flex-direction: column; justify-content: flex-end; padding-left: 8%; min-height: 0; }
.mie-body-text p { font-size: clamp(14px, 1.2vw, 18px); color: #000; margin: 0 0 10px 0; line-height: 1.8; }
.mie-note { font-size: 11px !important; color: #666; margin-top: 10px; }
.mie-bg-layer-projection { position: absolute; top: 0; right: 0; width: calc(23% + 40px); height: 42%; background-color: #f7d8bc; border-radius: 45px 45px 0 0; z-index: -1; }
.mie-bg-layer-base { position: absolute; bottom: 0; right: 0; width: 100%; height: 62%; background-color: #f7d8bc; border-radius: 45px 0 45px 45px; z-index: -2; }
.mie-tile { display: block; width: 100%; overflow: hidden; background-color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.mie-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mie-grid-section { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5vw; margin-top: clamp(30px, 4vw, 70px); }

/* --- ノートPC (1400px以下) --- */
@media (max-width: 1400px) {
    .mie-bg-layer-base { height: 50% !important; }
    .mie-bg-layer-projection { top: auto; bottom: 50%; height: 40%; }
}

/* --- タブレット・スマホ (1024px以下) --- */
@media (max-width: 1024px) {
    .mie-header-area, .mie-layout-wrapper { width: 100%; margin: 0px auto; display: block; padding: 0 5%; box-sizing: border-box; }
    .mie-side-spacer { display: none; }
    .mie-main-title { display: inline-block; margin-left: -5.5% !important; padding: 8px 25px 8px 8% !important; font-size: clamp(25px, 5vw, 24px) !important; font-weight: 900; border-radius: 0 2px 2px 0; width: auto !important; text-align: left; }
    .mie-sub-title { text-align: left; margin: -3% 0 0 2.5% !important; font-size: clamp(16px, 3vw, 20px) !important; }
    .mie-content-box { display: flex; flex-direction: column; align-items: center; padding: 0; gap: 0; }
    .mie-left-column, .mie-banner-section, .mie-grid-section { width: 100%; max-width: 700px; margin-left: auto; margin-right: auto; }
    .mie-left-column { order: 1; padding: 30px 0; text-align: center; }
    .mie-left-column .mie-body-text p { max-width: 100%; }
    .mie-banner-section { order: 2; }
    .mie-grid-section { order: 3; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 25px 15px; background-color: #f7d8bc; border-radius: 35px; box-sizing: border-box; }
    .mie-bg-layer-projection, .mie-bg-layer-base { display: none !important; }
}

/* スマホ用さらに微調整 */
@media (max-width: 480px) {
    .mie-header-area, .mie-layout-wrapper { padding: 0 4%; }
    .mie-grid-section { padding: 20px 10px; border-radius: 25px; gap: 10px; }
    .mie-body-text { text-align: left; }
}

/* ==========================
   テーブル各種
========================== */
.mie-rent-table, .mie-custom-table, .mie-fixed-table {
  width: 100%; border-collapse: collapse; border: 1px solid #777;
  font-size: clamp(10px, 1.2vw, 15px); table-layout: fixed;
}
.mie-rent-table th, .mie-rent-table td, 
.mie-custom-table th, .mie-custom-table td,
.mie-fixed-table th, .mie-fixed-table td { border: 1px solid #777; padding: 1em; word-break: break-all; }
.mie-fixed-table th { width:30%; }

/* ==========================
   Flow Card (フロー)
========================== */
.step-container-v6 { width: 100%; max-width: 900px; margin: 40px auto; }
.step-header-v6 { display: flex; align-items: center; }
.step-icon-v6 { flex: 0 0 110px; display: flex; justify-content: center; }
.step-icon-v6 img { width: 70px; }
.step-content-v6 { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.step-images-v6 { display: flex; align-items: center; height: 80px; gap: 30px; }
.step-images-v6 img { height: 80px; width: auto; }
.step-text-v6 { margin: 0; font-size: 17px; font-weight: bold; color: #666; line-height: 1.5; }

@media screen and (max-width: 768px) {
  .step-icon-v6 { flex: 0 0 65px; }
  .step-icon-v6 img { width: 45px; }
  .step-images-v6 { height: 50px; gap: 15px; }
  .step-images-v6 img { height: 50px; }
  .step-text-v6 { font-size: 14px; }
}

/* ==========================
   FAQ アコーディオン
========================== */
.faq-accordion { max-width: 1100px; margin: 0 auto; }
.faq-item { margin-bottom: 10px; width: 100%; }

/* Qボタン設定 */
.faq-question {
  display: flex; width: 100% !important; align-items: center; justify-content: space-between;
  padding: 5px 20px; background-color: #ECECEC !important; border: none; cursor: pointer; color: #000 !important;
}
.faq-question:hover, .faq-item.is-open .faq-question { background-color: #ECECEC !important; }

/* Q画像・テキスト */
.q-content { display: flex; align-items: center; gap: 15px; text-align: left; }
.faq-img { width: 60px !important; height: 60px !important; object-fit: contain; flex-shrink: 0; }
.q-text { font-size: 18px; font-weight: bold; line-height: 1.4; }

/* アイコン（プラス・マイナス） */
.icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; margin-left: 10px; }
.icon::before, .icon::after { content: ""; position: absolute; background-color: #333; transition: 0.3s ease; }
.icon::before { top: 7px; left: 0; width: 16px; height: 2px; } /* 横棒 */
.icon::after { top: 0; left: 7px; width: 2px; height: 16px; }  /* 縦棒 */
.faq-item.is-open .icon::after { transform: rotate(90deg); opacity: 0; } /* 開閉時 */

/* 回答エリア */
.faq-answer { height: 0; overflow: hidden; background-color: #FFF0E2; transition: 0.4s ease; }
.answer-content { display: flex; align-items: flex-start; gap: 15px; padding: 10px 20px; }
.a-text { flex: 1; margin: 0; font-size: 16px; line-height: 1.6; color: #333; padding-top: 18px; }

/* SP調整 */
@media screen and (max-width: 768px) {
  .faq-img { width: 45px !important; height: 45px !important; }
  .q-text { font-size: 16px; }
  .a-text { font-size: 14px; padding-top: 12px; }
  .faq-question { padding: 5px 15px; }
  .answer-content { padding: 10px 15px; }
}

/* ==========================
   Solution Grid (カード)
========================== */
.solution-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px; max-width: 1100px; margin: 0 auto; padding: 20px;
}
.solution-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #FCBC7F; border-radius: 12px; overflow: hidden; transition: 0.3s;
}
.solution-card:hover { transform: translateY(-5px); }
.card-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.card-category { color: #FB8823; font-size: 18px; font-weight: 700; margin-bottom: 5px; text-align:center; }
.card-text { font-size: 14px; color: #000; line-height: 1.5; }

@media screen and (max-width: 768px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; padding: 10px; }
  .card-category { font-size: 11px; }
  .card-text { font-size: 11px; }
}

    /* ==========================
   中央▼合体型切り出し線
========================== */
.divider-center {
  --line-h: 2px;           /* 線の太さ */
  --color: #707070;        /* 線の色 */
  --tri-w: 40px;           /* ▼の横幅 */
  --tri-h: 15px;           /* ▼の高さ */

  position: relative;
  width: 100%;
  height: var(--line-h);
  background-color: var(--color);
  margin: 3em 0;
}

/* 中央の三角形 */
.divider-center::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* 常に真ん中 */
  width: var(--tri-w);
  height: calc(var(--line-h) + var(--tri-h));
  background-color: var(--color);
  
  /* clip-pathで、線から下がっている逆三角形をカット */
  /* 線自体の厚みを考慮したポイント指定 */
  clip-path: polygon(0 0, 100% 0, 100% var(--line-h), 50% 100%, 0 var(--line-h));
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .divider-center {
    --line-h: 6px;
    --tri-w: 40px;
    --tri-h: 20px;
  }
}

/* ==========================
   中央▼合体型切り出し線
========================== */
.divider-center {
  --line-h: 2px; --color: #707070; --tri-w: 40px; --tri-h: 15px;
  position: relative; width: 100%; height: var(--line-h);
  background-color: var(--color); margin: 3em 0;
}

/* 中央の三角形パーツ */
.divider-center::after {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: var(--tri-w);
  height: calc(var(--line-h) + var(--tri-h)); background-color: var(--color);
  /* 線と三角形を一体化してカット */
  clip-path: polygon(0 0, 100% 0, 100% var(--line-h), 50% 100%, 0 var(--line-h));
}

/* スマホ対応調整 */
@media screen and (max-width: 768px) {
  .divider-center { --line-h: 2px; --tri-w: 30px; --tri-h: 10px; }
}

/* ==========================
   メリットセクション（スマホ高さ130px固定）
========================== */
.merit-grid {
  display: flex; justify-content: center; gap: clamp(5px, 1.5vw, 25px); 
  max-width: 1050px; margin: 60px auto; padding: 0 8px;
}

/* カード本体 */
.merit-card {
  position: relative; flex: 1; min-width: 0; height: 230px; background: #fff; 
  border-radius: 12px; padding: clamp(25px, 5vw, 50px) 5px 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); text-align: center;
}

/* 数字バッジ（画像） */
.merit-badge {
  position: absolute; top: -15px; left: -8px; 
  width: clamp(38px, 7vw, 75px); height: auto;
}
.merit-badge img { width: 100%; height: auto; display: block; }

/* メインアイコン */
.merit-icon {
  width: 100%; height: clamp(55px, 10vw, 110px); display: flex; 
  align-items: center; justify-content: center; margin-bottom: 8px;
}
.merit-icon img { max-height: 100%; max-width: 75%; object-fit: contain; }

/* タイトル */
.merit-title { font-size: clamp(10px, 1.6vw, 19px); font-weight: bold; color: #333; margin: 0; line-height: 1.2; }

/* スマホ表示 (768px以下) */
@media screen and (max-width: 768px) {
  .merit-card { height: 150px !important; padding-top: 25px; }
  .merit-badge { top: -10px; left: -5px; }
  .merit-icon { margin-bottom: 5px; }
}

@media screen and (max-width: 450px) {
  .merit-card { height: 130px !important; padding-top: 25px; }
  .merit-badge { top: -10px; left: -5px; }
  .merit-icon { margin-bottom: 5px; }
}


/* ==========================
   メリット詳細（featureセクション）
========================== */
.feature-grid {
  display: flex; justify-content: center; gap: clamp(5px, 1.5vw, 25px); 
  max-width: 1050px; margin: 40px auto; padding: 0 8px;
}

/* カード本体：オレンジ枠あり */
.feature-card {
  position: relative; flex: 1; min-width: 0; height: 230px; background: #fff; 
  border: 1px solid #FCBC7F; border-radius: 12px; 
  padding: 20px 10px 15px; text-align: center;
}

/* アイコン：高さを一定に保つ */
.feature-icon {
  width: 100%; height: clamp(70px, 12vw, 110px); display: flex; 
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.feature-icon img { max-height: 100%; max-width: 80%; object-fit: contain; }

/* テキスト：タイトルはオレンジ、説明文はグレー */
.feature-title { font-size: clamp(10px, 1.8vw, 18px); font-weight: bold; color: #FB8823; margin: 0 0 10px; line-height: 1.2; }
.feature-desc { font-size: clamp(10px, 1.4vw, 14px); color: #666; line-height: 1.5; margin: 0; }

/* スマホ対応 (768px以下) */
@media screen and (max-width: 768px) {
  .feature-card { height: 150px !important; padding: 15px 5px 10px; }
  .feature-title { margin-bottom: 5px; }
  .feature-desc { display: none; } 
}

/* スマホ対応 (768px以下) */
@media screen and (max-width: 450px) {
  .feature-card { height: 130px !important; padding: 15px 5px 10px; }
  .feature-title { margin-bottom: 5px; }
  .feature-desc { display: none; } 
}

/* ==========================
   詳細カード：超鮮明化設定
========================== */
.detail-grid {
  display: flex; justify-content: center; gap: clamp(5px, 1.5vw, 25px); 
  max-width: 1050px; margin: 40px auto; padding: 0 8px;
}

.detail-card {
  position: relative; flex: 1; min-width: 0; height: 500px; background: #fff; 
  border: 1px solid #FCBC7F; border-radius: 12px; padding: 20px 0; 
  text-align: center; box-sizing: border-box; overflow: hidden;
  /* 描画の最適化 */
  transform: translateZ(0);
  will-change: transform;
}

.detail-icon img,
.detail-graph img {
  /* 拡大縮小のアルゴリズムを最高設定に強制 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges; /* 追加：ドットをパキッとさせる */
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic; /* IE用だが一部エンジンで有効 */
  
  /* レンダリングのバグを防ぐ */
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* 各パーツのサイズ調整 */
.detail-icon { width: 100%; height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; }
.detail-icon img { max-height: 100%; max-width: 60%; object-fit: contain; }

.detail-title { font-size: clamp(14px, 1.8vw, 18px); font-weight: bold; color: #FB8823; padding: 0 10px; margin: 10px 0 5px; }
.detail-desc { font-size: clamp(11px, 1.3vw, 13px); color: #333; line-height: 1.4; text-align: left; margin: 0 15px 15px; height: 4em; }

.detail-graph { width: 100%; height: auto; display: flex; align-items: flex-start; justify-content: center; padding: 20px; box-sizing: border-box; }
.detail-graph img { width: 100%; max-width: 100%; height: auto; display: block; }

@media screen and (max-width: 450px) {
  .detail-grid { flex-direction: column; align-items: center; gap: 30px; }
  .detail-card { width: 100%; max-width: 450px; height: auto !important; padding: 30px 0 0; }
  .detail-desc { height: auto; margin-bottom: 20px; }
  .detail-icon { height: 60px; }
}

/* =============================================
   店舗マップ
   ============================================= */
.shop-list-container {
  max-width: 1200px;
  margin: 20px auto;
  color: #707070;
}

#shop-list-output {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width:768px){

.map-wrapper{
position:relative;
}

.map-wrapper iframe{
pointer-events:none;
}

.map-wrapper .map-link{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:10;
display:block;
}

}

/* =============================================
   2. ヘッダー（店舗名バー）
   ============================================= */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: #FFB87A;
  color: #fff;
  font-weight: bold;
  border-radius: 15px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.shop-header:hover {
  background-color: #f7a052;
}

/* 矢印アイコン */
.shop-header i {
  display: inline-block;
  padding: 4px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  transition: transform 0.4s ease;
}

/* =============================================
   3. アコーディオン開閉エリア
   ============================================= */
.shop-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.shop-content.is-open {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

/* =============================================
   4. 店舗情報（内部フレックス）
   ============================================= */
.shop-inner-flex {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 20px 10px;
}

/* マップエリア */
.shop-map-area {
  position: relative;
  flex: 1.5;
  min-height: 300px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.shop-map-area iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* テキスト情報エリア */
.shop-info-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 13.5px;
  font-weight: bold;
}

.info-row {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-row.address-row {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 60px;
}

.info-row:last-child {
  border-bottom: none;
}

.shop-info-area a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #707070;
}

/* =============================================
   5. レスポンシブ
   ============================================= */
@media (max-width: 950px) {
  #shop-list-output {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .shop-inner-flex {
    flex-direction: column;
  }
  .shop-map-area {
    position: relative;
    width: 100%;
    height: 220px;
    min-height: 220px;
  }
  .shop-map-area iframe {
    position: static;
    height: 220px;
  }
}

/* =============================================
   追加：マップクリック専用オーバーレイ
   （既存レイアウトは変更しない）
   ============================================= */

.shop-map-area iframe {
  pointer-events: none; /* ← iframe操作を無効化 */
}

.map-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
}

 /* =============================================
   レンタカー メニューグリッド
   ============================================= */

/* --- 全体コンテナ --- */
.car-gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* デフォルト2列 */
  gap: 10px;
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* --- カードデザイン --- */
.car-card {
  display: block;
  line-height: 0;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.car-card:hover {
  border-color: #FFB87A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.car-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- レスポンシブ：ワイドモニター (1366px以上) --- */
@media (min-width: 1366px) {
  .car-gallery-container {
    grid-template-columns: repeat(3, 1fr); /* 3列表示 */
    max-width: 1200px;
    gap: 15px;
  }
}

/* --- レスポンシブ：スマホ (480px以下) --- */
@media (max-width: 480px) {
  .car-gallery-container {
    gap: 6px;
    padding: 0 5px;
  }
}
 /* =============================================
   メニューボタン
   ============================================= */
  /* 全体コンテナ */
  .nav-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 10px;
  }

  /* 共通ボタン設定 */
  .nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #000;
    color: #333333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  /* ホバー効果 */
  .nav-button:hover {
    background-color: #f9f9f9;
    border-color: #999999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  /* 最上段（1列）の余白調整 */
  .nav-row-single {
    margin-bottom: 15px;
  }

  /* 2列グリッド */
  .nav-grid-double {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* モバイル対応：450px以下で1列に変更 */
  @media (max-width: 450px) {
    .nav-grid-double {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    
    .nav-button {
      font-size: 14px;
      min-height: 45px;
    }

    .nav-row-single {
      margin-bottom: 10px;
    }
  }

/* price card */
.price-table-container{max-width:500px;margin:20px auto;font-family:"Noto Sans JP",sans-serif;color:#333;box-sizing:border-box;padding:0 10px}
.price-header{background-color:#FFB87A;color:#fff;text-align:center;padding:12px;font-size:22px;font-weight:bold;border-radius:15px 15px 0 0}
.price-body{border:1px solid #FFB87A;border-top:none;background-color:#fff}
.price-row{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #eee}
.price-row.highlight{background-color:#FFF0E0}
.price-row:last-child{border-bottom:none}
.price-label{font-weight:bold;font-size:16px}
.price-value{font-weight:bold;font-size:18px;text-align:right}
.price-note{font-size:12px;margin-top:10px;color:#666;text-align:left;line-height:1.4}
@media(max-width:450px){.price-header{font-size:18px;padding:10px}.price-row{padding:10px 15px}.price-label{font-size:14px}.price-value{font-size:15px}.price-note{font-size:11px}}

/* footer */
/* --- 1. フッター基本 (DT) --- */
#custom-footer.footer-container { background-color: #a3e996 !important; color: #333 !important; width: 100%; line-height: 1.4; }
#custom-footer .footer-inner { max-width: 65%; margin: 0 0 0 11%; padding: 30px 20px; display: flex; gap: 30px; align-items: flex-start; }
@media (max-width: 1366px) { #custom-footer .footer-inner { max-width: 73%; margin: 0 0 0 4%; padding: 30px 20px; display: flex; gap: 30px; align-items: flex-start; } }

#custom-footer .footer-bottom { background: #000 !important; color: #fff !important; text-align: center; padding: 12px; font-size: 10px; }
#custom-footer .footer-title { font-size: 15px; font-weight: bold; border-bottom: 1px solid #333 !important; padding-bottom: 5px; margin-bottom: 12px; color: #333 !important; }
#custom-footer .site-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 20px !important; }

/* --- 2. 共通アコーディオン & SNS --- */
.acc-item { border-bottom: 1px dotted rgba(0,0,0,0.15); width: 100%; box-sizing: border-box; }
.acc-trigger { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: bold; font-size: 14px; cursor: pointer; text-decoration: none !important; color: #333 !important; }
.acc-content { height: 0; overflow: hidden; transition: height 0.3s ease-out; }

.grid-links { list-style: none !important; padding: 10px 0 20px 10px !important; margin: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-links a { text-decoration: none !important; color: #333 !important; font-size: 12px; font-weight: bold; display: block; padding: 5px 0; }

.acc-icon { position: relative; width: 12px; height: 12px; display: block; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; background: #333 !important; transition: 0.3s; }
.acc-icon::before { width: 100%; height: 2px; top: 5px; left: 0; }
.acc-icon::after { width: 2px; height: 100%; top: 0; left: 5px; }
.acc-item.is-open .acc-icon::after { transform: rotate(90deg); opacity: 0; }

#custom-footer .sns-btn { margin-bottom: 15px; gap: 10px; display: flex; align-items: center; background: #fff !important; padding: 8px 12px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); width: 100%; max-width: 180px; text-decoration: none !important; color: #333 !important; }

/* --- 3. Fixed Container 制御 --- */
.fixed-container { position: fixed; z-index: 800 !important; left: 50%; bottom: 0px; transform: translateX(-50%); opacity: 0; visibility: hidden; animation: fadeUpSmooth linear both; animation-timeline: scroll(root); animation-range: 0vh 70vh; transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s !important; }
.fixed-container.trm-auto-hide, .fixed-container.trm-menu-hidden { opacity: 0 !important; visibility: hidden !important; transform: translateX(-50%) translateY(100%) !important; pointer-events: none; }
.fixed-container:hover { opacity: 1 !important; visibility: visible !important; transform: translateX(-50%) translateY(0) !important; }

@keyframes fadeUpSmooth { 0%, 50% { opacity: 0; visibility: hidden; margin-bottom: -20px; } 100% { opacity: 1; visibility: visible; margin-bottom: 0px; } }

/* --- 4. モバイル調整 (SP) --- */
@media (max-width: 768px) {
    #custom-footer .footer-inner { flex-direction: column; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; gap: 0 !important; }
    
    /* 各セクションの余白を 20px で統一 */
    .footer-section { width: 100% !important; box-sizing: border-box; }
    .about-column, .sns-column { padding: 25px 20px !important; } /* Site以外は上下に余白 */
    
    #custom-footer .site-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
    #custom-footer .footer-title { background: #8cd97d !important; margin: 0; padding: 15px 20px; color: #333 !important; border-bottom: none !important; }
    
    /* アコーディオンの調整 */
    .acc-trigger { padding: 18px 20px !important; background: #f9fff6 !important; border-bottom: 1px solid rgba(0,0,0,0.05) !important; }
    .grid-links { padding: 15px 20px 25px !important; background: #fff !important; }

    /* SNS横並びの幅調整 */
    .sns-column > div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
    #custom-footer .sns-btn { gap: 10px; margin-bottom: 0; width: auto; flex: 1; min-width: 120px; justify-content: center; }
}

/*===========================
 採用ヘッダー
===========================*/
.recruit-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.recruit-header.is-scrolled {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ==========================
  座談会
========================== */
.talk-session-outer { width: 100%; }
.talk-accordion-item:nth-of-type(odd) { background-color: #fff; }
.talk-accordion-item:nth-of-type(even) { background-color: #F5FBF8; }
.talk-accordion-item { width: 100%; padding: 40px 0; border-bottom: 1px solid #eee; }
.talk-content-inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* 吹き出し型ヘッダー（DT 700x40） */
.talk-question-header {
    width: 700px; height: 40px; background: #fff; border: 1px solid #707070;
    margin: 0 0 30px 0; padding: 0 40px; font-size: 18px; font-weight: 800;
    position: relative; display: flex; align-items: center; box-sizing: border-box;
}
.talk-question-header::before {
    content: ""; position: absolute; bottom: -10px; left: 15px;
    border-style: solid; border-width: 10px 10px 0 0; border-color: #707070 transparent transparent transparent;
}
.talk-question-header::after {
    content: ""; position: absolute; bottom: -8px; left: 16px;
    border-style: solid; border-width: 8px 8px 0 0; border-color: #fff transparent transparent transparent; z-index: 1;
}
.header-icon { display: none; }

/* 会話グリッド（修正箇所：align-itemsを追加せず、デフォルトのstretchを活かす） */
.talk-grid { display: flex; flex-wrap: wrap; gap: 40px; padding: 20px 0; }

/* 修正点：ユニット自体に下線を引く */
.talk-bubble-unit { 
    flex: 0 0 calc(50% - 20px); 
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
    border-bottom: 1px solid #ccc; /* 下線をこちらに移動 */
    padding-bottom: 15px; /* 線までの余白を固定 */
}

/* DTアイコンサイズ 90px固定 */
.talk-icon {
    width: 90px !important; height: 90px !important; min-width: 90px;
    border-radius: 50%; flex-shrink: 0; object-fit: cover;
}

/* 修正点：ここからborder-bottomを削除 */
.talk-text { 
    flex: 1; 
    font-size: 16px; 
    font-weight: 700; 
    line-height: 1.8; 
    margin: 0; 
    /* border-bottom: 1px solid #ccc; ←削除 */
    padding-bottom: 0; 
}

/* SP設定 */
@media (max-width: 768px) {
    .talk-question-header { width: 100% !important; height: auto !important; min-height: 45px; padding: 10px 15px; cursor: pointer; justify-content: space-between; font-size: 12px; }
    .header-icon { display: inline-block; font-size: 12px; transition: 0.3s; }
    .is-open .header-icon { transform: rotate(180deg); }
    .talk-accordion-item:not(.is-open) .talk-content-body { display: none; }
    .talk-bubble-unit { flex: 0 0 100%; gap: 12px; }
    .talk-icon { width: 60px !important; height: 60px !important; min-width: 60px; }
    .talk-text { font-size: 14px; }
}


/* ==========================
  採用：データ
========================== */
.recruit-info-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 1000px; margin: 0 auto; }

/* 230px固定。justify-contentを上詰めに変更して開始位置を固定 */
.info-item { 
    flex: 0 0 calc(33.33% - 14px); 
    height: 230px; 
    border: 6px solid #8ccde3; border-radius: 20px; 
    padding: 20px 10px 10px; box-sizing: border-box; 
    text-align: center; background: #fff;
    display: flex; flex-direction: column; 
    justify-content: flex-start; /* 上詰めに固定 */
    align-items: center;
    overflow: hidden;
}

/* アイコン領域の高さを完全に固定（これで全パネルの開始位置が揃います） */
.info-icon-wrap { 
    height: 60px; 
    width: 100%;
    margin-bottom: 5px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; /* 潰れないように固定 */
}
.info-icon-wrap img { width: 55px; height: auto; object-fit: contain; }

.info-content-wrap { width: 100%; flex-grow: 1; }

/* タイトル領域の高さを固定（これで下の数字の開始位置も揃います） */
.info-label { 
    font-size: 14px; 
    font-weight: 800; color: #000; 
    margin: 0 auto 5px auto; letter-spacing: 0.02em; 
    line-height: 1.2; max-width: 95%; 
    height: 2.4em; /* min-heightではなくheightで固定 */
    display: flex; align-items: center; justify-content: center;
}

/* 数字がはみ出さないよう、サイズと余白を再調整 */
.info-main-val { 
    font-size: 44px; /* 突き出し防止のため48→44へ微調整 */
    font-weight: 900; color: #000; 
    margin: 0; 
    line-height: 1; 
    letter-spacing: -0.05em; 
}
.info-main-val .unit { font-size: 14px; font-weight: 700; margin-left: 10px; }

/* 補足テキスト */
.info-desc { font-size: 12px; font-weight: 700; margin-top: 4px; color: #333; line-height: 1.3; }

/* 複数行項目：事業所などの文字間隔を詰め、枠内に収める */
.info-sub-block { display: inline-block; text-align: left; margin-top: -23px; }
.info-sub-block p { font-size: 12px; font-weight: 700; margin: 0; line-height: 1.2; }
.sub-val { font-size: 40px; font-weight: 900; margin: 0 2px; line-height: 1; }
.sub-unit { font-size: 12px; font-weight: 700; }
.note { font-size: 12px; color: #666; display: block; text-align: right; margin-top: 2px; }

/* --- スマホ設定：2列表示 --- */
@media (max-width: 768px) {
    .recruit-info-grid { gap: 8px; padding: 10px; }
    .info-item { flex: 0 0 calc(50% - 4px); height: 190px; border-width: 4px; border-radius: 15px; padding: 15px 5px 5px; }
    .info-icon-wrap { height: 45px; margin-bottom: 2px; }
    .info-icon-wrap img { width: 40px; }
    .info-label { font-size: 11px; height: 2.4em; margin-bottom: 2px; }
    .info-main-val { font-size: 30px; }
    .info-main-val .unit { font-size: 11px; }
    .sub-val { font-size: 20px; }
    .info-sub-block { margin-top: -2px; }
    .info-sub-block p { font-size: 10px; }
}

/*=====================================
 採用：バナー
======================================*/
.recruit-banner-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* PC時の上段と下段の隙間 */
    align-items: center;
}

/* --- 上段バナー --- */
.banner-top-row.overlap-style {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* 2枚が重なった状態の合計幅を定義（650px + 650px - 重なり100px = 1200px） */
    max-width: 1200px; 
}

.banner-top-row .banner-item {
    flex: 0 1 650px; 
    position: relative;
}

.entry-2026 { z-index: 2; }

.entry-2027 {
    z-index: 1;
    margin-left: -100px; /* 重なり幅 */
}

/* --- 下段バナー --- */
.banner-bottom-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.banner-bottom-row .banner-item.full-width {
    /* 上段の合計幅（1200px）と一致させる */
    max-width: 1200px; 
    width: 100%;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 中画面サイズでの調整 */
@media (max-width: 1366px) {
    /* 650pxが収まらない場合に備え全体を縮小 */
    .banner-top-row.overlap-style,
    .banner-bottom-row .banner-item.full-width {
        max-width: 1000px;
    }
}

/* --- スマホ設定 --- */
@media (max-width: 768px) {
    .recruit-banner-container { 
        padding: 0 15px; 
        gap: 15px; /* 上段と下段の隙間 */
    }
    
    .banner-top-row.overlap-style { 
        flex-direction: column; 
        gap: 15px; /* バナー同士の隙間 */
        max-width: 100%;
    }
    
    .banner-top-row .banner-item {
        width: 100%;
        flex: none;
    }

    .entry-2027 { 
        margin-left: 0; /* 重なり解除 */
    }
    
    .banner-bottom-row .banner-item.full-width {
        max-width: 100%;
    }
}

/* ==========================
   welcab top
========================== */
/* ルート変数で色を管理（変更しやすくするため） */
.welcab-hero {
  --welcab-orange: #f38218;
  --welcab-white: #ffffff;
  
  width: 100%;
  height: 100vh; /* 旧ブラウザ用 */
  height: 100svh; /* モダンスマホ用（アドレスバーを除いた全画面） */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* 1. 写真エリア：画面の余ったスペースをすべて使う */
.welcab-hero__image-box {
  flex: 1;
  background-image: url('/wp-content/uploads/2026/03/welcab_sp.jpg');
  background-size: cover;
  background-position: 58% 20%;
  width: 100%;
}

/* 2. オレンジのコンテンツエリア */
.welcab-hero__content {
  flex-shrink: 0; /* 高さを潰さない */
  background-color: var(--welcab-orange);
  color: var(--welcab-white);
  border-radius: 32px 32px 0 0; /* 上部の丸み */
  margin-top: -30px; /* 写真に少し重ねて一体感を出す */
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); /* 下部の安全圏を確保 */
  z-index: 10;
}

/* 3. レイアウト微調整 */
.welcab-hero__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.welcab-hero__logo {
  flex: 0 0 110px; /* ロゴの幅を固定 */
  background: var(--welcab-white);
  padding: 8px;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

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

.welcab-hero__sub-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px !important;
  margin: 0 0 2px 0;
}

.welcab-hero__main-title {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.welcab-hero__text {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
  text-align: justify;
  margin: 0;
  opacity: 0.95;
}

/* iPhone SEなどの小さな画面（幅375px以下）への最適化 */
@media screen and (max-width: 375px) {
  .welcab-hero__logo {
    flex: 0 0 90px;
  }
  .welcab-hero__main-title {
    font-size: 16px;
  }
  .welcab-hero__text {
    font-size: 12px;
	font-weight: 700;
    line-height: 1.5;
  }
}