@charset "UTF-8";

/* CSS Document */

/*----------------------------------------
PC用レイアウト(768px以上スクリーン)
----------------------------------------*/

/* body全体の初期スタイル調整 */

html,
body {
    width: 100%;
}

body {
    font-size: 62.5%;
    /*emの計算をしやすくするための定番設定*/
    font-family: yu-gothic-pr6n, sans-serif;
    font-weight: normal;
    color: #000;
}

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

    body {
        width: 100%;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

}


ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/*----------------------------------------
全体レイアウト/背景設定(PC)
----------------------------------------*/

/* 全体エリア(全体背景を設定するにはここ) */

.main {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

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

    .main {
        width: 100%;
        margin: 0%;
    }

}

#main-contents {
    max-width: 415px;
    width: 100%;
    margin: 0 auto;

}

@media only screen and (max-width:768px) {
    #main-contents {
        width: 100vw;
        margin: 0 auto;
    }
}

.contents {
    background: #f5bdbc;
    padding: 5% 0;
}

.contents_inner {
    margin: 0 auto;
    max-width: 520px;
    background: #fff;
    border-radius: 20px;
    padding: 4%;

}

.contents p {
    line-height: 1.8em;
    font-size: 1.6em;
    color: #413e3a;
}

table {
    margin: 0 auto;
}

.contents td {
    line-height: 1.8em;
    font-size: 1.4em;
    color: #413e3a;
    padding-left: 8%;
}

.contents tr{
    border-bottom: #ff7674 solid 0.5px;
    padding: 10%;
}

.label{
    font-weight: bold;
}

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

    .contents {
        background: #f5bdbc;
        padding: 3% 1%;
    }

    .contents_inner {
        margin: 5%;
        padding: 7%;
        background: #fff;
        border-radius: 20px;
    }

    .contents p {
        line-height: 1.8em;
        font-size: 1.3em;
        color: #413e3a;
    }

    .contents td {
        line-height: 1.8em;
        font-size: 1.2em;
        color: #413e3a;
        padding-left: 3%;
    }

    .contents tr{
        border-bottom: #ff7674 solid 0.5px;
        padding: 10%;
    }
    
}

/*----------------------------------------
hタグの設定
----------------------------------------*/

/*H2タグ*/
.contents h2 {
    margin: 0 0 0em;
    margin-bottom: 7%;
    padding: 0 0.9em;
    font-size: 2.7em;
    font-weight: bold;
    color: #ff7674;
    text-align: center;

}

.contents h3 {
    margin: 0 0 0em;
    font-size: 2.5em;
    font-weight: bold;
    color: #413e3a;
    padding: 0.25em 0.5em;
    /*上下 左右の余白*/
    border-left: solid 5px #ff7674;
    /*左線*/
}

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

    .contents h2 {
        margin: 0 0 0em;
        padding: 0.3em 0.9em;
        margin-bottom: 10%;
        font-size: 2em;
        font-weight: bold;
        color: #413e3a;
        text-align: center;

    }

    .contents h3 {
        margin: 0 0 0em;
        font-size: 2em;
        font-weight: bold;
        color: #413e3a;
        padding: 0.25em 0.5em;
        /*上下 左右の余白*/
        border-left: solid 5px #ff7674;
        /*左線*/
    }
}

/*----------------------------------------
FV
----------------------------------------*/

#fv {
    max-width: 415px;
    width: 100%;
    margin: 0 auto;
}

/*----------------------------------------
CVエリア
----------------------------------------*/

.cv_area {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.cv-btn {
    position: absolute;
    top: 73%;
    transition-duration: .4s;
}

.cv-btn img {
    width: 90%;
}

.cv-btn:hover {
    transform: scale(1.1);
    opacity: 0.6;
}

.cv-btn.anim-box {
    animation: fuwafuwa 1s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes fuwafuwa {
    from {
        transform: scale(0.9, 0.9);
    }

    to {
        transform: scale(1, 1);
    }
}

/*----------------------------------------
sec02_レビュー
----------------------------------------*/

.review_wrap {
    background: #fff;
    background-repeat: no-repeat;
    background-size: 100%;
}

/*高さを制限しているボックスの要素*/
.container {
    position: relative;
    max-width: 500px;
    height: 650px;
    padding: 5% 5% 20% 5%;
    overflow: hidden;
    transition: .4s;
    box-sizing: border-box;
}

/*グラデーションで隠す擬似要素*/
.container:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0) 100%);
    transition: .4s;
}

/*クラス付与時のスタイル*/
.container.active:before {
    opacity: 0;
    visibility: hidden;
}

/*ボタンのスタイル*/
button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
    background: #82c948;
    border: none;
    transition-duration: .4s;
}

button:hover {
    opacity: 0.6;
}

/*----------------------------------------
sec03_制作実績
----------------------------------------*/
.work {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.carousel_wrap {
    position: absolute;
    top: 32%;
}

.c-carousel {
    position: relative;
    width: 93%;
    margin: 0 auto;
}

.c-carousel__activator-main {
    position: absolute;
    z-index: -1;
    opacity: 0;
    position: fixed;
}

.c-carousel__main {
    overflow: hidden;
    position: relative;
}

.c-carousel__main-track {
    display: flex;
    white-space: nowrap;
    transition: transform 0.3s ease-out;
}

.c-carousel__main-item {
    flex-shrink: 0;
    width: 100%;
}

.c-carousel__main-image {
    display: block;
    width: 100%;
}

.c-carousel__main-control-item {
    display: none;
}

.c-carousel__btn-prev-main,
.c-carousel__btn-next-main {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
    transform: translateY(-50%);
    transition: opacity 0.3s;
    cursor: pointer;
}

.c-carousel__btn-prev-main:hover {
    opacity: 0.6;
}

.c-carousel__btn-next-main:hover {
    opacity: 0.6;
}

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

    .c-carousel__btn-prev-main,
    .c-carousel__btn-next-main {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 9%;
        transform: translateY(-50%);
        transition: opacity 0.3s;
        cursor: pointer;
    }

    .c-carousel__btn-prev-main:hover {
        opacity: 0.6;
    }

    .c-carousel__btn-next-main:hover {
        opacity: 0.6;
    }

}

.c-carousel__btn-prev-main {
    right: auto;
    left: 0;
}

.c-carousel__activator-main:nth-child(1):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(1) {
    display: block;
}

.c-carousel__activator-main:nth-child(2):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(2) {
    display: block;
}

.c-carousel__activator-main:nth-child(3):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(3) {
    display: block;
}
.c-carousel__activator-main:nth-child(4):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(4) {
    display: block;
}
.c-carousel__activator-main:nth-child(5):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(5) {
    display: block;
}

.c-carousel__activator-main:nth-child(1):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 0));
}

.c-carousel__activator-main:nth-child(2):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 1));
}

.c-carousel__activator-main:nth-child(3):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 2));
}

.c-carousel__activator-main:nth-child(4):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 3));
}

.c-carousel__activator-main:nth-child(5):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 4));
}

/*----------------------------------------
sec16_よくあるご質問
----------------------------------------*/

.faq {
    background-image: url(../images/sec16_faq.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-top: -1px;
}

.accordion_wrap {
    padding: 65% 5% 5% 5%;
    width: 100%;
    margin: 0 auto;
}

.accordion {
    margin-bottom: 3%;
    position: relative;
}

.accordion__btn {
    cursor: pointer;
    position: relative;
}

.accordion__btn::before {
    content: '';
    display: inline-block;
    border-radius: 10%;
    width: 4%;
    height: 3px;
    background-color: #fffee4;
    position: absolute;
    right: 3.97%;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 1s;
}

.accordion__btn::after {
    content: '';
    display: inline-block;
    border-radius: 10%;
    width: 4%;
    height: 3px;
    background-color: #fffee4;
    position: absolute;
    right: 3.97%;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 1s;
}

.accordion__btn.show::before {
    opacity: 0;
}

.accordion__btn.show::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion__content {
    display: none;
}

.contact_sub-btn {
    position: sticky;
    top: 0;
    margin-top: -13%;
    margin-bottom: 9%;
    margin-left: 18.5%;
}

.contact_sub-btn img {
    width: 56%;
    transition: 0.3s;
}

.contact_sub-btn:hover {
    opacity: 0.7;
}

/*----------------------------------------
トップへ戻るボタン
----------------------------------------*/

a.back_btn {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 43%;
    margin: auto;
    padding: 0.9rem 0;
    margin-top: 7%;
    font-weight: bold;
    border: 2px solid #82c948;
    color: #82c948;
    border-radius: 100vh;
    transition: 0.5s;
    font-size: 1.4em;
}

a.back_btn:hover {
    color: #fff;
    background: #82c948;
}

@media only screen and (max-width:768px) {
    a.back_btn {
        display: block;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        width: 50%;
        margin: auto;
        padding: 0.8rem;
        margin-top: 10%;
        font-weight: bold;
        border: 2px solid #82c948;
        color: #82c948;
        border-radius: 100vh;
        transition: 0.5s;
        font-size: 1.1em;
    }

    a.back_btn:hover {
        color: #fff;
        color: #82c948;
    }
}

/*----------------------------------------
フッター部分
----------------------------------------*/

.footer {
    background: #413e3a;
    padding: 2.5em 0em;
    text-align: center;
    font-size: 1.4em;
    color: #fff;

}

footer ul {
    display: flex;
    justify-content: center;
}

footer ul li {
    padding: 0 1.5%;
}

footer ul li+li {
    border-left: 1px solid #fff;
}

.footer a {
    color: #fff;
    transition-duration: .4s;
}

.footer a:hover {
    color: #ff9997;
}

.footer_logo {
    transition-duration: .4s;
}

.footer_logo img {
    width: 12%;
    margin-bottom: 2%;
}

.footer_logo:hover {
    transform: scale(1.1);
    opacity: 0.6;
}

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

    .footer {
        background: #413e3a;
        padding: 2em 1.5em;
        text-align: center;
        font-size: 1.5em;
        color: #fff;
    }

    footer ul {
        display: flex;
        justify-content: center;
        margin-bottom: 5%;
    }

    .footer_logo img {
        width: 40%;
        margin-bottom: 7%;
        margin-top: 7%;
    }

}