@charset "UTF-8";
@media (min-width: 576px) {
  body {
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "MS P明朝", serif;
    font-size: 18px;
    line-height: 1.6;
    color: #6D6868;
  }
}

@media (max-width: 575px) {
  body {
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "MS P明朝", serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6D6868;
  }
}

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

.icon a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.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 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a.link-underline:hover {
  color: #3C3C3C;
  text-decoration-color: #3C3C3C;
}





.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 li { background:url("/common/images/pdf.gif") 0 3px no-repeat; }
.pdf li a { padding-left: 25px; }
  .res-table th {
    background-color: #BEE5EB; 
    font-weight: bold;
  }
  .res-table td ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
.bg-dark .res-table,
.bg-dark .res-table td,
.bg-dark .res-table th,
.bg-dark .res-table a {
  color: #FFD700 !important;
  font-weight: bold;
  font-size: 1.1em;  /* 少し大きめに */
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.7); /* ぼんやり光る感じ */
}
@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%;

    }
} 


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

.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;
}


/* worksのパンくず */

#breadcrumb.special-breadcrumb {
  margin-top: -60px !important; /* ← ここが飛び出す処理 */
  display: flex;
  align-items: center;
  gap: 0.5em; /* パンくず同士の余白 */
  flex-wrap: wrap;
  padding: 0em;
  background-color: transparent;
  color: #fff !important;
}


/* ボタン風 */
#breadcrumb.no-arrow span::after {
  display: none !important;
}
#breadcrumb.special-breadcrumb span[property="itemListElement"] a {
  display: inline-block;
  padding: 0.75em 3em;
  color: #fff;
  text-decoration: none; margin-left: -20px!important;
  font-weight: bold;
}
#breadcrumb.special-breadcrumb .current-item{padding-left: 10px;  display: inline-block;
  padding: 0.75em 3em; margin-left: -20px!important;
  color: #fff;
  text-decoration: none;
  font-weight: bold;  background-color: #2A2D75;
}
#breadcrumb.special-breadcrumb span[property="itemListElement"] a {
  transition: background-color 0.3s ease;
}

/* 位置ごとに色変更（調整中なら一時的にここだけ有効） */
#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(1) a {
  background-color: #08C962; margin-left: 0px!important;
}
#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(2) a {
  background-color: #2978cf;
}
#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(3) a {
  background-color: #2A2D75;
}
#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(1) a:hover {
  background-color: #27db79; /* #08C962 より少し明るめの緑 */
}

#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(2) a:hover {
  background-color: #4790db; /* #2978cf より少し明るめの青 */
}

#breadcrumb.special-breadcrumb span[property="itemListElement"]:nth-of-type(3) a:hover {
  background-color: #3c4aa0; /* #2A2D75 より少し明るめのネイビー */
}




/* 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;
}





.top_box01 {min-height: 100px;
background-image: url("/common/images/top_back01.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.white_box01 {
  background-color: #fff;
  padding: 2em 1em;
  margin-top: -50px;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -0.2px 10px rgba(0, 0, 0, 0.15);
} 

.works_box01 { min-height: 100px;
background-image: url("/common/images/works_back01.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 2.2em 1em;
}

.blue_box01 {
  background-color: #2A2D75; padding: 1.6em 1em;
}
.green_box02 {
  background-color: #083E21; 
background-image: url("/common/images/top_back02.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.green_box02 a {
  color: #fff;
  text-decoration: none;
  transition: all 0.4s ease;
  font-weight: 500;
  display: inline-block;
}

/* ::afterをpタグに移動 */
.green_box02 a p {
  position: relative;
  display: inline-block;
}

.green_box02 a p::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #083E21, #ffffff);
  transition: width 0.6s ease;
}

.green_box02 a:hover p::after {
  width: 100%;
}

.green_box02 a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #083E21, 0 0 20px #00aaff;
}



/* header */
.under-h1 {min-height: 100px;
background-image: url("/common/images/works_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 2.6em 1em;
}
.under-h1news {min-height: 100px;
background-image: url("/common/images/works_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 2.6em 1em;
}
.under-h1works {min-height: 100px;
background-image: url("/common/images/works_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1company {min-height: 100px;
background-image: url("/common/images/company_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1recruit {min-height: 100px;
background-image: url("/common/images/recruit_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1contact {min-height: 100px;
background-image: url("/common/images/contact_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1recruit_contact {min-height: 100px;
background-image: url("/common/images/recruit_contact_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1privacy {min-height: 100px;
background-image: url("/common/images/privacy_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}
.under-h1sitemap {min-height: 100px;
background-image: url("/common/images/sitemap_h1.jpg");
background-position: top center;
background-repeat: no-repeat;
 background-size: cover; padding: 1.6em 1em;
}

.nav-linkb {
  position: relative;
  display: inline-block;
  color: #1C1818;/* 黒文字 */
  text-decoration: none;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.nav-linkb::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #00cc66; /* 黄緑（お好みで調整可） */
  transition: width 0.3s ease;
}

.nav-linkb:hover::after {
  width: 100%;
}

.nav-linkb:hover {
  color: #1C1818;/* hover時も文字色そのまま（変えたい場合は調整可） */
}
.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 9999px; /* pill型 */
  background-color: #fff;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
  background-color: #f5f5f5;
  color: #1C1818;text-decoration: none;
}

.btn-custom .arrow {
  font-size: 1rem;
}

.btn-custom02 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border: 1px solid #707070; /* フチの色を変更 */
  border-radius: 4px; /* pill型角丸 */
  background-color: #08C962; /* 背景色変更 */
  color: #fff; /* 白文字にして視認性アップ */
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-custom02:hover {
  background: linear-gradient(45deg, #08C962, #33ffcc); /* 派手なグラデーション */
  color: #000; /* 黒文字でアクセント */
  box-shadow: 0 0 10px #08C962, 0 0 5px #fff; /* 光るようなシャドウ */
  transform: scale(1.05); /* 少し拡大して動きを出す */
  text-decoration: none;
}

.btn-custom03 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border: 1px solid #707070; /* フチの色 */
  border-radius: 4px; /* 角丸 */
  background-color: #1E828D; /* 背景色 */
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-custom03:hover {
  background-color: #133B44; /* 深みのある重たい色に */
  color: #FFD700; /* ゴールド系で強調 */
  box-shadow: inset 0 0 5px #707070, 0 0 8px #1E828D; /* 内側からの輝き＋外のグロー */
  transform: scale(1.03) translateY(-2px); /* 浮き上がるような動き */
  text-decoration: none;
}


.btn-custom04 {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25em 2.3em 0.25em .75em; /* 右側を広めにして矢印がはみ出る余白を確保 */
  background: linear-gradient(180deg, #15AF43, #04390D);
  color: #fff;
  font-weight: bold;
  font-size: .90em;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.8s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: visible; /* はみ出しOKにする */
}

.btn-custom04:hover { color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.btn-custom04 .arrow {
  position: absolute;
  top: 50%;
  right: 0; /* ボタンからちょい出し */
  transform: translateY(-55%); /* 上に乗ってるように見せる */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: #fff;
  color: #1e40af;
  font-size: .75em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}


.btn-custom04:hover .arrow {
  background-color: #e0f2f1;
  color: #0f766e;
}


.term-button-wrap .btn-custom05 {
  flex: 0 0 auto;
  width: auto;
}

/* ボタンを横2つに並べる（スマホ時） */
@media (max-width: 767px) {
  .term-button-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .term-button-wrap .btn-custom05 {
    flex: 0 0 calc(50% - 0.5rem); /* 2列分 */
    margin-bottom: 0.75rem;
    text-align: center;
  }
}


.btn-custom05 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 9999px;
  background-color: #fff;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap; /* 改行させない */
}


.btn-custom05:hover {
  background-color: #f5f5f5;
  color: #1C1818;text-decoration: none;
}

.btn-custom05 .arrow {
  font-size: 1rem;
}


.btn-custom06 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 8px; /* あっさりめの角丸 */
  background-color: #08C962; /* グリーンの背景 */
  color: #fff; /* 文字は白 */
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom06:hover {
  background-color: #388e3c; /* 少し濃いグリーンに変化 */
  color: #fff;
  text-decoration: none;
}

.btn-custom06 .arrow {
  font-size: 1rem;
}






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

   .btn-like {
        display: inline-block;
        padding: 5px 15px;
        background: #08C962;
        color: #FFF;
        border: 1px solid #FFF;
        border-radius: 15px;
        text-decoration: none;
        text-align: center;
    }

    .btn-like:hover {
        background: #FFF;
        color: #08C962;
        transition: all 0.3s ease;
    }

    #copyright {
        text-align: center;
    }
    
.newsli{ padding: -5px 5px; border-bottom: 1px solid #efefef; padding-bottom: -15px!important;
    }   

/* h1 */
h1.h101 {
    font-weight: bold;
  text-align: center;      /* 中央揃え */
  color: #fff;  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 黒のドロップシャドウ */
}
h1.h101 span {
    font-weight: bold; display: block; 
  text-align: center;      /* 中央揃え */
  color: #fff; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* 同様に影をつける */
}


/* h2 */
h2.h201 {
  color: #373636;/* 黒い文字 */
  text-align: center;      /* 中央揃え */
  font-weight: bold;       /* 太字 */
}
h2.h201 span {
  color: #373636; display: block; 
  text-align: center;      /* 中央揃え */
  font-weight: bold;       /* 太字 */
}
h2.h202 {
    font-weight: bold;
  text-align: center;      /* 中央揃え */
  color: #fff;
}
h2.h202 span {
    font-weight: bold; display: block; 
  text-align: center;      /* 中央揃え */
  color: #fff;
}
h2.h203 { 
  color: #373636;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 20px; padding-top: 20px;
  margin: 0 auto 60px!important;
  max-width: 100%;
}

h2.h203::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; 
  height: 2px;
  background-color: #373636;
  z-index: -1; /* 文字の後ろにくるように */
}
h2.h204 {
    font-weight: bold; background: #2A2D75; padding: .75em 1em;
  text-align: center;      /* 中央揃え */
  color: #fff;
}


/* h3 */

h3.h301 {
    font-weight: bold;
    background-color: #EBD6A6;
    color: #08C962000;
    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: #007bff; /* ブルー */
  font-weight: bold;
}
.red{
	color:#C63137;
}
.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) {
  .green_box01 {
    display: block;   background-color: #08C962;
    padding: 2em 1em; /* スマホ時は余白を内側に調整 */
  }

  .white_news_box {background-color: #fff;   padding: 2em 1.5em;
    position: static; /* 重ねるのを解除して通常の文脈で表示 */
    width: 100% !important;
    margin: 2em auto 0 auto; /* 上に余白をつけて下段に */
  }
.white_box01 {
  margin-top: -50px; /* はみ出し具合を調整（-80〜-120pxがオススメ） */
}
.works_box01 {margin-bottom: 20px!important;
}

.caption-text{ color: #fff!important;
  font-size: 12px!important;
}
.btn-custom ,.btn-custom05 {
  font-size: 8px!important;   padding: .25em 1.5em;
}
.btn-custom05 { width: 45%;
}
.btn-custom02 { width: 100%;
  font-size: 11px!important;
}
.btn-custom03 { width: 100%;
  font-size: 11px!important;
}
.footer-nav {
width: 100%;
}


.top-image-wrapper {
  position: relative; margin-bottom: 50px;
  z-index: 1;
}

	.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.4em; font-weight: bold; text-align: center;
}
h1.h101 {
		font-size:1.3em;  padding: .15em;
		text-align: center; 
	}
h1.h101 span {
		font-size:.70em;
		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;
		text-align: center;
	}
	h2.h202 span {
		font-size:.70em;
		text-align: center;
	}
	h2.h203 {
		font-size:1.1em;  padding: .15em;
		text-align: center; 
	}
	h2.h204 {
		font-size:1.1em;
		text-align: center;
	}

	h3.h301,h3.h301g {
		font-size:1.2em;
		font-weight: bold;
	}

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

.news-head {
  padding: .50em 1em;
}


}


@media (min-width: 576px) {
/* PC表示（デフォルト） */
.green_box01 {
  background-color: #08C962;
  padding: 5em 0 0 0;
  display: flex;

  position: relative; /* 相対配置で重ね位置の基準に */
}

.white_news_box {
  background-color: #fff;
  width: 75%;
  padding: 2em 1.5em;
  margin-left: auto;
  border-radius: 0px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  position: absolute;
  bottom: 0;
  right: -50px;
}
.title_box01 {height: 2.6em; margin-bottom: 10px;
}
.white_box01 {
  margin-top: -280px; /* はみ出し具合を調整（-80〜-120pxがオススメ） */
}
.works_box01 {margin-bottom: 230px!important;
}
.caption-text{ color: #fff!important;
  font-size: 14px!important;
}
.btn-custom ,.btn-custom05 {
  font-size: 16px!important;   padding: 0.5rem 1.5rem;
}
.btn-custom05 {
  min-width: 220px; /* これが「同じ広さ」の基準値 */}
  
.btn-custom02 {
  font-size: 1.5em!important;
}
.btn-custom03 {
  font-size: 1.5em!important;
}
.footer-nav {
  max-width: 500px; /* 適宜調整ください */
}


.top-image-wrapper {
  position: relative; margin-bottom: 50px;
  z-index: 1;
}
	h1.h101 { padding: 1.7em .75em;
		font-size:45px;
		text-align: center;
		min-height: 50px;
	}

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 {
		font-size:30px;
		text-align: center;
	}

	h2.h202 span {
		font-size:15px;
		text-align: center;
	}
	h2.h203 {
		font-size:30px;
		text-align: center;
	}
	h2.h204 {
		font-size:30px;
		text-align: center;
	}

	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;
}
.news-head {
  padding: 1em 1em 3em; 
}

}




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

.bg-red a { color: #000!important;
}





.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); /* 拡大サイズ */
    }
}


  
  
  /* collapseの中身に対するアニメーション効果 */
.collapse.fade-slide {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.collapse.fade-slide.show {
  opacity: 1;
  transform: translateY(0);
}


.navbar-dark .navbar-toggler {
  color: #fff; /* アイコンの色を完全な白に */
  border: none; /* ボーダーを完全になくす */
}
.navbar-toggler {
  background-color: #08C962; /* 背景色（お好みで） */
  border: none;
  border-radius: 50%; /* 丸くする */
  width: 45px;
  height: 45px;
  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: #00cc66;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* MENU文字も調整 */
.menu-text {
  color: #00cc66;
  font-weight: bold;
}



.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 {
  position: relative;
}
.carousel-caption-box {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #08C962;
  color: #fff;
  padding: 1em 2em;
  border-radius: 10px;
  z-index: 10;
}


/* 共通スタイル */
.carousel-caption-box {
  position: absolute;
  background-color: #08C962;
  padding: 1em 2em;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  color: #fff;
  max-width: 90%;
  text-align: left;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* スマホ向け：下部にフル幅で表示 */
@media (max-width: 767px) {
  .carousel-caption-box {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100% !important;
    max-width: 100% !important; /* ←これが重要です */
    margin-top: -10px;
    border-radius: 0;
    padding: 1em;
    box-shadow: none;
    text-align: left;
    justify-content: flex-start;
  }
}


.news-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  padding: 1em 1em 3em;
  text-align: center; 
}

/* スマホより広い画面のときは左寄せにする */
@media screen and (min-width: 768px) {
  .news-head {

    text-align: center;

    padding-left: 8em; /* ← 左に余白もたせる */
  }

}



.news-item {
  font-size: 0.95em;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
}

.news-date { 
  color: #666; right: 0!important;
  font-weight: bold; text-align: right!important;
}

.news-cat { 
  background-color: #fff;
  padding: .20em 3em; border: 1px solid #707070;
  border-radius: 2px;
  font-size: 0.85em;
}

.news-link {
  position: relative;
  display: inline-block;
  color: #6D6868; text-align: left!important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-link::after { text-decoration: none;
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #00ffd0, #08C962); /* キラリんカラー */
  transition: width 0.4s ease;
}

.news-link:hover::after {
  width: 100%;
}

.news-link:hover {
  color: #6D6868;
}


.caption-text a{ color: #fff!important;
}
.caption-text {
  line-height: 1.8; /* 行間を広げて読みやすく */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em; /* アイテム間の余白 */
}

.caption-text .f20 {
  font-weight: bold;
  margin-right: 0.5em;
}


.caption-box { min-height: 40px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 0.6em 0.8em;
  font-size: 0.95em;
  margin-top: -4px; /* 画像と密着させる場合 */
  border-radius: 0 0 4px 4px;
}


.box06 {
  background-color: #f0f8ff; /* ごく薄い青背景 */
  border-left: 6px solid #007bff; /* 左にアクセントの青線 */
  padding: 1em;
  border-radius: 6px;
  font-size: 1.2rem;
  margin-bottom: 1em;
}









