/*
Version:1.0.1
*/

.backimage {
    width: 100%;
    height: 100%;
}

.backimage img {
    border-radius: 0 !important;
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 110px);
    margin-left: auto;
    margin-right: auto;
}

.hero-link {
    position: fixed;
    bottom: 15px;
    right: 0;
    padding: 40px 70px !important;
    z-index: 9999;
}

.catchtitle {
    position: relative;
    text-align: center;
    padding: 100px 0;
}

.catchtitle::before,
.catchtitle::after {
    position: absolute;
    top: 0;
    width: 3%;
    height: 100%;
    display: block;
    content: "";
    background: linear-gradient(to bottom, var(--main-color1), #ffffff);
}

.catchtitle::before {
    left: 0;
}

.catchtitle::after {
    right: 0;
}

.catchtitle-text1,
.catchtitle-text2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.catchtitle-text1 h2,
.catchtitle-text2 h2 {
    font-size: var(--main-fontsize-big) !important;
    font-weight: bold;
}

.catchtitle-text1::before,
.catchtitle-text1::after,
.catchtitle-text3::before,
.catchtitle-text3::after {
    position: absolute;
    content: "";
    background-color: var(--main-backcolor3);
    z-index: -1;
}

.catchtitle-text1::before,
.catchtitle-text3::before {
    border-radius: 5px;
}

.catchtitle-text1::after,
.catchtitle-text3::after {
    border-radius: 4px;
}

.catchtitle-text1::before{
    top: -30px;
    right: 1%;
    max-width: 65px;
    width: 8vw;
    aspect-ratio: 1/1;
}

.catchtitle-text1::after{
    top: 20px;
    right: 12%;
    max-width: 30px;
    width: 4vw;
    aspect-ratio: 1/1;
}

.catchtitle-text3 {
    position: relative;
    font-size: var(--main-fontsize-large);
    font-weight: bold;
    max-width: 820px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}


.catchtitle-text3::before{
    bottom: -40px;
    left: 1%;
    max-width: 65px;
    width: 8vw;
    aspect-ratio: 1/1;
}

.catchtitle-text3::after{
    bottom: -50px;
    left: 12%;
    max-width: 30px;
    width: 4vw;
    aspect-ratio: 1/1;
}

.news {
    margin-top: 50px;
    margin-bottom: 50px;
}

.news a {
    text-decoration: none;
    color: #333;
}

.news ul {
    margin: 0 auto;
    width: 80%;
}

.news li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #000000;
}

.news a:last-child li {
    border-bottom: 1px solid #000000;
}

@media (hover: hover) and (pointer: fine) {
    .news li:hover{
        background-color: var(--main-backcolor2);
    }
}

.news-block-date,
.news-block-title,
.news-block-link {
    font-size: var(--main-fontsize-medium);
}

.news-block-date {
    text-align: left;
    width: 20%;
}

.news-block-title {
    width: 70%;
    text-align: left;
    padding-left: 20px;
}

.news-block-link {
    width: 10%;
    margin-right: 10px;
    text-align: right;
}

.features {
    margin: 50px 0;
}

.features-twin {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
}

.features-twin1::before,
.features-twin2::before,
.features-twin3::before {
    display: block;
    position: absolute;
    top: 75px;
    left: 0;
    transform: translateY(-50%);
    font-size: 10.0rem;
    font-weight: bold;
    color: var(--main-color2);
    z-index: 0;
}

.features-twin1::before {
    content: "01";
}
.features-twin2::before {
    content: "02";
}
.features-twin3::before {
    content: "03";
}

.features-twin2 {
    background-color: var(--main-backcolor2);
}

.features-twin-discri {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
    padding: 20px 50px;
    z-index: 10;
}

.features-twin-discri p {
    margin: 10px 0;
}

.features-twin-img {
    width: 30%;
    margin: 40px 10px;
}

.syokai {
    background-color: var(--main-backcolor4);
    margin: 50px 0;
}

.syokai-topimg-pc {
    width: 100%;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.syokai-topimg-sp {
    display: none;
}

.syokai-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-color1);
    margin-bottom: 50px;
}

.syokai-banner h2 {
    color: #ffffff;
    font-size: var(--main-fontsize-medium-L);
    margin-block-start: 30px;
    margin-block-end: 30px;
    margin-right: auto;
    margin-left: auto;
    white-space: nowrap;
    width: 100%;
    max-width: 1040px;
}

.syokai-banner-human {
    position: absolute;
    bottom: 0;
    left: 73%;
    transform: translateX(-50%);
    width: 40vw;
    max-width: 280px;
    z-index: -1;
}

.syokai-member>div:first-child {
    width: 30%;
    position: relative;
}

.syokai-member-name {
    position: absolute;
    top: -12px;
    right: -150px;
    background-color: var(--main-backcolor3);
    padding: 5px 30px;
    width: 200px;
    align-items: flex-start !important;
    border-radius: 100px;
    font-size: var(--main-fontsize-medium);
}

.syokai-member.flexrow.flexrow-reverse>div>.syokai-member-name {
    left: -150px !important;
    right: 0 !important;
}

.syokai-member-img {
    width: 100%;
}

.syokai-member>div:last-child {
    width: 70%;
    padding: 140px 0 50px 50px;
}

.syokai-member.flexrow.flexrow-reverse>div:last-child {
    padding-right: 50px !important;
    padding-left: 0 !important;
}

.syokai-member>div:last-child h3 {
    font-size: var(--main-fontsize-large);
    margin-block-end: 0;
}

.syokai-member>div:last-child p {
    font-size: var(--main-fontsize-medium-L);
    margin-block-start: 15px;
}

.instagram {
    margin: 50px 0;
}

.instagram h1 {
    margin-bottom: 600px;
}

.example {
    margin-top: 50px;
    margin-bottom: 50px;
}

.example h1 {
    position: relative;
}

.example h1::after {
    content: "";
    display: block;
    background-color: var(--main-color1);
    height: 9px;
    width: 100%;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.example-map {
    position: relative;
    margin-bottom: 100px;
}

.example-map-text {
    position: absolute;
    top: 30px;
    left: 30px;
    align-items: flex-start !important;
}

.example-map-text p {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

.example-map-text span {
    font-size: 4.2rem;
    color: var(--main-color1);
    font-weight: bold;
    margin-bottom: -20px;
}

.example-map-img {
    width: 70%;
    margin-left: auto;
    margin-right: 50px;
}

.example-article {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    margin-bottom: 50px;
}

.example-article a {
    text-decoration: none;
    color: var(--main-color3);
}

.example-article-single {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    flex-grow: 1;
    flex-basis: 33%;
}

.example-article-title {
    font-size: var(--main-fontsize-medium);
    margin-top: 10px;
    margin-bottom: 10px;
}

.example-article-post,
.example-article-jusyo,
.example-article-gyotai {
    font-size: var(--main-fontsize-normal);
}

.example-article-jusyo{
    margin-bottom: 10px;
}

.flow {
    margin-top: 50px;
    margin-bottom: 50px;
}

.flow-title {
    text-align: center;
    margin-bottom: 30px;
}

.flow-set {
    position: relative;
    left: 49%;
    transform: translateX(-50%);
    margin: 50px 0;
    width: 96vw;
}

.flow-set>div {
    position: relative;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: 300px;
    padding: 90px 0 0px 40px;
    width: 20%;
}

.flow-set>div:first-child::after,
.flow-set>div:nth-of-type(2)::after,
.flow-set>div:nth-of-type(3)::after,
.flow-set>div:nth-of-type(4)::after,
.flow-set>div:nth-of-type(5)::after {
    position: absolute;
    top: 135px;
    right: -165px;
    content: "";
    height: 0;
    width: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    transform: rotate(90deg);
    z-index: 1;
}

.flow-set>div:first-child {
    background-color: var(--main-backcolor2);
}

.flow-set>div:first-child::after {
    border-bottom: 30.5px solid var(--main-backcolor2);
}

.flow-set>div:nth-of-type(2) {
    background-color: var(--main-backcolor5);
}

.flow-set>div:nth-of-type(2)::after {
    border-bottom: 30.5px solid var(--main-backcolor5);
}

.flow-set>div:nth-of-type(3){
    background-color: var(--main-backcolor6);
}

.flow-set>div:nth-of-type(3)::after{
    border-bottom: 30.5px solid var(--main-backcolor6);
}

.flow-set>div:nth-of-type(4){
    background-color: var(--main-backcolor7);
}

.flow-set>div:nth-of-type(4)::after{
    border-bottom: 30.5px solid var(--main-backcolor7);
}

.flow-set>div:nth-of-type(5){
    background-color: var(--main-backcolor3);
}

.flow-set>div:nth-of-type(5)::after{
    border-bottom: 30.5px solid var(--main-backcolor3);
}

.flow-set h2 {
    font-size: var(--main-fontsize-medium-L);
    font-weight: normal;
    z-index: 2;
}

.flow-set p {
    font-size: var(--main-fontsize-small);
    z-index: 2;
}

.qa {
    margin-top: 100px;
    margin-bottom: 100px
}

.qa-set {
    border-top: 2px solid #333;
}

.qa-set:last-child {
    border-bottom: 2px solid #333;
}

.qa-set-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 30px 20px;
}

.qa-set-block-qicon,
.qa-set-block-aicon {
    font-size: 25px;
    font-weight: bold;
    width: 10%;
    margin-block-start: 0;
    margin-block-end: 0;
}

.qa-set-block-qicon {
    color: var(--main-color1);
}

.qa-set-block-aicon {
    color: #ffffff;
}

.qa-set-block-aicon span{
    display: block;
    background-color: var(--main-color1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
}

.qa-set-block-qtext,
.qa-set-block-atext {
    width: 90%;
}

.qa-set-block-qtext p,
.qa-set-block-atext p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    line-height: 28px;
}

.qa-set-block-atext {
    position: relative;
    background-color: var(--main-backcolor2);
    padding: 50px;
    border-radius: 30px;
}

.qa-set-block-atext::before {
    content: "";
    position: absolute;
    left: -1.1rem;
    top: 50%;
    margin-top: -1.1rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.1rem 1.1rem 1.1rem 0;
    border-color: rgba(0,0,0,0) var(--main-backcolor2) rgba(0,0,0,0) rgba(0,0,0,0);
}

.qa-dashed.active {
    display: block;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, gray, gray 4px, transparent 4px);
    background-size: 8px 1px;
    background-position: left bottom;
    background-repeat: repeat-x;
}

.qaMain-button {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.qa-set-iframe {
    width: 100%;
}

.qa-set-iframe iframe {
    width: 100%;
}

.qa-set-button {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--main-color1);
    background-color: #ffffff;
    cursor: pointer;
}

.qa-set-button.active {
    border: none;
    background-color: var(--main-color1);
    cursor: pointer;
}

.qa-set-button.active span {
    background-color: #ffffff !important;
}

.qa-set-button span:first-child {
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--main-color1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qa-set-button span:last-child {
    position: absolute;
    display: block;
    width: 3px;
    height: 15px;
    background-color: var(--main-color1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qa-set-button.active span:last-child {
    display: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .js-openQA-question:hover{
        background-color: var(--main-backcolor2);
        cursor: pointer;
    }
}

.js-openQA-answer {
    height: 0;
    overflow: hidden;
    padding: 0;
}

.js-openQA-answer.active {
    height: fit-content;
    overflow: hidden;
    padding: 30px 20px;
}

.company {
    margin-top: 50px;
    margin-bottom: 50px;
}

.company-table {
    font-size: var(--main-fontsize-normal);
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.company-table-twin {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid black;
}

.company-table-twin:last-child {
    border-bottom: none;
}

.company-table-head {
    width: 25%;
}

.company-table-discri {
    width: 75%;
}

.company-table-discri iframe {
    width: 100%;
}

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

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

@media screen and (max-width: 479px) {
    .hero-link {
        right: 50%;
        transform: translateX(50%);
        padding: 40px 70px !important;
    }

    .catchtitle {
        padding: 50px 0;
    }

    .catchtitle-text1::after{
        top: 4px;
    }

    .catchtitle-text1::after,
    .catchtitle-text3::after {
        border-radius: 2.5px;
    }

    .news ul {
        width: 100%;
    }

    .features-twin {
        flex-direction: column;
    }

    .features-twin-discri {
        text-align: center;
        width: 100%;
        padding: 80px 15px 20px 15px;
    }

    .features-twin-img {
        width: 95%;
        margin: 0px 10px;
    }

    .features-twin1::before,
    .features-twin2::before,
    .features-twin3::before {
        top: 75px;
        font-size: 15rem;
    }

    .syokai-topimg-pc {
        display: none;
    }
    
    .syokai-topimg-sp {
        display: block;
        width: 100%;
        padding: 0 10px;
    }

    .syokai-banner h2 {
        font-size: var(--main-fontsize-medium);
        margin-block-start: 10px;
        margin-block-end: 10px;
        padding-left: 10px;
    }

    .syokai-member {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        margin: 50px 0;
    }

    .syokai-member>div:first-child {
        width: 80%;
        padding-top: 50px;
    }

    .syokai-member>div:last-child {
        width: 100%;
        padding: 0px 0 0px 0px;
    }

    .syokai-member>div:last-child h3 {
        font-size: var(--main-fontsize-medium-L);
    }

    .syokai-member>div:last-child p {
        font-size: var(--main-fontsize-medium);
        margin-block-start: 15px;
    }

    .syokai-member.flexrow.flexrow-reverse>div:last-child {
        padding-right: 0 !important;
    }

    .syokai-member-name {
        right: auto;
        left: -34px;
    }

    .syokai-member.flexrow.flexrow-reverse>div>.syokai-member-name {
        left: -34px !important;
        right: 0 !important;
    }

    .flow-set {
        left: 50%;
        flex-direction: column !important;
        width: 100vw;
    }

    .flow-set>div {
        align-items: center !important;
        justify-content: center !important;
        height: auto;
        padding: 50px 35px 20px 35px;
        width: 100%;
    }

    .flow-set>div:first-child::after,
    .flow-set>div:nth-of-type(2)::after,
    .flow-set>div:nth-of-type(3)::after,
    .flow-set>div:nth-of-type(4)::after,
    .flow-set>div:nth-of-type(5)::after {
        top: auto;
        right: auto;
        left: 0;
        bottom: -30px;
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
        transform: rotate(180deg);
    }

    .flow-set h2 {
        font-size: var(--main-fontsize-big);
    }

    .flow-set p {
        text-align: center;
        font-size: var(--main-fontsize-medium);
        z-index: 2;
    }

    .example-map {
        margin-bottom: 50px;
    }

    .example-map-text {
        position: absolute;
        top: 0;
        left: 0;
        align-items: flex-start !important;
    }

    .example-map-text span {
        font-size: 3.0rem;
        margin-bottom: -4px;
    }

    .example-map-img {
        position: relative;
        width: 90%;
        margin-right: 0;
        padding-top: 50px;
        z-index: -1;
    }

    .example-article {
        flex-direction: column;
    }

    .example-article a {
        margin-bottom: 20px;
    }

    .example-article-title {
        font-size: var(--main-fontsize-large);
    }

    .example-article-post,
    .example-article-jusyo,
    .example-article-gyotai {
        font-size: var(--main-fontsize-medium);
    }

    .qa-set-block-atext {
        margin-top: 20px;
        padding: 10px;
    }

    .qa-set-block-atext::before {
        display: none;
    }

    .js-openQA-answer {
        flex-direction: column !important;
    }

    footer {
        padding-bottom: 150px;
    }
}