@charset "UTF-8";
/*----------------------------
  共通
-----------------------------*/

.h5 {
    line-height: 1.8rem;
}
.border-w3 { 
    border-left-width: 3px !important;
    border-left-color: #262626 !important;
}

/* ====== カラー指定 ====== */
.brand-color {
	color: #21386E !important;
}
.bg-brand-color {
	background-color: #21386E !important;
}
/* ====== GLOVAL NAV ====== */
.gloval-nav {
	height: 10%;
}
.navbar-white a {
	color: #fff;
}
/* ====== FOOTER ====== */
.footer-logo {
	width: 20%;
}
.social img {
	width: 36px;
	height: 36px;
}
footer {
	padding-bottom: 5%;
}
.time-border {
   border-top: 3px solid #262626;
    border-right: 3px solid #262626;
    margin-left: 24px;
    padding-bottom: 3rem;
    padding-right: 5rem;
    width: 43%;
}
/* ====== BREADCRUMB LIST ====== */
.breadcrumb-list, .breadcrumb-list li {
	background-color: #21386E;
}
/*----------------------------
  SP TOGGLE NAV
-----------------------------*/
.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
}
.nav-scroller .nav {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
.nav-underline .nav-link {
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: .875rem;
	color: #6c757d;
}
.nav-underline .nav-link:hover {
	color: #007bff;
}
.nav-underline .active {
	font-weight: 500;
	color: #343a40;
}

/*----------------------------
  TOP ページ
-----------------------------*/
/* ====== TOP IMAGE ====== */
header .jumbotron-fluid {
	background-image: url(../img/uni01.png);
	background-size: cover;
	background-position: center;
	min-height: 100%;
}
header .catch {
	width: 90%;
	bottom: 20%;
	left: 50%;
	margin-left: -45%;
}
header .g-navi {
	min-height: 100%;
}

/* ====== PROCESS ====== */
#sec5 .square {
	width: 60px;
	height: 60px;
	background: #21386E;
	color: #ffffff;
	text-align: center;
	font-size: 2.4rem;
}
#sec5 .arrow {
	width: 60px;
	height: 40px;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 25px solid #333;
}
/* --------------------------------------------- */
#sec6 .circle-q, #sec6 .circle-a {
	width: 50px;
	height: 50px;
	font-size: 2.2rem;
	border-radius: 50%;
	text-align: center;
}
#sec6 .circle-q {
	background: #21386E;
	color: #ffffff;
	padding-top: 2px;
}
#sec6 .circle-a {
	background: #ffffff;
	color: #21386E;
	border: 3px solid #21386E;
}
.schedule-img {
    width: 75%;
}
/* ==============================================*/
/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width: 991.98px) {
#glovalNavbar ul li {
	border-left: none;
}
#glovalNavbar ul li:last-child {
	border-right: none;
}
.footer-nav ul li {
	border-left: none;
}
.footer-nav ul li:last-child {
	border-right: none;
}
/* ====== SP TOGGLE NAV ====== */
.offcanvas-collapse {
	position: fixed;
	z-index: 9999;
	top: 0;
	/* ナビバーの高さ */
	bottom: 10%;
	left: 100%;
	width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	background-color: #fff;
	transition-timing-function: ease-in-out;
	transition-duration: .3s;
	transition-property: left, visibility;
}
.offcanvas-collapse.open {
	left: 0;
	visibility: visible;
}
}

/* END */
/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width: 767.98px) {
.logo {
	width: 80%;
}
.display-3 {
	font-size: 3rem;
}
.footer-logo {
	width: 80%;
}
.navbar-nav .border-left {
	border-left: none !important;
}
.navbar-nav .border-right {
	border-right: none !important;
}
}

/* END */
/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width: 575.98px) {
header .catch {
	bottom: 10%;
}
header .catch .h1 {
	font-size: 2rem;
}
header .catch h2 {
	font-size: 1rem;
}
.schedule-img {
    width: 100%;
}
form .border-top,
    form .border-bottom {
        border: none !important;
    }    
}
/* END */


/*ヘッダーにある１行のお知らせ
---------------------------------------------------------------------------*/
.new-top * {margin: 0;padding: 0;}

/*ブロック全体*/
.new-top {
	position: relative;
	z-index: 1;
	width: 80vw;	/*幅は80%*/
	margin-left: 10vw;	/*左に10%空ける*/
	display: flex;
	align-items: center;
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	background: #fff;	/*背景色。*/
}

/*マウスオン時に透明度を80%に*/
.new-top a:hover {
	opacity: 0.8;
}

/*「お知らせ」の見出し*/
.new-top h2 {
	font-size: 1rem;
	font-weight: normal;
	background: #555;	/*背景色*/
	color: #fff;		/*文字色*/
	border-radius: 3px;	/*角を少しだけ丸く*/
	margin-right: 1rem;	/*右に空けるスペース。テキストブロックとの間に空けるスペースです。*/
	padding: 0 1rem;	/*見出し内の余白。上は0で、左右に１文字分。*/
}

/*テキストのブロック*/
.new-top .text {
	flex: 1;
	
	/*以下4行は、末尾を...として１行にまとめる為のスタイル*/
	min-width: 0;
/*	white-space: nowrap; */
	overflow: hidden;
	text-overflow: ellipsis;
}

/*ブロック右側にある「一覧」*/
.new-top .new-list {
	align-self: flex-end;
}



.ta-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta-parts {
	border-collapse: separate;
	border-spacing: 0 1rem;	/*ここと、この下の数字は揃えておきます。要素間の隙間みたいなものです。*/
	table-layout: fixed;
	width: 100%;
	margin-bottom: 2rem;		/*テーブルの下に空けるスペース。２文字分。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta-parts th, .ta-parts td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta-parts th {
	width: 20%;				/*幅*/
	background: #eee;	/*背景色*/
	border-radius: 4px;		/*角を丸くする指定*/
}



/*横長タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal1-parts .list-parts {
	display: flex;	/*flexボックスを使う指定*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 25px 0;	/*上下、左右へのボックス内の余白*/
	position: relative;
}

.list-normal1-parts .list-parts div {
	flex: 1;
}

/*１つ目のボックスにのみ上に線を入れる*/
.list-normal1-parts .list-parts:nth-of-type(1) {
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*ボックス内のfigure画像*/
.list-normal1-parts .list-parts figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}

/*ボックス内のh4タグ*/
.list-normal1-parts .list-parts h4 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
	color: #333;			/*文字色*/		
}
.list-normal1-parts .list-parts h4 a  {
	color: inherit;
}

/*ボックス内のpタグ*/
.list-normal1-parts .list-parts p {
	margin: 0;
	font-size: 0.7em;		/*文字サイズを親要素の70%に。*/
}


/*list内のtableっぽく見える所
---------------------------------------------------------------------------*/
/*ボックス全体*/
.list-normal1-parts dl.line-parts {
	grid-template-columns: repeat(2, auto 1fr);	/*２列にする（各ボックスは、左は内容に応じて自動、残りを右側に割り当て）*/
}

/*ボックス一個あたり*/
dl.line-parts {
	margin: 0;
	display: grid;						/*gridボックスを使う指定*/
	grid-template-columns: auto 1fr;	/*左は内容に応じて自動、残りを右側に割り当て*/
	font-size: 0.7em;					/*文字サイズを親要素の70%に。*/
	border-top: 1px solid #ccc;			/*上の線の幅、線種、色*/
}

dl.line-parts dt, dl.line-parts dd {
	border-bottom: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 0 0.5rem;				/*上、左右への余白*/
}
dl.line-parts dt {
	background: #eee;	/*背景色*/
}

/* ------------------------------------------------------------
   Bootstrap 4 互換ユーティリティ（このLP専用）
   ※ Bootstrap5のclassを一部使っているため、見た目崩れ防止で補完
------------------------------------------------------------ */
.rounded-4 { border-radius: .5rem; }
.ms-2 { margin-left: .5rem; } /* Bootstrap5のmargin-start相当（LTR想定） */
.shadow-soft { box-shadow: 0 .25rem 1rem rgba(0,0,0,.08); }

/* Bootstrap5の g-3 相当（rowのガターと縦余白） */
.row.g-3 { margin-right: -0.75rem; margin-left: -0.75rem; }
.row.g-3 > [class*="col-"], 
.row.g-3 > [class^="col"] {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
/* ==========================================================
   Mobile / Smartphone 対応（2025-12）
   - 固定ナビの被り防止（iPhoneのセーフエリア考慮）
   - オフキャンバスメニューの操作性改善（背景クリックで閉じる等）
   - お知らせ帯／スケジュール表のスマホ表示最適化
========================================================== */
:root{
  --navbar-safe-bottom: env(safe-area-inset-bottom, 0px);
  --fixed-nav-h: 78px; /* PC: 下固定ナビの想定高さ */
}
body{
  padding-bottom: calc(var(--fixed-nav-h) + var(--navbar-safe-bottom));
}

/* メニュー開閉時の背面 */
.offcanvas-backdrop{
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: rgba(0,0,0,.35);
}
body.offcanvas-open{
  overflow: hidden;
}

/* 中デバイス以下（タブレット/スマホ） */
@media screen and (max-width: 991.98px){
  :root{ --fixed-nav-h: 64px; }

  /* オフキャンバスを画面いっぱいに */
  .offcanvas-collapse{
    top: 0;
    bottom: 0;                 /* 既存の bottom:10% を上書き */
    left: 100%;
    background-color: #21386E; /* ブランド色に統一 */
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  }
  .offcanvas-collapse.open{
    left: 0;
  }
  .offcanvas-collapse .navbar-nav{
    padding: 0.5rem 0;
  }
  .offcanvas-collapse .nav-item{
    border: none !important;
  }
  .offcanvas-collapse .nav-link{
    font-size: 1.1rem;
    padding: .85rem .5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .navbar.fixed-bottom{
    padding-bottom: var(--navbar-safe-bottom);
    box-shadow: 0 -0.25rem 1rem rgba(0,0,0,.08);
  }
}

/* 極小デバイス（縦向きモバイル, 576px 未満） */
@media screen and (max-width: 575.98px){
  :root{ --fixed-nav-h: 60px; }

  header.hero{
    height: auto;
    min-height: 52vh;
  }
  header .catch{
    bottom: 14%;
  }

  /* お知らせ帯：折り返し */
  .new-top{
    width: 92vw;
    margin-left: 4vw;
    flex-wrap: wrap;
  }
  .new-top h2{
    margin-right: 0;
    margin-bottom: .5rem;
  }
  .new-top p{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  /* スケジュール表：カード風に縦並び */
  .ta-parts{
    border-spacing: 0;
    table-layout: auto;
  }
  .ta-parts tr{
    display: block;
    margin-bottom: .75rem;
  }
  .ta-parts th, .ta-parts td{
    display: block;
    width: 100%;
  }
  .ta-parts th{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .ta-parts td{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
