/*------------------------------
太平洋総合コンサルタント株式会社
www.taicon.co.jp
--
2025-10-08	Adjust ../common/*
------------------------------*/

/*----------------------
CSS Variables
--------------------- */
:root {
	--base-max-width: 960px;
	--base-inn-width: 800px;
	--base-font: clamp(1rem, 2vw, 1.1rem);
	--base-font-more: clamp(1.1rem, 2.5vw, 1.25rem);
	--faq-que-color: #fff;
	--faq-que-bg-color: #2278cb;
	--faq-que-bg-color-active: #1356b4;
	--faq-ans-color: #fff;
	--faq-ans-bg-color: #79b8f0;
}

/*----------------------
Inview
----------------------*/
.ef-fade,
.ef-zoom,
.ef-rotate	{ transition: .3s; }
.ef-fade:nth-child(even){ transition: .5s; }
.ef-fade:nth-child(3)	{ transition: .7s; }
.ef-fade	{ transform: translate(0, 100px); -webkit-transform: translate(0, 100px); opacity: 0; }
.fade		{ transform: translate(0, 0); -webkit-transform: translate(0, 0); opacity: 1; }
.ef-zoom	{ transform: scale(0, 0); -webkit-transform: scale(0, 0); }
.zoom		{ transform: scale(1, 1); -webkit-transform: scale(1, 1); }
.ef-rotate	{ transform: rotateY(0deg); -webkit-transform: rotateY(0deg); }
.rotate		{ transform: rotateY(360deg); -webkit-transform: rotateY(360deg); }

/*----------------------
Vegas
----------------------*/
#vegas	{ width: 100%; max-height: 640px; aspect-ratio: 3/2; box-shadow: 0 6px 24px #3696; }
.top-logo	{ height: 100%; display: flex; justify-content: center; align-items: center; }
.top-logo img	{ width: 90vw; max-width: 680px; }


/*----------------------
Adjust
----------------------*/
#navi { margin-bottom: 0 !important; }
.sectitle,
.pankz	{ display: none !important; }

/*----------------------
Common
----------------------*/
h3	{ font-size: clamp(1.2em, 7vw, 2.4em); text-align: center; }
h4	{ font-size: clamp(1.2em, 5vw, 1.3em); text-align: center; }

table.solid	{
	width: clamp(100px, 100%, var(--base-inn-width));
	font-size: var(--base-font);
	margin-left: auto; margin-right: auto;
	th	{ font-weight: bold; }
	th span	{ display: block; font-weight: normal; }
	td span	{ display: inline-block; }
	p	{ margin: 0; }
}
*+table	{ margin-top: 2em; }

.inner	{ padding: 8vw 1em; }
.inner > h3+*	{ margin-top: 8vw; }

.bg-txt	{
	/*position: absolute; top: 20px; left: 50%; transform: translateX(-50%);*/
	position: absolute; top: 0; left: 0;
	width: 100%; overflow: hidden;
	text-align: center;
	/*color: #e7eaef;*/
	color: #40434811;
	font-size: clamp(1rem, 16vw, 120px);
	font-family: arial;
	font-weight: bold;
	/*letter-spacing: .1em;*/
	z-index: -1;
}

/*----------------------
Background
----------------------*/
section	{ position: relative; }
section:not([class]):nth-child(odd)	{ background-color: transparent; }
section:not([class]):nth-child(odd):before	{ background-color: #fbf9f3; z-index: -2; }

#sub01:before,
#sub01a:before,
#sub02:before,
#sub03:before,
#sub04:before,
#sub04a:before,
#sub05:before,
#sub06:before	{ content: ''; position: absolute; width: 100%; height: 100%; z-index: -1; }

#sub01:before	{ transform: skewY(-2deg); background-color: #fbf9f3; }
#sub01a:before	{ transform: skewY( 2deg); background: url(../common/logo1x1_op20.png) no-repeat -140% 50% / 70vw; }
#sub02:before	{ transform: skewY( 2deg); background: #fbf9f3 url(../common/logo1x1_op20.png) no-repeat 210% 10% / 70vw; }
#sub03:before	{ transform: skewY( 2deg); background: url(../common/logo1x1_op20.png) no-repeat -140% 70% / 70vw; }
#sub04:before	{ transform: skewY(-2deg); background-color: #fbf9f3; }
#sub04a:before	{ transform: skewY(-2deg); background-color: #fbf9f3; }
#sub05:before	{ transform: skewY( 0deg); background-color: transparent; }
#sub06:before	{ transform: skewY( 0deg); background-color: #fbf9f3; }


/*----------------------
Sub Menu
----------------------*/
.sub-menu	{}
	/*.sub-menu	{ background: linear-gradient(0deg, #fff0 50%, #f8f8f8 0%); }*/
	.sub-menu .inner	{ padding: 1em; }
	.sub-menu .inner	{ background-color: #fff; background: linear-gradient(0deg, #fff0 20%, #fff 50%); }
.sub-menu ul	{ margin: 0 auto 4em; padding: 0; list-style-type: none; }
/*.sub-menu ul	{ background-color: #3696; border: 1px solid #3696; }*/
/*.sub-menu ul	{ background-color: #3696; box-shadow: 0 0 6px #3696; }*/
.sub-menu ul	{ display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 2px; }
.sub-menu li	{ flex: 1 0 30%; transition: .2s; }
.sub-menu li	{ color: #246; background-color: #fff; box-shadow: 0 0 5px #3696; }
.sub-menu li	{ position: relative; }
.sub-menu li:before	{
	content:'';
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 100%;
	transform-origin: center top;
	transform: scale(0, 1);
	transition: .2s;
}
.sub-menu li:hover:before	{ background-color: #26c; transform: scale(1, 1); }
.sub-menu li:hover	{ color: #fff; }
.sub-menu a	{ position: relative; z-index: 2; }
.sub-menu a	{ display: block; color: inherit; font-size: var(--base-font); font-weight: bold; line-height: 60px; text-decoration: none; }
/*
.sub-menu ul	{ margin: 0 auto 4em; padding: 0; list-style-type: none; }
.sub-menu ul	{ display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 2px; }
.sub-menu li	{ flex: 1 0 30%; transition: .2s; }
.sub-menu li	{ color: #fff; background-color: #336699; }
.sub-menu li:nth-child(1)	{ background-color: #336699; }
.sub-menu li:nth-child(2)	{ background-color: #318bcb; }
.sub-menu li:nth-child(3)	{ background-color: #43b7c6; }
.sub-menu li:nth-child(4)	{ background-color: #46cc99; }
.sub-menu li:nth-child(5)	{ background-color: #54bf59; }
.sub-menu li:nth-child(6)	{ background-color: #349f39; }
.sub-menu li:hover	{ background-color: #d27a1e; }
.sub-menu a	{ display: block; color: inherit; font-size: var(--base-font); font-weight: bold; line-height: 50px; text-decoration: none; }
*/

.sub-menu .ef-rotate	{ transition: .9s; }

.catchcopy	{ margin: 3em auto; max-width: 800px; text-align: center; }
.consultant	{ margin: 3em auto; max-width: 680px; }
.consultant a	{ transition: .2s; }
.consultant a:hover	{ transform: scale(1.05); text-decoration: none; }



/*----------------------
Flexbox 再定義
----------------------*/
.flex	{
	position: relative;
	margin: 1em auto;
	padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2em;
	line-height: 1.8;
}

.appeal	{
	align-items: inherit;
	font-size: var(--base-font-more);
	text-align: center;
	>*	{ flex: 1 0 29%; min-width: 250px; position: relative; }
	>div:nth-child(1)	{ color: #fff; background-color: #336699; }
	>div:nth-child(2)	{ color: #fff; background-color: #318bcb; }
	>div:nth-child(3)	{ color: #fff; background-color: #2cbe86; }
	/*> div:before	{ display: block; width: 100%; aspect-ratio: 6/5; margin-bottom: 1em; }*/
	>div:before	{ content: ''; display: block; width: 100%; }
	>div:nth-child(1):before	{ aspect-ratio: 3/2; margin-bottom: 1em; background: url(./images/ap01.jpg) no-repeat 50% 50% / cover; }
	>div:nth-child(2):before	{ aspect-ratio: 3/2; margin-bottom: 1em; background: url(./images/ap02.jpg) no-repeat 50% 50% / cover; }
	>div:nth-child(3):before	{ aspect-ratio: 3/2; margin-bottom: 1em; background: url(./images/ap03.jpg) no-repeat 50% 50% / cover; }
	>div:after	{ position: absolute; bottom: -40px; left: 0; width: 100%; }
	>div:after	{ font-size: 240px; color: #fbf9f3; font-weight: bold; font-family: arial; line-height: 1; opacity: .3; }
	>div:nth-child(1):after	{ content: '1'; }
	>div:nth-child(2):after	{ content: '2'; }
	>div:nth-child(3):after	{ content: '3'; }
	p	{ margin: 1em; font-weight: bold; }
}

.ceo	{
	font-size: var(--base-font);
	.item-img	{ display: block; width: 100%; max-width: 420px; text-align: center; }
	p	{ background-color: #fff8; }
}
.manager	{
	font-size: var(--base-font);
	.item-img	{ display: block; width: 100%; max-width: 420px; text-align: center; }
	p	{ background-color: #fff8; }
}

.staff	{
	margin-top: 2em;
	justify-content: initial;
	gap: 0;
	font-size: var(--base-font);
	>*	{ flex: 1 0 40%; min-width: 300px; }
	.item-img	{ display: block; width: 100%; min-width: 60%; max-width: 800px; }
	.item-cnt	{
		width: 100%;
		padding: 20px;
		color: #fff;
		background: #17335a;
		background: linear-gradient(321deg, #17335a 0%, #175e91 100%);
	}
	.dept {
		/*display: inline-block;*/
		/*margin: -60px 0 0;*/
		width: fit-content;
		margin: -60px auto 0;
		padding: 10px 20px;
		font-size: 110%;
		font-weight: bold;
		background-color: #5fb7cecc;
		/*position: absolute; top: -0.5em; left: 50%; transform: translateX(-50%);*/
		/*z-index: 1;*/
	}
	/*p+p	{ margin-bottom: 0; }*/
}

.entry	{
	align-items: inherit; gap: 2em;
	font-size: var(--base-font);
	>div	{ flex: 1 0 25%; min-width: 250px; }
	>div:nth-child(1)	{ background-color: #a8cfea; }
	>div:nth-child(2)	{ background-color: #b6ddbf; }
	>div:nth-child(3)	{ background-color: #e5dcaf; }
	>div:before	{ content: ''; display: block; width: 100%; }
	>div:nth-child(1):before	{ aspect-ratio: 7/6; margin-bottom: 1em; background: url(./images/er01.jpg) no-repeat 50% 50% / cover; }
	>div:nth-child(2):before	{ aspect-ratio: 7/6; margin-bottom: 1em; background: url(./images/er02.jpg) no-repeat 50% 50% / cover; }
	>div:nth-child(3):before	{ aspect-ratio: 7/6; margin-bottom: 1em; background: url(./images/er03.jpg) no-repeat 50% 50% / cover; }
	a	{ display: block; padding: 0 2em; line-height: 2.5em; text-decoration: none; transition: .2s; }
	a	{ color: #333; font-size: 1.1em; font-weight: bold; border: 1px solid #333; border-radius: 2em; }
	a:hover	{ color: #fff; background-color: #333; }
	a:after	{ content: '\f08e'; font-family: forkawesome; margin-left: 1em; opacity: .8; }
	.item-img	{ display: block; margin: 0 auto 1em; }
	.item-txt	{ width: fit-content; margin: 1em auto; }
	.item-btn	{ width: fit-content; margin: 0 auto 1em; }
}


/*-- Flex list with box-shadow --*/
.flexs	{ margin: 1em auto;; padding: 0; list-style-type: none; }
.flexs	{ display: flex; flex-wrap: nowrap; justify-content: center; }
.flexs li	{ padding: 1em; box-shadow: 0 0 16px 0px rgba(0,0,0,.2); }
.flexs li	{ flex: 1 0 auto; }
.flexs li+li	{ margin-left: 1em; }
.flexs .phbox	{ color: #666; font-size: .8em; text-align: center; }


/*----------------------
よくある質問
FAQ
--------------------- */
.faq	{ max-width: var(--base-inn-width); margin: auto; font-size: var(--base-font); }
.faq dt	{ margin: 1em 0 0; padding: 1em; }
.faq dd	{ margin: 0 0 1em; padding: 2em 1em; }
.faq p	{ position: relative; margin: 0; padding: 0; }
/* アコーディオン用 */
.faq .que	{ position: relative; background-color: #f4f0e4; cursor: pointer; transition: background .2s ease; }
.faq .que::before,
.faq .que::after	{ position: absolute; top: 0; bottom: 0; right: 1em; width: 12px; height: 2px; margin: auto; background:#fff; content: ''; }
.faq .que::after	{ transform: rotate(-90deg); transition: transform .2s; }
.faq .que:hover	{ background-color: #e6dec7; }
.faq .que.active	{ background-color: #e6dec7; }
.faq .que.active::after	{ transform: rotate(0deg); }
.faq .que p	{ padding-right: 1em; }
/*.faq .que p::before	{ position: absolute; top: 0; bottom: 0; left: 0; content: 'Q'; opacity: 1; }*/

.faq .ans	{ display: none; background-color: #fff6cf66; }
.faq .ans a	{ text-decoration: underline; }
.faq .ans p:before	{
	content: 'A';
	float: left;
	display: inline-flex;
	align-items: center;
	margin: 0 8px 8px 0; padding: 0 8px;
	aspect-ratio: 1 / 1;
	color: #fff; background-color: #f38552; border-radius: 1em;
}
.faq .ans span	{ display: block; margin-top: 1em; }
.faq .ans span a:before	{
	display: inline-block;
	content: '\f054'; font-family: forkawesome;
	padding-right: 8px; color: initial; text-decoration: none; opacity: .5;
}
/*.faq .ans	{ display: block; }*/

.faq .ans	{ display: none; background-color: #fff6cf66; }

.faq .que	{ color: var(--faq-que-color); background-color: var(--faq-que-bg-color); }
.faq .que:hover,
.faq .que.active	{ background-color: var(--faq-que-bg-color-active); }
.faq .ans	{ color: var(--faq-ans-color); background-color: var(--faq-ans-bg-color); }



/*----------------------
for Tablet
----------------------*/
@media screen and (min-width: 768px) {

	.inner	{ padding: 4em 1em; }
	.inner > h3 + *	{ margin-top: 4em; }
	/**+table	{ margin-top: 4em !important; }*/
	/*.flex	{ margin-top: 4em !important; }*/

	/*----------------------
	FAQ
	--------------------- */
	.faq	{
		.ans p	{ padding-left: 2.5em; padding-right: 1em; }
		.ans p:before	{
			position: absolute; top: 0; left: 0;
			display: flex;
			margin: 0;
		}
	}

	.entry >div:before	{ margin-bottom: 2em; }
	.entry .item-img	{ margin-bottom: 2em; }
	.entry .item-btn	{ margin-bottom: 2em; }
}


/*----------------------
for PC
----------------------*/
@media screen and (min-width: 1000px) {

	.sub-menu .inner	{ margin-top: -50px; padding: 1.5em; }
	.sub-menu li	{ flex: 1; }
	.sub-menu a	{ line-height: 80px; font-weight: bold; }

	.appeal {
		gap: 3em;
		div:nth-child(1)	{ margin: 20px auto -20px; }
		div:nth-child(2)	{ margin:  0px auto 0px; }
		div:nth-child(3)	{ margin: -20px auto 20px; }
	}
	.ceo	{
		>*	{ flex: 1 0 40%; min-width: 300px; }
		p	{ margin: 0; padding: 1em; background-color: #fff8; }
	}
	.manager	{
		>*	{ flex: 1 0 40%; min-width: 300px; }
		p	{ margin: 0; padding: 1em; background-color: #fff8; }
	}
	.staff	{ margin-top: 5em; }
	.staff .item-cnt	{ position: absolute; bottom: 4em; right: 0; max-width: 480px; }
	.staff .dept	{ float: left; margin: 20px; margin-left: -60px; background-color: #5fb7ce; }
	.rvs .item-cnt	{ left: 0; }
	.rvs .item-cnt .dept	{ float: right; margin: 20px; margin-right: -60px; }

	.entry .item-txt	{ min-height: 5.4em; }

}


