:root{
	--main-color: #008373;
	--text-color: #1e1e1e;
}

html{
	font-size: 62.5%;
}

body{
	font-family: "Afacad", "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: #1E1E1E;
	font-size: 1.6rem;
}

.dli-chevron-down {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  margin: 0 auto;
}

.more-btn{
	border: solid 1px var(--main-color);
	border-radius: 100px;
	font-size: 1.6rem;
	line-height: 16px;
}

.more-btn a{
	color: var(--main-color);
	display: block;
	padding: 12px 40px;
}

.more-btn:hover{
	background: var(--main-color);
}

.more-btn:hover a{
	color: #fff;
}

.container{
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.header{
	padding: 40px;
	background: var(--main-color);
	display: flex;
	justify-content: space-between;
}

.header .site-logo{
	font-size: 2.4rem;
	font-weight: 500;
	color: #fff;
	letter-spacing: .01em;
	width: 50%;
}

.header .site-logo .jp{
	display: block;
	font-size: 1.6rem;
	padding: 16px 0 0 0;
}

.header .main-menu{
	display: flex;
}

.header .main-menu li{
	margin: 0 20px 0 0;
}

.header .main-menu li:last-child{
	margin: 0;
}

.header .main-menu li a{
	font-weight: 500;
	color: #fff;
	display: block;
	position: relative;
}

/* ===== スマホ用メニューボタン ===== */
.menu-toggle {
	display: none; /* PCでは非表示 */
	width: 50px;
	height: 50px;
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 4000;
	border: none;
	background: var(--main-color);
	cursor: pointer;
}

.menu-toggle span {
	position: absolute;
	left: 13px;
	width: 24px;
	height: 3px;
	background: #fff;
	transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) {
	top: 15px;
}

.menu-toggle span:nth-child(2) {
	top: 23px;
}

.menu-toggle span:nth-child(3) {
	top: 31px;
}

/* 開いた時の×アイコン風アニメーション */
.menu-toggle.is-open span:nth-child(1) {
	top: 23px;
	transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
	top: 23px;
	transform: rotate(-45deg);
}

.top-main{
	background: var(--main-color);
	width: 100%;
	min-height: calc( 100vh - 152px );
}

.top-main-images{
	min-height: calc(100vh - 252px);
	margin: 0 auto;
	width: 460px;
	display: grid;
	place-items: center;
}

.top-main-images .slides{
	position: relative;
	width: 460px;
	height: 460px;
	padding: 20px;
	box-sizing: border-box;
}

.top-main-images .slick-list,
.top-main-images .slick-track{
	height: 100%;
}

.top-main-images .slick-slide{
	height: 100%;
	display: flex !important;
	justify-content: center;
	align-items: center;
}

@keyframes rotateAnimation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(-360deg);
	}
}

.top-main-images .slides::after{
	content: "";
	background: url(../../images/slideshow-circle.png);
	background-position: center;
	background-size: cover;
	width: 460px;
	height: 460px;
	position: absolute;
	top: 0;
	left: 0;
	animation: rotateAnimation 60s linear infinite;
}

.top-main-images .slides li{
	width: 420px;
	height: 420px;
	overflow: hidden;
	border-radius: 50%;
}

.top-main-images .slides li img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.more-scroll{
	display: block;
	color: #fff;
	font-size: 2rem;
	margin: 0 auto;
	text-align: center;
}

.more-scroll span{
	display: block;
	text-align: center;
}

.top-copy{
	margin: 80px 0 200px 0;
	font-size: 3.2rem;
	text-align: center;
	font-weight: 500;
	line-height: 6rem;
}

.top-copy .more-btn{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	margin: 20px 0 0 0;
}

.top-updates{
	max-width: 1240px;
	margin: 140px auto 200px auto;
}

.section-subject{
	color: var(--main-color);
	border-bottom: solid 2px var(--main-color);
	font-size: 3rem;
	font-weight: 500;
	padding: 0 0 12px 0;
	display: flex;
	justify-content: space-between;
}

.section-subject span{font-size: 1.6rem;}

.updates{
	margin: 0 0 40px 0;
}

.updates li a{
	display: flex;
	align-items: center;
	padding: 20px 0;
	font-weight: 500;
	border-bottom: solid 1px var(--main-color);
}

.updates li a .category{
	width: 140px;
	background: var(--main-color);
	color: #fff;
	text-align: center;
	padding: 6px 0;
}

.updates li a time{
	display: block;
	width: 140px;
	text-align: center;
	font-size: 1.8rem;
}

.updates li:hover{
	background: #eee;
}

.updates li.sticky a{
	color: #d9534f;
}

.updates li.sticky h3::before{
	content: "重要";
	margin: 0 1em 0 0;
	border-top: solid 1px #d9534f;
	border-bottom: solid 1px #d9534f;
}

.no-posts{
	font-size: 2rem;
	font-weight: 500;
	text-align: center;
	margin: 100px 0;
}

.top-updates .more-btn{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	margin: 20px 0 0 0;
}

.footer .pankuzu{
	background: var(--main-color);
	margin: 0 auto;
	padding: 20px 0;
	color: #fff;
}

.footer-nav .main-menu,
.footer-nav .sub-menu{
	display: flex;
	justify-content: center;
	margin: 60px 0 30px 0;
}

.footer-nav .sub-menu{
	margin: 0 0 60px 0;
}

.footer-nav .main-menu li,
.footer-nav .sub-menu li{
	margin: 0 20px;
}

.footer-nav .main-menu li a{
	font-weight: 500;
	color: var(--main-color);
}

.footer-nav .sub-menu li a{
	color: #666;
}

.footer-nav .main-menu li:hover a{
	color: #666;
}

.footer-nav .sub-menu li:hover a{
	color: #aaa;
}

.tcu-logo{
	width: 200px;
	margin: 0 auto;
}

.copyright{
	display: block;
	margin: 40px 0;
	text-align: center;
	color: #555;
}

.page-title{
	margin: 60px 0;
	font-size: 3.2rem;
	font-weight: 600;
	color: var(--main-color);
}

.page-eyecatch{
	height: 300px;
	overflow: hidden;
}

.page-eyecatch img{
	height: 300px;
	width: 100%;
	object-fit: cover;
}

.contents{
	font-family: "Noto Sans JP", sans-serif;
	margin: 60px auto;
	max-width: 920px;
}

.contents p{
	margin: 40px auto;
	max-width: 920px;
	line-height: 2em;
}

.contents p a{
	color: rgb(0, 0, 255);
	text-decoration: underline;
}

.contents p a:hover{
	text-decoration: none;
}

.contents p em{
	font-weight: 500;
}

.contents p strong{
	font-family: 500;
	color: #d9534f;
}

.contents ul,
.contents ol{
	margin: 0;
	padding: 0 0 0 1.6em;
	list-style: disc;
}

.contents ol{
	list-style: decimal;
}

.contents ul li,
.contents ol li{
	margin: 0 0 12px 0;
}

.heading{
	font-size: 2rem;
	margin: 60px 0;
	font-weight: 500;
	color: var(--main-color);
}

.subheading{
	margin: 40px 0;
	font-weight: 500;
}

.kikuchi-profile{
	display: flex;
}

.kikuchi-photo{
	width: 30%;
}

.kikuchi-photo p{
	margin: 0;
}

.kikuchi-photo p.name{
	font-size: 2rem;
	font-weight: 500;
}

.kikuchi-photo p.name .name-en{
	display: block;
}

.more-btn.researchmap{
	margin: 20px 0 0 0;
}

.more-btn.researchmap a{
	text-align: center;
}

.profile-detail{
	width: 70%;
	padding: 0 20px;
}

.profile-detail p{
	margin: 0 0 20px 0;
}

.lab-member{
	list-style: none!important;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0!important;
}

.lab-member::after{
	display: block;
	content: "";
	width: 23%;
}

.lab-member p{
	margin: 0;
}

.lab-member p.name{text-align: center;}

.lab-member li{
	width: 23%;
	margin: 0 0 40px 0;
}

.post-info{
	margin: 40px 0 0 0;
}

.post-info time{
	font-size: 2rem;
}

.post-info .post-title{
	font-size: 2.8rem;
	font-weight: 600;
}

.more-btn.list{
	margin: 40px auto;
	text-align: center;
	width: 320px;
}

/* コンタクトフォーム */
.wpcf7 {
  margin-top: 4rem;
  font-family: "Afacad", "Noto Sans JP", sans-serif;
  color: var(--text-color);
}

.wpcf7 form {
  max-width: 720px;
  margin: 0 auto;
}

.wpcf7 form p {
  margin: 0 0 2.4rem;
}

/* ラベル */
.wpcf7 form label {
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.8rem;
}

/* テキスト/メール入力欄共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  font-family: "Afacad", "Noto Sans JP", sans-serif;
  box-sizing: border-box;
  background-color: #fff;
  font-weight: 400;
}

/* フォーカス時 */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(0, 131, 115, 0.12); /* main-color を薄く */
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 16rem;
  line-height: 1.7;
  resize: vertical;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: inline-block;
  border-radius: 100px;
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.2rem 3.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #fff;
  color: var(--main-color);
  box-shadow: 0 0 0 1px var(--main-color) inset;
}

/* バリデーションエラー表示 */
.wpcf7-not-valid-tip {
  margin-top: 0.4rem;
  font-size: 1.3rem;
  color: #d9534f;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #d9534f;
  color: #d9534f;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #008373;
  color: #008373;
}

label.required::before {
  content: "必須";
  display: inline-block;
  color: #d9534f;
  margin-right: 0.6rem;
}

/* レスポンシブ（スマホ）微調整 */
@media screen and (max-width: 767px) {
  .wpcf7 form {
	padding: 0 1.6rem;
  }

  .wpcf7 input[type="submit"] {
	width: 100%;
	text-align: center;
  }
}

/* ============================
   Pagination
   ============================ */

.pagination {
  margin: 60px 0;
  text-align: center;
}

/* WP デフォルトの .nav-links を横並びに */
.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* 通常のページ番号リンク */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--main-color);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--main-color);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* 現在のページ */
.pagination .page-numbers.current {
  background-color: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
  cursor: default;
}

/* ホバー時 */
.pagination .page-numbers:not(.current):hover {
  background-color: rgba(0, 131, 115, 0.08);
  border-color: var(--main-color);
}

/* PREV / NEXT */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 16px;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 「…」部分 */
.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #999;
  min-width: auto;
  padding: 0 4px;
}

/* SP 調整 */
@media screen and (max-width: 767px) {
  .pagination {
	margin-top: 40px;
  }

  .pagination .nav-links {
	gap: 6px;
  }

  .pagination .page-numbers {
	min-width: 36px;
	height: 36px;
	font-size: 1.3rem;
  }

  .pagination .page-numbers.prev,
  .pagination .page-numbers.next {
	padding: 0 12px;
	font-size: 1.1rem;
  }
}

/* ===== 901px以上 ===== */

@media (min-width:901px){
	
.header .main-menu li a::after{
	content: "";
	display: block;
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	opacity: 0;
	transition: opacity .3s;
}

.header .main-menu li a:hover::after {
	opacity: 1;
}

}

/* ===== 900px未満 ===== */
@media (max-width: 900px) {

.header{
	padding: 16px 20px;
	align-items: center;
}

/* ボタン表示 */
.menu-toggle{
	display: block;
}

.gnav{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--main-color);
	display: none;
	z-index: 3000;
	padding-top: 80px; /* ボタンとの余白 */
}

.header .main-menu{
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.header .main-menu li{
	width: 100%;
	margin: 0;
	border-top: 1px solid rgba(255,255,255,.2);
}

.header .main-menu li:last-child{
	border-bottom: 1px solid rgba(255,255,255,.2);
}

.header .main-menu li a{
	display: block;
	width: 100%;
	padding: 18px 24px;
	color: #fff;
}

.top-main{
	height: calc( 100vh - 104px );
}

.top-main-images{
	height: calc(100vh - 224px);
	width: 380px;
}

.top-main-images .slides{
	width: 380px;
	height: 380px;
}

.top-main-images .slides::after{
	width: 380px;
	height: 380px;
}

.top-main-images .slides li{
	width: 340px;
	height: 340px;
}

.top-copy{
	font-size: 2rem;
	line-height: 2em;
}

.section-subject,
.section-subject span{
	display: block;
}

.section-subject span{
	margin: 12px 0 0 0;
}

.updates li a{
	display: block;
}

.updates li a .category{
	font-size: 1.4rem;
}

.updates li a time{
	width: auto;
	text-align: left;
	margin: 10px 0;
}

}

/* ===== スマホ用レイアウト ===== */
@media (max-width: 600px) {
	
.header .site-logo{
	font-size: 2rem;
	width: 90%;
}

.header .site-logo .logo-br{
	display: block;
}

.header .site-logo .jp{
	font-size: 1.4rem;
	letter-spacing: .1em;
	padding: 12px 0 0 0;
}

.top-main-images{
	width: 320px;
}

.top-main-images .slides{
	width: 320px;
	height: 320px;
}

.top-main-images .slides::after{
	width: 320px;
	height: 320px;
}

.top-main-images .slides li{
	width: 280px;
	height: 280px;
}

.top-copy{
	font-size: 1.6rem;
}

.footer-nav .main-menu{
	display: block;
}

.footer-nav .main-menu li{
	margin: 20px 0;
}

.footer-nav .main-menu li a{
	display: block;
	width: 100%;
	text-align: center;
}

.copyright{
	font-size: 1.2rem;
	padding: 0 16px;
}

.kikuchi-profile{
	display: block;
}

.profile-detail,
.kikuchi-photo{
	width: 100%;
}

.kikuchi-image{
	width: 70%;
	margin: 0 auto!important;
}

.profile-detail{
	padding: 0;
	margin: 20px 0 0 0;
}

.lab-member li{
	width: 48%;
}

.more-btn.list{
	width: 240px;
}

}