@charset 'UTF-8';

/*  home hero
---------------------------------------- */
.p-home-hero {
    height: 630px;
    position: relative;
    overflow: hidden;
}
@media all and (max-width: 769px) {
    .p-home-hero {
        height: 290px;
    }    
}



.p-home-hero:before {
    content: "";
    height: 100vh;
    height: 100dvh;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: url(../img/home/img-mv_bg-s.svg) no-repeat center top;
    background-size: cover;
}

.p-home-hero__inner {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 0 20px 30px;
    position: relative;
    z-index: 2;
}

.p-home-hero-image {
    width: 580px;
    position: absolute;
    top: 200px;
    left: auto;
    right: -72px;
    z-index: 3;
}
@media all and (max-width: 769px) {
    .p-home-hero-image {
        width: 500px;
        top: 60px;
        right: 0;
    }
}

.p-home-hero-image img {
    display: block;
}

.p-home-hero-content {
    max-width: 380px;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.p-home-hero__title {
    line-height: 1.4;
    font-size: 3.3rem;
    letter-spacing: .05em;
}

.p-home-hero__title span {
    position: relative;
}

.p-home-hero__title span:before {
    content: "";
    width: 8px;
    height: 8px;
    margin: auto;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--clrMain);
    border-radius: 50%;
}

.p-home-hero__description {
    margin-top: 42px;
    display: flex;
    align-items: flex-start;
}

.p-home-hero__description img {
    width: 52px;
    margin-right: 30px;
    flex-shrink: 0;
}

.p-home-hero-box {
    padding: 50px 20px;
    margin: 260px auto 0;
    position: relative;
    z-index: 4;
    background: rgba(255,255,255, 0.8);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.p-home-hero-box__titleEn {
    margin-bottom: 0.2em;
    text-align: center;
    line-height: 1.3;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: var(--fntEn);
    color: var(--clrMain);
}

.p-home-hero-box__titleJa {
    margin-bottom: 0.2em;
    text-align: center;
    line-height: 1.4;
    font-size: 2.4rem;
    font-weight: bold;
}

.p-home-hero-form {
    margin-top: 36px;
}

.p-home-hero-form__item {
    margin-top: 20px;
}

.p-home-hero-form__label {
    margin-bottom: 12px;
    line-height: 1.3;
    font-size: 1.6rem;
    font-weight: bold;
}

.p-home-hero-form__label small {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--clrTxtSec);
}

.p-home-hero-form__item input[type=text] {
    padding: 12px 14px;
    font-size: 1.6rem;
    background: var(--clrBkgTer);
}

.p-home-hero-form__item select {
    padding: 12px 14px;
    font-size: 1.6rem;
    appearance: none;
    background: url(../img/common/img-select-arrow.svg) no-repeat top 20px right 10px / 18px, var(--clrBkgTer);
}

.p-home-hero-form-privacyText {
    font-size: 1.4rem;
    color: var(--clrTxtSec);
}

.p-home-hero-form-privacyText a {
    opacity: 1;
    transition: .4s;
}

.p-home-hero-form-privacyText a:hover {
    opacity: .2;
}

.p-home-hero-form-privacyCheckbox {
    margin-top: 12px;
    vertical-align: middle;
}

.p-home-hero-form-privacyCheckbox label {
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    vertical-align: middle;
}

.p-home-hero-form-continueButton {
    max-width: 240px;
    margin: 30px auto 0;
    padding: 20px 25px;
    position: relative;
    text-align: left;
    line-height: 1.3;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    background: var(--clrMain);
    border: 1px solid var(--clrMain);
    transition: color ease 0.3s, background ease 0.3s;
}

.p-home-hero-form-continueButton:hover {
    color: var(--clrMain);
    background: #fff;
}

.p-home-hero-form-continueButton:before {
    content: "";
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    right: 25px;
    background: url(../img/common/ico-arrow-white.svg) no-repeat center;
    background-size: contain;
}

.p-home-hero-form-continueButton:hover:before {
    background-image: url(../img/common/ico-arrow-green.svg);
}

input[type="checkbox"]  {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

/* チェックボックスデザイン */
input[type="checkbox"] {
    cursor: pointer;
    padding-left: 30px;/*label手前にチェックボックス用の余白を開ける*/
    vertical-align: middle;
    position: relative;
  }
  input[type="checkbox"]::before,
  input[type="checkbox"]::after {
    content: "";
    display: block; 
    position: absolute;
  }
  input[type="checkbox"]::before {
    background-color: #fff;
    border: 1px solid var(--clrTxtSec);
    border-radius: 0%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    transition: .3s;
    top: 50%;
    left: 5px;
  }
  input[type="checkbox"]::after {
    border-bottom: 2px solid #fff;/*チェックの太さ*/
    border-left: 2px solid #fff;/*チェックの太さ*/
    opacity: 0;/*チェック前は非表示*/
    height: 6px;/*チェックの高さ*/
    width: 11px;/*チェックの横幅*/
    transition: .3s;
    left: 9px;/*チェック時の位置調整*/
    top: 50%;
    transform: translateY(-75%) rotate(-45deg);
  }
  input[type="checkbox"]:checked::before {
    background-color: var(--clrMain);
  }
  input[type="checkbox"]:checked::after {
    opacity: 1;/*チェック後表示*/
  }


@media all and (min-width: 769px) {
    .p-home-hero:before {
        height: 600px;
        background-image: url(../img/home/img-mv_bg-l.svg);
    }
    
    .p-home-hero-image {
        width: 80%;
        top: 100px;
    }
    
    .p-home-hero-box {
        margin-top: 80px;
    }
}

@media all and (min-width: 1025px) {
    .p-home-hero:before {
        height: 780px;
    }
    
    .p-home-hero-image {
        width: 720px;
        top: 76px;
        right: -120px;
    }
    
    .p-home-hero-content {
        max-width: 490px;
        padding: 120px 0;
    }
    
    .p-home-hero__title {
        line-height: 1.5;
        font-size: 4.6rem;
    }
    
    .p-home-hero-box {
        width: 90%;
        margin-top: 0;
    }
    
    .p-home-hero-form {
        max-width: 800px;
        margin: 6px auto 0;
        display: flex;
        flex-wrap: wrap;
    }
    
    .p-home-hero-form__item {
        width: 50%;
        margin-top: 24px;
        padding: 0 25px;
    }
    
    .p-home-hero-form__item.-privacy,
    .p-home-hero-form__item.-continue {
        margin-top: 32px;
    }
    
    .p-home-hero-form__label small {
        margin-left: 7px;
    }
    
    .p-home-hero-form__item input[type=text] {
        font-size: 1.5rem;
    }

    .p-home-hero-form__item select {
        font-size: 1.5rem;
    }
    
    .p-home-hero-form-continueButton {
        margin-top: 0;
        margin-right: 0;
    }
}

@media all and (min-width: 1441px) {
    .p-home-hero:before {
        height: 900px;
    }
    
    .p-home-hero__inner {
        width: min(100%, 1320px);
    }
    
    .p-home-hero-image {
        width: 1023px;
        right: -160px;
    }
    
    .p-home-hero-content {
        max-width: 520px;
        margin-left: -40px;
        padding: 110px 0 200px;
    }
    
    .p-home-hero__title {
        font-size: 5.6rem;
    }
    
    .p-home-hero-box {
        max-width: 1070px;
    }
    
    .p-home-hero-box__titleEn {
        font-size: 1.8rem;
    }
    
    .p-home-hero-form {
        max-width: 820px;
    }
    
    .p-home-hero-form__item input[type=text] {
        font-size: 1.6rem;
    }
    .p-home-hero-form__item select {
        font-size: 1.6rem;
    }
}

/*  home common
---------------------------------------- */
.p-home .c-section__wapper {
    margin-top: -30px;
}

@media all and (min-width: 1441px) {
    .p-home .c-mainTitle__Ja {
        font-size: 5rem;
    }
}

/*  home movie
---------------------------------------- */
.p-home-movie .c-mainTitle__Ja {
    font-size: 2.8rem;
}

.p-home-movie__block {
    max-width: 820px;
    margin: 0 auto;
}

.p-home-movie .c-deco {
    content: "";
    width: 145px;
    height: 200px;
    top: -150px;
    left: -20px;
}

@media all and (min-width: 1025px) {
    .p-home-movie .c-mainTitle__Ja {
        font-size: 3.2rem;
    }
    
    .p-home-movie .c-mainTitle__Ja small {
        font-size: inherit;
    }

    .p-home-movie .c-deco {
        width: 238px;
        height: 353px;
        top: -170px;
        left: auto;
        right: 20px;
    }
}

@media all and (min-width: 1441px) {
    .p-home-movie .c-mainTitle__Ja {
        font-size: 4rem;
    }
    
    .p-home-movie__block {
        max-width: 910px;
    }

    .p-home-movie .c-deco {
        width: 338px;
        height: 453px;
    }
}

/*  home feature
---------------------------------------- */
.p-home-feature {
    background: var(--clrBkgTer);
}

/*  home case
---------------------------------------- */
.p-home-case-slider .c-slickSlider__list {
    position: relative;
    left: -7px;
}

.p-home-case-slider .c-caseItem__title {
    min-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media all and (min-width: 1441px) {
    .p-home-case-slider .c-slickSlider__list {
        width: calc(100% + 30px);
        left: -15px;
    }
}

/*  home flow
---------------------------------------- */
.p-home-flow {
    background: var(--clrBkgSec);
}

.p-home-flow-list {
    max-width: 400px;
    margin: 0 auto;
    counter-reset: count 0;
}

.p-home-flow-list__item {
    padding: 30px;
    position: relative;
    background: #fff;
    border: 2px solid transparent;
}

.p-home-flow-list__item:not(:first-child) {
    margin-top: 50px;
}

.p-home-flow-list__item.-point {
    border-color: var(--clrTxt);
}

.p-home-flow-list__item:before {
    display: block;
    position: absolute;
    top: 15px;
    left: 15px;
    line-height: 1;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: var(--fntEn);
    color: var(--clrTxtTer);
    content: counter(count, decimal-leading-zero);
    counter-increment: count 1;
}

.p-home-flow-list__item:not(:last-child):after {
    content: "";
    width: 0;
    height: 0;
    margin: auto;
    display: block;
    position: absolute;
    top: calc(100% + 17px);
    left: 0;
    right: 0;
    border: 8px solid transparent;
    border-top: 14px solid var(--clrTxtTer);
}

.p-home-flow-list__item img {
    width: 60px;
    margin: 0 auto 20px;
    display: block;
}

.p-home-flow-list__item.-point img {
    width: 90px;
    margin-top: -15px;
}

.p-home-flow-list__item h3 {
    margin-bottom: 12px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}
.p-home-flow-list__item h3 span{
    font-size: 1.4rem;
}
.p-home-flow-list__item.-point h3 {
    margin-top: -15px;
}

@media all and (min-width: 1025px) {
    .p-home-flow-list {
        width: calc(100% + 30px);
        max-width: none;
        display: flex;
        justify-content: center;
        position: relative;
        left: -15px;
    }

    .p-home-flow-list__item {
        width: 25%;
        margin: 0 15px;
    }

    .p-home-flow-list__item:not(:first-child) {
        margin-top: 0;
    }
    
    .p-home-flow-list__item:not(:last-child):after {
        top: 0;
        bottom: 0;
        left: calc(100% + 14px);
        transform: rotate(-90deg);
    }
    
    .p-home-flow-list__item h3 {
        font-size: 1.8rem;
    }
}

@media all and (min-width: 1441px) {
    .p-home-flow-list {
        width: calc(100% + 40px);
        left: -20px;
    }

    .p-home-flow-list__item {
        margin: 0 20px;
    }
    
    .p-home-flow-list__item:not(:last-child):after {
        left: calc(100% + 17px);
    }
    
    .p-home-flow-list__item h3 {
        font-size: 2rem;
    }
    
    .p-home-flow-list__item.-point h3 {
        font-size: 2.2rem;
    }
}

/*  home fee
---------------------------------------- */
.p-home-fee {
    text-align: center;
}

.p-home-fee .c-button {
    margin-top: 30px;
}

.p-home-fee .c-deco {
    width: 145px;
    height: 200px;
    bottom: 0;
    right: -20px;
}

@media all and (min-width: 1025px) {
    .p-home-fee .c-button {
        margin-top: 40px;
    }

    .p-home-fee .c-deco {
        width: 238px;
        height: 353px;
        bottom: 20px;
        right: -160px;
    }
}

@media all and (min-width: 1441px) {
    .p-home-fee .c-deco {
        width: 338px;
        height: 453px;
    }
}
