.tab {
  margin: 0 auto;
}

/* タブメニュー */
.tab__menu {
  display: flex;
  align-items: flex-end; /* メニューを下揃え */
  justify-content: center;
  min-height: 50px; /* メニュー切替時にタブがズレないように */
  padding: 0;
  margin: 0;
}

.tab__menu-item {
	font-size: 20px;
  list-style: none;
  width: auto;
  padding: 8px 25px; /* メニューに高さを付ける */
  text-align: center;
  margin-right: 6px;
  background-color: #cdcdcd;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  transition: all .3s; /* アニメーション */
}

.tab__menu-item:last-of-type {
  margin-right: 0px;
}

/* is-activeがついている時のスタイル */
.tab__menu-item.is-active {
  background-color: rgba(0, 165, 227,1);
  color: #ffffff;
  padding: 12px 25px;
}

/* タブパネル */
.tab__panel {
 width: 100%;
}

.tab__panel-box {
  padding: 30px;
  border-radius: 10px;
}

.tab__panel-box001 {
  background-color: rgba(247, 247, 247,1);
  display: none;
}

.tab__panel-box002 {
  background-color: rgba(247, 247, 247,1);
  display: none;
}


/* is-showがついている時のスタイル */
.tab__panel-box.is-show {
  display: block;
}

.tab__panel-box h3 {
	font-size: 34px;
	font-weight: 600;
	margin-bottom: 10px;
}
.tab__panel-box h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	border:solid 1px rgba(0, 165, 227,1);
	border-radius: 10px;
	background-color: #fff;
  color: rgba(0, 165, 227,1);
  padding: 8px 16px;
	display: inline-block;
}

.feature-block {
	padding: 15px 15px;
	background-color: #fff;
	border-radius: 10px;
	width: 46%;
	margin: 1% 2%;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	float: left;
	color: #595656;
}


.feature-block span {
	display: block;
	font-size: 14px;
	font-weight: 300;
}

.feature-course {
	padding: 25px 30px;
	background-color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	color: #595656;
}
.courseA {
	border: solid 1px rgba(231, 58, 119,1);
	color: rgba(231, 58, 119,1);
	background-color: rgba(231, 58, 119,0.2);
}
.courseB {
	border: solid 1px rgba(0, 165, 227,1);
	color: rgba(0, 165, 227,1);
	background-color: rgba(0, 165, 227,0.2);
}
.feature-wrap {
	margin-bottom: 20px;
	display: block;
}
.referral-classroom h2 {
text-align: center;
}


.price-block {
	display: flex;
	margin-bottom: 9px;
    padding: 9px 15px;
	color: #595656;
}
.price-thb {
	font-weight: 600;
	margin-left: 1em;
}
.referral-classroom h3 {
    background-color: #00A5E3;
    color: #ffffff;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.referral-company {
	background-color: #F7F7F7;
}
.referral-company h2 {
text-align: center;
}
.referral-company h3 {
    font-size: 20px;
    color: #00A5E3;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.5;
}
.referral-company a {
	color: #00A5E3;
}
.referral-catal h3 {
	margin-top: 20px;
    font-size: 20px;
    color: #00A5E3;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.5;
	text-align:center;
}

.company-block {
	padding: 4%;
	text-align: center;
}
.company-block img {
	padding: 0 8%;
	margin-bottom: 20px;
}

.thanks-block {
	text-align: center;
}

.thanks-line {
	padding: 30px 0;
}
@media only screen and (max-width: 767px) {
	.tab__menu-item {
		font-size: 16px;
		line-height: 1.4;
	}
	.referral-section h2 {
		font-size: 19px;
	}
	.tab__panel-box {
		padding: 20px;
	}
	.tab__panel-box h3 {
		font-size: 24px;
	}
	.feature-block {
	padding: 15px 15px;
	background-color: #fff;
	border-radius: 10px;
	width: 96%;
	margin: 1% 2%;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	float: left;
	color: #595656;
}
	.company-block p {
	padding: 1%;
	text-align: left;
}
	.referral-company table th, .referral-company table td {
		width: 100%;
		display: block;
	}
	.referral-counseling img {
		margin-bottom: 10px;
	}
	.feature-course {
		margin-bottom: 10px;
	}
	.thanks-block {
	text-align: left;
}
}

.th-offer {
	text-align: center;
	border: 2px solid #e63976;
	border-radius: 10px;
	background-color: #e63976;
	color: #fff;
	padding: 15px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	margin-bottom: 10px;
}
.th-offer span {
	color:#FFFD00;
	font-size: 22px;
	font-weight: 600;
}

.referral-classroom h4 {
	margin-bottom: 10px;
}

.line-btn {
	background-color: #06C755 !important;
	border-color: #06C755 !important; 
}
.line-btn:hover {
	color: #06C755 !important;
	background-color: #ffffff !important;
}
.CTA-LINE a {
	display: block;
	margin: 0 auto;
	padding: 15px;
  background-color: #06C755 !important;
	  color: #fff;
	  border-radius: min(6.6666666667vw, 72px);
	  position: relative;
	  box-shadow: 0 min(0.2777777778vw, 3px) min(0.2777777778vw, 3px) 0 rgba(0, 0, 0, 0.24);
	  font-size: 20px;
	  font-weight: 600;
	  text-align: center;
	  border-color: #06C755 !important; 
}

.CTA-LINE a:hover {
	color: #06C755 !important;
	background-color: #ffffff !important;
}