/*
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;
    --color: #333;
	--color-red: #e0041d;
	--color-red-pale: #fff1f3;
    --color-blue: #093182;
    --color-blue-light: #dae2ed;
    --color-blue-pale: #f5f8fd;
    --line-height: 1.75;
    --font-size: 16px;
    --font-size-sp: 14px;
    --letter-spacing: 0.1em;
    --font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
	--serif-font: '游明朝', 'YuMincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
	--header-height: 100px;
	--header-height-sp: 50px;
	--topbar-height: 30px;
    --top-company-bg: url(/wp-content/uploads/2025/05/sueyoshi_gaikan1.webp);
    --top-recruit-bg: url(/wp-content/uploads/2025/05/recruit_bg.webp);
    --page-header-bg: url(/wp-content/themes/sueyoshi/src/bg-blue.jpg);
    --icon-arrow: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAgZmlsbDogIzMzMzsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9InN0MCIgZD0iTTEyLjgyNiw4bC04LjAyMyw4Yy42MTctMS43OTQsMS4zMzctNC41NjMsMS4zMzctOFM1LjQyLDEuNzk0LDQuODAzLDBsOC4wMjMsOFoiLz4KPC9zdmc+); 
    --icon-arrow-white: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnN0MCB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggY2xhc3M9InN0MCIgZD0iTTEyLjgyNiw4bC04LjAyMyw4Yy42MTctMS43OTQsMS4zMzctNC41NjMsMS4zMzctOFM1LjQyLDEuNzk0LDQuODAzLDBsOC4wMjMsOFoiLz4KPC9zdmc+);
}

/* --------------------------
    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.875rem;
}

h6 {
    font-size: 0.875rem;
    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;
}

.heading {
	display: flex;
	flex-flow: column;
	font-size: clamp(1.25em, 2.5vw, 1.5em);
	font-family: var(--serif-font);
	letter-spacing: 0;
	font-weight: 400;
	margin-bottom: 1em; 
}

.heading:before {
	content: attr(data-text);
	color: var(--color-blue);
	font-size: 2em;
	line-height: 1.25;
}

.heading.center {
	align-items: center;
}

.button {
	display: inline-block;
	padding: 1em 3em 1em 2em;
	background-color: var(--color-blue);
	color: #fff;
	position: relative;
	transition: opacity 0.2s ease;
}

.button:hover {
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.button.white {
	background-color: transparent;
	border: 1px solid #fff;
	color: #fff;
}

.button:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	background-image: var(--icon-arrow-white);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	right: 1.5em;
	transform: translateY(-50%);
	transition: right 0.2s ease;
}

.button:hover:before {
	right: 1em;
	transition: right 0.2s ease;
}

.button-wrap {
	margin-top: 2em;
}

.button-wrap.center {
	text-align: center;
}

.button-wrap.right {
	text-align: right;
}

.button-wrap.col2 .button {
	width: calc(50% - 0.25em);
}

.notice {
	border: 1px solid var(--color-red);
	border-radius: 0.5em;
	padding: 1em 1.5em;
	color: var(--color-red);
	background-color: var(--color-red-pale);
}

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

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

	.button-wrap.col2 {
		flex-flow: column;
	}

	.button-wrap.col2 > .button {
		width: 100%;
	}

	.button-wrap.col2 > .button + .button {
		margin-top: 0.5em;
	}
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
	width: 100%;
	height: var(--header-height);
	color: #fff;
	position: fixed;
	left: 0;
	z-index: 255;
	transition: height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
/* 	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%); */
}

header:hover {
	background: rgba(255, 255, 255, 1);
	color: var(--color);
	transition: all 0.3s ease;
}

header.fixed {
	height: var(--header-height-sp);
	background: rgba(255, 255, 255, 1);
	color: var(--color);
	transition: height 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

#topbar {
	display: flex;
	align-items: center;
	width: 100%;
	height: var(--topbar-height);
	padding: 0 2rem;
}

header.fixed #topbar {
	display: none;
}

#topbar > h1 {
	font-size: 10px;
	font-weight: 400;
	text-shadow: 0 0 0.5em rgba(0,0,0,5), 0 0 0.25em rgba(0,0,0,5);
}

header.fixed #topbar > h1,
header:hover #topbar > h1 {
	text-shadow: unset;
}

#header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: calc(var(--header-height) - var(--topbar-height));
	padding: 0 2rem;
}

header.fixed #header-content {
	height: 100%;
	padding: 0 1rem;
}

#header-logo > object {
	width: 270px;
	pointer-events: none;
	transition: all 0.2s ease;
}

header.fixed #header-logo > object {
	width: 210px;
	transition: all 0.2s ease;
}

#header-menu {
	list-style-type: none;
	display: flex;
	font-family: var(--serif-font);
	text-shadow: 0 0 0.5em rgba(0,0,0,5), 0 0 0.25em rgba(0,0,0,5);
}

header.fixed #header-menu,
header:hover #header-menu {
	text-shadow: unset;
}

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

@media (max-width: 1100px) {
	#header-menu {
		display: none;
	}

	header {
		height: var(--header-height-sp);
	}

	#topbar {
		display: none;
	}

	#header-content {
		height: 100%;
		padding: 0 1rem;
	}

	#header-logo > object {
		width: auto;
		height: 36px;
	}
	
	header.fixed #header-logo > object {
		width: auto;
	}
}

/* drawer */
#drawer {
	display: none;
	height: var(--header-height);
	pointer-events: none;
}

#drawer-toggle {
	width: var(--header-height);
	background-color: var(--color-blue);
	aspect-ratio: 1 / 1;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	pointer-events: auto;
	transition: all 0.3s ease;
}

header.fixed #drawer-toggle {
	width: var(--header-height-sp);
	transition: all 0.3s ease;
}

#drawer-toggle > span {
	display: block;
	width: 50%;
	border-top: 1px solid #fff;
	position: absolute;
	top: 50%;
	left: 25%;
	transform: translateY(-50%);
}

#drawer-toggle:before {
	content: '';
	display: block;
	width: 50%;
	border-top: 1px solid #fff;
	position: absolute;
	top: 35%;
	left: 25%;
	transition: all 0.2s ease;
}

#drawer-toggle:after {
	content: '';
	display: block;
	width: 50%;
	border-top: 1px solid #fff;
	position: absolute;
	bottom: 35%;
	right: 25%;
	transition: all 0.2s ease;
}

#drawer-flag {
	display: none;
}

#drawer-flag:checked + #drawer-toggle > span {
	opacity: 0;
}

#drawer-flag:checked + #drawer-toggle:before {
	top: calc(50% - 0.5px);
	transform: rotate(30deg);
	transition: all 0.5s ease;
}

#drawer-flag:checked + #drawer-toggle:after {
	bottom: calc(50% - 0.5px);
	transform: rotate(-30deg);
	transition: all 0.5s ease;
}

#drawer-content {
	opacity: 0;
	pointer-events: none;
	height: 100vh;
	overflow: auto;
	position: relative;
	transition: all 0.5s ease;
}

#drawer-flag:checked ~ #drawer-content {
	opacity: 1;
	pointer-events: auto;
	transition: all 0.5s ease;
}

#drawer-content:before {
	content: '';
	display: block;
	width: 100%;
	background-color: #fff;
	height: 100svh;
	position: fixed;
	top: 0;
	left: 0;
	transition: all 0.5s ease;
}

#drawer-flag:checked ~ #drawer-content:before {
	transition: all 0.5s ease;
}

#drawer-content > div:first-of-type {
	width: 100%;
	height: 100vh;
	background-color: #fff;
	padding-top: var(--header-height-sp);
	overflow-y: scroll;
	position: fixed;
	left: 0;
}

#mobile-menu {
	list-style-type: none;
	color: var(--color);
	font-size: 1em;
}

#mobile-menu > li  > a {
	display: block;
	padding: 1em 3em 1em 2em;
	border-radius: 0.5em;
	font-size: clamp(1em, 2vw, 1.5em);
	position: relative;
}

#mobile-menu > li.current-menu-item > a,
#mobile-menu > li > a:hover {
	background-color: #f5f5f5;
}

#mobile-menu > li  > a:before {
	content: '';
	display: block;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid var(--color);
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
}

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

	#drawer-toggle {
		width: var(--header-height-sp);
		transition: all 0.3s ease;
	}
}


/* --------------------------
    footer
-------------------------- */
footer {
	font-size: 0.75em;
	background-color: var(--color-blue-light);
}

footer > div:first-of-type {
	display: flex;
	justify-content: space-between;
}

footer > div:first-of-type > div:nth-of-type(1) {
	width: calc(25% - 2em);
}

footer > div:first-of-type > div:nth-of-type(2) {
	width: calc(50% - 2em);
}

footer > div:first-of-type > div:nth-of-type(3) {
	width: calc(25% - 2em);
}

#footer-logo {
	display: inline-block;
	margin-bottom: 1em;
}

#footer-logo > img {
	width: 240px;
}

#footer-menu {
	list-style-type: none;
	display: flex;
	justify-content: space-around;
}

#footer-menu > li > ul {
	list-style-type: none;
}

#footer-menu > li > ul > li {
	padding-left: 1em;
	position: relative;
}

#footer-menu > li > ul > li:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	background-image: var(--icon-arrow);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0.5lh;
	left: 0;
	transform: translateY(-50%);
}

.footer-banner {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	background-color: #eee;
}

.footer-banner > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#copyright {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 3em;
	color: #fff;
	background-color: var(--color-blue);
}

@media (max-width: 768px) {
	footer {
		font-size: 0.875em;
	}

	footer > div:first-of-type {
		flex-flow: column;
	}

	footer > div:first-of-type > div:nth-of-type(1) {
		width: 100%;
		text-align: center;
	}

	footer > div:first-of-type > div:nth-of-type(2) {
		width: 100%;
		text-align: center;
	}

	footer > div:first-of-type > div:nth-of-type(3) {
		width: 100%;
	}

	footer > div:first-of-type > div + div {
		margin-top: 1em;
	}

	#footer-menu {
		display: inline-block;
		flex-flow: column;
		text-align: left;
	}

	.footer-banner {
		max-width: 240px;
		margin: 0 auto;
	}
}

/* part contact */
#part-contact {
	background-color: var(--color-blue-pale);
}

#part-contact > div > div {
	display: flex;
	justify-content: space-between;
}

#part-contact > div > div > a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
/* 	width: calc(50% - 1em);
	aspect-ratio: 3 / 1; */
	width: 100%;
	padding: 3em 1em;
	background-color: var(--color-blue-light);
	position: relative;
}

#part-contact > div > div > a > div:first-of-type {
	font-size: clamp(1.25em, 3vw, 1.75em);
	font-family: var(--serif-font);
}

#part-contact > div > div > a > div:last-of-type {
	font-size: clamp(0.75em, 1.5vw, 1em);
}

/* #part-contact > div > div > a:not([href^="tel:"]):before {
	content: '';
	display: block;
	width: 1.5em;
	height: 1.5em;
	font-size: clamp(1.25em, 3vw, 1.75em);
	background-color: var(--color-blue);
	background-image: var(--icon-arrow-white);
	background-repeat: no-repeat;
	background-size: 25% 25%;
	background-position: center;
	box-shadow: content-box;
	border-top: 0.2em solid var(--color-blue-pale);
	border-left: 0.2em solid var(--color-blue-pale);
	position: absolute;
	bottom: 0;
	right: 0;
} */


#part-contact > div > div > a:before {
	content: '';
	display: block;
	width: 1.5em;
	height: 1.5em;
	font-size: clamp(1.25em, 3vw, 1.75em);
	background-color: var(--color-blue);
	background-image: var(--icon-arrow-white);
	background-repeat: no-repeat;
	background-size: 25% 25%;
	background-position: center;
	box-shadow: content-box;
	border-top: 0.2em solid var(--color-blue-pale);
	border-left: 0.2em solid var(--color-blue-pale);
	position: absolute;
	bottom: 0;
	right: 0;
}

@media (max-width: 768px) {
	#part-contact > div > div {
		flex-flow: column;
	}

	#part-contact > div > div > a {
		width: 100%;
	}

	#part-contact > div > div > a + a {
		margin-top: 1em;
	}	

	#part-contact > div > div > a > div:first-of-type {
		font-size: clamp(1.5em, 4vw, 2em);
	}

	#part-contact > div > div > a > div:last-of-type {
		font-size: clamp(1em, 2vw, 1.25em);
	}

	#part-contact > div > div > a:not([href^="tel:"]):before {
		font-size: clamp(1.5em, 4vw, 2em);
	}
}


/* --------------------------
    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: #eee;
}

.archive-list > li > a > article > .info > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
    font-size: 1em;
    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-blue);
    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(:is(h1, h2, h3, h4, h5, h6)) + *:is(h1, h2, h3, h4, h5, h6) {
	margin-top: 3em;
}

.single-content h1:not(.plain),
.single-content h2:not(.plain) {
	background-color: var(--color-blue-pale);
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.5em, 3vw, 1.75em);
	padding: 0.5em 1em;
	border-left: 0.125em solid var(--color-blue);
	margin-bottom: 1em;
}

.single-content h3:not(.plain) {
	border-left: 0.125em solid var(--color-blue);
	padding-left: 1em;
	margin-bottom: 1em;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.125em, 2vw, 1.25em);
	position: relative;
}

.single-content h4:not(.plain) {
	font-family: var(--serif-font);
	font-weight: 500;
	padding-left: 1.5em;
	margin-bottom: 1em;
	position: relative;
}

.single-content h4:not(.plain):before {
	content: '―';
	position: absolute;
	top: 0;
	left: 0;
	color: var(--color-blue);
}

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

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

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

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

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

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

.single-content *:is(ul, ol) *:is(ul, ol),
.single-content *:is(ul, ol).nobg {
    background-color: none;
    padding: 0 0 0 1em;
	margin: 0;
}

.single-content blockquote:not(.plain) {
    background-color: var(--color-blue-pale);
    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;
    margin-bottom: 3em;
}

.single-content dl:not(.plain) > dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    background-color: var(--color-blue-light);
    margin-top: 2px;
    padding: 1em  2em;
    font-weight: 700;
}

.single-content dl:not(.plain) > dd {
    width: 60%;
    background-color: var(--color-blue-pale);
    margin-top: 2px;
    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;
	color: var(--color-blue);
}

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

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

.single-content strong:not(.plain) {
    color: var(--color-red);
}

.single-content mark:not(.plain) {
	background: linear-gradient(to top, var(--color-blue-light) 30%, transparent 30%);
}

@media (max-width: 768px) {
	.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 {
	position: relative;
}

#top-main-slider .swiper-slide {
	width: 100%;
	height: 100vh;
	background-color: #eee;
}

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

#top-main-banner > h2 {
	line-height: 1.5;
	font-size: clamp(1.5em, 5vw, 4.5em);
	font-weight: 500;
	font-family: var(--serif-font);
	color: #fff;
	position: absolute;
	bottom: 1em;
	left: 1em;
	z-index: 1;
}

#top-main-banner > h2 > div:first-of-type {
	letter-spacing: 0.1em;
}

#top-main-banner > h2 > div:last-of-type {
	font-size: 0.5em;
}

#top-main-banner > .slider-banner {
	display: block;
	aspect-ratio: 13 / 5;
	max-width: 320px;
	width: 35vw;
	position: absolute;
	right: 1em;
	bottom: 1em;
	z-index: 1;
}


@media (max-width: 768px) {
	#top-main-slider .swiper-slide {
		height: 100vw;
	}

	#top-main-banner > h2 {
		font-size: clamp(2.25em, 7.5vw, 7.5em);
		bottom: 2.5em;
		left: 0.5em;
	}
	
	#top-main-banner > .slider-banner {
		width: 40vw;
	}
}

#top-catch-copy {
	position: relative;
}

#top-catch-copy > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#top-catch-copy > div {
	padding: 8em 1em;
}

#top-catch-copy > div > h2 {
	text-align: center;
	word-break: keep-all;
	color: var(--color-blue);
	font-family: var(--serif-font);
	font-weight: 500;
	margin-bottom: 1em;
}

#top-catch-copy > div > p {
	text-align: center;
	word-break: keep-all;
}

@media (max-width: 768px) {
	#top-catch-copy > div {
		padding: 4em 1em;
	}
}

#top-service {
	background-color: var(--color-blue-pale);
}

#top-service-list {
	display: flex;
	flex-wrap: wrap;
	margin-top: 2em;
}

#top-service-list > a {
	width: calc(100% / 3 - 1em);
	background-color: #fff;
	display: inline-block;
    padding: 1em 3em 1em 2em;
    color: var(--color-blue);
    position: relative;
    transition: all 0.3s ease;
}

#top-service-list > a:not(:nth-of-type(3n)) {
	margin-right: 1.5em;
}

#top-service-list > a:nth-of-type(n + 4) {
	margin-top:1.5em;
}

#top-service-list > a:before {
	content: '';
    display: block;
    width: 0.5em;
    height: 0.5em;
    background-image: var(--icon-arrow);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 1.5em;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

#top-service-list > a:hover {
	opacity: 1;
	transition: all 0.2s ease;
	background-color: var(--color-blue);
    color: #fff;
}

#top-service-list > a:hover:before {
	right: 1em;
    transition: right 0.2s ease;
	background-image: var(--icon-arrow-white);
}

@media (max-width: 768px) {
	#top-service-list > a {
		width: 100%;
	}
	
	#top-service-list > a:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	#top-service-list > a:nth-of-type(n + 4),
	#top-service-list > a + a {
		margin-top: 1em;
	}
}

#top-works {
	overflow: hidden;
}

#top-works > div p {
	text-align: center;
	word-break: keep-all;
}

#top-works > div > div:first-of-type {
	padding: 0 1em 2em 1em;
}

#top-works-slider .swiper-slide > a > figure {
	aspect-ratio: 3 / 2;
	background-color: #eee;
}

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

#top-works-slider > .swiper-wrapper {
	transition-timing-function: linear;
}

#top-works-slider .swiper-slide > a > h3 {
	font-size: 0.875em;
	font-weight: 400;
	padding-left: 1em;
	margin-top: 1em;
	position: relative;
}

#top-works-slider .swiper-slide > a > h3:before {
	content: '';
	display: block;
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: var(--color-blue);
	position: absolute;
	top: 0.5lh;
	left: 0;
	transform: translateY(-50%);
}


@media (max-width: 768px) {
	#top-works > div p {
		text-align: justify;
		word-break: initial;
	}
	
	#top-works > div p br {
		display: none;
	}
}

#top-recruit {
	background-color: var(--color-blue-pale);
	position: relative;
	z-index: 1;
}

#top-recruit > div:first-of-type {
	position: relative;
}

#top-recruit > div:first-of-type > div {
	background-color: #fff;
	padding: 4em;
	margin-bottom: 20vw;
}

#top-recruit > div:first-of-type > div:before {
	content: '';
	display: block;
	width: 100vw;
	height: calc(20vw + 8em);
	background-image: var(--top-recruit-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	left: calc((100% - 100vw) / 2);
	bottom: 0;
	z-index: -1;
}

#top-recruit > div:first-of-type > div > h3 {
	color: var(--color-blue);
	font-weight: 400;
	font-size: 1.5em;
	font-family: var(--serif-font);
	margin-bottom: 1em;
	text-align: center;
}

#top-recruit > div:last-of-type {
	position: relative;
	overflow: hidden;
}

#top-recruit > div:last-of-type:before {
	content: "";
	position:absolute;
	display: block;
	width: 100vw;
	height: 100%;
	background-image: url(/wp-content/themes/sueyoshi/src/bg-blue.jpg);
	top: 0;
	left: 0;
	z-index: -1;
}

#top-recruit > div:last-of-type:after {
	content: "";
	position:absolute;
	bottom: 0%;
	left: 50%;
	transform: translate(-75%, 50%);
	display: block;
	width: 20rem;
	height: 20rem;
	background-image: url(/wp-content/themes/sueyoshi/src/gradation-white.png);
	background-size: contain;
	z-index: -1;
}

#top-recruit > div:last-of-type > span:first-of-type {
	display: block;
	position: absolute;
	top: -10%;
	left: -5%;
	width: 20rem;
	height: 20rem;
	background-image: url(/wp-content/themes/sueyoshi/src/gradation-blue.png);
	background-size: contain;
	z-index: -1;
}

#top-recruit > div:last-of-type > span:last-of-type {
	position: absolute;
	bottom: 50%;
	right: -5%;
	width: 20rem;
	height: 20rem;
	transform: translateY(50%);
	background-image: url(/wp-content/themes/sueyoshi/src/gradation-blue.png);
	background-size: contain;
	z-index: -1;
}

#top-recruit > div:last-of-type > div {
	display: flex;
	flex-flow: row-reverse;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

#top-recruit > div:last-of-type > div > figure {
	width: calc(50% - 1em);
	aspect-ratio: 3 / 2;
	background-color: #eee;
}

#top-recruit > div:last-of-type > div > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-recruit > div:last-of-type > div > div {
	width: calc(50% - 1em);
}

#top-recruit > div:last-of-type > div > div > h3 {
	font-size: 2em;
	font-weight: 400;
	font-family: var(--serif-font);
	color: #fff;
	margin-bottom: 1em;
}

#top-recruit > div:last-of-type > div > div > h3:before {
	content: '―';
}

#top-recruit > div:last-of-type > div > div > p {
	color: #fff;
}

@media (max-width: 768px) {
	#top-recruit > div:first-of-type > div {
		padding: 2em;
	}

	#top-recruit > div:last-of-type > div {
		flex-flow: column;
		width: 100%;
		margin-top: 1em;
	}

	#top-recruit > div:last-of-type > div > figure {
		width: 100%;
	}

	#top-recruit > div:last-of-type > div > div {
		width: 100%;
		margin-top: 1em;
	}
}

#top-company {
	position: relative;
}

#top-company:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--top-company-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
}

#top-company > div > div {
	border: 1px solid #fff;
	padding: 4em;
	color: #fff;
	position: relative;
}

#top-company > div > div > h2 {
	display: flex;
	flex-flow: column;
	align-items: center;
	font-weight: 400;
	font-size: 1.25em;
	font-family: var(--serif-font);
	margin-bottom: 1em;
}

#top-company > div > div > h2:before {
	content: attr(data-text);
	font-size: 2em;
	line-height: 1.25;	
}

#top-company > div > div > p {
	text-align: center;
	word-break: keep-all;
	line-height: 2.5;
}

@media (max-width: 768px) {
	#top-company > div > div {
		padding: 2em;
	}
}

#top-sdgs {
	background-color: var(--color-blue-pale);
}

#top-sdgs > div > img {
	width: 100%;
}

#top-news-list {
	list-style-type: none;
	display: flex;
}

#top-news-list > li {
	width: calc(100% / 3 - 1em);
}

#top-news-list > li:not(:nth-of-type(3n)) {
	margin-right: calc(3em / 2);
}

#top-news-list > li > a {
	display: block;
}

#top-news-list > li > a > article > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #eee;
}

#top-news-list > li > a > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#top-news-list > li > a > article > time {
	display: block;
	margin-top: 0.5em;
}

#top-news-list > li > a > article > h3 {
	margin-top: 0.5em;
	font-size: 1em;
	font-weight: 400;
}

@media (max-width: 768px) {
	#top-news-list {
		flex-flow: column;
	}

	#top-news-list > li {
		width: 100%;
	}

	#top-news-list > li:not(:nth-of-type(3n)) {
		margin-right: unset;
	}

	#top-news-list > li + li {
		margin-top: 1em;
	}
}

#top-youtube > div > a {
	display: flex;
	margin: 0 auto;
	aspect-ratio: 13 / 5;
    justify-content: center;
    max-width: 320px;
}

#top-youtube > div > a > img {
	object-fit: cover;
	width: 100%;
}

@media (max-width: 768px) {
	#top-youtube > div > a {
		width: 220px;
	}
}

/* --------------------------
    page
-------------------------- */
#page-header {
	min-height: 300px;
	background-color: var(--color-blue-pale);
	overflow: hidden;
	position: relative;
	background-image: var(--page-header-bg);
}

#page-header > div {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	min-height: 300px;
	padding: var(--header-height) 1em 2em 1em;
}

#page-header > div > h2 {
	font-family: var(--serif-font);
	font-size: clamp(1.5em, 4vw, 2.5em);
	font-weight: 500;
	color: #fff;
}

#breadcrumb {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.75em;
	color: #fff;
}

#breadcrumb > li {
	display: flex;
	align-items: center;
}

#breadcrumb > li + li:before {
	content: '';
	display: block;
    width: 0.75em;
    height: 0.75em;
    background-image: var(--icon-arrow-white);
	margin-right: 1em;
	margin-left: 1em;
}

@media (max-width: 1100px) {
	#page-header > div {
		padding: calc(var(--header-height-sp) + 1em) 1em 1em 1em;
	}
}

@media (max-width: 768px) {
	#page-header {
		min-height: 150px;
	}

	#page-header > div {
		min-height: 150px;
	}
}

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

.contact-tel {
	display: flex;
	flex-flow: column;
	align-items: center;
}

.contact-tel > .tel {
	font-size: 2rem;
    font-family: var(--serif-font);
    text-align: center;
    font-weight: 700;
    display: block;
}

.contact-tel > .tel:before {
	content: 'Tel.';
    font-size: 0.75em;
}

.contact-tel > .time {
	display: flex;
	align-items: center;
}

.contactform dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top:2em;
	margin-bottom: 1em;
}

.contactform > dl > dt {
	text-align: left;
	padding: 1em 4em 1em 1em;
	position: relative;
	width: 35%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
}

.contactform > dl > dt:nth-of-type(n + 2) {
	margin-top: 2px;
}

.contactform > dl > dd {
	padding: 1.5em;
	width: 65%;
}

.bg-blue .contactform > dl > dd {
	background-color: #fff;
}

.contactform > dl > dd:nth-of-type(n+2) {
	margin-top: 2px;
}

.contactform > dl > dt.required:after {
	content: '必須';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background: var(--color-blue);
	color: #fff;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform > dl > dt:not(.required):after {
	content: '任意';
	display: block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0;
	padding: 0.5em 1em;
	background-color: #fff;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 3px;
}

.contactform > dl > dd input[type=text],
.contactform > dl > dd input[type=email],
.contactform > dl > dd input[type=tel],
.contactform > dl > dd textarea {
	display: block;
	width: 100%;
	border-radius: 3px;
	border: none;
	border: 1px solid #aaa;
	padding: 0.5em 1em;
	background-color: #fff;
}

.contactform > dl > dd.contact-readonly > span > input {
	background-color: #f2f2f2;
    color: #666;
}

.contactform > dl > dd select {
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #aaa;
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=date] {
	width: 30%;
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #aaa;
	padding: 0.5em 1em;
}

.contactform > dl > dd select {
	padding: 0.5em 1em;
}

.contactform > dl > dd input[type=number] {
	display: block;
	border-radius: 3px;
	border: none;
	background-color: #fff;
	border: 1px solid #aaa;
	padding: 0.5em 1em;
}

.contactform > dl > dd select.inline,
.contactform > dl > dd input.inline {
	display: inline-block;
	width: unset;
}

.contactform > dl > dd input.readonly {
	background-color: transparent;
	border: none;
}

.contactform > dl > dd input.readonly:focus {
	outline: none;
}

.agreement-wrap {
	text-align: center;
	margin-bottom: 1rem;
}

.contactform input[name=agreement] {
	appearance: none;
	-webkit-appearance: none;
	border: none;
}

.contactform input[name=agreement] + span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.contactform input[name=agreement] + span:hover {
	cursor: pointer;
}

.contactform input[name=agreement] + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #aaa;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGZvY3VzYWJsZT0iZmFsc2UiCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIgoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojQUFBQUFBO30KPC9zdHlsZT4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTE3My45LDQzOS40TDcuNSwyNzNjLTEwLTEwLTEwLTI2LjIsMC0zNi4ybDM2LjItMzYuMmMxMC0xMCwyNi4yLTEwLDM2LjIsMEwxOTIsMzEyLjdMNDMyLjEsNzIuNgoJYzEwLTEwLDI2LjItMTAsMzYuMiwwbDM2LjIsMzYuMmMxMCwxMCwxMCwyNi4yLDAsMzYuMkwyMTAuMSw0MzkuNEMyMDAuMSw0NDkuNCwxODMuOSw0NDkuNCwxNzMuOSw0MzkuNEwxNzMuOSw0MzkuNHoiLz4KPC9zdmc+Cg==);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 1rem;
	background-color: #fff;
}

.contactform input[name=agreement]:checked + span:before {
	content: '';
	display: inline-block;
	width: 3rem;
	height: 3rem;
	border: 1px solid #333;
	border-radius: 3px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJjaGVjayIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWNoZWNrIGZhLXctMTYiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ij48L3BhdGg+PC9zdmc+);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
}

.contactform .submit-wrap {
	display: flex;
	flex-flow: column;
	align-items: center;
	text-align: center;
}

.contactform .submit-wrap > input[type=submit] {
	width: 100%;
	max-width: 280px;
	border: none;
	color: #fff;
	background-color: var(--color-blue);
	padding: 1rem 2rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.contactform .submit-wrap > input[type=submit]:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
}

.contactform .submit-wrap > input[type=submit]:disabled {
	background-color: #ddd;
	cursor: not-allowed;
}

.contactform > dl > dd > .zip-wrap > span {
	display: flex;
	align-items: center;
}

.contactform > dl > dd > .zip-wrap input[type=text] {
	width: 10rem;
	margin: 0 .25rem;
}

.contactform > dl > dd > .zip-wrap > span:before {
	content: "〒";
}

.contactform > dl > dd span + span {
	display: block;
	margin-top: 0.5rem;
}

.submit-wrap > spa {
	display: none !important;
}

.ajax-loader {
	display: block;
	margin: auto;
}

.wpcf7-list-item {
	display: block !important;
}

.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

.wpcf7-not-valid-tip {
	pointer-events: none;
	white-space: nowrap;
	background-color: var(--color-red-pale);
	border: 1px solid var(--color-red);
	color: var(--color-red);
	padding: 0.25em 1em;
	border-radius: 0.25em;
	font-size: 0.875em !important;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	transform: translateY(100%);
}

input:focus + .wpcf7-not-valid-tip {
	display: none;
}

.wpcf7-not-valid-tip:before {
	content: '';
	display: block;
	width: calc(0.5em + 2px);
	height: calc(0.5em + 2px);
	border-radius: 0.125em 0 0 0;
	background-color: var(--color-red-pale);
	border-top: 1px solid var(--color-red);
	border-left: 1px solid var(--color-red);
	position: absolute;
	top: 1px;
	left: 2em;
	transform: rotate(45deg) translate(-50%, -50%);
}


/* --------------------------
    company
-------------------------- */
#company-greeting-name {
	font-family: var(--serif-font);
	text-align: right;
}

#company-greeting-name > span {
	font-size: 1.5em;
}

#company-history-list {
	list-style-type: none;
	position: relative;
}

#company-history-list:before {
	content: '';
	display: block;
	width: 1em;
	height: 100%;
	background-color: var(--color-blue);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

#company-history-list > li + li {
	margin-top: 2em;
}

#company-history-list > li > dl {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

#company-history-list > li:nth-of-type(even) > dl {
	flex-flow: row-reverse;
}

#company-history-list > li > dl > dt {
	width: calc(50% - 2em);
	display: flex;
	flex-flow: column;
	align-items: flex-end;
	font-family: var(--serif-font);
	color: var(--color-blue);
	position: relative;
}

#company-history-list > li > dl > dt:before {
	content: attr(data-text);
	font-size: 1.5em;
	font-style: italic;
	line-height: 1.25;
}

#company-history-list > li > dl > dt:after {
	content: '';
	width: 2em;
	border-top: 1px solid var(--color-blue);
	display: block;
	position: absolute;
}

#company-history-list > li:nth-of-type(odd) > dl > dt:after {
	top: 50%;
	right: -2em;
	transform: translate(100%, -50%);
}

#company-history-list > li:nth-of-type(even) > dl > dt:after {
	top: 50%;
	left: -2em;
	transform: translate(-100%, -50%);
}

#company-history-list > li:nth-of-type(even) > dl > dt {
	align-items: flex-start;
}

#company-history-list > li > dl > dd {
	width: calc(50% - 2em);
	display: flex;
	flex-flow: column;
	align-items: flex-start;
}

#company-history-list > li:nth-of-type(even) > dl > dd {
	align-items: flex-end;
}

#company-history-list > li > dl > dd > dl {
	display: flex;
	flex-flow: column;
	background-color: var(--color-blue-light);
	padding: 1em 1.5em;
	width: 100%;
}

#company-history-list > li > dl > dd > dl > dt {
	font-family: var(--serif-font);
}

#company-gmap {
	aspect-ratio: 2 / 1;
	background-color: #eee;
}

#company-gmap > iframe {
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	#company-gmap {
		aspect-ratio: 1 / 1;
	}

	#company-history-list {
		padding-left: 3em;
	}

	#company-history-list:before {
		left: 0;
		transform: unset;
	}

	#company-history-list > li > dl {
		flex-flow: column;
	}

	#company-history-list > li:nth-of-type(even) > dl {
		flex-flow: column;
	}

	#company-history-list > li > dl > dt {
		width: 100%;
		align-items: flex-start;
	}

	#company-history-list > li:nth-of-type(odd) > dl > dt:after {
		left: -2.5em;
		transform: translate(0, -50%);
	}

	#company-history-list > li:nth-of-type(even) > dl > dt:after {
		left: -2.5em;
		transform: translate(0, -50%);
	}

	#company-history-list > li > dl > dd {
		width: 100%;
	}
}


/* --------------------------
    works
-------------------------- */
#works-term-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 4em;
}

#works-term-list > li {
	display: flex;
	align-items: center;
	width: calc(25% - 0.5em);
}

#works-term-list > li:not(:nth-of-type(4n)) {
	margin-right: calc(2em / 3);
}

#works-term-list > li:nth-of-type(n+5) {
	margin-top: calc(2em / 3);
}

#works-term-list > li > a {
	width: 100%;
	height: 100%;
}

#works-archive-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#works-archive-list > li {
	width: calc(100% / 3 - 1em);
}

#works-archive-list > li:not(:nth-of-type(3n)) {
	margin-right: calc(3em / 2);
}

#works-archive-list > li:nth-of-type(n+4) {
	margin-top: calc(3em / 2);
}

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

#works-archive-list > li > a > article > figure {
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: #eee;
	overflow: hidden;
}

#works-archive-list > li > a > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: all 0.3s ease;
}

#works-archive-list > li > a:hover > article > figure > img {
	transform: scale(1.05);
	opacity: 0.7;
	transition: all 0.3s ease;
}

#works-archive-list > li > a > article > .terms {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1em;
}

#works-archive-list > li > a > article > .terms > span {
	display: inline-block;
	background-color: #eee;
	padding: 0.25em 0.5em;
	font-size: 0.75em;
	margin: 0 0.5em 0.5em 0;
}

#works-archive-list > li > a > article > h3 {
	font-family: var(--serif-font);
	font-size: 1em;
	font-weight: 500;
	margin-top: 0.5em;
}

#works-single-thumb {
	width: 100%;
	background-color: eee;
}

#works-single-thumb > img {
	width: 100%;
}

.works-single-image-wrap > figure > div {
	background-color: eee;
}

.works-single-image-wrap > figure > div > img {
	width: 100%;
	height: 100%;
}

.works-single-image-wrap > figure > figcaption {
	display: flex;
	justify-content: center;
	font-size: 0.875em;
	margin-top: 1em;
}

.works-single-image-wrap + .works-single-image-wrap {
	margin-top: 2em;
}

@media (max-width: 768px) {
	#works-term-list > li {
		width: calc(50% - 0.25em);
	}

    #works-term-list > li:not(:nth-of-type(4n)) {
	    margin-right: unset;
    }

    #works-term-list > li:nth-of-type(n+5) {
	    margin-top: unset;
    }

    #works-term-list > li:nth-of-type(odd) {
	    margin-right: 0.5em;
    }

    #works-term-list > li:nth-of-type(n+3) {
	    margin-top: 0.5em;
    }

	#works-archive-list > li {
		width: calc(100% / 2 - 0.5em);
	}

	#works-archive-list > li:not(:nth-of-type(3n)) {
		margin-right: unset;
	}

	#works-archive-list > li:nth-of-type(n+4) {
		margin-top: unset;
	}

	#works-archive-list > li:nth-of-type(odd) {
		margin-right: 1em;
	}

	#works-archive-list > li:nth-of-type(n+3) {
		margin-top: 1em;
	}
}


/* --------------------------
    service
-------------------------- */
#service-content-list {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

#service-content-list > li {
	border: 1px solid #888;
	padding: 2em;
	border-radius: 0.25em;
	width: calc(100% / 3 - 1em);
	display: flex;
	flex-flow: column;
}

#service-content-list > li:not(:nth-of-type(3n)) {
	margin-right: 1.5em;
}

#service-content-list > li > h2 {
	display: flex;
	justify-content: space-between;
	flex-flow: column;
	font-family: var(--serif-font);
	font-weight: 500;
	font-size: clamp(1.25em, 2vw, 1.5em);
	padding-top: 0.25em;
	margin-bottom: 1em;
	border-top: 3px solid var(--color-blue);
}

#service-content-list > li > h2:after {
	content: attr(data-text);
	font-size: 0.675em;
	letter-spacing: 0;
	color: #777;
}
#service-content-list > li > p {
	margin-bottom: auto;
}

#service-content-list > li:nth-of-type(n + 4) {
	margin-top: 1.5em;
}

@media (max-width: 768px) {
	#service-content-list > li {
		padding: 2em 1em;	
		width: 100%;
	}

	#service-content-list > li:not(:nth-of-type(3n)) {
		margin-right: 0;
	}
	
	#service-content-list > li + li {
		margin-top: 1.5em;
	}
}

/* --------------------------
    sdgs
-------------------------- */
#sdgs-current-list {
	list-style-type: none;
}

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

#sdgs-current-list > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1em 0;
}

#sdgs-current-list > li > figure {
	width: 160px;
	aspect-ratio: 1 / 1;
	background-color: #eee;
}

#sdgs-current-list > li > div {
	width: calc(100% - 160px - 2em);
}

#sdgs-current-list > li > div > h3 {
	font-family: var(--serif-font);
	font-weight: 500;
	margin-bottom: 0.5em;
}

#sdgs-current-list > li > div > ul {
	list-style-type: none;
	padding-left: 0;
}

#sdgs-current-list > li > div > ul > li {
	padding-left: 1em;
	position: relative;
}

#sdgs-current-list > li > div > ul > li:before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	background-color: var(--color-blue);
	position: absolute;
	top: 0.5lh;
	left: 0;
	transform: translateY(-50%);
}

#sdgs-action-list {
	list-style-type: none;
	padding: 0;
}

#sdgs-action-list > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--color-blue-pale);
	padding: 1em;
}

#sdgs-action-list > li:before {
	content: attr(data-text)'.';
	display: flex;
	font-family: var(--serif-font);
	font-size: 2em;
	font-weight: 500;
	font-style: oblique;
	white-space: nowrap;
	color: var(--color-blue);
}

#sdgs-action-list > li {
	padding: 1em 2em;
}

#sdgs-action-list > li + li {
	margin-top: 1em;
}

#sdgs-action-list > li > div {
	width: calc(100% - 4em);
}

@media (max-width: 768px) {
	#sdgs-current-list > li {
		flex-flow: column;
	}

	#sdgs-current-list > li > figure {
		width: 120px;
		margin-bottom: 1em;
	}

	#sdgs-current-list > li > div {
		width: 100%;
	}

	#sdgs-current-list > li > div > h3 {
		display: flex;
		justify-content: center;
	}
}


/* --------------------------
    recruit
-------------------------- */
#recruit-archive-list {
	list-style-type: none;
	margin-top: 2rem;
}

#recruit-archive-list > li + li {
	margin-top: 1em;
}

#recruit-archive-list > li > a {
	display: block;
	background-color: #fff;
	border: 1px solid var(--color-blue-light);
	position: relative;
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a:hover {
	color: var(--color-orange);
	background-color: var(--color-blue-pale);
	box-shadow: unset;
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a:before {
	content: '';
	display: block;
	width: 0.75em;
	height: 0.75em;
	background-image: var(--icon-arrow);
	background-size: cintain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 50%;
	right: 1.5em;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}
#recruit-archive-list > li > a:hover:before {
	right: 1em;
	transition: all 0.3s ease;
}

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

#recruit-archive-list > li > a > article > figure {
	width: 96px;
	height: 96px;
	background-color: #eee;
	position: relative;
}

#recruit-archive-list > li > a > article > figure > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a:hover > article > figure > img {
	opacity: 0.7;
	transition: all 0.3s ease;
}

#recruit-archive-list > li > a > article > div {
	padding: 1em 4em 1em 2em;
}

#recruit-archive-list > li > a > article > div > h3 {
	font-family: var(--serif-font);
	font-size: 1em;
	font-weight: 500;
}

#recruit-archive-list > li > a:hover > article > div > h3 {
	color: var(--color-blue);
}

@media (max-width: 768px) {
	#recruit-archive-list {
		margin-top: 2em;
	}
	
	#recruit-archive-list > li > a > article > figure {
		aspect-ratio: 1 / 1 ;
	}
}

#recruit-description-list {
	overflow: hidden;
	user-select: none;
	position: relative;
}

#recruit-description-list.end:before {
	content: 'この採用募集は終了しました';
	display: block;
	border: 1px solid var(--color-red);
	border-radius: 0.5em;
	padding: 1em 1.5em;
	color: var(--color-red);
	background-color: var(--color-red-pale);
	font-size: 1em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

#recruit-description-list.end > * {
	filter: blur(0.5em);
}