/*
Theme Name: 鹿児島市保育士・保育所支援センター
Description:
Theme URI:
Author: スリーグッド鹿児島
Author URI:
Version:
License:
License URI:
*/

/* --------------------------
    variables
-------------------------- */
:root {
    --content-width: 1100px;
    --middle-width: 960px;
    --narrow-width: 800px;
    --wide-width: 1200px;
    --header-height: 100px;
    --header-height-sp: 60px;
    --topbar-height: 30px;
    --admin-bar-height: 32px;
    --color: #333;
    --color-blue: #1885d6;
    --color-red: #ef7070;
    --line-height: 1.75;
    --font-size: 16px;
    --font-size-sp: 14px;
    --letter-spacing: 0;
    --font-awesome: 'Font Awesome 6 Free';
    --font-family: 'Zen Maru Gothic', 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, 'Yu Gothic', YuGothic, 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
}

@media (max-width: 782px) {
	:root {
		--admin-bar-height: 46px;
	}
}

/* --------------------------
    reset
-------------------------- */
* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'palt';
    overflow-wrap: anywhere;
    line-break: strict;
	-webkit-text-size-adjust: 100%;
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
	color: var(--color);
    font-family: var(--font-family);
    font-weight: 400;
    min-height: 100vh;
}

main {
    display: block;
}

img {
    display: block;
    max-width: 100%;
}

input[type="image"],
video,
embed,
iframe,
marquee,
object {
    display: block;
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

table {
    max-width: 100%;
    aspect-ratio: attr(width) / attr(height);
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.75rem;
    font-weight: 500;
}

table {
    border-spacing: 0;
}

@media (max-width: 768px) {
    body {
        font-size: var(--font-size-sp);
    }
}

/* --------------------------
    common
-------------------------- */
.content-width {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.narrow-width {
    width: 100%;
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.middle-width {
    width: 100%;
    max-width: var(--middle-width);
    margin: 0 auto;
}

.wide-width {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.section-padding {
    padding: 4em 1em;
}

.section-padding-low {
    padding: 2em 1em;
}

.section-padding-full {
    padding: 4em 0;
}

.clearfix {
    clear: both;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2em 1em;
    }

    .section-padding-low {
        padding: 1em;
    }
    
    .section-padding-full {
        padding: 2em 0;
    }
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	width: 100%;
	height: var(--header-height);
	padding: 0 1rem;
	position: fixed;
	left: 0;
	z-index: 254;
	transition: height 0.2s ease;
}

header.fixed {
	height: var(--header-height-sp);
	transition: height 0.2s ease;
}

#topbar {
	display: flex;
	align-items: center;
	height: var(--topbar-height);
	padding: 0 1rem;
}

header.fixed #topbar {
	display: none;
}

#topbar > h1 {
	font-size: 10px;
	font-weight: 400;
}

#header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: calc(100% - var(--topbar-height));
	border-radius: calc((var(--header-height) - var(--topbar-height)) / 2);
	background-color: #fff;
	box-shadow: 0 0 0.2em rgba(0, 0, 0, 0.2);
	padding-left: 2rem;
	transition: height 0.2s ease;
}

header.fixed #header-content {
	height: calc(100% - 10px);
	margin-top: 10px;
	padding-left: 1rem;
	transition: height 0.2s ease;
}

#header-logo {
	display: inline-block;
}

#header-logo > img {
	height: calc(var(--header-height) - var(--topbar-height) - 1.5em);
}

header.fixed #header-logo > img {
	height: calc(var(--header-height-sp) - 2em);
}

#header-menu-wrap {
	display: flex;
	align-items: center;
	padding-right: 0.5rem;
}

#header-menu {
	list-style-type: none;
	display: flex;
	font-size: 0.875em;
	font-weight: 500;
	margin-right: 2em;
}

#header-menu > li + li {
	margin-left: 1em;
}

#header-menu > li:hover,
#header-menu > li.current-menu-item {
	color: var(--color-blue);
}

#header-menu > li {
	position: relative;
}

#header-menu > li:before {
	content: '';
	display: block;
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: var(--color-blue);
	opacity: 0;
	position: absolute;
	bottom: -1em;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.2s ease;
}

#header-menu > li:hover:before,
#header-menu > li.current-menu-item:before {
	color: var(--color-blue);
	opacity: 1;
	bottom: -0.5em;
	transition: all 0.2s ease;
}

#header-login {
	display: flex;
	align-items: center;
	padding: 0.5lh 1lh;
	border-radius: 1lh;
	background-color: var(--color-red);
	color: #fff;
	font-size: 0.875em;
	font-weight: 500;
	margin-right: 1em;
}

header.fixed #header-login {
	padding: 0.25lh 0.5lh;
	border-radius: 0.75lh;
}

#header-login:before {
	content: '\f023';
	display: block;
	font-family: var(--font-awesome);
	font-weight: 700;
	margin-right: 0.5em;
}

@media (max-width: 1100px) {
	header {
		height: var(--header-height-sp);
	}

	#topbar {
		display: none;
	}

	#header-content {
		height: calc(100% - 10px);
		margin-top: 10px;
		padding-left: 1rem;
	}

	#header-logo > img {
		height: calc(var(--header-height-sp) - 2em);
	}

	#header-login {
		padding: 0.25lh 0.5lh;
		border-radius: 0.75lh;
	}

	#header-menu {
		display: none;
	}
}

/* drawer */
#drawer-open,
#drawer-close {
	display: flex;
	height: auto;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: calc(var(--header-height) - var(--topbar-height) - 0.75rem);
	aspect-ratio: 1 / 1;
	font-size: 1em;
	appearance: none;
	outline: none;
	border: none;
	background: var(--color-blue);
	border-radius: 50%;
}

header.fixed #drawer-open,
header.fixed #drawer-close {
	width: calc(var(--header-height-sp) - 10px - 0.75rem);
}

#drawer-open > div,
#drawer-close > div {
	font-size: 10px;
	color: #fff;
}

header.fixed #drawer-open > div,
header.fixed #drawer-close > div {
	display: none;
}

#drawer-open > span,
#drawer-close > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
	height: 2px;
	background-color: #fff;
	margin: 1em 0 0.75em 0;
	position: relative;
}

#mobile-menu-wrap:popover-open #drawer-open > span,
#mobile-menu-wrap:popover-open #drawer-close > span {
	background-color: transparent;
	transition: background-color 0.2s ease;
}

#mobile-menu-wrap:popover-open #drawer-open > span:before,
#mobile-menu-wrap:popover-open #drawer-close > span:before {
    transform: translateY(0) rotate(45deg);
    transition: transform 0.2s ease;
}

#mobile-menu-wrap:popover-open #drawer-open > span:after,
#mobile-menu-wrap:popover-open #drawer-close > span:after {
    transform: translateY(0) rotate(-45deg);
    transition: transform 0.2s ease;
}

header.fixed #drawer-open > span,
header.fixed #drawer-close > span {
	margin: 1em 0;
	height: 1px;
}

#drawer-open > span:before,
#drawer-close > span:before {
	display: block;
	content: '';
    width: 100%;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-0.5em);
}

header.fixed #drawer-open > span:before,
header.fixed #drawer-close > span:before {
	height: 1px;
	transform: translateY(-0.25em);
}

#drawer-open > span:after,
#drawer-close > span:after {
	display: block;
	content: '';
    width: 100%;
	height: 2px;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(0.5em);
}

header.fixed #drawer-open > span:after,
header.fixed #drawer-close > span:after {
	height: 1px;
	transform: translateY(0.25em);
}

#mobile-menu-wrap {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100dvh;
	border: none;
	opacity: 0;
	padding: 0 0 0 calc(100% / 3);
	pointer-events: none;
	transition-property: opacity, display;
	transition-duration: 0.2s;
	transition-behavior: normal, allow-discrete;
	position: fixed;
}

#mobile-menu-wrap:popover-open {
    opacity: 1;
	pointer-events: auto;
    transition-property: opacity, display;
    transition-duration: 0.2s;
    transition-behavior: normal, allow-discrete;
}

body.customize-support #mobile-menu-wrap {
	height: calc(100svh - var(--admin-bar-height));
	margin-top: var(--admin-bar-height);
}

#drawer-close {
	position: absolute;
	top: calc(var(--topbar-height) + 6px);
	right: 1.5rem;
}

header.fixed #drawer-close {
	top: 16px;
	right: 1.5rem;
}

@media (max-width: 1100px) {
	#drawer-open,
	#drawer-close {
		width: calc(var(--header-height-sp) - 10px - 0.75rem);
	}

	#drawer-open > div,
	#drawer-close > div {
		display: none;
	}

	#drawer-open > span,
	#drawer-close > span {
		margin: 1em 0;
		height: 1px;
	}

	#drawer-open > span:before,
	#drawer-close > span:before {
		height: 1px;
		transform: translateY(-0.25em);
	}

	#drawer-open > span:after,
	#drawer-close > span:after {
		height: 1px;
		transform: translateY(0.25em);
	}

	#drawer-close {
		top: 16px;
		right: 1.5rem;
	}
}


/* --------------------------
    footer
-------------------------- */
/* part contact */

/* --------------------------
    archive
-------------------------- */
/* archive */
.archive-list {
    list-style-type: none;
}

.archive-list > li {
    padding: 1rem 0;
}

.archive-list > li:first-of-type {
    padding-top: 0;
}

.archive-list > li + li {
    border-top: 1px solid #ddd;
}

.archive-list > li > a {
    display: block;
}

.archive-list > li > a > article {
    display: flex;
    align-items: center;
}

.archive-list > li > a > article > .thumb {
    width: 30%;
    padding-top: 20%;
    background-color: #eee;
    margin-right: 2em;
    position: relative;
}

.archive-list > li > a > article > .thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.archive-list > li > a > article > .info {
    width: calc(70% - 2em);
}

.archive-list > li > a > article > .info > time {
    display: block;
    font-size: 1em;
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > .category {
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > .category > span {
    display: inline-block;
    font-size: 10px;
    padding: 0.25em 0.5em;
    margin: 0 0.5em 0.5em 0;
    background-color: var(--color);
    color: #fff;
}

.archive-list > li > a > article > .info > h3 {
    font-size: 1rem;
    margin-bottom: 0.5em;
}

.archive-list > li > a > article > .info > p {
    font-size: 0.875em;
    margin-top: 1em;
}

@media (max-width: 768px) {
    .archive-list > li > a > article {
        flex-flow: column;
    }
    
    .archive-list > li > a > article > .info {
        width: 100%;
    }
    
    .archive-list > li > a > article > .thumb {
        width: 100%;
        padding-top: calc(100% / 3 * 2);
        margin-right: 0;
        margin-bottom: 1em;
    }
}

/* archive pagination */
#pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#pagination > * {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    letter-spacing: 0;
    width: 3em;
    height: 3em;
    background: #eee;
    color: var(--color);
    margin: 0 0.5em;
    transition: all 0.3s ease;
}

#pagination > span,
#pagination > a:hover {
    background: var(--color);
    color: #fff;
    transition: all 0.3s ease;
}


/* --------------------------
    single
-------------------------- */
/* single */
#single-date {
    display: block;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 2em;
}

.single-content *:not(.plain):not(h1, h2, h3, h4, h5, h6) + *:not(.plain):is(h1, h2, h3, h4, h5, h6) {
	margin-top: 3em;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
    margin-bottom: 1em;
}

.single-content h3:not(.plain) {
    margin-bottom: 1em;
}

.single-content h4:not(.plain) {
    margin-bottom: 1em;
}

.single-content h5:not(.plain) {
    margin-bottom: 1em;
}

.single-content h6:not(.plain) {
    margin-bottom: 1em;
}

.single-content hr:not(.plain) {
    display: block;
    border: none;
    border-top: 2px solid #bbb;
    margin: 4em 0;
}

.single-content ul:not(.plain) {
    background-color: #f5f5f5;
    padding: 2em 2em 2em 3em;
    margin-bottom: 3em;
}

.single-content ol:not(.plain) {
    background-color: #f5f5f5;
    padding: 2em 2em 2em 3em;
    margin-bottom: 3em;
}

.single-content ul:not(.plain) > li + li,
.single-content ol:not(.plain) > li + li {
    margin-top: 0.5em;
}

.single-content blockquote:not(.plain) {
    background-color: #f5f5f5;
    padding: 2em;
    margin-bottom: 2em;
}

.single-content p:not(.plain) {
    text-align: justify;
    margin-bottom: 1em;
}

.single-content dl:not(.plain) {
    display: flex;
    flex-wrap: wrap;
    border-top: 2px solid #ddd;
    margin-bottom: 3em;
}

.single-content dl:not(.plain) > dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
    padding: 1em 2em;
    font-weight: 700;
}

.single-content dl:not(.plain) > dd {
    width: 70%;
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    padding: 1em 2em;
}

.single-content img:not(.plain) {
    height: auto;
    margin-bottom: 2em;
}

.single-content img:not(.plain).alignleft {
    float: left;
    margin: 0 2em 2em 0;
}

.single-content img:not(.plain).alignright {
    float: right;
    margin: 0 0 2em 2em;
}

.single-content img:not(.plain).aligncenter {
    margin: 0 auto 2em auto;
}

.single-content a:not(.plain) {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.single-content a:not(.plain):hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.single-content small:not(.plain) {
    font-size: 0.75em;
}

@media (max-width: 768px) {
	.single-content h1:not(.plain),
	.single-content h2:not(.plain) {
	}
	
	.single-content h3:not(.plain) {
	}
	
	.single-content hr:not(.plain) {
		margin: 2em 0;
	}

	.single-content ul:not(.plain) {
		padding: 1em 1em 1em 2em;
	}
	
	.single-content ol:not(.plain) {
		padding: 1em 1em 1em 3em;
	}
	
	.single-content blockquote:not(.plain) {
		padding: 1em;
	}
	
	.single-content dl:not(.plain) {
		flex-flow: column;
	}
	
	.single-content dl:not(.plain) > dt {
		width: 100%;
		padding: 1em;
	}
	
	.single-content dl:not(.plain) > dd {
		width: 100%;
		padding: 1em;
	}

	.single-content img.aligncenter:not(.plain),
	.single-content img.alignleft:not(.plain),
	.single-content img.alignright:not(.plain) {
		float: none;
		margin: 0 auto 2em auto;
	}
}

/* single pagination */
#single-pagination {
    list-style-type: none;
    display: flex;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;
    margin-top: 2rem;
}

#single-pagination > li {
    width: 50%;
}

#single-pagination > li + li {
    border-left: 2px solid #ddd;
}

#single-pagination > li > a {
    display: block;
    color: var(--main-color);
    padding: 1rem 3rem;
    position: relative;
}

#single-pagination > li:first-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid var(--color);
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#single-pagination > li:last-of-type > a:before {
    content: '';
    display: block;
    border-top: 0.3rem solid transparent;
    border-left: 0.3rem solid var(--color);
    border-right: 0.3rem solid transparent;
    border-bottom: 0.3rem solid transparent;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    #single-pagination {
        flex-flow: column;
        padding: 0;
    }

    #single-pagination > li {
        width: 100%;
    }

    #single-pagination > li + li {
        border-left: none;
    }

    #single-pagination > li:first-of-type:empty {
        border-top: 2px solid #ddd;
    }
}

/* --------------------------
    top
-------------------------- */
#top-main-banner {
	height: calc(100vh - 300px);
	min-height: 640px;
	background-color: #eee;
}

#top-main-slider .swiper-slide {
	height: calc(100vh - 300px);
	min-height: 640px;
	background-color: #eee;
}

#top-main-slider .swiper-slide > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 768px) {
	#top-main-banner {
		aspect-ratio: 1 / 1;
		height: unset;
		min-height: unset;
	}

	#top-main-slider .swiper-slide {
		aspect-ratio: 1 / 1;
		height: unset;
		min-height: unset;
	}
}

/* --------------------------
    contact
-------------------------- */
.grecaptcha-badge {
	z-index: 254;
}