/*
Theme Name: GoodCM2025
Author: the geeker-natsumi
Description: グッドCM合同会社のテーマファイル
Version: 1.0
*/
body {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	box-sizing: border-box;
	font-weight: 400;
	font-style: normal;
	
	/* 共通カラー設定 */
	--primary-color: #e95c20;
	--secondary-color: #FFCE48;
	--text-color: #151515;
	--sub-text-color: #bcbcbc;
	--bg-color: #f8f8f8;
	
	color: var(--text-color);
}
img {
	max-width: 100%;
}

a {
	transition: .3s ease opacity;
	text-decoration: none;
}
a:hover {
	opacity: .7;
}
a:visited {
	color: inherit;
}

.visible-sp {
	display: none;
}

@media screen and (max-width: 768px) {
	.visible-sp {
		display: block;
	}
	.visible-pc {
		display: none;
	}
}

.swiper-slide {
  height: 13vw !important;
  width: fit-content !important;
}
.swiper-slide img,.swiper-slide picture {
  width: auto;
  height: 100%;
  object-fit: cover;
}
.swiper-wrapper {
    transition-timing-function: linear !important;
}

/*------ header ---------*/
.header {
	width: 100%;
	position: fixed;
	background: rgba(255,255,255,0.8);
	padding: 16px 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	top: 0;
	left: 0;
	z-index: 100;
}

.header_nav {
	display: flex;
	align-items: center;
	gap: 42px;
}
.header_nav_item {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	display: flex;
	flex-direction: column;
	color: var(--text-color);
}
.header_nav_item_en {
	text-align: center;
	font-size: 12px;
	color: var(--sub-text-color);
	font-weight: normal;
}
.header_nav_item-contact {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color);
	color: #fff;
	padding: 16px 24px;
	border-radius: 999px;
}
.header_nav_item-contact::before {
	content: url(./assets/img/common/icon_mail.svg);
}

.header_nav_item-contact:visited {
	color: #fff;
}
.button_top {
	position: fixed;
	bottom: 20px;
	right: 28px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	border-radius: 99px;
	display: none;
}
.header_humberger {
	appearance: none;
	outline: none;
	border: none;
	background: transparent;
}
@media screen and (max-width: 768px) {
	.button_top {
		width: 56px;
		height: 56px;
	}
	.button_top img {
		width: 100%;
		height: auto;
	}
	.header {
		padding: 8px 16px;
		flex-wrap: wrap;
	}
	.header_nav {
		display: none;
		width: 100%;
		text-align: left;
		padding: 24px 0;
	}
	.header_nav_item {
		text-align: left;
		margin: 0 0 24px 0;
		font-size: 16px;
	}
	.header_nav_item_en {
		text-align: left;
	}
	.header_nav_item-contact {
		width: fit-content;
	}
	.header_humberger {
		display: flex;
		flex-direction: column;
		gap: 6px; 
		align-items: center;
	}
	.header_humberger_line {
		display: inline-block;
		width: 32px;
		height: 3px;
		border-radius: 2px;
		background: var(--text-color);
		transition: 0.4s ease;
	}
	.header_humberger_text {
		font-size: 14px;
		color: var(--text-color);
	}
	.is-open .header_humberger_line:first-child {
		opacity: 0;
	}
	.is-open .header_humberger_line:nth-child(2) {
		transform: rotate(45deg);
	}
	.is-open .header_humberger_line:nth-child(3){
		transform: rotate(-45deg);
		margin-top: -9px;
	}
}
/*------ footer ---------*/
.footer {
	background: var(--primary-color);
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 38px 32px 48px 32px;
}
.footer_logo img{
	margin: auto;
}
.footer_company {
	font-size: 16px;
}
.footer_nav {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: center;
}
.footer_nav_item {
	font-size: 14px;
	color: #fff;
}
.footer_link_external {
	color: #fff;
	font-size:  16px;
}
.footer_sns {
	display: flex;
	justify-content: center;
	align-content: center;
	gap: 34px;
}
.footer_sns_title {
	font-size: 12px;
}
.footer_address {
	font-style: normal;
}
.footer_copyright {
	font-size: 14px;
}

/*------ common parts ---------*/
.button_youtube, .button_external {
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
	font-size: 14px;
	font-weight: bold;
	border-radius: 99px;
	padding: 12px 24px;
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1em;
	gap: 4px;
}
.button_youtube:visited, .button_external:visited {
	color: var(--primary-color);	
}
.button_youtube::before {
	content: url(./assets/img/common/icon_youtube.svg);
}
.button_external::after {
	content: url(./assets/img/common/icon_external.svg);
}
/*------ top page ---------*/
.main {
	padding: 77px 0 0 0;
}
.mainvisual {
	padding: 34px 0 6% 0;
	position: relative;
	background: linear-gradient(transparent 70%, var(--secondary-color) 70%);
}
.mainvisual_catchcopy {
	position: relative;
	padding: 0 24px;
	margin: 0 0 34px 0;
	width: 68%;
}
.mainvisual_catchcopy img {
	position: relative;
	width: 100%;
	height: auto;
}
.mainvisual_catchcopy::before {
	content: "";
	position: absolute;
	display: block;
	width: 105%;
	height: 38%;
	bottom: 21%;
	left: 0;
	background: var(--secondary-color);
	z-index: 0;
}
.mainvisual_headphone {
	position: absolute;
	width: 100%;
	top: -5%;
	left: 0;
	z-index: 1;
}
.mainvisual_subcopy {
	position: absolute;
	right: 0;
	top: 87%;
	width: 75%;
	z-index: 0;
	max-width: 962px;
}
.mainvisual_subcopy img {
	width: 100%;
}
.mainvisual .swiper-slide {
	box-shadow: 0 1px 20px rgba(0,0,0,.16);
}
@media screen and (max-width: 768px) {
	.mainvisual_catchcopy {
		width: 100%;
	}
	.swiper-slide {
  height: 30vw !important;
	}
	.mainvisual {
		padding-bottom: 20%;
		background: linear-gradient(transparent 60%, var(--secondary-color) 60%);
	}
	.mainvisual_catchcopy::before {
		width: 100%;
	}
	.mainvisual_subcopy {
		top: 80%;
		width: 85%;
	}
	.mainvisual_headphone {
		top: 55%;
	}
}
.top_section_wrapper {
	display: flex;
	max-width: 1172px;
	padding: 88px 24px;
	margin: 0 auto;
	justify-content: space-between;
	align-items: flex-start;
}
.top_section_title {
	flex-shrink: 0;
}
.top_section_content {
	width: calc(100% - 135px);
}
@media screen and (max-width: 768px) {
	.top_section_title {
		text-align: center;
		margin: 0 auto 30px auto;
	}
	.top_section_wrapper {
		flex-direction: column;
		padding: 54px 24px;
	}
	.top_section_content {
		width: 100%;
		padding: 24px 0;
	}
}
.top_service_content {
	margin: -150px 0 0 0;
	position: relative;
	background: rgba(255,255,255,0.85);
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
	padding: 48px;
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.top_service_title {
	margin: -60px 0 0 0;
}
.top_service_item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.top_service_item_text {
	width: 70%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.top_service_item_text a {
	color: var(--primary-color);
	text-decoration: underline;
}
.top_service_item_title {
	font-size: 24px;
	color: var(--text-color);
	margin: 0 0 8px 0;
}
.top_service_item_caption {
	font-size: 18px;
	color: #555555;
}
.top_service_item_image {
	width: 30%;
	border: 1px solid rgba(0,0,0,0.1);
	overflow: hidden;
	border-radius: 8px;
}
@media screen and (max-width: 768px) {
	.top_service_title {
		margin: 0 auto  30px auto;
	}
	.top_service_content {
		margin: 0;
		background: transparent;
		box-shadow: none;
		padding: 0;
	}
	.top_service_item {
		flex-direction: column;
		gap: 14px;
	}
	.top_service_item_title {
		margin: 0;
		font-size: 18px;
	}
	.top_service_item_text {
		width: 100%;
		font-size: 16px;
	}
	.top_service_item_image { 
		width: 100%;
	}
	.top_service_item_number {
		width: 57px;
	}	
}
.top_works,.top_company {
	background: var(--bg-color);
}
.top_works_content {
	display: flex;
	flex-direction: column;
	gap: 53px;
}
.top_works_item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.top_works_item_image {
	width: 58%;
}
.top_works_item_data {
	padding: 8px 0;
	width: 42%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.top_works_item_tag {
	width: fit-content;
	padding: 4px 8px;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	font-size: 16px;
}
.top_works_item_title {
	font-size: 32px;
	margin: 0;
}
.top_works_item_type, .top_works_item_client, .top_works_item_term {
	font-size: 16px;
	margin: 0;
}
.top_works_item_term {
	margin-bottom: 12px;
}
.top_works_linkarea {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
	.top_works_item {
		flex-direction: column;
		gap: 20px;
	}
	.top_works_item_data { 
		width: 100%;
	}
	.top_works_item_image { 
		width: 100%;
	}
	.top_works_item_title {
		font-size: 24px;
	} 
	 }
.top_news_item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.top_news_item_date {
	font-size: 16px;
	color: var(--sub-text-color);
}
.top_news  {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.top_news_content {
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding: 0 0 32px 0;
	line-height: 1.8em;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.top_news_content a {
	color: var(--primary-color);
}
.top_company_content {
	display: flex;
	flex-direction: column;
}
.top_company_item {
	border-bottom: 1px solid rgba(0,0,0,.1);
	padding: 20px 0;
}
.top_company_item_title {
	font-size: 16px;
	color: var(--sub-text-color);
	margin: 0 0 8px 0;
}
.top_company_item_content {
	font-size: 16px;
}
.top_company_list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.top_contact {
	background: url(./assets/img/top/img_bg_contact.webp) center center no-repeat;
	background-size: cover;	
}
.top_contact_wrapper {
	display: flex;
	max-width: 1172px;
	padding: 88px 24px;
	margin: 0 auto;
	flex-direction: column;
	background: url(./assets/img/top/title_contact.svg) center 30px no-repeat;
	background-size: 100% auto;
	text-align: center;
}
.top_contact_title {
	margin: 54px 0 0 0;
	font-size: 48px;
	font-weight: bold;	
}
.top_contact_caption {
	font-size: 18px;
	color: #555555;
	margin: 36px 0 24px 0;
}
.top_contact_content {
	text-align: left;
}
@media screen and (max-width: 768px) {
	.top_contact_title {
		font-size: 32px;
	}
	.top_contact_wrapper {
		background-size: 80% auto;
		padding-top: 20px;
	}
}
.wpcf7 {
	max-width: 465px;
	margin: 0 auto;
}
.wpcf7 .required {
	color: #FD5151;
}
.wpcf7-text,.wpcf7-textarea {
	width: 100%;
	border-radius: 8px;
	font-size: 16px;
	margin: 8px 0 16px 0;
	padding: 8px 4px;
	border: 1px solid var(----sub-text-color);
}
.wpcf7-submit {
	width: 188px;
	text-align: center;
	padding: 16px;
	color: #fff;
	font-size: 18px;
	color: #fff;
	border-radius: 99px;
	background: var(--primary-color);
	border: none;
	outline: none;
	margin: 0 auto;
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: .4s ease;
}
.wpcf7-form p {
	text-align: center;
	position: relative;
}
.wpcf7-form p label {
	display: block;
	text-align: left;
}
.wpcf7-submit:hover {
	opacity: 0.7;
}
.wpcf7-spinner {
	background-color: var(--secondary-color) !important;
	position: absolute !important;
	right: 50%;
	top: 30%;
}
.wpcf7-response-output {
	border: 2px solid #fff;
	border-radius: 4px;
	background: rgba(255,255,255,0.8);
}