@charset "UTF-8";

/* PC以上 */
@media (min-width: 576px) {
  body {
    font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", 
                 "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 
                 "メイリオ", Meiryo, sans-serif;
    line-height: 1.7; 
    color: #333;   
  }
}

/* スマホ */
@media (max-width: 575px) {
  body {
    font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", 
                 "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", 
                 "メイリオ", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333; 
  }
}


 
.text-minchou {
    font-family: "Hiragino Mincho Pro", "Yu Mincho", "MS Mincho", serif;
}
.icon a img { position: relative; z-index: 999;
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.icon a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
/* 文字サイズコントロールの並びと見た目 */
.text-size-controls {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.ts-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: .25rem .6rem;
  border-radius: .375rem;
  font-size: .875rem; /* コントロール自体の文字サイズ */
  line-height: 1.2;
  cursor: pointer;
}

.ts-btn:hover { background: #f7f7f7; }
.ts-btn:focus { outline: 2px solid #2684ff; outline-offset: 2px; }

.ts-btn.is-active,
.ts-btn[aria-pressed="true"] {
  background: #2684ff;
  color: #fff;
  border-color: #2684ff;
}

/* 初期のhtmlフォントサイズ（"中"） */
html { font-size: 100%; }

/* お好みでトランジション（無効化したい場合は削除） */
@media (prefers-reduced-motion: no-preference) {
  html { transition: font-size .12s ease-in-out; }
}






.image-fixed-box {
  width: 100%;
  aspect-ratio: 4 / 3; /* もしくは height: 200px; など */
  overflow: hidden;
  position: relative;
  background-color: #eee;
}

.image-fixed-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



/* すべてのリンクのデフォルトでは下線なし */
a {
  color: #6D6868;
  text-decoration: none!important;
  transition: color 0.3s ease;
}

a.link-underline {
  position: relative;
  color: inherit;
  text-decoration: none; /* 元の下線は消す */
  padding-bottom: 2px;   /* 下線用スペース */
}

a.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px; /* 下線の太さ */
  background: linear-gradient(90deg, #3C3C3C, #999); /* グラデでキラ感 */
  transition: width 0.4s ease, opacity 0.4s ease;
  opacity: 0.7;
}

a.link-underline:hover::after {
  width: 100%;
  opacity: 1;
}

/* スクリーンリーダー専用 */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
/* タップしやすく（任意） */
.call-link{ display:inline-block; line-height:0; padding:8px; }
.call-link img{ display:block; }


/* 共通カスタムボタン */
.btn-custom { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9999px; /* pill型 */
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0.5rem 1.5rem;
}

/* 青ボタン */
.btn-custom-blue {
  background-color: #3644A1; 
  color: #fff;
  border-color: #007bff;
}
.btn-custom-blue:hover {
  background-color: #5A65E1!important;
  color: #fff;
  text-decoration: none;
}

/* 茶色ボタン */
.btn-custom-brown {
  background-color: #7B4045;
  color: #fff;
  border-color: #8B5E3C;
}
.btn-custom-brown:hover {
  background-color: #6b4226;
  color: #fff;
  text-decoration: none;
}

/* 深い緑ボタン */
.btn-custom-green {
  background-color: #3C6B42;
  color: #fff;
  border-color: #1C352D;
}
.btn-custom-green:hover {
  background-color: #1A4E38;
  color: #fff;
  text-decoration: none;
}

/* 矢印アイコン */
.btn-custom .arrow {
  font-size: 1rem;
  margin-left: 0.5rem;
}







.list-group-borderless .list-group-item {
    border: none;
}

.w100 {
	width:100%!important; 
	box-sizing:border-box;
}
.w100_box{
	width:100%!important;
}
.w50 {
	width:50%;
}
.widthauto {
	width: auto;
	margin:0 auto;
}
.center {
	text-align: center !important;
}

/* PDFアイコン（背景画像で制御） */
.pdf li{
  /* ① 画像パス / ② X,Y位置 / ③ 背景サイズ / ④ 繰り返し */
  background: url("/common/images/media_icon.png") 0 50% / 18px 18px no-repeat;
  /* 50%で縦センター。サイズは18→16/20などに調整 */
}
.pdf li a{
  display:inline-block;       /* 複数行でも余白が保たれる */
  line-height:1.6;            /* 行間お好みで */
  padding-left: 28px;         /* = アイコン幅(18) + 余白(10)  */
}

@media (max-width: 575px) {
    .res-table {
        width:100%;
        margin:2em auto;
    }
    .res-table th {
        padding:3px;
        display:block;
    }
    .res-table td {
        padding:5px;
        display:block;
    }
	
} 
@media (min-width: 576px) {
    .res-table th { width: 25%!important;

    }
} 
.table-underline th,
.table-underline td { padding: .55em .1em;
  border-top: 2px solid #636768; /* 上だけ線 */
  border-left: none;
  border-right: none;
  border-bottom: 2px solid #636768; /* 下だけ線 */
}

.table-underline tr:last-child th,
.table-underline tr:last-child td {
  border-bottom: none; /* 最後の行は線なし */
}



/* レスポンシブな字切り */

.text br {
	display: none;
}

@media only screen and (max-width: 764px) {
	.text br {
		display: inline;
	}
	.text span {
		display: none;
	}
}
@media only screen and (max-width: 380px) {
	.text {
		font-size:90%;
	}
}



/* a */

#pageTop {
	position: fixed;
	bottom: 20px;
	right: 20px;
}
#pageTop a {
	display: block; text-decoration: none!important;
	z-index: 300;
	border-radius: 30px;
	width: 35px;
	height: 35px;
	background-color:#08C962;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding:4px 0 0;
}
#pageTop a:hover {
	text-decoration: none;
	opacity: 0.7;
}




/* layout */

.container {
	max-width:1500px !important;
}
.container_mini {
	max-width:1300px !important;
	margin: 0 auto;
}
.container_mini02 {
	max-width:1000px !important;
	margin: 0 auto;
}


.container-fluid {
	padding:0 !important;
}
/* ぱんくず */
.breadcrumb_box_01 {　color: #ffffff !important;
  background-color: #5FC2D8; 
  padding: 1rem 0;
}
.breadcrumb_box_namioka {　color: #ffffff !important;
  background-color: #3644A1; 
  padding: 1rem 0;
}
.breadcrumb_box_hana {　color: #ffffff !important;
  background-color: #7B4045; 
  padding: 1rem 0;
}
.breadcrumb_box_ukima {　color: #ffffff !important;
  background-color: #3C6B42; 
  padding: 1rem 0;
}

.breadcrumb_box a {
  color: #ffffff !important;
  text-decoration: none;
}

.breadcrumb_box span {
  color: #ffffff !important;
  text-decoration: none;
}

#breadcrumb span {
  color: #ffffff !important;
  text-decoration: none;
}

.breadcrumb_box a:hover {
  text-decoration: underline;
  color: #e6e6e6 !important;
}




/* ヘッダー部分 */
.header-bar { width: 100%; }

/* 左：ロゴは縮めない＆高さ固定 */
.header-logo { flex: 0 0 auto; }
.site-logo { height: 45px; width: auto; display: block; flex-shrink: 0; }

/* parts-a（通常表示） */
.parts-a {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
  color: #fff !important;
  font-size: 12px;
}

/* 1200px未満のとき非表示 */
@media (max-width: 1199px) {
  .parts-a {
    display: none!important;
  }
}

.parts-a a { color: #fff!important;}
/* 右：アイコン＋トグルは固定幅扱いで縮めない */
.right-controls,
.header-boxes,
.header-toggle,
.blue_box01 { flex: 0 0 auto; }

/* （任意）パーツA内の体裁 */
.parts-a-left { flex: 0 0 auto; }
.parts-a-right { flex: 1 1 auto; min-width: 0; }




/* 3ボックス全体：左右余白を持たせない */
.header-boxes {
  margin: 0;          /* 親のd-flex列内で外側余白をゼロに */
  padding-right: 0;   /* 右端をトグル<nav>に密着させるため */
}

/* 各ボックス：等幅・行内余白は必要に応じて調整 */
.header-boxes .hb-item {
  height: 65px;                 /* ロゴ高さに合わせる（必要に応じて変更） */
  text-decoration: none;
  white-space: nowrap;

}

/* 先頭のみ左枠線を消す */
.header-boxes .hb-item:first-child {

}

/* トグル<nav>の左パディングを完全に0に（念のための保険） */
.navbar.header-toggle {
  padding-left: 0;
}

/* =========================
   グローバルナビ（.gnavi02）
   モバイル優先 → PC上書き
   ========================= */

/* ベース */
.gnavi02 {
  width: 100%;
  padding: 1.3rem 1rem .5rem;
  background-color: #EFF6F8;
}

/* 横並び・間隔・高さ（SPでは横並びでもOKならこのまま。縦積みにしたい場合は後述） */
.gnavi02-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: .75rem 0;
  margin: 0;
  list-style: none;
}

/* リンクの基本色＋下線アニメ基準 */
.gnavi02 .nav-link {
  position: relative;          /* ::before の基準 */
  font-weight: 600;
  color: #0b6fa9;
  padding: .25rem 0;
  text-decoration: none;
}

/* ホバー・フォーカス色（アクセシビリティ考慮） */
.gnavi02 .nav-link:hover,
.gnavi02 .nav-link:focus {
  color: #075a88;
  text-decoration: none;
}

/* CTAだけ色変更 */
.gnavi02 .nav-link.cta { color: #b57f00; }
.gnavi02 .nav-link.cta:hover { color: #966900; }

/* ▼マーク（dropdown専用） */
.gnavi02 .dropdown-toggle::after {
  display: inline-block;
  margin-left: .25em;
  vertical-align: .25em;
  content: "";
  border-top: .3em solid;      /* ▼三角 */
  border-right: .3em solid transparent;
  border-left: .3em solid transparent;
}

/* 下線アニメーション */
.gnavi02 .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 4px;
  background: #0b6fa9;
  border-radius: 2px;
  pointer-events: none;
  transition: width .3s ease;
}
.gnavi02 .nav-link:hover::before,
.gnavi02 .nav-link:focus::before,
.gnavi02 .nav-link.active::before,
.gnavi02 .current-menu-item > a::before {
  width: 64px;
}

/* ドロップダウンの見た目（挙動はBootstrapに任せる） */
.gnavi02 .dropdown-menu {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-top: .5rem;
  border-radius: 0;
  /* display / position はここでは指定しない（重要） */
}
.gnavi02 .dropdown-item {
  color: #333;
  font-weight: normal;
  padding: .5rem 1rem;
}
.gnavi02 .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* =========================
   モバイル（～991.98px）
   Bootstrapの標準挙動（.show）を尊重
   ========================= */
@media (max-width: 991.98px) {
  /* 初期は非表示、.show で表示（!importantは極力使わない） */
  .gnavi02 .dropdown-menu { display: none; position: static; }
  .gnavi02 .dropdown-menu.show { display: block; }

}

/* =========================
   PC（992px～）
   ホバーで開く挙動を追加
   ========================= */
@media (min-width: 992px) {
  .gnavi02 .dropdown { position: relative; }
  .gnavi02 .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  .gnavi02 .dropdown:hover > .dropdown-menu {
    display: block;
  }
}


/* 擬似下線がタップを邪魔しない安全策 */
.gnavi02 .nav-link { position: relative; }
.gnavi02 .nav-link::before { pointer-events: none; }



.white_box01 {
  background-color: #fff;
  padding: .55em 2.2em;
  border-radius: 0px; /* 角を丸くする */
}
.white_box02 {
  background-color: #fff;
  padding: 1.5em 2.2em;
  border-radius: 8px; /* 角を丸くする */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ふんわりした影 */
}
.white_box03 {
  background-color: #fff; border: 1px solid #707070;
  padding: .55em .75em;
  border-radius: 4px; /* 角を丸くする */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ふんわりした影 */
}

.blue_box01 { 
  background-color: #007FC1;
  padding:0;
} 

.top_box01 {
  background-color: #5FC2D8;
  padding: .55em;
} 

.top_box_hitsuji {
  background-color: #3C6B42;
  padding: .55em;
} 

.top_box_hana {
  background-color: #7B4045;
  padding: .55em;
} 

.top_box_namioka {
  background-color: #3644A1;
  padding: .55em;
} 

.top_box02 {
  background-color: #fff;
  background-position: bottom;
  background-image: url("/common/images/top_box.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: .55em;
}
.top_box03 {
  background-color: #fff;
  background-position: bottom;
  background-image: url("/common/images/top_box03.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: .55em;
}

.recruit_box01 { z-index: 1;
  background-color: #F1DAB7; position: relative;
  padding: 0 .55em;
}

.recruit_box01 a { z-index: 500;
}

.top_box02_namioka {
  background-color: #EDF6F3;
  padding: 1em 1.2em;
} 

.top_box02_hana {
  background-color: #F6EDED;
  padding: 1em 1.2em;
} 

.top_box02_ukima {
  background-color: #EDEDF6;
  padding: 1em 1.2em;
} 




/* header */
.under-h1 {min-height: 60px; background-color: #4F919F;
background-repeat: no-repeat;
 background-size: cover; padding: 1.3rem 1rem;
}
.under-h1_namioka {min-height: 60px; background-color: #fff;
background-image: url("/common/images/namioka_bg.jpg");  background-size: cover; 
background-repeat: no-repeat; padding: 1.3rem 1rem;
}

.footer_box01 {
  background-position: bottom;
  position: relative;   /* フッターを基準に */
  overflow: hidden;     /* フッター外にはみ出したGIFを隠す */
  background-color: #EDF6F4;
  background-image: url("/common/images/footer_box.jpg");
  background-size: cover;
  padding: 1rem;
}

/* 車椅子用ラッパー（my-3とは分離） */
.wheelchair-area {
  position: relative;   /* 車椅子の基準にする */
  overflow: hidden;     /* 横にはみ出したら隠す */
   height: 150px;        /* 車椅子の画像に合わせて余裕を持たせる */
}

/* 車椅子ラッパー */
.wheelchair-wrapper {
  position: absolute;
  bottom: 0;            /* 親の中で下に配置 */
  left: 100%;           /* 右外からスタート */
  width: 120px;         /* 車椅子サイズ */
  animation: wheelchair-move 30s linear infinite;
  z-index: 10;
}

/* 車椅子画像 */
.wheelchair-img {
  width: 100%;
  height: auto;
}

/* アニメーション：右 → 左 */
@keyframes wheelchair-move {
  0%   { left: 100%; }
  100% { left: -150px; }
}




.custom-footer-logo {
  margin-right: 0;
  padding-right: 0;
}
.img-fit {
  display: block;
  width: 100%;
  height: auto;
}

.d-flex.no-gutters a {
  flex: 1;
  margin: 0;
  padding: 0;
}


footer {
  color: #1B1B1C;
  padding: 2em 0;
  background-color: transparent;
}

footer a {
  color: #1B1B1C;
}


    #copyright {
        text-align: center;
    }
 

/* h1 */
h1.h101 {
    font-weight: bold;
  text-align: center;      /* 中央揃え */
  color: #fff;  
}
h1.h101 span {
    font-weight: bold; display: block; 
  text-align: center;      /* 中央揃え */
  color: #fff; 
}


/* h2 */
h2.h201 {
  color: #1087C5;
  text-align: center;      /* 中央揃え */
  font-weight: bold;       /* 太字 */
}
h2.h201 span {
  color: #1087C5; display: block; 
  text-align: center;      /* 中央揃え */
  font-weight: bold;       /* 太字 */
}
/* 見出し本体 */
h2.h202{
  color:#1087C5;
  font-weight:bold;
  margin:2rem 0;
  display:flex;                /* ← 可変レイアウトに */
  align-items:center;
  justify-content:center;
  gap:1rem;                    /* 文字と線の基本間隔 */
  position:relative;
  text-align:center;
}

/* 左右の横線：テキスト量に応じて縮む */
h2.h202::before,
h2.h202::after{
  content:"";
  flex:1 1 0;                  /* ← 可変幅 */
  height:4px;
  background:#1087C5;
}
h2.h202::before{ margin-right:1rem; }
h2.h202::after { margin-left:1rem;  }

/* タイトル文字と括弧 */
h2.h202 span{
  display:inline-block;
  position:relative;
  white-space:nowrap;          /* 改行で崩れないように */
  padding:0 .25rem;
}
h2.h202 span::before{ content:"【"; margin-right:.3rem; }
h2.h202 span::after { content:"】"; margin-left:.3rem; }

/* 文字量や画面幅が極端に狭い時は線を少し細くする例（任意） */
@media (max-width:576px){
  h2.h202{ gap:.5rem; }
  h2.h202::before,
  h2.h202::after{ height:3px; }
}

h2.h203 {
  color: #1087C5;
  text-align: center;
  font-weight: bold;
  position: relative;
  margin: 2rem 0;
  padding: 0.5rem 0;          /* 上下の余白 */
}

/* 上の線 */
h2.h203::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;               /* 線の太さ */
  background: #1087C5;
}

/* 下の線 */
h2.h203::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #1087C5;
}
h2.h204 {
  text-align: center;      /* 中央揃え */
  font-weight: bold;       /* 太字 */
  background-color: #7A3E42; /* ブラウン背景（画像に近い色） */
  color: #fff;             /* 白文字 */
}



/* h3 */

h3.h301 {
    font-weight: bold;
    color: #FB0A54;
    padding: .25em .75em;
}


/* h4 */

h4.h401 {
    font-weight: bold;
    color: #541B86;
    border: 1px solid #541B86;
    border-radius: 35px;
    padding: .25em .75em;
    text-align: center;
}



/* 装飾 */
.white{
	color:#fff!important;
}
.blueb {
  color: #007FC1; /* ブルー */
  font-weight: bold;
}
.red{
	color:#C63137;
}
.namioka {
  color: #3644A1; 
  font-weight: bold;
}
.hana {
  color: #7B4045; 
  font-weight: bold;
}
.ukima {
  color: #3C6B42; 
  font-weight: bold;
}

.p-4 {
	font-size: 85%!important;
}
p {
	margin-bottom:0 !important;
}

.f70 {
		font-size:.70em;
	}
.f12 {
		font-size:.70em;
	}
ul {
    list-style: none;
	margin:0 !important;
	padding:0 !important;
}
ol {
	margin:0 0 0 1.5em !important;
	padding:0 !important;
}
ul li {
	margin:0 !important;
	padding:0 !important;
}
ol li {
	margin:0 !important;
	padding:0 !important;
}
.dan {
	padding-left:1em;
	text-indent:-1em;
}
.dan02 {
	padding-left:1em;
}

@media (max-width: 575px) {

.bg-red {
  background-color: #FFFFFF;
}

.bg-red a { 
}
.overlap-spacer02{
  height: 80px; /* 余白 */
}

.wave-svg{ height:120px!important; }              /* 波の高さを半分に */
.wave-front{ transform:translateY(-6px); } /* 揺れ幅も少し控えめに */
.wave-back{  transform:translateY(-2px); }
.carousel-box {
  z-index: 3;
  position: absolute;
  top: 8%;        /* 上からの位置はそのまま */
  left: 50%;      /* 中央基準 */
  transform: translateX(-50%); /* 自分の幅分だけ中央に補正 */
  width: 250px;   
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.carousel-box02 {
  z-index: 3;
  position: absolute;
  top: 8%;        /* 上からの位置はそのまま */
  left: 50%;      /* 中央基準 */
  transform: translateX(-50%); /* 自分の幅分だけ中央に補正 */
  width: 250px;   
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.carousel-box03 {
  width: 250px;   
}

  .overlap-img-box {
    margin-top: -30px;
    padding-bottom: 1rem; /* 好みで調整してください */
  }
  .overlap-img-box02 {  z-index: 3;
  position: absolute;
    margin-top: -60px;
    padding-bottom: 1rem; /* 好みで調整してください */
  }
  .overlap-img-box03 {  z-index: 3;
  position: absolute; pointer-events: none !important; 
    margin-top: -260px;
    padding-bottom: 1rem; /* 好みで調整してください */
  }
 /* 車の画像 */
.car-img {   bottom: -30px;
  width: 30px;      /* 車の幅 */
}
.footer-nav {
width: 100%;
}

	.center {
		text-align: left !important;
	}
	footer {
		font-size: 80%;
	}
	.container {
		padding:0 15px !important;
	}
	.container_mini {
		padding:0 0px !important;
	}
	.row {
		margin-right: -15px;
		margin-left: -15px;
	}

    .res-table {
        width:100%;
    }
    .res-table th {
        display:block;
    }
    .res-table td {
        display:block;
    }
	.w50 {
		width:100%;
	}
	.w75 {
		width:90%;
	}
.f20{ font-size: 1.2em; font-weight: bold;
}
.f40{ font-size: 1.3em; font-weight: bold;
}
.f60{ font-size: 1.4em; font-weight: bold; 
}
h1.h101 {
		font-size:1.3em; 
		text-align: center; 
	}
h1.h101 span {
	
		text-align: center;
	}

	h2.h201 {
		font-size:1.3em;  padding: .15em;
		text-align: center; 
	}
	h2.h201 span {
		font-size:.70em;
		text-align: center;
	}
 	h2.h202 {
		font-size:1.3em;  padding: .15em;
		text-align: center; 
	}
 	h2.h203 {
		font-size:1.3em;  padding: .15em;
		text-align: center; 
	}
 	h2.h204 {
		font-size:1.3em;  padding: .15em;
		text-align: center; 
	}
	h3.h301,h3.h301g {
		font-size:1.2em;
		font-weight: bold;
	}

	h4.h401 {
		font-size:1.1em;
		font-weight: bold;
	}

}


@media (min-width: 576px) {

.bg-red {
  background-color: #5FC2D8!important;
}

.bg-red a { 
}
.overlap-spacer02{
  height: 250px; /* 余白 */
}

.carousel-box {z-index: 3;
  position: absolute;
  top: 8%;     /* 上からの位置 */
  right: 5%;       /* 右からの位置 */
  width: 250px;    /* ボックス幅（調整OK） */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* ほんのり影 */
  border-radius: 8px; /* 角を丸くする */
}
.carousel-box02 {z-index: 3;
  position: absolute;
  top: 8%;     /* 上からの位置 */
  right: 5%;       /* 右からの位置 */
  width: 440px;    /* ボックス幅（調整OK） */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* ほんのり影 */
  border-radius: 8px; /* 角を丸くする */
}
.overlap-img-box { position: absolute;  pointer-events:none; z-index:3;
  margin-top: -100px; height: 300px;
}
 .btn-layer{ position:relative; z-index:50; }
.overlap-img-box02 { position: absolute; z-index: 1;
  margin-top: -210px; height: 400px;
}
.overlap-img-box03 { position: absolute; z-index: 2;
  margin-top: -310px; height: 400px; pointer-events: none !important; 
}
/* 車の画像 */
.car-img {
  width: 120px;      /* 車の幅 */   bottom: 0;
}
.footer-nav {
  max-width: 500px; /* 適宜調整ください */
}

	h1.h101 { 
		font-size:2.8rem;
		text-align: center;
	}

h1.h101 span {
		font-size:25px;
		text-align: center;
	}
	h2.h201 { padding: .25em .75em;
		font-size:32px;
		text-align: center;
		min-height: 50px;
	}

	h2.h201 span {
		font-size:15px;
		text-align: center;
	}
	h2.h202 { padding: .25em .75em;
		font-size:32px;
		text-align: center;
		min-height: 50px;
	}
	h2.h203 { padding: .25em .75em;
		font-size:32px;
		text-align: center;
		min-height: 50px;
	}
	h2.h204 { padding: .25em .75em;
		font-size:32px;
		text-align: center;
		min-height: 50px;
	}
	h3.h301,h3.h301g {
		font-size:28px;
		text-align: left;
	}

	h4.h401 {
		font-size:20px;
		text-align: left;
	}
.f20{ font-size: 26px; font-weight: bold;
}
.f40{ font-size: 36px; font-weight: bold;
}
.f60{ font-size: 46px; font-weight: bold;
}

}



.navbar-dark .navbar-toggler {
  color: #fff; /* アイコンの色を完全な白に */
  border: none; /* ボーダーを完全になくす */
}
.navbar-toggler { 
  background-color: #007FC1; /* 背景色（お好みで） */
  border: none;
  width: 57px;
  height: 57px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* 親のボタンラッパーを中央揃え */
.menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent; /* 背景いらない場合 */
  padding: 0;
}

/* ハンバーガーアイコンボタンを丸く */
.navbar-toggler {
  background-color: #007FC1;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}



.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.menu-text {
    font-size: 0.65rem; /* 文字を小さめに */
    font-weight: bold; /* 少し目立たせる */
    text-transform: uppercase; /* すべて大文字（好みで） */
    letter-spacing: 0.5px; /* 少し文字間をあける */
}

.menu_li li {
  font-size: 1.1em;
  font-weight: bold;
  padding: 1.2em 0 !important;
  line-height: 1.8; /* ← 行間を広げて、上下にゆとりを持たせる */
  border-bottom: 1px solid #2B2929;
}


@media (min-width: 1200px) {
  .navbar-collapse { padding: 10px;
    position: absolute;
    top: 100%; /* ヘッダーの下に表示 */
    right: 0;
    min-width: 900px; /* メニューの幅は任意で */ 
    background-color: #fff; /* 背景色は任意で */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none; /* 最初は非表示 */
  }

  .navbar-collapse.show {
    display: block; /* ボタンを押したら表示 */
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}




.carousel-item img {
    animation: scaleAnimation 10s ease-in-out infinite; /* アニメーションの設定 */
    transform-origin: center; /* 拡大の基点を中央に設定 */
    filter: brightness(1); /* 明るさを通常に保つ */
   mix-blend-mode: normal; /* 通常の表示に戻す */
}

/* アニメーションの定義 */
@keyframes scaleAnimation {
    0% {
        transform: scale(1); /* 通常サイズ */
    }
    100% {
        transform: scale(1.08); /* 拡大サイズ */
    }
}
/* 車のラッパー：カルーセルの中で下に固定 */
.car-wrapper {
  position: absolute;
  bottom: 10px;     /* カルーセルの下からの位置。調整OK */
  left: 0;
  width: 100%;
  height: 100px;    /* 車の高さ分だけ確保 */
  pointer-events: none; /* 車がクリック邪魔しない */
}

/* 車の画像 */
.car-img { z-index: 999;
  position: absolute;
  left: 100%;        /* 最初は右外 */
  animation: car-move 120s linear infinite;
}

/* アニメーション（右→左→右） */
@keyframes car-move {
  0%   { left: 100%; }
  50%  { left: -150px; }
  50.1%{ left: -150px; }
  100% { left: 100%; }
}





/* 背景（写真） */
.hero{ z-index: 1;
  position: relative;
  overflow: hidden;
}
/* スマホだけヒーローを短くする（～575px） */
@media (max-width: 575px) {
  .hero{
    min-height: 250px !important; 
    overflow: hidden;              
  }
}
@media (min-width: 576px) {
  .hero{
    min-height: 450px !important; 
    overflow: hidden;              
  }
}

/* 背景（写真） */
.hero02{ z-index: 1;
  position: relative;
  overflow: hidden;
}
/* スマホだけヒーローを短くする（～575px） */
@media (max-width: 575px) {
  .hero02{
    min-height: 250px !important; 
    overflow: hidden;              
  }
}
@media (min-width: 576px) {
  .hero02{
    min-height: 650px !important; 
    overflow: hidden;              
  }
}

.hero__bg{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/namioka_bg.jpg') top center/cover no-repeat;
  z-index: 0;
}
.hero__bg_namioka_01 {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/92.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero__bg_hana_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/hana_bg.jpg') top center/cover no-repeat;
  z-index: 0;
}
.hero__bg_hana_02{ 
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/hana_bg02.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero__bg_ukima_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/ukima_bg.jpg') top center/cover no-repeat;
  z-index: 0;
}
.hero__bg_ukima_02{ 
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/ukima_bg02.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero__bg_nanbu_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/kisarazu-nanbu_bg.png') top center/cover no-repeat;
  z-index: 0;
}


.blog__bg_namioka_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/arcive_namioka.png') bottom center/cover no-repeat;
  z-index: 0;
}

.blog__bg_hana_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/arcive_hana.png') bottom center/cover no-repeat;
  z-index: 0;
}

.blog__bg_ukima_01{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/common/images/arcive_ukima.png') bottom center/cover no-repeat;
  z-index: 0;
}



/* 波（SVGを下揃えに重ねる） */
.wave-svg{　display:block; line-height:0; 
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 240px;       /* 白い下地の高さ */
  z-index: 18;
  overflow: visible;   /* 波の上下ゆらぎを許容 */
}

/* 手前・奥の波：配置差分とアニメ */
.wave-front{
  transform: translateY(-12px); /* 凹みを少し深く見せる */
  animation: waveBob 8s ease-in-out infinite; /* 上下ゆらぎ */
}
.wave-back{
  opacity: .9;
  transform: translateY(-4px);
  animation: waveBobBack 30s ease-in-out infinite;
}

/* 横スクロール（帯を左へ） */
.wave-front use, .wave-back .wave-track{
  animation: waveScroll 40s linear infinite;
}
.wave-back .wave-track{
  animation-duration: 50s; /* 奥はゆっくり */
}

/* ===== キーフレーム ===== */
@keyframes waveScroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(-1200px); } /* 1タイル(=viewBox幅)分だけ左へ */
}
@keyframes waveBob{
  0%,100%{ transform: translateY(-6px); }
  50%    { transform: translateY(-2px); }
}
@keyframes waveBobBack{
  0%,100%{ transform: translateY(-4px); }
  50%    { transform: translateY(2px); }
}

/* フレックス子要素が縮められるように */
.form-inline .form-control { min-width: 0; max-width: 100%; }
.form-inline { flex-wrap: wrap; } /* 念のため明示 */



/* ===== PC共通：ホバーで開く（全ナビ共通） ===== */
@media (min-width: 992px) {
  .navbar .dropdown { position: relative; }
  .navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
}

/* ===== モバイル共通：クリックで開閉（Bootstrap4既定を優先） ===== */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu { position: static; }               /* 折りたたみ内は static が安定 */
  .navbar .dropdown-menu.show { display: block !important; } /* .show で必ず表示 */
}

/* ===== 安全策（共通） ===== */
.navbar { position: relative; z-index: 2000; }               /* かぶり対策 */
.navbar .nav-link { position: relative; }                    /* 疑似下線の基準 */
.navbar .nav-link::before { pointer-events: none; }          /* 疑似下線でタップ阻害しない */



/* === モバイル専用（～991.98px）: Bootstrap JSなしで開閉 === */
@media (max-width: 991.98px) {
  /* 折りたたみ内のドロップダウンは flow 配置が安定 */
  #__navbarSp__ .dropdown-menu {
    display: none !important;   /* まずは必ず非表示（既存CSSを打ち消す） */
    position: static !important;
    margin: .25rem 0 0 0;
    border-radius: 0;
  }
  /* クリックで .is-open が付いた親のメニューだけ表示 */
  #__navbarSp__ .nav-item.dropdown.is-open > .dropdown-menu {
    display: block !important;
  }

  /* タップしやすさ（任意） */
  #__navbarSp__ .nav-link { padding: .75rem 1rem; }
  #__navbarSp__ .dropdown-item { padding: .6rem 1rem; }

  /* 擬似下線などがタップを邪魔しないように（安全策） */
  #__navbarSp__ .nav-link { position: relative; }
  #__navbarSp__ .nav-link::before { pointer-events: none; }
}

/* ヘッダーが他要素に隠れないように（必要なら） */
.navbar { position: relative; z-index: 2000; }



/* 左寄せ画像 */
img[align="left"] {
  float: left;
  margin: 0 15px 15px 0; /* 右と下に余白をつける */
}

/* 右寄せ画像 */
img[align="right"] {
  float: right;
  margin: 0 0 15px 15px; /* 左と下に余白をつける */
}

/* 中央寄せ画像 */
img[align="middle"], img[align="center"] {
  display: block;
  margin: 0 auto; /* 自動で左右中央寄せ */
}


