/*
Theme Name: ASCL - 臨床検査支援協会
Theme URI: https://www.ascl.or.jp
Description: 臨床検査支援協会（ASCL）の公式WordPressテーマ
Author: ASCL
Author URI: https://www.ascl.or.jp
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ascl
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
*/

/* WordPress specific styles */
.wp-caption {
	background: #f1f1f1;
	border: 1px solid #ddd;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.wp-smiley {
	border: none;
	float: none;
	height: 1em;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	max-height: 1em;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	width: 1em;
}

img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 0.07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	display: block;
	margin: 0 auto;
	margin-bottom: 1.5em;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ASCL Custom Styles */
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.container {
	max-width: 100%;
	margin: 0 auto;
}

.contents-w {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Navigation */
.global-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.global-nav li {
	margin: 0;
}

.global-nav a {
	text-decoration: none;
	display: block;
	transition: background-color 0.3s ease;
}

.global-nav a:hover {
	background-color: #f0f0f0;
}

/* Post styles */
.entry-header {
	margin-bottom: 2rem;
}

.entry-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.entry-meta {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 1rem;
}

.entry-content {
	margin-bottom: 2rem;
	line-height: 1.6;
}

.entry-content p {
	margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.entry-footer {
	border-top: 1px solid #ddd;
	padding-top: 1rem;
	font-size: 0.875rem;
	color: #666;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
	.u-pcOnly {
		display: none !important;
	}
}

@media screen and (min-width: 769px) {
	.u-spOnly {
		display: none !important;
	}
}

/* Additional utility classes */
.u-taC {
	text-align: center;
}

.is-active {
	opacity: 1;
}

/* Show lvl2 submenu when hovering the parent link or submenu (desktop) */
@media screen and (min-width: 769px) {
	header.global .global-nav .lvl1 > li.has-lvl2 > a:hover ~ .lvl2,
	header.global .global-nav .lvl1 > li.has-lvl2:hover > .lvl2,
	header.global .global-nav .lvl1 > li.has-lvl2 > .lvl2:hover {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}
}