@charset "UTF-8";
@import url("helper.css");
@import url("https://use.fontawesome.com/releases/v5.10.2/css/all.css");

main:not(#main) {
	background-color:#f6f6f6;
	padding: 50px 0 100px !important;
}
main#main {
	background-color:transparent;
	padding: 0!important;
	margin: 0;
}
main:not(#main) + #mysbc-footer {
	background-color:#f6f6f6;
}

/*#main-contents {
	margin: 0px auto;
	width: 720px;
	position: relative;
}*/

h1 {
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	margin-bottom: 30px!important;
	border: none;
	font-size: 1.6rem;
}
h2 {
	font-weight: bold;
	text-align: center;
	padding: 0 10px 5px 10px;
	position: relative;
	height: auto;
	clear:both;
	font-size: 1.7rem;
}
h3 {
	font-size: 1.6rem;
}
hr {
    border-top: 1px solid #ccc;
    margin: 20px 0;
}
.btns {
	padding: 10px 0;
	text-align: center;
}
.btn {
	border: none;
}
.btn > span {
	color: #fff;
}

@media screen and (max-width: 979px) {
	main {
		padding:30px 0 60px !important;
	}
	#main-contents {
		margin:0px;
		width: auto;
	}
}

/*---------------------------------------------------------------------Contents*/
section#main-contents section {
	background-color:#fff;
	padding: 16px 19px 15px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
}
section#main-contents section + section {
	margin-top: 30px;
}
@media screen and (max-width: 979px) {
	section#main-contents section {
		padding: 4vw;
	}
	section#main-contents section + section {
		margin-top: 20px;
	}
}

/*---------------------------------------------------------------------Flow*/
#flow ul {
	display: flex;
	margin-bottom:30px;
	flex-wrap: wrap;
}
#flow ul li {
	width:calc(calc(100% - 30px) / 4);
	background-color: #f6f6f6;
	text-align:center;
	padding: 40px 20px;
	position:relative;
	border-radius: 5px;
	padding-bottom: 10px;
}
#flow ul li p {
	padding: 15px 0;
}
#flow.flow5 ul li {
	width:calc(calc(100% - 50px) / 5);
}
#flow.flow6 ul li {
	width:calc(calc(100% - 50px) / 6);
	
}
#flow ul li h4 {
	background-color: #efeff2;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	margin-bottom: 0;
	padding: 5px 0;
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	font-weight: normal;
}

#flow ul li.-done,
#flow ul li.-active {
	background-color: #fff0f2;
}
#flow ul li.-active h4 {
	background-color: #fc637f;
	color: #fff;
}
#flow ul li.-done h4 {
	background-color: #ffdfea;
}
#flow ul li:after {
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: -5px;
    display: block;
    width: 15px;
    height: 15px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
	z-index: 10;
}
#flow ul li.-active:after {
	border-color: #fb637e;
}
#flow ul li:last-child::after {
	content: none;
}
#flow ul li + li {
	margin-left:10px;
}

@media screen and (max-width: 979px) {
	#flow ul li {
		width:calc(calc(100% - 30px) / 2);
		margin-bottom: 10px;
		font-size: 1rem;
		padding: 7vw 2vw 2vw;
	}
	#flow.flow5 ul li,
	#flow.flow6 ul li {
		width: calc(calc(100% - 30px) / 2);
	}
	#flow ul li h4 {
		font-size: 1.2rem;
	}
	#flow ul li:after {
		width: 10px;
		height: 10px;
		border-width:1px;
	}
	#flow ul li + li {
		margin-left: 0;
	}
	#flow ul li:nth-child(even) {
		margin-left: 15px;
	}
}

/*---------------------------------------------------------------------CSS Popup*/

.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: #0006;
  opacity: 0;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
  position: relative;
  align-self: center;
  width: 75%;
  max-width: 800px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(94, 94, 94, 0.7);
  padding: 40px;
}
.popup_content p{
    padding:20px 20px 5px 20px;
    text-align: center;
}
.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
  color:#000;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 979px) {
	.popup_content {
		width: 90%;
		padding: 10px;
	}
}
