@charset "utf-8";

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ローディング画面
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.loading_wrap {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: var(--text);
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading_wrap .img {
	display: none;
	width: 200px;
	margin-bottom: 0px;
}

/*テーブルレイアウト*/
.basic_table01 table tr > td:first-child {
	font-weight: bold;
	text-align: center;
	background-color:  var(--base-1);
	width: 50%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
汎用ボタン04
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cmn_btn04::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 16px;
	background: url("./images/btn_arrows.svg");
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center left 100%;
	top: 50%;
	right: 25px;
	transition: all 0.5s ease 0s;
	transform: translate3d(0px, -50%, 0px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
汎用 > 見出し
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cmn_ttl::after {
	content: "";
	position: absolute;
	width: 50px;
	height: 47px;
	background: url("./images/ttl_deco.png")no-repeat 50% / contain;
	top: -27px;
	right: -65px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
クラシックテーブル01
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.classic_table01 table th {
	width: 30%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
汎用 > animate
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.animate {
	color: var(--text);
	mask-image: linear-gradient(90deg, #fff 24%, transparent 33%);
	mask-position: 100% 0%;
	mask-size: 400% 400%;
}

.animate.is-inview {
	animation: textMask 1s ease forwards;
}

.animate.promo {
	animation: textMask 1.8s 0.3s ease forwards;
}

@keyframes textMask {
	0% {
		mask-position: 50% 0;
	}
	100% {
		mask-position: 0% 0;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
汎用 > 画像（親の高さに合わせて変動する）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cmn_flex_img{
    height: 100%;
    position: absolute;
    object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
汎用 > カテゴリー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
p[class*="cat"]:has(.term-news) {
	background-color: var(--text);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層 > 子ナビ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.h_child_navi ul.child_navi {
    gap: 20px;
}

.h_child_navi ul.child_navi a:hover, .h_child_navi ul.child_navi li[class*='current'] a {
    background-color: var(--text);
}

.h_child_navi ul.child_navi a {
    color: var(--text);
    border-radius: 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ promo
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_promo .promo_area::before {
	content: "";
	position: absolute;
	width: 44.43vw;
	height: 30.21vw;
	background: url("./images/promo_bg_deco.png")no-repeat 50% / contain;
	left: 0;
	bottom: 0;
	mix-blend-mode: color;
	z-index: 1;
}

#home_promo .promo_area h2.ttl span {
	position: relative;
}

#home_promo .promo_area h2.ttl span::after {
	content: "";
	position: absolute;
	width: clamp(80px, 1.842px + 5.789vw, 113px);
	height: clamp(130px, 4.474px + 9.298vw, 183px);
	background: url("./images/promo_ttl_deco.png")no-repeat 50% / contain;
	right: -6.77vw;
	bottom: 15px;
}

.offer_area .txt::after {
	content: "";
	position: absolute;
	width: 138px;
	height: 69px;
	background: url("./images/offer_img.png")no-repeat 50% / contain;
	top: -35px;
	right: 230px;
}

.bnr_area > div.recruit_bnr::after {
	content: "";
	position: absolute;
	width: 75px;
	height: 81px;
	background: url("./images/bnr_deco.png")no-repeat 50% / contain;
	top: -27px;
	right: clamp(15px, -8.684px + 1.754vw, 25px);
}

/*動画の高さ*/
.entry-content .wp-block-cover {
	height: 100svh;
	max-height: 60vw;
	align-items: flex-end;
}

/*animate*/
#home_promo .animate {
	color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ post
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_post .cmn_btn04::after {
	width: 17px;
	height: 12px;
	right: 28px;
}

@media (hover: hover){
	#home_post .post:hover .cmn_btn04::after {
		background-position: center right 100%;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ > about
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*スライダー*/
.about_slider_top {
	animation: about-slider-top 50s linear infinite;
}

@keyframes about-slider-top {
	from {
		background-position: 0 0;
	}
	to {
		background-position: -2728px 0;
	}
}

.about_slider_bottom {
	animation: about-slider-bottom 50s linear infinite;
}

@keyframes about-slider-bottom {
	from {
		background-position: -2728px 0;
	}
	to {
		background-position: 0 0;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ technic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.technic_box a.gb-container-link {
	top: -50px;
}

.technic_box::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 22px 0 22px 22px;
	transition: all 0.5s ease 0s;
	z-index: -1;
}

.technic_box::after {
	position: absolute;
	color: #fff;
	font-size: clamp(22px, 17.263px + 0.351vw, 24px);
	font-family: "Josefin Sans", serif;
	font-weight: bold;
	letter-spacing: 0em;
	top: -50px;
	right: 0;
	padding: 15px 30px 5px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	transition: all 0.5s ease 0s;
}

@media (hover: hover){
	.technic_box:hover::before {
		top: -25px;
	}
	
	.technic_box:hover::after {
		top: -75px;
	}
}

/*area_a*/
.technic_box.area_a::before {
	background: var(--main);
}

.technic_box.area_a::after {
	content: "Compound technology";
	background: var(--main);
}

/*area_b*/
.technic_box.area_b::before {
	background: var(--accent-2);
}

.technic_box.area_b::after {
	content: "Coloring technology";
	background: var(--accent-2);
}

/*area_c*/
.technic_box.area_c::before {
	background: var(--accent);
}

.technic_box.area_c::after {
	content: "Laser marking technology";
	background: var(--accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ advantage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_advantage::before {
	content: "";
	position: absolute;
	width: 29.9vw;
	height: 20.42vw;
	background: url("./images/advantage_deco.jpg")no-repeat 50% / contain;
	top: 200px;
	left: 0;
}

#home_advantage .backdrop {
	backdrop-filter: blur(10px) brightness(105%);
	-webkit-backdrop-filter: blur(10px) brightness(105%);
	background-color: hsla(0,0%,100%,.2);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ company
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_company .cmn_btn01 {
	background-color: transparent;
	border: 2px solid #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ news
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_news::after {
	content: "";
	position: absolute;
	width: 774px;
	height: 533px;
	background: url("./images/news_deco.jpg")no-repeat 50% / contain;
	top: 190px;
	right: -400px;
}

#home_news .post .cmn_btn04 {
	backdrop-filter: blur(15px) brightness(130%);
	-webkit-backdrop-filter: blur(15px) brightness(130%);
	background-color: hsla(0, 0%, 100%, .6);
}

@media (hover: hover){
	#home_news .post:hover .cmn_btn04::after {
		background-position: center right 100%;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トップ ＞ recruit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#home_recruit .cmn_btn04::after {
	width: 35px;
	height: 25px;
	background: url("./images/btn_arrows02.svg");
	background-size: auto 100%;
	background-position: center left 100%;
	right: 55px;
}

@media (hover: hover){
	#home_recruit > div:hover .cmn_btn04::after {
		background-position: center right 100%;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
フッター
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#footer-widgets .cmn_ttl::after {
	top: -50px;
}

#footer-widgets .privacy_menu .menu-item-privacy-policy {
	white-space: nowrap;
}

/*検索窓 SP*/
.side_search {
	display: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層　＞　会社を知る
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.page-ups .site-content, .inside-page-header {
    padding: 70px 110px 0px 110px;
}

.page-ups div div:has(.f_child_navi.paging_common){
    background-color: var(--h-child-navi-bg);
}

.page-ups .f_child_navi ul.child_navi {
    margin: 0 auto 0px;
    padding-bottom: 50px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層　＞　技術ページ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body.page-technic .h_child_navi {
    display:none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層　＞　コンパウンド技術
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.compound_service::after {
    content: "";
    position: absolute;
    width: 278px;
    height: 224px;
    background: url(./images/compound_service_after.png) no-repeat 50% / contain;
    top: -28px;
    right: 36px;
}

/*アコーディオン*/
.page-compound .sgb-acc__title {
    border: none; 
	box-shadow:none;
}

.page-compound .sgb-acc {
    border: 1px solid rgba(82, 81, 101, .12);
    border-radius: 5px;
    box-shadow: 0 3px 6px -1px rgba(77, 88, 101, .15);
    cursor: pointer;
    display: block;
    font-weight: 700;
    line-height: 1.5;
    padding: 15px;
    position: relative;
    transition: .3s;
}

.page-compound .sgb-acc .sgb-acc__content{
	cursor: default;
}

.page-compound .sgb-acc .sgb-acc__content > div {
    padding: 0 40px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層　＞　エントリー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-entry #work:has(a) .no_recruitment {
    display:none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下層　＞　エントリー詳細
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.single-job input#wpforms-8274-field_47 {
    pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
noimageの時の画像サイズ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[style*="noimage"] {
    background-size: 40%!important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ハンバーガーメニューのカスタマイズ(2023-03-13mk)
↓↓↓下記をまずは削除した上で、【https://coco-factory.jp/ugokuweb/move01-cat/humbugermenu/】から、お好みのボタンのCSSを追加
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	position: relative;/*ボタン内側の基点となるためrelativeを指定*/
	background:transparent;
	cursor: pointer;
	width: 50px;
	height:50px;
	border-radius: 5px;
}

/*ボタン内側*/
.openbtn span{
	display: inline-block;
	transition: all .4s;/*アニメーションの設定*/
	position: absolute;
	left: 13px;
	height: 2px;
	background:var(--text);
	width: 50%;
}

.openbtn span:nth-of-type(1) {
	top:20px; 
}

.openbtn span:nth-of-type(2) {
	top:28px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
	top: 18px;
	left: 18px;
	transform: translateY(6px) rotate(-45deg);
	width: 30%;
}

.openbtn.active span:nth-of-type(2){
	top: 30px;
	left: 18px;
	transform: translateY(-6px) rotate(45deg);
	width: 30%;
}