/* IMPORT CSS */
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:inline;
    color: #333;
    text-decoration-line: underline;
	transition: .2s;
}
a:hover { 
    color: #999;
	text-decoration: none;
}
.hp a {
	display:inline;
    color: red;
	text-decoration-line: underline;
	transition: .2s;
}
.hp a:hover { 
    opacity: 0.8;
	text-decoration: none;
}
a img:hover {
	opacity: 0.8;
	transition: .2s;
}
.blueback {
	background-color: #4874ae;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #4874ae;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}
.photo img {
    padding: 0 0 20px 20px;
}
@media screen and (max-width:767px) {
.photo img {
    max-width:35%;
}
}
p.asterisk {
  padding-left: 1em;
  text-indent: -1em;
}
figure {
  margin-top: 0; /* 不要な余白を削除 */
}

figure img {
  display: block;
}

figcaption {
	font-weight: bold;
	font-size: "24px";
	color: #fff;
	text-align:center;
	background-color: #4874ae; 
	padding: 5px;
}

ol li::marker {
    font-weight: bold;
    color: #008b8c;
}

ol li {
	font-weight: bold;
    color: #008b8c;
    line-height: 2.0;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

/*汎用クラス
-------------------------------------*/
/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
	text-align:center;
}
.imgC img {
	border-radius:0px;
	margin-bottom:0.5em;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:20px;
}
.imgL img {
	float:left;
	margin:0 1em 0.5em 0;
	border-radius:0px;
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:10px;
}
.imgR img {
	float:right;
	margin:0 0 0 1em;
	border-radius:0px;
	max-width:30%;
}

@media screen and (max-width:767px) {
	.imgC {
		margin-bottom:20px;
	}
	.imgC img {
		max-width:100%;
	}

	.imgL {
		margin-bottom:20px;
	}
	.imgL img {
		float:none;
		max-width:100%;
		margin-right:0;
	}

	.imgR {
		margin-bottom:0px;
	}
	.imgR img {
		float:none;
		max-width:100%;
		margin-left:0;
		margin-top: 10px;
	}
    }

/*改行
-------------------------------------*/
  .br-pc { display:block; }
  .br-sp { display:none; }

@media screen and (max-width: 650px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
}

/*PCのみ表示
-------------------------------------*/
.pc{
  display:block;
}
.sp{
  display:none;
}

/*SPのみ表示
-------------------------------------*/
@media screen and (max-width: 768px){
.pc{
  display:none;
}
.sp{
  display:block;
}
}

/*テキストボックス
-------------------------------------*/
.bluebox{
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #cde4ff;
}
.bluebox p {
    margin: 0; 
    padding: 0;
	font-size: 18px;
	font-weight: bold;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
	height: 95px;
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
.member {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #4874ae;
  border: none;
  border-radius: 80px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.member:hover {
  background-color: #284670;
  color: #dbb400;
  text-decoration-line: none;
}

.menu {
	background-color: #4874ae;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #284670;    
	color: #7ecef4;
	text-decoration-line: none;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
}
h1 img {
    width: 85%; /* スマホ用に小さくする */
    height: auto; /* アスペクト比を維持 */
  }
.telbox {
	margin-left: 0;
	text-align: center;
}
.member {
    display: none;
}
.public {
    display: block;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*バナー
-------------------------------------*/
.banner img {
  border: 1px solid black; /* 黒い枠線 */
  border-radius: 0; /* 角を丸めない */
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}
@media screen and (min-width: 768px){
.img-wrap {
  overflow: hidden;
  position: relative;
}

.img-wrap::before {
  animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #fff;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
}
@keyframes img-wrap {
  100% {
    transform: translateX(100%);
  }
}
.image-container {
  position: relative;
  display: inline-block;
  width: 100%; /* 必要に応じて調整 */
  max-width: 100%; /* 必要に応じて調整 */
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* テキストの色 */
  font-size: 3.5rem; /* 必要に応じて調整 */
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px #000c28;
}

@media screen and (max-width: 768px){
.text-overlay {
	font-size: 2.5rem;
}
}

/*動画
-------------------------------------*/
.video-container {
      position: relative;
      width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9; /* アスペクト比固定 */
      overflow: hidden;
	margin: auto;
    }
    .video-container video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      object-fit: cover; /* 動画を画面いっぱいに拡大 */
    }

/*スライドショー
-------------------------------------*/
.slider {
  overflow: hidden;
  margin: auto 0;
  max-width: 100%;
  width: 100%;
}
.slick-img img {
  height: auto;
  width: 100%;
}
.text-overlay {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* テキストの色 */
  font-size: 3.5rem; /* 必要に応じて調整 */
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px #000c28;
}
.slider .slick-dots li button:before{
	font-size:12px!important;
	color: #4874ae;
}
@media screen and (max-width: 768px){
.text-overlay {
	font-size: 2.5rem;
	white-space: nowrap;
}
.slider .slick-dots li button:before{
	font-size:10px!important;
	color: #4874ae;
}
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*ページタイトル
-------------------------------------*/
.page_title h1 {
	padding: 20px 0;
	font-size: 30px;
    letter-spacing: 0.02rem;
    font-weight: bold;
	color: #003e81;
	text-align: center;
	background: url("../img/page_title_back.jpg");
    padding: 10rem;
	text-shadow:0 0 10px #fff;
}
@media screen and (max-width: 768px){
.page_title h1 {
	font-size: 24px;
    padding: 5rem;
}
}

/*タイトル
-------------------------------------*/
h2{
 position:relative;
 padding:0.2em 0;
 font-size: 26px;
}

h2:after{
 content:"";
 display:block;
 margin-top: 5px;
 height:5px;
 background:linear-gradient(to right,#6DA6D9,#1F4F7B);
}
@media screen and (max-width: 768px){
h2 {
 position:relative;
 padding:0.2em 0;
 font-size: 21px;
}
}

/*新着情報
-------------------------------------*/
.news dl {
border-bottom: 1px solid #ccc;
padding: 10px 0;
}
.news dt {
padding-bottom: 6px;
}
.newicon {
  color: white;
  background-color: #00afec;
  font-size: 11px;
  font-weight: bold;
  padding: 0.2px 3.5px;
  margin-left: 10px;
  border-radius: 0px;
  display: inline-block;
}
@media screen and (min-width: 768px) {
.news dt {
clear: left;
float: left;
width: 22%;
}
.news dd {
margin-left: 16%;
}
}

/* テーブル
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
	border-collapse: collapse;}
th {
  padding: 12px 15px;
  text-align: center;
  background: #eee;
  border: 1px solid #fff; }
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }
.list table {
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #E1E1E1;
	width: 100%;
    white-space: nowrap; /* 折り返し防止（画像横並び維持） */
}
.list th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #fff;
    background: #d3dded;
}
.list td {
	padding:10px;
    text-align:left;
	border:1px solid #E1E1E1;
    background:#fff;
}
.list td img {
  max-width: 100px; /* 必要に応じて調整 */
  height: auto;
  display: inline-block;
}

.list2 table {
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #E1E1E1;
}
.list2 th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #fff;
    background: #d3dded;
}
.list2 td {
	padding:10px;
    text-align:center;
	border:1px solid #E1E1E1;
    background:#fff;
}

.borderless {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  border: none;
}

.borderless td,
.borderless th {
  text-align: center;
  vertical-align: middle;
  border: none;
  padding: 3px;
  height: auto;
  margin: 0;
  background: none;
}

.borderless img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

@media screen and (max-width: 768px){
.scroll {
    overflow: auto; /* 横スクロールバーを表示 */
    white-space: nowrap; /* セル内にあるテキストの折り返しを禁止 */
	
}
.main-header {
  width: 60%;
}

.sub-header {
  width: 10%;
}

.table-wrapper {
    height: 630px; /* 固定高さ */
    overflow-y: auto; /* 縦スクロール */
}
	
.list2 th {
  position: sticky; /* 【必須】固定する */
  top: 0; /* 【必須】スクロール時の固定位置 */
  z-index: 1; /*他の要素より上に表示 */
}

.res_table table {
  margin-bottom:1em;
  border-collapse: collapse;
  border:1px solid #E1E1E1;
}
.res_table th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:1px solid #d3dded;
    background: #d3dded;
	display: block;
}
.res_table td {
	padding:10px;
    text-align:left;
	border:1px solid #E1E1E1;
    background:#fff;
    display: block;
}
}

/*アコーディオン
-------------------------------------*/
.accordion {
  width: 100%;
}

/* inputのチェックボックスを非表示 */
.accordion input {
  display: none;
}

/* 見出しボタン部分 */
.accordion-open {
  display: block;
  padding: 15px 80px 15px 10px;
  background: #d4ecf3;
  cursor: pointer;
  margin: 5px 0;
  position: relative;
  border-radius: 5px;
}

/* ＋アイコン */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #000;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

/* アイコンのー */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .5s;
}

/* アコーディオンが開いたらーに */
.accordion-hidden:checked+.accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* アコーディオン中身部分 */
.accordion-inner {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  font-weight: normal;
  /* 表示速度の設定 */
  cursor: pointer;
  margin-bottom: 10px;
}

/* チェックボックスにチェックが入ったら中身部分を表示する */
.accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px;
}
/* ↑ここまで共通 */

/* Q&A追加 */
.accordion_qa .Q,
.accordion_qa .A {
  position: relative;
}

.accordion_qa .Q::before {
  font-size: 1.5em;
  font-weight: bold;
  color: #002666;
  display: block;
  position: absolute;
  top: -.4em;
  left: -1.3em;
}

.accordion_qa .A::before {
  font-size: 1.5em;
  font-weight: bold;
  color: #802358;
  display: block;
  position: absolute;
  top: -.4em;
  left: -1.3em;
}

.accordion_qa .Q::before {
  content: 'Q.';
}

.accordion_qa .A::before {
  content: 'A.';
}

.accordion_qa .accordion-open {
  padding-left: 2.5em;
}

.accordion_qa .accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px 10px 10px 2.5em;
}
/* Q&A追加ここまで */


/* 中にいろいろ入れたいとき */
.accordion-box {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  margin-bottom: 10px;
}

.accordion-hidden:checked+.accordion-open+.accordion-box {
  height: auto;
  opacity: 1;
  padding: 10px;
}

/*ボタン
-------------------------------------*/
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 80px;
  padding: 0 50px;
  margin-right: 5px;
  color: #4874ae;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 75px;
  letter-spacing: .1rem;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 2px solid #4874ae;
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  border-color: #4874ae;
  background-color: #4874ae;
  outline: 0;
}
.button span {
	font-size: 12px;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #4874ae;
    padding: 5rem 0;
	color: #fff;
}
footer h5 {
	font-size: 18px;
	font-weight: bold;
	margin: 20px 0 10px 0;
}

/*コピーライト
-------------------------------------*/
.copyright {
    font-size: 12px;
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
}
#pagetop a {
    display: block;
    background: #4874ae;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
	text-decoration: none;
	border:1px solid #fff;
}
#pagetop a:hover {
    background: #284670;
}

/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
	font-size: 14px;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}
@media screen and (max-width: 768px){
.breadcrumb li {
    list-style-type: none;
	font-size: 12px;
}
}	