@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: #ffffff; 
    font-weight: bold;
  }
  .res-table td ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
@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:#222222;
	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;
}



/* header */

.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: #003366; /* 紺色に変更 */
  transition: width 0.3s ease;
}

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

.nav-linkb:hover {
  color: #1C1818;/* hover時も文字色そのまま（変えたい場合は調整可） */
}
/* ナビの区切り線 */
.nav-item {
  position: relative;
}

.nav-item::after {
  content: "｜";
  margin: 0 12px;
  color: #1C1818;
}

/* 最後のメニューだけ区切り線を消す */
.nav-item:last-child::after {
  content: "";
}


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





footer { color: #ffffff;
  background-image: url("/common/images/footer_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;      /* 横いっぱいに */
 background-position: center bottom; /* ←ここ重要 */
    padding: 2em 0;
}
footer a { color: #ffffff;
}

    #copyright {
        text-align: center;
    }

/* 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 {
  background-image: url("/common/images/h201_bg.png");
  background-repeat: no-repeat;
  background-size: cover;      /* 横いっぱいに */
 background-position: center bottom; /* ←ここ重要 */
  color: #fff;                 /* 画像に乗せるので白文字 */
  text-align: center;
  font-weight: bold;
  padding: 40px 20px;          /* 高さはここで調整 */
  margin: 0 0 40px;
}

/* 中の文字 */
h2.h201 span {
  display: block;
  font-weight: bold;
}



/* 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) {
 
.btn-custom ,.btn-custom05 {
  font-size: 8px!important;   padding: .25em 1.5em;
}

.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.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 {padding: .15em;
	
		text-align: center; 
	}
	h2.h201 span {
		font-size:15px;
		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) {
/* PC表示（デフォルト） */

.btn-custom ,.btn-custom05 {
  font-size: 16px!important;   padding: 0.5rem 1.5rem;
}

	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;
		text-align: center;
		min-height: 50px;
	}

	h2.h201 span {
	font-size:32px;
		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;
}

}




.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: #003366; /* 紺色 */
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* MENU文字も調整 */
.menu-text {
   color: #003366; /* 紺色 */
  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;
  }
}



