/*
Theme Name: 旭広告社
Description: 
*/

/* トップページ 本音の悩み */
.p-top-honne {
	padding-top: 160px;
}

.p-top-honne__heading {
	color: #0F1914;
}

.p-top-honne__intro {
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.6;
	margin-top: 80px;
}

@media screen and (max-width: 767px) {
	.p-top-honne {
		padding-top: 80px;
	}

	.p-top-honne__intro {
		font-size: 1rem;
		margin-top: 40px;
	}
}

.p-top-honne-knowhow {
	padding: 80px 0;
}

.p-top-honne-knowhow__card {
	padding: 40px 32px;
	background-color: #DCE6F0;
	border-radius: 20px 0px;
}

.p-top-honne-knowhow__heading {
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.8;
	color: #073A82;
	text-align: center;
}

.p-top-honne-knowhow__list {
	display: flex;
	gap: 24px;
	margin-top: 32px;
}

.p-top-honne-knowhow__list li {
	padding: 32px 0;
	background-color: #FFFFFF;
	border-radius: 20px 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	flex-basis: 100%;
}

.p-top-honne-knowhow__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.p-top-honne-knowhow__title {
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.6;
	color: #073A82;
	text-align: center;
}

.p-top-honne-knowhow__detail {
	padding: 0 32px;
}

.p-top-honne-knowhow__copy {
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.6;
	text-align: center;
	color: #24282E;
}

.p-top-honne-knowhow__description {
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.6;
	margin-top: 12px;
}

@media screen and (max-width: 980px) {
	.p-top-honne-knowhow__title {
		font-size: 1rem;
		padding: 0 10px;
	}

	.p-top-honne-knowhow__copy {
		font-size: 0.875rem;
	}

	.p-top-honne-knowhow__description {
		font-size: 0.875rem;
	}

	.p-top-honne-knowhow__detail {
		padding: 0 20px;
	}
}

@media screen and (max-width: 767px) {
	.p-top-honne-knowhow {
		padding: 60px 0;
		margin: 0 calc(50% - 50vw);
		overflow: hidden;
		width: 100vw;
	}

	.p-top-honne-knowhow__heading {
		font-weight: 700;
		font-size: 1.5rem;
		line-height: 1.6;
	}

	.p-top-honne-knowhow__list {
		margin-top: 40px;
		flex-direction: column;
	}

	.p-top-honne-knowhow__content {
		gap: 10px;
	}

	.p-top-honne-knowhow__title {
		font-size: 1.5rem;
	}

	.p-top-honne-knowhow__copy {
		font-size: 1.125rem;
	}

	.p-top-honne-knowhow__detail {
		padding: 0 32px;
	}

	.p-top-honne-knowhow__list li:last-child .p-top-honne-knowhow__detail {
		padding: 0 20px;
	}
}

.p-top-honne-post__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.p-top-honne-post__list a {
	display: block;
	padding: 40px 40px 20px;
	background-color: #FFFFFF;
	border: 2px solid #DCE6F0;
	border-radius: 20px 0px;
	width: 100%;
	height: 100%;
}

@media(hover: hover) {

	.p-top-honne-post__list a:hover .c-more .c-more__text,
	.p-top-honne-post__list a:hover .p-top-honne-category,
	.p-top-honne-post__list a:hover .p-top-honne-post__detail {
		opacity: .6
	}

	.p-top-honne-post__list a:hover .c-more .c-more__arrow::before {
		width: 100%;
		height: 100%;
		animation-name: hover_circle_center;
		animation-duration: 200ms;
		animation-timing-function: linear;
		animation-fill-mode: both;
		animation-delay: 200ms;
		top: 50%;
		left: 50%
	}

	.p-top-honne-post__list a:hover .c-more .c-more__arrow::after {
		opacity: 1
	}
}

.p-top-honne-post__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.p-top-honne-category {
	align-self: flex-start;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1;
	color: #FFFFFF;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 6px 15px;
	border-radius: 40px;
	transition: opacity 400ms;

	&.management {
		background-color: #1C4388;
	}

	&.sales {
		background-color: #C87000;
	}

	&.ad {
		background-color: #006536;
	}

	&.organization {
		background-color: #5C0178;
	}
}

.p-top-honne-post__detail {
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.8;
	margin-top: 10px;
	transition: opacity 400ms;
}

.p-top-honne-post__more {
	margin-top: 16px;
}

@media screen and (max-width: 767px) {
	.p-top-honne-post {
		padding-bottom: 56px;
	}

	.p-top-honne-post__list {
		grid-template-columns: 1fr;
	}

	.p-top-honne-post__detail {
		font-size: 1.125rem;
		margin-top: 14px;
	}

	.p-top-honne-post__more {
		margin-top: 4px;
	}
}

.p-top-honne-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(15px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 6;
	opacity: 0;
	visibility: hidden;
	transition: opacity 400ms, visibility 400ms;

	&.is-open {
		opacity: 1;
		visibility: visible;
	}
}

.p-top-honne-modal-content {
	width: 800px;
	background-color: #FFFFFF;
	border-radius: 20px 0px 20px 0px;
	overflow: hidden;
}

.p-top-honne-modal-content__head {
	background-color: #073A82;
	padding: 40px;
}

.p-top-honne-modal-content__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.p-top-honne-modal-content__close::before {
	content: '';
	width: 40px;
	height: 40px;
	display: block;
	background-image: url(./assets/img/top/icon_close_modal.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

.p-top-honne-modal-content__summary {
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.8;
	color: #FFFFFF;
	margin-top: 14px;
}

.p-top-honne-modal-content__main {
	padding: 40px;
}

.p-top-honne-modal-content__breakthrough {
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1;
	color: #E60012;
}

.p-top-honne-modal-content__copy {
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.8;
	color: #073A82;
	margin-top: 6px;
}

.p-top-honne-modal-content__description {
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 12px;
}

.p-top-honne-modal-content__submit {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 30px;
}

.p-top-honne-modal-content__button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 160px;
	height: 61px;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1;
	color: #FFFFFF;
	border-radius: 40px;
	padding-bottom: 2px;

	&:first-child {
		background-color: #1C4388;
	}

	&:last-child {
		background-color: #C0C0C0;
	}
}

@media screen and (max-width: 980px) {
	.p-top-honne-modal-content {
		width: 90%;
	}
}

@media screen and (max-width: 767px) {
	.p-top-honne-modal-content__head {
		padding: 20px;
	}

	.p-top-honne-modal-content__summary {
		font-size: 1rem;
		margin-top: 18px;
	}

	.p-top-honne-modal-content__main {
		padding: 40px 20px;
	}

	.p-top-honne-modal-content__copy {
		font-size: 1.5rem;
	}

	.p-top-honne-modal-content__submit {
		flex-direction: column;
	}

	.p-top-honne-modal-content__button {
		width: 100%;
	}
}

/* 医療広告支援事業 バナー */
.p-service-clinic-banner {
	padding: 160px 0;

	img {
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.p-service-clinic-banner {
		padding: 80px 0;
	}
}

/* 本音の悩み問い合わせ */
.p-honne-contact-page-container {
	padding-bottom: 120px;
}

.p-honne-contact-page-container .c-breadcrumbs__item span {
	max-width: 160px;
}

.p-honne-contact {
	padding-top: 128px;
}

.p-honne-contact-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.p-honne-contact-item {
	&:first-child {
		padding-right: 80px;
	}
}

.p-honne-contact-information {
	padding: 60px 40px 40px;
	background-color: #DCE6F0;
	border-radius: 20px 0px;
}

.p-honne-contact-side__heading {
	img {
		width: 100%;
	}
}

.p-honne-contact-information__img {
	margin-top: 32px;

	img {
		width: 100%;
	}
}

.p-honne-contact-information__tel {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-honne-contact-information__tel-title {
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1;
	color: #073A82;
	text-align: center;
}

.p-honne-contact-information__tel-main {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 9px;
}

.p-honne-contact-information__tel-num {
	display: inline-block;
	font-weight: 500;
	font-size: 1.5625rem;
	line-height: 1;
	color: #073A82;
}

.p-honne-contact-information__tel-note {
	font-weight: 400;
	font-size: 0.75rem;
	line-height: 1;
	color: #073A82;
	text-align: center;
}

.p-honne-contact-form__heading {
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.2;
	color: #19191B;

	&.big {
		font-size: 2.5rem;
	}
}

.p-honne-contact-form__note {
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.1;
	margin-top: 6px;
}

.p-honne-contact-form__content {
	margin-top: 48px;
}

.p-honne-contact-form__category {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-honne-contact-form__details {
	padding: 32px;
	background-color: #FFFFFF;
	border: 2px solid #E7E7E7;
	border-radius: 8px;

	&::details-content {
		content-visibility: unset;
		display: grid;
		transition-duration: 400ms;
		transition-property: grid-template-rows;
	}

	&:not([open])::details-content {
		grid-template-rows: 0fr;
	}

	&[open]::details-content {
		grid-template-rows: 1fr;
		border-top: 1px solid #E7E7E7;
		margin-top: 18px;
	}
}

.p-honne-contact-form__details[open] .p-honne-contact-form__summary::after {
	rotate: -180deg;
}

.p-honne-contact-form__summary {
	display: flex;
	gap: 18px;
	align-items: center;
	cursor: pointer;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.6;
	color: #0D438F;
	position: relative;

	&::-webkit-details-marker {
		display: none;
	}

	&::before,
	&::after {
		content: '';
		display: block;
		background-repeat: no-repeat;
		background-size: contain;
	}

	&::before {
		width: 50px;
		height: 35px;
		flex-shrink: 0;
	}

	&::after {
		width: 30px;
		height: 30px;
		position: absolute;
		top: 50%;
		right: 0;
		translate: 0 -50%;
		background-image: url(./assets/img/honne-contact/arrow_category.svg);
		transition: rotate 400ms;
	}

	&.category01::before {
		background-image: url(./assets/img/honne-contact/icon_category01.svg);
	}

	&.category02::before {
		background-image: url(./assets/img/honne-contact/icon_category02.svg);
	}

	&.category03::before {
		background-image: url(./assets/img/honne-contact/icon_category03.svg);
	}

	&.category04::before {
		background-image: url(./assets/img/honne-contact/icon_category04.svg);
	}
}

.p-honne-contact-form__summary::-webkit-details-marker {
	display: none;
}

.p-honne-contact-form__details-content {
	overflow: hidden;
}

.p-honne-contact-form__details-inner {
	padding-top: 18px;

	.wpcf7-form-control.wpcf7-checkbox {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.wpcf7-list-item {
		margin: 0;

		label {
			cursor: pointer;
			display: flex;
			align-items: center;
			gap: 8px;
		}
	}

	.wpcf7-list-item-label {
		font-weight: 400;
		font-size: 1.125rem;
		line-height: 1;
		color: #000000;
	}

	input[type="checkbox"] {
		width: 24px;
		height: 24px;
		flex-shrink: 0;
		border: 2px solid #A0A0A0;
		border-radius: 5px;
		appearance: none;
		position: relative;

		&:checked {
			background-color: #073A82;
			border-color: #073A82;
		}

		&:checked::before {
			content: '';
			position: absolute;
			top: 50%;
			left: 50%;
			translate: -50% -50%;
			width: 17px;
			height: 12px;
			background-image: url(./assets/img/honne-contact/icon_check.svg);
			background-repeat: no-repeat;
			background-size: contain;
		}
	}
}

.p-honne-contact-form__button {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 48px;
	position: relative;

	.wpcf7-spinner {
		position: absolute;
		top: 20px;
		left: 102%;
		margin: 0;
	}
}

.p-honne-contact-form__submit,
.p-honne-contact-form__return {
	width: 100%;
	height: 65px;
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1;
	color: #FFFFFF;
	padding-bottom: 4px;
}

.p-honne-contact-form__submit {
	background-color: #073A82;

	&::after {
		content: '';
		width: 20px;
		height: 20px;
		background-image: url(./assets/img/honne-contact/arrow_right-white.svg);
		background-repeat: no-repeat;
		background-size: contain;
	}
}

.p-honne-contact-form__return {
	background-color: #A0A0A0;

	&::before {
		content: '';
		width: 20px;
		height: 20px;
		background-image: url(./assets/img/honne-contact/arrow_right-white.svg);
		background-repeat: no-repeat;
		background-size: contain;
		scale: -1 1;
	}
}

.p-honne-contact-form__input {
	display: flex;
	flex-direction: column;
	gap: 32px;

	input[type="text"],
	input[type="email"],
	input[type="tel"],
	textarea {
		width: 100%;
		font-weight: 400;
		font-size: 1rem;
		line-height: 1.6;
		color: #0F1914;
		padding: 20px;
		background: #FFFFFF;
		border: 1px solid #D4D3CF;

		&::-webkit-input-placeholder,
		&::-ms-input-placeholder,
		&::-moz-placeholder {
			color: #0F1914;
			opacity: 0.3;
		}
	}

	input[type="text"],
	input[type="email"],
	input[type="tel"] {
		height: 60px;
	}

	textarea {
		height: 240px;
		resize: none;
	}
}

.p-honne-contact-form__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;

	.label {
		font-weight: 400;
		font-size: 1rem;
		line-height: 1;
		color: #0F1914;
		position: relative;
		top: -2px;
	}

	.icon {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		width: 30px;
		height: 17px;
		font-weight: 400;
		font-size: 0.625rem;
		line-height: 1;
		color: #FFFFFF;
		border-radius: 3px;

		&.required {
			background-color: #0172D8;
		}

		&.optional {
			background-color: #A0A0A0;
		}
	}
}

.p-honne-contact-form__privacy {
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #0F1914;

	a {
		color: #0172D8;
		text-decoration-line: underline;
	}
}

.p-honne-contact-tnanks {
	padding-top: 160px;
}

.p-honne-contact-tnanks__container {
	display: flex;
	flex-direction: column;
	gap: 60px;
	text-align: center;
}

.p-honne-contact-tnanks__heading {
	font-weight: 400;
	font-size: 1.75rem;
	line-height: 1.8;
	color: #0F1914;
}

.p-honne-contact-tnanks__detail {
	padding: 40px 0;
}

.p-honne-contact-tnanks__description {
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.8;
	color: #0F1914;
}

@media screen and (max-width: 980px) {
	.p-honne-contact-item {
		&:first-child {
			padding-right: 40px;
		}
	}
}

@media screen and (max-width: 767px) {
	.p-honne-contact {
		padding-top: 94px;
	}

	.p-honne-contact-row {
		grid-template-columns: 1fr;
	}

	.p-honne-contact-form__heading,
	.p-honne-contact-form__heading.big {
		font-size: 1.5rem;
		line-height: 1.6;
		color: #24282E;
	}

	.p-honne-contact-form__note {
		font-size: 0.875rem;
		line-height: 1.4;
		margin-top: 0;
	}

	.p-honne-contact-form__content {
		margin-top: 32px;
	}

	.p-honne-contact-form__details {
		padding: 24px;
	}

	.p-honne-contact-form__summary {
		font-size: 1.125rem;
	}

	.p-honne-contact-form__submit,
	.p-honne-contact-form__return {
		font-size: 1.125rem;
	}

	.p-honne-contact-form__label {
		.label {
			top: -1px;
		}
	}

	.p-honne-contact-tnanks {
		padding-top: 94px;
	}

	.p-honne-contact-tnanks__container {
		gap: 40px;
	}

	.p-honne-contact-tnanks__heading {
		font-size: 1.125rem;
	}

	.p-honne-contact-tnanks__detail {
		padding: 0 0 20px;
	}

	.p-honne-contact-tnanks__description {
		font-size: 0.9375rem;
	}
}