/*
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: #FF7F00;
	--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 {
  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;
}

/*------ 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_address {
	font-style: normal;
}
.footer_copyright {
	font-size: 14px;
}

/*------ common parts ---------*/
.button_youtube {
	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::before {
	content: url(./assets/img/common/icon_youtube.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);
}
.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);
}
.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-soze: 18px;
	color: #555555;
}
.top_service_item_image {
	width: 30%;
	border: 1px solid rgba(0,0,0,0.1);
	overflow: hidden;
	border-radius: 8px;
}
.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_news_item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.top_news_item_date {
	font-size: 16px;
	color: var(--sub-text-color);
}
.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;
}
.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;
}
.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);
}