@charset "utf-8";

/*------------------------------------------------------------------------------------------------
  student_voice — keep in sync with public_html/html/ous_ped/common/css/add.css
  (prototype student_voice/*.html: ../common/css/add.css)
  学部の日常（旧 student_voice）カード・詳細レイアウト
--------------------------------------------------------------------------------------------------*/
.voiceList {
	display: flex;
	flex-wrap: wrap;
	padding: 30px 0;
}

.voiceList div {
	flex: 0 0 32%;
	box-sizing: border-box;
	width: 32%;
	margin: 0 0 30px;
}

.voiceList div a {
	display: block;
	border: 1px solid #CCC;
	padding: 20px;
	text-decoration: none !important;
	color: #000 !important;
	box-shadow: 3px 3px 3px #EEE;
}

.voiceList div a:hover {
	opacity: 1;
	border: 1px solid #42c56b;
}

.voiceList div:nth-child(3n-1) {
	margin: 0 2% 30px;
}

.voiceList div p {
	margin: 0 !important;
}

.voiceList div p img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 20px;
}

.voiceList div dl dd {
	word-break: break-word;
	overflow-wrap: anywhere;
}

#second #columnLeft .wrapper .pager_wrap a {
	color: inherit !important;
	text-decoration: none !important;
}

/* .clear is inline-table site-wide (common.css) and shrink-wraps; short body text
   made alignright images sit mid-page. Prototype detail.html relied on long copy filling width. */
.voiceDetail .clear {
	display: block;
	width: 100%;
	overflow: hidden;
}

.voiceDetail .clear::after {
	content: "";
	display: block;
	clear: both;
}

.voiceDetail .alignright {
	float: right;
	margin: 0 0 20px 20px;
	max-width: 40%;
	height: auto;
}

.voiceDetail .alignleft {
	float: left;
	margin: 0 20px 20px 0;
	max-width: 40%;
	height: auto;
}

.voiceDetail .info {
	margin: 0 0 20px;
}

.voiceDetail ul {
	margin: 30px 0 60px !important;
}

.voiceDetail ul li {
	padding: 8px;
	border-bottom: 1px dashed #CCC;
}

.voiceDetail ul li span {
	display: inline-block;
	width: 120px;
	position: relative;
	margin-right: 10px;
}

.voiceDetail ul li span:after {
	position: absolute;
	top: 0;
	right: 0;
	content: "：";
}

/*------------------------------------------------------------------------------------------------
  Prototype detail.html uses <img src="image/voice_all_back.gif"> inside .wnBack (not in add.css).
  Smarty uses text link; box style overrides #second .wrapper a (green underline).
--------------------------------------------------------------------------------------------------*/
#second #columnLeft .wrapper .wnBack {
	margin: 50px 0 0;
	text-align: center;
}

#second #columnLeft .wrapper .wnBack a.wnBackBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 8px 20px 8px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	color: #333 !important;
	text-decoration: none !important;
	font-size: 15px;
	line-height: 1.4;
	max-width: 100%;
	transition: border-color 0.2s, color 0.2s;
}

#second #columnLeft .wrapper .wnBack a.wnBackBtn:hover {
	border-color: #42c56b;
	color: #42c56b !important;
}

#second #columnLeft .wrapper .wnBack a.wnBackBtn .wnBackBtn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #c9a882;
	color: #fff !important;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	text-decoration: none !important;
}

#second #columnLeft .wrapper .wnBack a.wnBackBtn .wnBackBtn__label {
	text-align: left;
}

@media only screen and (max-width: 768px) {

.voiceList {
	display: block;
	padding: 0;
}

.voiceList div {
	width: 80%;
	margin: 0 auto 30px;
}

.voiceList div:nth-child(3n-1) {
	margin: 0 auto 30px;
}

.voiceList div a {
	display: block;
	border: 1px solid #CCC;
	padding: 20px;
	text-decoration: none !important;
	color: #000 !important;
	box-shadow: 3px 3px 3px #EEE;
}

.voiceDetail {
	padding: 0 20px;
}

.voiceDetail ul li span {
	display: block;
	width: 100%;
}

.voiceDetail ul li span:after {
 display: none;
}



}

