@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*資料請求ボタン*/
.button-link {
  display: inline-block;
  background-color: #007BFF; /* ボタンの色 */
  color: white;              /* 文字色 */
  padding: 10px 20px;        /* 内側の余白 */
  border-radius: 5px;        /* 角丸 */
  text-decoration: none;     /* 下線を消す */
  font-weight: bold;         /* 太字 */
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #0056b3; /* ホバー時の色 */
}
/*資料請求ボタン*/

.go-to-top {
	bottom: 60px;

}

.footer-bottom {
    margin-top: 24px;
    padding: 8px;
    position: relative;
    font-size: 14px;
    padding-bottom: 100px;
}	

footer {
    padding: 12px 6vw 20px;
}
.fsubNav {
    height: 52px;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    border-top: 1px solid #edebf0;
    box-shadow: 0 2px 13px rgb(0 0 0 / 10%);
}
.f_inner {
    width: 100%;
    height: inherit;	
	}
.desc {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;	
}
.f_btn {
    width: calc(100% / 4);
    text-align: center;
    position: relative;
}
.f_btn:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #999;
}
.f_btn a {
    font-size: 13px;
    line-height: 1.4;
    padding: 16px 0 28px 0;
    text-align: center;
	text-decoration:none;
    color: #000;
    display: block;
}
}

.fixbtn a{
	text-decoration:none;
}

/* fixbtn */
.fixbtn p {
  position: fixed;
  z-index: 1000;
  transition: all 0.3s;
  display: block;
  right: -10px;
  text-align: center;
}

.fixbtn p:first-of-type {
    top: 60px;
}

.fixbtn p:nth-of-type(2) {
    top: 206px;
}

.fixbtn p:nth-of-type(3) {
    top: 352px;
}

.fixbtn p:last-of-type {
    top: 498px;
}


.fixbtn p {
    position: fixed;
    z-index: 1000;
    transition: all 0.3s;
    display: block;
    right: -10px;
    text-align: center;
}

.fixbtn p a {
    font-size: 13px;
    display: block;
    line-height: 1;
    height: 130px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 0 28px 0 18px;
    background-color: #fff;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
	  color: #000;
}


/*サイトマップ*/
.inner-sitemap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 25px;
}
.inner-sitemap .kanren-title{
  font-weight:bold;
}

.inner-sitemap ol, 
.inner-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.inner-sitemap ul li a {
  line-height: 20px;
  letter-spacing: 0;
}

.inner-sitemap li .l-p {
  padding-left: 10px;
}

.migi {
  float: right;
}

.powered {
  padding-top: 100px;
  font-size: 80%;
}

.inner-sitemap ul li ul {
  margin-top: 0.5em;
  margin-bottom: 0.75em;
  margin-left: 48px;
}

.inner-sitemap ul li ul li {
  margin-bottom: 0.25em;
  position: relative;
}

.inner-sitemap ul li ul li::before {
  content: "";
  position: absolute;
  top: -0.5em;
  left: -16px;
  width: 10px;
  height: calc(100% + 0.75em);
  border-left: 1px solid #88b5d3;
}

.inner-sitemap ul li ul li:last-child::before {
  height: calc(1em + 0.25em);
}

.inner-sitemap ul li ul li::after {
  content: "";
  position: absolute;
  top: 0.75em;
  left: -16px;
  width: 10px;
  border-bottom: 1px solid #88b5d3;
}



/*「参照」矢印　右寄せ*/
.migi {
    float: right;
}

/*カテゴリー上部2列ボタン*/

.osusume-daigaku-button-row {
  display: flex;
  justify-content: space-around;
	padding-top: 30px;
	line-height: normal;
}

.osusume-daigaku-button {
  display: inline-block;
  padding: 10px 20px;
	width: 30%;
	font-size: 90%;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #0080a6;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.osusume-daigaku-button:hover {
  background-color: #0056b3;
	color:#fff;
}

.daigaku-small {
  font-size: 80%;
}

.sma{
    display: none;
}

@media screen and (max-width:768px) {
.osusume-daigaku-button {
  display: inline-block;
  padding: 10px 5px;
	width: 30%;
	font-size: 90%;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #0080a6;
  border-radius: 5px;
  transition: background-color 0.3s;
}
}


@media screen and (max-width:768px) {
    .sma{
        display: block;
    }
}
/*カテゴリー上部2列ボタン*/


table tr {
    background-color: #fff!important;
}
table td {
    background-color: #fff!important;
	vertical-align: top;
}



/*Q&Aのテスト*/
.qa-container {
  font-family: Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.q-shitumon {
  font-weight:bold;
}

.q-shitumon,
.a-shitumon {
  border: 0px solid #000;
  padding: 10px;
  padding-left: 30px; /* 左側にスペースを作る */
  position: relative;
  margin-bottom: 10px;
}

.q-shitumon p::before,
.a-shitumon p::before {
  font-weight: bold;
  position: absolute;
  left: 10px; /* 枠の左端からの位置 */
  top: 10px; /* 枠の上端からの位置 */
}

.q-shitumon p::before {
	content: 'Q.';
}

.a-shitumon p::before {
  content: 'A.';
}

.q-shitumon p {
  border-radius: 15px 15px 15px 0;
}

.a-shitumon p {
  border-radius: 15px 15px 0 15px;
}
/*Q&Aのテスト*/

/*メインサイトへのボタン*/
.normalbutton {
    background: #303b4c;
    color: #fff;
    padding: 15px 10px;
    display: block;
    border-radius: 3px;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: center;
    text-decoration: none;
    position: relative;
	line-height: 120%;
}

.normalbutton:hover,
.normalbutton:hover a { /* 変更 */
    color: #fff;
	opacity: 0.8;
}

.normalbutton:after {
    content: "\f054";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    position: absolute; /* 追加 */
    right: 10px; /* 調整 */
    top: 50%; /* 追加 */
    transform: translateY(-50%); /* 追加 */
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

/*メインサイトへのボタン*/

.related-entry-heading, .comment-title {
	border-bottom: 1px solid;
}




.page-id-15404 .pr-label-l,
.page-id-26785 .pr-label-l,
.page-id-15408 .pr-label-l,
.page-id-29348 .pr-label-l,
.page-id-29355 .pr-label-l {
display: none;
}




/*横向き棒グラフ*/
/* 棒グラフ3 CSS Only */
.bar-graph .title {
  -webkit-animation: fade-in-text 2.2s 0.1s forwards;
  -moz-animation: fade-in-text 2.2s 0.1s forwards;
  animation: fade-in-text 2.2s 0.1s forwards;
  opacity: 0;
}

.bar-graph-horizontal {
  max-width: 100%;
}

.bar-graph-horizontal > div {
  float: left;
  margin-bottom: 8px;
  width: 100%;
}

.bar-graph-horizontal .title {
  float: left;
  margin-top: 47px;
  width: 50px;
}

.bar-graph-horizontal .bar {
  border-radius: 3px;
  height: 55px;
  float: left;
  overflow: hidden;
  position: relative;
  width: 0;
}

.bar-graph-one .bar::after {
  -webkit-animation: fade-in-text 2.2s 0.1s forwards;
  -moz-animation: fade-in-text 2.2s 0.1s forwards;
  animation: fade-in-text 2.2s 0.1s forwards;
  color: #fff;
  content: attr(data-percentage);
  font-weight: 700;
  position: absolute;
  right: 16px;
  top: 12px;
}

.bar-graph-one .bar-one .bar {
  background-color: #6bb6ff;
  -webkit-animation: show-bar-one 1.2s 0.1s forwards;
  -moz-animation: show-bar-one 1.2s 0.1s forwards;
  animation: show-bar-one 1.2s 0.1s forwards;
}

.bar-graph-one .bar-two .bar {
  background-color: #6bb6ff;
  -webkit-animation: show-bar-two 1.2s 0.2s forwards;
  -moz-animation: show-bar-two 1.2s 0.2s forwards;
  animation: show-bar-two 1.2s 0.2s forwards;
}

.bar-graph-one .bar-three .bar {
  background-color: #6bb6ff;
  -webkit-animation: show-bar-three 1.2s 0.3s forwards;
  -moz-animation: show-bar-three 1.2s 0.3s forwards;
  animation: show-bar-three 1.2s 0.3s forwards;
}

.bar-graph-one .bar-four .bar {
  background-color: #59b3fc;
  -webkit-animation: show-bar-four 1.2s 0.4s forwards;
  -moz-animation: show-bar-four 1.2s 0.4s forwards;
  animation: show-bar-four 1.2s 0.4s forwards;
}

.article h1 {
    background-color: #292929;
    color: #fff;
    padding: 10px 10px 10px 10px;
    font-size: 170%;
}

/*各教科の一覧ページ専用*/

.kamokubetu-list{
	padding-top:30px;
	border: 1px solid;
    margin-bottom: 30px;
    margin-top: 30px;
    padding: 10px;
}

.kamokubetu-list h2{
	border-bottom:solid 1px #dcdcdc;
	text-align: center;
}



.new-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1em;
	padding-top: 30px;
}

.new-grid-container-gaitounashi {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1em;
	padding-top: 30px;
}

.new-grid-item {
  border: 0px solid #ccc;
  padding: 5px;
  box-sizing: border-box;
  text-align: left;
	text-indent: -14px;
}

.new-title {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.2em;
}

.new-title a{
  text-decoration:none;
}

.new-title:before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-weight: 900;
    color: #00a3af;
    padding-right: 5px;
    font-size: 18px;
    list-style: none;
}

@media (max-width: 769px) {
.new-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
	padding-left: 10px;
}
.new-title{
	font-size:90%;
	margin-bottom: 4px;
	line-height: 0.2em;
	}
	
.new-grid-container .new-title {
	font-size: 90%!important;
}
	
.new-grid-container {
	grid-template-columns: repeat(2, 1fr);
}
}

/* Pager */
.page-numbers {
  display: inline-block;
  padding: 0px 0px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.page-numbers.current {
  background: #0073aa;
  color: #fff;
}

.page-numbers:hover {
  border-color: #0073aa;
}

.pagination-container .page-numbers {
    display: inline-block;
    margin: 0 3px;
}

@media screen and (max-width: 767px){
.pagination {
    display: flex!important;
}
	
.page-numbers {
    width: 26px;
    height: 26px;
    line-height: 26px;	
}
}


/* Add these styles */
ul.page-numbers {
  list-style-type: none;
  display: flex;
  justify-content: center;
  padding: 0;
	border: none;
}





  /*ニュース関連*/
 
.newsmaintitle {
	padding-bottom: 25px;
}

.newstitle {
	font-size: 25px;
	font-weight: bold;
}

.newsline {
	text-align: left;
}

.blog-list-area , .top-news a{
    text-decoration:none;
}
  
.top-news-area span.date {
    color: #444;
}
  
.top-news-area .top-news {
    border: 2px solid #edebf0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 30px;
	text-align:center;
	margin-top: 50px;
	font-size: 90%;
}
  
  .blog-list-area .blog-list {
    border: 2px solid #edebf0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
.blog-list a{
	padding: 0px 0px 3px 0px;
    display: inline-block;
    padding-left: 3px;
}
	
.blog-list :hover{
	color: #000;
}	
	
}







/* 絞り込み検索フォーム */
.my_searchform input, .my_searchform select {
	margin-bottom: 0.5em;
}


/*横2列ボックス*/
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 40px;
}

.grid-item {
border: 1px solid #ccc;
padding: 15px;
box-sizing: border-box;
text-align: left;
grid-template-rows: auto 1fr auto;
display: flex;
flex-direction: column;
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.thumbnail-container {
flex-grow: 0;
}

.thumbnail-image {
width: 100%;
height: 150px;
object-fit: cover;
}

.grid-item h3 {
margin-top: 0;
margin-bottom: 15px;
line-height: 1.2em;
border: 0;
padding: 10px 0px;
}

.grid-item a.button {
display: inline-block;
margin-top: 15px;
padding: 10px 20px;
background-color: #0073aa;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.2s;
text-align:center;
}

.grid-item a.button:hover {
background-color: #005a87;
}

@media (max-width: 769px) {
.grid-container {
grid-template-columns: 1fr;
}
}




/*目次*/
.article .toc {
	width: 100%;
	max-width:600px;/*外枠の最大幅を指定*/
	border-color: #f0f0f0;/*外枠の線の色*/
	font-size: 85%;
	box-sizing: border-box;
	margin: 30px auto;/*上下に30pxマージン・左右中央寄せ*/
	padding: 1em 2em;
	line-height: 1.8;
}

.article .toc ul {
	margin: 0;
	padding-left: 0;
	line-height: 1.5;
}

.article .toc ul li {
	margin:1px;
	text-indent: 0;
}

.article .toc ul a {
	display: block;
	padding: 10px 0;
	text-decoration: none;
	color: #777; /*リンク色*/
	border-bottom: 1px dotted #ddd; /*リンク下線*/
}

.article .toc li > ul {
	padding-left: 5%; /*hタグの種類で先頭左スペースのサイズが変わる*/
}
/*目次*/

/*大学一覧ボックス*/

.list-uni .inner {
	width: calc(100% - 50px);
	max-width: 1000px;
	margin: 0 auto;
	padding: 0px 0;
}
.list-uni .title {
	color: #fff;
	text-shadow: 0 0 12px #000;
	font-weight: bold;
	text-align: center;
	font-size: 36px;
	line-height: 1.6;
}
.list-uni .list {
	margin-top: 40px;
}
.list-uni .list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}
.list-uni .list ul:after {
	content: '';
	display: block;
	width: calc(100% / 3 - 6px);
}
.list-uni .list li {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: calc(100% / 3 - 20px);
	padding: 38px 20px;
	background: rgba(255,255,255,.77);
	border: 1px solid #ccc;
	border-radius: 5px;
}
.list-uni .list li:nth-child(n+4) {
	margin-top: 30px;
}

@media screen and (max-width: 1400px) {
	.list-uni .title {
		font-size: 27px;
	}
}

@media screen and (max-width: 1270px) {
	.list-uni .list ul {
		font-size: 16px;
	}
	.list-uni .list li {
		width: calc(100% / 3 - 10px);
		padding: 20px 5px;
	}
	.list-uni .list li:nth-child(n+4) {
		margin-top: 13px;
	}
}

@media screen and (max-width: 767px) {
	.list-uni .inner {
		width: calc(100% - 5px);
		padding: 10px 0;
	}
	.list-uni .title {
		font-size: 18px;
	}
	.list-uni .title br {
		display: none;
	}
	.list-uni .list {
		margin-top: 20px;
	}
	.list-uni .list ul {
		font-size: 100%;
	}
	.list-uni .list ul:after {
		display: none;
	}
	.list-uni .list li {
		width: calc(47% - 2px);
		padding: 15px 7px;
		text-align: left;
	}
	.list-uni .list li:nth-child(n+3) {
		margin-top: 4px;
	}
}


@media screen and (max-width: 480px) {
	.list-uni .list li {
		width: calc(47% - 2px);
		padding: 15px 7px;
		text-align: left;
	}
}

@media screen and (max-width: 767px) {
.about h3,.features h3,.list-uni h3 {
	padding: 50px 0px 15px 0px;
    text-align: center;
    font-size: 120%;
    line-height: 30px;
    font-weight: bold;
}

.list-uni h3 {
    position: relative;
	padding: 70px 0px 10px 0px;
    text-align: center;
	font-size: 170%;
	font-family: source-han-serif-japanese,serif;
}
/*大学一覧ボックス*/

	
	
	
	
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
