@charset "UTF-8";

/* init */
/* フォント */
@font-face {
    font-family: "Zapfino";
    src: url(fonts/ZapfinoExtraLT-One.woff) format("woff");
}

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

body.home

------------------------------------- */
/* タイトル */
.scl {
    width: 100px;
    height: 100px;
    text-align: center;
    position: absolute;
    left: 50%;
    z-index: 1;
    display: inline-block;
    transform: translate(-50%);
    padding-top: 40px;
    color: #fff;
    font-size: 5rem;
    font-family: "Zapfino";
}

.scl>span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(-45deg);
    animation: sdb 2s infinite;
}

@keyframes sdb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    20% {
        transform: rotate(-45deg) translate(-10px, 10px);
    }

    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}

.top_bg {
    position: relative;
    width: 100%;
}

.top_bg .top_txt {
    color: #fff;
    position: absolute;
    text-align: center;
    z-index: 0;
}

.top_txt {
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 3rem;
    left: 0;
    right: 0;
    top: 30%;
    width: 100%;
    font-size: 7vmin;
}

.h_title {
    text-align: center;
    margin-bottom: 64px;
    background-image: url(img/h_title_bg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    padding: 1em;
}

.h_title div {
    font-family: Zapfino;
    font-size: 4rem;
    line-height: 1;
}


.h_title~p {
    line-height: 2;
    width: 90%;
    margin: 0 auto;
}

.h_title~p>span {
    margin-right: .5em;
}

@media screen and (max-width:600px) {
    .scl {
        bottom: 60px;
    }

    .h_title {
        margin-bottom: 48px;
    }

    .h_title~p {
        text-align: center;
    }

    .h_title~p>span {
        font-size: 2rem;
    }

    .page.home>main>section:first-of-type {
        margin-top: 72px;
    }

}


@media screen and (min-width:601px) {
    .scl {
        bottom: 0;
    }

    .h_title {
        margin-bottom: 64px;
    }

    .h_title~p {
        text-align: justify;
    }

    .h_title~p>span {
        font-size: 2.4rem;
    }

    .page.home>main>section:first-of-type {
        margin-top: 128px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
    }

}

@media screen and (min-width:601px) and (max-width:1030px) {
    .top_bg>div:first-of-type {
        font-size: 4vw;
    }

}

@media screen and (min-width:1031px) {
    .top_txt {
        font-size: 4.6rem;
    }
}



/* サービス */
.column {
    display: flex;
    justify-content: space-between;
}

.column>section {
    width: 31.03%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column>section>div {
    height: 63.15%;
}

.column>section>div>figure {
    height: 100%;
}

.column>section>div>figure>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column>section>h3 {
    background-color: rgba(255, 255, 255, .8);
    filter: drop-shadow(3px 2px 2px rgba(0, 0, 0, 0.6));
    width: 100%;
    margin-bottom: 2rem;
}

.column>section>div:last-of-type {
    background-color: #fff;
    padding: 1rem;
    text-align: center;
}

.column>section>div:nth-of-type(2)>div:first-of-type {
    margin-bottom: 1rem;
    padding-top: 1rem;
    text-align: left;
    display: inline-block;
    font-size: 1.6rem;
    line-height: 2;
}

.column>section>div:nth-of-type(2)>div:last-of-type {
    text-align: right;
}

.more {
    width: 114px;
    padding: .3em .7em;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.more svg {
    margin-left: .5em;
}


@media screen and (max-width:600px) {
    .column {
        flex-direction: column;
    }

    .column>section {
        width: 89.55%;
        margin-bottom: 48px;
        margin-left: auto;
        margin-right: auto;
    }

    .column>section>h3 {
        margin-top: -6rem;

    }

    .column>section>div:nth-of-type(2)>div:first-of-type {
        text-align: center;
    }

    .more {
        min-width: 115px;
        max-width: 50px;
        display: flex;
        justify-content: center;
    }



}

@media screen and (min-width:601px) {
    .column {
        max-height: 380px;
    }

    .column>section>h3 {
        padding: .5em;
        margin-top: -10rem;
    }

}

/* プロフィール */


.profile {
    background-color: rgba(255, 255, 255, .6);
    /* width: 54.31%; */
    height: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 361px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf_name>div:last-of-type {
    font-family: Zapfino;
    font-size: 3.8rem;
}

.profile>figure>img {
    border-radius: 50%;
    width: 100%;
}

.profile>div:nth-of-type(1) {
    display: flex;
    align-items: center;
}

.pf_list>ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pf_name {
    display: flex;
}

.pf_list>ul>li {
    list-style-type: none;
    display: flex;
    align-items: end;
}

.pf_list>ul>li:last-of-type {
    margin-bottom: 0;
}

.pf_list>ul>li::before {
    content: "◆";
    display: inline-block;
    margin-right: .5rem;
}

/* aboutのみ */
#profile_li>div>section {
    padding-left: 20px;
    padding-right: 20px;
}

.pf_list>h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.pf_list>h3::before,
.pf_list>h3::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 1px;
    margin: 0 .5em;
    background: black;
}


@media screen and (max-width:600px) {
    .profile {
        width: 100%;
        align-items: center;
    }

    .pf_name>div:first-of-type {
        font-size: 2rem;
    }

    .pf_name {
        flex-direction: column;
        text-align: center;
        margin: 2rem auto;
        order: 1;
    }

    .profile>figure {
        order: 2;
        width: 160px;
        height: 160px;
    }



    .profile>div:nth-of-type(2) {
        order: 3;
        margin: 3rem auto;
        padding-left: 1em;
    }

    .profile>div:nth-of-type(3) {
        order: 4;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 3rem;
        margin-left: auto;
        margin-right: auto;
    }

    .pf_list>ul>li {
        font-size: 1.6rem;
    }

    /* aboutのみ */
    #profile_li>div>div:first-of-type {
        justify-content: center;
    }

    #profile_li>div>section:first-of-type {
        order: 5;
        margin: 3rem auto 3rem 0;
    }

    #profile_li>div>section:last-of-type {
        order: 6;
        margin: 3rem auto 3rem 0;
    }

    .page.about>main>section>p {
        text-align: left;
    }


}

@media screen and (min-width:601px) {
    .page.home>main>section:nth-of-type(3) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .profile {
        /* width: 54.31%; */
        /* width: 100%; */
        box-sizing: content-box;
        max-width: 630px;
        /* min-width: 500px;
        min-height: 361px; */
        display: grid;
        grid-template-rows: 170px 131px 99px;
        grid-template-columns: 165px 1fr;
        margin-left: 8rem;
        margin-right: 0;
    }

    .profile>div:first-of-type>div:first-of-type {
        margin-right: 2em;
    }

    .pf_name>div:first-of-type {
        font-size: 2.4rem;
    }


    .profile>figure {
        grid-row: 1;
        grid-column: 1;
        margin-left: -95px;
        margin-top: 38%;
        width: 240px;
        height: 240px;
    }


    .profile>div:nth-of-type(1) {
        grid-row: 1;
        grid-column: 2/3;
    }

    .profile>div:nth-of-type(2) {
        grid-row: 2;
        grid-column: 2/3;
    }

    .profile>div:nth-of-type(3) {
        grid-row: 3;
        grid-column: 1/3;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pf_list>ul>li {
        font-size: 1.8rem;
        margin-right: 1em;
    }

    /* aboutのみ */


    #profile_li>div>.pf_list>ul {
        justify-content: start;
    }

    #profile_li>div>.pf_list>ul>li {
        margin-bottom: 1rem;
        line-height: 2;
    }


    #profile_li>div {
        grid-template-rows: 172px 171px 300px 620px;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    #profile_li>div>figure {
        grid-row: 2;
        grid-column: 1/2;
        margin-top: -35px;
        margin-left: auto;
        margin-right: auto;
    }

    #profile_li>div>section {
        margin-bottom: 0;
        margin-left: 0;
    }

    #profile_li>div>section:first-of-type {
        grid-row: 3;
        grid-column: 1/4;
        margin-top: 7rem;
    }

    #profile_li>div>section:last-of-type {
        grid-row: 4;
        grid-column: 1/4;
        margin-top: 5rem;
    }

}

@media screen and (min-width:601px) and (max-width:1122px) {
    #profile_li>div {
        grid-template-rows: 172px 165px 369px 688px;
        font-size: 1vw;
        min-width: 560px;
    }

}



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

下層ページ共通

------------------------------------- */
.page>main>section:first-of-type {
    padding: 0;
    max-width: none;
}

.page>main>section>h1 {
    background-color: #23790F;
}

.page>main>section>h2 {
    margin-bottom: 0;
}

@media screen and (max-width:600px) {
    .page>main>section>h1 {
        height: 60px;
        line-height: 60px;
    }

}

@media screen and (min-width:601px) {
    .page>main>section>h1 {
        height: 80px;
        line-height: 80px;
    }

    .page>section:nth-of-type(2) {
        margin-top: 0;
    }
}

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

サービス
------------------------------------- */
.service>main>div:first-of-type {
    text-align: center;
}

.bt>div>h2 {
    margin: 0 auto 64px;
}

.bt>div:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.bt>div>div {
    line-height: 2;
    text-indent: 1em;
}

.bt>figure>img {
    width: 100%;
    object-fit: cover;
}

.service>main>section:last-of-type {
    flex-direction: column;
}



#group_bt>div>div:last-of-type>dl>dt {
    display: flex;
}

#group_bt>div>div:last-of-type>dl>dt:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 10px 8px;
    background: black;
    transform: rotate(45deg);
}

#group_bt>div>div:last-of-type>dl>dd {
    text-indent: 1em;
}

@media screen and (max-width:600px) {
    .service>main>div:first-of-type {
        margin-top: 72px;
        margin-bottom: 72px;
        font-size: 2rem;
    }

    .service>main>section:not(:first-of-type) {
        margin-left: 20px;
        margin-right: 20px;
        flex-direction: column;
        padding: 0;
        background-color: rgba(255, 255, 255, .6);
    }

    .service>main>section>figure {
        top: -20px;
        position: relative;
        width: 89.55%;
        margin: 0 auto;
    }

    .bt>div:first-of-type {
        margin: 48px auto;
        padding-bottom: 48px;
        margin-top: -9rem;
        width: 89.55%;
    }

    .gr_t>div:first-of-type {
        padding-bottom: 0;
    }

    .gr_t {
        padding-bottom: 48px;
    }

    .bt>div>h2 {
        margin: 0 auto 48px;
        width: 100%;
        padding: 1rem 0;
        background: rgba(255, 255, 255, .8);
        filter: drop-shadow(3px 2px 2px rgba(0, 0, 0, 0.6));
    }

    #group_bt>div>div:last-of-type {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 48px;
        width: 89.55%;
    }

    #group_bt>div>div:last-of-type>dl:first-of-type {
        margin-bottom: 3rem;
    }

    #group_bt>div>div:last-of-type>dl>dt {
        margin-bottom: 1rem;
        margin-left: -1em;
    }

    #group_bt>div>div:last-of-type>dl>dd {
        text-align: justify;
    }

}

@media screen and (min-width:601px) {
    .page.service>main>section:nth-of-type(even)>div {
        padding: 64px 2rem 64px 50%;
    }

    .page.service>main>section:nth-of-type(odd)>div {
        padding: 64px 50% 64px 2rem;

    }

    .page.service>main>section:nth-of-type(4)>div {
        padding: 0;
    }



    .page.service>main>section:not(:first-of-type) {
        box-sizing: content-box;
        position: relative;
    }

    .page.service>main>section:nth-of-type(even) {
        padding-left: 40px;
        padding-right: 20px;
    }

    .page.service>main>section:nth-of-type(odd) {
        padding-left: 20px;
        padding-right: 40px;
    }

    .page.service>main>section:first-of-type {
        padding: 0;
    }

    .service>main>div:first-of-type {
        margin: 128px 1rem;
        font-size: 3.2rem;
    }

    .service>main>section:not(:first-of-type) {
        max-width: 960px;
        margin: 64px auto 0;
    }

    .service>main>section:nth-of-type(2) {
        margin-top: 0;
    }

    .service>main>section:nth-of-type(even)>figure {
        position: absolute;
        top: -20px;
        left: 20px;
        width: 46.87%;
    }

    .bt>div {
        background-color: rgba(255, 255, 255, .6);
    }

    .bt>figure>img {
        max-height: 300px;
    }

    .bt>div>h2,
    .bt>div>div>h2 {
        margin: 0 auto 64px;
    }

    .service>main>section:nth-of-type(3)>figure {
        position: absolute;
        bottom: -20px;
        right: 20px;
        width: 46.87%;

    }

    #group_bt>div>div:last-of-type {
        display: flex;
        margin: 0 auto;
        padding: 9rem 2rem 3rem;
    }



    div.gr_t>div:first-of-type {
        padding: 64px 2rem 64px 50%;
    }

    #group_bt>div>div:last-of-type>dl {
        width: 50%;
    }

    #group_bt>div>div:last-of-type>dl:first-of-type {
        margin-right: 4rem;
    }


    #group_bt>div>div:last-of-type>dl>dt {
        margin-bottom: 3rem;
        justify-content: center;
    }



}

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

会社案内

------------------------------------- */
.page.about>main>section>h2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page.about>main>section>h2::before,
.page.about>main>section>h2::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    margin: 0 .5em;
    background: black;
}

.page.about>main>section:not(:first-of-type) {
    text-align: center;
}

.page.about>main>section:last-of-type {
    text-align: start;
}

.page.about>main>section:nth-of-type(2)>div {
    margin-bottom: 42px;
}

.page.about>main>section>p {
    line-height: 2;
}

.page.about>main>section:nth-of-type(3)>div {
    line-height: 2;
    margin-bottom: 4rem;
}



@media screen and (max-width:600px) {
    .page.about>main>section:nth-of-type(2)>div {
        margin-bottom: 42px;
        letter-spacing: 0.2rem;
        text-align: left;
    }

    .page.about>main>section>h2 {
        margin-bottom: 48px;
    }

}

@media screen and (min-width:601px) {
    .page.about>main>section>h2 {
        margin-bottom: 64px;
    }

}

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

お問い合わせ

------------------------------------- */
.page.contact>main>section:nth-of-type(2) {
    margin: 128px auto 0;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 10px;
}

.page.contact>main {
    padding-left: 20px;
    padding-right: 20px;
}

.page.contact>main>section:first-of-type {
    margin-left: -20px;
    margin-right: -20px;
}

.page.contact>main>section>div>div:first-of-type {
    text-align: center;
}



form>dl>div:nth-of-type(1)>dt::after,
form>dl>div:nth-of-type(2)>dt::after,
form>dl>div:nth-of-type(4)>dt::after {
    content: "必須";
    display: inline-block;
    text-align: center;
    background-color: red;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 2;
    border-radius: 5px;
    min-width: 3rem;
    max-height: 2em;
    margin-left: 2rem;
}

form>dl>div {
    display: flex;
    padding-bottom: 5rem;
}

form>dl>div:nth-of-type(4) {
    align-items: flex-start;
}

form>dl>div>dd>input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgb(151, 151, 151);
    background-color: #FEFAF3;
    font-size: 1.6rem;
}

form>dl>div>dd>textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgb(151, 151, 151);
    background-color: #FEFAF3;
    font-size: 1.6rem;
}


form>dl>div>input {
    padding: 1.5rem 4rem;
}

form>dl>p {
    display: none;
}

@media screen and (max-width:1009px) {
    .page.contact>main>section:not(:first-of-type) {
        width: 89.55%;
    }

    .page.contact>main>section>div>div:first-of-type {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .page.contact>main>section>div>h2 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    form>dl>div:not(:last-of-type) {
        flex-direction: column;
        width: 91.66%;
        margin: 0 auto;
        padding-bottom: 2rem;
    }

    form>dl>div>dt {
        display: flex;
        margin-bottom: .5rem;
    }

    form>dl>div>dd>input {
        height: 3rem;
        padding-left: 1rem;
    }

    form>dl>div:nth-of-type(4)>dd {
        width: 100%;
    }

    form>dl>div>dd>textarea {
        height: 10rem;
        padding: 1rem;
    }

    form>dl>div:last-of-type {
        /* width: 39.32%; */
        padding-bottom: 3rem;
        text-align: center;
        margin: 0 auto;
    }

}


@media screen and (min-width:1010px) {
    form {
        margin-left: 4em;
        margin-right: 4em;
    }

    form>dl {
        margin-top: 3rem;
    }


    .page.contact>main>section>div>h2 {
        padding-top: 64px;
        padding-bottom: 64px;
    }


    form>dl>div>dt {
        width: 40%;
        display: flex;
        justify-content: space-between;
        margin-right: 2rem;
    }

    form>dl>div {
        align-items: center;
    }

    form>dl>div>dd {
        width: 90%;
        margin-left: auto;
    }


    form>dl>div>dd>input {
        height: 5rem;
        padding-left: 3rem;
    }

    .page.contact>main>section>div>div:first-of-type {
        font-size: 2rem;
        margin-bottom: 64px;
    }

    form>dl>div>dd>textarea {
        height: 30rem;
        padding: 3rem;
    }


}

input[type="submit"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration {
    display: none;
}

input[type="submit"]:focus {
    outline-offset: -2px;
}

#mw_wp_form_mw-wp-form-82 .button {
    background-color: #20711D;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 1.6rem;
    margin: 0 auto;
    font-family: 'ヒラギノ丸ゴ ProN W4', 'Hiragino Maru Gothic ProN';
    display: flex;
    justify-content: center;
}