@charset "utf-8";

/*================================
	Layout, Elements
================================*/

:root {
    --text-color: #0f6da0;
    --text-color-hover: #fff;
    --wt : #fff;
    --y : #ffc800;
    --blue: #0f6da0;
}

.clearfix:after,
input[type=text],
input[type=password],
input[type=tel],
input[type=url],
input[type=email],
input[type=file],
input[type=image],
input[type=number],
input[type=range],
input[type=color],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=time],
input[type=search],
select,
textarea {
    display: block
}

blockquote,
body,
button,
code,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
legend,
li,
ol,
p,
pre,
select,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0
}

a,
a:active,
a:hover,
a:link,
a:visited {
    text-decoration: none;
    outline: 0;
}

a {
    transition: opacity .3s;
}
a:hover {
    opacity: .7;
}


li,
ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit
}

.clearfix:after {
    content: " ";
    clear: both
}

* {
    color: #333;
    font-size: 1.4rem;
    box-sizing: border-box;
    letter-spacing: .1rem;
    line-height: 1.6;
    border-radius: 0
}

html {
    font-size: 10px;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding: 110px;
    background-image: url(../../common/img/bg_tile.jpg);
    background-repeat: repeat;
    background-color: var(--blue);
    font-family: "LINE Seed JP", sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background-color: #fff;
    background-image: url(../../common/img/bg_tile.jpg);
    background-repeat: repeat;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    line-height: 2em;
    letter-spacing: .5px;
    font-size: 10px;
}

button,
input[type=submit],
input[type=reset],
input[type=search],
input[type=button],
select,
textarea {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-weight: inherit;
    outline: 0;
    border: 1px solid #333;
    background-color: #FFF
}

button,
input[type=submit],
input[type=reset],
input[type=file],
input[type=color],
input[type=button] {
    cursor: pointer
}

input[type=file],
input[type=image],
input[type=color] {
    border: none;
    background-color: transparent
}

select {
    text-indent: .01px;
    text-overflow: '';
    background-position: 100% center;
    background-repeat: no-repeat;
    padding: 0 20px 0 10px;
    background-image: url(../img/arrow_down.png);
}

select::-ms-expand {
    display: none
}

textarea {
    overflow: auto;
    resize: vertical
}

canvas,
iframe,
img,
svg,
video {
    border: 0;
    max-width: 100%;
    display: block
}

main {
    position: relative;
    z-index: 1;
    overflow-y: visible;
    overflow-x: hidden;
    overflow-x: clip;
}

html.noscroll,
body.noscroll {
    overflow: hidden;
}

img {
    height: auto;
}

.animated {
    opacity: 0;
}

.fadeInUp {
    opacity: 1;
}


html,body {
    scroll-behavior: smooth;
}
body {
    position: relative;
}
#wrapper {
    /* min-width: 1220px; */
}

#wrapper main {
	/* margin-top: 80px; */
}
:root{
	scroll-padding: 120px;
    scroll-behavior: auto;
}


.sp {
    display: none !important;
}

.pc {
    display: block;
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


.orbitron {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 900;
}

#header {
    transition: all .8s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(30px + env(safe-area-inset-top, 0px)) calc(3vw + env(safe-area-inset-right, 0px)) 30px calc(3vw + env(safe-area-inset-left, 0px));
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}
#header .gnav > ul {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 60px;
}
#header .gnav > ul > li > a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    transition: all .3s;
}
#header .gnav > ul > li > a:hover {
    color: var(--text-color-hover);
}

#footer {
    background-color: var(--blue);
    padding: 60px 5vw 120px;
    color: var(--y);
    position: relative;
}
#footer .inner {
    display: flex;
    justify-content: space-between;
}
#footer .address {
    color: var(--y);
    font-size: 2rem;
    margin-top: 40px;
}
#footer .sitemap {
    display: flex;
    gap: 60px;
}
#footer .sitemap a {
    font-size: 2rem;
    color: var(--y);
    transition: all .3s;
}
#footer .sitemap a:hover {
    color: var(--text-color-hover);
    opacity: 1;
}


.page_header {
    position: relative;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding: 0 3vw;
    background-color: var(--bg-color);
    padding-right: calc(3vw + 100px);
    margin-bottom: 50px;
    min-height: 600px;
    padding-top: 180px;
    margin-top: 40px;
}
.page_header::after {
    content: '';
    position: absolute;
    top: -30px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: calc(100% - 3vw * 2);
    height: 1px;
    background-color: var(--wt);
}
.page_header .logo_51works {
    position: absolute;
    top: -80px;
    right: -100px;
    width: 18vw;
}
.page_header .arrow_white {
    width: 14vw;
    left: 3vw;
    position: absolute;
    top: 30px;
}
.page_header .page_header_copy {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 1;
    width: 100%;
    flex-wrap: wrap;
}
.page_header .page_header_copy h1 {
	font-size: 3.6rem;
	/* margin-left: 40px; */
	color: var(--text-color);
	position: relative;
	z-index: 1;
}
.page_header .page_header_copy .page_header_copy_item {
    display: flex;
    margin-right: 40px;
}
.page_header .page_header_copy .page_header_copy_item span {
    color: var(--text-color);
    font-size: 8.4rem;
    font-weight: 900;
    white-space: nowrap;
    line-height: 1em;
    margin-bottom: -0.085em;
    flex: 0 0 auto;
}
.page_header .note {
    font-size: 3.2rem;
    color: var(--text-color);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.page_header .create_the_future_certainly {
    position: absolute;
    right: calc(3vw);
    top: 20px;
}
.page_header .arrow_left {
    width: 50vw;
    left: 0;
    position: absolute;
    bottom: 16px;
}

.access {
    padding: 0 3vw;
    margin-bottom: 100px;
}
.access .access_inner {
    flex-direction: column;
    background-color: var(--y);
    padding: 50px 50px;
}
.access .access_inner .map {
    width: 100%;
}
.access .access_inner .map iframe {
    width: 100%;
    border-radius: 40px;
    aspect-ratio: 323 / 83;
    height: auto;
}
.access .access_inner .info {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
}
.access .access_inner .info h3 {
    width: 120px;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}
.access .access_inner .info .cont {
    width: calc(100% - 120px);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact_form {
    padding: 0 3vw;
    margin-bottom: 100px;
    margin-top: 70px;
}
.contact_form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.contact_form fieldset legend {
    font-size: 1.8rem;
    color: var(--text-color);
}
.contact_form label {
    margin-bottom: 20px;
    display: block;
}
.contact_form h3 {
    font-size: 2.1rem;
    color: var(--text-color);
    margin-bottom: 0px;
}
.contact_form .wpcf7-text,
.contact_form .wpcf7-textarea {
    width: 100%;
    border: none;
    font-size: 2.1rem;
    padding: 10px 15px;
}
.contact_form .wpcf7-textarea {
    aspect-ratio: 1194 / 155;
}
.contact_form .wpcf7-submit {
    color: var(--y);
    background-color: var(--blue);
    font-size: 2.1rem;
    padding: 5px 40px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background-color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-weight: 700;
    color: red;
}
.wpcf7-not-valid-tip {
    font-weight: 700!important;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
	text-align: center;
	background-color: #46b450;
	color: var(--wt);
	font-weight: 700;
	padding: 20px 20px;
}
/*---------------------------------------------------------------*\
	$930px
\*---------------------------------------------------------------*/
@media screen and (max-width: 1250px) {

}

/*---------------------------------------------------------------*\
	$736px
\*---------------------------------------------------------------*/

@media screen and (max-width: 736px) {
    :root{
        scroll-padding: 80px;
        scroll-behavior: auto;
    }

    body {
        min-width: unset;
    }

    #wrapper {
        min-width: unset;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        min-height: -webkit-fill-available;
    }

    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    #header {
        padding: calc(25px + env(safe-area-inset-top, 0px)) calc(20px + env(safe-area-inset-right, 0px)) 10px calc(20px + env(safe-area-inset-left, 0px));
    }
    #header .logo {
        width: 76px;
    }
    #header .gnav > ul {
        gap: 20px;
    }
    #header .gnav > ul > li > a {
        font-size: 1.2rem;
    }

	#footer {
		padding-top: 40px;
		padding-bottom: 80px;
		margin-top: auto;
	}
    #footer .sitemap {
        gap: 10px;
    }
    #footer .sitemap a {
        font-size: 1.2rem;
    }
    #footer .inner .logo {
        width: 77px;
        display: inline-block;
    }
    #footer .address {
        /* width: 100%; */
        font-size: 1rem;
        position: absolute;
        letter-spacing: 0;
        text-align: center;
        left: 0;
        right: 0;
        bottom: 40px;
        margin: auto;
    }

    .page_header {
        padding-top: 15px;
        justify-content: flex-start;
        margin-top: 40px;
        height: auto;
        min-height: auto;
        /* padding: 0 20px; */
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        min-height: 205px;
    }
    .page_header .page_header_copy .page_header_copy_item span {
        font-size: 2.7rem;
    }
	.page_header .page_header_copy .page_header_copy_item {
		margin-right: 20px;
	}
    .page_header .page_header_copy h1 {
        font-size: 1.4rem;
        /* margin-left: 15px; */
    }
    .page_header .note {
        font-size: 1.4rem;
        margin-top: auto;
        width: calc(100% - 120px);
        margin-top: 40px;
    }
    .page_header .create_the_future_certainly {
        width: 100px;
        top: 19px;
        right: 20px;
    }
	.page_header .logo_51works {
		/* bottom: 0; */
		top: 64px;
		width: 112px;
		right: 0;
	}
	.page_header .arrow_left {
		bottom: -10px;
	}
    .page_header::after {
        width: calc(100% - 20px * 2);
    }

    .contact_form {
        padding: 0 20px;
    }
    .access {
        padding: 0 20px;
    }
    .access .access_inner {
        padding: 20px 20px;
    }
    .access .access_inner .map iframe {
        border-radius: 10px;
        aspect-ratio: 3 / 2;
    }

    .access .access_inner .info {
        margin-top: 20px;
    }

    .access .access_inner .info h3 {
        width: 90px;
    }
    .access .access_inner .info .cont {
        width: calc(100% - 90px);
    }
    .contact_form .wpcf7-textarea {
		aspect-ratio: 2 / 1;
	}


}