/* pc */

/*============================================================
common
============================================================*/

.sp,
.spbr {
    display: none;
}
.font-g {
    font-family: var(--font-g);
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.hover {
    transition: all .3s .1s;
}
.hover:hover {
    opacity: .3;
}
.inner {
    z-index: 1;
    width: 1000rem;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    padding-right: 180rem;
}
.fs16 {
    font-size: var(--fs16);
}

/*============================================================
header
============================================================*/
#header {
    position: fixed;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 1000rem;
    height: 100vh;
    display: flex;
    justify-content: right;
    align-items: center; 
    pointer-events: none;
    z-index: 1000;
}

/* gnav */
.gnav {

}
.gnav__group-list a {
    font-size: var(--fs12);
    font-family: var(--font-en);
    line-height: 1;
    pointer-events: auto;
    transition: all .3s .1s;
}
.gnav__group-list a:hover {
    opacity: .3;
}
.gnav__group-list + .gnav__group-list {
    margin-top: 25rem;
}
.gnav__group-list-contact {
    width: 15rem;
}

/* scroll */
.mv__scroll,
.gnav__scroll {
    font-family: var(--font-en);
    font-size: var(--fs10);
    writing-mode: vertical-rl;
    padding-bottom: 110rem;
    position: absolute;
    bottom: 40rem;
    right: 90rem;
    background: url(../image/bg-scroll.png) no-repeat center bottom / 1rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mv__scroll.is-hidden,
.gnav__scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
}
    

/*============================================================
content
============================================================*/
#content .inner {
    display: flex;
    padding-bottom: 225rem;
}

#about,
#profile,
#service,
#contact {
    scroll-margin-top: 50rem;
}

/*=================
mv
=================*/
.mv {
    height: 100vh;
}
.mv .inner {
    width: 1166rem;
    padding-right: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-bottom: 0 !important;
}
.mv__title img {
    width: 180rem;
}
.mv p {
    font-size: var(--fs18);
    font-family: var(--font-min);
    line-height: 1;
    margin-left: 234rem;
}
.mv-body {
    display: flex;
}

/*=================
sec
=================*/
.sec-left { /* sec-left */
    width: 170rem;
    padding-top: 5rem;
}
.sec-right { /* sec-right */
    width: calc( 100% - 170rem );
}
.sec-right .sec-subtitle {
    font-size: var(--fs14);
    margin-top: 32rem;
    line-height: 2;
}
.sec-right p + p {
    margin-top: 1.5em;
}
.sec-right li {
    line-height: 2;
}
.sec-right > ul > li::before {
    content: '●';
    font-size: var(--fs14);
}
.sec-right li li {
    padding-left: 2em;
    text-indent: -1em;
}
.sec-right li li::before {
    content: '＊';
}

.fs16 + p {
    margin-top: 30rem;
}

/*=================
contact
=================*/
#contact {
    position: relative;
}
#contact::before {
    content: '';
    background: var(--bg-color-sub);
    position: absolute;
    width: 50vw;
    top: 0;
    left: 0;
    height: 100%;
}
#contact .inner {
    background: var(--bg-color-sub);
    position: relative;
    padding-right: 280rem;
    padding-bottom: 180rem !important;
}
#contact .inner::before {
    content: '';
    background: #fff;
    width: 180rem;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}
#contact .sec-left {
    padding-top: 185rem;
}
#contact .sec-right {
    padding-top: 180rem;
}
#contact table {
    margin-top: 25rem;
    width: 100%;
}
#contact tr {
    margin-top: 10rem;
}
#contact th {
    text-align: left;
    font-weight: 500;
    width: 170rem;
    padding-top: 17rem;
    vertical-align: top;
    font-size: 12rem;
}
#contact th label {
    padding-right: 31rem;
    position: relative;
}
#contact th label::after {
    content: '';
    background: url(../image/icon-att.png) no-repeat 0 0 / cover;
    height: 15rem;
    width: 26rem;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
#contact th label.user_tels::after {
    display: none;
}
#contact td {
    padding-top: 10rem;
}
.privacy-box {
    background: #fff;
    border: solid 1px #ccc;
    padding-right: 13rem;
    margin-top: 40rem;
}
.privacy-box-inner {
    padding: 30rem 15rem 30rem 23rem;
    overflow-y: auto;
    height: 288rem;
}
.privacy-box-inner::-webkit-scrollbar {
    width: 5rem;
}
.privacy-box-inner::-webkit-scrollbar-thumb {
    background: #DECFC6;
    border-radius: 3rem;
}
.privacy-box-inner::-webkit-scrollbar-track {
    background: var(--bg-color-sub);
    margin-top: 15rem;
    margin-bottom: 15rem;
}
.privacy-box-title {
    font-size: var(--fs14);
    font-weight: 700;
    margin-bottom: 40rem;
}

/* form */
.form-container td input,
.form-container td input[type="file"] {
    width: 100%;
    height: 40rem;
    font-family: YakuHanJP, "Zen Kaku Gothic New", sans-serif;
    line-height: 40rem;
    text-align: left;
}
select,
textarea,
input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    border: none;
    border-radius: 8rem;
    background: #fff;
    vertical-align: baseline;
    outline: none;
    padding: 0 15rem;
    font-family: YakuHanJP, "Zen Kaku Gothic New", sans-serif;
    font-size: var(--fs12);
    color: var(--font-color);
}
label {
    font-size: var(--fs12);
}
textarea {
    padding: 15rem;
    height: 180rem;
}
.input-checkbox { /* checkbox */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35rem;
}
.input-checkbox input[type="checkbox"] {
    position: relative;
    width: 18rem;
    height: 18rem;
    border: 1rem solid var(--font-color);
    vertical-align: -5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background: #fff;
    border-radius: 3rem;
}
.input-checkbox input[type="checkbox"]:checked:before {
    position: absolute;
    top: 2rem;
    left: 6rem;
    transform: rotate(50deg);
    width: 5rem;
    height: 10rem;
    border-right: 2rem solid var(--font-color);
    border-bottom: 2rem solid var(--font-color);
    content: '';
}
.input-checkbox label {
    text-align: left;
    padding-left: 5rem;
    font-size: var(--fs14);
    cursor: pointer;
}
.box-button { /* button */
    display: flex;
    justify-content: center;
    margin: 40rem auto 0;
}
.submit-button { /* submit btn */
    background: var(--font-color);
    color: #fff;
    font-size: var(--fs14);
    display: block;
    height: 100%;
    line-height: 40rem;
    text-align: center;
    border: none;
    width: 180rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 5rem;
    font-family: YakuHanJP, "Zen Kaku Gothic New", sans-serif;
    cursor: pointer;
}
.submit-button-sub {
    background: #fff;
    color: var(--font-color);
    border: solid 1px var(--font-color);
}
.submit-button + .submit-button {
    margin-left: 10rem;
}
/* バリデーション */
.error-message {
    display: block;
    color: #e74c3c;
    font-size: 12rem;
    margin-top: 5rem;
    font-weight: bold;
    /* アニメーションを入れるとかっこいいです */
    animation: fadeInUp 0.3s ease-out;
}

/* 入力枠がエラーの時のデザイン */
input.is-error, 
textarea.is-error {
    background-color: #fffafb;
    border: 1px solid #e74c3c !important;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-comp .gnav__scroll,
.contact-conf .gnav__scroll,
.contact-comp .mv__scroll,
.contact-conf .mv__scroll {
    display: none !important;
}

.copyright {
    text-align: center;
    padding-top: 55rem;
    padding-bottom: 70rem;
}
.copyright p {
    line-height: 1;
}
.copyright small {
    font-size: var(--fs11);
}

@media screen and (max-width:1060px ){
}

@media screen and (max-width:896px ){

}

@media screen and (max-width:769px ){ /* sp */
    /*============================================================
    common
    ============================================================*/
    body{
        min-width: 100%;
    }
    html{
        font-size: calc( 1vw/ ( 390/ 100));
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }

    /*============================================================
    header
    ============================================================*/
    #header {
        height: 70rem;
        right: 0;
        transform: translateX(0);
        left: 0;
        padding: 0 25rem;
        background: #fff;
        width: 100%;
    }

    /* gnav */
    .gnav__group {
        display: flex;
    }
    .gnav__group-list a {
        font-size: var(--fs10);
    }
    .gnav__group-list + .gnav__group-list {
        margin-top: 0;
    }
    .gnav__group-list:nth-child(2) {
        margin-left: 27rem;
    }
    .gnav__group-list:nth-child(3) {
        margin-left: 26rem;
    }
    .gnav__group-list:last-child {
        margin-left: 27rem;
    }

    /*============================================================
    footer
    ============================================================*/
    .copyright {
        padding-top: 50rem;
        padding-bottom: 120rem;
    }

    /*============================================================
    content
    ============================================================*/
    #content .inner {
        padding: 0 45rem;
        display: block;
        width: 100%;
    }

    #about {
    scroll-margin-top: 150rem;
}

    .mv__scroll {
        position: fixed;
        right: 26rem;
        bottom: 32rem;
    }

    .mv {
        min-height: 675rem;
    }
    .mv .inner {
        display: flex !important;
    }
    .mv__title,
    .mv p {
        margin: 150rem 0 0;
    }
    .mv-body {
        display: block;
    }

    .sec-left {
        width: 100%;
        padding-top: 125rem;
    }
    .sec-right {
        width: 100%;
        margin-top: 81rem;
        padding-bottom: 30rem;
    }

    #about .sec-left {
        padding-top: 0;
    }

    #service .sec-right {
        padding-bottom: 125rem;
    }

    #contact .inner {
        padding-bottom: 100rem !important;
    }
    #contact .inner::before {
        display: none;
    }
    #contact .sec-left {
        padding-top: 125rem;
    }
    #contact .sec-right {
        padding-top: 0;
        padding-bottom: 0;
    }
    #contact table {
        margin-top: 56rem;
    }
    #contact th {
        display: block;
    }
    #contact td {
        display: block;
        padding-top: 8rem;
    }
    .privacy-box-inner {
        height: 344rem;
    }
    .privacy-box-title {
        margin-bottom: 25rem;
    }
    .input-checkbox {
        margin-top: 29rem;
    }

    /* form */
    .privacy-box {
        margin-top: 51rem;
    }
    .box-button {
        flex-direction: column;
        align-items: center;
    }
    .submit-button + .submit-button {
        margin-left: 0;
        margin-top: 10rem;
    }

}