@charset "UTF-8";

/* ------------------------- */
/* 全般
------------------------- */
body {
    width: 100%;
    background-color: #f0e2d2;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

.wrapper {
    margin: 0 auto;
    max-width: 1300px;
    text-align: center;
}

.newLine {
    display: inline-block;
}

.text80 {
    font-size: 5rem;
}

.text60 {
    font-size: 3.75rem;
}

.text40 {
    font-size: 2.5rem;
}

.text32 {
    font-size: 2rem;
}

.text24 {
    font-size: 1.5rem;
}

.textBold {
    font-weight: 700;
}

.textMedium {
    font-weight: 500;
}

.textLight {
    font-weight: 300;
}

.textUp {
    text-orientation: upright;
    writing-mode: tb-rl;
    -ms-writing-mode: tb-rl;
}

.ZenKakuGothicAntique {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

.ZenOldMincho {
    font-family: 'Zen Old Mincho', serif;
}

.textLineHeight {
    line-height: 1.2;
}

a.link,
a.link-w {
    position: relative;
    display: inline-block;
}

a.link::after,
a.link-w::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 0;
    height: 1px;
    background-color: #3d3832;
    transition: .4s;
}

a.link:hover::after,
a.link-w:hover::after {
    width: 100%;
}

a.link-w::after {
    background-color: #FFF;
}

@media screen and (max-width:1299px) {
    .wrapper {
        padding: 0 5%;
    }
}

@media screen and (max-width:425px) {

    .text80 {
        font-size: 3.5rem;
    }

    .text60 {
        font-size: 2rem;
    }

    .text40 {
        font-size: 1.75rem;
    }

    .text32 {
        font-size: 1.5rem;
    }

    .text24 {
        font-size: 1rem;
    }
}

/* ------------------------- */
/* header
------------------------- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

#header .header-wrapper {
    margin: 50px auto 0 auto;
    padding: 0 5%;
    max-width: 2560px;
}

#header .logo-PC {
    height: 50px;
}

#header .logo-SP {
    display: none;
    height: 50px;
}

#header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .SPbtn-container {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #3d3832;
    z-index: 999;
}

#header .SPbtn-container span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 2px;
    background-color: #FFF;
    transition: .4s all;
}

#header .SPbtn-container span:nth-of-type(1) {
    top: 10px;
}

#header .SPbtn-container span:nth-of-type(3) {
    top: 30px;
}

#header.active .SPbtn-container span:nth-of-type(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}

#header.active .SPbtn-container span:nth-of-type(2) {
    opacity: 0;
}

#header.active .SPbtn-container span:nth-of-type(3) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

#header .menu-container {
    overflow-y: auto;
}

#header .menu-container ul {
    display: grid;
    grid-template-columns: repeat(5, auto) 9em;
    align-items: center;
}

#header .menu-container .menu {
    padding: 0 .5rem;
    margin: 0 1rem;
}

#header .menu-container .menu:nth-child(1) {
    margin-left: 0;
}

#header .menu-container .menu:nth-child(5) {
    margin-right: 2rem;
}

#header .contactBtn {
    padding: 8px;
    background-color: #3d3832;
    color: #FFF;
}

#header .contactBtn:hover {
    opacity: .7;
}

@media screen and (max-width:1024px) {
    #header .header-wrapper {
        margin: 20px auto 0 auto;
    }

    #header .SPbtn-container {
        display: block;
    }

    #header .menu-container {
        display: none;
        animation: slideIn .4s;
    }

    #header.active .menu-container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #FFF;
    }

    #header.active .menu-container ul {
        margin-top: 80px;
        padding-bottom: 64px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        row-gap: 2em;
    }

}

@media screen and (max-width:768px) {
    #header .logo-PC {
        display: none;
    }

    #header .logo-SP {
        display: block;
    }

}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-64px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ------------------------- */
/* mv
------------------------- */
#mv .mvContainer-PC,
#mv .mvContainer-SP {
    position: relative;
}

#mv .mvContainer-SP {
    display: none;
}

#mv .mv-PC,
#mv .mv-SP,
#mv .siteTitle-PC,
#mv .siteTitle-SP {
    width: 100%;
}

#mv .siteTitle-PC,
#mv .siteTitle-SP {
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width:768px) {
    #mv .mvContainer-PC {
        display: none;
    }

    #mv .mvContainer-SP {
        display: block;
    }
}

/* ------------------------- */
/* main
------------------------- */
#sec01,
#sec02,
#sec03,
#sec04,
#sec05 {
    padding-top: 128px;
    padding-bottom: 128px;
}

.underLine {
    background: linear-gradient(transparent 60%, #ffe67d 60%);
    mix-blend-mode: multiply;
}

.contentsCentering {
    display: flex;
    justify-content: center;
}

.contentsWrapper {
    width: 100%;
    padding: 128px 0 0;
    max-width: 1300px;
    position: relative;
    border-top: 1px solid #3d3832;
}

.contentsWrapper::before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #3d3832;
}

.contactLink {
    padding: 8px 48px 8px 0;
    position: relative;
    display: inline-block;
}

.contactLink::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 0;
    height: 1px;
    background-color: #3d3832;
    transition: .4s all;
}

.contactLink:hover::before {
    width: calc(100% - 48px);
}

.contactLink::after {
    position: absolute;
    top: 50%;
    left: calc(100% - 20px);
    transform: translate(-50%, -50%);
    content: "";
    width: 40px;
    height: 40px;
    background: url("../img/link-deco.png") center center no-repeat;
    background-size: contain;
}

@media screen and (max-width:768px) {

    #sec01,
    #sec02,
    #sec03,
    #sec04,
    #sec05 {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .contentsWrapper {
        padding: 64px 0;
    }

    .contentsWrapper::before {
        width: 16px;
        height: 16px;
    }
}

/* ------------------------- */
/* sec01
------------------------- */
#sec01 {
    display: grid;
    grid-template-rows: repeat(4, auto);
    row-gap: 128px;
}

/* いま、法人化する個人事業主が増えています。 */
#sec01 .contentsContainer-A,
#sec01 .contentsContainer-B {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 64px;
}

#sec01 .contentsContainer-A .textContainer {
    text-align: left;
}

/* 法人化するメリットって？ */
#sec01 .contentsContainer-B .textContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    column-gap: 64px;
    row-gap: 64px;
    text-align: left;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(1),
#sec01 .contentsContainer-B .textContainer li:nth-child(2),
#sec01 .contentsContainer-B .textContainer li:nth-child(3),
#sec01 .contentsContainer-B .textContainer li:nth-child(4) {
    padding-left: 50px;
    position: relative;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(1):before,
#sec01 .contentsContainer-B .textContainer li:nth-child(2):before,
#sec01 .contentsContainer-B .textContainer li:nth-child(3):before,
#sec01 .contentsContainer-B .textContainer li:nth-child(4):before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    width: 50px;
    height: 50px;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(1):before {
    background: url("../img/sec01-deco1.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(2):before {
    background: url("../img/sec01-deco2.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(3):before {
    background: url("../img/sec01-deco3.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-B .textContainer li:nth-child(4):before {
    background: url("../img/sec01-deco4.png") center center no-repeat;
    background-size: contain;
}

/* 法人成りは、正しい知識とノウハウをもっておこなうことが重要です！ */
#sec01 .contentsContainer-C h2 {
    position: relative;
}

#sec01 .contentsContainer-C h2::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    background: url("../img/sec01-deco7.png") center center no-repeat;
    background-size: contain;
    width: 300px;
    height: 150px;
    z-index: -1;
}

#sec01 .contentsContainer-C .textContainer-C1 {
    padding-top: 64px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    row-gap: 32px;
    text-align: left;
    background: url("../img/sec01-deco5.png") right bottom no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-C .textContainer-C1 ul {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    row-gap: 16px;
}

#sec01 .zabuton-W {
    padding-left: 1em;
    position: relative;
    background-color: #FFF;
}

#sec01 .zabuton-W::before {
    position: absolute;
    top: 0;
    left: 0.5em;
    transform: translateX(-50%);
    content: "・";
}

#sec01 .contentsContainer-C .textContainer-C2 {
    margin-top: 32px;
    text-align: left;
}

@media screen and (max-width:1024px) {
    #sec01 .contentsContainer-C h2::before {
        top: -50%;
    }
}

@media screen and (max-width:768px) {
    #sec01 {
        row-gap: 64px;
    }

    #sec01 .contentsContainer-A,
    #sec01 .contentsContainer-B {
        row-gap: 32px;
    }

    #sec01 .contentsContainer-B .textContainer {
        row-gap: 32px;
    }

    #sec01 .contentsContainer-C h2 {
        margin-top: 64px;
    }

    #sec01 .contentsContainer-C h2::before {
        top: -30%;
    }

    #sec01 .contentsContainer-C .textContainer-C1 {
        background: url("../img/sec01-deco6.png") right bottom no-repeat;
        background-size: contain;
    }
}

@media screen and (max-width:425px) {
    #sec01 .contentsContainer-B .textContainer {
        grid-template-columns: auto;
        grid-template-rows: repeat(4, auto);
        column-gap: 0px;
        row-gap: 32px;
    }

    #sec01 .contentsContainer-C h2::before {
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
    }

    #sec01 .contentsContainer-C .textContainer-C1 {
        background: url("../img/sec01-deco6.png") center bottom no-repeat;
        background-size: contain;
    }
}

/* 今なら無料の個別相談受付中！ */
#sec01 .contentsContainer-D {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "worryA solution worryB";
    align-items: center;
    column-gap: 64px;
}

#sec01 .zabuton-B {
    background-color: rgba(240, 226, 210, .9);
}

#sec01 .contentsContainer-D .textContainer-D1,
#sec01 .contentsContainer-D .textContainer-D2 {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, 150px);
    text-align: left;
    row-gap: 32px;
}

#sec01 .contentsContainer-D .textContainer-D1 {
    grid-area: worryA;
}

#sec01 .contentsContainer-D .textContainer-D1 li,
#sec01 .contentsContainer-D .textContainer-D2 li {
    display: flex;
    align-items: center;
}

#sec01 .contentsContainer-D .textContainer-D1 li {
    justify-content: flex-end;
}

#sec01 .contentsContainer-D .textContainer-D2 li {
    justify-content: flex-start;
}

#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1),
#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2),
#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3),
#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1),
#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2),
#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3) {
    position: relative;
}

#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1)::after,
#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2)::after,
#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3)::after {
    position: absolute;
    top: 50%;
    left: -30%;
    transform: translateY(-50%);
    content: "";
    width: 100%;
    height: 150px;
    z-index: -1;
}

#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1)::after {
    background: url("../img/illust05.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2)::after {
    background: url("../img/illust01.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3)::after {
    background: url("../img/illust04.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D2 {
    grid-area: worryB;
}

#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1)::after,
#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2)::after,
#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3)::after {
    position: absolute;
    top: 50%;
    right: -30%;
    transform: translateY(-50%);
    content: "";
    width: 100%;
    height: 150px;
    z-index: -1;
}

#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1)::after {
    background: url("../img/illust02.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2)::after {
    background: url("../img/illust06.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3)::after {
    background: url("../img/illust03.png") center center no-repeat;
    background-size: contain;
}

#sec01 .contentsContainer-D .textContainer-D3 {
    grid-area: solution;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sec01 .contentsContainer-D .textContainer-D3A {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #FFF;
    text-align: left;
}

#sec01 .contentsContainer-D .textContainer-D3B {
    margin-top: 64px;
    margin-bottom: 64px;
}

@media screen and (max-width:1299px) {
    #sec01 .contentsContainer-D {
        grid-template-columns: auto;
        grid-template-rows: repeat(3, auto);
        grid-template-areas:
            "worryA"
            "worryB"
            "solution";
        justify-content: center;
        align-items: center;
        column-gap: 0px;
        row-gap: 64px;
    }

    #sec01 .contentsContainer-D .textContainer-D1,
    #sec01 .contentsContainer-D .textContainer-D2 {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        column-gap: 64px;
        row-gap: 32px;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li,
    #sec01 .contentsContainer-D .textContainer-D2 li {
        height: 316px;
        align-items: flex-start;
        justify-content: center;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li p,
    #sec01 .contentsContainer-D .textContainer-D2 li p {
        padding-top: 166px;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1)::after,
    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2)::after,
    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3)::after {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

}

@media screen and (max-width:425px) {
    #sec01 .contentsContainer-D {
        overflow: hidden;
        row-gap: 0px;
    }

    #sec01 .contentsContainer-D .textContainer-D1,
    #sec01 .contentsContainer-D .textContainer-D2 {
        grid-template-columns: auto;
        grid-template-rows: repeat(3, 150px);
        row-gap: 0px;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li,
    #sec01 .contentsContainer-D .textContainer-D2 li {
        height: 100%;
        align-items: center;
        overflow: hidden;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1),
    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3),
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2) {
        justify-content: flex-start;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1)::after,
    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2)::after {
        top: 0;
        left: 25%;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(1) p,
    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(3) p,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(2) p {
        padding-top: 0px;
        padding-left: 150px;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2),
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1),
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3) {
        justify-content: flex-end;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1)::after,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3)::after {
        top: 0;
        left: 75%;
    }

    #sec01 .contentsContainer-D .textContainer-D1 li:nth-child(2) p,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(1) p,
    #sec01 .contentsContainer-D .textContainer-D2 li:nth-child(3) p {
        padding-top: 0px;
        padding-right: 150px;
    }

    #sec01 .contentsContainer-D .textContainer-D3A {
        margin-top: 32px;
        width: 280px;
        height: 280px;
    }

    #sec01 .contentsContainer-D .textContainer-D3B {
        margin-top: 32px;
        margin-bottom: 32px;
    }

}

/* ------------------------- */
/* sec02
------------------------- */
/* サッポロネストのとなりの法人成りなら！ */
#sec02 .sectionTitleContainer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
}

#sec02 .sectionTitleContainer .textContainer-A,
#sec02 .sectionTitleContainer .textContainer-B {
    color: #FFF;
    text-orientation: upright;
    writing-mode: tb-rl;
    -ms-writing-mode: tb-rl;
}

#sec02 .sectionTitleContainer img {
    max-width: 600px;
    width: calc(100% - 150px);
}

#sec02 .sectionTitleContainer .textContainer-B {
    margin-bottom: auto;
}

@media screen and (max-width:425px) {
    #sec02 .sectionTitleContainer {
        flex-direction: column;
        align-items: center;
        row-gap: 16px;
    }

    #sec02 .sectionTitleContainer .textContainer-A,
    #sec02 .sectionTitleContainer .textContainer-B {
        color: #FFF;
        text-orientation: inherit;
        writing-mode: inherit;
        -ms-writing-mode: inherit;
    }

    #sec02 .sectionTitleContainer .textContainer-B {
        margin-bottom: 0;
    }

    #sec02 .sectionTitleContainer img {
        width: 100%;
    }
}

/* 法人としての第一歩を自信をもって踏み出せます。 */
#sec02 .contentsContainer-01 {
    margin-top: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 128px;
}

#sec02 .contentsContainer-A {
    display: flex;
    width: 100%;
    align-items: center;
    column-gap: 32px;
}

#sec02 .contentsContainer-A .textContainer {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    width: calc(50% - 16px);
    text-align: left;
}

#sec02 .contentsContainer-A .imageContainer {
    width: calc(50% - 16px);
    height: 500px;
    background: url("../img/edit_28203457_l.jpg") right 40% center no-repeat;
    background-size: cover;
}

@media screen and (max-width:768px) {
    #sec02 .contentsContainer-01 {
        margin-top: 64px;
    }

    #sec02 .contentsContainer-A {
        flex-direction: column-reverse;
        column-gap: 0px;
        row-gap: 32px;
    }

    #sec02 .contentsContainer-A .textContainer {
        width: 100%;
    }

    #sec02 .contentsContainer-A .imageContainer {
        width: 100%;
        height: 400px;
        background: url("../img/edit_28203457_l.jpg") right 40% center no-repeat;
        background-size: cover;
    }
}

@media screen and (max-width:425px) {
    #sec02 .contentsContainer-A .imageContainer {
        height: 300px;
    }
}

/* 相談サービスほか */
#sec02 .contentsContainer-B {
    display: flex;
    width: 100%;
    align-items: center;
    column-gap: 64px;
}

#sec02 .contentsContainer-B .imageContainer {
    background: url("../img/edit_28187585_l.jpg") center center no-repeat;
    background-size: cover;
    width: calc(50% - 32px);
    height: 800px;
}

#sec02 .contentsContainer-B .textContainer {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, 1fr);
    row-gap: 64px;
    width: calc(50% - 32px);
    text-align: left;
}

#sec02 .contentsContainer-B .serviseTitleContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-top {
    position: relative;
    padding-left: 40px;
}

#sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-top::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    width: 40px;
    height: 136px;
    background: url("../img/sec02-deco1.png") center center no-repeat;
    background-size: contain;
}

#sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-bottom {
    padding-left: 40px;
    margin-top: -16px;
}

#sec02 .contentsContainer-B .textContainer-B1,
#sec02 .contentsContainer-B .textContainer-B2,
#sec02 .contentsContainer-B .textContainer-B3 {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 64px;
}

#sec02 .contentsContainer-B .textContainer-B1,
#sec02 .contentsContainer-B .textContainer-B3 {
    justify-content: flex-end;
}

#sec02 .contentsContainer-B .textContainer-B2 {
    margin-top: 32px;
    justify-content: flex-start;
}

#sec02 .contentsContainer-B .textContainer-B3 {
    margin-top: 32px;
}

#sec02 .contentsContainer-B .textContainer-B1::after,
#sec02 .contentsContainer-B .textContainer-B2::after,
#sec02 .contentsContainer-B .textContainer-B3::after {
    position: absolute;
    bottom: -96px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 100%;
    height: 120px;
    background: url("../img/sec02-deco2.svg") center center no-repeat;
    background-size: contain;
}

#sec02 .contentsContainer-B .textContainer-B2::after {
    transform: translateX(-50%) scale(-1, 1);
}

#sec02 .contentsContainer-B .textContainer-B4 {
    margin-top: 32px;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media screen and (max-width:768px) {
    #sec02 .contentsContainer-01 {
        row-gap: 64px;
    }

    #sec02 .contentsContainer-B {
        flex-direction: column;
        column-gap: 0px;
        row-gap: 32px;
    }

    #sec02 .contentsContainer-B .imageContainer {
        width: 100%;
        height: 400px;
    }

    #sec02 .contentsContainer-B .textContainer {
        grid-template-rows: repeat(4, auto);
        row-gap: 32px;
        width: 100%;
    }

    #sec02 .contentsContainer-B .textContainer-B1::before,
    #sec02 .contentsContainer-B .textContainer-B2::before,
    #sec02 .contentsContainer-B .textContainer-B3::before {
        position: absolute;
        content: "";
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: #3d3832;
    }

    #sec02 .contentsContainer-B .textContainer-B1::before,
    #sec02 .contentsContainer-B .textContainer-B3::before {
        left: 0;
        bottom: -40px;
    }

    #sec02 .contentsContainer-B .textContainer-B2::before {
        right: 0;
        bottom: -40px;
    }


    #sec02 .contentsContainer-B .textContainer-B1::after,
    #sec02 .contentsContainer-B .textContainer-B2::after,
    #sec02 .contentsContainer-B .textContainer-B3::after {
        position: absolute;
        bottom: -32px;
        height: 1px;
        background: inherit;
        background-color: #3d3832;
    }

    #sec02 .contentsContainer-B .textContainer-B1,
    #sec02 .contentsContainer-B .textContainer-B2,
    #sec02 .contentsContainer-B .textContainer-B3 {
        justify-content: center;
        column-gap: 64px;
    }

    #sec02 .contentsContainer-B .textContainer-B4 {
        margin-top: 32px;
        margin-left: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
}

@media screen and (max-width:425px) {
    #sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-top {
        padding-left: 20px;
    }

    #sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-top::before {
        width: 20px;
        height: 68px;
    }

    #sec02 .contentsContainer-B .serviseTitleContainer .serviseTitle-bottom {
        padding-left: 20px;
    }

    #sec02 .contentsContainer-B .imageContainer {
        height: 300px;
    }
}

/* 今なら無料の個別相談受付中！ */
#sec02 .contentsContainer-02 {
    margin-top: 128px;
    width: 100%;
    background: linear-gradient(90deg, #f0e2d2 0%, #f0e2d2 50%, #FFF 50%, #FFF 100%);
}

#sec02 .contentsContainer-02 .contentsContainer {
    padding: 0px 5% 0px 0px;
    display: flex;
    column-gap: 64px;
    background-color: #FFF;
}

#sec02 .contentsContainer-02 .imageContainer {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, 1fr);
}

#sec02 .contentsContainer-02 .imageContainer img {
    width: 300px;
    height: 225px;
}

#sec02 .contentsContainer-02 .textContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 32px;
    text-align: left;
}

#sec02 .contentsContainer-02 .contactLinkContainer {
    text-align: right;
}

@media screen and (max-width:768px) {
    #sec02 .contentsContainer-02 {
        margin-top: 64px;
    }

    #sec02 .contentsContainer-02 .contentsContainer {
        padding: 0;
        flex-direction: column;
        column-gap: 0px;
    }

    #sec02 .contentsContainer-02 .imageContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-template-areas:
            "imageA imageA"
            "imageB imageC";
        row-gap: 16px;
    }

    #sec02 .contentsContainer-02 .imageContainer img {
        width: 100%;
        height: auto;
    }

    #sec02 .contentsContainer-02 .imageContainer img:nth-child(1) {
        grid-area: imageA;
    }

    #sec02 .contentsContainer-02 .imageContainer img:nth-child(2) {
        grid-area: imageB;
    }

    #sec02 .contentsContainer-02 .imageContainer img:nth-child(3) {
        grid-area: imageC;
    }

    #sec02 .contentsContainer-02 .textContainer {
        margin-top: 64px;
        padding: 0 5% 64px;
    }
}

/* ------------------------- */
/* sec03
------------------------- */
/* オプション */
#sec03 .sectionTitleContainer {
    padding: 0 3%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto);
    row-gap: 64px;
    text-align: center;
}

#sec03 .contentsContainer {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-content: center;
    column-gap: 32px;
    overflow: hidden;
}

#sec03 .contentsContainer li {
    position: relative;
    padding: 32px 0 32px 32px;
}

#sec03 .contentsContainer li::after {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%) rotate(350deg);
    content: "";
    width: 100%;
    height: 130px;
    z-index: -1;
}

#sec03 .contentsContainer li:nth-child(1)::after {
    background: url("../img/sec03-deco1.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer li:nth-child(2)::after {
    background: url("../img/sec03-deco2.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer li:nth-child(3)::after {
    background: url("../img/sec03-deco3.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer li:nth-child(4)::after {
    background: url("../img/sec03-deco4.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer li:nth-child(5)::after {
    background: url("../img/sec03-deco5.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer li:nth-child(6)::after {
    background: url("../img/sec03-deco6.svg") center center no-repeat;
    background-size: contain;
}

#sec03 .contentsContainer .line {
    position: absolute;
    background-color: #3d3832;
}

#sec03 .contentsContainer .line-vertical {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(185deg);
    height: 140px;
    width: 1px;
}

#sec03 .contentsContainer .line-horizontal {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 64px);
    height: 1px;
}

@media screen and (max-width:768px) {
    #sec03 .sectionTitleContainer {
        row-gap: 32px;
    }

    #sec03 .contentsContainer {
        padding: 0 3%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        column-gap: 32px;
        row-gap: 32px;
    }

    #sec03 .contentsContainer li {
        position: relative;
        padding: 116px 0 0 0;
        text-align: center;
    }

    #sec03 .contentsContainer li::after {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(0%) rotate(0deg);
        content: "";
        width: 100%;
        height: 100px;
        z-index: -1;
    }

    #sec03 .contentsContainer .line {
        display: none;
    }
}

/* ------------------------- */
/* sec04
------------------------- */
/* サービス内容 */
#sec04 .sectionTitleContainer {
    text-align: center;
    padding-top: 240px;
}

#sec04 h2 {
    position: relative;
}

#sec04 h2::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 100%;
    height: 475px;
    background: url("../img/serviceTitle-W.png") center center no-repeat;
    background-size: contain;
    z-index: -1;
}

#sec04 .contentsContainer {
    margin-top: 304px;
    padding: 0 3%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    column-gap: 32px;
}

#sec04 .contentsContainer li {
    padding: 16px;
    border: 1px solid #3d3832;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sec04 .contentsContainer li img {
    width: 100%;
}

#sec04 .contentsContainer li:nth-child(3) {
    position: relative;
    text-align: center;
}

#sec04 .contentsContainer li:nth-child(3):hover {
    background-color: #3d3832;
    color: #FFF;
}

#sec04 .contentsContainer .serviseTitleContainer {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

#sec04 .contentsContainer .linkContainer {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

#sec04 .textContainer {
    margin-top: 64px;
    text-align: center;
}

@media screen and (max-width:768px) {
    #sec04 .sectionTitleContainer {
        padding-top: 150px;
    }

    #sec04 h2::after {
        height: 300px;
    }

    #sec04 .contentsContainer {
        margin-top: 182px;
    }

    #sec04 .contentsContainer {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        column-gap: 0;
        row-gap: 32px;
    }

    #sec04 .textContainer {
        margin-top: 32px;
    }
}

/* ------------------------- */
/* sec05
------------------------- */
/* 無料カウンセリングお申込み/お問い合わせ */
#sec05 .sectionTitleContainer {
    text-align: center;
}

#sec05 .contentsContainer {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 64px;
    text-align: center;
}

@media screen and (max-width:768px) {
    #sec05 .contentsContainer {
        margin-top: 32px;
        row-gap: 32px;
    }
}

/* ------------------------- */
/* footer
------------------------- */
#footer {
    padding: 128px 5% 32px;
    background-color: #3d3832;
    color: #FFF;
}

#footer .wrapper {
    text-align: left;
}

#footer .footer-deco {
    height: 64px;
}

#footer .info-container {
    margin-top: 64px;
    display: flex;
    column-gap: 128px;
    text-align: left;
}

#footer .link-container a {
    color: #ffe67d;
}

#footer .link-container a:hover {
    opacity: .7;
}

#footer .copylight-container {
    margin-top: 64px;
    text-align: center;
}

.link-child::before {
    margin-right: 8px;
    content: "┗";
}

@media screen and (max-width:768px) {
    #footer .info-container {
        flex-direction: column;
        justify-content: center;
        column-gap: 0;
        row-gap: 32px;
    }
}