@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*------------------------------------
コンテンツ最大幅無効
------------------------------------*/
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
#	max-width: initial;
}


/*------------------------------------
横幅いっぱいコンテンツ
------------------------------------*/
.full-width {
	margin: 0 calc(50% - 50vw);
}

.full-width.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 100%;
}



/*------------------------------------
SNSフォローボタン
------------------------------------*/
.sns-follow-buttons a {
	background-color: #000;
	background-color: #1e1500;
}

.sns-follow-buttons a:first-child {
	display: none;
}


/*------------------------------------
関連記事
------------------------------------*/
.under-entry-content .related-entry-card-thumb-image {
	border-radius: 3px;
}

.under-entry-content .cat-label {
	top: 0.5em;
	left: 0.5em;
	padding: 1px 8px;
}


/*------------------------------------
header
------------------------------------*/

.header-container-in.hlt-top-menu {
	width:100%;
	padding: 5px;
}

/*navi*/
.header-container .navi {
	background: transparent !important;
}

.header-container .navi-in > ul {
	justify-content: flex-end;
}


/*------------------------------------
sidebar
------------------------------------*/
.sidebar h3, 
.sidebar h2 {
	padding: 6px 12px;
	margin: 16px 0;
	border-radius: 3px;
font-size: 17px;
letter-spacing: 0.1em;
}

.sidebar .new-entry-card-thumb {
	margin-right: 3%;
	border-radius: 3px;
	overflow: hidden;
}

.sidebar .widget-entry-cards .a-wrap {
	margin-bottom: 10px;
	padding: 10px 5px;
	line-height: 1.5;
}

.sidebar .widget-entry-cards .a-wrap:hover {
	background-color: rgba(169,173,176,0.1);
}

/*検索*/
/* ボックス部分 */
.search-edit, .search-box input[type="text"] {
	color: #4d4435;
	border-radius: 3px;
	outline: none;
	padding-left: 10px;
}

/* 検索ボタン */
[type=submit].search-submit {
	top: 0;
	right: 0;
	height: 100%;
	padding: 8px 25px;
	background: #32373c; 
	color: #fff; 
	font-size: 18px;
	font-weight: bold;
	border: none;
	border-radius: 0 3px 3px 0;
	transition:0.3s;
}

/* 検索ボタン(hover) */
@media screen and (min-width: 980px) {
	[type=submit].search-submit:hover {
		color: #fff;
		background: #a9b7ba;
	}
}


/*------------------------------------
main
------------------------------------*/
main {
	padding-bottom: 50px !important;
}

/*------------------------------------
footer
------------------------------------*/

#footer {
	position: relative;
	margin: 0;
}

/*
#footer::before {
	content: "";
	position: absolute;
	top: -90px;
	width: 100%;
	height: 100px;
	background:
		url("https://gac-web.com/wp-content/uploads/2026/01/kuwa.png") no-repeat left 0 bottom 0 / auto 100%,
		url("https://gac-web.com/wp-content/uploads/2026/01/machine.png") no-repeat left 50px bottom 0 / auto 60%;
z-index: 1;
pointer-events: none;
}

#footer::after {
	content: "";
	position: absolute;
	top: -60px;
	width: 100%;
	height: 75px;
	background:
		url("https://gac-web.com/wp-content/uploads/2026/01/footer_bg2.png") no-repeat right 2% bottom 3px / auto 80%,
		url("https://gac-web.com/wp-content/uploads/2026/01/footer_bg1.png") repeat-x left 0 bottom 10px / auto 100%;
pointer-events: none;
}

#footer .footer-bottom {
	margin: 10px 0 18px;
}

#footer .footer-bottom .footer-bottom-logo img {
	height: 35px;
}
*/

/*------------------------------------
モバイルメニュー
------------------------------------*/
.mobile-menu-buttons {
	background: #000;
	box-shadow: none;
	color: #fff;
}

.mobile-menu-buttons .menu-button > a {
	color: #fff;
}

.navi-menu-content {
	background: #000;
	color: #fff;
}

.navi-menu-close-button {
	display: none;
}

.menu-drawer {
	margin-top: 60px;
}

.menu-drawer .menu-item a {
	diplay: block;
	padding: 10px 5px;
	color: #fff;
}

/* 外部リンクにアイコンを追加するCSS */
.menu-drawer .menu-item a[target="_blank"]::after {
	content: "\f08e"; /* Font Awesomeの外部リンクアイコンのUnicode */
	font-family: FontAwesome; /* 使用するアイコンフォントの指定 */
	margin-left: 5px; /* テキストとの余白 */
	vertical-align: middle; /* 位置調整 */
}

.menu-drawer .menu-item a:hover {
	color: #f90;
	background: transparent;
}

.menu-drawer > .menu-item > a {
	font-weight: bold;
}

.menu-drawer .menu-item .sub-menu a {
	font-size: 15px;
}


/*------------------------------------
home
------------------------------------*/

.home .appeal {
	position: relative;
	z-index: 1;
}

.home .appeal::before {
	position: absolute;
	bottom: -40px;
	content: "";
	display: block;
	width: 100%;
	height: 40px;
	background:
		url(https://gac-web.com/wp-content/uploads/2026/01/f24bca8084f75602f0f873ba09a761ce-2.png) 
		center/auto 100% repeat-x;
	z-index: -1;
}

.home .appeal-title::before {
	position: absolute;
	right: -90px;
	top: -90px;
	content: "";
	display: block;
	width: 150px;
	height: 150px;
	background:
		url(https://gac-web.com/wp-content/uploads/2026/01/pngtree-gear-decoration-png-image_13219658.png) 
		center/contain no-repeat;
	opacity: 0;
	transition:0.3s;
	animation: rotateAnimation1 40s linear infinite;
}

.home .appeal-title::after {
	position: absolute;
	right: -140px;
	top: 20px;
	content: "";
	display: block;
	width: 100px;
	height: 100px;
	background:
		url(https://gac-web.com/wp-content/uploads/2026/01/pngtree-gear-decoration-png-image_13219658.png) 
		center/contain no-repeat;
	opacity: 0;
	animation: rotateAnimation2 10s linear infinite;
}

@keyframes rotateAnimation1 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(-360deg);
	}
}

@keyframes rotateAnimation2 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}


.home .header-container {
	position: relative !important;
	background-color: rgba(0,0,0,0.6) !important;
	z-index: 10;
}
.home .header-container.fixed-header {
	position: fixed !important;
	background-color: rgba(0,0,0,0.85) !important;
}

.home .appeal {
	margin-top: -70px;
}

.home .appeal-in {
	width: auto;
	margin: 0;
	padding: 0;
}

.home .appeal-content {
	max-width: none;
	width: auto;
	background-color: transparent;
	padding: 1em 2% 0.8em;
	color: #fff;
}

.home .appeal-title {
	position: relative;
	font-size: 3.3em;
	line-height: 130%;
	text-shadow: 
		0px 0px 20px #000,
		0px 0px 20px #000,
		0px 0px 20px #000;
}

.home .appeal-message {
	margin-bottom: 0;
	text-shadow: 
		0px 0px 5px #000,
		0px 0px 10px #000,
		0px 0px 10px #000;
}

.home .content {
	padding-top: 0;
}

.home main {
	padding-top: 0;
	border: 0;
}

.home .entry-content {
	margin-top: 0;
	margin-bottom: 3em;
}

/*タイトルと日時 HOMEでは不要なので消す*/
.home .entry-header {
	display: none;
}

/*見出し*/
.home .wp-block-heading {
	position: relative;
	min-width: 280px;
	max-width: 50%;
	margin: 0 auto;
	padding: 10px 20px;
	border-top: solid 2px black;
	border-bottom: solid 2px black;
	text-align: center;
	letter-spacing: 0.3em;
	color: #000;
	background-color: transparent;
	transform: translate(10px, 0);
}

.home .wp-block-heading::before {
	position: absolute;
	left: -15px;
	top: -40px;
	content: "";
	width: 120px;
	height: 120px;
	background:
		url(https://gac-web.com/wp-content/uploads/2026/01/midashi_bg.png) 
		center/contain no-repeat;
}

.home .wp-block-heading:after {
	content: '';
	position: absolute;
	top: 0;
	right: 7px;
	width: 2px;
	height: 100%;
	background-color: black;
}

/*新着記事*/
.home .columnlist {
	padding-top: 60px;
}

.home .columnlist:first-child {
	padding-top: 100px;
}

.home .columnlist ul {
	display: flex;
	flex-wrap: wrap;
	width: 96%;
	margin: 20px auto 0;
	padding: 0 0 30px;
}

.home .columnlist ul li {
	width: 33.33%;
	margin: 20px 0 0 0;
	padding: 0.5%;
}

.home .columnlist ul li a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #fff;
color: #000;
}

.home .columnlist ul li .wp-block-latest-posts__featured-image {
	overflow: hidden;
	border-radius: 3px;
	aspect-ratio: 2 / 1;
}

.home .columnlist ul li a img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.home .columnlist ul li .wp-block-latest-posts__post-title {
	margin-top: 10px;
	line-height: 131%;
}

.home .columnlist ul li .wp-block-latest-posts__post-date {
	margin-top: 5px;
	text-align: right;
	font-size: 12px;
}

.home .wp-block-column .wp-block-image img {
	width: 100%;
}


/*------------------------------------------------------------------------------
お問合せ
------------------------------------------------------------------------------*/

.page-contact .entry-title span {
	display: inline-block;
	margin-left: 15px;
	font-size: 24px;
}
@media (max-width: 64em) {
	.page-contact .entry-title span {
		margin-left: 10px;
		font-size: 14px;
	}
}

.page-contact .firsttext {
	max-width: 1000px;
	margin: 30px auto 50px;
	padding: 30px 25px;
	border-radius: 5px;
	border: solid 1px #aaa;
	color: #000;
}
@media (max-width: 480px) {
	.page-contact .firsttext {
		margin: 10px 0 20px;
		padding: 15px;
		font-size: 15px;
	}
}

.page-contact .firsttext h3 {
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	line-height: 150%;
	font-size: 1.5em;
}

.page-contact .firsttext p {
	margin-top: 5px;
	line-height: 150%;
}

.page-contact .firsttext .notice {
	margin-top: 0;
	padding: 0;
	border-left: 0;
}

@media (max-width: 64em) {
	.page-contact .wp-block-spacer {
		display: none;
	}
}

@media (max-width: 64em) {
	.page-contact .wpcf7 {
		margin-top: 0;
	}
}

.page-contact .wpcf7-form {
	width: 96%;
	max-width: 1000px;
	margin: 0 auto;
	font-size: 19px;
	color: #000;
}
@media (max-width: 64em) {
	.page-contact .wpcf7-form {
		width: 100%;
		margin: 0 auto;
		padding: 10px;
		font-size: 15px;
	}
}

@media (max-width: 64em) {
	.page-contact .wpcf7-form label:nth-of-type(1) {
		margin-top: 0;
	}
}

.page-contact .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}
@media (max-width: 64em) {
	.page-contact .wpcf7-form .wpcf7-form-control-wrap {
		margin-top: 5px;
	}
}

.page-contact .wpcf7-form p {
	margin: 0;
}

.page-contact .wpcf7-form div {
	display: flex;
	align-items: center;
	margin-top: 20px;
	padding: 2px 10px;
	border-left: solid 3px #a9b7ba;
}

.page-contact .wpcf7-form div span {
	display: inline-block;
	margin-left: 10px;
	padding: 0px 5px;
	border-radius: 3px;
	background: #faa61a;
	font-size: 12px;
}

.page-contact input, textarea {
	width: 100%;
	border: solid 1px #ddd;
}

.page-contact input:focus, 
.page-contact textarea:focus {
	outline: none;
}

.page-contact .wpcf7 form.sent .wpcf7-response-output {
	padding: 15px;
	border-color: #a9b7ba;
}

.page-contact .wpcf7-submit {
	display: block;
	width: auto;
	min-width: 150px;
	margin: 50px auto 0;
	padding: 15px 30px;
	border-radius: 10px;
	border: 0;
	background: #000;
	font-size: 14px;
	color: #fff;
}

.page-contact .date-tags {
	display: none;
}



/*------------------------------------------------------------------------------
一覧ページ
------------------------------------------------------------------------------*/
.archive .entry-card-thumb .entry-card-thumb-image {
	border-radius: 3px;
}

.archive .entry-card-thumb .cat-label {
	top: 0.5em;
	left: 0.5em;
	padding: 1px 8px;
}


/*------------------------------------------------------------------------------
投稿ページ
------------------------------------------------------------------------------*/
.wp-singular .eye-catch {
	overflow: hidden;
	max-width: 1200px;
	margin-top: 20px;
	margin-bottom: 30px;
	border-radius: 5px;
}

.wp-singular .entry-title {
	margin-top: 0;
	margin-bottom: 25px;
	padding: 15px 7px;
	border-bottom: solid 4px #000;
}
.entry-content {
	margin-top: 2em;
	margin-bottom: 2em;
}




/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1280px以上*/
@media screen and (min-width: 1280px){
	/*必要ならばここにコードを書く*/

/*------------------------------------
home
------------------------------------*/
	.home .appeal-title::before {
		opacity: 100;
	}

	.home .appeal-title::after {
		opacity: 100;
	}
}

/*1024px以上*/
@media screen and (min-width: 1024px){
	/*必要ならばここにコードを書く*/

/*------------------------------------
home
------------------------------------*/
	.home .columnlist ul {
		width: 75%;
	}

}


/*1023px以下*/
@media screen and (max-width: 1023px){
	/*必要ならばここにコードを書く*/

}


/*834px以下*/
@media screen and (max-width: 834px){
	/*必要ならばここにコードを書く*/

/*------------------------------------
SNSフォローボタン
------------------------------------*/
	.sns-follow-buttons {
		margin: 2.5em 0 0;
	}

	.sns-follow-buttons a {
		width: 40px;
	}

/*------------------------------------
home
------------------------------------*/
/*見出し*/
	.home .wp-block-heading {
		width: 60%;
		margin-bottom: 40px;
		font-size: 15px;
	}


	.home .columnlist .wp-block-heading {
		margin-bottom: 0;
		transform: translate(15px, 0);
	}

	.home .wp-block-heading::before {
		left: -30px;
		top: -17px;
		content: "";
		width: 70px;
		height: 70px;
	}

/*480px以下*/
@media screen and (max-width: 480px){
	/*必要ならばここにコードを書く*/

/*------------------------------------
home
------------------------------------*/
	.home .appeal .appeal-in {
		min-height: 100vh;
		min-height: 100lvh;
	}

	.home .appeal-title {
		font-size: 2.9em;
		text-align: left;
		z-index: 1;
	}

	.home .appeal-title::before {
		right: 30px;
		opacity: 100;
		z-index: -1;
display: none;
	}

	.home .appeal-title::after {
		right: -10px;
		top: 5px;
		width: 75px;
		height: 75px;
		opacity: 100;
		z-index: -1;
display: none;
	}

	.home .appeal-message {
		text-align: left;
	}

	.home .columnlist {
		padding-top: 30px;
	}

	.home .columnlist:first-child {
		padding-top: 100px;
	}

	.home .columnlist ul li {
		width: 100%;
		padding: 2%;
	}

}


