@charset "utf-8";
@import url("color.css");

/* =================================================
header〜nav
==================================================*/
header {
	flex-direction: column;
	padding-top: 3vw;
}

nav {
	width: min(100%, 1000px);
	padding: 0 5vw;
	margin: 0 auto;
	display: flex;
	align-items: center;
    justify-content: space-between;
}

section:last-child {
	margin-bottom: 50px;
}

.header-sub-logo {
	display: block;
	width: 40px;
}

.nav-list {
	width: 80%;
	margin: 0;
}

.sub-mv .page-title {
	padding: 5vw  0;
	margin-bottom: 0;
}

.page-sec-title {
	text-align: center;
	position: relative;
	font-family: var(--hongmong-font-maru);
	color: var(--hongmong-navy);
	font-size: 1.5rem; /*24px*/
	padding-top: 40px;
	margin-bottom: 3vw;
}

.page-sec-title  span {
	position: relative;
	z-index: 0;
}

.page-sec-title::before {
	content: attr(data-en);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	color: var(--hongmong-white);
	font-size: 2.75rem; /*44px*/
	font-weight: 700;
}

.page-sec-color::before {
	color: var(--hongmong-lightblue);
}

.page-sec-wrapper:not(:last-child) {
	margin-bottom: 5vw;
}

.sec-large-text {
	font-family: var(--hongmong-font-maru);
	font-weight: 600;
	font-size: 1.25rem; /*20px*/
	color: var(--hongmong-navy);
	text-align: center;
	margin-bottom: 2vw;
}

.sec-large-text span {
	font-size: 0.8em;
	line-height: 200%;
	margin-left: 1em;
}

/* =================================================
会社概要ページ
==================================================*/
#sec-company-greeting {
	background-color: var(--hongmong-base);
}

#sec-company-greeting .wrapper,
#sec-company-info .wrapper  {
    width: min(100%, 800px);
}

.list-flex {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.list-flex:not(:last-child) {
	margin-bottom: 1.5em;
}

.sec-company-story {
	display: flex;
}

.company-story-list {
	display: flex;
	flex-direction: column;
	padding: 0.5em 0 0.5em 1.5rem;
    margin-left: 3em;
    border-left: 2px solid var(--hongmong-navy);
}

.company-story-list .list-flex dt {
	width: 6em;
	font-weight: 600;
} 

.company-story-list .list-flex dd {
	flex: 1;
} 

.company-info-list {
	background-color: var(--hongmong-white);
	box-shadow: var(--hongmong-shadow);
	border-radius: 20px;
	padding: 4vw 7vw;
}

.company-info-list .list-flex {
	border-bottom: 1px dotted var(--hongmong-gray);
	padding: 2em 0;
	margin-bottom: 0;
}

.company-info-list .list-flex dt {
	background-color: var(--hongmong-pink);
	color: var(--hongmong-white);
	width: 8em;
	padding: 2px;
	text-align: center;
	border-radius: 20px;
	margin-right: 2em;
} 

.company-info-list .list-flex dd {
	flex: 1;
	padding-top: 0.25em;
} 


/* =================================================
事業案内ページ
==================================================*/
#sec-service-01 .wrapper {
	padding-top: 0;
}

.service-badge {
	margin-right: 15px;
}

.service-item-disc-ttl {
	color: var(--hongmong-navy);
	font-family: var(--hongmong-font-maru);
	font-size: 1.5rem; /*24px*/
	font-weight: 500;
	display: flex;
    align-items: center;
	padding-left: calc(36% + 50px);
}

.service-item-disc-inner {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-item-disc-img {
	border-radius: 20px;
	overflow: hidden;
    margin-top: -60px;
	margin-right: 50px;
    width: 36%;
}

.service-item-disc-text {
	flex: 1;
	padding-top: 1.5rem;
}

.service-icon-list {
	background-color: var(--hongmong-base);
	font-weight: 600;
	border-radius: 20px;
	padding: 50px;
	position: relative;
	margin-top: 80px;
}

.service-icon-ttl {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--hongmong-green);
	color: var(--hongmong-white);
	width: 12em;
	padding: 2px 10px;
	border-radius: 30px;
	font-size: 1.25rem; /*20px*/
	text-align: center;
	font-family: var(--hongmong-font-maru);
}

.service-icon-list-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.service-icon-item {
	text-align: center;
	width: 25%;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	font-family: var(--hongmong-font-maru);
	color: var(--hongmong-navy);
}

.service-icon-item-img {
	width: 30%;
	margin-top: 1rem;
}

/* =================================================
実績ページ
==================================================*/
.achievements-voice-item {
    position: relative;
}

.achievements-voice-item::before {
    content: '';
    display: block;
    background: var(--hongmong-base);
    width: 70%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 0 50px 50px 0;
}

.achievements-voice-item:nth-child(odd)::before {
    width: 70%;
    height: 100%;
    position: absolute;
    top: 0;
	right: 0;
    border-radius: 50px 0 0 50px;
}

.achievements-voice-name {
	color: var(--hongmong-navy);
	font-family: var(--hongmong-font-maru);
	font-size: 1.125rem; /*18px*/
	font-weight: 600;
}

.achievements-voice-item:nth-child(odd) .achievements-voice-name  {
	padding-left: calc(40% + 50px);
}

.achievements-voice-name span {
	font-size: 1.5rem; /*24px*/
}

.achievements-voice-inner {
	display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
	position: relative;
}

.achievements-voice-item:nth-child(odd) .achievements-voice-inner {
    flex-direction: row;
}

.achievements-voice-inner::after {
	content: 'CLIENT';
    position: absolute;
	top: 50%;
    right: 22%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--hongmong-font-maru);
    color: var(--hongmong-white);
    font-size: 5.125rem; /*82px*/
    font-weight: 700;
	line-height: 100%;
}

.achievements-voice-item:nth-child(odd) .achievements-voice-inner::after {
	right: 42%;
}

.achievements-voice-img {
	border-radius: 20px;
	overflow: hidden;
    margin-top: -70px;
	margin-left: 50px;
    width: 40%;
}

.achievements-voice-item:nth-child(odd) .achievements-voice-img {
    margin-left: 0;
	margin-right: 50px;
}

.achievements-voice-ttl {
	color: var(--hongmong-navy);
	font-family: var(--hongmong-font-maru);
	font-size: 1.2rem; 
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.achievements-voice-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.achievements-voice-text dl {
	margin-top: 2rem;
}

#sec-achievements-company {
	margin: 120px 0 200px;
}

.achievements-company-item img {
	width: 50px;
	height: 50px;
}

.slider-8 .slick-slide {
	width: 100px;
	height: 100px;
	background-color: var(--hongmong-lightgray);
	border-radius: 50px;
	text-align: center;
	padding: 25px;
	margin-right: 40px;
}

/* =================================================
お問い合わせページ
==================================================*/
#page-contact .wrapper {
	width: min(100%, 800px);
	padding-top: 0;
	padding-bottom: 180px;
}

#page-contact .list-flex {
	border-bottom: 1px dotted var(--hongmong-gray);
	padding: 2rem 0;
}

#page-contact .list-flex:first-child {
	border-top: 1px dotted var(--hongmong-gray);
}

#page-contact .list-flex:not(:last-child){
	margin-bottom: 0;
}

#page-contact .list-flex dt {
	width: 30%;
	padding-top: 0.3rem;
}

#page-contact .list-flex dd {
	flex: 1;
}

.icon-require {
	background-color: var(--hongmong-pink);
	color: var(--hongmong-white);
	border-radius: 5px;
	padding: 5px  10px;
	margin-right: 1rem;
}

input, textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #aaa;
	border-radius: 5px;
}

p.checkbox {
    text-align: center;
    margin-bottom: 30px;
}

p input[type="checkbox"]{
    display: none;
}
/* チェックボックスの代わりを成すラベル */
p input[type="checkbox"]+label{
    display: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 35px;
    padding-right: 10px;
}

p input[type="checkbox"]+label::before{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    margin-top: -14px;
    left: 0;
    top: 50%;
    border: 1px solid #ccc;
    background-color: var(--hongmong-white); 
}

p input[type="checkbox"]:checked+label::after{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 22px;
    height: 12px;
    margin-top: -7px;
    top: 50%;
    left: 4px;
    transform: rotate(-45deg);
    border-bottom: 5px solid var(--hongmong-navy);
    border-left: 5px solid var(--hongmong-navy);
}

.privacy-policy {
	margin-top: 2rem;
	height: 10em;
	padding: 1em;
	border: 1px solid var(--hongmong-lightgray);
	overflow-y: scroll;
	margin-bottom: 50px;
	line-height: 1.5;
}

.g-recaptcha {
	color: var(--hongmong-white);
	line-height: 80px;
	padding: 0 140px;
	border: none;
	font-size: 1.375rem;
	font-weight: bold;
	margin: 0 auto;
    display: block;
}

#page-thanks .wrapper {
	padding-top: 0;
	padding-bottom: 200px;
}

#page-thanks .wrapper p {
	text-align: center;
	font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}

#page-thanks .wrapper a {
	text-decoration: underline;
}

/* =================================================

コンテンツ幅767以下の表示はここからです

==================================================*/
@media screen and (max-width:767px) {
	.header-sub-logo {
		display: none;
	}
	
	header {
		padding-top: 0;
	}

	nav {
		display: block;
		padding-top: 80px;
	}

	.nav-list {
		width: 100%;
	}

	.page-sec-wrapper:not(:last-child) {
		margin-bottom: 12vw;
	}

	.sub-mv .page-title {
		padding: 16vw 0 0vw;
		margin-bottom: 8vw;
	}

	.page-sec-title {
		margin-bottom: 10vw;
	}

	.sec-large-text {
		margin-bottom: 8vw;
	}

	/* =================================================
	会社概要ページ
	==================================================*/
	.list-flex {
		display: flex;
		align-items: flex-start;
		width: 100%;
	}

	.sec-company-story {
		display: block;
	}

	.sec-company-story .sec-large-text {
		text-align: left;
	}

	.company-story-list {
		padding: 0;
		margin-left: 0;
		border-left: none;
	}

	.company-story-list .list-flex dd {
		flex: 1;
	} 

	.company-info-list {
		padding: 6vw 8vw 12vw;
	}

	.company-info-list .list-flex {
		display: block;
		padding: 1em 0;
	}

	.company-info-list .list-flex dd {
		padding-top: 0.75em;
		padding-left: 1em;
	}

	/* =================================================
	事業案内ページ
	==================================================*/
	.service-badge {
		position: relative;
		top: 0;
		left: 0;
	}
	
	.service-item-disc-ttl {
		padding-left: 0;
	}
	
	.service-item-disc-inner {
		margin-top: 4vw;
		flex-direction: column;
	}
	
	.service-item-disc-img {
		margin-top: 0;
		margin-right: 0;
		width: 100%;
	}

	.service-icon-list {
		padding: 50px 10px 20px;
		/* margin-top: 80px; */
	}

	.service-icon-item {
		width: 50%;
		margin-bottom: 2rem;
	}

	/* =================================================
	実績ページ
	==================================================*/
	.achievements-voice-item::before,
	.achievements-voice-item:nth-child(odd)::before {
		width: 95%;
	}

	.achievements-voice-name {
		text-align: center;
	}

	.achievements-voice-item:nth-child(odd) .achievements-voice-name  {
		padding-left: 0;
	}

	.achievements-voice-inner {
		flex-direction: column;
		align-items: flex-end;
	}

	.achievements-voice-item:nth-child(odd) .achievements-voice-inner {
		flex-direction: row;
	}

	.achievements-voice-inner::after {
		left: 10%;
		top: 5%;
		transform: translateY(0) rotate(90deg);
		transform-origin: left;
	}
	
	.achievements-voice-item:nth-child(odd) .achievements-voice-inner::after {
		transform: translateX(170%) rotate(90deg);
	}

	.achievements-voice-img {
		margin: 20px -5vw 0 0;
		width: 95%;
		border-radius: 20px 0 0 20px;
	}

	.achievements-voice-item:nth-child(odd) .achievements-voice-img {
		margin-left: -5vw;
		border-radius: 0px 20px 20px 0
	}

	.achievements-voice-text {
		padding-right: 5%;
	}

	.achievements-voice-item:nth-child(odd) .achievements-voice-text {
		padding-right: 0;
		padding-left: 5%;
	}

	/* =================================================
	お問い合わせページ
	==================================================*/
	#page-contact .wrapper {
		padding-bottom: 120px;
	}

	#page-contact .list-flex {
		flex-direction: column;
		padding: 1rem 0;
	}

	#page-contact .list-flex dt {
		width: 100%;
		margin-bottom: 0.5rem;
	}

	#page-contact .list-flex dd {
		width: 100%;
	}

	#page-thanks .wrapper {
		padding-bottom: 120px;
	}
}