@charset "utf-8";

/* 基本 */
* {
    box-sizing: border-box;
}

body {
    min-height: 100dvh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
}

html {
    font-size: 62.5%;
    height: -webkit-fill-available;
}

.tab {
    display: none;
}

img {
    width: 100%;
    height: auto;
    /* 画像の下にできる余白削除 */
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.flex-start1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-start2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.v-flex {
    display: flex;
    flex-flow: column;
}

.pc {
    display: block;
}

.tab {
    display: none;
}

.sp {
    display: none;
}

/* 文字設定（任意） */
p {
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
}

p span.big-span {
    color: #ff6c3d;
    font-size: 1.9rem;
    font-weight: 700;
}

p span.middole-span {
    color: #1c1b1a;
    font-weight: 700;
}

h2 {
    text-justify: inter-ideograph;
    font-size: 6.7rem;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.01em;
    /* color: #282b2b; */
    color: #fefcfa;
    -webkit-text-stroke: 0.15rem #ff6c3d;
    font-feature-settings: "palt";
    text-transform: capitalize;
    text-align: center;
    position: relative;
    margin-bottom: 6.1rem;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

h2::after {
    position: absolute;
    content: attr(data-ja);
    display: block;
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
    /* top: 5.9rem; */
    /* top: 9.8rem; */
    top: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
    -webkit-text-stroke: 0 currentcolor;
    /* text-stroke: 0 currentcolor; */
}

h3 {
    text-justify: inter-ideograph;
    font-size: 1.9rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #ff6c3d;
    font-feature-settings: "palt";
}

h4 {
    text-justify: inter-ideograph;
    font-size: 2.8rem;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #ff6c3d;
    font-feature-settings: "palt";
    text-transform: capitalize;
    margin-bottom: 0.8rem;
    position: relative;
}

h4::after {
    position: absolute;
    content: attr(data-ja);
    display: block;
    text-justify: inter-ideograph;
    font-size: 1.1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
    /* top: 5.9rem; */
    /* top: 9.8rem; */
    top: 8.4rem;
    left: 0;
    -webkit-text-stroke: 0 currentcolor;
    /* text-stroke: 0 currentcolor; */
}

/* h4が1行の時 */
h4.single::after {
    top: 3.6rem;
}

/* h4が2行の時 */
h4.doble::after {
    top: 6.4rem;
}

h5 {
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    font-feature-settings: "palt";
    text-align: center;
}

h6 {
    text-justify: inter-ideograph;
    font-size: 2.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    /* margin-bottom: 4rem; */
    margin-bottom: 0.8rem;
}

a:focus {
    outline: none;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* fixed分のリンクジャンプの高さ調整 */
html {
    scroll-padding-top: 8rem;
}

/* fixed分のリンクジャンプの高さ調整終わり */


/* 大枠 */
.all-wrap {
    /* width: 100dvw; */
    width: calc(100vw - calc(100vw - 100%));
    display: flex;
    justify-content: space-between;
}

.works-side {
    width: calc(100% - 80rem);
}

.article-side {
    width: 80rem;
    height: calc(100dvh - 8rem);
    overflow: scroll;
    border-left: 0.1rem solid #1c1b1a;
}

/* section */
section {
    padding: 8rem 6.8rem;
}

/* カード基本 */
.service-card-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.service-card-item {
    /* padding: 4rem; */
    width: calc((100% - 4rem) / 2);
    background-color: #eBe9e3;
    text-align: center;
    position: relative;
}

.service-card-item::before {
    position: absolute;
    content: attr(data-number);
    display: block;
    top: 0;
    left: 0;
    font-size: 2.5rem;
    color: #1c1b1a;
    text-justify: inter-ideograph;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    font-feature-settings: "palt";
}

.service-card-item img {
    width: 14.5rem;
    height: auto;
    padding-top: 5.6rem;
    margin-bottom: 2.4rem;
}

.service-card-item h3 {
    margin-bottom: 2.4rem;
}

.service-card-item p {
    margin-bottom: 2.4rem;
}

/* ボタン */
.btn,
a.btn,
button.btn {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    /* padding: 1.6rem 4.8rem; */
    padding: 1.6rem 0;
    width: 13.6rem;
    height: auto;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.05rem;
    color: #1c1b1a;
    /* border-radius: 0.5rem; */
    font-family: "Noto Sans JP", sans-serif;
    text-transform: uppercase;
}

.btn--white,
a.btn--white {
    color: #ff6c3d;
    background-color: #fefcfa;
    border: 0.1rem solid #ff6c3d;
}

.btn--white:hover,
a.btn--white:hover {
    color: #fefcfa;
    background: #ff6c3d;
}

.btn--white2,
a.btn--white2 {
    color: #1c1b1a;
    background-color: #fefcfa;
    border: none;
}

.btn--white2:hover,
a.btn--white2:hover {
    color: #fefcfa;
    background: #1c1b1a;
}

.btn--black,
a.btn--black {
    color: #fefcfa;
    background-color: #1c1b1a;
}

.btn--black:hover,
a.btn--black:hover {
    color: #fefcfa;
    background: #ff6c3d;
}

.btn--orange1,
a.btn--orange1 {
    color: #282b2b;
    background-color: #ff6c3d;
}

.btn--orange1:hover,
a.btn--orange1:hover {
    color: #fefcfa;
    background-color: #1c1b1a;
}

.btn--orange2,
a.btn--orange2 {
    /* color: #282b2b; */
    color: #fefcfa;
    background-color: #ff6c3d;
}

.btn--orange2:hover,
a.btn--orange2:hover {
    color: #1c1b1a;
    background-color: #fefcfa;
}

.btn--gray,
a.btn--gray {
    color: #1c1b1a;
    background-color: #ebe9e3;
}

.btn--gray:hover,
a.btn--gray:hover {
    color: #fefcfa;
    background-color: #1c1b1a;
}

a.btn--radius {
    border-radius: 100dvh;
}

a.btn-underline {
    border-bottom: 0.05rem solid #1c1b1a;
}

.center-btn {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

a.big-btn {
    width: 22.4rem;
    height: auto;
}

/* works-side */
.works-side {
    background-color: #fefcfa;
}

/* header */
h1 {
    height: auto;
    width: 10.341rem;
}

/* about-info */
.about-info {
    background-color: #fefcfa;
}

.about-info p {
    margin-bottom: 2.4rem;
}

/* service-info */
.service-info {
    background-color: #ebe9e3;
}

.service-info h2 {
    color: #eBe9e3;
}

/* news-info */
.news-info {
    background-color: #fefcfa;
}

.news-info-p {
    margin: 2.4rem auto;
}

.news-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    overflow: hidden;
}

.news-article {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff6c3d;
    margin-top: 1.6rem;
}

.news-date {
    font-family: "Barlow", sans-serif;
    text-align: right;
    font-weight: 400;
    color: #ff6c3d;
    margin-top: 0.8rem;
}

/* footer */
footer {
    /* padding: 8rem 6.8rem; */
    padding: 8rem 6.8rem 0;
    background-color: #1c1b1a;
    max-width: 100%;
    overflow: hidden;
}

footer h2 {
    color: #1c1b1a;
    -webkit-text-stroke: 0.15rem #fefcfa;
}

footer h2::after {
    color: #fefcfa;
    transform: none;
    right: 0;
    left: auto;
}

.footer-p {
    color: #fefcfa;
    margin-bottom: 2.4rem;
}

.footer-logo {
    display: block;
    width: 13.6rem;
    height: auto;
    align-self: flex-start;
    justify-self: flex-start;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
}

.footer-left {
    display: grid;
}

.footer-right {
    display: grid;
}

.footer-title {
    text-align: right;
    align-self: flex-start;
    justify-self: flex-end;
}

.footer-right-bottom {
    text-align: right;
    align-self: flex-end;
    justify-self: flex-end;
}

.footer-img {
    text-align: left;
    display: block;
    width: 13.6rem;
    height: auto;
    align-self: flex-end;
    justify-self: flex-start;
}

small {
    display: block;
    margin: 4rem auto 0;
    padding-top: 0.8rem;
    border-top: 0.1rem solid #fefcfa;
    text-align: center;
    text-justify: inter-ideograph;
    font-size: 1.2rem;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    color: #fefcfa;
    font-feature-settings: "palt";
    text-transform: uppercase;
}

small.pc {
    border-top: none;
}

.footer-pc-title {
    text-justify: inter-ideograph;
    /* font-size: 18.6rem; */
    font-size: 21.3rem;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.01em;
    /* color: #282b2b; */
    color: #1c1b1a;
    -webkit-text-stroke: 0.15rem #fefcfa;
    font-feature-settings: "palt";
    text-transform: capitalize;
    text-align: center;
    overflow: hidden;
    transform: translateY(+4rem);
    padding-top: 4rem;
    border-top: 0.1rem solid #fefcfa;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

/* ABOUTページ */
/* about */
.about {
    background-color: #fefcfa;
}

.about p {
    width: 31.4rem;
    height: auto;
}

.about-img-wrap {
    display: grid;
    justify-content: flex-end;
    align-content: center;
}

/* our-value */
.our-value {
    background-color: #ebe9e3;
}

.our-value h2 {
    color: #eBe9e3;
}

.our-value-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.our-value-item {
    /* padding: 4rem; */
    width: calc((100% - 4rem) / 2);
    background-color: #eBe9e3;
    position: relative;
}

.our-value-item h3 {
    width: 22.4rem;
    height: auto;
    margin: 0 0 2.4rem auto;
}

.our-value-item p {
    width: 22.4rem;
    height: auto;
    margin: 0 0 0 auto;
}

.our-value-img {
    display: grid;
    justify-content: flex-end;
    align-content: flex-end;
}

.our-value-img img {
    width: 13.6rem;
    height: auto;
}

.our-value-item::before {
    position: absolute;
    content: attr(data-number);
    display: block;
    top: 0;
    left: 0;
    text-justify: inter-ideograph;
    font-size: 5.1rem;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    color: #ebe9e3;
    -webkit-text-stroke: 0.15rem #ff6c3d;
    /* text-stroke: 0.15rem #ff6c3d; */
    font-feature-settings: "palt";
    text-transform: capitalize;
}

/* worksページ */
.works-top {
    background-color: #fefcfa;
}

.works-img {
    margin-bottom: 0.8rem;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
}

.works-sample {
    background-color: #eBe9e3;
}

.works-sample h2 {
    color: #eBe9e3;
}

.works-detail-left {
    width: calc((100% - 4rem) / 2);
}

.works-detail-right {
    width: calc((100% - 4rem) / 2);
}

.completed-date {
    text-justify: inter-ideograph;
    font-size: 1.2rem;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    text-transform: capitalize;
    margin-bottom: 4rem;
}

.works-detail-left dl {
    margin-top: 4.4rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.works-detail-left dl:nth-child(3) {
    margin-top: 0;
}

.works-detail-left dl dt {
    text-justify: inter-ideograph;
    font-size: 1.6rem;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ff6c3d;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    text-transform: capitalize;
    margin: 0 0.8rem 0.8rem 0;
}

.works-detail-left dl dd {
    text-justify: inter-ideograph;
    font-size: 1.6rem;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    text-transform: capitalize;
}

.works-detail-right dl {
    /* margin-top: 4.4rem; */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
}

.works-detail-right dl dt {
    text-justify: inter-ideograph;
    font-size: 1.6rem;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ff6c3d;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    text-transform: capitalize;
    margin-right: 0.8rem;
}

.works-detail-right dl dd {
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
    text-transform: capitalize;
}

.works-detail-right dl dd span {
    font-weight: 700;
    font-size: 1.6rem;
    /* line-height: 1; */
    display: block;
    margin: 0.8rem 0;
}

.works-sample-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
}

.works-sample-img:first-child {
    margin-bottom: 4rem;
}

.works-img-outer {
    position: relative;
}

.works-img-outer::before {
    content: "";
    background-image: url('../img/circle.svg');
    background-position: center;
    background-size: contain;
    width: 22.4rem;
    height: 22.4rem;
    position: absolute;
    right: -3.2rem;
    bottom: -3.2rem;
    display: block;
    /* overflow: visible; */
    overflow: hidden;
    animation: 10s linear infinite rotation;
}

/* 円の回転 */
.circle {
    animation: 10s linear infinite rotation;
}

@keyframes rotation {
    0% {
        transform: rotateZ(0);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

/* serviceページ */
.service {
    background-color: #fefcfa;
}

/* .service p {
    margin-bottom: 2.4rem;
} */

.service-title-wrap1 {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    margin-bottom: 4rem;
}

.service-title-right {
    width: 22.4rem;
    height: 22.4rem;
    display: grid;
    align-self: center;
    justify-self: flex-end;
    background-color: #ebe9e3;
    border-radius: 50%;
    grid-column: 2 / 3;
}

.service-title-right img {
    width: 60%;
    height: auto;
    align-self: center;
    justify-self: center;
}

.service-title-left {
    grid-column: 1 / 2;
    align-self: center;
    justify-self: flex-start;
}

.service-title-left h2 {
    text-align: left;
}

.service-title-left h2::after {
    left: 0;
    transform: none;
}

.service-title-left p.servicenumber {
    text-justify: inter-ideograph;
    font-size: 1.6rem;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #ff6c3d;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
    margin-bottom: 0.8rem;
}

.service-title-left2 {
    width: 50%;
}

.service-title-right2 {
    width: 50%;
}

.service-title-wrap2 {
    display: flex;
    gap: 4rem;
}

.service-title {
    text-transform: capitalize;
    font-family: "Anton", sans-serif;
    letter-spacing: 0.05em;
    font-size: 2.8rem;
    text-justify: inter-ideograph;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #ff6c3d;
    font-feature-settings: "palt";
    position: relative;
    margin-bottom: 5.9rem;
}

.service-title::after {
    position: absolute;
    content: attr(data-ja);
    display: block;
    text-justify: inter-ideograph;
    font-size: 1.1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
    /* top: 5.9rem; */
    /* top: 9.8rem; */
    top: 3.6rem;
    left: 0;
    -webkit-text-stroke: 0 currentcolor;
    /* text-stroke: 0 currentcolor; */
}

.price-point {
    text-align: right;
    font-size: 1.1rem;
}

.service-title-right2 dl {
    margin-bottom: 2.4rem;
}

.service-title-right2 dl:last-child {
    margin-bottom: 0;
}

.service-title-right2 dt {
    text-justify: inter-ideograph;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.05em;
    font-size: 1.4rem;
    font-weight: 400;
}

.service-title-right2 dd {
    text-justify: inter-ideograph;
    font-family: "Barlow", sans-serif;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.05em;
    font-size: 1.6rem;
    font-weight: 700;
}

.related-works-img img {
    width: 4.8rem;
    height: auto;
}

/* .other-designs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4rem;
} */

.other-designs-slider a {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 100%;

}

section.other-designs {
    padding: 8rem 4.8rem;
}

.other-designs-items {
    /* width: calc((100% - 12rem) / 4); */
    margin: 0 2rem;
}

.other-designs-items img {
    display: block;
    padding: 3.2rem;
}

.other-designs-items-wrap {
    background-color: #eBe9e3;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.6rem;
    aspect-ratio: 1 / 1;
    display: grid;
    align-content: center;
    justify-content: center;
    /* object-fit: cover; */
}

.h-100 {
    object-fit: cover;
    max-height: 100%;
    width: auto;
}

/* flow */
.flow {
    background-color: #ebe9e3;
}

.flow h2 {
    color: #eBe9e3;
}

.stepbar {
    margin: 0 auto;
    /* width: calc(100% - 8.8rem); */
    width: calc(100% - 17.6rem);
}

.stepbar .stepbarwrap {
    margin: 4rem 0;
    position: relative;
    display: flex;
}

.stepbar .stepbarwrap .steptitle {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
}

.stepbar .stepbarwrap .steptitle .stepcircle {
    display: inline-block;
    width: 4.8rem;
    height: 4.8rem;
    content: "";
    border-radius: 50%;
    /* background-color: #000; */
    color: #fff;
    /* text-align: center; */
    align-self: flex-start;
    border: 0.15rem solid #ff6c3d;
}

.step-line {
    margin-top: 2.4rem;
}

.stepbar .stepbarwrap .steptitle .stepcircle span {
    display: inline-block;
    line-height: 1.2em;
    font-size: 0.8em;
    font-weight: bold;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-justify: inter-ideograph;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #ff6c3d;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
}

/* .stepbar .stepbarwrap .steptitle .stepcircle span.big-stepbar-number-first {
    left: calc(50% - 0.2285rem);
} */

.stepbar .stepbarwrap .steptitle .title {
    /* margin: 0.5em; */
    font-weight: bold;
    font-size: 1.9em;
    align-self: flex-start;
    line-height: 1;
    /* width: 17.6rem; */
    width: 13.6rem;
    height: auto;
}

.stepbar .stepbarwrap .steptxt {
    padding-left: 4rem;
    /* width: 30.4rem; */
    width: 26.4rem;
}

.stepbar .stepbarwrap .steptxt .txt {
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
}

.stepbar .stepbarwrap .stepline {
    width: 0.15rem;
    /* height: calc(100% + 1em); */
    /* height: calc(100% - 0.7rem); */
    height: calc(100% - 0.7rem);
    background-color: #ff6c3d;
    position: absolute;
    top: 4.8rem;
    left: 2.325em;
    z-index: 2;
}

.stepbarwrap:last-of-type .stepline:last-of-type {
    display: none;
}

.stepbar .stepbarwrap:first-child {
    margin-top: 0;
}

.stepbar .stepbarwrap:last-child {
    margin-bottom: 0;
}

.stepbar .stepbarwrap .steptitle .stepcircle span span.big-stepbar-number {
    font-size: 2.1rem;
    font-weight: 700;
    top: 1rem;
}

/* Q&A */
.q-and-a {
    padding-top: 0;
    background-color: #ebe9e3;
}

.q-and-a h2 {
    color: #eBe9e3;
}

.q-and-a details {
    margin: 0 auto 2.4rem;
    width: calc(50% - 4rem);
}

.details-wrap {
    flex-wrap: wrap;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    /* 文字設定 */
    text-justify: inter-ideograph;
    font-size: 1.4rem;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    max-width: 720px;
    font-feature-settings: "palt";
}

summary span {
    color: #ff6c3d;
    font-size: 2.8rem;
    font-weight: 700;
    align-self: center;
    font-family: "din-2014", sans-serif;
    margin-right: 1.6rem;
}

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

summary:hover,
details[open] summary {
    background-color: bbb;
}

summary::after {
    content: '+';
    margin-left: 3rem;
    color: #fff;
    transition: transform .5s;

    /* 文字設定 */
    font-size: 2.8rem;
    font-family: "din-2014", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.01em;
    color: #ff6c3d;
}

.summary-wrap {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    justify-content: left;
    align-items: center;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.answer {
    padding: 2rem 0;
    line-height: 1.5;
}

details[open] .answer {
    animation: fadein .5s ease;
}

.details-wrap details:nth-child(n+9) {
    margin-bottom: 0;
}

/* works */
.works-side {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(9, 1fr);
    align-items: center;
    justify-content: center;
    padding: 4rem 8rem 8rem 8rem;
    grid-gap: 4.2857142857%;
    height: calc(100vh - 8rem);
    overflow: scroll;
}

.works-card {
    display: flex;
    justify-content: center;
    /*左右中央揃え*/
    align-items: center;
    /*上下中央揃え*/
    aspect-ratio: 1 / 1;
}

.works-card img {
    object-fit: contain;
    height: 10.7142857143vh;
}

.b-light {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.b-paint {
    grid-column: 5 / 6;
    grid-row: 3 / 4;
}

.b-paper {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
}

.b-yama {
    grid-column: 5 / 6;
    grid-row: 6 / 7;
}

.b-hellow {
    grid-column: 2 / 3;
    grid-row: 8 / 9;
}

.site-name {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
    justify-self: center;
    align-self: center;
    text-align: center;

    display: flex;
    justify-content: center;
    /*左右中央揃え*/
    align-items: center;
    /*上下中央揃え*/
}

div.site-name {
    display: flex;
}

.site-name-logo {
    margin-bottom: 2.4rem;
}

.site-title-ja {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.site-title-en {
    font-size: 1.1rem;
    font-family: "Barlow", sans-serif;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ハンバーガーメニュー */
.hamburger-btn {
    position: absolute;
    z-index: 999;
    bottom: 3rem;
    left: 3rem;
}

/* 下の資料請求、LINE応募ボタン  */
.bottom-btn {
    position: fixed;
    bottom: 0;
    z-index: 500;
    display: flex;
    border-top: 0.1rem solid #1c1b1a;
}

.bottom-btn .btn {
    width: 50vw;
}

.bottom-btn {
    display: none;
}

/* アーカイブ */
section.archive {
    padding-bottom: 0;
    background-color: #fefcfa;
}

.archive-title {
    text-transform: capitalize;
    font-family: "Anton", sans-serif;
    letter-spacing: 0.05em;
    font-size: 2.8rem;
    text-justify: inter-ideograph;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #ff6c3d;
    font-feature-settings: "palt";
    position: relative;
    margin-bottom: 5.9rem;
}

.archive-title::after {
    position: absolute;
    content: attr(data-ja);
    display: block;
    text-justify: inter-ideograph;
    font-size: 1.1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1c1b1a;
    overflow-wrap: break-word;
    font-feature-settings: "palt";
    /* top: 5.9rem; */
    /* top: 9.8rem; */
    top: 3.6rem;
    left: 0;
    -webkit-text-stroke: 0 currentcolor;
}

.archive-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding-bottom: 8rem;
}

.archive-item {
    width: calc((100% - 12rem) / 4);
    /* width: calc((100% - 20rem) / 6); */
}

.archive p {
    text-align: center;
    margin-bottom: 8rem;

}

/* ぽよんアニメーション */
.poyo:hover {
    animation: poyo .6s ease 0s 1 normal running none;
}

@keyframes poyo {
    from, to {
        transform: none;
    }

    10% {
        transform: scale(1.2);
    }

    40% {
        transform: scale(.9);
    }

    60% {
        transform: scale(1.04);
    }

    80% {
        transform: scale(.98);
    }
}

.poyo-push:hover {
    animation: poyo-push .6s;
}

@keyframes poyo-push {
    from, to {
        transform: none;
    }

    10% {
        transform: scale(.8);
    }

    40% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(.96);
    }

    80% {
        transform: scale(1.02);
    }
}

@media screen and (max-width: 1680px) {
    .b-paper {
        grid-column: 1 / 2;
    }

    .b-paint {
        grid-column: -1 / -2;
    }

    .works-card.big-pc {
        display: none;
    }

    .site-name {
        grid-column: 2 / 6;
        /* grid-row: 3 / 5; */
    }
}

@media screen and (max-width: 1279px) {
    .pc {
        display: none;
    }

    .tab {
        display: block;
    }

    .sp {
        display: none;
    }

    .stepbar {
        /* width: 90%; */
        width: 100%;
    }

    .article-side {
        width: 50vw;
    }

    section {
        padding: 8rem 3rem;
        height: auto;
        width: 100%;
    }

    h2 {
        font-size: 5rem;
    }

    h2::after {
        top: 5.8rem;
    }

    .btn, a.btn, button.btn {
        width: calc((50vw - 13.5rem) / 4 * 2 + 2.5rem);
    }

    h2.doble::after {
        top: 10.8rem;
    }

    .about-info a {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 2.5rem;
        /* gap: calc(20% / 3); */
        justify-content: space-between;
    }

    .service-title-wrap {
        width: 100%;
        height: auto;
        grid-column: 1 / 2;
        grid-row: 1 / -1;
    }

    .service-card-wrap {
        display: block;
        width: 100%;
        height: auto;
        grid-column: 2 / 5;
        grid-row: 1 / -1;
    }

    .service-info h2 {
        writing-mode: vertical-rl;
        margin-bottom: 0;
    }

    .service-info h2::after {
        top: 16.131rem;
        white-space: nowrap;
    }

    .service-card-item {
        width: 100%;
        margin-bottom: 4rem;
    }

    footer {
        padding: 8rem 6.8rem;
    }

    .footer-wrap {
        flex-direction: column-reverse;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-right {
        justify-content: center;
        margin-bottom: 4rem;
    }

    .footer-title {
        align-self: center;
        justify-self: center;
    }

    .footer-right-bottom {
        align-items: center;
        justify-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    footer h2::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    small.tab {
        display: block;
    }

    .footer-title.tab {
        display: block;
    }

    .about-flex {
        flex-direction: column-reverse;
    }

    .about p {
        text-align: center;
        justify-content: center;
        align-content: center;
        margin: 0 auto;
    }

    .about-img-wrap {
        margin-bottom: 4rem;
        justify-content: center;
        align-content: center;
        display: block;
    }

    .our-value-wrap {
        flex-flow: column;
    }

    .our-value-item {
        width: 100%;
    }

    .our-value-item h3 {
        width: calc((50vw - 13.5rem) / 4 * 3 + 5rem);
    }

    .our-value-item p {
        width: calc((50vw - 13.5rem) / 4 * 3 + 5rem);
    }

    .works-img-outer::before {
        width: 10.5rem;
        height: 10.5rem;
        right: -1.5rem;
        bottom: -1.5rem;
        overflow-x: clip;
    }

    .works-detail {
        flex-flow: column;
    }

    .works-detail-left {
        width: 100%;
        margin-bottom: 2.4rem;
    }

    .works-detail-right {
        width: 100%;
    }

    .service-title-wrap1 {
        grid-template-columns: auto;
        grid-template-rows: auto;
        align-content: center;
        justify-content: center;
    }

    .service-title-left {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .service-title-right {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .service-title-left h2 {
        text-align: center;
    }

    .service-title-left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-img {
        width: calc((50vw - 13.5rem) / 4 * 2 + 2.5rem);
        margin: 0 auto 4rcap auto;
    }

    .service-title-right {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .service-title-wrap2 {
        display: block;
    }

    .service-title-left2 {
        width: 100%;
        text-align: center;
        margin-bottom: 4rem;
    }

    .service-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-title-right2 {
        width: 100%;
        text-align: center;
    }

    .service-title-flex {
        display: block;
    }

    .price-point {
        text-align: center;
    }

    .stepbar .stepbarwrap .steptitle {
        gap: 4rem 2.5rem;
    }

    .stepbar .stepbarwrap .steptitle .stepcircle {
        width: calc((50vw - 13.5rem) / 4);
        height: calc((50vw - 13.5rem) / 4);
    }

    .stepbar .stepbarwrap .steptitle .title {
        margin-bottom: 2.4rem;
    }

    .step-text-sp.tab {
        width: calc((50vw - 13.5rem) / 4 * 3 + 5rem);
        display: block;
    }

    .stepbar .stepbarwrap .stepline {
        top: calc((50vw - 13.5rem) / 4);
        left: calc((50vw - 13.5rem) / 8 - 0.075rem);
        height: calc(100% - (((50vw - 13.5rem) / 4)) + 4rem);
    }

    .step-text-sp .txt.tab {
        display: block;
    }

    .details-wrap {
        display: block;
    }

    .q-and-a details {
        width: 100%;
    }

    /* .other-designs-wrap {
        gap: 0 2.5rem;
    } */

    section.other-designs {
        padding: 8rem 1.75rem;
    }

    .other-designs-items {
        /* width: calc((100% - 7.5rem) / 4); */
        /* aspect-ratio: 1 / 1; */
        margin: 0 1.25rem;
    }

    .details-wrap details:nth-child(n+9) {
        margin: 0 auto 2.4rem;
    }

    .details-wrap details:last-child {
        margin-bottom: 0;
    }

    .other-designs-items-wrap {
        margin-bottom: 0.8rem;
        border-radius: 0;
        background-color: transparent;
    }

    .other-designs-items img {
        padding: 0;
    }

    .other-designs-items .tab {
        display: block;
    }

    h5 {
        font-size: 1.1rem;
    }

    .openbtn.tab {
        display: block;
    }

    #hamburger.tab {
        display: block;
    }

    .works-side {
        width: 50vw;
        height: calc(100dvh - 8rem);
        overflow: scroll;
        padding: 1.6rem 3rem 3rem 3rem;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(15, 1fr);
        gap: 2.5rem;
        /* gap: calc(20% / 3); */
    }

    .works-card.tab {
        display: flex;
    }

    .works-card img {
        height: calc((50vw - 10.5rem) / 4);
    }

    .b-light {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
    }

    .b-paint {
        grid-row: 2 / 3;
        grid-column: -1 / -2;
    }

    .b-paper {
        grid-row: 12 / 13;
        grid-column: 1 / 2;
    }

    .b-yama {
        grid-row: 13 / 14;
        grid-column: -1 / -2;
    }

    .b-hellow {
        grid-row: -1 / -2;
        grid-column: 2 / 3;
    }

    .site-name {
        grid-row: 4 / 8;
        grid-column: 1 / 5;
        height: calc(50vw - 6rem);
    }

    .site-name div {
        display: grid;
        justify-content: center;
        align-content: center;
    }

    /* ハンバーガーメニュー */
    .hamburger-btn {
        position: absolute;
        z-index: 999;
        bottom: 3rem;
        left: 3rem;
        display: flex;
        /* flex-direction: column;
        gap: 2rem; */
    }

    .hamburger-btn .btn {
        width: calc((100vw - 6rem) / 2);
    }

    /* #hamburger li a.last-hamburger-btn {
        padding-bottom: 4rem;
    } */

    .hamburger-logo {
        position: absolute;
        z-index: 999;
        top: 3rem;
        left: 3rem;
        height: 5.3rem;
        /* width: 10.341rem; */
        width: auto;
        aspect-ratio: 3.2155 / 1;
    }

    /* 下の資料請求、LINE応募ボタン  */
    .bottom-btn.tab {
        display: flex;
    }

    .bottom-btn .tab {
        display: flex;
    }

    /* アーカイブ */
    .archive-wrap {
        gap: 2.5rem;
        /* padding-bottom: 4rem; */
    }

    .archive-item {
        width: calc((100% - 7.5rem) / 4);
    }

    /* section.archive {
        padding: 8rem 3rem 4rem;
    } */

}

/* スマホ横版 */
/* @media screen and (min-width:481px) and (max-width:767px) {
    .article-side {
        width: calc(100vw / 13 * 8);
    }

    .works-side {
        width: calc(100vw / 13 * 5);
    }
} */

/* スマホ版 */
@media screen and (max-width:480px) {

    html {
        scroll-padding-top: 6.4rem;
    }

    .pc {
        display: none;
    }

    .tab {
        display: none;
    }

    .sp {
        display: block;
    }

    nav {
        display: none;
    }

    .btn, a.btn, button.btn {
        width: calc((100vw - 13.5rem) / 4 * 2 + 2.5rem);
    }

    .all-wrap {
        display: block;
    }

    .works-side {
        width: 100vw;
        height: auto;
        overflow: hidden;
        padding: 1.6rem 3rem 0 3rem;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(11, 1fr);
        gap: 2.5rem;
        /* gap: calc(20% / 3); */
    }

    .article-side {
        width: 100vw;
        height: auto;
        overflow: hidden;
        border-left: none;
    }

    section {
        padding: 8rem 3rem;
        width: 100%;
        height: auto;
    }

    h2 {
        font-size: 5rem;
    }

    h2::after {
        top: 5.8rem;
    }

    h2.doble::after {
        top: 10.8rem;
    }

    .about-info a {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-title-wrap {
        width: 100%;
        height: auto;
        grid-column: 1 / 2;
        grid-row: 1 / -1;
    }

    .service-card-wrap {
        display: block;
        width: 100%;
        height: auto;
        grid-column: 2 / 5;
        grid-row: 1 / -1;
    }

    .service-info {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 2.5rem;
        /* gap: calc(20% / 3); */
        justify-content: space-between;
    }

    .service-info h2 {
        writing-mode: vertical-rl;
        margin-bottom: 0;
    }

    .service-info h2::after {
        top: 16.131rem;
        white-space: nowrap;
    }

    .service-card-item {
        width: 100%;
        margin-bottom: 4rem;
    }

    .works-card img {
        height: calc((100vw - 10.5rem) / 4);
    }

    .b-light {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
    }

    .b-paint {
        grid-row: 2 / 3;
        grid-column: -1 /-2;
    }

    .b-paper {
        grid-row: 8 / 9;
        grid-column: 1 / 2;
    }

    .b-yama {
        grid-row: 9 / 10;
        grid-column: -1 / -2;
    }

    .b-hellow {
        grid-row: -1 / -2;
        grid-column: 2 / 3;
    }

    .site-name {
        grid-row: 4 / 7;
        grid-column: 1 / 5;
        height: auto;
    }

    footer {
        padding: 8rem 3rem;
        width: 100%;
        height: auto;
    }

    .footer-wrap {
        flex-direction: column-reverse;
    }

    footer h2::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .footer-right {
        justify-content: center;
        margin-bottom: 4rem;
    }

    .footer-title {
        align-self: center;
        justify-self: center;
    }

    .footer-right-bottom {
        align-items: center;
        justify-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-logo {
        width: calc((100vw - 13.5rem) / 2 + 2.5rem);
    }

    /* aboutページ */
    .about-flex {
        flex-direction: column-reverse
    }

    .about-img-wrap {
        margin-bottom: 4rem;
    }

    .about p {
        text-align: center;
    }

    .our-value-wrap {
        flex-flow: column;
    }

    .our-value-item {
        width: 100%;
    }

    .our-value-item h3 {
        width: calc((100vw - 13.5rem) / 4 * 3 + 5rem);
    }

    .our-value-item p {
        width: calc((100vw - 13.5rem) / 4 * 3 + 5rem);
    }

    /* works */
    .works-detail {
        flex-flow: column;
    }

    .works-img-outer::before {
        width: 10.5rem;
        height: 10.5rem;
        right: -1.5rem;
        bottom: -1.5rem;
    }

    .works-detail-left {
        width: 100%;
        margin-bottom: 2.4rem;
    }

    .works-detail-right {
        width: 100%;
    }

    /* service */
    .service-title-wrap1 {
        grid-template-columns: auto;
        grid-template-rows: auto;
        align-content: center;
        justify-content: center;
    }

    .service-title-wrap2 {
        display: block;
    }

    .service-title-left {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .service-title-right {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .service-title-left h2 {
        text-align: center;
    }

    .service-title-left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-img {
        width: calc((100vw - 13.5rem) / 4 * 2 + 2.5rem);
        margin: 0 auto 4rcap auto;
    }

    .service-title-left2 {
        width: 100%;
        text-align: center;
        margin-bottom: 4rem;
    }

    .service-title-right2 {
        width: 100%;
        text-align: center;
    }

    .price-point {
        text-align: center;
    }

    .service-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-title-flex {
        display: block;
    }

    .details-wrap {
        display: block;
    }

    .q-and-a details {
        width: 100%;
    }

    .details-wrap details:nth-child(n+9) {
        margin: 0 auto 2.4rem;
    }

    .details-wrap details:last-child {
        margin-bottom: 0;
    }

    .stepbar {
        width: 100%;
    }

    .stepbar .stepbarwrap .steptitle {
        gap: 4rem 2.5rem;
    }

    .stepbar .stepbarwrap .steptitle .stepcircle {
        width: calc((100vw - 13.5rem) / 4);
        height: calc((100vw - 13.5rem) / 4);
    }

    .step-text-sp.sp {
        width: calc((100vw - 13.5rem) / 4 * 3 + 5rem);
        display: block;
    }

    .step-text-sp .txt.sp {
        display: block;
    }

    .stepbar .stepbarwrap .stepline {
        top: calc((100vw - 13.5rem) / 4);
        left: calc((100vw - 13.5rem) / 8 - 0.075rem);
        height: calc(100% - (((100vw - 13.5rem) / 4)) + 4rem);
    }

    .stepbar .stepbarwrap .steptitle .title {
        margin-bottom: 2.4rem;
    }

    /* .other-designs-wrap {
        gap: 0 2.5rem;
    } */

    section.other-designs {
        padding: 8rem 1.75rem;
    }

    .other-designs-items {
        /* width: calc((100% - 7.5rem) / 4); */
        /* aspect-ratio: 1 / 1; */
        margin: 0 1.25rem;
    }

    .other-designs-items-wrap {
        margin-bottom: 0.8rem;
        border-radius: 0;
        background-color: transparent;
    }

    .other-designs-items img {
        padding: 0;
    }

    .other-designs-items .sp {
        display: block;
    }

    h5 {
        font-size: 1.1rem;
    }

    .openbtn.sp {
        display: block;
    }

    #hamburger.sp {
        display: block;
    }

    /* ハンバーガーメニュー */
    .hamburger-btn {
        position: absolute;
        z-index: 999;
        bottom: 3rem;
        left: 3rem;
        display: flex;
        /* flex-direction: column;
        gap: 2rem; */
    }

    .hamburger-btn .btn {
        width: calc((100vw - 6rem) / 2);
    }

    /* #hamburger li a.last-hamburger-btn {
        padding-bottom: 4rem;
    } */

    .hamburger-logo {
        position: absolute;
        z-index: 999;
        top: 3rem;
        left: 3rem;
        height: 5.3rem;
        /* width: 10.341rem; */
        width: auto;
        aspect-ratio: 3.2155 / 1;
    }

    /* 下の資料請求、LINE応募ボタン  */
    .bottom-btn.sp {
        display: flex;
    }

    .last-grid {
        grid-row: 15 / 16;
        grid-column: -1 / -2;
    }

    /* section.archive {
        padding: 8rem 3rem 4rem;
    }

    .archive-wrap {
        padding-bottom: 4rem;
    } */


}

/* はみだしチェック
    * { outline: 2px solid red; } */