/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.00
*/

#contents {
	max-width: 1000px;
}

@media (max-width:767px){
	#toc_container .toc_list {
		padding: 0 15px 25px 15px;
	}
	#toc_container .toc_list > li {
		padding-left: 30px;
	}
	#toc_container .toc_list > li > ul > li {
 	   padding-left: 25px;
	}


	#scroll-content {
		margin-top: 61px;
	}
}



#mustheader {
	padding: 12px 0 14px;
}
#mustheader .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1060px;
	padding: 0 30px;
	margin: 0 auto;
}
#mustheader .menu {
	position: relative;
	font-size: 0;
}
#mustheader .menu button {
	position: relative;
	padding: 7px 15px 7px 45px;
	border: none;
	border-radius: 18px;
	background: #0086cc;
	color: #fff;
	line-height: 21px;
	outline: none;
	cursor: pointer;
	transition: all .2s;
}
#mustheader .menu button .icon {
	display: inline-block;
	width: 20px;
	height: 2px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 15px;
	margin: auto;
	background: #fff;
}
#mustheader .menu button .icon:before,
#mustheader .menu button .icon:after {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: #fff;
	position: absolute;
	left: 0;
}
#mustheader .menu button .icon:before {
	top: -6px;
}
#mustheader .menu button .icon:after {
	bottom: -6px;
}
#mustheader .menu button .text {
	font-size: 14px;
}
#mustheader #header_nav {
	display: block;
	min-width: 250px;
	position: absolute;
	top: -webkit-calc(100% + 10px);
	top: calc(100% + 10px);
	left: 0;
	background: #333;
	border-radius: 10px;
	z-index: 9;
	opacity: 0;
	pointer-events: none;
}
#mustheader #header_nav:before {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	top: -8px;
	left: 60px;
	border-style: solid;
	border-color: transparent transparent #333 transparent;
	border-width: 0 8px 8px 8px;
	transition: all .2s;
}
#mustheader #header_nav a {
	display: block;
	padding: 12px 16px;
	color: #fff !important;
	font-size: 14px;
	font-weight: bold;
}
#mustheader #header_nav a + a {
	border-top: 1px dashed #999;
}
#mustheader .logo {
	max-width: 200px;
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	font-size: 0;
	text-align: center;
}
#mustheader .logo img {
	width: auto;
	max-height: 35px;
}
#mustheader .sns {
	font-size: 0;
}
#mustheader .sns i {
	color: #0086cc;
	font-size: 28px;
	line-height: 35px;
}
/* active menu */
#mustheader .menu.active #header_nav {
	opacity: 1;
	pointer-events: all;
}
#mustheader .menu.active button {
	background: #333;
}
#mustheader .menu.active button .icon {
	background: transparent;
}
#mustheader .menu.active button .icon:before {
	top: 0;
	transform: rotate(-45deg);
}
#mustheader .menu.active button .icon:after {
	bottom: 0;
	transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
	#mustheader {
		width: 100%;
		position: fixed;
		z-index: 999;
		background: #fff;
	}
	#mustheader .menu {
		position: static;
	}
	#mustheader .menu button {
		width: 35px;
		height: 35px;
		padding: 0;
	}
	#mustheader .menu button .icon {
		left: 0;
		right: 0;
	}
	#mustheader .menu button .text {
		display: none;
	}
	#mustheader #header_nav {
		width: 100%;
		height: -webkit-calc(100vh - 61px);
		height: calc(100vh - 61px);
		top: 100%;
		background: rgba(51,51,51,.95);
		border-radius: 0;
	}
	#mustheader #header_nav:before {
		left: 40px;
	}
	#mustheader #header_nav .cover {
		width: 100%;
		height: 100%;
		overflow: auto;
	}
}
@media screen and (max-width: 480px) {
	#mustheader .inner {
		padding: 0 16px;
	}
	#mustheader .logo img {
		max-height: 30px;
	}
	#mustheader #header_nav:before {
		left: 26px;
	}
}



footer {
	padding: 0;
}
footer #footer-box.renewal {
	width: 100%;
	padding: 30px 0;
	background: #fff;
}
footer #footer-box.renewal .inner {
	width: 100%;
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
}
footer #footer-box.renewal nav {
	margin-bottom: 30px;
	font-size: 0;
	text-align: center;
}
footer #footer-box.renewal nav a {
	display: inline-block;
	margin: 0 1em;
	font-size: 14px;
	text-decoration: none;
}
footer #footer-box.renewal .inner div {
	position: relative;
	text-align: center;
}
footer #footer-box.renewal .logo img {
	max-width: 250px;
}
footer #footer-box.renewal .twitter a {
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	color: #0086cc;
	font-size: 30px;
}
footer #footer-box.renewal ul {
	margin-top: 24px;
	font-size: 0;
	text-align: center;
}
footer #footer-box.renewal ul li {
	display: inline-block;
	margin: 0 .5em;
	font-size: 12px;
}
@media screen and (max-width: 767px) {
	footer #footer-box.renewal .inner {
		padding: 0 16px;
	}
	footer #footer-box.renewal nav {
		display: flex;
		flex-direction: column;
	}
	footer #footer-box.renewal nav a {
		padding: 1em 0 1em 2px;
		border-bottom: 1px dashed #ccc;
		text-align: left;
	}
	footer #footer-box.renewal nav a:first-of-type {
		border-top: 1px dashed #ccc;
	}
	footer #footer-box.renewal .twitter a {
		position: static;
		margin-top: 30px;
	}
	footer #footer-box.renewal ul {
		margin-top: 30px;
	}
	footer #footer-box.renewal ul li {
		display: block;
		margin: 0 auto;
	}
	footer #footer-box.renewal ul li + li {
		margin-top: .5em;
	}
}


#footer-widget-area.footer_type1 {
	border-bottom: none;
}

/*********************************
* タイムライン
*********************************/
.timeline-box {
  margin-bottom: 20px;
  border: 1px solid #ccc; /* 枠なしの場合消す */
  border-radius: 4px;
  padding: 16px 5px;
  box-sizing: border-box;
}
 
.timeline-box *{
  box-sizing: border-box;
}
 
.timeline-box .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.timeline-title {
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
}
 
.timeline > li {
  margin-bottom: 60px;
}
 
.timeline > li.timeline-item {
  overflow: hidden;
  margin: 0;
  position: relative;
}
 
.timeline-item-label {
  width: 110px;
  float: left;
  padding-top: 18px;
  text-align: right;
  padding-right: 1em;
  font-size: 14px;
}
 
.timeline-item-title {
  font-weight: bold;
}
 
.timeline-item-content {
  width: calc(100% - 110px);
  float: left;
  padding: .8em 1.4em;
  border-left: 3px #e5e5d1 solid;
}
 
.timeline-item:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #6fc173;
  position: absolute;
  left: 130px;
  top: 24px;
  border-radius: 100%;
}
 
/* for Smartphone */
@media screen and (max-width: 480px) {
  .timeline-box .timeline {
    padding-left: 10px;
	border: 0;
	padding: 16px 0px 16px 10px ;
	font-size: smaller;
  }
 
  .timeline > li.timeline-item {
    overflow: visible;
    border-left: 3px #e5e5d1 solid;
  }
 
  .timeline-item-label {
    width: auto;
    float: none;
    text-align: left;
    padding-left: 4px;
  }
 
  .timeline-item-content {
    width: auto;
    padding: 4px;
    float: none;
    border: none;
  }
 
  .timeline-item::before {
    left: -12px;
    top: 19px;
    width: 21px;
    height: 21px;
  }
}