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

.sec-contact {
    padding-top: 62px;
    padding-bottom: 62px;
}

/* =================================================
header〜nav
==================================================*/
header {
	flex-direction: column;
}

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

.header-sub-logo {
	display: block;
	width: 40px;
}
.sub-mv {
	height: 245px;
	position: relative;
	background: linear-gradient(#ffffff, #EAEEE9);
}


.page-sec-title {
	position: absolute;
	left: 50%;
    transform: translate(-50%, 0);
    bottom: 24px;
}

a.drawer__nav__link {
	color: var(--a13c-text);
}
.drawer__button > span {
	background-color: black !important;
}

/* =================================================
会社概要ページ
==================================================*/
.ceo {
	position: relative;
	margin-bottom: 64px;
}
.title-area {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 3;
}
.title-area p {
	background-color: var(--a13c-red);
    color: white;
    font-weight: 700;
    font-size: 40px;
    width: 400px;
    padding-left: 24px;
}
.title-area p ~ p {
	margin-top: 24px;
}
.ceo figure {
	justify-content: center;
	align-items: flex-end;
}
.ceo figure figcaption {
	width: 300px;
    text-align: right;
	font-size: 24px;
	font-weight: 600;
    margin-right: 16px;
}
.ceo figure figcaption span {
	display: block;
	font-size: 13px;
	color: var(--a13c-gold);
	font-weight: 500;
}

.ceo figure img {
	width: calc(100% - 300px);
    height: 414px;
    object-fit: cover;
}
.cet-txt p {
	color: var(--a13c-gray);
}

.information .info-detail,
.information .info-map {
	width: 50%;
	position: relative;
}

.information .info-detail {
	background: var(--a13c-white);
}

.info-detail dl{
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
    width: min(300px, 80%);
    margin: 0 auto;
	padding: 62px 0;
}
.info-detail dl dt{
    padding: 16px 0;
	width: 100px;
}
.info-detail dl dd{
    padding: 16px 0;
	width: calc(100% - 100px);
}
/* =================================================
サービスページ
==================================================*/
.sec-ec {
	padding: 6vw 0 9vw;
}
.sec-web {
	padding: 6vw 0 0;
}

.sec-ec .service-title,
.sec-web .service-title {
	width: 100%;
	height: 280px;
	position: relative;
	margin-bottom: 62px;
}
.sec-ec .service-title {
	background: url(../img/web-01.jpg) no-repeat center / cover;
}
.sec-ec .contents > p {
	width: 100%;
	text-align: center;
	font-weight: 700;
	font-size: 32px;
}
.flow-box {
	margin: 105px 0;
	position: relative;
}
.flow-box ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
    align-items: flex-start;
	position: relative;
}
.flow-box ul::after {
	content: "";
	width: 1px;
    height: calc(100% + 105px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background-color: var(--a13c-black);
}

.flow-box ul li {
	width: calc(50% - 50px);
	border: 1px solid var(--a13c-black);
	padding: 16px 8px;
	position: relative;
}
.flow-box ul li:nth-child(even) {
    margin-top: 83px;
    margin-bottom: -83px;
}
.flow-box ul li p:first-child {
	font-size: 20px;
	font-weight: 600;
}

.flow-box ul li::before {
	content: "";
	position: absolute;
	width: 50px;
	height: 1px;
	background-color: var(--a13c-black);
	top: 50%;
}
.flow-box ul li:nth-child(even)::before {
	left: 0%;
	transform: translate(-100%, -50%);
}

.flow-box ul li:nth-child(odd)::before {
	right: 0%;
	transform: translate(100%, -50%);
}
.flow-box::before,
.flow-box ::after {
	position: absolute;
}
.flow-box::before {
    content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--a13c-black);
	position: absolute;
    top: -50px;
	left: 50%;
	transform: translate(-50%, -50%);
}
.flow-box::after {
    content: "";
	position: absolute;
	bottom: -71px;
	left: 50%;
	transform: translate(-50%, -50%);
    border: 6px solid transparent;
    border-top: 7px solid var(--a13c-black);   /* 好みで色を変えてください */  
}


.sec-web .service-title {
	background: url(../img/web-02.jpg) no-repeat center / cover;
} 






.wed-01,
.wed-02 {
	position: relative;
}
.wed-01 {
	position: relative;
    margin: 180px 0;
}
.wed-01 figure,
.wed-02 figure {
	position: absolute;
    top: -50px;
}
.wed-01 figure {
	left: 0;
}
.wed-02 figure {
	right: 0;
}

.wed-01 figure img,
.wed-02 figure img {
	width: 377px;
	height: 240px;
	object-fit: cover;
}

.sec-ec .service-title p,
.sec-web .service-title p {
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(255,255,255,.8);
	color: var(--a13c-gray);
    backdrop-filter: blur(12px);
	width: 390px;
	text-align: center;
	padding: 24px 0;
    font-size: 24px;
}


.wed-01 .txt-box,
.wed-02 .txt-box {
    background-color: var(--a13c-white);
    width: calc(100% - 350px);
    margin-top: 50px;
}
.wed-01 .txt-box {
    margin-left: auto;
    padding: 62px 42px 62px 62px;
}
.wed-02 .txt-box {
    margin-right: auto;
    padding: 62px 62px 62px 42px;
}

.txt-box p:first-child {
	position: absolute;
    top: 0;
    transform: translateY(-57%);
	font-family: var(--a13c-font-robo);
	font-size: 110px;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color:var(--a13c-red);
    color: transparent;
	
	font-family: "Oswald", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}

.txt-box p:nth-child(2) {
    font-weight: 700;
    font-size: 20px;
	margin-bottom: 16px;
}
.txt-box p:nth-child(3) {
	color: var(--a13c-gray);
}


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

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

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

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

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

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

.icon-require {
	background-color: var(--a13c-red);
	color: var(--a13c-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;
}

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(--a13c-black);
    border-left: 5px solid var(--a13c-black);
}

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

input[type="submit"]{
	color: var(--a13c-white);
	line-height: 80px;
	padding: 0 140px;
	border: none;
	font-size: 1.375rem; /*22px*/
	font-weight: bold;
}

.send-btn {
	display: block;
	color: var(--a13c-white);
	background-color: var(--a13c-gold);
	line-height: 80px;
	padding: 0 140px;
	border: none;
	font-size: 1.375rem; /*22px*/
	font-weight: bold;
	text-align: center;
    margin-top: 2rem;
}
main.contact.wrapper {
    text-align: center;
	font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}
#page-thanks .wrapper {
	padding-top: 0;
	padding-bottom: 200px;
}

#page-thanks .wrapper p {
	text-align: center;
}

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

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

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

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


	.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;
	}

	/* =================================================
	会社概要ページ
	==================================================*/
	.ceo {
		position: relative;
		margin-bottom: 64px;
		flex-direction: column;
		display: flex;
	}
	.title-area {
		position: absolute;
		left: 0;
		top: 50%;
		transform: translate(0, 0%);
		z-index: 3;
	}
	.title-area p{
		width: 100%;
		padding-right: 24px;
	}
	.title-area p ~ p {
		margin-top: 16px;
	}
	figure.flex-box {
		display: contents;
	}
	.ceo figure figcaption {
		order: 1;
		width: 100%;
	}
	.ceo figure img {
		width: 90%;
		margin-left: auto;
		height: 414px;
		object-fit: cover;
		order: 0;
	}
	




	section#information {
		flex-direction: column;
	}
	.information .info-detail,
	.information .info-map {
		width: 100%;
	}
	.information .info-map {
        height: 350px;
	}
	/* =================================================
	事業案内ページ
	==================================================*/
	.sec-ec .service-title, .sec-web .service-title {
		height: 200px;
	}
	.sec-ec .service-title p, .sec-web .service-title p {
		width: 90%;
	}
	
	.sec-ec .contents > p {
		text-align: left;
		font-size: 24px;
	}
	

	.flow-box ul {
		align-items: flex-end;
		flex-direction: column;
	}
	.flow-box ul li {
		width: calc(100% - 25px);
	}
	.flow-box ul li:nth-child(even) {
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.flow-box ul li:nth-child(odd)::before {
		right: 0%;
		left: 0;
		transform: translate(-100%, 0);
	}
	.flow-box ul::after {
		left: 6px;
	}
	.flow-box::before,
	.flow-box::after {		
		left: 6px;
	}

	.flow-box ul li::before {
		width: 20px;
	}
	
	.sec-web {
		padding: 20vw 0 0;
	}
	.wed-01,
	.wed-02 {
		display: flex;
		flex-direction: column;
		background: linear-gradient(180deg, #ffffff 0%, #ffffff 20%, #EAEEE9 20%, #EAEEE9 100%);
	}
	.wed-01 {
		margin: 120px 0;
	}
	.wed-02 {
		margin: 0;
	}
	.wed-01 figure, .wed-02 figure {
		position: static;
        width: 90%;
        margin: 0 auto;
	}
	.wed-01 .txt-box, .wed-02 .txt-box {
		display: contents;
	}
	.txt-box p:nth-child(2) {
		padding: 5% 5% 0;
	}
	.txt-box p:nth-child(3) {
		padding: 0 5% 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%;
	}
	input[type="submit"] {
		padding: 0;
	}
}