/*
Theme Name: Twenty Twenty for Join Site
Description: 
Version: 0.3.0.1
Template: twentytwenty
*/

:root {
	--main-color: #0095d1;
	--accent-color: #eb2153;
	--text-color: #404040;
	--bg-color: #fbfcfc;
	--newg-color: #26bf59;
	--career-color: #fa9c19;
}

body,
.entry-content,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
}

body {
	color: var(--text-color);
}

img {
	vertical-align: top;
}

a {
	color: var(--accent-color);
}

.entry-content {
	font-size: 16px;
}
@media only screen and (max-width: 999px) {
	.entry-content {
		font-size: 14px;
	}
}

#site-content h1.entry-title,
#site-content h1.archive-title {
	font-size: clamp(24px, 6vw, 64px);
	font-weight: 700;
	font-feature-settings: "palt";
}

#site-content h2.wp-block-heading {
	position: relative;
	margin-top: 3em;
	padding-bottom: 0.5em;
	font-size: min(48px, 7.5vw);
	font-feature-settings: "palt";
	text-align: center;
	&::before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 80px;
		height: 8px;
		background-color: var(--main-color);
		transform: translateX(-50%);
	}
	&:first-child {
		margin-top: 0;
	}
}

#site-header {
	box-shadow: 0 4px 12px #00000010;
}

body:not(.overlay-header) .primary-menu > li > a,
.modal-menu a {
	color: var(--text-color);
}
.primary-menu a {
	font-weight: 700;
}
.primary-menu > li > a {
	position: relative;
	padding-bottom: 0.5em;
}
.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu li.current-menu-item > a,
.primary-menu li.current-menu-item > .link-icon-wrapper > a,
.primary-menu .current_page_ancestor {
	text-decoration: none;
}
.primary-menu a:hover::after,
.primary-menu a:focus::after,
.primary-menu li.current-menu-item > a::after,
.primary-menu li.current-menu-item > .link-icon-wrapper > a::after,
.primary-menu .current_page_ancestor::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 4px;
	background-color: var(--main-color);
}
body:not(.overlay-header) {
	.primary-menu {
		li.current-menu-item > a,
		li.current-menu-item > .link-icon-wrapper > a,
		.current_page_ancestor {
			color: var(--main-color);
		}
	}
}

.wp-child-theme-tt-join header.entry-header,
.wp-child-theme-tt-join header.archive-header {
	padding-top: clamp(40px, 10vw, 80px);
	padding-bottom: clamp(40px, 10vw, 80px);
	background: #dfe7f2;
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #cef0fa 10%, #ebfcff 65%, #ebfcff 75%, #cefadd 100%);
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #cef0fa 10%, #ebfcff 65%, #ebfcff 75%, #edf5fc 100%);
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #cef0fa 10%, #ebfcff 65%, #ebfcff 75%, #cef0fa 100%);
	text-align: center;
}
.wp-child-theme-tt-join header.entry-header.entry-header--newg {
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #c7ffd7 10%, #f7fff6 65%, #f7fff6 75%, #cef0fa 100%);
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #aaf2c2 10%, #f7fffa 65%, #f7fffa 75%, #aaf2c2 100%);
}
.wp-child-theme-tt-join header.archive-header.archive-header--career,
.wp-child-theme-tt-join header.entry-header.entry-header--career {
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #ffdebf 10%, #fff5eb 65%, #fff5eb 75%, #cef0fa 100%);
	background: radial-gradient(circle at 20% 15%, #ffffff99 10%, transparent 25%), radial-gradient(circle at 80% 85%, #ffffff99 10%, transparent 25%), linear-gradient(135deg, #ffbf66 10%, #fffcf7 65%, #fffcf7 75%, #ffbf66 100%);
}

.wp-child-theme-tt-join .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 720px;
}
.wp-child-theme-tt-join [class*="__inner-container"] > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 640px;
}

.wp-child-theme-tt-join.reduced-spacing.missing-post-thumbnail .post-inner {
	padding-top: 8rem;
}

.wp-child-theme-tt-join .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: min(40px, 5vw);
	min-width: min(300px, 80%);
	padding: 1.1em 1.75em;
	font-size: min(18px, 3.75vw);
	background-color: var(--main-color);
	color: #ffffff;
	border-radius: 9999px;
	&::after {
		content: "";
		flex-shrink: 0;
		width: min(25px, 5vw);
		aspect-ratio: 5/2;
		margin-left: auto;
		background-color: #ffffff;
		clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
		transition: all 0.2s ease;
	}
	&:hover {
		text-decoration: none;
		&::after {
			transform: translateX(25%);
		}
	}
	&.large {
		font-size: min(24px, 5.5vw);
		font-weight: 700;
		min-width: min(520px, 90%)
	}
	&.accent {
		background-color: var(--accent-color);
	}
}

.wp-child-theme-tt-join .wpcf7-form-control[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: min(40px, 5vw);
	min-width: min(300px, 80%);
	margin: 0 auto;
	padding: 1.1em 1.75em;
	background-color: var(--accent-color);
	color: #ffffff;
	border-radius: 9999px;
	&:hover {
		text-decoration: none;
	}
}
.wp-child-theme-tt-join .smf-action .smf-button-control__control {
	display: inline-flex;
	align-items: center;
	gap: min(40px, 5vw);
	min-width: min(300px, 80%);
	padding: 1.1em 1.75em;
	color: #ffffff;
	border-width: 0;
	border-radius: 9999px;
	&:hover {
		text-decoration: none;
	}
}
.wp-child-theme-tt-join .smf-action .smf-button-control__control:not([data-action="back"]) {
	background: var(--accent-color);
	&::after {
		content: "";
		flex-shrink: 0;
		width: min(25px, 5vw);
		aspect-ratio: 5/2;
		margin-left: auto;
		background-color: #ffffff;
		clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
		transition: all 0.2s ease;
	}
	&:hover {
		&::after {
			transform: translateX(25%);
		}
	}
}
.wp-child-theme-tt-join .smf-action .smf-button-control__control[data-action="back"] {
	background: #808080;
}
@media only screen and (max-width: 799px) {
	.wp-child-theme-tt-join .smf-action .smf-button-control__control[data-action="complete"],
	.wp-child-theme-tt-join .smf-action .smf-button-control__control[data-action="back"] {
		width: calc(50% - 8px);
		min-width: 0;
	}
}

.wp-child-theme-tt-join .footer-nav-widgets-wrapper {
	margin-top: min(200px, 30vw);
}
.footer-inner {
	.footer-widgets-outer-wrapper {
		border-bottom-width: 0;
		 .widget-content {
			.wp-block-group:not(.has-background):not(.alignwide):not(.alignfull) {
				margin: 0;
			}
			.footer-contact {
				h2.wp-block-heading {
					margin-bottom: 0.5em;
					font-size: 24px;
				}
				p {
					font-size: 16px;
					strong {
						font-size: 200%;
						color: var(--accent-color);
						a {
							text-decoration: none;
						}
					}
				}
			}
			.footer-nav {
				gap: 80px;
				font-size: 16px;
				li {
					margin-top: 0.5em;
					list-style: none;
					&:first-child {
						margin-top: 0;
					}
					a {
						color: var(--text-color);
						text-decoration: none;
						&::before {
							content: ">";
							margin-right: 0.5em;
							color: var(--main-color);
							font-weight: 700;
						}
						&:hover {
							color: var(--main-color);
						}
					}
				}
			}
		}
	}
}
.footer-credits {
	margin-left: auto;
	.footer-copyright {
		font-size: 14px;
		color: var(--text-color);
	}
}
@media only screen and (max-width: 999px) {
	.footer-inner {
		.footer-widgets-outer-wrapper {
			.widget-content {
				.footer-contact {
					h2.wp-block-heading {
						font-size: 20px;
					}
					p {
						font-size: 14px;
					}
				}
				.footer-nav {
					gap: 3em;
					font-size: 14px;
				}
			}
		}
	}
}
@media only screen and (max-width: 799px) {
	.footer-inner {
		.footer-widgets-outer-wrapper {
			.footer-widgets-wrapper {
				max-width: fit-content;
				margin-right: auto;
				margin-left: auto;
			}
		}
	}
}

.message-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-left: 0;
	list-style: none;
	li {
		margin-left: 0;
		&.hidden {
			display: none;
		}
		a {
			display: flex;
			align-items: center;
			gap: 16px;
			padding-right: 24px;
			background-color: #ffffff;
			color: var(--text-color);
			box-shadow: 0 8px 16px #f0f0f0;
			border-radius: 10px;
			overflow: hidden;
			text-decoration: none;
			.thumb {
				flex-shrink: 0;
				position: relative;
				width: min(150px, 25vw);
				aspect-ratio: 1/1;
				margin-top: 20px;
				.hover {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					opacity: 0;
				}
			}
			h3 {
				margin-top: 10px;
				margin-bottom: 0;
				font-size: min(20px, 4.25vw);
				font-feature-settings: "palt";
			}
			p {
				margin-bottom: 0;
				font-size: min(16px, 3.5vw);
				.bumon {
					display: inline-block;
					margin-right: 0.5em;
					padding: 0.25em 0.75em;
					font-weight: 700;
					border: 1px solid var(--text-color);
				}
			}
			&::after {
				content: "";
				flex-shrink: 0;
				width: min(25px, 5vw);
				aspect-ratio: 5/2;
				margin: auto 0 24px auto;
				background-color: var(--text-color);
				clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
				transition: all 0.2s ease;
			}
			&:hover {
				box-shadow: 0 8px 16px #cccccc;
				&::after {
					background-color: var(--main-color);
					transform: translateX(25%);
				}
				.thumb {
					.hover {
						opacity: 1;
					}
				}
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.message-list {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
}


/* home */
@keyframes homeShow {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.home {
	animation: homeShow 0.5s ease 0.5s both;
}

.home-top {
	position: relative;
	display: grid;
	place-items: center;
	height: min(580px, 45vw);
	color: #ffffff;
	background: #1c7ab9 url(./assets/images/home-top-bg.jpg) top center;
	background-size: cover;
	overflow: hidden;
	.home-top-inner {
		display: flex;
		justify-content: center;
		gap: min(60px, 4vw);
		h1 {
			margin: 0;
			font-size: min(48px, 3.5vw);
			font-weight: 700;
			font-feature-settings: "palt";
			> span {
				display: inline-block;
				margin-top: 0.25em;
				background-color: #ffffff;
				> span {
					display: inline-block;
					padding: 0.25em 0.5em;
					color: rgba(0,0,0,0);
					background: linear-gradient(105deg, #0096d6 5%, #50a6ed 95%);
					background-clip: border-box;
					background-clip: text;
					-webkit-box-decoration-break: clone;
					box-decoration-break: clone;
				}
				&:first-child {
					margin-top: 0;
				}
			}
		}
		p {
			margin: 0;
			text-shadow: 0 2px 4px #000000ff;
			font-size: min(24px, 2.25vw);
			font-weight: 700;
			font-feature-settings: "palt";
			line-height: 2;
		}
	}
	video {
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		object-fit: cover;
		width: 100%;
		height: 100%;
	}
}

.home-info-box {
	transform: translateY(-50%);
	.home-info-inner {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 24px;
		background-color: #ffffff;
		width: min(1000px, 90%);
		margin: 0 auto;
		padding: 18px 24px;
		border-top: 6px solid var(--accent-color);
		border-bottom: 2px solid #cccccc;
		box-shadow: 0 8px 16px #0000001a;
		p {
			margin-bottom: 0;
			font-size: 18px;
			font-weight: 700;
		}
	}
	> a {
		display: block;
		color: var(--text-color);
		text-decoration: none;
		.home-info-inner {
			&::after {
				content: "";
				flex-shrink: 0;
				width: min(25px, 5vw);
				aspect-ratio: 5/2;
				background-color: var(--text-color);
				clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
				transition: all 0.2s ease;
			}
			&:hover {
				box-shadow: 0 8px 16px #00000033;
				&::after {
					background-color: var(--main-color);
					transform: translateX(25%);
				}
			}
		}
	}
}

.home-banner {
	a {
		display: block;
		width: fit-content;
		margin: auto;
		&:hover {
			img {
				opacity: 0.8;
			}
		}
	}
}

.home-challenge {
	box-shadow: 0 8px 16px #f0f0f0;
}
.welcome-grid:where(.is-layout-grid) {
	gap: clamp(20px, 2.5vw, 32px);
}
.welcome {
	&.alignwide {
		width: auto;
	}
	h3 {
		position: relative;
		margin-bottom: 32px;
		padding: 0.75em 1em;
		font-size: clamp(20px, 2.5vw, 32px);
		background-color: var(--accent-color);
		color: #ffffff;
		border-radius: 10px;
		&::before {
			content: "";
			position: absolute;
			bottom: -23px;
			right: 24px;
			display: block;
			width: 24px;
			height: 24px;
			background-color: var(--accent-color);
			clip-path: polygon(0 0, 100% 0, 100% 100%);
		}
	}
	p {
		padding: 1.5em;
		font-size: clamp(16px, 1.5vw, 20px);
		background-color: #ffffff;
		box-shadow: 0 8px 16px #f0f0f0;
	}
}

.home-two-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-left: 0;
	list-style: none;
	li {
		margin-left: 0;
		a {
			display: flex;
			align-items: center;
			gap: 20px;
			padding: 1.25em;
			border: 6px solid #000000;
			box-shadow: 0 8px 16px #f0f0f0;
			border-radius: 10px;
			font-size: min(32px, 6vw);
			font-weight: 800;
			overflow: hidden;
			text-decoration: none;
			&::after {
				content: "";
				flex-shrink: 0;
				width: min(25px, 5vw);
				aspect-ratio: 5/2;
				margin-left: auto;
				clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
				transition: all 0.2s ease;
			}
			&:hover {
				box-shadow: 0 8px 16px #cccccc;
				&::after {
					transform: translateX(25%);
				}
			}
		}
		&:first-child {
			a {
				color: var(--newg-color);
				border-color: var(--newg-color);
				&::after {
					background-color: var(--newg-color);
				}
				&:hover {
					color: #ffffff;
					background-color: var(--newg-color);
					&::after {
						background-color: #ffffff;
					}
				}
			}
		}
		&:last-child {
			a {
				color: var(--career-color);
				border-color: var(--career-color);
				&::after {
					background-color: var(--career-color);
				}
				&:hover {
					color: #ffffff;
					background-color: var(--career-color);
					&::after {
						background-color: #ffffff;
					}
				}
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.home-top {
		position: relative;
		display: block;
		height: auto;
		padding: min(40px, 7.5vw);
		.home-top-inner {
			flex-direction: column;
			gap: min(40px, 7.5vw);
			h1 {
				font-size: min(40px, 8vw);
			}
			p {
				font-size: min(20px, 4vw);
			}
		}
	}
	.home-info-box {
		transform: translateY(-20px);
		.home-info-inner {
			gap: 12px;
			width: auto;
			margin-right: 20px;
			margin-left: 20px;
			padding: 12px 16px;
			p {
				font-size: 16px;
			}
		}
	}
}
@media only screen and (max-width: 799px) {
	.home-two-links {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
}



.corporate-info-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		color: var(--text-color);
		text-decoration: none;
		img {
			border-radius: 10px;
			box-shadow: 0 4px 10px #f0f0f0;
		}
		p {
			margin: 0;
		}
		&:hover {
			img {
				box-shadow: 0 4px 10px #cccccc;
			}
			p {
				color: var(--main-color)
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.corporate-info-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}


/* new_graduate */
.mynabi-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	a {
		display: flex;
		align-items: center;
		gap: 24px;
		padding: 24px 24px 24px 40px;
		min-height: 160px;
		background-color: #ffffff;
		color: var(--text-color);
		box-shadow: 0 8px 16px #f0f0f0;
		border-radius: 10px;
		overflow: hidden;
		text-decoration: none;
		img {
			flex-shrink: 0;
			width: min(195px, 37.5%);
		}
		.text {
			h3 {
				margin-top: 0;
				margin-bottom: 0.5em;
				font-size: 24px;
			}
			p {
				margin-bottom: 0;
			}
		}
		&::after {
			content: "";
			flex-shrink: 0;
			width: 25px;
			height: 10px;
			margin-top: auto;
			margin-left: auto;
			background-color: var(--text-color);
			clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
			transition: all 0.2s ease;
		}
		&:hover {
			box-shadow: 0 8px 16px #cccccc;
			&::after {
				background-color: var(--main-color);
				transform: translateX(25%);
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.mynabi-links {
		a {
			flex-direction: column;
			gap: 12px;
			padding: 24px 12px;
			img {
				width: 195px;
			}
			.text {
				text-align: center;
				h3 {
					font-size: 20px;
				}
			}
		}
	}
}
@media only screen and (max-width: 599px) {
	.mynabi-links {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
}



.group-list {
	margin-left: 0;
	list-style: none;
	li {
		margin-top: 40px;
		margin-left: 0;
		a {
			display: flex;
			align-items: center;
			gap: 40px;
			background-color: #ffffff;
			padding: 40px;
			border-radius: 10px;
			box-shadow: 0 8px 16px #f0f0f0;
			color: var(--text-color);
			text-decoration: none;
			img {
				flex-shrink: 0;
				height: 90px;
			}
			.text {
				h2 {
					margin-top: 0;
					font-size: min(24px, 5vw);
				}
				p {
					margin-bottom: 0;
				}
			}
			&::after {
				content: "";
				flex-shrink: 0;
				width: min(25px, 5vw);
				aspect-ratio: 5/2;
				margin-top: auto;
				margin-left: auto;
				background-color: var(--text-color);
				clip-path: polygon(0% 40%, 70% 40%, 70% 0%, 100% 50%, 70% 100%, 70% 60%, 0% 60%);
				transition: all 0.2s ease;
			}
			&:hover {
				box-shadow: 0 8px 16px #cccccc;
				&::after {
					background-color: var(--main-color);
					transform: translateX(25%);
				}
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.group-list {
		li {
			a {
				flex-direction: column;
				gap: 24px;
				padding: 24px;
				img {
					height: 60px;
				}
			}
		}
	}
}



.career-step {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 32px;
	width: fit-content;
	margin: 0 auto;
	list-style: none;
	li {
		position: relative;
		display: flex;
		flex-direction: column;
		margin-top: 0;
		margin-left: 0;
		text-align: center;
		font-size: 18px;
		background-color: #ffffff;
		border: 1px solid #e2e2e2;
		.step {
			display: block;
			padding: 0.5em 1em;
			color: #ffffff;
			background-color: var(--text-color);
			font-size: 16px;
			font-weight: 700;
			white-space: nowrap;
		}
		.step-detail {
			flex-grow: 1;
			display: grid;
			place-items: center;
			min-width: 7em;
			padding: 0.75em 1em;
		}
		&::after {
			content: "";
			position: absolute;
			top: 50%;
			right: -24px;
			width: 14px;
			height: 16px;
			background-color: var(--accent-color);
			clip-path: polygon(0 0, 100% 50%, 0 100%);
			transform: translateY(-50%);
		}
		&:last-child {
			.step {
				background-color: var(--accent-color);
			}
			.step-detail {
				color: var(--accent-color);
				font-weight: 700;
			}
			&::after {
				content: none;
			}
		}
	}
}
@media only screen and (max-width: 999px) {
    .career-step {
        flex-direction: column;
		width: auto;
		li {
			&::after {
				top: auto;
				bottom: -24px;
				right: auto;
				left: 50%;
				height: 16px;
				clip-path: polygon(0 0, 100% 0, 50% 100%);
				transform: translateX(-50%);
			}
		}
	}
}

.career-table {
	display: grid;
	grid-template-columns: 15.6em 1fr;
	gap: 4px 2em;
	dt {
		margin-top: 0;
		padding: 0.75em 1em;
		font-size: 120%;
		background-color: #f0f0f0;
		border-radius: 2px;
	}
	dd {
		margin-top: 0;
		margin-left: 0;
		padding: 1em 0;
		line-height: 1.75;
	}
}
@media only screen and (max-width: 999px) {
	.career-table {
		display: block;
	}
}


/* company */
.company-numbers {
	.wp-block-group {
		padding: min(40px, 7.5vw);
		background-color: #ffffff;
		border: 1px solid #e2e2e2;
		border-radius: 4px;
		h3 {
			margin-bottom: 8px;
			font-size: 20px;
			text-align: center;
		}
		.the-number {
			font-size: 20px;
			font-weight: 700;
			text-align: center;
			strong {
				margin-right: 10px;
				font-size: min(72px, 10vw);
				font-family: Roboto, 'Arial Black', sans-serif;
				font-weight: 900;
				color: var(--accent-color);
			}
		}
		&:not(.has-background):not(.alignwide):not(.alignfull) {
			margin: 0;
		}
	}
}

.pswp-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		color: var(--text-color);
		text-decoration: none;
		img {
			aspect-ratio: 16/9;
			object-fit: cover;
			border-radius: 10px;
			box-shadow: 0 4px 10px #f0f0f0;
		}
		span {
			color: var(--text-color);
		}
		&:hover {
			img {
				box-shadow: 0 4px 10px #cccccc;
			}
		}
	}
}
.pswp__custom-caption {
	position: absolute;
	left: 50%;
	bottom: 1em;
	width: calc(100% - 32px);
	max-width: 400px;
	padding: 0.25em 0.75em;
	font-size: clamp(14px, 2vw, 20px);
	text-align: center;
	background: #000000cc;
	color: #ffffff;
	transform: translateX(-50%);
}
@media only screen and (max-width: 999px) {
	.pswp-gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}



/* message */
.message-job-selector {
	margin-bottom: 1em;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5em;
	span {
		display: inline-block;
		padding: 0.375em 1.5em;
		font-weight: bold;
		cursor: pointer;
		user-select: none;
		border: 2px solid #cccccc;
		border-radius: 9999px;
		&:hover {
			border-color: var(--accent-color);
		}
		&.active {
			color: var(--accent-color);
			background-color: #fff5f7;
			border-color: var(--accent-color);
		}
	}
}

.js-observer-offset,
.js-observer-threshold {
	opacity: 0;
	translate: 0 20px;
	&.is-shown {
		opacity: 1;
		translate: 0 0;
		transition: opacity 0.5s ease, translate 0.5s ease;
	}
}

.message-header {
	position: relative;
	width: min(1440px, 90%);
	margin: 40px auto 0;
	.main-image {
		width: 75%;
		margin-left: auto;
	}
	.message-title {
		position: absolute;
		top: 50%;
		left: 0;
		min-width: 33.3334%;
		padding: min(72px, 5vw) min(36px, 2.5vw);
		background-color: #ffffff;
		transform: translateY(-50%);
		box-shadow: 0 4px 8px #0002;
		.message-title-inner {
			h1 {
				margin: 0;
				padding-bottom: min(18px, 1.25vw);
				font-size: min(36px, 2.5vw);
				font-feature-settings: "palt";
				text-align: center;
			}
			div {
				padding-top: min(18px, 1.25vw);
				border-top: 1px solid #cccccc;
				text-align: center;
			}
		}
	}
}

.works {
	.works-photos {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		gap: 40px;
	}
	.works-summary {
		margin: 40px 0;
	}
	.works-details {
		margin-left: 40px;
		div {
			display: flex;
			gap: 40px;
			margin-bottom: 40px;
			h3 {
				flex-shrink: 0;
				width: 9em;
				margin-top: 0;
				margin-bottom: 0;
				font-size: 24px;
				border-right: 1px solid #cccccc;
			}
			p {
				flex-grow: 1;
				margin-bottom: 0;
				padding-top: 1em;
				padding-bottom: 1em;
			}
		}
	}
}

.schedule-wrap {
	h2 {
		width: fit-content;
		margin: 0 auto;
		padding: 1em;
		font-size: 24px;
		background-color: var(--text-color);
		color: #ffffff;
	}
}
h2.schedule-heading {
	margin-bottom: 0;
}
.schedule-list {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 1080px;
	margin: 0 auto;
	padding: 120px 0 100px;
	list-style: none;
	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: calc(50% - 1px);
		width: 2px;
		height: 100%;
		background: linear-gradient(#cccccc 0%, #cccccc 95%, var(--bg-color) 100%);
	}
	li {
		display: flex;
		align-items: center;
		gap: 40px;
		width: calc(50% + 220px + 20px);
		margin-top: 0;
		margin-left: auto;
		margin-right: 0;
		&:nth-child(odd) {
			flex-direction: row-reverse;
			margin-left: 0;
			margin-right: auto;
			.image {
				border-color: var(--main-color);
				&::before {
					right: auto;
					left: -20px;
					background-color: var(--main-color);
				}
				&::after {
					right: auto;
					left: -35px;
					background-color: var(--main-color);
				}
			}
			.text {
				.time {
					color: var(--main-color);
				}
			}
		}
		.image {
			position: relative;
			flex-shrink: 0;
			width: 220px;
			aspect-ratio: 1/1;
			border: 5px solid var(--accent-color);
			border-radius: 100%;
			&::before {
				content: "";
				position: absolute;
				top: calc(50% - 3px);
				height: 6px;
				width: 20px;
				right: -20px;
				background-color: var(--accent-color);
			}
			&::after {
				content: "";
				position: absolute;
				top: calc(50% - 10px);
				z-index: 1;
				width: 20px;
				height: 20px;
				border-radius: 100%;
				right: -35px;
				background-color: var(--accent-color);
			}
			img {
				border-radius: 100%;
				border: 5px solid #ffffff;
			}
		}
		.text {
			flex-grow: 1;
			.time {
				text-align: center;
				color: var(--accent-color);
				font-size: 18px;
				font-weight: 700;
			}
			h3 {
				margin-top: 0;
				margin-bottom: 0.5em;
				font-size: 24px;
				text-align: center;
			}
			p {
				width: fit-content;
				margin: 0 auto;
			}
		}
	}
}

.outside-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-left: 0;
	list-style: none;
	li {
		margin-top: 0;
		margin-left: 0;
		padding: 10px;
		background-color: #ffffff;
		border: 1px solid #e2e2e2;
		border-radius: 4px;
		.image {
			text-align: center;
			img {
				aspect-ratio: 8/5;
				object-fit: cover;
			}
		}
		.text {
			padding: 20px 10px 10px;
			h3 {
				margin-top: 0;
				margin-bottom: 20px;
				font-size: 18px;
				text-align: center;
			}
			p {
				margin-bottom: 0;
			}
		}
	}
}

.last-message {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0 40px 0 20px;
	background-color: #ffffff;
	border: 12px solid var(--main-color);
	.photo {
		flex-shrink: 0;
		width: 35%;
		margin-top: auto;
		img {
			margin-top: 20px
		}
	}
	.text {
		padding: 40px 0;
		p {
			margin-bottom: 24px;
		}
		.handwrite-label {
			position: relative;
			z-index: 0;
			width: min(480px, 90%);
			margin-left: 20px;
			transform: rotate(-1deg);
			> div {
				padding: 10px 30px;
				background: linear-gradient(#fffabb 0%, #fffccf 100%);
				&::before {
					position: absolute;
					bottom: -1px;
					right: 9px;
					z-index: -1;
					transform: rotate(5deg);
					width: 70%;
					height: 50%;
					background-color: #d0d0d0;
					content: "";
					filter: blur(4px);
				}
			}
		}
	}
}
@media only screen and (max-width: 999px) {
	.message-header {
		width: auto;
		margin: 0;
		.main-image {
			width: auto;
		}
		.message-title {
			position: static;
			width: auto;
			margin: 20px;
			padding: min(24px, 7.5vw) 5%;
			transform: none;
			.message-title-inner {
				h1 {
					font-size: min(24px, 7.5vw);
					padding-bottom: min(12px, 3vw);
				}
				div {
					padding-top: min(12px, 3vw);
				}
			}
		}
	}
	.works {
		.works-photos {
			gap: 20px;
		}
		.works-summary {
			margin-top: 20px;
		}
		.works-details {
			margin-left: 0;
			div {
				display: block;
				margin-bottom: 20px;
				h3 {
					width: auto;
					padding-bottom: 0.25em;
					border-right-width: 0;
					border-bottom: 1px solid #cccccc;
				}
			}
		}
	}
	.outside-list {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.last-message {
		flex-direction: column;
		gap: 0;
		padding-right: 20px;
		.photo {
			width: 60%;
		}
		.text {
			padding-top: 20px;
			.handwrite-label {
				margin-right: auto;
				margin-left: auto;
			}
		}
	}
}
@media only screen and (max-width: 599px) {
	.schedule-list {
		gap: 20px;
		padding: 80px 0 60px;
		li {
			width: auto;
			.image {
				width: calc(50% - 20px);
			}
		}
	}
}



.wpcf7-form {
	margin-top: 60px;
	> div {
		margin-bottom: 1em;
		border-bottom: 1px solid #cccccc;
		&.wpcf7-turnstile {
			margin-top: 2em;
			margin-bottom: 2em;
			border-bottom-width: 0;
		}
		&:has(*[aria-required="true"]) .label-text::after,
		&:has(input[type="radio"]) .label-text::after {
			content: "＊";
			color: var(--accent-color);
		}
		.label-text {
			display: inline-block;
			margin-bottom: 0.25em;
			font-weight: 700;
		}
	}
	textarea {
		height: 12lh;
	}
}

.smf-form {
	.wp-block-group:not(.has-background):not(.alignwide):not(.alignfull) {
		margin-top: 0;
		margin-bottom: 0;
	}
	.smf-item:has(*[data-validations="required"]) .smf-item__label::after {
		content: "＊";
		color: var(--accent-color);
	}
	.smf-item__label {
		font-size: 18px;
		font-weight: 700;
	}
	input[type="checkbox"]:checked::before {
		width: 6px;
		height: 8px;
	}
	textarea {
		height: auto;
	}
}