/*!
Theme Name: kunifuji
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: 株式会社国藤産業 コーポレートサイト用テーマ（_s ベース）。デザイン本体は css/style.css。
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kunifuji
Tags: custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.

kunifuji is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}


/* ------------------------------------------------------------
   WordPress 固有の小物
   ------------------------------------------------------------ */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.bypostauthor {
	display: block;
}

.page-links {
	clear: both;
	margin: 1.5em 0;
}

.custom-logo-link {
	display: inline-block;
}

.post-password-form input[type="password"] {
	padding: 0.4em 0.6em;
}


/* ------------------------------------------------------------
   Alignments
   ------------------------------------------------------------ */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

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

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* ------------------------------------------------------------
   Captions
   ------------------------------------------------------------ */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8em 0;
	font-size: 1.4rem;
	text-align: center;
	color: var(--color-muted, #999);
}


/* ------------------------------------------------------------
   Galleries
   ------------------------------------------------------------ */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption {
	display: block;
}


/* ------------------------------------------------------------
   一覧が 0 件のとき
   ------------------------------------------------------------ */
.p-empty {
	margin-block: 4rem;
	font-size: 1.6rem;
	text-align: center;
}
