/*
Theme Name: QualityLife
Theme URI: https://quality-life.com
Description: 株式会社クオリティー・ライフ　Wordpressテーマ
Author: koge
Author URI: https://nikko-lab.com/
Template: arkhe
Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@font-face {
	font-family: 'stfont';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('./fonts/stfont.woff2') format('woff2'),
	url('./fonts/stfont.woff') format('woff');
}

:root {
	--ql-font_style: 'stfont', 'Zen Maru Gothic', sans-serif;
}

body {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ql-font_style);
	font-weight: 500;
}
.font-maru {
	font-family: var(--ql-font_style);
	font-weight: 500;
}
.font-maru-b {
	font-family: var(--ql-font_style);
	font-weight: 700;
}


/* ヘッダー
--------------------------------*/

.l-header__body {
    padding: 0 3vw;
}
.header_AccessMenu {
	padding-right: 3vw;
}
.header_AccessMenu ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	list-style: none;
}
.header_AccessMenu ul li.sns-btn a {
	padding: 0 2.5rem;
	display: flex;
	align-items: center;
}
.header_AccessMenu ul li.sns-btn a img {
	width: auto;
	height: 28px;
	display: inline-block;
	margin-left: 0.5rem;
}
.header_AccessMenu ul li a {
	color: var(--ark-color_main);
	display: inline-block;
	padding: 0.75rem 2.5rem;
	font-size: 90%;
}
.header_AccessMenu ul li.contact-btn a {
	background-color: var(--ark-color_main);
	color: #fff;
	text-decoration: none;
	border-radius: 0 0 10px 10px;
	transition: 0.3s;
	opacity: 1;
}
.header_AccessMenu ul li.contact-btn a:hover {
	opacity: 0.8;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.l-header__right {
	justify-self: center;
}
.l-header, .l-header__body {
	transition: 0.1s;
}
html[data-scrolled="true"] .l-header {
	padding: 1.5rem 3vw 0 3vw;
    background: transparent;
}
html[data-scrolled="true"] .l-header__body {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 3vw;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}


@media (min-width: 1000px) {
	[data-btns=rl-rr][data-logo=left] .l-header__body, [data-btns=rr-rl][data-logo=left] .l-header__body {
		grid-template-columns: 0 auto auto min-content min-content;
	}
}
.c-gnav__li>.c-gnav__a {
	padding: 0;
}
.c-gnav__li>.c-gnav__a .__mainText {
	border-left: 1px solid var(--ark-color_text);
	padding: 0 1.25rem;
}
.c-gnav .c-gnav__li:nth-child(6) > .c-gnav__a .__mainText {
	border-right: 1px solid var(--ark-color_text);
}
.c-gnav__li.main-contact-btn {
	display: none;
}
.c-gnav__li.main-contact-btn>.c-gnav__a .__mainText {
	background-color: var(--ark-color_main);
	padding: 10px 1.25rem;
	border-radius: 8px;
	color: #fff;
	border: none;
	opacity: 1;
	transition: 0.3s;
}
.c-gnav__li.main-contact-btn>.c-gnav__a:hover .__mainText {
	opacity: 0.8;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
html[data-scrolled="true"] .c-gnav__li.main-contact-btn {
	display: block;
}
html[data-scrolled="true"] .c-gnav .c-gnav__li:nth-child(6) > .c-gnav__a .__mainText {
	border-right: none;
}

@media screen and (max-width: 782px) {
	.header_AccessNav {
		display: none;
	}
	html[data-scrolled="true"] .l-header {
		padding: 0.5rem 3vw 0 3vw;
	}
	html[data-scrolled="true"] .l-header__body {
		padding: 0 3vw;
	}
	.l-header__center {
		padding: 4px 0;
	}
}


/* ドロワーメニュー
--------------------------------*/
[data-header-above] #drawer_menu.p-drawer {
	background: #fff !important;
	color: var(--ark-colro_main);
}
[data-drawer-move=fade][data-drawer=opened] .l-header__drawerBtn {
	color: var(--ark-color--header_txt, #333);
}
.c-drawerNav {
	border: none;
}
.c-drawerNav .menu-item {
	text-align: center;
	border: none;
}

.d-contact-btn .__mainText {
	background-color: var(--ark-color_main);
	color: #fff;
	border-radius: 100px;
	display: inline-block;
	padding: 0.75rem;
	min-width: 70%;
}
.d-sns-btn .__mainText {
	font-family: var(--ql-font_style);
	text-decoration: underline;
	color: var(--ark-color_main);
	display: flex;
	align-items: center;
	justify-content: center;
}
.d-sns-btn .__mainText img {
	width: 2.25rem;
	height: auto;
	margin-left: 0.5rem;
}


/* フッター
--------------------------------*/
.w-before-footer .c-widget+.c-widget {
	margin-top: 0;
}
.l-footer__foot .l-container {
	padding-top: 1.5rem;
	border-top: 1px solid #fff;
}

.c-fixBtn {
	border-radius: 10px;
}


/* ホーム
--------------------------------*/
.line-title .ark-block-heading__main {
	margin-bottom: 3rem;
	letter-spacing: 0.1rem;
}
.line-title .ark-block-heading__main .arkb-format-1 {
	display: inline-block;
	margin-top: 1rem;
	border-bottom: 2px dashed #bca99a;
}
.ark-block-heading .ark-block-heading__sub {
	font-size: 1rem;
	font-family: var(--ql-font_style);
	color: var(--ark-color_main);
}
.ark-block-button__text {
	font-family: var(--ql-font_style);
}

@media screen and (max-width: 782px) {
	.line-title .ark-block-heading__main .arkb-format-1 {
		margin-top: 0.5rem;
	}
}




/* コンテンツページ
--------------------------------*/
.p-topArea {
	min-height: 40vh;
}
.p-topArea__body {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);
}
.c-pageTitle__main {
	font-weight: 500;
}
.p-topArea .c-filterLayer__img {
	width: calc(100% - 6vw) !important;
	border-radius: 40px;
	transform: translateX(-50%);
	left: 50%;
}

.company-table table {
	border: none;
}
.company-table table th, .company-table table td {
	background-color: transparent;
	border-left: none;
	border-bottom-color: #a8a8a8;
	padding: 1rem !important;
}
.company-table table th {
	font-family: var(--ql-font_style);
	width: 10rem;
}

.page-id-199 .page-contact_Area {
	display: none;
}



.contact-table {
	border: none;
}
.contact-table th, .contact-table td {
	background-color: transparent;
	border-left: none;
	border-bottom: 1px dashed #ddd;
	padding: 1rem !important;
}
.contact-table th {
	font-family: var(--ql-font_style);
	vertical-align: middle;
	font-weight: 500;
}
.contact-table th .req {
	font-weight: 500;
	font-size: 0.8em;
	display: inline-block;
	line-height: 1;
	padding: 5px 10px;
	background-color: var(--ark-color_main);
	color: #fff;
	margin-left: 0.5rem;
	border-radius: 4px;
}
.contact-table th .req.-n {
	background-color: #f7996a;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	border: none;
	background-color: #fbf9f7;
	border-radius: 4px;
	width: 100%;
}
.recaptcha {
	text-align: center;
	background: #eee;
	padding: 2rem;
	margin: 1.5rem auto;
	width: 50%;
}
.btn-area {
	text-align: center;
	margin-top: 3rem;
}
.btn-area input[type="submit"] {
	background-color: var(--ark-color_main);
	border: 1px solid var(--ark-color_main);
	border-radius: 100px;
	color: #fff;
	font-family: var(--ql-font_style);
	padding: 1rem;
	min-width: 300px;
	transition: 0.3s;
}
.btn-area input[type="submit"]:hover {
	background-color: #fff;
	color: var(--ark-color_main);
}
.wpcf7-spinner {
	font-display: block;
	margin: 0 auto;
}



@media screen and (max-width: 782px) {
	.p-topArea {
		min-height: 18vh;
	}
	.p-topArea .c-filterLayer__img {
		border-radius: 20px;
	}
	.c-pageTitle__main {
		font-size: 1.5rem;
	}

	.l-content__body {
		margin: 1.5rem auto;
	}
	.ark-block-heading .ark-block-heading__sub {
		font-size: 0.8rem;
	}
	h2 {
		font-size: 1.25rem;
	}
	h3 {
		font-size: 1.15rem;
	}
	h4 {
		font-size: 1.05rem;
	}

	.company-table table th, .company-table table td {
		display: block;
		width: 100%;
	}
	.company-table table th {
		border-bottom: none;
		padding-bottom: 0 !important;
	}

	.contact-table th, .contact-table td {
		display: block;
		width: 100%;
	}
	.contact-table th {
		border-bottom: none;
		padding-bottom: 0 !important;
	}
}


/* アーカイブ
--------------------------------*/
.p-postList.-type-card .p-postList__thumb {
	border-radius: 16px;
}
.p-postList .p-postList__title {
	text-align: center;
	font-family: var(--ql-font_style);
	font-weight: 500;
}

.works-template-default .l-article {
	max-width: var(--ark-width--article--slim);
}
.p-entry__thumb__img {
	border-radius: 40px;
}
@media screen and (max-width: 782px) {
	.p-entry__thumb__img {
		border-radius: 20px;
	}
}



/* その他
--------------------------------*/
.is-btn-text .ark-block-button__icon {
	background-color: var(--the-btn-color);
	color: #fff;
}
.is-btn-text .ark-block-button__link:hover .ark-block-button__icon {
	background-color: #fff;
	color: var(--the-btn-color);
}


@media screen and (max-width: 782px) {
    body {
        font-size: 14px;
    }

}



/* Google Mapを囲う要素 */
.map {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
}

/* Google Mapのiframe */
.map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/* その他CSS */
.text-c { text-align: center; }

.img-r40 img {
	border-radius: 40px;
}

.ts-pc { display: block; }
.ts-sp { display: none; }

.innerS { 
    width: 80%;
    margin: auto;
}

.mt6s3 {
	margin-top: 6rem;
}
.mt3s1 {
	margin-top: 3rem;
}

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

	.img-r40 img {
		border-radius: 20px;
	}

	.ts-pc { display: none; }
	.ts-sp { display: block; }

    .innerS {
        width: 100%;
    }

	.mt6s3 {
		margin-top: 3rem;
	}
	.mt3s1 {
		margin-top: 1.5rem;
	}
	.img-sp80 img {
		width: 80%;
	}

	.sp-text-c {
		text-align: center !important;
	}
}






/* =========================================
   Works Archive
========================================= */
.p-worksArchive {
	padding: 56px 0 80px;
}

.p-worksArchive__header {
	text-align: center;
	margin-bottom: 40px;
}

.p-worksArchive__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.3;
}

.p-worksArchive__lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: #666;
}

/* =========================================
   Filter
========================================= */
.p-worksFilter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 44px;
}

.p-worksFilter__btn {
	appearance: none;
	border: 1px solid #6eb9ac;
	background: #fff;
	color: #4d8f84;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: all .25s ease;
}

.p-worksFilter__btn:hover,
.p-worksFilter__btn.is-active {
	background: #6eb9ac;
	color: #fff;
	border-color: #6eb9ac;
}

/* =========================================
   Grid
========================================= */
.p-worksGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
}

.p-worksCard {
	height: 100%;
}

.p-worksCard__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.p-worksCard__thumb {
	position: relative;
	aspect-ratio: 3 / 2;
	border-radius: 28px;
	overflow: hidden;
	background: #f2f2f2;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
	background-color: rgba(0, 0, 0, 0.26);
}

.p-worksCard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
	opacity: 1;
}

.p-worksCard__link:hover .p-worksCard__thumb img {
	transform: scale(1.15);
	opacity: 0.8;
}

.p-worksCard__noimage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #999;
	background: #f6f6f6;
}

.p-worksCard__body {
	padding: 16px 8px 0;
	text-align: center;
}

.p-worksCard__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
}

.p-worksCard__cat {
	display: inline-block;
	padding: 5px 10px;
	background: #eef8f5;
	color: #4d8f84;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.3;
}

.p-worksCard__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.p-worksCard__excerpt {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.8;
	color: #666;
}

.p-worksArchive__empty {
	text-align: center;
	font-size: 15px;
	color: #666;
	padding: 40px 0;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 960px) {
	.p-worksGrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}
}

@media (max-width: 640px) {
	.p-worksArchive {
		padding: 40px 0 60px;
	}

	.p-worksFilter {
		gap: 10px;
		justify-content: flex-start;
	}

	.p-worksFilter__btn {
		padding: 10px 16px;
		font-size: 13px;
	}

	.p-worksGrid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.p-worksCard__thumb {
		border-radius: 22px;
	}

	.p-worksCard__title {
		font-size: 17px;
	}
}

/* 一覧全体のふわっと切り替え */
.p-worksGrid {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .35s ease, transform .35s ease;
}

.p-worksGrid.is-changing {
	opacity: 0;
	transform: translateY(8px);
}

.p-worksGrid.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* 非表示カード */
.p-worksCard.is-hidden {
	display: none;
}
