/* template

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

:root {
    --vw: 1vw;
    --text-margin: 1.6em;
    --box-margin: 8vh;

    --main-color: #562485;
    --main-color-2: #28004e;
    --sub-color: #f7eff7;
    --text-color: #333333;
    --text-color30: #3333334D;
    --text-sub-color: #999999;
    --border-color: #987eb5;
    --body-color-bg: #ffffff;

    --mainvisual-before-background-opacity: rgba(0, 0, 0, 0);
    --image-before-background-opacity: rgba(0, 0, 0, 0);

    --text-link-color: #333333;
    --page-title-bg-color: #e2e2e2;
    --page-title-text-color: #333333;
    --footer-bg-color: #fafafa;
    --footer-text-color: #333333;
    --sphone-fixed-footer-bg-color: #a9d68b;
    --sphone-fixed-footer-text-color: #fff;

    --foooter-padding-bottom: 130px;
    --sphone-foooter-padding-bottom: 120px;

    --pagetop-position-bottom: 100px;
    --sphone-pagetop-position-bottom: 80px;

    --gallery-aspect-ratio: 3 / 2;
    --gallery-thumbnail-num: 10;
    --gallery-thumbnail-num-sp: 5;
}

.box,
.box-wrap {
    position: relative;
    margin: 0 auto var(--box-margin) auto;
    z-index: 2;
}

.box:last-child,
.box-wrap:last-child {
    margin-bottom: 0;
}

.box-wrap.xl {
    margin-left: calc(50% - var(--vw) * 50);
    margin-right: calc(50% - var(--vw) * 50);
    width: calc(var(--vw) * 100);
}

.box-wrap.lg {
    margin-left: calc(50% - var(--vw) * 50);
    margin-right: calc(50% - var(--vw) * 50);
    padding: 0 6vmin;
    width: calc(var(--vw) * 100);
}

.box-wrap.sm {
    padding: 0 4vmin;
    max-width: 900px;
}

.box-wrap.bg {
    padding: var(--box-margin) 0;
    z-index: 2;
}

.box-wrap.bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(var(--vw) * 100);
    height: 100%;
    background: var(--sub-color);
    transform: translateX(-50%);
    z-index: -1;
}

.box h2.box-h2 {
    margin: 0;
    font-size: 32px;
}

.box h3:not([class]) {
    margin: 15px 0;
}

.box h3.box-h3 {
    margin: 0 0 2vh 0;
    font-size: 28px;
}

.box .copy {
    margin: 0 0 2vh 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.box p {
    margin: 0 0 2vh 0;
}

.box ul,
.box ol {
    list-style: none;
}


.box .image {
    overflow: hidden;
    border-radius: 15px;
}

.box .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
}

.box.image-bg-type02 .image:after,
.box.banner-type01 .image:after,
.box.contact-type01 .image:after,
.box.contact-type02 .image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--image-before-background-opacity);
}

.box .btn {
    margin: 4vh 0 0 0;
}

.box .btn a {
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding: 13px 50px 12px 30px;
    color: #fff;
    background: var(--main-color-2);
    border-radius: 30px;
}

.box .btn a:after {
    content: "\e5cc";
    position: absolute;
    top: 50%;
    right: 25px;
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL"1, "wght"500, "GRAD"0, "opsz"20;
    line-height: 1;
    transform: translateY(-50%);
}

.box .text> :last-child:not(.btn) {
    margin-bottom: 0;
}

.title-type01,
.title-type02,
.title-type03,
.title-type04 {
    margin: 0 auto calc(var(--box-margin) * 0.65) auto;
}

.title-type01,
.title-type03 {
    padding: 30px 0 0 0;
}

.title-type01:before,
.title-type03:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--main-color);
}

.title-type01 span:nth-child(2),
.title-type02 span:nth-child(2),
.title-type03 span:nth-child(2),
.title-type04 span:nth-child(2) {
    opacity: 0.5;
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
}

.title-type02,
.title-type04 {
    padding: 0 0 30px 0;
    text-align: center;
}

.title-type02:before,
.title-type04:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    background: var(--main-color);
    transform: translateX(-50%);
}

.title-type02 span:nth-child(2),
.title-type04 span:nth-child(2) {
    margin: 0.5em 0 0 0;
    color: var(--main-color-2);
}

.title-text-type01 {
    overflow: hidden;
}

.title-text-type01 h2.box-h2 {
    float: left;
    margin: 0 80px 0 0;
    writing-mode: vertical-rl;
}

.title-text-type01.right h2.box-h2 {
    float: right;
    margin: 0 0 0 80px;
}

.title-text-type01 h2 .ja {
    text-orientation: upright;
}

.title-text-type01 h2 .en {
    opacity: 0.5;
    display: block;
    margin: 0 0 0 10px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
}

.title-text-type01 .text :first-child {
    margin-top: 0;
}

.row {
    display: flex;
}

.row .col {
    width: 100%;
}

.row .col :first-child {
    margin-top: 0;
}

.row .col :last-child {
    margin-bottom: 0;
}

.lead-type01 {
    text-align: center;
}

.image-text-type01:after {
    content: "";
    clear: both;
    display: block;
}

.image-text-type01 .image {
    float: left;
    margin: 0 30px 0 0;
}

.image-text-type01.right .image {
    float: right;
    margin: 0 0 0 30px;
}

.image-text-type02 {
    display: flex;
    justify-content: space-between;
    padding: 0 0 50px 0;
}

.image-text-type02 .image {
    position: relative;
    width: 60%;
    min-height: 25vmax;
}

.image-text-type02 .image img {
    position: absolute;
    top: 0;
    left: 0;
}

.image-text-type02 .text {
    position: relative;
    margin: 0 auto;
    padding: 0 50px;
    width: 40%;
}

.image-text-type02 .text:before {
    content: "";
    position: absolute;
    top: 50px;
    left: -200px;
    width: calc(100% + 1200px);
    height: 100%;
    background: var(--sub-color);
    z-index: -1;
}

.image-text-type02.right {
    flex-direction: row-reverse;
}

.image-text-type02.right .text:before {
    left: -1000px;
}

.box.image-text-type02 .box-h3,
.box.image-text-type02 .copy,
.box.image-text-type02 p,
.box.image-text-type02 .btn {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
}

.image-text-type03 {
    display: flex;
}

.image-text-type03 .image {
    position: relative;
    width: 60%;
}

.image-text-type03 .image img {
    position: absolute;
    top: 0;
    left: 0;
}

.image-text-type03 .text {
    position: relative;
    margin: 0 auto;
    padding: 120px 60px 120px 0;
    width: 40%;
    z-index: 2;
}

.image-text-type03 .text:before {
    content: "";
    position: absolute;
    top: 60px;
    left: -60px;
    width: calc(100% + 60px);
    height: calc(100% - 120px);
    background: var(--sub-color);
    z-index: -1;
}

.box.image-text-type03 .box-h3,
.box.image-text-type03 .copy,
.box.image-text-type03 p,
.box.image-text-type03 .btn {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
}

.image-text-type03.right {
    flex-direction: row-reverse;
}

.image-text-type03.right .text {
    padding: 120px 0 120px 60px;
}

.image-text-type03.right .text:before {
    left: auto;
    right: -60px;
}

.image-bg-type01 .image {
    width: 100%;
    height: 500px;
}

.image-bg-type01 .text {
    position: relative;
    margin: -100px 10vw 0 10vw;
    padding: 60px 60px 0 60px;
    background: var(--body-color-bg);
    border-radius: 15px;
}

.box-wrap.bg .image-bg-type01 .text {
    padding-bottom: 60px;
}

.image-bg-type02 .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-bg-type02 .text {
    position: relative;
    margin: 0 auto;
    padding: 100px 0;
    max-width: 600px;
    color: #fff;
    text-align: center;
}

.image-bg-type02 .text h3 {
    color: #fff;
}

.image-bg-type03 {
    height: 500px;
}

.image-bg-type03 .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-bg-type03 .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.qa-type01 dl dt,
.qa-type01 dl dd {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 15px 15px 80px;
    min-height: 100px;
}

.qa-type01 dl dd {
    background: var(--sub-color);
}

.qa-type01 dl dt:before,
.qa-type01 dl dd:before {
    content: "Q";
    display: grid;
    place-items: center;
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--main-color);
    border-radius: 50%;
}

.qa-type01 dl dd:before {
    content: "A";
    background: var(--main-color-2);
}

.list-number-type01 {
    padding: 25px 0 0 0;
}

.list-number-type01 ol {
    counter-reset: count 0;
    display: flex;
    gap: 50px 30px;
    padding: 0;
}

.list-number-type01 ol li {
    position: relative;
    width: 100%;
    background: var(--sub-color);
}

.list-number-type01 ol li:before {
    content: "0"counter(count);
    counter-increment: count 1;
    display: block;
    position: absolute;
    top: -55px;
    left: 50%;
    font-size: 7rem;
    font-weight: bold;
    transform: translateX(-50%);
    z-index: 1;
}

.list-number-type01 ol li .text {
    padding: 4vmin;
}

.list-number-type02 {
    padding: 0 0 var(--box-margin) 0;
}

.list-number-type02:after {
    content: "";
    position: absolute;
    top: 125px;
    left: 50%;
    width: 100vw;
    height: calc(100% - 125px);
    background: var(--sub-color);
    z-index: -1;
    transform: translateX(-50%);
}

.list-number-type02 ol {
    counter-reset: count 0;
    display: flex;
    gap: 30px;
    padding: 0;
}

.list-number-type02 ol li {
    position: relative;
    width: 100%;
}

.list-number-type02 ol li:before {
    content: "0"counter(count);
    counter-increment: count 1;
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    font-weight: bold;
    border-bottom: var(--border-color) 3px solid;
    z-index: 1;
}

.list-number-type02 ol li .image {
    position: relative;
    margin: 0 auto 20px auto;
    border-radius: 50%;
}

.list-number-type02 ol li .image:after {
    content: "";
    display: block;
    padding: 100% 0 0 0;
}

.list-number-type02 ol li .image img {
    position: absolute;
    top: 0;
    left: 0;
}

.list-number-type01 .btn,
.list-number-type02 .btn {
    text-align: center;
}

.list-check-type01 {
    display: flex;
    justify-content: center;
}

.list-check-type01>ul>li {
    position: relative;
    margin: 10px 0;
    padding: 0 0 0 25px;
}

.list-check-type01>ul>li:before {
    content: "\e2e6";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--main-color-2);
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL"1, "wght"500, "GRAD"0, "opsz"20;
}

.list-flow-type01 {
    position: relative;
}

.list-flow-type01:after {
    content: "";
    position: absolute;
    top: 0;
    left: 100px;
    width: 12px;
    height: 100%;
    background: var(--sub-color);
    z-index: -1;
}

.list-flow-type01>ul>li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 0 50px 0;
}

.list-flow-type01>ul>li .icon {
    position: relative;
    padding: 5px;
    width: 80px;
    color: #fff;
    font-size: 1.3rem;
    text-align: center;
    background: var(--main-color);
}

.list-flow-type01>ul>li .icon:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 10px;
    border-color: transparent transparent transparent var(--main-color);
    transform: translateY(-50%);
}

.list-flow-type01>ul>li .text {
    position: relative;
    width: calc(100% - 150px);
}

.list-flow-type01>ul>li .text:before {
    content: "";
    position: absolute;
    top: 11px;
    left: -48px;
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 4px;
}

.list-flow-type01>ul>li .text:after {
    content: "";
    position: absolute;
    top: 14px;
    left: -40px;
    width: 25px;
    height: 1px;
    border-bottom: var(--border-color) 1px dashed;
}

.list-flow-type01>ul>li .text h3.box-h3 {
    font-size: 2.2rem;
}

.banner-type01 ul {
    display: flex;
    gap: 30px;
}

.banner-type01 ul li {
    position: relative;
    width: 100%;
}

.banner-type01 ul li .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-type01 ul li .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.banner-type01 ul li a {
    display: block;
    position: relative;
    padding: 100px 50px;
    color: #fff;
    font-weight: bold;
}

.banner-type01 ul li a span {
    display: block;
    font-size: 3rem;
}

.banner-type01 ul li a:after {
    content: "\e5cc";
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin: 0 0 0 15px;
    color: #fff;
    font-size: 2rem;
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL"1, "wght"500, "GRAD"0, "opsz"20;
}

.banner-type02 ul {
    display: flex;
    gap: 30px;
}

.banner-type02 ul li {
    overflow: hidden;
    width: 100%;
    background: var(--main-color);
    border-radius: 3px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}

.banner-type02 ul li .text {
    padding: 4vmin;
    color: #fff;
}

.banner-type02 ul li .text h3 {
    color: #fff;
}

.banner-type02 ul li .text .btn {
    text-align: center;
}

.banner-type02 ul li .text .btn a {
    background: var(--text-color);
}

.slideshow-type01,
.slideshow-type02 {
    padding: 0 0 50px 0;
}

.slideshow-type02 .swiper-slide {
    overflow: hidden;
    display: flex;
    justify-content: center;
    max-width: 1000px;
}

.slideshow-type02 .swiper-slide .image {
    width: 100%;
}

@media screen and (max-width: 1100px) {
    .slideshow-type02 {
        padding: 20px 0 50px 0;
    }

    .slideshow-type02 .swiper-slide {
        max-width: 80%;
    }
}

.carousel-type01 .image {
    margin: 0 auto 20px auto;
}

.carousel-type01 .swiper-pagination {
    position: relative;
    margin: 30px 0 0 0;
}

.slider-type01 {
    display: none;
}

.slider-type01.swiper-initialized {
    display: block;
}

.slider-type01 .swiper-wrapper {
    transition-timing-function: linear;
}

.slider-type01 .swiper-slide {
    margin: 0 0 0 -1px;
}

.slider-type01 img {
    opacity: 1;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.accordion-type01 ul li {
    margin: 0 0 30px 0;
    padding: 30px;
    border: var(--border-color) 1px solid;
    border-radius: 3px;
}

.accordion-type01 ul li h3.box-h3 {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0 40px 0 0;
    font-size: 2.2rem;
    user-select: none;
}

.accordion-type01 ul li h3.box-h3:after {
    content: "\e5cf";
    position: absolute;
    top: 0;
    right: 0;
    color: var(--main-color);
    font-size: 2.2rem;
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL"1, "wght"500, "GRAD"0, "opsz"20;
    transition: all 0.2s linear;
}

.accordion-type01 ul li.active h3.box-h3:after {
    transform: rotate(180deg);
}

.accordion-type01 ul li .text {
    opacity: 0;
    overflow: hidden;
    padding: 0 30px;
    height: 0;
    background: var(--sub-color);
    transition: all 0.2s linear;
}

.accordion-type01 ul li.active .text {
    opacity: 1;
    margin: 20px 0 0 0;
    padding: 30px;
    height: auto;
}

.accordion-type01 ul li.active .text :first-child {
    margin-top: 0;
}


.table-type01 {
    margin: 0 auto var(--text-margin) auto;
}

.table-type01 table {
    width: 100%;
}

.table-type01 table th,
.table-type01 table td {
    padding: 15px;
    text-align: left;
    vertical-align: top;
}

.table-type01 table th {
    font-weight: bold;
    border-bottom: var(--main-color) 2px solid;
}

.table-type01 table td {
    border-bottom: var(--border-color) 2px solid;
}

.table-type02 {
    margin: 0 auto var(--text-margin) auto;
}

.table-type02 table {
    margin: -5px;
    width: calc(100% + 10px);
    border-collapse: separate;
    border-spacing: 5px;
}

.table-type02 table th,
.table-type02 table td {
    padding: 15px;
    text-align: left;
    vertical-align: top;
}

.table-type02 table th {
    color: #fff;
    font-weight: bold;
    background: var(--main-color);
}

.table-type02 table td {
    background: var(--sub-color);
}



/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {

    .row-4 {
        flex-wrap: wrap;
    }

    .row-4 .col {
        width: calc(50% - 15px);
    }

    .list-number-type01 ol {
        flex-wrap: wrap;
        justify-content: center;
    }

    .list-number-type01 ol li {
        width: calc(100% / 3 - 20px);
    }

    .list-number-type02 ol {
        flex-wrap: wrap;
        justify-content: center;
    }

    .list-number-type02 ol li {
        width: calc(100% / 3 - 20px);
    }
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {

    .box-wrap.lg,
    .box-wrap.sm {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .box-wrap.sm {
        padding: 0 10vmin;
    }

    .box h2.box-h2 {
        margin: 0;
        font-size: 24px;
    }

    .box h3.box-h3 {
        font-size: 20px;
    }

    .box .btn {
        margin: 4vh 0 0 0;
        text-align: center;
    }

    .row {
        flex-wrap: wrap;
    }

    .title-text-type01 h2.box-h2 {
        margin: 0 30px 0 0;
    }

    .title-text-type01.right h2.box-h2 {
        margin: 0 0 0 30px;
    }

    .lead-type01 .text p {
        text-align: left;
    }

    .lead-type01 .text p br {
        display: none;
    }

    .image-text-type01 .image,
    .image-text-type01.right .image {
        float: none;
        margin: 0 0 20px 0;
    }

    .image-text-type02 {
        display: block;
        padding: 0;
    }

    .image-text-type02 .image {
        margin: 0 0 20px 0;
        width: 100%;
        min-height: auto;
    }

    .image-text-type02 .image img {
        position: relative;
    }

    .image-text-type02 .text {
        padding: 0;
        width: 100%;
    }

    .image-text-type02 .text:before {
        top: -80px;
        left: -4vmin;
        width: calc(100% + 8vmin);
        height: calc(100% + 55px);
    }

    .image-text-type02.right .text:before {
        left: -4vmin;
    }

    .image-text-type03 {
        display: block;
    }

    .image-text-type03 .image {
        width: 100%;
    }

    .image-text-type03 .image img {
        position: relative;
    }

    .image-text-type03 .text,
    .image-text-type03.right .text {
        position: relative;
        margin: -30px 4vmin 0 4vmin;
        padding: 30px;
        width: calc(100% - 8vmin);
        background: var(--sub-color);
    }

    .image-text-type03 .text:before {
        display: none;
    }

    .image-bg-type01 .image {
        height: auto;
    }

    .image-bg-type01 .text {
        margin: -30px 4vmin 0 4vmin;
        padding: 30px 30px 0 30px;
    }

    .box-wrap.bg .image-bg-type01 .text {
        padding-bottom: 30px;
    }

    .image-bg-type02 .text {
        padding: 60px 4vmin;
    }

    .image-bg-type03 {
        height: 30vmax;
    }

    .list-number-type01 ol {
        flex-wrap: wrap;
        gap: 50px;
    }

    .list-number-type01 ol li:before {
        top: -30px;
        font-size: 4rem;
    }

    .list-number-type02 {
        padding: 0;
    }

    .list-number-type02:after {
        display: none;
    }

    .list-number-type02 ol {
        flex-wrap: wrap;
        gap: 50px;
    }

    .list-number-type02 ol li {
        position: relative;
    }

    .list-number-type02 ol li:before {
        top: 0;
        left: 5%;
        font-size: 4rem;
    }

    .list-number-type02 ol li .image {
        max-width: 260px;
    }

    .list-number-type01 .btn,
    .list-number-type02 .btn {
        margin: 40px 0 0 0;
    }

    .list-flow-type01:after {
        left: 10px;
    }

    .list-flow-type01 ul li {
        display: block;
    }

    .list-flow-type01 ul li .icon {
        margin: 0 0 30px 0;
    }

    .list-flow-type01 ul li .icon:after {
        top: auto;
        bottom: -12px;
        left: 12px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 4px 0 4px;
        border-color: var(--main-color) transparent transparent transparent;
    }

    .list-flow-type01 ul li .text {
        margin: 0 0 0 auto;
        width: calc(100% - 61px);
    }

    .banner-type01 ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .banner-type01 ul li a {
        padding: 80px 40px;
    }

    .banner-type01 ul li a span {
        font-size: 2.8rem;
    }

    .banner-type02 ul {
        flex-wrap: wrap;
        gap: 50px;
    }

    .accordion-type01 ul li {
        margin: 0 0 15px 0;
    }

    .accordion-type01 ul li h3:after {
        top: 2px;
    }

    .table-type01 table th,
    .table-type01 table td {
        display: block;
        padding: 15px 0;
        width: 100% !important;
    }

    .table-type02 table {
        margin: 0;
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .table-type02 table th,
    .table-type02 table td {
        display: block;
        width: 100% !important;
    }

}