@charset "UTF-8";

/* ===========================================
	View Transitions API - ページ遷移アニメーション
=========================================== */
@view-transition {
	navigation: auto;
}

/* アニメーション速度とイージング */
::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.3s;
	animation-timing-function: ease-in-out;
}

/* 古いビューのフェードアウト */
::view-transition-old(root) {
	animation-name: fade-out;
}

/* 新しいビューのフェードイン */
::view-transition-new(root) {
	animation-name: fade-in; 
}

@keyframes	fade-out {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@keyframes	fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* アクセシビリティ: motion を無効にしている場合 */
@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 0.01s;
	}
}

/* カスタムスタイル（UIkit LP拡張） note
uk-visible@s	Only affects device widths of 640px and larger.
uk-visible@m	Only affects device widths of 960px and larger.
uk-visible@l	Only affects device widths of 1200px and larger.
uk-visible@xl	Only affects device widths of 1600px and larger.
*/
/* ===========================================
	1. 基本設定・リセット @charset, :root, *, html, body, figure...
=========================================== */
:root {
	--inner-height_head: calc(60px + 1.25em);
}

*,
::after,
::before {
	box-sizing: border-box;
	font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);
}
/* h1{font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);}
h2{font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);}
h3{font-size: clamp(1.5em, 0.75em + 2vw, 2.25em)}
h4{font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);}
h5{font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);}
h6{font-size: clamp(0.938rem, 0.875rem + 0.17vw, 1rem);} */

html {
	scroll-behavior: smooth;
	box-sizing: border-box;
}

figure {
	display: block;
	margin: 0;

	img {
		width: auto;
		height: auto;
		object-fit: contain;
	}
}

main {
	td,
	dd,
	dt,
	p,
	em,
	strong,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	* {
		text-align: justify;
		font-feature-settings: "palt";
	}
	h2, .uk-h2{
		font-size: clamp(24px, 0.667rem + 2.22vw, 2rem);
	}
	span,
	em{
		font-size: inherit;
	}
}

/* ___ フォーカス可能な見出し（タブ移動用） */
h2[tabindex="-1"]:focus {
	outline: none;
}

.uk-navbar-container {
	background: var(--uk-background);
}

.uk-navbar-sticky {
	box-shadow: var(--shadow-depth-1);
}

.uk-logo {
	font-weight: bold;
}

.none-shadow .uk-card-default {
	box-shadow: none;
}

.uk-tile-secondary_add {
	--uk-inverse: dark;
	background-color: gray;
}



/* ===========================================
		2. CSS変数・@property @property, ロゴ色
		=========================================== */
@property --logo-green {
	syntax: '<color>';
	inherits: true;
	initial-value: #228C50;
}

@property --logo-orange {
	syntax: '<color>';
	inherits: true;
	initial-value: #FC6021;
}

@property --logo-navy {
	syntax: '<color>';
	inherits: true;
	initial-value: #14263A;
}

/* ___ ロゴ色指定 */
.growloop-logo {
	--logo-green: #228C50;
	--logo-orange: var(--uk-danger);
	--logo-navy: #14263A;
}

/* ___ テーマ切り替え例 */
.growloop-logo.monochrome {
	--logo-green: #fff;
	--logo-orange: #fff;
	--logo-navy: #dfdfdf;
}

footer .growloop-logo {
	--logo-green: var(--uk-mark-bg);
	--logo-orange: var(--uk-mark-bg);
	--logo-navy: var(--uk-mark-bg);
}

.logo-green {
	fill: var(--logo-green);
}

.logo-orange {
	fill: var(--logo-orange);
}

.logo-navy {
	fill: var(--logo-navy);
}

/* ===========================================
		3. アクセシビリティ・ユーティリティ .skip-link, .visually-hidden, :focus-visible 
		=========================================== */
/* ___ スキップリンク（アクセシビリティ） */
.skip-link {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--uk-primary);
	color: var(--uk-background);
	padding: 12px 24px;
	text-decoration: none;
	font-weight: bold;
	z-index: 10000;
	border-radius: 0 0 8px 8px;
	transition: top var(--transition-speed) ease;
}

.skip-link:focus {
	top: 0;
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

/* ___ スクリーンリーダー専用（視覚的に非表示） */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ___ フォーカススタイル（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}

/* ===========================================
		4. レイアウト（ページ構造順）
		=========================================== */
main,
footer {
	position: relative;
}

main {
	z-index: 0;

	em {
		font-style: normal;
	}
}

/* ___ Header */
body > header {
	height: var(--inner-height_head);
	position: relative;
	z-index: 10;

	li {
		font-weight: 700;
		color: var(--uk-text);
	}

	.uk-navbar-nav > li > a {
		color: var(--uk-text);

		&:hover {
			color: var(--uk-primary);
		}
	}

	a {
		display: block;
	}

	.growloop-logo {
		svg {
			line-height: 1;
			aspect-ratio: 195/45;
			max-height: 45.9px;
			width: clamp(6.25rem, 3.676rem + 11.76vw, 12.5rem);
		}

		&:hover {
			--logo-green: hsl(150, 7%, 58%);
			--logo-orange: hsl(17, 100%, 78%);
			--logo-navy: hsl(210, 7%, 61%);
		}
	}

	.uk-navbar-container {
		background-color: transparent;
	}

	&.header-top.uk-sticky-below {
		background-color: #ffffff42;
		backdrop-filter: blur(20px);
		transition: background-color 1s ease-in-out, backdrop-filter 1.3s ease-in-out;
	}

	.uk-navbar-nav {gap: clamp(0.625rem, -3.99rem + 7.69vw, 1.875rem);}
}

/* ___ オフキャンバスメニュー モバイルサイズメニューblock */
.uk-offcanvas-bar {
	width: clamp(16.25rem, 6.739rem + 30.43vw, 25rem);
	background-color: var(--uk-background);
	transition: 0.5s	ease;
	color: var(--uk-text);

	.uk-offcanvas-close{
		color:var(--uk-text);
		transition: 0.5s	ease;
		&:hover{
			color: var(--uk-muted);
		}
	}

	.uk-nav-primary{
		width: fit-content;
		margin-inline-start: min(20px, 10vw);
		> li > a{
			color: var(--uk-text);
			&:hover{
				color: var(--uk-primary);
			}
	}
	}

}

/* ___ トグルボタン header menu で利用 */
.menu-toggle-plain {
	background: none;
	border: none;
	padding: 6px;
	line-height: 1;
	color:var(--uk-primary);
}


/* ___ Hero */
.hero {
	width: 100vw;
	max-height: 80vh;
	padding-inline: 20px;
	overflow-x: clip;
	aspect-ratio: 1 / 1.68;
	/* height: 75dvh;
	min-height: 550px; */
	background-image: url(../images/hero-image_bgright.png), url(../images/hero-image_bgleft.svg);
	background-repeat: no-repeat, no-repeat;
	background-position: right bottom, left center;
	background-size: contain, cover;
	display: grid;
	background-color: rgb(249, 249, 249);

	h1 {
		margin-block: 0;
		figure {
			max-width: clamp(21.875rem, 13.252rem + 37.29vw, 58rem);
			img {
				max-width: 100%;
				height: auto;
				display: block;
			}
		}
	}
	> .grid-block {
		position: relative;
		display: grid;
		max-width: 1920px;
		align-items: center;
	}

	.hero-message {
		position: relative;
		z-index: 2;
		display: grid;
		row-gap: clamp(1rem, -0.504rem + 6.5vw, 6rem);

		p {
			line-height: 1.4;
			letter-spacing: 0.075em;
			font-size:clamp(1rem, 0.25rem + 2vw, 2rem);

			em {
				color: inherit;
				font-style: normal;
				display: block;
			}
		}

		p + figure {
			width: clamp(18.75rem, 13.068rem + 15.15vw, 31.25rem);
			img {
				max-width: 100%;
				height: auto;
				object-fit: contain;
				display: block
			}
		}
	}

	.hero-photo {
		position: absolute;
		bottom: 0;
		right:0;
		z-index: 1;
		/* 最小幅を確保 */
		width: max(270px, 50vw);

		img {
			max-width: 100%;
			height: auto;
			object-fit: contain;
			display: block;
		}
	}
}


/* ___ Main・各セクション */
/* お悩みセクション problem--- */
.problems ul {
	--block-cntr-gap: 1em;
	width: fit-content;
	margin-inline: auto;

	&.uk-list-divider > :nth-child(n+2) {
		border-top-color: var(--global-color);
		border-top-style: dashed;
		margin-top: 0;
		padding-top: var(--block-cntr-gap);
	}

	li {
		line-height: 1;
		padding-block: var(--block-cntr-gap);
		padding-inline-start: clamp(0, -3.333rem + 8.89vw, 2rem);

		&:nth-last-child(1) {
			border-bottom: 1px dashed var(--global-color);
		}

		&:nth-child(1) {
			padding-top: 0;
		}

		em{font-weight: 600;padding-inline-start: 0.25em;}
	}
/* 
	span svg.check-icn-white {
		width: 1.25rem;
		height: 1.25rem;
	} */
}

/* #causes --- */
.causes {
	background-color: var(--global-success-background);

	h2{
		line-height: 1.4;
	}
	h2 span:nth-child(2) {
		width: fit-content;
		margin-inline: auto;
		padding: 0.5em 1.5em;
	}

>div > div{
	gap:1.5em 1em;

	>div{
		position: relative;
		display: grid;
		align-content: start;
		grid-template-rows: subgrid;
		gap:1.2rem;
		padding-inline:30px;
		padding-block:50px 20px;
		&:before{
			content: attr(data-title);
			position: absolute;
			top:0;
			left:0;
			width: fit-content;
			letter-spacing: 1px;
			background-color: var(--global-primary-background);
			color:var(--global-inverse-color);
			padding:6px 12px;
			font-weight: 600;
		}
	}
	h3{
		grid-row: 1/2;
		margin-block: 0.4em 0;
		padding-block-end:1rem;
		border-bottom: 1px solid var(--uk-primary);
		font-size: 1.429em;
	}

	.lead-text{
		grid-row:2/3;
		p{margin-block: 0;font-size:clamp(1.125rem, 0.708rem + 1.11vw, 1.365rem);line-height: 1.4;}
		&:before{
			display: block;
			content:'';
			background:url(../images/arrow-bottom.svg) no-repeat center;
			background-size: contain;
			position:relative;
			width: 2em;
			height: 2em;
			margin-inline: auto;
			margin-block-end: 1.5rem;
		}
	}
	>div[data-title$="２"] .lead-text p{letter-spacing: -1px;}

	.content-text{
		grid-row:3/4;
		align-self: start;
	}
}
}


/* #roles役割 */
.roles{
	@media (960px >= width) {
		.uk-grid > div h3 {
			padding-left: 0;
			margin-inline-start: -10px;
		}
	}
h2{
	opacity: 1;
	color: var(--uk-light);
}
h3{
	line-height: 1.45;
	font-size:clamp(1.625rem, 1.25rem + 1vw, 2rem);
	em{font-size: inherit;}
}
.message{
	h4,p{color: var(--uk-light);font-size: clamp(1.05rem, 0.7rem + 0.93vw, 1.4rem);letter-spacing: 2px;line-height: 1.6;}
	p{background-color: var(--global-danger-background);width: fit-content;margin-inline: auto;padding:7px 12px;font-size: clamp(1.25rem, 0.75rem + 1.33vw, 1.75rem)}
}

ul{
	padding-inline-start: 1em;
	font-size: 1em;
	li{
		&:nth-child(1){
			margin-block-end: 1em;
		}
	}
	&.custom-list li::marker {
    content: '● ';
    color: var(--uk-point);
	font-size: 1.8em;
}
}
span.uk-text-bold{
	font-size:1.4em
}
figure{
	align-self: center;
}
div.uk-grid{
	display: grid;
	gap: 1.5em;
	justify-content: center;
}
}
.rolespoint{
	background-color: var(--global-danger-background);
	width: fit-content;
	margin-inline: auto;
	font-size:1.4rem;
	padding:7px 12px;
	letter-spacing: 2px;
}

/* #solution */
.solution{
	background-color: var(--global-success-background);
	:where(h2,h3,h2 span) {
		line-height: 1.4;
		width:fit-content;
		margin-inline: auto;
		text-align: center;
	}
	span.uk-text-normal{
		font-size: 0.775em;
	}
	span.uk-text-large{
		letter-spacing: 0.15em;
		padding: 0.15em 0.5em;
	}
	h3{
		font-size: clamp(1.5rem, 1.016rem + 1.29vw, 2em);
		.marker-line:nth-of-type(1){
			transition: all 0.7s steps(7) ;
			clip-path: inset(0 100% 0 0);
			display: block;
      width: fit-content;
      margin: auto;
		}
		.marker-line:nth-of-type(2){
			transition: all	0.3s ease 0.4s;
			clip-path: inset(0 100% 0 0);
		}
		&.uk-scrollspy-inview{
			.marker-line:nth-of-type(1){clip-path: inset(0 0 0 0);}
			.marker-line:nth-of-type(2){opacity: 1;clip-path: inset(0 0 0 0);

			}
		}
	}
	>div>figure{
		width: fit-content;
		margin:0 auto;
		img{
			display: block;
			margin-inline: auto;
		}
	}
}


/* growloopとは */
.features{
	h3{
		font-size: clamp(1.5rem, 1.016rem + 1.29vw, 2em);
	}

	figure{
	width: fit-content;
		margin:0 auto;
		img{
			display: block;
			margin-inline: auto;
		}
	}
	>div>div{
		display: grid;
		gap:2em
	}
}

/* reasons */
.reasons{
	counter-reset: reasonblock 0;
	>div{
		counter-increment: reasonblock;
		img{
			width: clamp(18.75rem, 11.887rem + 18.3vw, 30.188rem);
		}
	}
	h2{
		span{letter-spacing: 0.1em;font-size:0.8em}
	}
	h3{
		font-size:clamp(1.5rem, 0.75rem + 2vw, 2.25rem);
		&::before{
			display: block;
			content: counter(reasonblock, decimal-leading-zero);
			position: relative;
			padding:0.12em 0.3em;
			background-color: var(--uk-point);
			width:fit-content;
			margin-inline: auto;
			margin-block-end: 0.6em;
			font-size: 1.36em;
		}
	}

@media (960px >=width) {
	figure {
		width: fit-content;
		margin: 0 auto;

		img {
			display: block;
		}
	}

	img {
		padding-block-end: 2em;
	}
}
}

/* performance  実績 */
.performance {
	.uk-tile{
		figure{
			width: 100%;
			height: 100%;
				img{
				width: clamp(17.5rem, 11.125rem + 17vw, 28.125rem);
				height: 100%;
				object-fit: cover;
			}
		}
	}
	h2 + div{
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
		justify-content: center;
        align-items: center;
		justify-items: center;
		gap:1em;
	}
}

/* 他社比較 */
.comparison{
	table{
		background-color: var(--global-inverse-color);
		th{	vertical-align: middle;}
	}
	thead{
		th{
			font-weight: bold;
			text-align: center;
			font-size: 1.125em;
		}
		th:nth-of-type(2){
			color: var(--uk-danger);
		}
		th:nth-of-type(3){
			color: var(--uk-text);
		}
	}
	tbody{
		tr{
			position: relative;
		}
		th{
			color: var(--uk-primary);
			font-weight: 500;
			font-size: 1.125em;
			padding-inline: 1.1em 1em;
			span{
				font-weight: normal;
			}
		}
		td{
			padding-inline: 2em;
			position: relative;
		}
		td:nth-of-type(2){
			font-weight: bold;
		}
		td:nth-of-type(2),td:nth-of-type(4){
			width: auto;
			min-width: 220px;
		}
		td:nth-of-type(1),td:nth-of-type(3){
			width:fit-content;
			padding-inline: unset;
			text-align: right;
			font-size: 2em;
			color:var(--uk-warning);
		}
		td:nth-of-type(3){
			font-size: 3em;
		}

	}
}
/* 他社比較テーブル 横スクロール */
.comparison .scroll-hint-container {
	position: relative;
	border-radius: 4px;
}

/* 横スクロールヒントアイコン */
.comparison .scroll-hint-icon {
	font-size: 13px;
	position: absolute;
	top: 50%;
	left: calc(50% - 30px);
	transform: translate(-50%,-50%);
	z-index: 10;
	background-color: var(--uk-muted);
	color: white;
	width: auto;
	padding-inline: 1em;
	height: 3rem;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	pointer-events: none;
	animation: scroll-hint-pulse 2s ease-in-out infinite;
	opacity: 1;
	transition: opacity 0.3s ease;
	svg{
		display: block;
	}
}

/* 導入の流れ */
.flow-section{
	counter-reset: number 0;
	.uk-card{
		counter-increment: number;
	}
	h3::before{
		content:counter(number, decimal-leading-zero);
		padding-inline-end: 0.5em;
	}

}

/* よくある質問 */
/* .faq{

} */
.faq-accordion{
	>div:nth-child(1) {
		border-top: 1px solid var(--uk-border);
	}
	> div {
    padding-block: 0.45em;
	dd{
		padding-block-start: 0.45em;
		padding-inline-start: 1em;
	}
}
}

/* 会社概要セクション */
.company-dl {
	margin: 0;
	font-size: 0.95em;
}

.company-dl-row {
	display: grid;
	grid-template-columns: 7em 1fr;
	gap: 0.5em 1em;
	padding: 1em 0;
	border-bottom: 1px solid #c4c4c4;
	position: relative;

	&::after {
		content: '';
		position: absolute;
		bottom: -1px;
		left: 0;
		width: 7em;
		height: 2.5px;
		background-color: var(--uk-primary);
	}

	dt {
		font-weight: 600;
	}

	dd {
		margin: 0;
	}
}

/* ___ Footer */
body > footer {
	.footer-address {
		gap: 1em;

		a[href^="tel"] {
			display: block;
		}
	}

	.growloop-logo {
		svg {
			line-height: 1;
			aspect-ratio: 195/45;
			max-height: 1.25em;
			width: clamp(6.25rem, 3.676rem + 11.76vw, 12.5rem);
		}

		&:hover {
			--logo-green: hsla(0, 0%, 100%, 0.415);
			--logo-orange: hsla(0, 0%, 100%, 0.415);
			--logo-navy: hsla(0, 0%, 100%, 0.415);
		}
	}
}

@media (1024px <=width) {
	body {
	min-height: 100dvh;
	display: grid;
	grid-template-rows: auto 1fr auto auto;
	/* ← これがないと 1fr が効かない */
}
	body > footer {
		.footer-address {
			a[href^="tel"] {
				display: inline-block;
				margin-inline-start: 1em;
			}

			> div > div {
				display: flex;
				align-items: center;
			}
		}
	}
}

/* ___ Instagram アイコン ホバーアニメーション */
.uk-icon-button[uk-icon="instagram"] {
	position: relative;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid transparent;
	overflow: visible;
	transition: all 0.3s ease;
	z-index: 2;
}

/* 回転するグラデーションボーダー */
.uk-icon-button[uk-icon="instagram"]::before {
	content: '';
	position: absolute;
	inset: 0;
	background: conic-gradient(
		from 0deg,
		#f09433 0deg,
		#e6683c 72deg,
		#dc2743 144deg,
		#cc2366 216deg,
		#bc1888 288deg,
		#f09433 360deg
	);
	border-radius: 50%;
	z-index: -1;
	opacity: 0;
	transition: all 0.3s ease;
}
.uk-icon-button[uk-icon="instagram"]::after {
	content: '';
	position: absolute;
	inset: 1px;
	background: #666;
	border-radius: 50%;
	z-index: 1;
	opacity: 0;
	border: 1px solid transparent;
	transition: all 0.3s ease;
}

/* ホバー時 */
.uk-icon-button[uk-icon="instagram"]:hover {
	/* background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); */
	background-color: transparent;
	border-color: transparent;
	transition: all 0.3s ease;
}
.uk-icon-button[uk-icon="instagram"]:hover::before {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	opacity: 1;
	animation: instagram-rotate 3s linear infinite;
	transition: all 0.3s ease;
}
.uk-icon-button[uk-icon="instagram"]:hover::after {
	background: #333;
	opacity: 1;
	transition: all 0.3s ease;
}

.uk-icon-button[uk-icon="instagram"]:hover svg {
	color: var(--global-inverse-color);
	z-index: 2;
	transition: all 0.3s ease;
}

/* アニメーション定義 */
@keyframes instagram-rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* アクセシビリティ: motion を無効にしている場合 */
@media (prefers-reduced-motion: reduce) {
	.uk-icon-button[uk-icon="instagram"]::before {
		animation: none;
	}
	.uk-icon-button[uk-icon="instagram"]:hover {
		transform: none;
	}
}

/* ___ チェックマーカーアイコン（歪み防止） */
.uk-icon-button.uk-border-circle {
	width: clamp(1.125rem, -1.167rem + 6.11vw, 2.5rem);
	height: clamp(1.125rem, -1.167rem + 6.11vw, 2.5rem);
	flex-shrink: 0;
}

.uk-icon-button.uk-border-circle svg {
	width: clamp(0.625rem, -0.417rem + 2.78vw, 1.25rem);
	height: clamp(0.625rem, -0.417rem + 2.78vw, 1.25rem);
}

/* ___ ページトップボタン */
.pagetopbtn,
.pagetopbtn a {
	position: relative;
	display: block;
	width: 2.5em;
	height: 2.5em;
	margin-inline: auto 1em;
	text-align: center;
	align-content: center;
	border-radius: 0.5em 0.5em 0 0;
	color: rgb(255 255 255 / 1);
}

.pagetopbtn a::after {
	position: absolute;
	content: "TOPへ";
	font-size: 0.6em;
	opacity: 0;
	width: 4em;
	height: 4em;
	clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 60% 90%, 50% 100%, 40% 90%, 0% 90%);
	text-align: center;
	align-content: center;
	left: 0;
	bottom: 4.25em;
	background-color: var(--uk-primary);
	transform: translate(0, 4em);
	transition: opacity 0.3s, transform 0.2s;
	transform-origin: bottom right;
	z-index: -1;
}

/* ___ ホバー対応デバイス：マウスオーバー時に表示 */
@media (hover: hover) {
	.pagetopbtn a:hover {
		color: rgb(255 255 255 / 0.7);
	}

	.pagetopbtn a:hover::after {
		opacity: 1;
		transform: translate(0, 0);
		transition: opacity 2s, transform 0.2s;
		z-index: -1;
	}
}

/* ___ ホバー非対応デバイス：タップ中に表示 */
@media (hover: none) {
	.pagetopbtn a:active::after {
		opacity: 1;
		transform: translate(0, 0);
		transition: opacity 0.2s, transform 0.2s;
	}
}

/* ___ 固定フッター（スマホ） */
.fixed-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	background: var(--uk-background);
	z-index: 1000;

	a,
	span {
		display: block;
	}
}

.fixed-footer-phone {
	text-decoration: none;
	color: var(--global-emphasis-color);
	font-weight: bold;
	background: var(--uk-light, #fff);
	transition: background var(--transition-speed) ease;

	&:hover,
	&:focus {
		background: var(--uk-hover-light);
		text-decoration: none;
		color: var(--global-emphasis-color);
		border-color: var(--uk-border);
	}
}

.fixed-footer-contact {
	border: 1px solid transparent;
	transition: background-color var(--transition-speed) ease 0.1s;

	&:hover,
	&:focus {
		background-color: hsla(17, 97%, 56%, 0.595);
	}
}

.fixed-footer-contact,
.fixed-footer-phone {
	padding-block: 0.75em;
	flex-basis: 50%;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===========================================
		4. コンポーネント      
		=========================================== */
	/* CTA */
.cta{
	background-image: url(../images/ctabg.webp);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover
}


/* FAQアコーディオン --- */
.faq-accordion {
	margin: 0;
	padding: 0;
}

.faq-accordion > div {
	border-bottom: 1px solid var(--uk-border);
}

.faq-accordion dt {
	margin: 0;
}

.faq-accordion dd {
	margin: 0;
	padding: 0 0 15px;
}

.faq-accordion .uk-accordion-title {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	font-size: 1rem;
	padding: 15px 30px 15px 0;
	cursor: pointer;
	position: relative;
	color: inherit;
}

.faq-accordion .uk-accordion-title::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 13px;
	height: 13px;
	background-image: url("data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%23666' stroke-width='2' points='1 4 6.5 9 12 4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transform: translateY(-50%);
	transition: transform var(--transition-speed-slow) ease;
}

.faq-accordion .uk-open .uk-accordion-title::after {
	transform: translateY(-50%) rotate(180deg);
}

.faq-accordion .uk-accordion-content {
	overflow: hidden;
}

/* テーブル --- */
/* 他社比較テーブル 横スクロール */
/* パルスアニメーション */
@keyframes scroll-hint-pulse {
	0%, 100% {
		transform: translateY(-50%) scale(1);
		opacity: 1;
	}
	50% {
		transform: translateY(-50%) scale(1.05);
		opacity: 0.8;
	}
}

/* スクロール済み状態 */
.comparison .scroll-hint-container.scrolled .scroll-hint-icon {
	opacity: 0;
	visibility: hidden;
}
/* デスクトップでは非表示 */
@media (min-width: 960px) {
	.comparison .scroll-hint-icon {
		display: none;
	}
}

/* アクセシビリティ: アニメーション無効時 */
@media (prefers-reduced-motion: reduce) {
	.comparison .scroll-hint-icon {
		animation: none;
	}
}
@media (width <=960px) {
.comparison table {
	min-width: 720px;
	border-collapse: collapse;
}
/* 一列目の幅 */
.comparison table thead tr th:first-child,
.comparison table tbody tr th:first-child {
	font-size: 1em;
	font-weight: 600;
	width:fit-content;
	padding-inline: 0.5em 1em;
}
/* 一列目を横スクロール時に固定 */
.comparison table tbody tr th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	background-color: #ffffffe3;
}
}


/* カード・ステップ --- */
/* フォーム --- */
/* _無効ボタン */
.uk-button[disabled],
.uk-button[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
}

.uk-input:focus,
.uk-textarea:focus,
.uk-select:focus {
	border-color: var(--color-focus);
	box-shadow: 0 0 0 3px rgba(var(--uk-focus-outline-rgb), 0.2);
}

/* _フォームエラー状態 */
.uk-form-danger,
.uk-input[aria-invalid="true"],
.uk-textarea[aria-invalid="true"] {
	border-color: var(--uk-danger);
}

.uk-form-danger:focus,
.uk-input[aria-invalid="true"]:focus,
.uk-textarea[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 3px rgba(var(--uk-danger-rgb), 0.2);
}

/* _エラーメッセージ */
.error-message {
	margin-top: 4px;
}

/* マーカー線 --- */
/* マーカー風ハイライト（背景グラデーション） */
.marker-line {
	background: linear-gradient(transparent 60%, #FCDB21 60%, #FCDB21 90%, transparent 90%);
	/* padding: 0 0.em; */
}

/* アンダーライン風マーカー（疑似要素） */
.marker-underline {
	position: relative;
	display: inline-block;
}

.marker-underline::after {
	content: '';
	position: absolute;
	bottom: 0.1em;
	left: 0;
	width: 100%;
	height: 0.3em;
	background-color: var(--global-inverse-color);
	opacity: 0.6;
	z-index: -1;
}
/* ___ お問い合わせボタン ホバー効果 */
a[href*="contact.php"] {
	transition: all 0.3s linear;
	border:1px solid transparent;
}
a[href*="contact.php"]:hover {
	background-color: var(--uk-background);
	color:var(--uk-warning);
	border: 1px solid var(--uk-warning);
}
.cta a[href*="contact.php"].uk-button-danger {
	font-size: clamp(18px, -2.75rem + 6.67vw, 36px);
	padding: 0.25em 1em;
	height: auto;
	width: clamp(18.5rem, -25.125rem + 116.33vw, 960px);
	margin-inline: auto;
	text-decoration: none;
}

/* ===========================================
		6. メディアクエリ（まとめる）
		=========================================== */
/* 6-1. レスポンシブ（幅別） */
/* レスポンシブ対応 uk-visible@m */
@media (width < 960px) {
	body {
		padding-bottom: 65px;
	}

	/* ヘッダー */
	header.header-top {
		height: unset;
		--inner-height_head: 2.5em;

		.uk-navbar-nav > li > a,
		.uk-navbar-item,
		.uk-navbar-toggle {
			min-height: calc(var(--inner-height_head) * 0.8);
			cursor: pointer;
			color:var(--uk-primary);
		}
	}
		.hero h1 {
		figure {
			max-width: 610px;
		}
	}
		/* .solution {
  > div > figure {
    margin-block-start: 4em;
  }
} */

.features {
	    >div>h2 + div {
					padding-block-end: 4em;
					}
}
}

@media (width <= 560px){
		/* お悩み */
	.problems ul {
		li.uk-flex.uk-flex-middle{
			display: grid;
			grid-template-columns: auto	1fr;
			grid-template-rows: repeat(2,auto);
			transform: rotate(-3deg);

			svg{
				grid-row: 1 / 3;
				grid-column: 1 / 2;
			}
			em{
				grid-row: 2 / 3;
				grid-column: 2 /3;
				margin-inline-start: 0;
				margin-block-start: 0.25em;
				justify-self: end;

			}
		}
	}
}
@media (width <=600px) {
	.hero {
		aspect-ratio: auto;
		height: clamp(400px, 80dvh, 550px);
		margin-inline: auto;

		> .grid-block {
			align-items: unset;
			margin-inline: auto;
			justify-items: center;
		}

		.hero-message {
			align-content: start;
			gap:1em;
			margin-block-start: 2.5em;
			h1 {
				figure img {
					width: 100%;
				}
			}

			h1 + div,
			p {
				width: fit-content;
				margin-inline: auto;
			}

		}

		.hero-photo {
			/* width:250px; */
			bottom:0.25em;
			right: -0.5em;
			z-index: 2;
			transform: rotate(5deg);
			overflow:hidden;
			@media(width < 380px){
				bottom: -1.3em;
			}
		}
	}
	/* スマホ用固定フッター */
	.fixed-footer-contact,
	.fixed-footer-phone {
		line-height: 1.5;
	}

	main .company-dl-row {
		grid-template-columns: 1fr;
		border-bottom: unset;
		padding-block: 0.5em;

		&::after {
			all: unset;
		}

		&:not(:nth-child(1)) {
			padding-block-start: 0;
		}

		dt {
			position: relative;
			padding-block: 1em 0.5em;
			border-bottom: 1px dotted #c4c4c4;

			&::before {
				content: '';
				position: absolute;
				bottom: -1px;
				left: 0;
				width: 7em;
				height: 2.5px;
				background-color: var(--uk-primary);
			}
		}

		dd {
			padding-block: 0.5em 1em;
			/* border-bottom: 1px solid #c4c4c4; */
		}
	}

	#company h2 + div > div:nth-child(2) {
		margin-block-start: 0;
	}

	.news-topics {
		li {
			a > div {
				display: grid;
				grid-template-columns: auto 1fr;

				> div:nth-last-of-type(1) {
					display: block;
					grid-column: 1 / 3;
					grid-row: 2 / 3;
				}
			}
		}
	}

.features {
	h3{
	font-size: 22px;
}
}
		.causes {
			>div>div {
				h3 {
					font-size: 24px;
				}
	
				.lead-text {
					p {
						font-size: 24px;
					}
				}
			}
		}
	
		.roles {
			div.uk-grid {
				figure img{
					padding-inline: 1.25em;
				}
			}
		}

	}


/* レスポンシブ: タブレット（601px〜1023px） */
@media (601px <= width < 1024px) {
	.hero {
		height: clamp(400px, 80vh, 560px);
	}
}



/* レスポンシブ: PC */
@media (width >= 960px){
	/* #roles役割 */
.roles{
div.uk-grid{
	grid-template-columns: repeat(2, 1fr);
	width: 100%;
	padding-inline-end: 1em;
}
}
}
@media (1024px < width) {
	/* .hero {
	} */

}

/* レスポンシブ: 1024px〜1200px */
@media (1024px <=width < 1200px) {
	.hero {
		aspect-ratio: 96 / 43;
		background-position: right -20px bottom, left 2% center;
		min-height: 520px;

		h1 {
			align-self: center;
		}
		.hero-message{
			row-gap: 2em;
		}
		.hero-photo {
			right: 0;
			bottom: unset;
			width: max(400px, 55vw);
			top:14%;

		}
	}
}

/* レスポンシブ: 1200px以上 */
@media (1200px <= width) {
	.hero {
		aspect-ratio: 96 / 43;
		height: clamp(620px, 80vh, 800px);

		.hero-message {
			width: fit-content;
			margin-inline-start: calc((100vw - 1200px) / 4);
		}

		.hero-photo {
			right: 2.85rem;
			/* top:4em; */
		}
	}
}

/* レスポンシブ: 1920px以上 */
@media (1920px < width) {
	.hero {
		max-width: 2560px;
		margin-inline: auto;

		> .grid-block {
			margin-inline-start: unset;
		}
		.hero-message{
			width: 900px;
			margin-inline-start: 14vw;
		}
		.hero-photo {
			max-width: 960px;
			right: -3em;
			top:7em;
			bottom:unset
			}
	}
}

/* @media (orientation: portrait) {
	.hero {
		max-height: 550px;
	}
} */

/* 6-2. prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.skip-link {
		transition: none;
	}

	.uk-card,
	.uk-button-danger,
	.fixed-footer-phone,
	.faq-accordion .uk-accordion-title::after {
		transition: none;
	}

	[uk-scrollspy] {
		opacity: 1;
		transform: none;
	}
}

/* 6-3. prefers-contrast */
@media (prefers-contrast: more) {
	.uk-button-danger {
		border: 2px solid currentColor;
	}

	.uk-card {
		border: 1px solid var(--global-emphasis-color);
	}

	a:focus-visible,
	button:focus-visible {
		outline-width: 4px;
	}
}

/* 6-4. print */
/* 印刷スタイル */
@media print {

	.uk-sticky,
	.fixed-footer,
	.uk-offcanvas,
	.skip-link {
		display: none;
	}

	body {
		padding-bottom: 0;
	}

	.hero {
		min-height: auto;
		padding: 50px 20px;
		background: var(--uk-focus-outline);
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	a[href]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		color: var(--uk-text);
	}

	a[href^="#"]::after,
	a[href^="tel:"]::after,
	a[href^="mailto:"]::after {
		content: none;
	}
}