@charset "UTF-8";

:root {
    --color-black: #333;
    --color-gray: #bfc7d1;
    --color-main-blue: #d6dee8;
    --font-jp: "Noto Sans JP", sans-serif;
    --font-en: "Hanken Grotesk", sans-serif;
    --font-size-base: 1.17vw;
    --content-width: 75vw;
    --content-padding: 3.83vw;
    --main-easing: cubic-bezier(0,.4,.56,1);
    --hover-transition: .5s var(--main-easing);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
	font-weight: 300;
    vertical-align: baseline;
}
html {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}
q, blockquote {
    quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}
a {
    color: var(--color-black);
    text-decoration: none;
}
a img {
    border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
img {
    vertical-align: bottom;
    max-width: 100%;
}
iframe {
    max-width: 100%;
}

body {
    background-color: var(--color-main-blue);
    color: var(--color-black);
    font-family: var(--font-jp);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1;
    font-feature-settings: "palt";
}

#opening {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    place-content: center;
    width: 100vw;
    height: 100dvh;
    background-color: var(--color-main-blue);
    transition: translate .5s var(--main-easing) .5s;
    z-index: 9999;
}
#opening .logo {
    transition: opacity var(--hover-transition);
}
#opening .logo svg {
    width: 19.21vw;
    height: 22vw;
}
#opening .logo svg > path {
    fill: transparent;
}
#opening .logo.active svg > path {
    fill: #fff;
}
#opening .logo.active svg .svg-elem-1 {
    transition: fill var(--hover-transition) 0.2s;
}
#opening .logo.active svg .svg-elem-2 {
    transition: fill var(--hover-transition) 0.6s;
}
#opening .logo.active svg .svg-elem-3 {
    transition: fill var(--hover-transition) 0.8s;
}
#opening .logo.active svg .svg-elem-4 {
    transition: fill var(--hover-transition) 1s;
}
#opening .logo.active svg .svg-elem-5 {
    transition: fill var(--hover-transition) 1.2s;
}
#opening .logo.active svg .svg-elem-6 {
    transition: fill var(--hover-transition) 1.4s;
}
#opening.hidden {
    translate: 100% 0;
    pointer-events: none;
}
#opening.hidden .logo {
    opacity: 0;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 3.21vw var(--content-padding);
    box-sizing: border-box;
    z-index: 2;
}
#header > .logo {
    font-size: 0;
}
#header > .logo svg {
    width: 8.88vw;
    height: 10.17vw;
    fill: var(--color-black);
    transition: fill var(--hover-transition);
}
#header > .menu {
    display: grid;
    place-content: center;
    width: 4.17vw;
    height: 4.17vw;
    background-color: var(--color-black);
    border-radius: 50%;
    cursor: pointer;
}
#header > .menu > .menu_btn {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 0.42vw;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    appearance: none;
    cursor: pointer;
}
#header > .menu > .menu_btn > span {
    display: block;
    width: 1.83vw;
    height: 2px;
    background-color: var(--color-main-blue);
    border-radius: 9999vw;
    transition: width .25s var(--main-easing), transform .25s var(--main-easing);
}
#header > .gnavi {
    position: absolute;
    bottom: 9.58vw;
    left: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 var(--content-padding);
    font-family: var(--font-en);
    font-size: 1.08vw;
    box-sizing: border-box;
    z-index: 1;
}
#header > .gnavi > ul > li {
    overflow: hidden;
}
#header > .gnavi > ul > li + li {
    margin-top: 1.08vw;
}
#header > .gnavi > ul > li > a {
    display: block;
    translate: 0 100%;
    transition: translate var(--hover-transition);
    pointer-events: none;
}
#header.active > .menu > .menu_btn > span {
    width: 0;
}
#header.active > .menu > .menu_btn::before, #header.active > .menu > .menu_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 1.25vw;
    height: 2px;
    background-color: var(--color-main-blue);
}
#header.active > .menu > .menu_btn::before {
    rotate: 45deg;
}
#header.active > .menu > .menu_btn::after {
    rotate: -45deg;
}
#header.active > .gnavi > ul > li > a {
    translate: 0;
    pointer-events: auto;
}
#header > .social {
    position: fixed;
    top: 3.33vw;
    right: var(--content-padding);
}
#header > .social > ul {
    display: flex;
    column-gap: 1.5vw;
}
#header > .social > ul svg {
    width: 1.25vw;
    height: 1.25vw;
    fill: var(--color-black);
}

#main {
    width: var(--content-width);
    margin-left: auto;
    padding-top: 7.5vw;
}
#main > section {
    margin-right: var(--content-padding);
}
#main > section + section {
    margin-top: 9.17vw;
    padding-top: 7.5vw;
}
#main > #works {
    margin-right: 0;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.92vw 5.67vw;
    font-family: var(--font-en);
    font-weight: 300;
}
.grid figure {
    position: relative;
    margin-bottom: 1.67vw;
}
#works .grid figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #95a4b8;
    mix-blend-mode: hard-light;
    opacity: 1;
    transition: opacity var(--hover-transition);
}
#works .grid figure > img {
    width: 100%;
    filter: grayscale(100%);
    transition: filter var(--hover-transition);
}
@media (hover: hover) {
    #works .grid a:hover figure::after {
        opacity: 0;
    }
    #works .grid a:hover figure > img {
        filter: none;
    }
}
.grid .title {
    margin-bottom: 1.25vw;
    font-size: 1.17vw;
}
.grid p {
    font-size: 0.92vw;
}
.more {
    margin-top: 5vw;
    border-top: 1px solid var(--color-gray);
    padding-top: 2.5vw;
}
.more > a {
    font-family: var(--font-en);
    font-size: 1vw;
    font-weight: 300;
}
.more > a::after {
    content: "→";
    display: inline-block;
    margin-left: 0.63vw;
    font-size: 1vw;
}

#main > #banner {
    margin-top: 0;
}
#banner a img {
    transition: opacity var(--hover-transition);
}
@media (hover: hover) {
    #banner a:hover img {
        opacity: 0.8;
    }
}

#statement p {
    letter-spacing: 0.04em;
    line-height: 2.8;
}

.column {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.section_title {
    font-family: var(--font-en);
    font-size: 1.17vw;
}
.column > *:first-child {
    width: 20%;
}
.column > *:last-child {
    width: 78%;
}
.list > li {
    border-top: 1px solid var(--color-gray);
}
.list > li:last-child {
    border-bottom: 1px solid var(--color-gray);
}
#news .list > li > * {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 2.92vw;
    padding: 1.67vw 0;
}
#news .list > li > a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 0;
    translate: 0 -50%;
    font-size: 1vw;
}
.date {
    font-family: var(--font-en);
    font-size: 1.13vw;
}
.list p {
    font-size: 1vw;
    line-height: 1.6;
}

#service .wrap {
    margin-top: 4.17vw;
}
.box {
    border: 0.5px solid var(--color-black);
    border-radius: 1.25vw;
    padding: 4.17vw 3.33vw;
    box-sizing: border-box;
}
.box + .box {
    margin-top: 3.75vw;
}
.box .title {
    font-family: var(--font-en);
    font-size: 1.42vw;
    font-weight: 300;
    margin-bottom: 2.08vw;
}
.box p {
    font-size: 1vw;
    line-height: 1.75;
    text-align: justify;
}

.faq_q {
    position: relative;
    padding: 1.67vw 0;
    cursor: pointer;
}
.faq_a {
    display: none;
    padding-bottom: 1.67vw;
}
.faq_q::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 0.83vw;
    height: 0.83vw;
    background: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22_%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20data-name%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20viewBox%3D%220%200%2014%2014%22%3E%20%3Cdefs%3E%20%3Cstyle%3E%20.st0%20%7B%20fill%3A%20%23333%3B%20%7D%20%3C%2Fstyle%3E%20%3C%2Fdefs%3E%20%3Cpath%20class%3D%22st0%22%20d%3D%22M14%2C8h-6v6h-2v-6H0v-2h6V0h2v6h6v2Z%22%2F%3E%3C%2Fsvg%3E') no-repeat center center / 100% auto;
}
.faq_q.active::after {
    rotate: 45deg;
}
.faq_q > p, .faq_a > p {
    display: flex;
}
.faq_q > p::before, .faq_a > p::before {
    flex-shrink: 0;
    display: inline-block;
    width: 2.5vw;
    font-family: var(--font-en);
}
.faq_q > p::before {
    content: "Q";
}
.faq_a > p::before {
    content: "A";
}

#footer {
    width: var(--content-width);
    margin-left: auto;
    padding: 20.83vw 0 5vw;
}
#footer .wrap {
    margin-right: var(--content-padding);
}
.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-en);
}
.contact .section_title {
    font-size: 1vw;
}
.btn > a {
    display: block;
    background-color: var(--color-gray);
    padding: 1vw 2vw;
    border-radius: 9999vw;
    font-size: 1vw;
}
.btn > a > span {
    position: relative;
    padding-left: 1vw;
}
.btn > a > span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 0.38vw;
    height: 0.38vw;
    border-radius: 50%;
    background-color: var(--color-black);
}
#footer .bottom {
    display: flex;
    justify-content: flex-end;
    column-gap: 1vw;
    margin-top: 8.33vw;
    font-family: var(--font-en);
    font-size: 0.83vw;
}
#footer .bottom a {
    color: #657a95;
}

.article_head {
    margin-bottom: 3.33vw;
}
.article_title {
    font-size: 1.5vw;
    line-height: 1.5;
    margin-bottom: 0.83vw;
}
.article_head .date {
    font-size: 1vw;
}
.article_body > * + * {
    margin-top: 2.08vw;
}
.article_body > p {
    font-size: 1.08vw;
    letter-spacing: 0.04em;
    line-height: 2;
    text-align: justify;
}
.article_foot {
    border-top: 1px solid var(--color-gray);
    margin-top: 5.83vw;
    padding-top: 2.08vw;
}
.back {
    font-family: var(--font-en);
    font-size: 1vw;
}
.back > a::before {
    content: "←";
    display: inline-block;
    margin-right: 0.75vw;
    font-size: 1vw;
    vertical-align: middle;
}

.sort {
    margin-bottom: 4.17vw;
    font-family: var(--font-en);
    font-size: 1.08vw;
}
.sort > ul {
    display: flex;
    column-gap: 2.08vw;
}
.sort > ul > li {
    position: relative;
}
.sort > ul > li > a::before {
    content: "";
    position: absolute;
    bottom: -0.33vw;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width var(--hover-transition);
}
.sort > ul > li.active > a::before {
    width: 100%;
}
@media (hover: hover) {
    .sort > ul > li > a:hover::before {
        width: 100%;
    }
}

#single .column > * {
    padding-top: 3.33vw;
    margin-top: -3.33vw;
}
.column > .works_info {
    position: sticky;
    top: 4.17vw;
    left: 0;
    width: 30%;
}
.works_head {
    font-family: var(--font-en);
}
.works_head > .title {
    font-size: 1.5vw;
    line-height: 1.2;
}
.works_head > .year {
    margin-top: 0.63vw;
    font-size: 1vw;
}
.works_info > p {
    margin-top: 1.67vw;
    font-size: 0.92vw;
    line-height: 1.8;
    text-align: justify;
}
.tag {
    margin-top: 2.5vw;
    font-family: var(--font-en);
    font-size: 0.83vw;
}
.tag > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42vw 1vw;
}
.tag > ul > li::before {
    content: "#";
    display: inline-block;
}
.column > .works_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5vw;
    width: 60%;
}
.works_gallery > figure.small {
    width: calc((100% - 2.5vw) / 2);
}
.works_gallery > figure > img {
    width: 100%;
}

.introduction {
    margin-bottom: 5.83vw;
}
.introduction > p {
    font-size: 1vw;
    letter-spacing: 0.04em;
    line-height: 1.75;
    text-align: justify;
}
.introduction > .note {
    margin-top: 0.83vw;
    font-size: 0.83vw;
}
.form_li {
    display: flex;
    flex-wrap: wrap;
    gap: 2.08vw 2%;
    font-size: 1vw;
}
.form_li > dt {
    width: 20%;
}
.form_li > dt sup {
    font-size: 60%;
    vertical-align: top;
    margin-left: 0.21vw;
}
.form_li > dd {
    width: 78%;
}
form input, form textarea {
    margin: 0;
	padding: 0.63vw;
	background: var(--color-gray);
	border: none;
	border-radius: 0.33vw;
	outline: none;
	appearance: none;
    box-sizing: border-box;
    font-size: 1vw;
    transition: background-color var(--hover-transition);
}
form input:focus, form textarea:focus {
    background-color: #fff;
}
.form_li input:not(.tel), .form_li textarea {
    width: 100%;
}
.form_li input.tel {
    width: 10%;
}
.form_li textarea {
    min-height: 12.5vw;
}
.form_btn {
    margin-top: 3.33vw;
    text-align: right;
}
.form_btn input {
    width: 78%;
    padding: 1.25vw;
    background-color: var(--color-black);
    color: #fff;
    cursor: pointer;
}
.wpcf7-spinner {
    display: none !important;
}

#fade {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    background-color: var(--color-main-blue);
    z-index: 9999;
    pointer-events: none;
    animation: fadeIn 1s var(--main-easing) forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 1;
        z-index: 9999;
    }
    100% {
        opacity: 0;
        z-index: -1;
    }
}
#fade.active {
    animation: fadeOut 1s var(--main-easing) forwards;
}
@keyframes fadeOut {
    0% {
        opacity: 0;
        z-index: 9999;
    }
    100% {
        opacity: 1;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --font-size-base: 3vw;
        --content-width: 80vw;
        --content-padding: 4vw;
    }

    #opening .logo svg {
        width: 48.8vw;
        height: 56vw;
    }
    #header {
        padding: 5vw var(--content-padding);
    }
    #header > * {
        position: relative;
        z-index: 2;
    }
    #header > .menu {
        width: 8vw;
        height: 8vw;
    }
    #header > .menu > .menu_btn {
        row-gap: 0.8vw;
    }
    #header > .menu > .menu_btn > span {
        width: 3.2vw;
        height: 1px;
    }
    #header.active > .menu > .menu_btn::before, #header.active > .menu > .menu_btn::after {
        width: 3vw;
        height: 1px;
    }
    #header > .gnavi {
        bottom: 0;
        width: 38vw;
        height: 100vh;
        background-color: var(--color-black);
        padding: 20vw var(--content-padding);
        font-size: 3.5vw;
        translate: -100% 0;
        transition: translate var(--hover-transition);
        z-index: 1;
    }
    #header > .gnavi > ul > li + li {
        margin-top: 3.5vw;
    }
    #header > .gnavi > ul > li > a {
        color: var(--color-main-blue);
        transition-delay: .4s;
    }
    #header.active > .logo svg {
        fill: transparent;
    }
    #header.active > .menu {
        background-color: #666;
    }
    #header.active > .gnavi {
        translate: 0 0;
    }
    #header > .social {
        top: 5vw;
    }
    #header > .social > ul {
        column-gap: 4vw;
    }
    #header > .social > ul svg {
        width: 4vw;
        height: 4vw;
    }
    #main {
        padding-top: 16vw;
    }
    #main > section + section {
        margin-top: 18vw;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 8vw;
    }
    .grid figure {
        margin-bottom: 4vw;
    }
    .grid .title {
        font-size: 3.2vw;
    }
    .grid p {
        font-size: 2.2vw;
    }
    .more {
        margin-top: 8vw;
        padding-top: 5vw;
    }
    .more > a {
        font-size: 3vw;
    }
    .more > a::after {
        margin-left: 1vw;
        font-size: 3vw;
    }
    #main > #banner {
        margin-top: 6vw;
    }
    .column {
        flex-direction: column;
    }
    .column > *:first-child {
        width: 100%;
    }
    .column > *:last-child {
        width: 100%;
    }
    .section_title {
        font-size: 3vw;
        margin-bottom: 8vw;
    }
    .section_title > span {
        padding-left: 3vw;
    }
    .section_title > span::before {
        width: 1vw;
        height: 1vw;
    }
    #statement p {
        line-height: 2;
    }
    #news .list > li > * {
        column-gap: 4vw;
        padding: 3vw 0;
    }
    #news .list > li > a::after {
        font-size: 2.8vw;
    }
    .date {
        font-size: 3vw;
    }
    .list p {
        font-size: 3vw;
    }
    #service .wrap {
        margin-top: 0;
    }
    .box {
        padding: 6vw 5vw;
    }
    .box + .box {
        margin-top: 5vw;
    }
    .box .title {
        font-size: 3.5vw;
        margin-bottom: 3vw;
    }
    .box p {
        font-size: 2.8vw;
    }
    .faq_q {
        padding: 3vw 0;
    }
    .faq_a {
        padding-bottom: 3vw;
    }
    .faq_q::after {
        width: 2vw;
        height: 2vw;
    }
    .faq_q > p::before, .faq_a > p::before {
        width: 5vw;
    }
    #footer {
        padding: 30vw 0 10vw;
    }
    .contact .section_title {
        margin-bottom: 0;
        font-size: 3vw;
    }
    .btn > a {
        padding: 2vw 4vw;
        font-size: 3vw;
    }
    .btn > a > span {
        padding-left: 2vw;
    }
    .btn > a > span::before {
        width: 1vw;
        height: 1vw;
    }
    #footer .bottom {
        column-gap: 3vw;
        margin-top: 12vw;
        font-size: 2.2vw;
    }

    .article_head {
        margin-bottom: 8vw;
    }
    .article_title {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    .article_head .date {
        font-size: 2.8vw;
    }
    .article_body > * + * {
        margin-top: 4vw;
    }
    .article_body > p {
        font-size: 3vw;
    }
    .article_foot {
        margin-top: 10vw;
        padding-top: 4vw;
    }
    .back {
        font-size: 3vw;
    }
    .back > a::before {
        margin-right: 2vw;
        font-size: 3vw;
    }

    .sort {
        margin-bottom: 8vw;
        font-size: 3vw;
    }
    .sort > ul {
        column-gap: 4vw;
    }
    .sort > ul > li.active::before {
        bottom: -1vw;
    }
    #single .column {
        row-gap: 12vw;
    }
    #single .column > * {
        padding-top: 0;
        margin-top: 0;
    }
    .column > .works_info {
        position: static;
    }
    .works_head > .title {
        font-size: 4vw;
    }
    .works_head > .year {
        margin-top: 2vw;
        font-size: 2.8vw;
    }
    .works_info > p {
        margin-top: 4vw;
        font-size: 3vw;
    }
    .tag {
        margin-top: 6vw;
        font-size: 2.8vw;
    }
    .tag > ul {
        gap: 1.5vw 3vw;
    }

    .introduction {
        margin-bottom: 10vw;
    }
    .introduction > p {
        font-size: 3vw;
    }
    .introduction > .note {
        margin-top: 2.5vw;
        font-size: 2.5vw;
    }
    .form_li {
        flex-direction: column;
        gap: 3vw 0;
        font-size: 3vw;
    }
    .form_li > dt {
        width: 100%;
        margin-top: 3vw;
    }
    .form_li > dd {
        width: 100%;
    }
    form input, form textarea {
        padding: 2vw 2.5vw;
        border-radius: 1vw;
        font-size: 16px;
    }
    .form_li input.tel {
        width: 25%;
    }
    .form_btn {
        margin-top: 6vw;
    }
    .form_btn input {
        width: 100%;
        padding: 3vw 0;
        font-size: 3vw;
    }
}