@charset "UTF-8";
/*========================*/

/* Component */

/*========================*/
/*========================
SVG */
/* arrow */
.arrow {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
}
.arrow-ac {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3px;
}
/* exlink */
.exlink {
    fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2px;
}

/*========================
hoerスタイル */
/* タッチデバイスでタップ時にhover.jsによりis-hoverクラスを付与するオブジェクトから、タップ時のハイライトを非表示にする */
@media (any-hover: none) {
	.is-hover,
	.tap-highlight-white.is-hover {
		cursor: pointer;

		-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	}
}
/* ------------------------
hover時の共通アニメーション */
/* arrow */
@-webkit-keyframes hover-arrow {
	0% {
		-webkit-transform: translateX(0);
		        transform: translateX(0);
		opacity: 1;
	}
	50% {
		-webkit-transform: translateX(100%);
		        transform: translateX(100%);
		opacity: 0;
	}
	51% {
		-webkit-transform: translateX(-100%);
		        transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0);
		        transform: translateX(0);
		opacity: 1;
	}
}
@keyframes hover-arrow {
	0% {
		-webkit-transform: translateX(0);
		        transform: translateX(0);
		opacity: 1;
	}
	50% {
		-webkit-transform: translateX(100%);
		        transform: translateX(100%);
		opacity: 0;
	}
	51% {
		-webkit-transform: translateX(-100%);
		        transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0);
		        transform: translateX(0);
		opacity: 1;
	}
}
@-webkit-keyframes hover-arrow-back {
	0% {
		-webkit-transform: scaleX(-1) translateX(0);
		        transform: scaleX(-1) translateX(0);
		opacity: 1;
	}
	50% {
		-webkit-transform: scaleX(-1) translateX(100%);
		        transform: scaleX(-1) translateX(100%);
		opacity: 0;
	}
	51% {
		-webkit-transform: scaleX(-1) translateX(-100%);
		        transform: scaleX(-1) translateX(-100%);
		opacity: 0;
	}
	100% {
		-webkit-transform: scaleX(-1) translateX(0);
		        transform: scaleX(-1) translateX(0);
		opacity: 1;
	}
}
@keyframes hover-arrow-back {
	0% {
		-webkit-transform: scaleX(-1) translateX(0);
		        transform: scaleX(-1) translateX(0);
		opacity: 1;
	}
	50% {
		-webkit-transform: scaleX(-1) translateX(100%);
		        transform: scaleX(-1) translateX(100%);
		opacity: 0;
	}
	51% {
		-webkit-transform: scaleX(-1) translateX(-100%);
		        transform: scaleX(-1) translateX(-100%);
		opacity: 0;
	}
	100% {
		-webkit-transform: scaleX(-1) translateX(0);
		        transform: scaleX(-1) translateX(0);
		opacity: 1;
	}
}


/* ====================
/* ------------------
テキスト */
.txt {
	font-size: var(--txt-reg);
	font-weight: normal;
	letter-spacing: .06em;
	line-height: 2;
	text-align: justify;
}
/* ------------------
リード */
.lead {
	font-size: var(--txt-xxl);
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.5;
	text-align: justify;
}
.lead--center {
	text-align: center;
}
/* ------------------
見出し */
.headline__container {
	width: var(--flexible-width);
	margin-inline: auto;
}
.headline {
	overflow: hidden;
}
.headline--en {
	font-family: var(--alphabet);
	/* min: 25px, max: 45px */
	font-size: clamp(1.563rem, calc(1.063rem + 2.5vw), 2.813rem);
	font-weight: 800;
	letter-spacing: normal;
	line-height: 1.15;
	color: var(--color-main);
}
.headline--jp,
.headline__lg--jp{
	font-size: var(--txt-md);
	font-weight: 700;
	color: var(--color-bk);
	line-height: 1.25;
}
.headline--center {
	text-align: center;
}
.headline--reverse > [class*="headline--"] {
	color: var(--color-white);
}
/* ---------------
特大の見出し */
.headline__lg .headline__lg--en {
	font-family: var(--alphabet);
	font-weight: 800;
	letter-spacing: normal;
	line-height: 1;
	color: var(--color-main);

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: baseline;
	    -ms-flex-align: baseline;
	        align-items: baseline;
	-webkit-column-gap: 1.5em;
	   -moz-column-gap: 1.5em;
	        column-gap: 1.5em;
}
.headline__lg .headline__lg--en span:first-child {
	/* min: 40px, max: 100px */
	font-size: clamp(2.5rem, calc(1rem + 7.5vw), 6.25rem);
	color: var(--color-main);
}
.headline__lg .headline__lg--en span:last-child {
	font-size: var(--txt-5x);
	color: var(--color-accent);
}
/* ------------------
小見出し */
/* .subhead {
	font-size: var(--txt-md);
	line-height: 1.35;
	color: var(--color-main);
} */
/* ------------------
テキストリンク */
.txt--link {
	color: var(--color-link);
	text-decoration: underline;
}
@media (any-hover: hover) {
	.txt--link {
		-webkit-transition: color .2s ease-in-out;
		transition: color .2s ease-in-out;
	}
	.txt--link:hover,
	.txt--link:focus-visible {
		color: var(--color-link--hover);
	}
}


/* ====================
ボタン */
.button__container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.button {
	font-size: var(--txt-reg);
	line-height: 1.1;
	color: var(--color-white);
	text-align: center;

	display: -webkit-inline-box;

	display: -ms-inline-flexbox;

	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	gap: 0 var(--button-gup);

	width: calc(448rem / 16);
	max-width: 100%;
	min-height: calc(60rem / 16);
	padding-block: 0.5em;
	padding-inline: calc(var(--button-gup) + var(--button-gup) + var(--button-arrow-size));

	border: 2px solid var(--color-main);
	border-radius: 8px;
	background-color: var(--color-main);

	--button-arrow-size: 1em;
	--button-gup: min(2.5vw, 1em);

	position: relative;
}
.button .exlink,
.button .arrow {
	width: var(--button-arrow-size);
	height: var(--button-arrow-size);

	position: absolute;
	right: var(--button-gup);
}
.button__color--reverse {
	background-color: var(--color-white);
	color: var(--color-main);
}
@media(any-hover: hover) {
	.button {
		-webkit-transition: background-color .2s  var(--easeInQuad),
		border-color .2s  var(--easeInQuad),
		color .2s var(--easeInSine);
		transition: background-color .2s  var(--easeInQuad),
		border-color .2s  var(--easeInQuad),
		color .2s var(--easeInSine);
	}
	.button:not(:is(.button__color--reverse)):hover,
	.button:not(:is(.button__color--reverse)):focus-visible {
		border-color: var(--color-main-soft);
		background-color: transparent;
		color: var(--color-main);
	}
	.button__color--reverse:hover,
	.button__color--reverse:focus-visible {
		background-color: transparent;
		color: var(--color-white);
		border-color: var(--color-white);
	}
	.button:hover .arrow,
	.button:focus-visible .arrow {
		-webkit-animation-name: hover-arrow;
		        animation-name: hover-arrow;
		-webkit-animation-timing-function: var(--easeInExpo);
		        animation-timing-function: var(--easeInExpo);
		-webkit-animation-duration: .4s;
		        animation-duration: .4s;
		-webkit-animation-delay: .03s;
		        animation-delay: .03s;
		-webkit-animation-fill-mode: both;
		        animation-fill-mode: both;
	}
}
/* ------------------------
シングルページ / フッターボタン */
.button.back-to-index {
	background-color: var(--color-main-soft);
	border-color: var(--color-main-soft);
}
.button.back-to-index .arrow {
	left: var(--button-gup);
	right: auto;
	-webkit-transform: scaleX(-1);
	        transform: scaleX(-1);
}
@media (any-hover: hover) {
	.button.back-to-index:hover .arrow ,
	.button.back-to-index:focus-visible .arrow {
		-webkit-animation-name: hover-arrow-back;
		        animation-name: hover-arrow-back;
	}
}


/* ====================
下層イメージ */
#lower-hero {
	display: grid;

	height: max(
		560px,
		35vw
	);

	background-color: var(--color-main-thinner);
	background-repeat: no-repeat;
	background-size: cover;

	place-items: center;
}
body:is(#privacy,#download,.post-type-archive-case,.post-type-archive-news,.tax-case-category,.tax-news-category) #lower-hero {
	height: max(
		460px,
		28.7vw
	);
	background-color: var(--color-main);
}
@media (max-width: 959px) {
	#lower-hero {
		height: max(
			336px,
			35vw
		);
		margin-top: var(--header-height);
	}
	body:is(#privacy,#download,.post-type-archive-case,.post-type-archive-news,.tax-case-category,.tax-news-category) #lower-hero {
		height: max(
			224px,
			28.7vw
		);
	}
}
/* 個別指定 */
.post-type-archive-products #lower-hero {
	background-image: url(../../images/common/products.png);
	background-position: center center;
}
#company #lower-hero {
	background-image: url(../../images/common/company.png);
	background-position: center center;
}
#recruit #lower-hero {
	background-image: url(../../images/common/recruit.png);
	background-position: center center;
}
/* ページネーム */
.page-name {
	color: var(--color-white);
	text-align: center;

	margin-top: calc(var(--header-height) / 1.5);
	margin-inline: var(--gutter-var-8x);
}
.page-name__alphabet {
	font-family: var(--alphabet);
	font-weight: 800;
	/* min: 20px, max: 35px */
	font-size: var(--txt-xxl);
	text-transform: uppercase;
	line-height: 1.1;
}
.page-name__jp {
	font-weight: 700;
	font-size: var(--txt-md);
	letter-spacing: 0.2em;
	line-height: 1.25;
	margin-top: 0.5em;
}
body:not(:is(#privacy,#download,.post-type-archive-case,.post-type-archive-news,.tax-case-category,.tax-news-category)) .page-name {
	text-shadow: 0px 0px 20px rgba(17, 46, 92, 0.7);
}
body:is(#company) .page-name {
	text-shadow: 0px 0px 20px rgba(17, 46, 92, 0.3);
}
/* サファリ対応 */
_::-webkit-full-page-media, _:future, :root body:not(:is(#privacy,#download,.post-type-archive-case,.post-type-archive-news,.tax-case-category,.tax-news-category)) .page-name {
	text-shadow: none;
	-webkit-filter: drop-shadow(0px 0px 20px rgba(17, 46, 92, 0.7));
	filter: drop-shadow(0px 0px 20px rgba(17, 46, 92, 0.7));
}
_::-webkit-full-page-media, _:future, :root body:is(#company) .page-name {
	text-shadow: none;
	-webkit-filter: drop-shadow(0px 0px 20px rgba(17, 46, 92, 0.7));
	filter: drop-shadow(0px 0px 20px rgba(17, 46, 92, 0.7));
}


/* ====================
PHPのindex.php用 */
.php-index__headline {
	font-size: var(--txt-md);
	font-weight: 700;
}
.php-index__headline::before {
	content: "";
	display: block;
	padding-top: var(--header-height);
}
.php-index__lead {
	margin-block: 1.5em;
}
.php-index__item {
	color: var(--color-link);

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.php-index__item::before {
	content: "・";
}
.php-index__item + .php-index__item {
	margin-top: 0.5em;
}
.php-index__item a {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
.php-index__item a[target="_blank"]::after {
    content: "";
    display: inline-block;
	line-height: 1;
    vertical-align: middle;
    margin-left: 0.3em;

	width: 0.7em;
	height: 0.7em;

	background-color: var(--color-link);

	-webkit-mask-image: url(../../svg/icon_exlink.svg);
	        mask-image: url(../../svg/icon_exlink.svg);
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-size: cover;
	        mask-size: cover;
}
@media (any-hover: hover) {
	.php-index__item a,
	.php-index__item a[target="_blank"]::after {
		-webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out;
		transition: color .2s ease-in-out, background-color .2s ease-in-out;
	}
	.php-index__item a:hover,
	.php-index__item a:focus-visible {
		color: var(--color-link--hover);
	}
	.php-index__item a:hover[target="_blank"]::after,
	.php-index__item a:focus-visible[target="_blank"]::after {
		background-color: var(--color-link--hover);
	}
}