@charset "utf-8";
/* CSS Document */

/*
Theme Name: Saga University Alumni Association
Description: This is Saga University Alumni Association theme.
Author: Globenetsystem, Inc.
Version: 2
Updates: 2.1:2025/5/16-ume
*/

/* main-page */
.main-page{
	line-height: 1.8em;
}
.main-page table th,
.main-page table td{
	border: 1px solid #CCC;
	padding: 2px;
}
.main-page .table-style table th,
.main-page .table-style table td{
	border: 1px solid #CCC;
	padding: 2px;
}
.main-page .table-style-5 table th,
.main-page .table-style-5 table td{
	border: 1px solid #CCC;
	padding: 5px;
}
.main-page .table-style-10 table th,
.main-page .table-style-10 table td{
	border: 1px solid #CCC;
	padding: 10px;
}
.main-page h2{
	font-size: 25px;
	font-size: 1.5625rem;
	line-height: 1.4em;
	text-align: center;
	border-bottom: 3px solid #cbcbcb;
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 30px;
}
.main-page h2:after{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	margin: 0 auto;
	width: 195px;
	border-bottom: 3px solid #005896;
}
.main-page h2 .small{
	font-size: 60%;
	line-height: 1.2em;
}
.main-page h3{
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: bold;
	background-color: #f5f5f5;
	border-left: 3px solid #005896;
	padding: 10px;
	margin-bottom: 20px;
}
.main-page h4{
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: bold;
}

/* list-line */
.list-line li{
	padding: 10px;
}
.list-line li:nth-child(odd){
	background-color: #f5f5f5;
}

/* pagination */
.pagination{
	list-style-type: none;
	padding-left: 0;
	margin: 30px 0;
}
.pagination,
.pagination li a {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.pagination a {
	font-weight: 300;
	padding-top: 1px;
	text-decoration:none;
	border: 1px solid #ddd;
	border-left-width: 0;
	min-width:36px;
	min-height:36px;
	line-height:36px;
	color: #333;
}
.pagination li:not([class*="current"]) a:hover {
	background-color: #eee;
}
.pagination li:first-of-type a {
	border-left-width: 1px;
}
.pagination li.current a {
	background-color: #ddd;
	cursor: default;
	pointer-events: none;
}
.pagination > li:first-child > a {
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
}
@media only screen and ( max-width: 680px ) {
	/*-ume-2025/5/16-start-*/
	.pagination,
	.pagination li a {
		float: left;
	}
	/*-end-*/
	
	.pagination li.first,
	.pagination li.last {
		/*-ume position: absolute;*/
		top: -9999px;
		left: -9999px;
	}
	.pagination li.previous a { border-left-width: 1px; }
}
 
@media only screen and ( max-width: 500px ) {
	.pagination li {
		/*-ume position: absolute;*/
		top: -9999px;
		left: -9999px;
	}
	.pagination li.current,
	.pagination li.first,
	.pagination li.last,
	.pagination li.previous,
	.pagination li.next{
		position: initial;
		top: initial;
		left: initial;
	}
	.pagination li.previous a { border-left-width: 0; }
}
@media only screen and ( max-width: 400px ) {
	.pagination li.first,
	.pagination li.last {
		/*-ume position: absolute;*/
		top: -9999px;
		left: -9999px;
	}
	.pagination li.previous a { border-left-width: 1px; }
}

/* contact-form */
.wpcf7 table{
	width: 100%;
}
.wpcf7 table th,
.wpcf7 table td{
	padding: 15px 25px;
	vertical-align: middle;
}
.wpcf7 table tr:nth-of-type(odd) th,
.wpcf7 table tr:nth-of-type(odd) td{
	background-color: #f5f5f5;
}
.wpcf7 table th{
	width: 200px;
	text-align: left;
	position: relative;
}
.wpcf7 .required{
	position: absolute;
	right: 20px;
	top: 0;
	bottom: 0;
	margin: auto 0;
	display: inline-block;
	color: #fff;
	background-color: #f00;
	border-radius: 3px;
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 0.05em;
	font-weight: normal;
	padding: 0 5px;
	height: 20px;
}
.f-width{
	width: 100%;
	box-sizing: border-box;
}

/* single */
.post-single__head{
	padding: 70px 0;
	margin-bottom: 20px;
	background-color: #f5f5f5;
}
.post-single__head h1{
	font-size: 25px;
	font-size: 1.5625rem;
	line-height: 1.4em;
	letter-spacing: 0.05em;
	padding-left: 20px;
}
.post-single__head h1:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background-color: #005896;
	border-radius: 3px;
}
.post-single__date{
	color: #666;
	text-align: right;
	padding-bottom: 50px;
}

/*=======================================================

 @media screen max width: 980px ~

=========================================================*/
@media screen and (max-width: 980px) {
	.post-single__head{
		padding-left: 15px;
		padding-right: 15px;
	}
	.post-single__head h1{
		padding-left: 5px;
	}
}

/*=======================================================

 @media screen max width: 768px ~

=========================================================*/
@media screen and (max-width: 768px) {

	.wpcf7 table th,
	.wpcf7 table td{
		width: 100% !important;
		display: block !important;
		box-sizing: border-box;
	}
	.wpcf7 table th{
		padding-bottom: 0;
	}
	.wpcf7 .required{
		position: relative;
		right: inherit;
		top: inherit;
		bottom: inherit;
		margin-left: 10px;
	}
	input[type="text"], input[type="email"], input[type="tel"], textarea{
		width: 100%;
	}
	.wpcf7-list-item:first-child{
		margin-left: 0;
	}
}