@charset "utf-8";

html {
    overflow-x: hidden;
}

body {
    background-color: #FFF9F2;
}

img {
    width: 100%;
    height: auto;
    
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .c-main-copy__main img {
        width: 90%;
        margin: 0 auto;
    }
}

.p-main {
    background-color: #FFFFFF;
    margin-top: 70px;
}

.c-main-inner {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    height: calc(var(--vh, 1vh) * 100);
    min-height: 600px;
    width: 100vw;
    width: calc(var(--vw, 1vw) * 100);
}

.c-main-img-slide {
    flex-basis: 54%;
    max-width: 54%;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.c-main-txt {
    padding: 0 0 6% 5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 45%;
    max-width: 45%;
}

.c-main-copy__sub {
    margin-top: 30px;
    margin-left: 20px;
    font-family: 'Sacramento', cursive;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.c-main-news {
    margin-top: 12vh;
    width: 100%;
    max-width: 530px;
}

.c-main-news-inner {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.main-news-title {
    font-size: 3.6rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
}

.main-news-sub {
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    padding-left: 15px;
}

.readmore {
    position: relative;
    margin-left: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    display: inline-block;
}

.readmore::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #FBEAFF;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.readmore a {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
}

.readmore svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #234567;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.readmore:hover::before {
    width: 100%;
    background: #FBEAFF;
}

.readmore:hover svg {
    transform: translateX(0);
}

.readmore:active {
    transform: scale(0.95);
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item + .news-item {
    padding-top: 10px;
}

.news-item-info {
    display: flex;
    width: 100%;
    padding: 0 15px 10px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.news-item-info:hover {
    color: #428cbd;
}

.news-date {
    white-space: nowrap;
    flex-basis: 115px;
    max-width: 115px;
    color: #FFB546;
    font-weight: bold;
}

.news-title {
    flex-basis: calc(100% - 115px - 15px);
    max-width: calc(100% - 115px - 15px);
    font-weight: bold;
}

@media screen and (max-width : 1024px){
/*画面幅が1024pxまでの時*/
    .c-main-inner {
        justify-content: space-between;
        flex-direction: column;
        height: 100%;
        min-height: 400px;
        width: 100%;
    }

    .c-main-img-slide {
        flex-basis: 100%;
        max-width: 100%;
    }

    .c-main-txt {
        padding: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .c-main-copy__main { 
        margin-top: 50px;
    }

    .c-main-copy__sub {
        margin-left: 0;
        font-size: 2rem;
        text-align: center;
    }

    .c-main-news {
        margin-top: 10vh;
        margin-bottom: 10vh;
        width: 90%;
    }

    .c-main-news-inner {
        display: flex;
        align-items: flex-end;
        margin-bottom: 20px;
    }

    .main-news-title {
        font-size: 3.6rem;
    }

    .main-news-sub {
        font-size: 1.4rem;
        padding-left: 15px;
    }

    .readmore {
        padding: 0;
    }

    .readmore::before {
        top: -4px;
        left: -10px;
        border-radius: 50px;
        width: 130px;
        height: 25px;
    }

    .readmore a {
        font-size: 1.4rem;
    }

    .news-item + .news-item {
        padding-top: 10px;
    }

    .news-item-info {
        flex-direction: column;
        padding: 0 15px 10px 0;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .news-date {
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 5px;
    }

    .news-title {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .c-main-inner {
        justify-content: space-between;
        flex-direction: column;
        height: 100%;
        min-height: 400px;
        width: 100%;
    }

    .c-main-img-slide {
        flex-basis: 100%;
        max-width: 100%;
    }

    .c-main-txt {
        padding: 0;
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .c-main-copy__main { 
        margin-top: 50px;
    }

    .c-main-copy__sub {
        margin-left: 0;
        font-size: 2rem;
        text-align: center;
    }

    .c-main-news {
        margin-top: 10vh;
        margin-bottom: 10vh;
        width: 90%;
    }

    .c-main-news-inner {
        display: flex;
        align-items: flex-end;
        margin-bottom: 20px;
    }

    .main-news-title {
        font-size: 3.6rem;
    }

    .main-news-sub {
        font-size: 1.4rem;
        padding-left: 15px;
    }

    .readmore {
        padding: 0;
    }

    .readmore::before {
        top: -4px;
        left: -10px;
        border-radius: 50px;
        width: 130px;
        height: 25px;
    }

    .readmore a {
        font-size: 1.4rem;
    }

    .news-item + .news-item {
        padding-top: 10px;
    }

    .news-item-info {
        flex-direction: column;
        padding: 0 15px 10px 0;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .news-date {
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 5px;
    }

    .news-title {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.p-future {
    padding: 100px 0;
    text-align: center;
}

.main-title {
    font-size: 7rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
}

.sub-title {
    font-size: 1.8rem;
    padding: 15px 0 50px;
}

.c-future-copy {
    padding-top: 50px;
}

.copy-title {
    font-size: 4rem;
    font-weight: bold;
    padding-bottom: 30px;
    background-image: url("../img/ul.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.copy-sub {
    margin-top: 50px;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2;
}

.main-title-sub {
    font-size: 1.8rem;
    padding-left: 30px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .p-future {
        padding: 80px 10px;
    }

    .main-title {
        font-size: 6rem;
    }

    .sub-title {
        font-size: 1.5rem;
        padding: 10px 0 30px;
    }

    .copy-title {
        font-size: 3rem;
        padding-bottom: 30px;
        line-height: 1.3;
    }

    .copy-sub {
        margin-top: 30px;
        font-size: 1.8rem;
        line-height: 1.8;
    }
}

.p-about {
    display: flex;
    justify-content: space-between;
}

.p-about .about-img {
    width: 55%;
}

.about-img img {
    width: 100%;
    max-width: 850px;
    height: auto;
}

.c-about-title {
    width: 40%;
    padding-top: 80px;
}

.about-txt {
    padding: 50px 0 50px;
    line-height: 2;
    font-weight: bold;
}

@media screen and (max-width : 1024px) {
    .p-about {
        flex-direction: column;
    }

    .p-about .about-img {
        width: 100%;
    }

    .about-img img {
        width: 100%;
    }

    .c-about-title {
        width: 90%;
        margin: 0 auto;
        padding-top: 50px;
    }
    
    .main-title {
        line-height: .6;
        text-align: center;
    }

    .main-title-sub {
        font-size: 1.6rem;
        padding-left: 0;
    }

    .about-txt {
        padding: 50px 0 30px;
        line-height: 1.8;
        text-align: center;
    }
    
    .c-about-title .readmore {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .c-about-title .readmore::before {
        top: -4px;
        left: -10px;
        border-radius: 50px;
        width: 170px;
        height: 28px;
    }

    .c-about-title .readmore a {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .p-about {
        flex-direction: column;
    }

    .p-about .about-img {
        width: 100%;
    }

    .about-img img {
        width: 100%;
    }

    .c-about-title {
        width: 90%;
        margin: 0 auto;
        padding-top: 50px;
    }
    
    .main-title {
        line-height: .6;
        text-align: center;
    }

    .main-title-sub {
        font-size: 1.6rem;
        padding-left: 0;
    }

    .about-txt {
        padding: 50px 0 30px;
        line-height: 1.8;
    }
    
    .c-about-title .readmore {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .c-about-title .readmore::before {
        top: -4px;
        left: -10px;
        border-radius: 50px;
        width: 170px;
        height: 28px;
    }

    .c-about-title .readmore a {
        font-size: 2rem;
    }
}

.p-project {
    margin: 100px 0 200px;
}

.project-inner {
    border: 4px double #1D0F05;
    padding-top: 90px;
    margin-top: 30px;
}

.project-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 2.5%;
}

.project-list li {
    width: 30%;
    position: relative;
}

.num {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    width: 80px;
    height: 80px;
    text-align: center;
    position: absolute;
    top: -63px;
    left: 0;
    right: 0;
    margin: auto;
    line-height: 1.2;
    letter-spacing: .05em;
    background: #4C5864;
    color: #FFFFFF;
    padding-top: 15px;
    border-radius: 50%;
}

.num span {
    font-size: 25%;
    display: block;
    letter-spacing: 0;
}

.project-title {
    font-size: 1.7rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #4C5864;
}

@media screen and (max-width: 768px) {
    .p-project {
        margin: 100px 0 100px;
    }

    .project-inner {
        padding-top: 90px;
        margin-top: 30px;
    }

    .project-list {
        flex-direction: column;
        margin: 0 5%;
    }

    .project-list li {
        width: 100%;
        margin-bottom: 80px;
    }
    
    .project-list li:last-child {
        margin-bottom: 50px;
    }

    .num {
        font-size: 2rem;
        font-family: 'Oswald', sans-serif;
        font-weight: 300;
        width: 70px;
        height: 70px;
        text-align: center;
        position: absolute;
        top: -50px;
        left: 0;
        right: 0;
        margin: auto;
        line-height: 1.2;
        letter-spacing: .05em;
        background: #4C5864;
        color: #FFFFFF;
        padding-top: 15px;
        border-radius: 50%;
    }

    .num span {
        font-size: 25%;
        display: block;
        letter-spacing: 0;
    }

    .project-title {
        font-size: 1.7rem;
        font-weight: bold;
        margin-top: 30px;
        margin-bottom: 20px;
        line-height: 1.6;
        color: #4C5864;
    }
}

.p-contact {
    background-color: #FFA03D;
}

.contact-list {
    align-items: center;
    display: flex;
    flex-direction: row;
    height: 220px;
}

.contact-item {
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: calc(100% / 3);
    z-index: 1;
}

.contact-item:not(:first-of-type)::before {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: "";
    display: inline-block;
    vertical-align: middle;
    bottom: 0;
    background-color: #fff;
    height: 64px;
    left: 0;
    margin: auto;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 1px;
}

.contact-item-link {
    align-items: center;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    font-weight: 600;
    height: 100%;
    justify-content: center;
    line-height: 1.6;
    padding-top: 5px;
    position: relative;
    transition: opacity 500ms, 700ms;
    width: 100%;
}

.contact-item img {
    width: 24px;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .contact-list {
        height: calc(220px / 2);
    }

    .contact-item-link {
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.2;
        padding-top: 0;
    }

    .contact-item img {
        width: 25px;
        margin-bottom: 10px;
    }
}





















