/*
Theme Name: DUXi WP Theme
Theme URI: http://underscores.me/
Author: Hiroyuki Maruyama
Author URI: http://underscores.me/
Description: Custom theme: DUXi WP Theme, developed by Hiroyuki Maruyama
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: duxi-wp-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Custom Properties (Design Tokens)
--------------------------------------------------------------*/
:root {
	/* Spacing Scale (remベース) */
	--space-xs: 0.5rem;      /* 8px */
	--space-sm: 1rem;        /* 16px */
	--space-md: 1.5rem;      /* 24px */
	--space-lg: 2.5rem;      /* 40px */
	--space-xl: 3.75rem;     /* 60px */
	--space-2xl: 5rem;       /* 80px */
	--space-3xl: 7.5rem;     /* 120px */
	--space-section: 10rem;  /* 160px (セクション間の余白) */

	/* Site Main の可変パディング */
	--main-padding: clamp(1.5rem, calc(50vw - 31.5625rem), 13.4375rem);
	/* Footer Content の可変パディング */
	--footer-padding: clamp(1.5rem, calc(50vw - 31.5625rem), 6.25rem);

	/* Fluid Typography Scale */
	/* format: clamp(最小サイズ, 推奨サイズ(vw), 最大サイズ) */
	--font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12px - 14px */
	--font-size-sm: clamp(0.8125rem, 0.775rem + 0.1875vw, 0.9375rem); /* 13px - 15px */
	--font-size-base: clamp(0.875rem, 0.8rem + 0.375vw, 1.125rem);  /* 14px - 18px */
	--font-size-lg: clamp(1rem, 0.925rem + 0.375vw, 1.25rem);       /* 16px - 20px */
	--font-size-xl: clamp(1.125rem, 0.975rem + 0.75vw, 1.625rem);   /* 18px - 26px */
	--font-size-2xl: clamp(1.25rem, 1.025rem + 1.125vw, 2rem);      /* 20px - 32px */
	--font-size-3xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);         /* 24px - 40px */
	--font-size-hero: clamp(2.5rem, 1.5rem + 5vw, 5rem);            /* 40px - 80px */

	/* Line Height */
	--lh-tight: 1.2;
	--lh-base: 1.5;
	--lh-loose: 1.8;
}

@media screen and (max-width: 62.4375rem) {
	:root {
		--space-section: 4rem;
		--space-3xl: 4rem;
		--space-2xl: 3rem;
		--space-xl: 2.5rem;
	}
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: var(--font-size-base);
	font-weight: 500;
	line-height: var(--lh-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 0.0625rem;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #000;
	text-decoration: none;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 0.1875rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Site
--------------------------------------------- */
.site {
	max-width: 90rem;
	margin-left: auto;
	margin-right: auto;
}

/* Site Header
--------------------------------------------- */
.site-header {
	position: relative;
	z-index: 9999;
	background-color: #ffffff;
	isolation: isolate;
}

@media screen and (min-width: 62.5em) {

	.site-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 2rem;
		height: 5rem;
	}

	.main-navigation {
		width: auto;
	}

	#site-navigation {
		margin-left: 7.5rem;
	}
}

@media screen and (max-width: 62.4375rem) {

	.site-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0;
		height: 4rem;
		position: relative;
	}

	.site-branding {
		display: flex;
		align-items: center;
	}

	.site-branding .site-logo {
		margin: 0 0 0 1.5rem;
		max-height: 2rem;
		width: auto;
	}

	.main-navigation {
		width: auto;
		position: static;
	}

	.menu-toggle {
		background: #d9d9d9 url('images/menu.svg') no-repeat center center;
		background-size: contain;
		color: transparent;
		border: none;
		border-radius: 0;
		width: 4rem;
		height: 4rem;
		padding: 0;
		overflow: hidden;
		cursor: pointer;
		display: block;
	}

	.main-navigation.toggled ul {
		width: 100%;
		background-color: #d9d9d9;
		position: absolute;
		top: 4rem;
		left: 0;
		z-index: 1000;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

	.main-navigation.toggled ul li {
		border-bottom: 1px solid #DDDDDD;
	}

	.main-navigation.toggled ul li a {
		padding: 1rem 1.5rem;
		display: block;
	}
}

/* Site Logo
--------------------------------------------- */
.site-branding .site-title {
	margin: 0;
	font-size: var(--font-size-base);
	line-height: 1;
}

.site-branding .site-title a {
	display: inline-block;
}

.site-branding .site-logo {
	display: block;
	width: 12.5rem;
	max-width: 100%;
	height: auto;
	margin-left: 6.25rem;
	margin-right: 7.5rem;
}

@media screen and (max-width: 62.4375rem) {
	.site-branding .site-logo {
		margin: 0 0 0 1.5rem;
		max-height: 2rem;
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Site Main
--------------------------------------------- */
.site-main {
	padding-left: var(--main-padding);
	padding-right: var(--main-padding);
}

@media screen and (max-width: 62.4375rem) {

	.site-main {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

@media screen and (max-width: 62.4375rem) {
	.main-navigation {
		display: flex;
		justify-content: end;
	}
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 12.5rem;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 62.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 0;
	}

	/* li を flex コンテナにして疑似要素とリンクを横一列・縦中央揃えにする */
	.main-navigation ul > li {
		display: flex;
		align-items: center;
	}

	/* メニュー項目間のセパレーター */
	.main-navigation ul > li + li::before {
		content: "｜";
		color: currentColor;
		opacity: 0.4;
		pointer-events: none;
		flex-shrink: 0;
	}

	.main-navigation ul > li > a {
		display: block;
		padding: 0.25em 0.75em;
		font-size: var(--font-size-sm);
		font-weight: 500;
		letter-spacing: 0.03em;
		white-space: nowrap;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Page Header
--------------------------------------------- */
.page-header {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	margin-top: 9.375rem;
}

/* Page Header - Business page background
--------------------------------------------- */
.page-template-page-business .page-header {
	position: relative;
	min-height: 23rem;
	margin-right: calc(-1 * var(--main-padding)); /* Worksと同様にパディング分を相殺する */
}

.page-template-page-business .page-header::after {
	content: "";
	position: absolute;
	top: -6.25rem;
	right: 0;
	width: 41.125rem;
	height: 23rem;
	background-image: url('images/page-header-business-bg.svg');
	background-repeat: no-repeat;
	background-size: contain;
	z-index: -1;
}

.page-template-page-business .box-banners {
	margin-top: -6.25rem;
}

.page-header__top {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	position: relative;
}

.page-header__top::before {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 4.125rem;
	height: 4.125rem;
	background-image: url('images/page-header-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.page-header__sub {
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-3xl);
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #000000;
	align-self: flex-start;
	margin-top: 0;
}

.page-title {
	margin: 0.25em 0 0;
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-hero);
	line-height: 3.125rem;
	letter-spacing: 0.05em;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {

	.page-title {
		line-height: var(--lh-tight);
	}

	.page-template-page-business .page-header {
		min-height: auto;
		margin-right: -1.5rem; /* site-mainのpaddngを打ち消して画面右端まで広げる */
	}

	.page-template-page-business .page-header::after {
		display: block;
		top: -6.25rem;
		right: 0;
		width: 60%;
		height: 10rem;
		background-size: contain;
		background-position: right top;
	}

}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

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

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

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

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Box Banners
--------------------------------------------- */
.box-banners {
	display: flex;
	justify-content: center;
	gap: var(--space-md);
}

.box-banner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	width: 19.125rem;
	height: 10.9375rem;
	background-color: #C6F5F2;
	color: #000;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.box-banner img {
	width: auto;
	height: 3.75rem;
}

.box-banner:hover {
	opacity: 0.7;
}

@media screen and (max-width: 62.4375rem) {

	.box-banners {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.box-banner {
		width: 100%;
		max-width: none;
	}
}

/* Business Section
--------------------------------------------- */
.business-section {
	margin-top: var(--space-3xl);
	margin-bottom: 3.25rem;
}

/* 1段目: タイトル部 */
.business-section__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	justify-content: center;
}

.business-section__head-icon {
	width: auto;
	height: 3.75rem;
}

.business-section__head-label {
	margin: 0;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	text-align: center;
	color: #000000;
}

/* 2段目: コンテンツ説明 */
.business-section__desc {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
	margin-top: var(--space-lg);
}

.business-section__desc-image {
	flex: 0 0 32.0625rem;
}

.business-section__desc-image img {
	width: 32.0625rem;
	height: 23.375rem;
	display: block;
	object-fit: cover;
}

.business-section__desc-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.business-section__desc-title {
	margin: 0;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	color: #000000;
}

.business-section__desc-text {
	margin: 0;
	font-style: normal;
	font-weight: 500;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	color: #000000;
}

/* 3段目: 事例説明 */
.business-section__cases {
	background-color: #C6F5F2;
	padding: 3.875rem;
	margin-top: 6.25rem;
}

.business-section__cases-title {
	margin: 0 0 2rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	text-align: center;
	color: #000000;
}

.business-section__cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3.125rem;
}

.business-case {
	padding: 1.5rem;
	border-top: 1px solid currentColor;
}

.business-case__title {
	margin: 0 0 0.75rem;
	font-style: normal;
	font-weight: 500;
	font-size: var(--font-size-base);
	line-height: 3.125rem;
	text-align: center;
	color: #000000;
}

.business-case__text {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1.875rem;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {

	.business-section__head {
		width: 100%;
		height: auto;
		padding: 1.5rem 0;
	}

	.business-section__desc {
		flex-direction: column;
		gap: var(--space-md);
	}

	.business-section__desc-image {
		flex: none;
		width: 100%;
	}

	.business-section__desc-image img {
		width: 100%;
		height: auto;
	}

	.business-section__cases {
		padding: 2rem 1.25rem;
	}

	/* モバイル向け：アンカーリンクを横スクロールタブ化 */
	.page-template-page-business .box-banners {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 0.5rem;
		margin-top: 2rem;
		padding-bottom: 1rem;
		justify-content: flex-start;
	}

	.page-template-page-business .box-banner {
		flex: 0 0 auto;
		width: auto;
		flex-direction: row;
		padding: 0.75rem 1.25rem;
		height: auto;
		border-radius: 9999px;
	}

	.page-template-page-business .box-banner img {
		height: 1.5rem;
	}

	.page-template-page-business .box-banner span {
		font-size: var(--font-size-sm);
	}
}

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

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(0.0625rem, 0.0625rem, 0.0625rem, 0.0625rem);
	clip-path: inset(50%);
	height: 0.0625rem;
	margin: -0.0625rem;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 0.0625rem;
	word-wrap: normal !important;
}

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

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/* FAQ List
--------------------------------------------- */
html {
	scroll-behavior: smooth;
}

.faq-layout {
	display: flex;
	align-items: flex-start;
	gap: var(--space-xl);
	margin-top: var(--space-xl);
}

.faq-sidebar {
	flex: 0 0 15.625rem;
	position: sticky;
	top: 6.25rem;
}

.faq-sidebar__heading {
	margin: 0 0 0.5rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-base);
	line-height: 3.125rem;
	color: #000000;
}

.faq-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.faq-sidebar__link {
	display: block;
	padding: 0.875rem 0;
	font-weight: 500;
	font-size: var(--font-size-sm);
	line-height: var(--lh-base);
	color: #000000;
}

.faq-sidebar__link:hover {
	color: #FF0000;
}

.faq-content {
	flex: 1;
	min-width: 0;
}

.faq-list__heading {
	scroll-margin-top: var(--space-3xl);
	margin: 3.75rem 0 2rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	color: #000000;
}

.faq-content .faq-list__heading:first-child {
	margin-top: 0;
}

@media screen and (max-width: 62.4375rem) {

	.faq-layout {
		flex-direction: column;
		gap: 2rem;
	}

	.faq-sidebar {
		flex: none;
		width: 100%;
		position: sticky;
		top: 5rem;
		z-index: 10;
		background: #fff;
	}

	.faq-sidebar__heading {
		display: none;
	}

	.faq-sidebar__list {
		display: flex;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 0.5rem;
		align-items: center;
	}

	.faq-sidebar__item {
		display: flex;
		align-items: center;
	}

	/* CSSの枠線機能を使ってガタつきのない綺麗な区切り線を引く */
	.faq-sidebar__item + .faq-sidebar__item {
		margin-left: 1rem;
		padding-left: 1rem;
		border-left: 1px solid #CCCCCC;
	}

	.faq-sidebar__link {
		padding: 0.5rem 0;
	}
}

.faq-list {
	margin: 3.75rem 0 0;
	padding: 0;
}

.faq-list__item {
	margin-bottom: 3rem;
	border: 0.6px solid rgba(0, 0, 0, 0.3);
	border-radius: 14px;
	padding: 1.75rem 2rem;
}

.faq-list__item:has(.faq-list__answer.is-open) {
	border: 1.2px solid rgba(255, 0, 0, 0.5);
}

.faq-list__question {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	cursor: pointer;
	user-select: none;
}

.faq-list__marker {
	flex-shrink: 0;
	font-weight: 700;
	font-size: var(--font-size-2xl);
	line-height: 1.4;
}

.faq-list__marker--q {
	color: #FF0000;
}

.faq-list__marker--a {
	color: #FF0000;
}

.faq-list__question-text {
	flex: 1;
	font-style: normal;
	font-weight: 500;
	font-size: var(--font-size-base);
	line-height: 1.5625rem;
	color: #000000;
}

.faq-list__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	color: #000000;
	transition: transform 0.3s ease;
}

.faq-list__question[aria-expanded="true"] .faq-list__icon {
	transform: rotate(180deg);
}

.faq-list__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	overflow: hidden;
	margin: 0;
}

.faq-list__answer.is-open {
	grid-template-rows: 1fr;
}

.faq-list__answer-inner {
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding-top: 0;
	transition: padding-top 0.35s ease;
}

.faq-list__answer.is-open .faq-list__answer-inner {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 0.6px solid #C5C5C5;
}

.faq-list__answer-text {
	font-style: normal;
	font-weight: 400;
	font-size: var(--font-size-base);
	line-height: 2rem;
	color: #000000;
}

.faq-list__answer-text p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 62.4375rem) {

	.faq-list__question {
		gap: 0.75rem;
	}

	.faq-list__item {
		padding: 1.25rem;
	}

	.faq-list__answer-inner {
		gap: 0.75rem;
	}

	.faq-list__question-text,
	.faq-list__answer-text {
		font-size: var(--font-size-base);
	}
}

/* Works Page Header Background
--------------------------------------------- */
.page-template-page-works .site-main article {
	position: relative;
}

.page-template-page-works .site-main article::before {
	content: "";
	position: absolute;
	top: -6.25rem;
	right: calc(-1 * var(--main-padding)); /* 変数を使ってパディング分だけ右に押し出す */
	width: 38.9375rem;
	height: 48.75rem;
	background-image: url('images/page-header-works-bg.svg');
	background-repeat: no-repeat;
	background-position: right top; /* 画像を右上に固定 */
	background-size: contain;
	z-index: -1;
	pointer-events: none; /* 下の要素がクリックできない不具合を防ぐ */
}

@media screen and (max-width: 62.4375rem) {
	.page-template-page-works .site-main article::before {
		display: block;
		top: 0;
		right: -1.5rem; /* site-mainのpadding分だけ右にずらして画面右端にくっつける */
		width: 50%;
		height: 18rem;
		background-position: right top;
	}
}

.page-template-page-works .page-header,
.page-template-page-works .works-intro {
	position: relative;
	z-index: 1;
}

/* Works Intro
--------------------------------------------- */
.works-intro {
	margin-top: var(--space-2xl);
}

.works-intro__title {
	max-width: 35.625rem;
	margin: 0 0 2.5rem;
	font-style: normal;
	font-weight: 500;
	font-size: var(--font-size-xl);
	line-height: 2.6875rem;
	color: #000000;
	text-wrap: balance;
}

.works-intro__text {
	max-width: 35.625rem;
	margin: 0;
	font-style: normal;
	font-weight: 500;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	letter-spacing: 0.015em;
	color: #000000;
	text-align: justify;
	text-justify: inter-ideographic;
	text-wrap: pretty;
}

/* Works List
--------------------------------------------- */
/* SwiperのCSSに勝つために .site-main を付けて詳細度を上げる */
.site-main .works-list {
	display: grid;
	grid-template-columns: repeat(3, 25rem);
	gap: 0;
	justify-content: center;
	margin-top: 14.6875rem;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.works-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: opacity 0.2s ease;
	width: 100%;
	height: 100%;
}

.works-item:hover {
	opacity: 0.8;
}

.works-item__image {
	width: 25rem;
	height: 34.375rem;
	overflow: hidden;
	flex-shrink: 0;
}

.works-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.works-item__body {
	flex-grow: 1;
	background-color: #000000;
	padding: 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.75rem;
}

.works-item__title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.6;
	text-align: center;
	color: #FFFDFD;
	text-wrap: balance;
}

.works-item__text {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 2rem;
	text-align: center;
	color: #FFFFFF;
}

@media screen and (max-width: 62.4375rem) {

	/* works-list, works-swiper の上余白削減・全幅解除 */
	.site-main .works-list,
	.works-swiper {
		display: flex; /* スマホやタブレットでは Swiper として動かすために flex にする */
		margin-top: 3rem;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	/* スライド（カード）の幅はSwiperに任せるため max-width を解除 */
	.works-item {
		max-width: none;
		margin: 0;
	}

	.works-item__image {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
	}
}

/* Works Swiper (front page)
--------------------------------------------- */
/* フロントページとWorksページ、両方のスライド枠を高さいっぱいに伸ばして高さを揃える */
.works-swiper .swiper-slide,
.archive-works-swiper .swiper-slide {
	height: auto !important; /* Swiperの自動計算に負けないように !important を付与 */
	display: flex;
	align-items: stretch; /* 子要素（.works-item）を強制的に上下いっぱいに引き伸ばす */
}

.works-swiper {
	width: 100%;
	margin-top: 5rem;
}

.works-swiper .works-item__image {
	width: 100%;
}

.works-swiper-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

.works-swiper-prev,
.works-swiper-next {
	position: static !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.works-swiper-prev.swiper-button-disabled,
.works-swiper-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

.works-swiper-pagination {
	position: static !important;
	width: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin: 0 !important;
}

.works-swiper-pagination .swiper-pagination-bullet {
	width: 0.625rem;
	height: 0.625rem;
	background: #000000;
	opacity: 0.2;
	border-radius: 50%;
	margin: 0 !important;
	cursor: pointer;
	flex-shrink: 0;
}

.works-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

@media screen and (min-width: 62.5em) {

	.works-swiper-bar {
		display: none;
	}
}

/* VOC Swiper (front page)
--------------------------------------------- */
.front-voc-swiper {
	margin-top: var(--space-xl);
}

.front-voc-swiper-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

.front-voc-swiper-prev,
.front-voc-swiper-next {
	position: static !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.front-voc-swiper-prev.swiper-button-disabled,
.front-voc-swiper-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

.front-voc-swiper-pagination {
	position: static !important;
	width: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin: 0 !important;
}

.front-voc-swiper-pagination .swiper-pagination-bullet {
	width: 0.625rem;
	height: 0.625rem;
	background: #000000;
	opacity: 0.2;
	border-radius: 50%;
	margin: 0 !important;
	cursor: pointer;
	flex-shrink: 0;
}

.front-voc-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

@media screen and (min-width: 62.5em) {

	.front-voc-swiper-bar {
		display: none;
	}
}

/* Company Profile
--------------------------------------------- */
.page-template-page-company .entry-content {
	margin-top: 5.3125rem;
}

/* Bottom Nav Area
--------------------------------------------- */
.bottom-nav-area {
	position: relative;
	margin-top: 12.5rem;
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	background-color: #C6F5F2;
	/* 外側の左右余白：固定値(13.125rem)をやめ、--main-padding と連動して縮小させる */
	padding: 10.625rem var(--main-padding);
	box-sizing: border-box;
}

.box-banners--two-cols {
	display: flex;
	justify-content: center;
	gap: var(--space-lg);
	margin-top: 0;
}

.box-banners--two-cols .box-banner {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background-color: #fff;
	margin: 0;
	/* 内側の左右余白：1440pxで 4rem(64px)、狭くなると最低 1.5rem(24px) まで自動縮小させる */
	padding: 2.5rem clamp(1.5rem, calc(7.7vw - 2.9rem), 4rem);
	width: 100%;
	max-width: 26rem;
	height: auto;
}

.box-banners--two-cols .box-banner img {
	width: 2.75rem;
	height: auto;
}

.box-banner__title {
	margin: 0;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	text-align: center;
	color: #000000;
}

.box-banner__text {
	margin: 0 0 var(--space-md) 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	color: #000000;
}

.box-banner__btn {
	display: inline-block;
	flex-shrink: 0;
	margin-top: auto;
	width: 100%;
	line-height: 3.9375rem;
	text-align: center;
	background-color: #ff0000;
	color: #fffbfb;
	border-radius: 9999px;
	font-weight: 600;
	font-size: var(--font-size-base);
	letter-spacing: 0.05em;
	transition: opacity 0.2s ease;
}

@media screen and (max-width: 62.4375rem) {

	.bottom-nav-area {
		padding: 3rem 1.5rem;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		width: 100vw;
	}

	.box-banners--two-cols {
		flex-wrap: wrap;
	}

	.box-banners--two-cols .box-banner {
		margin: 0;
		padding: 2.5rem 1.5rem;
		flex: 1 1 20rem;
		max-width: none;
	}
}

/* ==========================================
   資料ダウンロード準備中オーバーレイ
   ========================================== */

/* 準備中ボックスのベース */
.box-banner--disabled {
	position: relative;
	cursor: not-allowed;
}

/* リンクじゃないのでホバー時の透過を無効化 */
.box-banner--disabled:hover {
	opacity: 1;
}

/* ボタン部分をグレーにして押せない感を出す */
.box-banner--disabled .box-banner__btn {
	background-color: #CCCCCC;
	color: #FFFFFF;
}

/* オーバーレイ本体 */
.box-banner__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.85);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 10;
}

/* 準備中のテキストバッジ */
.box-banner__overlay span {
	font-size: var(--font-size-xl);
	font-weight: 700;
	color: #FF0000;
	padding: 1rem 2.5rem;
	border: 3px solid #FF0000;
	background-color: #FFFFFF;
	border-radius: 9999px;
	transform: translateY(15px);
	transition: transform 0.3s ease;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* PC（マウスが使えるデバイス）の挙動：ホバーで表示 */
@media (hover: hover) {
	.box-banner--disabled:hover .box-banner__overlay {
		opacity: 1;
	}
	.box-banner--disabled:hover .box-banner__overlay span {
		transform: translateY(0);
	}
}

/* スマホ・タブレット（マウスがないデバイス）の挙動：最初から表示 */
@media (hover: none) {
	.box-banner--disabled .box-banner__overlay {
		opacity: 1;
		background-color: rgba(255, 255, 255, 0.65);
	}
	.box-banner--disabled .box-banner__overlay span {
		transform: translateY(0);
		font-size: var(--font-size-lg);
	}
}

.company-profile {
	margin: 3.75rem 0 0;
	padding: 0;
	border-top: 0.6px solid rgba(0, 0, 0, 0.3);
}

.company-profile__row {
	display: flex;
	align-items: baseline;
	border-bottom: 0.6px solid rgba(0, 0, 0, 0.3);
}

.company-profile__term {
	flex: 0 0 12.5rem;
	padding: 1.5rem 1.5rem 1.5rem 0;
}

.company-profile__desc {
	flex: 1;
	margin: 0;
	padding: 1.5rem 0;
}

.company-profile__term,
.company-profile__desc {
	font-weight: 400;
	font-size: var(--font-size-lg);
	font-style: normal;
	line-height: 1.875rem;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {

	.company-profile__row {
		flex-direction: column;
	}

	.company-profile__term {
		flex: none;
		padding: 1.25rem 0 0.25rem;
		font-size: var(--font-size-sm);
	}

	.company-profile__desc {
		padding: 0 0 1.25rem;
		font-size: var(--font-size-sm);
	}
}

/* Site Tagline
--------------------------------------------- */
.site-tagline {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-tagline__text {
	width: 100%;
	max-width: 76.3125rem;
	margin: 0 0 1.5rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	color: #000000;
	text-align: left;
}

.site-tagline__accent {
	color: #ff0000;
}

.site-tagline__svg {
	display: block;
	width: 100%;
	max-width: 76.3125rem;
	height: auto;
}

/* Site Footer
--------------------------------------------- */
.site-footer {
	position: relative;
	padding-top: clamp(18rem, calc(3.64rem + 27.2vw), 28.125rem);
	background-image: url('images/footer-bg.svg');
	background-repeat: no-repeat;
	background-position: top 5rem center;
	background-size: calc(100% - 5rem) auto;
}

/* Footer Content
--------------------------------------------- */
.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 4rem var(--footer-padding) 3rem;
}

.footer-content__col--brand {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.footer-content__col--brand .site-logo {
	margin-left: 0;
	margin-right: 0;
}

.footer-content__address {
	font-style: normal;
	font-weight: 400;
	font-size: var(--font-size-sm);
	line-height: 1.3125rem;
	letter-spacing: 0.03em;
	color: #000000;
}

.footer-content__col--nav {
	display: flex;
	align-items: flex-start;
	margin-left: 7.5rem;
}

@media screen and (max-width: 62.4375rem) {

	.footer-content {
		flex-direction: column;
		gap: var(--space-lg);
		padding: 3rem 1.5rem;
	}

	.footer-content__col--nav {
		display: none;
	}

	.site-info {
		padding: 0 1.5rem 1.5rem;
	}

	.site-footer {
		padding-top: clamp(6.25rem, 31.25vw, 20rem);
	}
}

/* Site Info
--------------------------------------------- */
.site-info {
	padding: 0 7.5rem 1.5rem;
}

.site-info p {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: 0.5625rem;
	line-height: 0.75rem;
	text-align: right;
	color: #000000;
}

/* Front page tagline */
.site-tagline--front {
	padding: 5rem 7.5rem 0;
	margin-left: -13.4375rem;
	margin-right: -13.4375rem;
}

/* Footer tagline */
.site-tagline--footer {
	padding: 10rem var(--footer-padding) 4rem;
}

.site-tagline--footer .site-tagline__text,
.site-tagline--footer .site-tagline__svg {
	max-width: none;
	width: 100%;
}

@media screen and (max-width: 62.4375rem) {

	.site-tagline--front {
		padding: 3rem 1.5rem 0;
	}

	.site-tagline--footer {
		padding: 3rem 1.5rem;
	}
}

/* Hero GSAP Animation
--------------------------------------------- */
.lottie-background {
	position: fixed;
	top: 5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 90rem;
	height: clamp(15rem, 79.6vw, 71.625rem);
	z-index: -1;
	overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-logo {
    position: relative;
	width: clamp(14rem, 35vw, 25rem);
    height: auto;
}

.hero-main-logo svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible; /* 破片が画面いっぱいに飛び散るために必須 */
}

/* Front Hero
--------------------------------------------- */
.front-hero {
	position: relative;
	height: clamp(15rem, 79.6vw, 71.625rem);
	margin-top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	z-index: 5;
	pointer-events: none;
}

.front-hero__catch {
	margin-bottom: var(--space-md);
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	letter-spacing: 0.05em;
	color: #000000;
}

.front-hero__title {
	font-family: 'Lexend';
	font-style: normal;
	font-size: var(--font-size-hero);
	display: flex;
	align-items: center;
}

.front-hero__title-red {
	color: #FF0000;
}

.front-hero__logo {
	height: 1em;
	width: auto;
	margin: 0 0.125em;
}

.front-hero__scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
}

.front-hero__scroll-text {
	font-size: var(--font-size-xs);
	color: #000000;
}

.front-hero__scroll-line {
	width: 0.125rem;
	height: 2.5rem;
	background-color: #FF0000;
}

@media screen and (max-width: 999px) {

	.lottie-background {
		top: 4rem; /* スマホ・タブレットはヘッダーが4remになるため上端をピッタリ合わせる */
		height: clamp(15rem, 79.6vw, 71.625rem);
	}

	.front-hero {
		/* スマホでもLottieと同じ高さにして中心座標を合わせる */
		height: clamp(15rem, 79.6vw, 71.625rem);
		margin-top: 0;
	}

	.front-hero__scroll svg rect {
		height: 1.25rem !important;
	}
}

/* Front Content Wrapper
--------------------------------------------- */
.front-content-wrapper {
	position: relative;
	z-index: 1;
	padding-top: 20vh;
}

/* Front Message
--------------------------------------------- */
.front-message {
	position: relative;
	z-index: 1;
	padding: 5rem 0;
	text-align: center;
	background-color: transparent;
}

.front-message__title {
	margin: 0 0 2.5rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-3xl);
	line-height: var(--lh-base);
	text-align: center;
	letter-spacing: 0.05em;
	color: #000000;
	text-wrap: balance;
}

.front-message__text {
	margin: 0;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	letter-spacing: 0.03em;
	text-align: center;
	color: #000000;
	text-wrap: pretty;
}

/* VOC Archive
--------------------------------------------- */
.voc-archive {
	margin-top: var(--space-xl);
}

.voc-intro-text {
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-xl);
	line-height: 2.6875rem;
	color: #000000;
	margin-bottom: var(--space-xl);
}

.voc-grid-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	gap: 3.125rem 2.5rem; /* 縦方向 3.125rem, 横方向 2.5rem の余白 */
}

.voc-grid-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	transition: opacity 0.3s ease;
}

.voc-grid-item:hover {
	opacity: 0.7;
}

.voc-grid-item__image {
	width: 100%;
	aspect-ratio: 16 / 9; /* 画像の縦横比を固定 */
	background-color: #f5f5f5; /* 画像がない場合の仮背景 */
	margin-bottom: 1.25rem;
	overflow: hidden;
}

.voc-grid-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.voc-grid-item__logo {
	box-sizing: border-box;
	width: 11.25rem;
	height: 6.25rem;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	margin-top: var(--space-md);
	margin-bottom: var(--space-sm);
}

.voc-grid-item__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.voc-grid-item__post-title {
	margin: 0 0 1.875rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.5625rem;
	color: #000000;
}

.voc-grid-item__sub-title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 1.6875rem;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {
	.voc-grid-list {
		gap: var(--space-lg);
	}

	.voc-grid-item__logo {
		display: none;
	}
}

/* ==========================================
   VOC Single
   ========================================== */

.voc-single__subtitle {
	margin-top: var(--space-2xl);
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-xl);
	line-height: 2.5625rem;
	letter-spacing: 0.05em;
	color: #000000;
}

.voc-single__image {
	margin-top: var(--space-2xl);
}

.voc-single__company-info {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
	margin-top: var(--space-xl);
	margin-bottom: var(--space-lg);
}

.voc-single__logo {
	box-sizing: border-box;
	flex-shrink: 0;
	width: 11.25rem;
	height: 6.25rem;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

.voc-single__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.voc-single__title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-2xl);
	line-height: 2.75rem;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {
	.voc-single__company-info {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-md);
	}
}

.voc-single__body {
	margin-top: 6.25rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	color: #000000;
}

/* VOC Single Related
--------------------------------------------- */
.voc-single__related {
	margin-top: 18.75rem;
}

@media screen and (max-width: 62.4375rem) {

	.voc-single__related {
		margin-top: 4rem;
	}
}

.voc-single__related-heading {
	margin: 0 0 2.5rem;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	color: #000000;
	text-align: center;
}

.voc-single__swiper {
	position: relative;
	padding-bottom: 0;
}

.voc-swiper-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

.voc-swiper-prev,
.voc-swiper-next {
	position: static !important;
	margin: 0 !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.voc-swiper-prev.swiper-button-disabled,
.voc-swiper-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

.voc-swiper-pagination {
	position: static !important;
	width: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin: 0 !important;
}

.voc-swiper-pagination .swiper-pagination-bullet {
	width: 0.625rem;
	height: 0.625rem;
	background: #000000;
	opacity: 0.2;
	border-radius: 50%;
	margin: 0 !important;
	cursor: pointer;
	flex-shrink: 0;
}

.voc-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

/* VOC Card
--------------------------------------------- */
.voc-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	transition: opacity 0.2s ease;
}

.voc-card:hover {
	opacity: 0.7;
}

.voc-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #C6F5F2;
	background-size: cover;
	background-position: center;
}

.voc-card__body {
	padding: 1rem 0 0;
	text-align: left;
}

.voc-card__sub-title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1.6;
	color: #000000;
}

.voc-card__post-title {
	margin: 0.5rem 0 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.5625rem;
	color: #000000;
}

/* ==========================================
   Works Single
   ========================================== */

.works-single__lead {
	margin: 5rem 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-xl);
	line-height: 2.6875rem;
	letter-spacing: 0.05em;
	color: #000000;
}

.works-section--overview {
	position: relative;
	margin-bottom: 12.5rem;
	padding-top: 6.25rem;
}

.works-section--overview::before {
	content: "";
	position: absolute;
	top: 6.25rem; /* .works-single__logo の margin-top に合わせる */

	/* パディング分だけマイナスして画面の右端にピッタリくっつける */
	right: calc(-1 * var(--main-padding));

	/* 1440px時に 38.9375rem(約623px) となり、画面が狭くなると約43.3%の比率で自動縮小する */
	width: clamp(15rem, 43.3vw, 38.9375rem);
	height: auto;
	aspect-ratio: 623 / 649; /* 元のデザインの縦横比を維持 */

	background-image: url('images/overview-works-bg.svg');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
	z-index: -1;
	pointer-events: none;
}

.works-single__title {
	max-width: 32.8125rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-2xl);
	line-height: 2.75rem;
	color: #000000;
	overflow-wrap: break-word;
	text-align: justify;
}

.works-single__overview {
	margin-top: 1.625rem;
	max-width: 32.8125rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	color: #000000;
	overflow-wrap: break-word;
	text-align: justify;
}

.works-single__logo {
	margin: 0 0 3.375rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32.5rem;
	height: 12.5rem;
	background: #FFFFFF;
	border: 1px solid #000000;
}

.works-single__cost-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 2.5rem;
	background: #FF0000;
	border-radius: 9999px;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	text-align: center;
	color: #FFFBFB;
	width: 19.375rem;
	height: 3.875rem;
}

.works-cost-layout {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-lg);
	margin-top: var(--space-md);
}

.works-single__cost-table {
	max-width: 32.8125rem;
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

.works-single__cost-table .cost-row {
	border-bottom: 1px solid #000000;
}

.works-single__cost-table .cost-row__title,
.works-single__cost-table .cost-row__price {
	padding: 1rem 1.5rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 1.6875rem;
	color: #000000;
}

.works-single__cost-table .cost-row__price {
	text-align: right;
	white-space: nowrap;
}

.works-cost-total {
	flex-shrink: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 17.5rem;
	height: 17.5rem;
	background: #FFFFFF;
	border: 1px solid #000000;
}

.works-cost-total__label {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 2.0625rem;
	text-align: center;
	color: #000000;
}

.works-cost-total__amount {
	margin: 0.5rem 0 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-xl);
	line-height: 2.0625rem;
	text-align: center;
	color: #000000;
}

.works-single__concept {
	position: relative;
	margin-top: 31.25rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 2.375rem;
	text-align: center;
	color: #000000;
}

.works-single__concept::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	max-width: 90rem;
	height: 31.25rem;
	background-image: url('images/cost-works-bg.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
	z-index: -1;
}

.concept-item {
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
	padding: 2rem;
	background: #C6F5F2;
}

.feature-item {
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
	padding: 2rem 0;
}

.feature-item__image {
	display: inline-block;
	max-width: 100%;
	border: 1px solid #000000;
	line-height: 0;
}

.feature-item__image img {
	display: block;
	width: auto;
	max-width: 62.5rem;
}

.feature-item__title {
	max-width: 32.8125rem;
	margin: 0;
	padding: 3.4375rem 0 1.875rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	color: #000000;
}

.feature-item__text {
	max-width: 32.8125rem;
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	letter-spacing: 0.1em;
	color: #000000;
	overflow-wrap: break-word;
	text-align: justify;
}

@media screen and (max-width: 62.4375rem) {

	.works-section--overview::before {
		display: none;
	}

	.works-single__logo {
		width: 100%;
		height: auto;
		min-height: 6rem;
		padding: 0.75rem 0;
	}

	.works-single__cost-title {
		width: 100%;
		height: auto;
		padding: 0.75rem 1.5rem;
	}

	.works-cost-layout {
		flex-direction: column;
		gap: var(--space-md);
	}

	.works-single__cost-table {
		max-width: 100%;
	}

	.works-cost-total {
		width: 100%;
		height: auto;
		padding: 2rem;
	}

	.works-single__concept {
		margin-top: 3rem;
	}

	.works-single__concept::before {
		display: none;
	}

	.feature-item__image img {
		width: 100%;
		max-width: 100%;
	}
}

/* ==========================================
   News Single
   ========================================== */

/* ヒーローエリア */
.news-single__hero {
	position: relative;
	max-width: 62.5rem;
	margin: 3.75rem auto 0;
	min-height: 26.25rem;
	background-color: #C6F5F2;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* カテゴリラベル（赤い直角三角形）親要素 */
.news-single__category-label {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 12rem;
	height: 12rem;
	background-color: #FF0000;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 10;
	pointer-events: none;
}

/* 子要素：文字を斜辺の中央に配置する */
.news-single__category-label-text {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150%;
	/* 192pxのサイズに合わせて、translateYの数値を調整しています */
	transform: translate(-50%, -50%) rotate(-45deg) translateY(-1.625rem);
	text-align: center;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 1.25rem;
	color: #FFFFFF;
}

.news-single__hero-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 2rem;
}

.news-single__date {
	margin: 0 0 0.5rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: 2rem;
	text-align: center;
	color: #000000;
}

.news-single__title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-3xl);
	line-height: 3.125rem;
	text-align: center;
	letter-spacing: 0.05em;
	color: #000000;
}

/* 本文エリア */
.news-single__content {
	max-width: 62.5rem;
	margin: 3.75rem auto 0;
}

/* 他のニュースエリア */
.news-single__related {
	margin-top: 18.75rem;
}

.news-single__related-heading {
	margin: 0 0 2.5rem;
	font-style: SemiBold;
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-3xl);
	line-height: 3.125rem;
	color: #000000;
	text-align: center;
}

/* Swiper カルーセル */
.news-single__swiper {
	position: relative;
	padding-bottom: 0;
}

/* ナビバー全体: 中央にまとめる */
.news-swiper-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md); /* 矢印とドットの間隔 */
	margin-top: var(--space-lg);
}

/* 矢印のデフォルトCSS（絶対配置や位置）をリセットして通常配置にする */
.news-single__swiper .swiper-button-prev,
.news-single__swiper .swiper-button-next,
.news-swiper-prev,
.news-swiper-next {
	position: static !important; /* 重要：絶対配置を解除 */
	margin: 0 !important;        /* 重要：デフォルトのマージンを解除 */
	left: auto !important;
	right: auto !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
	height: auto !important;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* 矢印が無効なときの透明度 */
.news-swiper-prev.swiper-button-disabled,
.news-swiper-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

/* ページネーション（ドット）のラッパー */
/* デフォルトの絶対配置・幅100%を確実に打ち消す */
.news-swiper-bar .swiper-pagination,
.news-swiper-pagination {
	position: static !important;
	width: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm); /* ドット同士の間隔 */
	margin: 0 !important;
}

/* ドット自体のデザイン */
.news-swiper-bar .swiper-pagination-bullet {
	width: 0.625rem;
	height: 0.625rem;
	background: #000000;
	opacity: 0.2;
	border-radius: 50%;
	margin: 0 !important; /* デフォルトマージンを解除 */
	cursor: pointer;
	flex-shrink: 0;
}

/* アクティブなドット */
.news-swiper-bar .swiper-pagination-bullet-active {
	opacity: 1;
}

/* ニュースカード */
.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	max-width: 23.75rem;
	min-height: 15rem;
	background-color: #C6F5F2;
	background-size: cover;
	background-position: center;
	transition: opacity 0.2s ease;
}

.news-card:hover {
	opacity: 0.7;
}

/* カテゴリラベル（hero と同じ赤い直角三角形） */
.news-card__category {
	position: absolute;
	top: 0;
	left: 0;
	width: 7.875rem;
	height: 7.875rem;
	background-color: #FF0000;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 10;
	pointer-events: none;
}

.news-card__category-text {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150%;
	transform: translate(-50%, -50%) rotate(-45deg) translateY(-1rem);
	text-align: center;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1.25rem;
	color: #FFFFFF;
}

.news-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 1.5rem 1rem;
}

.news-card__date {
	margin: 0 0 0.375rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: var(--lh-base);
	text-align: center;
	color: #000000;
}

.news-card__title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.6;
	text-align: center;
	letter-spacing: 0.05em;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {
	.news-single__hero {
		min-height: 16.25rem;
	}
}

@media screen and (max-width: 62.4375rem) {
	.news-single__category-label {
		width: 7.875rem;
		height: 7.875rem;
	}

	.news-single__category-label-text {
		transform: translate(-50%, -50%) rotate(-45deg) translateY(-0.8rem);
	}
}

/* ==========================================
   Challenge Page
   ========================================== */

.challenge-section--hero {
	position: relative;
	margin-top: var(--space-xl);
}

.challenge-hero__category-label {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 10.25rem;
	height: 10.25rem;
	background-color: #FF0000;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	z-index: 10;
	pointer-events: none;
}

.challenge-hero__category-label-text {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150%;
	transform: translate(-50%, -50%) rotate(-45deg) translateY(-1.625rem);
	text-align: center;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1.25rem;
	color: #FFFFFF;
}

.challenge-hero__image img {
	display: block;
	width: 100%;
	height: auto;
}

.challenge-hero__image {
	position: relative;
}

.challenge-hero__overlay {
	position: absolute;
	bottom: 12%;
	left: 0;
	width: 100%;
	text-align: center;
	color: #FFFFFF;
	padding: 0 1.5rem;
	z-index: 2;
}

.challenge-hero__overlay-main {
	font-size: var(--font-size-3xl);
	font-weight: 600;
	margin: 0 0 1rem;
	line-height: var(--lh-tight);
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.challenge-hero__overlay-sub {
	font-size: var(--font-size-xl);
	font-weight: 500;
	margin: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Challenge Sections (共通)
--------------------------------------------- */
.challenge-section {
	margin-top: var(--space-3xl);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.challenge-section__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20rem;
	height: 3.875rem;
	background-color: #FF0000;
	border-radius: 9999px;
	font-style: normal;
	font-weight: 400;
	font-size: var(--font-size-xl);
	line-height: 3.125rem;
	text-align: center;
	letter-spacing: 0.05em;
	color: #FFFBFB;
}

.challenge-section__title {
	margin: 3rem 0 0;
	font-style: normal;
	font-weight: 400;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	letter-spacing: -0.03em;
	text-align: center;
	color: #000000;
}

.challenge-section__text {
	margin-top: var(--space-md);
	width: 36.25rem;
	max-width: 100%;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 2.0625rem;
	letter-spacing: 0.015em;
	text-align: center;
	color: #000000;
}

/* Challenge Race Report Swiper
--------------------------------------------- */
.challenge-race-swiper {
	width: 100%;
	min-width: 0;
	margin-top: 3rem;
}

.challenge-race-swiper-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

.challenge-race-prev,
.challenge-race-next {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: none;
	border: none;
	padding: 0;
}

.challenge-race-prev.swiper-button-disabled,
.challenge-race-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

.challenge-race-pagination {
	position: static !important;
	width: auto !important;
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	margin: 0 !important;
}

.challenge-race-pagination .swiper-pagination-bullet {
	width: 0.625rem;
	height: 0.625rem;
	background: #000000;
	opacity: 0.2;
	border-radius: 50%;
	margin: 0 !important;
	cursor: pointer;
	flex-shrink: 0;
}

.challenge-race-pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

/* Race Report Card
--------------------------------------------- */
.race-report-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	transition: opacity 0.2s ease;
}

.race-report-card:hover {
	opacity: 0.7;
}

.race-report-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #C6F5F2;
	background-size: cover;
	background-position: center;
}

.race-report-card__body {
	padding: 1rem 0 0;
	text-align: left;
}

.race-report-card__date {
	margin: 0 0 0.5rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: var(--lh-base);
	color: #000000;
}

.race-report-card__title {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #000000;
}

.race-report-card__category {
	display: inline-block;
	margin: 0.5rem 0 0;
	padding: 0.625rem;
	min-width: 6.25rem;
	background-color: #FF0000;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	color: #FFFFFF;
}

.race-report-card__excerpt {
	margin: 1.5rem 0 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-sm);
	line-height: 1.6;
	color: #555555;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #000000;
}

/* Challenge Gallery
--------------------------------------------- */
.challenge-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-sm);
	margin-top: 3rem;
}

.challenge-gallery__item {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.challenge-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.challenge-gallery__item--placeholder {
	background-color: #C6F5F2;
}

@media screen and (max-width: 62.4375rem) {
	.challenge-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}



/* ==========================================
   Front Page Sections
   ========================================== */

.front-section {
	margin-top: var(--space-section);
}

.front-section--works,
.front-section--contact {
	background-color: #C6F5F2;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	padding: 10rem 13.4375rem;
	box-sizing: border-box;
}

.front-section--contact .bottom-nav-area {
	background-color: transparent;
	margin: 3.75rem 0 0 0;
	padding: 0;
	width: auto;
}

.front-section--works .works-item__body {
	padding: 1.25rem;
	justify-content: center;
	align-items: center;
	color: #FFFFFF;
}

.front-section--works .works-item__title {
	font-weight: 300;
	font-style: normal;
	font-size: var(--font-size-lg);
	line-height: 1.75rem;
	text-align: center;
}

.front-section--works .works-item__summary {
	margin: 0.375rem 0;
	font-weight: 300;
	font-style: normal;
	font-size: var(--font-size-base);
	line-height: 1.5rem;
	text-align: center;
}

/* Front Section Header
--------------------------------------------- */
.front-section-header {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.front-section-header__top {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	position: relative;
}

.front-section-header__top::before {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 4.125rem;
	height: 4.125rem;
	background-image: url('images/page-header-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.front-section-header__sub {
	font-style: normal;
	font-weight: 600;
	font-size: var(--font-size-3xl);
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #000000;
	align-self: flex-start;
	margin-top: 0;
}

.front-section-title {
	margin: 0.25em 0 0;
	font-family: 'Lexend';
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-hero);
	line-height: 3.125rem;
	letter-spacing: 0.05em;
	color: #000000;
}

@media screen and (max-width: 62.4375rem) {

	.front-section-title {
		line-height: var(--lh-tight);
	}
}

.front-section-header--centered {
	align-items: center;
}

.front-section-header--centered .front-section-title {
	margin: 0;
}

.front-section--news .news-single__swiper {
	margin-top: 2.625rem;
}

/* Front Business Layout
--------------------------------------------- */
.front-business-layout {
	display: flex;
	flex-direction: column;
	max-width: 62.5rem;
	margin: 5rem auto 0;
}

.front-business-box {
	max-width: 26.875rem;
	max-height: 18.75rem;
	text-decoration: none;
	color: #ffffff;
	transition: opacity 0.2s ease;
}

.front-business-box:hover {
	opacity: 0.8;
}

.front-business-box:nth-child(odd) {
	align-self: flex-start;
}

.front-business-box:nth-child(even) {
	align-self: flex-end;
}

.front-business-box:nth-child(2) {
	margin-top: 0.3125rem;
}

.front-business-box:nth-child(3) {
	margin-top: 0.3125rem;
}

.front-business-box__image img {
	width: 100%;
	height: auto;
	display: block;
}

.front-business-box__text {
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	padding: 1.5rem;
	font-weight: 600;
	font-size: var(--font-size-xl);
}

@media screen and (max-width: 62.4375rem) {
	.front-business-layout {
		gap: var(--space-lg);
	}

	.front-business-box {
		max-width: 100%;
		max-height: none;
		align-self: stretch;
	}

	.front-business-box:nth-child(n+2),
	.front-business-box:nth-child(2),
	.front-business-box:nth-child(3) {
		margin-top: 0 !important;
	}
}

/* Front More Button
--------------------------------------------- */
.front-more-btn-wrapper {
	display: flex;
	justify-content: center;
	margin-top: var(--space-xl);
}

.front-more-btn-wrapper--right {
	justify-content: flex-end;
}

.btn-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18.75rem;
	height: 3.75rem;
	background-color: #FF0000;
	color: #FFFFFF;
	border-radius: 9999px;
	font-weight: 400;
	font-style: SemiBold;
	font-size: var(--font-size-2xl);
	line-height: 3.125rem;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.btn-more:hover {
	opacity: 0.8;
	color: #FFFFFF;
}

.btn-more:visited,
.btn-more:focus,
.btn-more:active {
	color: #FFFFFF;
}

/* Front VOC List
--------------------------------------------- */
.front-voc-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: var(--space-lg);
	margin-top: var(--space-xl);
}

.front-voc-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000000;
	transition: opacity 0.2s ease;
}

.front-voc-item:hover {
	opacity: 0.7;
}

.front-voc-item__logo {
	width: 100%;
	max-width: 22.5rem;
	aspect-ratio: 360 / 200;
	box-sizing: border-box;
	background-color: #FFFFFF;
	border: 1px solid #000000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	overflow: hidden;
}

.front-voc-item__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.front-voc-item__title {
	margin: 1.5rem 0 1rem;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-xl);
	line-height: 1.4;
	color: #000000;
}

.front-voc-item__text {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.6;
	color: #000000;
	max-width: 22.5rem;
}

/* Front Challenge Content
--------------------------------------------- */
.front-challenge-content {
	margin-top: var(--space-xl);
}

.front-challenge__image {
	width: 100%;
	aspect-ratio: 16 / 7;
	background-color: #C6F5F2;
	overflow: hidden;
}

.front-challenge__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.front-challenge__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-lg);
	margin-top: var(--space-lg);
}

.front-challenge__text-area {
	max-width: 35rem;
	align-self: flex-start;
}

.front-challenge__body .btn-more {
	align-self: flex-end;
}

.front-challenge__title {
	margin: 0 0 2.5rem;
	font-style: normal;
	font-weight: 400;
	font-size: var(--font-size-2xl);
	line-height: var(--lh-base);
	color: #000000;
}

.front-challenge__text {
	margin: 0;
	font-style: normal;
	font-weight: 300;
	font-size: var(--font-size-lg);
	line-height: var(--lh-loose);
	color: #000000;
	text-align: justify;
	text-justify: inter-ideographic;
}

@media screen and (max-width: 62.4375rem) {

	.front-challenge__body {
		gap: var(--space-md);
		margin-top: var(--space-md);
	}

	.front-challenge__body .btn-more {
		align-self: center;
	}
}

@media screen and (max-width: 62.4375rem) {

	.front-section--works,
	.front-section--contact {
		padding: 3.75rem 1.5rem;
	}

	.front-section--contact .bottom-nav-area {
		margin-top: var(--space-lg);
		padding: 0;
	}
}

@media screen and (max-width: 62.4375rem) {
	.front-voc-list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 62.4375rem) {

	/* 改行の非表示ユーティリティ */
	.u-hidden-sm {
		display: none !important;
	}

	/* front-section の余白削減 */
	.front-section {
		margin-top: 4rem;
	}

	/* front-message の padding 削減 */
	.front-message {
		padding: 2.5rem 0;
	}

	/* front-more-btn-wrapper--right を中央揃えに */
	.front-more-btn-wrapper--right {
		justify-content: center;
	}

	/* MOREボタンのサイズを統一 */
	.btn-more {
		width: 18.75rem;
	}

	/* works-list, works-swiper の上余白削減・全幅解除 */
	.works-list,
	.works-swiper {
		margin-top: 3rem;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	/* カードの巨大化防止 */
	.works-item {
		max-width: 24rem;
		margin: 0 auto;
	}

	.works-item__image {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.works-item__body {
		padding: 1.5rem;
	}

	/* Swiperナビゲーションバー・MOREボタンの余白削減 */
	.works-swiper-bar {
		margin-top: var(--space-md);
	}

	.front-section--works .front-more-btn-wrapper {
		margin-top: 2rem;
	}

	/* business-section の上余白削減 */
	.business-section {
		margin-top: 3rem;
	}

	/* bottom-nav-area の上余白削減 */
	.bottom-nav-area {
		margin-top: 4rem;
	}
}
--------------------------------------------- */

/* テーブル全体: company-profile 同様に flex 行 + 区切り線のみ */
.table-contactform7 {
	width: 100%;
	border-collapse: collapse;
	border-top: 0.6px solid rgba(0, 0, 0, 0.3);
	margin-top: var(--space-xl);
}

.table-contactform7 tr {
	display: flex;
	align-items: baseline;
	border-bottom: 0.6px solid rgba(0, 0, 0, 0.3);
}

.table-contactform7 th,
.table-contactform7 td {
	padding: 1.5rem 0;
	border: none;
	background: none;
	font-weight: 300;
	font-size: var(--font-size-base);
	line-height: 1.875rem;
	color: #000000;
	text-align: left;
	vertical-align: baseline;
}

.table-contactform7 th {
	flex: 0 0 12.5rem;
	padding-right: 1.5rem;
	font-weight: 400;
	align-self: center;
}

.table-contactform7 td {
	flex: 1;
}

.required-contactform7 {
	display: inline-block;
	background-color: #FF0000;
	color: #FFFFFF;
	font-size: var(--font-size-xs);
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	margin-right: 0.75rem;
	line-height: 1;
}

.table-contactform7 input[type="text"],
.table-contactform7 input[type="email"],
.table-contactform7 textarea {
	width: 100%;
	padding: 1rem;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	font-size: var(--font-size-base);
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.table-contactform7 input[type="text"]:focus,
.table-contactform7 input[type="email"]:focus,
.table-contactform7 textarea:focus {
	border-color: #000000;
	outline: none;
}

.table-contactform7 textarea {
	height: 12.5rem;
	resize: vertical;
}

.text-xs-center {
	text-align: center;
	margin-top: var(--space-lg);
}

.btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18.75rem;
	height: 3.75rem;
	background-color: #FF0000;
	color: #FFFFFF;
	border: none;
	border-radius: 9999px;
	font-weight: 600;
	font-size: var(--font-size-base);
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.btn-submit:hover {
	opacity: 0.8;
}

@media screen and (max-width: 62.4375rem) {
	/* 1000px未満ではボタンのみ幅100%にし、フォーム自体は1段組（横並び）を維持する */
	.btn-submit {
		width: 100%;
	}
}

/* スマホ向け（767px以下）：フォームを2段組にし、左寄せ＆幅100%にする */
@media screen and (max-width: 47.9375em) {
	.table-contactform7 tr {
		flex-direction: column;
		align-items: stretch; /* 幅を100%に広げるためのベース設定 */
	}

	.table-contactform7 th {
		flex: none;
		align-self: flex-start; /* PC時の中央揃えを解除し、左寄せにする */
		width: 100%;
		padding: 1.25rem 0 0.25rem;
		font-size: var(--font-size-sm);
	}

	.table-contactform7 td {
		width: 100%; /* 入力フォームのエリアを100%に広げる */
		padding: 0 0 1.25rem;
		font-size: var(--font-size-sm);
	}
}

/* 折り返し制御ユーティリティ */
.nowrap {
    white-space: nowrap;
}

@media screen and (max-width: 62.4375rem) {
	/* 1000px未満：最大2カラムを維持し、幅が足りなくなったら1カラムに落とす */
	.business-section__cases-grid {
		/* 50% から隙間の半分を引いた幅を最小値にすることで、絶対に3列以上にならないようにする */
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
		gap: 1.5rem;
	}
}

/* =========================================================
   Works List の Swiper と Grid の競合解消・高さ揃え
========================================================= */

/* 【全デバイス共通】スライド（カード）の高さを揃える */
.works-list.swiper-wrapper,
.works-swiper .swiper-wrapper {
	align-items: stretch !important; /* コンテナ内で一番高いスライドに合わせる */
	justify-content: flex-start !important; /* ★中央寄せを解除し、Swiperの計算バグを直す */
}

.archive-works-swiper .swiper-slide,
.works-swiper .swiper-slide {
	height: auto !important; /* Swiper独自の高さを無効化 */
	display: flex;
}

.works-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%; /* 親（スライド）の高さに追従 */
}

.works-item__body {
	flex-grow: 1; /* 余白をテキストエリアで埋めて底辺を揃える */
}

/* 【PC向け：1000px以上】Swiperを有効にし、ネガティブマージンを適用する */
@media screen and (min-width: 62.5em) {
	.archive-works-swiper,
	.works-swiper {
		position: relative !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100vw !important;
		max-width: 75rem !important;
		overflow: hidden !important;
	}

	.site-main .works-list,
	.site-main .works-swiper .swiper-wrapper {
		display: flex !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.works-item__image {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 400 / 550; /* 元のデザインの縦横比を維持 */
	}

	/* Worksページ専用の上余白 */
	.site-main .works-list {
		margin-top: 14.6875rem;
	}
}

/* 【モバイル向け：1000px未満】Swiperを有効化し、適切な幅と余白に戻す */
@media screen and (max-width: 62.4375rem) {
	.site-main .works-list,
	.works-swiper .swiper-wrapper {
		display: flex !important; /* Gridを解除してSwiperを動かす */
		margin-top: 3rem;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
}
