@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.2
*/

a:hover img{
	opacity:0.7;
	filter:alpha(opacity=70);
	-ms-filter: "alpha( opacity=70 )";
	background:none!important;
}

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

body.public-page { background-color:#fff; }

.header-container-in.hlt-top-menu .logo-header img {
	max-height: 72px;
}
.header { width:100%; }
.header-in { display: inherit; }
.logo { text-align:left; }
.header-container-in.hlt-top-menu .logo-header { width:50%; float:left; max-height:inherit; }
.header-container-in.hlt-top-menu .wrap { padding:25px 0; }
.menu-header-nav-container { width:50%; float:right; text-align:right; }
.menu-header-nav-container ul {
	display: inline-flex;
    padding-left: 0;
    list-style: none;
}
.menu-header-nav-container ul li { margin:0 5px; }
.menu-header-nav-container ul li a {
	background-color:#e8aa0f;
	color:#fff;
	padding:10px 25px;
	text-decoration:none;
}
.header .header-in { min-height:inherit; }
.navi {
	z-index:1;
	position: relative;
	border-top: 4px solid #515151;
	box-shadow:0px 3px 3px 1px #a0a0a0;
	background: -moz-linear-gradient(top, #fff, #e9e7e7);
 	background: -webkit-linear-gradient(top, #fff, #e9e7e7);
	background: linear-gradient(to bottom, #fff, #e9e7e7);
}
.navi-in > ul li {
	width: 20%;
	height: auto;
}
.navi-in > ul li#menu-item-608 { width:15%; }
.navi-in > ul li#menu-item-176 { width:24%; }
.navi-in > ul li#menu-item-177 { width:24%; }
.navi-in > ul li#menu-item-178 { width:18%; }
.navi-in > ul li#menu-item-179 { width:19%; }
.navi-in > ul li#menu-item-608 a {
	background-image:url(https://yuketsu.hiroshima-u.ac.jp/draft/wp-content/uploads/2025/07/icon_yuketsu.png);
	background-repeat:no-repeat;
	background-position: left 20px center;
}
.navi-in > ul li#menu-item-608 .item-label { padding: 17px 0 13px 30px; }
.navi-in > ul li .item-label {
	line-height: 1.3;
    padding: 15px 10px;
}
.navi-in > ul li .item-label span {
	font-size:12px;
	color: #c10215;
}
.navi-in > ul .sub-menu {
	background-color:#515151;
	width:initial;
	min-width:240px;
}
.navi-in > ul .sub-menu li a {
	color:#fff;
}
.navi-in > ul .sub-menu li a:hover {
	color:#515151;
}
.navi-in > ul .sub-menu li .item-label {
	line-height:1.4;
}


.body .wp-block-image figcaption {
	font-size:15px;
	line-height:1.4;
}

/* トップページ */
.top_content {
	max-width:1100px;
	margin: 10px auto 0;
}
.top_content .content {
	display: flex;
	align-content: space-between;
	margin-top:10px;
}
.top_content h3,
#main h3 {
	font-size: 32px;
	font-weight: normal;
    background: url(images/icon_blood.gif) no-repeat left center;
    padding-left: 50px;
    margin-top: 20px;
	margin-left:15px;
}
.top_content img {
	margin: 15px;
}
#main h3 {
	margin-left:-15px;
	margin-bottom:20px;
}
#main h4 {
	font-size: 28px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
}
.front-top-page #new_entries-2 {
	display:none;
}
.top-text {
	border: 1px solid #ccc;
    padding: 30px;
    line-height: 2;
	background-image: url("images/bg_stripe.gif");
}
.top-text p {
	margin:0 0 0 0;
}

/* ページ */
h1.entry-title {
	font-size:32px;
	background:url("images/icon_blood.gif") no-repeat left center;
	padding: 20px 20px 20px 45px;
	border-bottom:2px solid #ccc;
	margin-bottom:45px;
}
.page .date-tags {
	display:none;;
}
.entry-content h3 {
	font-size:21px !important;
	padding-left:0 !important;
}
#main .entry-content h3 {
	padding-left: 15px !important;
    margin: 40px 0 30px 0;
	font-weight: bold;
	border:none;
	box-shadow: 0px 3px 3px 1px #a0a0a0;
	background: -moz-linear-gradient(top, #fff, #ffd5d8);
 	background: -webkit-linear-gradient(top, #fff, #ffd5d8);
	background: linear-gradient(to bottom, #fff, #ffd5d8);
}
#main .entry-content h4 {
	font-size:24px;
	font-weight: bold;
	color:#057cce;
	border-bottom:1px dashed #999;
	border-top:none;
	text-align: left;
	margin:0 0 15px 0;
	padding:5px 5px;
}
.entry-content p { margin-top:0.8em !important; }

span.hissu { font-size:15px; color:red; }

ul.pdflink { list-style:none; padding-left:10px; }
ul.pdflink li { margin-bottom: 10px; }
ul.pdflink li a {
	padding: 15px 15px 15px 0;
    border:1px solid #ccc;
	border-radius: 8px;
	display: block;
	text-decoration: none;
}
ul.pdflink li a:hover {
	background-color:#eee;
}
ul a[href$=".pdf"]:before {
    content:" ";
    width: 55px;
	padding: 10px 10px 10px 50px;
    background: url(images/pdf.gif) no-repeat left 10px center;
	background-size:70%;
}
.entry-content table th {
	font-size:16px;
	font-weight:bold;
	background:url("images/bg_stripe.gif");
}
.entry-content table td { font-size:15px; }

/* スタッフページ */
.page-id-127 .entry-content table { border:none; }
.page-id-127 .entry-content table th { border:none; background-color: inherit; padding:0; margin:0; }
.page-id-127 .entry-content table td { border:none; background-color: inherit; padding:0 10px 0 0; margin:0; vertical-align: top; font-size:16px; }
.page-id-127 .entry-content table tr:nth-of-type(2n+1) { background-color:#fff; }

/* 投稿一覧 */
.entry-card-thumb{ width: 140px; }
.entry-card-content { margin-left: 160px; }


/* サイドバー＆ウィジェット */
.sidebar h3 {
	font-size:28px;
	font-weight: normal;
	background-color:#fff;
	padding:0;
}
aside.widget_sp_image { margin-bottom:15px; }
.new-entry-card-date {
	display:block !important;;
}
.widget-entry-card-content { margin-left:0; }
.widget-entry-card-thumb {
	display:none;
}
.sidebar {
	padding:15px;
}
.widget_new_entries { margin-bottom:30px; }
.sidebar h3 { margin-top:0; }

/* ゆけついんふぉめ～しょん */
.eyecatch {
	width:30%;
	float:left;
}
.textbox {
	width:65%;
	float:right;
}
table.textbox2 {
	width:100%;
}
table.textbox2 th:nth-child(1), 
table.textbox2 td:nth-child(1) {
	width:50%;
	text-align: center;
}
table.textbox2 th:nth-child(2),
table.textbox2 th:nth-child(3),
table.textbox2 td:nth-child(2),
table.textbox2 td:nth-child(3) {
	width:25%;
	text-align: center;
}
.yuketsu_info {
	margin-bottom:30px;
}
.yuketsu_info:after { content: " "; display: block;	clear: both; }
.yuketsu_info h1 {
	font-size:24px;
	padding:15px;
	margin-bottom:15px;
}
.yuketsu_info p.date {
	font-size:16px;
	text-align: right;
}
.yuketsu_info p.bt_pdf { text-align: center;}
.yuketsu_info p.bt_pdf a {
	background-color: #d33;
	border:1px solid #d33;
	color:#fff;
	padding:15px 40px;
	border-radius: 30px;
	text-decoration: none;
}
.yuketsu_info p.bt_pdf a:hover {
	background-color: #fff;
	border:1px solid #d33;
	color:#d33;
}
.old_info table td a {
	background-color: #d33;
	border:1px solid #d33;
	color:#fff;
	padding:0 10px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 14px;
}
.old_info table td a:hover {
	background-color: #fff;
	border:1px solid #d33;
	color:#d33;
}

.old_news p.bt_pdf { text-align: center;}
.old_news p.bt_pdf a {
	background-color: #d33;
	border:1px solid #d33;
	color:#fff;
	padding:15px 40px;
	border-radius: 30px;
	text-decoration: none;
}
.old_news p.bt_pdf a:hover {
	background-color: #fff;
	border:1px solid #d33;
	color:#d33;
}

/* フッター */
#footer {
	background-color:#4d0d0a;
}
.copyright { text-align:center; }
aside.widget-footer-center { text-align:center; color:#fff; }
aside.widget-footer-center h3 {
	font-size:24px;
	font-weight: normal;
	padding-top: 40px;
	background:url("images/icon_whiteblood.png") no-repeat top center;
}
aside.widget-footer-center p { margin:5px 0 15px; }
.footer-bottom { display:none; }

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){

}

/*834px以下*/
@media screen and (max-width: 834px){
  	.footer-widgets {
		display:block;
	}
	.footer-bottom {
		display:none;
	}
}

/*480px以下*/
@media screen and (max-width: 600px){
	/* トップページ */
	.navi-in > ul li#menu-item-608 { display:none; }
	#navi .navi-in > .menu-mobile li { width:50%; height:initial; }
	.top_content img { width:98%; height:auto; margin:5px; }
	.top_content h3.cont { font-size:24px; margin-left: 15px; padding-left: 40px; }
	h3.infor { font-size:24px !important; margin-left:0 !important; padding-left:40px !important; }
	#main h4 { font-size:18px; }
	.top-text { padding:25px; }
	.top-text p { font-size:14px; }
	
	/*モバイルメニュー*/
	.navi-in > ul li .item-label { font-size:90%; }
	.navi-in > ul li .item-label span { font-size:11px; }
	.menu-drawer a { line-height:1.2; }
	.menu-drawer a span {
		font-size: 14px;
	    color: #c10215;
	}
	.header-container-in.hlt-top-menu .logo-header { width:100%; float:none; }
	.menu-header-nav-container { width:100%; text-align:center; float:none; padding:15px 0 5px; }
	.header-container-in.hlt-top-menu .wrap {padding:15px 0;}
	.head-image img { object-fit:cover; height:190px; }
	.head-image-page img { object-fit:cover; height:50px; }
	
}
