#top .title{
  background-image: url(/img/flow/flow-back.png);
  background-repeat: round;
  display: block;
  height: 258px;
  padding: 0 20%;
}
#top .title:before{
	position:absolute;
	left:0;
	content:"";
	display:inline-block;
	width:5em;
	height:5em;
	background:url(/img/group/title_before.png) no-repeat;
	background-size:contain;
}
#top .title_text{
	position:relative;
	line-height:2em;
	text-indent: 1em;
	font-size: 3.0em;
	font-weight: bolder;
	padding: 80px 0;
}

.main-content {
	margin: 2rem auto;
	width: 80%;
	max-width: 800px;
}

@media screen and (max-width: 767.99px) {
	#top .title{
    background-image: url(/img/flow/flow-back-sp.png);
    background-repeat: no-repeat;
    display: block;
    padding: 0 5%;
    height: 55vw;
    background-size: contain;
  }
  
  #top .title_text{
    position:relative;
    text-indent: 0;
    font-size: 22px;
    font-weight: bolder;
    padding: 0;
    padding-top: 16vw;
  }
  #top .title:before{
    position:absolute;
    left:0;
    content:"";
    display:inline-block;
    width:min(10vw, 5em);
    height:min(10vw, 5em);
    background:url(/img/group/title_before.png) no-repeat;
    background-size:contain;
  }
	.main-content {
		width: 100%;
	}
}

/*------nav-bar------------------------------------------*/

.nav-tabs {
	border-bottom: none;
	justify-content: center;
	gap: 0.5rem;
	background-color: #f7f3f0;
}

.nav-tabs .nav-link {
	background-color: unset;
	font-size: 1.5rem;
	font-weight: bold;
	border-radius: 0.25rem;
	color: #191919;
}

.nav-tabs .nav-link.active {
	color: #ffffff;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
	border-color: #f7f3f0;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active:focus {
	outline: none;
}


.nav-tabs #kanto-tab.nav-link.active {
	background-color: #e74445;
	border-color: #e74445;
}

.nav-tabs #creative-tab.nav-link.active {
	background-color: #4f81f0;
	border-color: #4f81f0;
}

.nav-tabs #atlas-tab.nav-link.active {
	background-color: #ffbb00;
	border-color: #ffbb00;
}

.nav-tabs #corenet-tab.nav-link.active {
	background-color: #e266ff;
	border-color: #e266ff;
}

.nav-tabs #gaudia-tab.nav-link.active {
	background-color: #24b377;
	border-color: #24b377;
}

/*-------共通-----------------------*/
.tab-content .title h3 {
	font-size: 2.25rem;
	padding: 1rem 3rem;
}

.tab-content .ideal-figure,
.tab-content .flow {
	margin: 2rem 1.5rem;
	background-color: #f7f3f0;
}

.tab-content .ideal-figure > div {
	margin: 2rem 0;
}

.tab-content .ideal-figure h6 {
	font-size: 1.8rem;
}

.tab-content .ideal-figure ul {
	font-size: 1.6rem;
	margin: 0 2rem;
}

.tab-content .flow h6 {
	font-size: 1.6rem;
}

.tab-content .flow .tab-pane {
	text-align: center;
}

.tab-content .flow .tab-pane > div {
	display: inline-block;
	max-width: 520px;
	text-align: center;
}

.tab-content .flow .flow-main {
	min-width: 250px;
}

.tab-content .flow .flow-main li p {
	font-size: 1.75rem;
	padding: 0.5rem 1.5rem;
	margin: -0.5rem 0 1.5rem;
	background-color: #ffffff;
}


.tab-content .flow .flow-tips {
	text-align: left;
	font-size: 1.5rem;
	margin-left: 1.5rem;
}

.tab-content .flow .flow-tips li {
	list-style: '※';
}

@media screen and (max-width: 767.99px) {
	.tab-content .ideal-figure ul {
		margin: 0;
	}
}

/*------日能研関東---------------------------*/
#kanto .title {
	border-bottom: 3px solid #e74445;
}

#kanto .flow .flow-main li:not(:last-child):after {
  border-width: 8px 7px;
  border-style: solid;
  border-color: #e74445 transparent transparent transparent;
  content: "";
}

#kanto-flow-tab.nav-tabs {
	margin-top: 2rem;
}

#kanto-flow-tab.nav-tabs .nav-link.active {
	background-color: #e74445;
	border-color: #e74445;
}

/*------クリエイティブスタッフ---------------------------*/
#creative .title {
	border-bottom: 3px solid #4f81f0;
}

#creative .flow .flow-main li:not(:last-child):after {
  border-width: 8px 7px;
  border-style: solid;
  border-color: #4f81f0 transparent transparent transparent;
  content: "";
}

#creative-flow-tab.nav-tabs {
	margin-top: 2rem;
}

#creative-flow-tab.nav-tabs .nav-link.active {
	background-color: #4f81f0;
	border-color: #4f81f0;
}

/*------アトラス---------------------------*/
#atlas .title {
	border-bottom: 3px solid #ffbb00;
}

#atlas .flow .flow-main li:not(:last-child):after {
  border-width: 8px 7px;
  border-style: solid;
  border-color: #ffbb00 transparent transparent transparent;
  content: "";
}

#atlas-flow-tab.nav-tabs .nav-link.active {
	background-color: #ffbb00;
	border-color: #ffbb00;
}

/*------コアネット---------------------------*/
#corenet .title {
	border-bottom: 3px solid #e266ff;
}

#corenet .flow .flow-main li:not(:last-child):after {
  border-width: 8px 7px;
  border-style: solid;
  border-color: #e266ff transparent transparent transparent;
  content: "";
}

#corenet-flow-tab.nav-tabs {
	margin-top: 2rem;
}

#corenet-flow-tab.nav-tabs .nav-link.active {
	background-color: #e266ff;
	border-color: #e266ff;
}

/*------ガウディア---------------------------*/
#gaudia .title {
	border-bottom: 3px solid #24b377;
}

#gaudia .flow .flow-main li:not(:last-child):after {
  border-width: 8px 7px;
  border-style: solid;
  border-color: #24b377 transparent transparent transparent;
  content: "";
}

#gaudia-flow-tab.nav-tabs {
	margin-top: 2rem;
}

#gaudia-flow-tab.nav-tabs .nav-link.active {
	background-color: #24b377;
	border-color: #24b377;
}
