@charset 'UTF-8';

/*  home hero
---------------------------------------- */
.p-home-hero {
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.p-home-hero__inner {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/*  home section common
---------------------------------------- */
.p-home-section {
    padding: 65px 0;
    position: relative;
}

.p-home-section__head {
    margin-bottom: 32px;
}

.p-home-section__titleEn {
    line-height: 1.2;
    font-size: 5rem;
    font-weight: normal;
    font-family: var(--fntEn);
}

.p-home-section__titleJa {
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: bold;
}

.p-home-more {
    margin-top: 32px;
    text-align: center;
}

@media all and (min-width: 769px) {
    .p-home-section {
        padding: 80px 0;
    }
    
    .p-home-section__head:not(.-small) {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }
    
    .p-home-section__head:not(.-small) .p-home-section__titleEn {
        margin-right: 40px;
    }
    
    .p-home-section__head:not(.-small) .p-home-section__titleJa {
        padding-top: 0.5em;
    }
}

@media all and (min-width: 1025px) {
    .p-home-section {
        padding: 100px 0;
    }
}

@media all and (min-width: 1441px) {
    .p-home-section {
        padding: 140px 0;
    }
    
    .p-home-section__head:not(.-small) .p-home-section__titleEn {
        font-size: 8rem;
    }
    
    .p-home-section__head.-small .p-home-section__titleEn {
        font-size: 7.2rem;
    }
    
    .p-home-section__titleJa {
        font-size: 1.8rem;
    }
    
    .p-home-more {
        margin-top: 48px;
    }
}

/*  home section hubANiceFuture
---------------------------------------- */
.p-home-hubANiceFuture .c-section__inner {
    padding: 0 32px;
}

.p-home-hubANiceFuture__image {
    min-width: 380px;
    max-width: 620px;
    margin-top: -45px;
    margin-bottom: 30px;
    margin-left: -60px;
    display: block;
    position: relative;
    z-index: -1;
}

.p-home-hubANiceFuture__text {
    font-size: 1.6rem;
}

.p-home-hubANiceFuture .p-home-more {
    text-align: left;
}

@media all and (min-width: 426px) {
    .p-home-hubANiceFuture__image {
        width: 60%;
        margin-top: -110px;
        margin-left: auto;
        margin-right: -16px;
    }
}

@media all and (min-width: 769px) {
    .p-home-hubANiceFuture .c-section__body {
        width: 55%;
        max-width: 510px;
    }
    
    .p-home-hubANiceFuture__image {
        width: 40%;
        margin: 0;
        position: absolute;
        top: 0;
        right: 0;
    }

    .p-home-hubANiceFuture__text {
        margin-top: 24px;
    }
}

@media all and (min-width: 1025px) {
    .p-home-hubANiceFuture .c-section__inner {
        padding: 0 20px;
    }
    
    .p-home-hubANiceFuture__image {
        width: 45%;
        top: -40px;
    }
}

@media all and (min-width: 1441px) {
    .p-home-hubANiceFuture__image {
        width: 100%;
    }
    
    .p-home-hubANiceFuture__text {
        font-size: 1.8rem;
    }
    
    .p-home-hubANiceFuture .c-section__body {
        max-width: 510px;
    }
}

/*  home section service
---------------------------------------- */
.p-home-services {
    margin-top: -10px;
}

.p-home-services-list {
    margin-top: 40px;
    counter-reset: count 0;
}

.p-home-services-list__item {
    position: relative;
}

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

.p-home-services-list__item:before {
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    font-size: 1.2rem;
    font-family: var(--fntEn);
    color: var(--clrTxtTertiary);
    content: counter(count, decimal-leading-zero);
    counter-increment: count 1;
}

.p-home-services-list__image {
    margin-bottom: 24px;
    padding: 25px;
    border: 1px dotted var(--clrBorderTertiary);
}

.p-home-services-list__image img {
    width: auto;
    height: 200px;
    margin: 0 auto;
    display: block;
}

.p-home-services-list__title {
    line-height: 1.5;
    font-size: 2rem;
    font-weight: bold;
}

.p-home-services-list__text {
    margin-top: 8px;
    color: var(--clrTxtSecondary);
}

@media all and (min-width: 769px) {
    .p-home-services-list__item {
        display: flex;
        align-items: center;
    }
    
    .p-home-services-list__item:not(:first-child) {
        margin-top: 32px;
    }
    
    .p-home-services-list__item:before {
        position: absolute;
        top: calc(50% - 0.5em);
        right: 0;
    }
    
    .p-home-services-list__image {
        width: 300px;
        margin-bottom: 0;
    }
    
    .p-home-services-list__image img {
        height: 150px;
    }
    
    .p-home-services-list__content {
        width: calc(100% - 300px);
        padding: 0 30px;
    }
}

@media all and (min-width: 1025px) {
    .p-home-services-list__image {
        width: 340px;
    }
    
    .p-home-services-list__image img {
        height: 180px;
    }
    
    .p-home-services-list__content {
        width: calc(100% - 340px);
        padding: 0 50px;
    }
}

@media all and (min-width: 1441px) {
    .p-home-services__text {
        font-size: 1.8rem;
    }
    
    .p-home-services-list {
        margin-top: 56px;
    }
    
    .p-home-services-list__item:before {
        font-size: 1.3rem;
    }
    
    .p-home-services-list__image {
        width: 400px;
    }
    
    .p-home-services-list__image img {
        height: 220px;
    }
    
    .p-home-services-list__content {
        width: calc(100% - 400px);
        padding: 0 70px;
    }
    
    .p-home-services-list__title {
        font-size: 2.4rem;
    }
}

/*  home section strength
---------------------------------------- */
.p-home-strength {
    background: var(--clrMain);
}

.p-home-strength .p-home-section__head {
    color: #fff;
}

@media all and (min-width: 1441px) {
    .p-home-strength .p-home-section__head {
            margin-bottom: 48px;
    }
}

/*  home section hopesGoalAndTry
---------------------------------------- */
.p-home-hopesGoalAndTry .c-section__inner {
    min-height: 100vh;
}

/*  home section news
---------------------------------------- */
@media all and (min-width: 1025px) {
    .p-home-news .c-section__inner {
        display: flex;
    }
    
    .p-home-news .p-home-section__head {
        flex-grow: 0;
        flex-shrink: 0;
    }
    
    .p-home-news .c-section__body {
        padding-left: 80px;
        flex-grow: 1;
    }
    
    .p-home-news .c-posts-item__title {
        -webkit-line-clamp: 1;
    }
    
    .p-home-news .p-home-more {
        text-align: right;
    }
}

@media all and (min-width: 1441px) {
    .p-home-news .c-section__body {
        padding-left: 100px;
    }
}

/*  home toLower
---------------------------------------- */
.p-home-toLower {
    margin-top: 120px;
}

.p-home-toLower-item {
    padding: 34px 32px;
    display: block;
    position: relative;
    overflow: hidden;
    background: no-repeat center;
    background-size: cover;
}

.p-home-toLower-item.-company {
    background-image: url(../jpg/img-to_lower-company.jpg);
}

.p-home-toLower-item.-sustainability {
    background-image: url(../jpg/img-to_lower-sustainability.jpg);
}

.p-home-toLower-item:not(:first-child) {
    margin-top: 2px;
}

.p-home-toLower-item__title {
    position: relative;
    z-index: 2;
}

.p-home-toLower-item__titleJa {
    margin-bottom: 0.2em;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-size: 1.8rem;
    font-weight: bold;
}

.p-home-toLower-item__titleEn {
    line-height: 1.2;
    font-size: 1.2rem;
    font-family: var(--fntEn);
    color: var(--clrTxtSecondary);
}

.p-home-toLower-item__circle {
    width: 8px;
    height: 8px;
    display: block;
    position: absolute;
    top: 50%;
    right: 24px;
    background: #fff;
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(50%, -50%);
    transition: padding ease 0.6s;
}

.p-home-toLower-item:hover .p-home-toLower-item__circle {
    padding: 100%;
}

@media all and (min-width: 426px) {
    .p-home-toLower-item {
        padding: 45px 32px;
    }
    
    .p-home-toLower-item__titleJa {
        font-size: 2rem;
    }

    .p-home-toLower-item__titleEn {
        font-size: 1.3rem;
    }
}

@media all and (min-width: 769px) {
    .p-home-toLower__inner {
        width: min(100%, 1080px);
        margin: 0 auto;
        display: flex;
    }
    
    .p-home-toLower-item {
        width: 50%;
        margin: 0 1px;
        padding: 42px 40px;
    }
}

@media all and (min-width: 1025px) {
    .p-home-toLower__inner {
        width: min(100%, 1320px);
    }
    
    .p-home-toLower-item {
        padding: 62px 60px;
    }
    
    .p-home-toLower-item__title {
        display: flex;
        align-items: center;
    }
    
    .p-home-toLower-item__titleJa {
        margin-bottom: 0;
        margin-right: 16px;
        font-size: 2rem;
    }
}

@media all and (min-width: 1441px) {
    .p-home-toLower__inner {
        width: min(100%, 1600px);
    }
    
    .p-home-toLower-item {
        padding: 82px 80px;
    }
    
    .p-home-toLower-item__titleJa {
        font-size: 2.4rem;
    }
}

/*  home section circles
---------------------------------------- */
.p-home-hubANiceFuture__circle-sp-1 {
    bottom: -50px;
    right: -5px;
}

.p-home-hubANiceFuture__circle-1 {
    bottom: -160px;
    left: -8vw;
}

.p-home-services__circle-1 {
    top: -60px;
    right: -8vw;
}

.p-home-hopesGoalAndTry__circle-sp-1 {
    top: 30%;
    left: 40px;
    z-index: 2;
}

.p-home-hopesGoalAndTry__circle-sp-2 {
    bottom: 3%;
    right: 20px;
}

.p-home-hopesGoalAndTry__circle-5 {
    top: 28%;
    right: 2vw;
}

.p-home-hopesGoalAndTry__circle-6 {
    top: 40%;
    left: 4vw;
}

.p-home-hopesGoalAndTry__circle-7 {
    bottom: 4%;
    right: 0;
}
