@charset "utf-8";

/*----------------------------------------------------------
卒業年度早見表用CSS
----------------------------------------------------------*/
.wrapper {
	width: 95%;
  max-width: 960px;
  margin: 30px auto 0;
}

.grad_ttl {
	display: inline-block;
	padding: 0 10px 0 15px;
	height: 30px;
	line-height: 30px;
	background: #F06E41;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px 2px 0px 0px;
  position: relative;
}
.grad_ttl:after {
	content: "";
	display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 0 0 12px;
  border-color: transparent transparent transparent #F06E41;
  position: absolute;
  bottom: 0;
  right: -12px;
}

.contents_header {
  width: 100%;
  margin: 0px auto;
  padding: 4%;
  background-color: #F0A641;
  border-radius: 0px 5px 5px 5px;
  display: block;
}

.contents_header_inner {
  display: flex;
}

.ttl {
  width: 50%;
}

.ttl h2 {
  color: #fff;
  letter-spacing: 0em;
  font-size: 1.6rem;
  font-weight: bold;
}

.ttl h2 img {
	width: 100%;
	max-width: 422px;
	height: auto;
}

.ttl p {
  color: #fff;
  padding-top: 25px;
	text-align: justify;
	text-justify: inter-ideograph;
}

.ttl a {
  display: none;
}

.links {
  width: 50%;
  padding-left: 4%;
}

.links_bottom {
	display: block;
	width: 100%;
  float: none;
  margin-top: 50px;
  padding-left: 0;
}

.links .links_inner {
  width: 100%;
  padding-bottom: 8%;
  background: #eee;
  border-radius: 5px;
}

.links_bottom .links_inner {
  padding-bottom: 4%;
}

.links h3 {
	background: #F06E41;
  padding: 10px 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  border-radius: 5px 5px 0 0;
}

.links_bottom h3 {
  font-size: 1.4rem;
}

.links p {
  margin-top: 5%;
  padding: 0 5%;
}

.links ul {
  margin-top: 5%;
  padding: 0 5%;
}

.links_bottom ul {
  margin-top: 3%;
}

.links ul li {
  margin-top: 10px;
	list-style: none;
}

.links_bottom ul li p {
	display: inline-block;
	margin-top: 10px;
	padding: 2px 8px;
  background: #fff;
  border-left: 7px solid #F06E41;
}

.links ul li a {
  display: block;
  padding: 8px 15px 8px 40px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border-radius: 20px;
  position: relative;
}

.links_bottom ul li a {
  display: block;
  margin-top: 15px;
  padding: 0 0 0 30px;
  background: none;
  color: inherit;
  text-decoration: underline;
	text-align: justify;
	text-justify: inter-ideograph;
  border-radius: 0;
  position: relative;
}

.links ul li a:before {
	content: "";
	width: 13px;
	height: 14px;
	background: url(../img/icon_arrow.png) no-repeat;
	background-size: 13px 14px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 20px;
}

.links_bottom ul li a:before {
	top: 2px;
	bottom: auto;
	margin: auto;
	left: 10px;
}

.links ul li a span {
  margin-left: -5px;
  margin-right: -5px;
}
.links ul li:first-child a {
  letter-spacing: -0.1px;
}

.links_bottom .sitetop {
  margin: 20px 20px 0;
  padding: 30px;
  background: #fff;
  border-radius: 5px;
  text-align: center;
}

.links_bottom .sitetop p {
  margin-top: 0;
	padding: 0;
}

.links_bottom .sitetop a {
	display: block;
  margin: 10px auto 0;
  max-width: 324px;
}

.links_bottom .sitetop a img {
	width: 100%;
  max-width: 324px;
	height: auto;
}

.main {
  width: 100%;
	margin-top: 30px;
}

.nav {
  border-top: 1px dotted #F0A641;
  border-bottom: 1px dotted #F0A641;
  margin: 0;
	padding: 10px 0;
	display: flex;
}
.nav p {
	width: 8em;
	height: 30px;
	line-height: 30px;
	padding: 0px 10px;
	background: #aaa;
	color: #fff;
	text-align: center;
	position: relative;
}
.nav p:first-child:after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 0 15px 15px;
	border-color: transparent transparent transparent #aaa;
	position: absolute;
	top: 0;
	right: -15px;
}
.nav ul {
	display: flex;
	flex-wrap: wrap;
	padding-left: 20px;
}

.nav ul li {
  font-size: 1.4rem;
  margin-left: 25px;
	padding-left: 20px;
  line-height: 30px;
	list-style: none;
	position: relative;
}
.nav ul li:before {
	content: "";
	width: 13px;
	height: 13px;
	background: url(../img/icon_list.png) no-repeat;
	background-size: 13px 13px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
}

.nav ul li a {
  color: inherit;
}

.gradlist {
  width: 100%;
  border: 2px solid #aaa;
	table-layout: fixed;
}

.gradlist tr th,
.gradlist tr td {
  font-size: 1.4rem;
  padding: 10px 0;
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
}

.gradlist tr th {
  border: 1px solid #aaa;
}

.gradlist tr th.listtop {
  vertical-align: middle;
  text-align: center;
  background-color: #e5e5e5;
  width: 10%;
  font-weight: bold;
}

.gradlist tr.school th {
	width: 20%;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  border-left: 2px solid #aaa;
  font-size: 1.4rem;
}

.gradlist tr th.listtop.sp {
  display: none;
}

.gradlist tr.school th.sp {
  display: none;
}

.gradlist tr td {
  width: 10%;
	color: #222;
}

.gradlist tr td.seinen {
  background-color: #e5e5e5;
  border: 1px solid #aaa;
  font-weight: bold;
	color: #333;
}

.gradlist tr.ad_grad th {
  border-bottom: 2px solid #aaa;
}
.gradlist tr.ad_grad th:nth-child(even) {
  border-right: 2px solid #aaa;
}
.gradlist tr.ad_grad th:first-child {
  border-left: 2px solid #aaa;
}

.gradlist tr td:nth-child(even) {
  border-right: 2px solid #aaa;
}

.gradlist tr th.listtop.min {
  letter-spacing: -0.5px;
}

.gradlist tr th.listtop.min span {
  font-size: 1.4rem;
}

.ad {
  display: block;
}

.nengou {
  margin-bottom: 0;
  padding-bottom: 0;
}

caption.nengou_link {
  margin-bottom: 0px;
	padding: 30px 0 5px 5px;
  border-style: none;
  text-align: left;
  font-size: 1.4rem;
  font-weight: bold;
	position: relative;
}

.nengoulist_marker {
  color: #239BE6;
  font-size: 1.5rem;
  padding-right: 3px;
}

caption.nengou_link .comment {
	position: absolute;
	right: 5px;
	bottom: 5px;
}
caption.nengou_link .comment:before {
	content: "";
  display: inline-block;
  margin-right: 5px;
  width: 12px;
  height: 18px;
  background: url(../img/icon_lite.png) no-repeat;
  background-size: 12px 18px;
  position: relative;
  bottom: -3px;
}
caption.nengou_link .hilight {
	background: #C1F1FF;
}

caption.nengou_link .sp {
	display: none;
}

caption.nengou_link .spnone {
	display: block;
}

.exp_bottom {
  background-color: #eee;
  padding: 30px;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 5px;
}

.exp_bottom .inner {
  background-color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
}

.exp_bottom h2,
.exp_bottom .inner h3 {
  font-size: 1.6rem;
  color: #F06E41;
}

.exp_bottom .inner h3 {
  margin-top: 10px;
}

.exp_bottom ul {
  margin-top: 10px;
	padding-left: 25px;
	list-style-type: disc;
}

.exp_bottom ul li,
.exp_bottom .inner p {
  font-size: 1.4rem;
  color: #444;
  line-height: 1.8;
	text-align: justify;
	text-justify: inter-ideograph;
}

.exp_bottom ul li a {
  display: inline-block;
  font-size: 1.4rem;
  color: #F06E41;
  font-weight: bold;
  text-decoration: underline;
}

.gradlist tr:nth-child(even) {
  background-color:#f7f7f7;
}

.pageright {
	display: none;
  position: fixed;
  top: 30px;
  right: 0;
	z-index: 1;
}

.pageright a {
  display: block;
  padding: 12px 12px 30px;
  width: auto;
  background: #f48622;
  color: #fff;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 1.2rem;
  line-height: 1.2;
	-ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-decoration: none;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.pageright a:before {
  position: absolute;
  bottom: 12px;
  left: 14px;
  content: "";
  vertical-align: middle;
  box-sizing: border-box;
  width: 12px;
  height: 6px;
  border: 6px solid transparent;
  border-left: 12px solid #fff;
}

/*-----------------------------------------
Table Hover js
------------------------------------------*/

table.jquery-tablehover td.hover,
table.jquery-tablehover th.hover {
  background-color: #d0f0f5;
}

table.gradlist.jquery-tablehover tr td.seinen.hover {
  background-color: #d0f0f5;
}

table.jquery-tablehover td.tablehover-click,
table.jquery-tablehover th.tablehover-click {
  background-color: #b1eaf2;
}

table.gradlist.jquery-tablehover tr td.seinen.tablehover-click {
  background-color: #b1eaf2;
}

/*===================================================================================================================*/
@media screen and (max-width:640px) {

	.wrapper {
	  width: 100%;
		margin-top: -30px;
	}

	.grad_ttl {
	  border-radius: 0px;
	  bottom: -30px;
	}
	.grad_ttl:after {
		border-width: 30px 12px 0 0;
    border-color: #F06E41 transparent transparent transparent;
	  top: 0;
	}

	.contents_header {
	  padding: 45px 20px 30px;
	  border-radius: 0px;
	}

	.ttl {
	  width: 100%;
	  float: none;
	}

	.ttl h2 {
		margin-top: 10px;
	  font-size: 1.2rem;
	}

	.ttl h2 img {
		width: 203px;
	}

	.ttl p {
	  padding-top: 15px;
	}

	.ttl a {
	  display: inline-block;
		margin-top: 10px;
		padding-left: 20px;
		text-decoration: underline;
		color: #fff;
		position: relative;
	}
	.ttl a:before {
    content: "";
    width: 13px;
    height: 14px;
    background: url(../img/icon_arrow_w.png) no-repeat;
    background-size: 13px 14px;
    position: absolute;
    top: 2px;
    bottom: 0;
    margin: auto;
    left: 2px;
}

	.links {
		display: none;
	}

	.links_bottom {
		display: block;
	}

	.links_bottom .links_inner {
		border-radius: 0;
		padding-bottom: 20px;
	}

	.links_bottom h3 {
		padding: 10px;
    border-radius: 0;
	}

	.links_bottom ul {
		margin-top: 5px;
    padding: 0 20px;
	}

	.main {
		margin-top: 1px;
	}

	.nav {
	  border: none;
	  padding: 0;
		display: block;
	}
	.nav p {
	  width: 100%;
	  text-align: center;
	}
	.nav p:first-child:after {
	  content: none;
	}

	.nav ul {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #aaa;
	}

	.nav ul li {
		width: 33.333%;
	  margin: 0;
	}
	.nav ul li:before {
		left: 10px;
	}
	.nav ul li:nth-of-type(1),
	.nav ul li:nth-of-type(2),
	.nav ul li:nth-of-type(4),
	.nav ul li:nth-of-type(5) {
	  border-right: 1px solid #aaa;
	}
	.nav ul li:nth-of-type(1),
	.nav ul li:nth-of-type(2),
	.nav ul li:nth-of-type(3) {
		border-bottom: 1px solid #aaa;
	}
	.nav ul li a {
	  display: block;
	  width: 100%;
	  height: 100%;
	  padding: 2px 0 2px 10px;
	  text-decoration: none;
	}

	.gradlist {
	  margin-top: 20px;
		border-left: none;
		border-right: none;
	}

	caption.nengou_link {
		width: 100%;
		padding-top: 7px;
		padding-left: 0;
		margin-left: 0;
	}

	caption.nengou_link .nengoulist_marker {
    padding: 0 3px;
	}

	caption.nengou_link .comment {
		display: block;
		padding: 0 3px 0 20px;
		font-size: 1.1rem;
		line-height: 1.1;
		position: relative;
    top: -2px;
	}

	caption.nengou_link .comment .atend {
		display: block;
		margin-top: 5px;
	}

	caption.nengou_link .comment .atend span {
    margin-left: -0.5em;
    margin-right: -0.5em;
	}

	caption.nengou_link .sp {
		display: block;
	}

	caption.nengou_link .spnone {
		display: none;
	}

	.gradlist tr th.listtop {
	  width: 22%;
		font-size: 1.2rem;
	}

	.gradlist tr th.listtop.sp {
	  display: table-cell;
	  width: 12%;
	  border-left: none;
	}
	.gradlist tr th.listtop.spnone {
	  display: none;
	}

	.gradlist tr.school th {
	  border-top: 1px solid #aaa;
	  border-right: 1px solid #aaa;
	  border-left: 1px solid #aaa;
	}
	.gradlist tr.school th:last-child {
	  border-right: none;
	}

	.gradlist tr.school th.sp {
	  display: table-cell;
		border-left: none;
	}
	.gradlist tr.school th.spnone {
	  display: none;
	}

	.gradlist tr th {
    padding: 5px 0;
	}

	.gradlist tr td {
	  width: 11%;
		font-size: 1.2rem;
	}
	.gradlist tr td .spnone {
	  display: none;
	}

	.gradlist tr td.seinen {
	  width: 12%;
	}
	.gradlist tr td.seinen.spnone {
	  display: none;
	}

	.gradlist tr.ad_grad th {
	  border-bottom: 1px solid #aaa;
	  width: 11%;
	}
	.gradlist tr.ad_grad th:nth-child(even) {
	  border-right: 1px solid #aaa;
	}
	.gradlist tr.ad_grad th:first-child {
	  border-left: none;
	}
	.gradlist tr.ad_grad th:last-child {
	  border-right: none;
	}

	.gradlist tr td:nth-child(even) {
	  border-right: 1px solid #aaa;
	}
	.gradlist tr td:first-child {
	  border-left: none;
	}
	.gradlist tr td:last-child {
	  border-right: none;
	}

	.exp_bottom {
		margin: 0;
		padding: 20px;
		background: #e0e0e0;
		border-radius: 0;
	}

	.pagebottom {
		display: none;
	  position: fixed;
	  right: 0;
		left: 0;
		margin: auto;
		bottom: 0;
		z-index: 1;
	}

	.pagebottom a {
	  display: block;
		width: 80%;
		height: 40px;
		line-height: 40px;
		margin: 0 auto;
	  background: #F06E41;
	  color: #fff;
	  border-top-left-radius: 5px;
	  border-top-right-radius: 5px;
	  font-size: 1.4rem;
	  text-decoration: none;
		text-align: center;
	  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	}

}

@media screen and (max-width: 408px) {
	.gradlist tr td {
    font-size: 1.1rem;
    letter-spacing: -0.2px;
	}
}

@media screen and (max-width: 340px) {
	.nav ul li a {
    font-size: 1.2rem;
	}
	.gradlist tr td {
    font-size: 1.1rem;
    letter-spacing: -0.5px;
	}
}

@media screen and (min-width: 641px) {
	.pagebottom {
		display: none !important;
	}
}
