@charset "UTF-8";



/*  ----------------------------------------------------------

common

----------------------------------------------------------  */
/* heading-1 */
.heading-1 {
    line-height: 1;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    font-weight: 300;
    position: relative;
    padding-bottom: 1.2rem;
}

.heading-1 span {
    font-family: var(--font-garamond);
    font-size: 2.7rem;
    color: var(--color-prime);
    letter-spacing: 0.1em;
    margin-right: 2rem;
}

.heading-1::before {
    content: "";
    width: 6rem;
    height: 0.2rem;
    background: var(--color-prime);
    position: absolute;
    left: 0;
    bottom: 0;
}

@media screen and (max-width: 768px) {
    .heading-1 {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2rem;
        font-size: 1.4rem;
    }

    .heading-1 span {
        margin-right: 0;
        margin-bottom: 0.6rem;
    }
}

/* heading-2 */
.heading-2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: normal;
    margin-bottom: 2rem;
}

/* box */
.box {
    background: #fff;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    padding: 5rem 4rem;
}

@media screen and (max-width: 768px) {
    .box {
        padding: 3rem;
    }
}

/* more */
.more {
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-prime);
    width: 22rem;
    height: 5rem;
    border: solid 0.12rem var(--color-prime);
    font-family: var(--font-garamond);
    position: relative;
    margin: 0 auto;
}

.more::after {
    content: "";
    width: 4rem;
    height: 3rem;
    background: url(../img/arrow.png) no-repeat center;
    background-size: 4rem auto;
    position: absolute;
    right: -2rem;
    top: 0.7rem;
    transition: all .3s;
}

.more:hover {
    opacity: 1;
    background: var(--color-prime);
    color: #fff;
}

.more:hover::after {
    right: -2.5rem;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    .more {
        width: 100%;
    }
}



/*  ----------------------------------------------------------

kv

----------------------------------------------------------  */
.top-kv {
    position: relative;
    /* padding-left: 6rem; */
}

.top-kv .wrap {
    z-index: 99;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 3.6rem;
    text-align: center;
}

#main {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 64rem;
}

@media screen and (max-width: 768px) {
    .top-kv {
        padding-left: 0;
    }

    .top-kv .wrap {
        font-size: 2.4rem;
    }

    #main {
        height: 32rem;
    }
}



/*  ----------------------------------------------------------

about

----------------------------------------------------------  */
.top-about {
    padding: 10rem 12rem;
}

.top-about .wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.top-about .wrap > figure {
    width: 55%;
    margin-top: 10rem;
    margin-left: -5%;
}

.top-about .wrap > figure img {
    height: 36rem;
    object-fit: cover;
}

.top-about .wrap > div {
    width: 50%;
    position: relative;
    z-index: 99;
}

.top-about .wrap > div p {
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .top-about {
        padding: 10rem 3rem;
    }

    .top-about .wrap {
        display: block;
    }

    .top-about .wrap > figure {
        width: 100%;
        margin-top: auto;
        margin-left: auto;
    }

    .top-about .wrap > figure img {
        height: 28rem;
    }

    .top-about .wrap > div {
        width: 100%;
    }

    .top-about .wrap > div p {
        margin-bottom: 3rem;
    }
}



/*  ----------------------------------------------------------

service

----------------------------------------------------------  */
.top-service {
    margin: 0 6rem;
    padding: 10rem 6rem;
    background: #fff;
}

.top-service ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.top-service ul li {
    width: 47%;
}

.top-service ul li:nth-child(n + 3) {
    margin-top: 5rem;
}

.top-service ul li figure {
    margin-bottom: 1.5rem;
}

.top-service ul li figure img {
    height: 26rem;
    object-fit: cover;
}

.top-service .heading-2 {
    padding-bottom: 1rem;
    position: relative;
}

.top-service .heading-2::before,
.top-service .heading-2::after {
    content: "";
    height: 0.2rem;
    position: absolute;
    left: 0;
    bottom: 0;
}

.top-service .heading-2::before {
    width: 25%;
    background: var(--color-prime);
    z-index: 99;
}

.top-service .heading-2::after {
    width: 100%;
    background: #f5f5f5;
}

@media screen and (max-width: 768px) {
    .top-service {
        margin: 0;
        padding: 10rem 3rem;
    }

    .top-service ul {
        display: block;
    }

    .top-service ul li {
        width: 100%;
    }

    .top-service ul li:nth-child(n + 3) {
        margin-top: 0;
    }

    .top-service ul li:nth-child(n + 2) {
        margin-top: 5rem;
    }

    .top-service ul li figure img {
        height: 22rem;
    }
}



/*  ----------------------------------------------------------

works

----------------------------------------------------------  */
.top-works {
    padding: 10rem 12rem;
}

.top-works .wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.top-works .wrap > figure {
    width: 55%;
    margin-left: -5%;
}

.top-works .wrap > figure img {
    height: 36rem;
    object-fit: cover;
}

.top-works .wrap > div {
    width: 50%;
    position: relative;
    z-index: 99;
    margin-top: 5rem;
}

.top-works .wrap > div p {
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .top-works {
        padding: 10rem 3rem;
    }

    .top-works .wrap {
        display: block;
    }

    .top-works .wrap > figure {
        width: 100%;
        margin-left: auto;
    }

    .top-works .wrap > figure img {
        height: 28rem;
    }

    .top-works .wrap > div {
        width: 100%;
        margin-top: 0;
    }
}



/*  ----------------------------------------------------------

recruit

----------------------------------------------------------  */
.top-recruit {
    margin: 0 6rem;
    padding: 10rem 6rem;
    background: #fff;
}

.top-recruit figure img {
    height: 36rem;
    object-fit: cover;
}

.top-recruit > div {
    width: 85%;
    margin: -8rem auto 0 auto;
}

.top-recruit .heading-2 {
    padding-bottom: 0.8rem;
    border-bottom: solid 0.2rem #f5f5f5;
}

.top-recruit p {
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .top-recruit {
        margin: 0;
        padding: 10rem 3rem;
    }

    .top-recruit figure img {
        height: 28rem;
        object-fit: cover;
    }

    .top-recruit > div {
        width: 100%;
        margin: 0;
    }
}



/*  ----------------------------------------------------------

access

----------------------------------------------------------  */
.top-access {
    padding: 10rem 12rem;
    display: flex;
}

.top-access > div:nth-of-type(1) {
    width: 45%;
    padding-right: 5rem;
}

.top-access > div:nth-of-type(2) {
    width: 55%;
}

.top-access .logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .top-access {
        padding: 10rem 3rem;
        display: block;
    }

    .top-access > div:nth-of-type(1) {
        width: 100%;
        padding-right: 0;
        margin-bottom: 4rem;
    }

    .top-access > div:nth-of-type(2) {
        width: 100%;
    }
}



/*  ----------------------------------------------------------

contact

----------------------------------------------------------  */
.top-contact {
    margin: 0 6rem 10rem 6rem;
    padding: 10rem 6rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-contact > div:nth-of-type(1) {
    width: 65%;
}

.top-contact > div:nth-of-type(2) {
    width: 35%;
}

.top-contact .more {
    margin: 0 0 0 auto;
}

@media screen and (max-width: 768px) {
    .top-contact {
        margin: 0;
        padding: 10rem 3rem;
        display: block;
    }

    .top-contact > div:nth-of-type(1) {
        width: 100%;
        margin-bottom: 3rem;
    }

    .top-contact > div:nth-of-type(2) {
        width: 100%;
    }

    .top-contact .more {
        margin: 0;
    }
}

/* インスタ連携用CSS */
.top-insta {
    padding: 10rem 30rem;
    text-align: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .top-insta {
        padding: 10rem 3rem;
        display: block;
    }

}

.insta_wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.CMS-INSTAGRAM-LIST {
    display: flex;
    flex-wrap: wrap;
}

.CMS-INSTAGRAM-LIST a {
    display: inline-block;

    /* calc(100/横に並べたい枚数% - 左右の余白　*　余白の数) */

    /* ↓2枚並び */
    /* width: calc(50% - 10px * 1/2); */

    /* ↓3枚並び */
    width: calc(33.33333333333% - 10px * 2/3);

    /* ↓4枚並び */
    /* width: calc(25% - 10px * 3/4); */

    margin-right: 10px;
    margin-top: 10px;
}

/* nth-child(横並びの枚数) */

/* ↓2枚並びの時 */
/* .CMS-INSTAGRAM-LIST a:nth-child(2n) {
    margin-right: 0;
  }
  .CMS-INSTAGRAM-LIST a:nth-child(-n+2) {
    margin-right: 0;
  } */

/* ↓3枚並び */
.CMS-INSTAGRAM-LIST a:nth-child(3n) {
    margin-right: 0;
}

.CMS-INSTAGRAM-LIST a:nth-child(-n+3) {
    margin-top: 0;
}

/* ↓4枚並びの時 */
/* .CMS-INSTAGRAM-LIST a:nth-child(4n) {
    margin-right: 0;
  }
  .CMS-INSTAGRAM-LIST a:nth-child(-n+4) {
    margin-right: 0;
  } */

.CMS-INSTAGRAM-LIST a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.CMS-INSTAGRAM-LIST a:nth-of-type(7),
.CMS-INSTAGRAM-LIST a:nth-of-type(8),
.CMS-INSTAGRAM-LIST a:nth-of-type(9) {
    display: none;
}

/* インスタ連携用CSS */
