/** 汎用スタイル **/

body {
  color: #333;
  line-height: 1.6rem;
}
.ls {
  letter-spacing: 0.2rem;
}
.bw-2 {
  border-width: 2px !important;
}
.bw-3 {
  border-width: 3px !important;
}

/** 見出し円 **/
.circle {
  width: 215px;
  height: 215px;
  text-align:center;
  border-radius: 50%;
  border: solid 3px #6c757d;
  padding: 3rem;
  margin: 0 auto;
}

/** 既存スタイルの疑似上書き **/
/** olカウンターを丸囲いに **/

ol.num-list {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
} 
.num-list li {
  margin-bottom: 10px;
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;  
}
.num-list li:before {
content: counter(my-counter);
counter-increment: my-counter;
border: 2px solid #666;
color: #666;
float: left;
text-align: center;
height: 30px;
width: 30px;
border-radius: 50%;
margin-right: 5px;
margin-top: -2px;
font-family: 'Big Shoulders Display', cursive;  
}

/** jumbotronの背景に指定画像 **/
.jumbotron {
  background: url('../img/main-img.jpg') center no-repeat;
  background-size: cover;
  height: 100%;
  //min-height: 580px;
  min-height: 480px;
}


/** customized css **/
/** size-{単位}: 正方サイズ指定 **/
.wf-square-xs {
  width: 20px;
  height: 20px;
}
.wf-square-lg {
  width: 260px;
  height: 260px;
}

/** 傾けられた文字 **/
.wf-slope-text {
  transform: rotate(-4deg) translateY(-20px);
}

/** 正円＋テキスト **/
.wf-circle {
  transform: translateY(-50%);
}
.wf-circle > span {
  position: absolute;
  display: inline-block;
  font-size: 1.3rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  text-align: center;
}

/** 下側のみが突き出した五角形 **/
.wf-penta {
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

/** 声のテキスト **/
.comment-box {
  position: relative;
  display: inline-block;
  padding: 2rem;
  font-size: 16px;
  background: #f8f9fa;
}

/** 下側のみが突き出した吹き出し **/

.down-balloon:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-top: 3rem solid #f8f9fa;
  z-index: 999;
}

.down-balloon p {
  margin: 0;
  padding: 0;
}

/** 上側のみが突き出した吹き出し **/

.up-balloon:before {
  content: "";
  position: absolute;
  top: -130px;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-bottom: 3rem solid #f8f9fa;
  z-index: 999;
}

.up-balloon p {
  margin: 0;
  padding: 0;
}

/** 吹き出し **/
.wf-balloon {
  position: relative;
  padding: 20px;
  border: 2px solid rgba(75, 75, 75, 0.85);
  border-radius: 12px;
}

.wf-balloon-left::before,
.wf-balloon-left::after,
.wf-balloon-right::before,
.wf-balloon-right::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  top: 50px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.wf-balloon-left::before {
  left: -15px;
  border-right: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-left::after {
  left: -12px;
  border-right: 15px solid white;
}

.wf-balloon-right::before {
  right: -15px;
  border-left: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-right::after {
  right: -12px;
  border-left: 15px solid white;
}

/** トップへ戻るボタン **/
.wf-gotta-top {
  width: 80px;
  height: 80px;
  right: 0;
  bottom: 0;
  //background: #004172;
  background: orange;
  opacity: 0.8;
  border-radius: 50%;
}

/** ステップフロー **/

.step-bar {
  display: flex;
  position: relative;
  margin: 20px auto;
  text-align: center;
  padding: 0;
}
.step-bar li {
  font-size: 12px;
  list-style: none;
  position: relative;
  width: 33.333%;
}
.step-bar li:after {
  background: #D0E1F9;
  content: "";
  width: calc(100% - 50px);
  height: 5px;
  position: absolute;
  left: calc(-50% + 32px);
  top: 50px;
}
.step-bar li:first-child:after {
  display: none;
}
.step-bar li span {
  background: #D0E1F9;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 5px;
  padding: 20px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  z-index: 999;
}
.step-bar .visited:after {
  background: #4D648D;
}
.step-bar .visited span {
  background: #4D648D;
}

/* ---------------------------------------------- */
/* 追加                                           */
/* ---------------------------------------------- */

#top-line {
	border:5px solid #FECC4C;
}

#header h3 {
    position: relative;
    margin-bottom: 0.2rem;
    padding: 1rem 0;
    border-bottom: 5px solid #FFD999;
    color: white;
    font-size: 26px;
    font-weight: bold;
    //background: #FFF8F2;
    background: orange;
    padding-left: 10px;
}

#header h3:before {
    position: absolute;
    bottom: -0.6rem;
    left: 0rem;
    right: 0rem;
    border-bottom: 1px solid orange;
    content: '';
}

#footer {
	background: #FECC4C;
	padding: 15px 20px;
	color: gray;
	text-align: center;
}

#branch-div {
	border-bottom: 1px solid orange;
	margin-bottom: 20px;
}
#branch-div a {
	text-decoration: none;
}

.midashi {
	background: #0000A5;
	//background: linear-gradient(to right, rgba(0, 0, 165, 1), rgba(0, 0, 165, 0));
	color: white;
	font-weight: bold;
	padding: 5px 20px;
	margin-bottom: 5px;
	border-radius: 5px;
	display: inline-block;
}

#top-schedule_img {
	display:flex;
	margin:0 auto;
	width: 600px;
}

.menu-ul {
	margin-left: 1.5em;
}

#basic_concept_img, #advanced_concept_img {
	display:flex;
	margin:0 auto;
	width: 600px;
	border:1px solid #ccc;
	margin-top: 5px;
}

.menu-ul2 {
	list-style-type: none;
	
}

.menu-ul2 dt {
	background: #E8F9FF;
	padding: 5px 10px;
	color: navy;
	border-radius: 2px;
	margin-bottom: 5px;
}

.menu-ul2 dd {
	margin-left: 1.7em;
}


@media (max-width: 767.98px) {
	#torikumi_img, #basic_concept_img, #advanced_concept_img {
		width: 100%;
	}
}


.grid-table {
	display: grid;
	grid-template-columns: 160px 1fr;
	border: 1px solid #aaa;
	margin-right: 1.5em;
}

.cell {
	padding: 10px;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

.head {
	background: #f5f5f5;
	text-align: center;
}

/* 左列だけ左線を消す */
.col-head {
	border-left: none;
}

/* 縦結合 */
.span2 {
	grid-row: span 2;
}

/* 最上段の上線を消す */
.grid-table > .cell:nth-child(-n + 2) {
  border-top: none;
}


@media screen and (max-width: 768px) {
	.grid-table {
		grid-template-columns: 1fr;
	}
	
	.span2 {
		grid-row: auto;
	}
	
	/* 1列表示では左線不要 */
	.cell {
		border-left: none;
	}
}



.lecturer-grid-table {
	display: grid;
	//grid-template-columns: repeat(4, 1fr);
	grid-template-columns: auto auto auto auto;
	border: 1px solid rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
}

.lecturer-grid-table .lecturer-cell {
	padding: 10px;
	border-right: 1px solid rgba(0, 0, 0, 0.25);
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
}

/* ===== 右端の線を消す（4列目） ===== */
.lecturer-grid-table .lecturer-cell:nth-child(4n) {
	border-right: none;
}

/* ===== 下端の線を消す（最後の行） ===== */
.lecturer-grid-table .lecturer-cell:nth-last-child(-n + 4) {
	border-bottom: none;
}

.lecturer-grid-table .lecturer-head {
	background-color: #E8F9FF;
	white-space: nowrap;
	text-align: center;
}

.lecturer-grid-table .lecture-left {
	background-color: #f5f5f5;
}



@media (max-width: 768px) {
	.lecturer-grid-table {
		grid-template-columns: 1fr;
	}

	.lecturer-grid-table .lecturer-cell {
		border-right: none;
	}

	.lecturer-grid-table .lecturer-cell:last-child {
		border-bottom: none;
	}
}
.lecture-note {
	text-align: right;
	margin-top: 5px;
}

.border_div {
	border: 1px solid #eee;
	margin: 30px 0 20px 0;
}

.back_button_div {
	text-align: right;
}

.back_div {
	background: #eee;
	border: 1px solid #aaa;
	border-radius: 3px;
	display: inline-block;
	padding: 2px 15px;
	margin-right: 1em;
}

#top_ul {
  list-style: none;
}

#top_ul li::marker {
  content: "※ ";
}

.summary_box {
	border: 1px solid #eee;
	border-radius: 5px;
	padding: 15px 15px 0px 15px;
}

.r7_box {
  display: flex;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 15px 10px 5px 0px;
}

.r7_boxleft {
  width: 500px;
}

.r7_boxright {
  flex: 1;
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
}

.r7_imgbox {
	text-align: center;
	font-size: small;
}

#training_img {
	width:240px;
	border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}


