@charset "utf-8";

/* ==================================================================

    index.css

=================================================================== */

/* --------------------------------
■共通
-------------------------------- */
section .img_box p {
    margin-bottom: 0;
}

/* ◇ タイトル
-------------------------------- */
/* ◆ _lv2
----------------------*/
.contents .title._lv2 {
    font-size: 6rem;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 50px;
}
.contents .title._lv2 > small {
    display: block;
    margin-top: 20px;
    font-size: var(--font-size-l);
    letter-spacing: 0.1em;
}

/* ◆ _lv3
----------------------*/
.contents .title._lv3 {
    font-size: 4.8rem;
    margin-bottom: 30px;
}
.contents .title._lv3 > span {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    font-size: var(--font-size-m);
    letter-spacing: 0.06em;
    color: var(--text-color-white);
    background: var(--bg-color-black);
    padding: 5px;
}
.contents .title._lv3 > small {
    display: block;
    font-size: var(--font-size-l);
    margin-top: 14px;
    letter-spacing: 0.1em;
}


@media only screen and (max-width: 1080px) {

    /* ◆ _lv2
    ----------------------*/
    .contents .title._lv2 {
        font-size: 4.4rem;
        margin-bottom: 40px;
    }
    .contents .title._lv2 > small {
        position: static;
        display: block;
        margin-top: 14px;
        padding-left: 0;
        font-size: var(--font-size-s);
        letter-spacing: 0.04em;
    }

    /* ◆ _lv3
    ----------------------*/
    .contents .title._lv3 {
        font-size: 3.6rem;
    }
    .contents .title._lv3 > small {
        font-size: var(--font-size-s);
        margin-top: 8px;
    }
}

/* --------------------------------
■about
-------------------------------- */
#about .inner {
    max-width: 871px;
    margin-inline: auto;
    position: relative;
}
#about .title._bg {
    color: var(--text-color-beige);
    font-size: 12rem;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
#about .about_wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0 84px;
    padding-top: 50px;
}
#about .about_wrap .left_area {
    width: 180px;
}
    #about .about_wrap .left_area p.title {
        font-size: 3rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        line-height: 2;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-bottom: 0;
    }
#about .about_wrap .right_area {
    width: 491px;
}
    #about .about_wrap .right_area p.text {
        font-size: var(--font-size-m);
        letter-spacing: 0.04em;
        margin-bottom: 0;
        line-height: 2;
    }

/* 流れるスライダー
-------------------------------- */
.about_slider {
    margin-top: 90px;
}
.about_slider .slick-slide {
    overflow: hidden;
    margin-right: 32px;
    aspect-ratio: 508 / 314;
}
    .about_slider .slick-slide:nth-child(2n) {
        margin-top: 30px;
    }
    .about_slider .slick-slide:nth-child(3n) {
        margin-top: 60px;
    }
.about_slider .slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    #about .about_wrap {
        gap: 0 40px;
    }
}

@media only screen and (max-width: 767px) {

    #about {
        padding: 30px 0 60px;
    }
    #about .title._bg {
        font-size: 10rem;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    #about .about_wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px 0;
        padding-top: 60px;
    }
    #about .about_wrap .left_area {
        width: 100%;
        text-align: center;
    }
        #about .about_wrap .left_area p.title {
            line-height: 1.8;
            display: inline-block;
            font-size: 2.4rem;
        }
    #about .about_wrap .right_area {
        width: auto;
    }

    /* 流れるスライダー
    -------------------------------- */
    .about_slider {
        margin-top: 40px;
    }
    .about_slider .slick-slide {
        margin-right: 19px;
    }
        .about_slider .slick-slide:nth-child(2n) {
            margin-top: 16px;
        }
        .about_slider .slick-slide:nth-child(3n) {
            margin-top: 32px;
        }
}

/* --------------------------------
■event
-------------------------------- */
#event {
    position: relative;
}
    #event::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #F3F1EE 0%, #F3F1EE 70%, transparent 70%, transparent 100%);
    }

@media only screen and (max-width: 767px) {

    #event::before {
        background: var(--bg-color-beige);
    }
}

#iemiru-cms-index-page body, #iemiru-cms-index-page div, #iemiru-cms-index-page span, #iemiru-cms-index-page object, #iemiru-cms-index-page iframe, #iemiru-cms-index-page h1, #iemiru-cms-index-page h2, #iemiru-cms-index-page h3, #iemiru-cms-index-page h4, #iemiru-cms-index-page h5, #iemiru-cms-index-page h6, #iemiru-cms-index-page p, #iemiru-cms-index-page blockquote, #iemiru-cms-index-page pre, #iemiru-cms-index-page abbr, #iemiru-cms-index-page address, #iemiru-cms-index-page cite, #iemiru-cms-index-page code, #iemiru-cms-index-page del, #iemiru-cms-index-page dfn, #iemiru-cms-index-page em, #iemiru-cms-index-page img, #iemiru-cms-index-page ins, #iemiru-cms-index-page kbd, #iemiru-cms-index-page q, #iemiru-cms-index-page samp, #iemiru-cms-index-page small, #iemiru-cms-index-page strong, #iemiru-cms-index-page sub, #iemiru-cms-index-page sup, #iemiru-cms-index-page var, #iemiru-cms-index-page b, #iemiru-cms-index-page i, #iemiru-cms-index-page dl, #iemiru-cms-index-page dt, #iemiru-cms-index-page dd, #iemiru-cms-index-page ol, #iemiru-cms-index-page ul, #iemiru-cms-index-page li, #iemiru-cms-index-page fieldset, #iemiru-cms-index-page form, #iemiru-cms-index-page label, #iemiru-cms-index-page legend, #iemiru-cms-index-page table, #iemiru-cms-index-page caption, #iemiru-cms-index-page tbody, #iemiru-cms-index-page tfoot, #iemiru-cms-index-page thead, #iemiru-cms-index-page tr, #iemiru-cms-index-page th, #iemiru-cms-index-page td, #iemiru-cms-index-page article, #iemiru-cms-index-page aside, #iemiru-cms-index-page canvas, #iemiru-cms-index-page details, #iemiru-cms-index-page figcaption, #iemiru-cms-index-page figure, #iemiru-cms-index-page footer, #iemiru-cms-index-page header, #iemiru-cms-index-page hgroup, #iemiru-cms-index-page menu, #iemiru-cms-index-page nav, #iemiru-cms-index-page section, #iemiru-cms-index-page summary, #iemiru-cms-index-page time, #iemiru-cms-index-page mark, #iemiru-cms-index-page audio, #iemiru-cms-index-page video{
    font-family: "Zen Old Mincho", serif!important;
    font-weight: 500!important;
}

html #iemiru-cms-index-page{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 30px;
    transition: .5s;
}

@media (max-width: 999px) and (min-width: 768px) {
    html #iemiru-cms-index-page{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {

    html #iemiru-cms-index-page{
        grid-template-columns: 1fr;
    }
}


html #iemiru-cms-index-page .index-page__events-event{
    padding: 0;
    background: transparent;
    transition: .5s;
}
html #iemiru-cms-index-page .index-page__events-event.is-horizontal {
    width: revert;
    margin: 0;
    min-height: 140px;
    float: none;
    min-width: revert;
}
html #iemiru-cms-index-page.is-middle .index-page__events-event.is-horizontal {
    width: revert!important;
}

html #iemiru-cms-index-page .index-page__events-event.is-horizontal{
    transition: .5s;
}
html #iemiru-cms-index-page .index-page__events-event.is-horizontal:hover{
    background: transparent;
}

html #iemiru-cms-index-page .index-page__events-event.is-horizontal .index-page__events-event-image {
    transition: .5s;
    transform: scale(1.0)
}

html #iemiru-cms-index-page .index-page__events-event.is-horizontal .index-page__events-event-image-wrapper{
    overflow: hidden;
}

html #iemiru-cms-index-page .index-page__events-event.is-horizontal:hover .index-page__events-event-image {
    transform: scale(1.1)
}

html #iemiru-cms-index-page .label-event-black {
    background: var(--text-color, #2D2D2D);
}
html #iemiru-cms-index-page .index-page__events-event.is-horizontal .index-page__events-event-date {
    margin-bottom: 8px;
}
html #iemiru-cms-index-page .index-page__events-event .index-page__events-event-name {
    color: var(--text-color, #2D2D2D);
    height: auto!important;
}

/* --------------------------------
■build
-------------------------------- */
#build {
    color: var(--text-color-white);
    padding: 120px 0 0;
    margin-bottom: 120px;
    position: relative;
}
    #build::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: calc( 100% - 73px);
        background: linear-gradient(90deg, #284B7D 0%, #284B7D 80%, transparent 80%, transparent 100%);
        z-index: -1;
    }

#build .flex_box.img_wide {
    margin-right: calc(50% - 50vw);
    align-items: flex-start;
    justify-content: space-between;
}
#build .flex_box.img_wide .txt_box {
    width: 598px;
    height: auto;
    color: var(--text-color-white);
    padding-right: 73px;
    padding-bottom: 60px;
    z-index: 2;
    position: relative;
}
#build .txt_box p.text {
    font-size: var(--font-size-s);
    margin-bottom: 20px;
}
#build .txt_box ul.list {
    flex-wrap: wrap;
    gap: 0 30px;
}
    #build .txt_box ul.list li {
        width: calc(( 100% - 30px) /2);
    }
#build .buttonStyle a {
    width: 100%;
    padding: 20px 28px 20px 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    color: var(--link-color-white);
    background: transparent;
    justify-content: space-between;
    text-align: left;
}
    #build .buttonStyle a::after {
        right: 0.5em;
    }
    #build .buttonStyle a:hover {
        opacity: 0.7;
    }

#build .flex_box.img_wide figure {
    width: calc(100% - 598px);
    max-height: 600px;
    aspect-ratio: 849 / 600;
}
    #build .flex_box.img_wide figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

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

    #build {
        padding: 90px 0;
        margin-bottom: 30px;
    }
    #build .flex_box.img_wide .txt_box {
        width: 50%;
        padding-right: 40px;
    }
    #build .flex_box.img_wide figure {
        width: 50%;
    }
}

@media only screen and (max-width: 767px) {

    #build {
        padding: 60px 0;
        margin-bottom: 0;
    }
        #build::before {
            height: 100%;
            background: var(--bg-color-blue);
        }
    #build .flex_box.img_wide {
        margin-right: 0;
        gap: 20px 0;
    }
    #build .flex_box.img_wide .txt_box {
        width: 100%;
        padding-right: 0;
    }
    #build .txt_box ul.list li {
        width: 100%;
    }
}

/* --------------------------------
■service1
-------------------------------- */
#service1 {
    padding: 0;
}
#service1 .flex_box {
    padding-right: calc(( 100% - 1228px) / 2);
}
#service1 .txt_box {
    width: 493px;
    z-index: 3;
    margin-left: -105px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}
    #service1 .txt_box .wrap {
        background: var(--bg-color-beige);
        padding: 70px calc(50vw - 50%) 70px 73px;
        margin-right: calc(50% - 50vw);
    }
    #service1 .txt_box .text {
        font-size: var(--font-size-s);
        margin-bottom: 24px;
    }
#service1 .img_box {
    width: calc( 100% - 387px);
}
    #service1 .img_box img {
        width: 100%;
        max-height: 730px;
        object-fit: cover;
    }

@media only screen and (max-width: 1300px) {

    #service1 {
        padding: 0;
    }
    #service1 .txt_box .wrap {
        padding: 40px 4% 40px 40px;
        margin-right: 0;
    }
}

@media only screen and (max-width: 767px) {

    #service1 .txt_box {
        margin-left: 0;
    }
    #service1 .txt_box .wrap {
        padding: 20px 4% 40px 4%;
    }
}

/* --------------------------------
■service2 / service3
-------------------------------- */
#index main .service {
    padding-bottom: 0;
}
#index main .service .txt_box {
    flex-shrink: 0;
    width: 525px;
    margin-right: -210px;
}
    #index main .service .txt_box .wrap {
        background: var(--bg-color-beige);
        padding: 70px 210px 70px calc(50vw - 50%);
        margin: 0 0 0 calc(50% - 50vw);
    }
    #index main .service .txt_box .title._lv3 {
        position: relative;
        z-index: 3;
    }
    #index main .service .txt_box .text {
        font-size: var(--font-size-s);
        margin-bottom: 24px;
    }
#index main .service .img_box {
    position: relative;
    z-index: 1;
}

#index main .service#service3 .txt_box {
    margin-right: 0;
    margin-left: -210px;
}
#index main .service#service3 .txt_box .wrap {
    padding: 70px calc(50vw - 50%) 70px 210px;
    margin: 0 calc(50% - 50vw) 0 0;
}

@media only screen and (max-width: 1300px) {

    #index main .service .container {
        margin-left: 0;
        margin-right: 0;
    }
    #index main .service .txt_box {
        width: calc( 50% + 4%);
        margin-right: -4%;
    }
    #index main .service .txt_box .wrap {
        padding: 40px 60px 40px 4%;
        margin: 0;
    }
    #index main .service .img_box {
        width: 50%;
    }

    #index main .service#service3 .txt_box {
        margin-left: -4%;
    }
    #index main .service#service3 .txt_box .wrap {
        padding: 40px 4% 40px 60px;
        margin: 0;
    }
}

@media only screen and (max-width: 767px) {

    #index main .service {
        padding-top: 0;
    }
    #index main .service .container {
        flex-direction: column-reverse;
        gap: 30px 0;
    }
    #index main .service .txt_box,
    #index main .service#service3 .txt_box {
        margin: 0;
    }
    #index main .service .txt_box .wrap,
    #index main .service#service3 .txt_box .wrap {
        padding: 20px 4% 40px 4%;
    }
    #index main .service .img_box {
        max-width: 100%;
    }
        #index main .service .img_box p img {
            width: 100%;
        }
}

/* --------------------------------
■works
-------------------------------- */
#works {
    position: relative;
}
    #works::before {
        content: "";
        position: absolute;
        left: 0;
        top: 400px;
        width: 100%;
        height: calc(100% - 400px);
        background: linear-gradient(-90deg, #F3F1EE 0%, #F3F1EE 70%, transparent 70%, transparent 100%);
    }

@media only screen and (max-width: 767px) {

    #works::before {
        display: none;
    }
    #works .worksSlider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 4%;
    }
    #works .worksSlider li {
        margin-bottom: 20px;
    }
    #works .worksSlider .ttl {
        font-size: var(--font-size-m);
    }
    #works .worksSlider .vat {
        font-size: var(--font-size-s);
    }
}

/* --------------------------------
■blog
-------------------------------- */
#blog .ttl {
    font-size: 1.7rem;
}
#blog .tag {
    font-size: var(--font-size13);
    color: var(--text-color-gray);
}
#blog .skd {
    font-size: var(--font-size13);
    letter-spacing: 0.04em;
}
#blog .bnr {
    text-align: center;
    margin-top: 72px;
}

@media only screen and (max-width: 767px) {
    #blog .bnr {
        margin-top: 60px;
    }
}

/* --------------------------------
■companyStaff
-------------------------------- */
#companyStaff {
    padding: 0;
}
#companyStaff > .flex_box {
    align-items: stretch;
}
#companyStaff .flex_box .col {
    width: 50%;
    max-height: 479px;
    aspect-ratio: 678 / 479;
    position: relative;
    overflow: hidden;
}
    #companyStaff .flex_box .col::after {
        position: absolute;
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        background: url("../../images/index/company.jpg") no-repeat center;
        background-size: cover;
        z-index: -1;
        transition: all 500ms 0s ease;
    }
    #companyStaff .flex_box .col.staff::after {
        background: url("../../images/index/staff.jpg") no-repeat center;
        background-size: cover;
    }
    #companyStaff .flex_box .col:hover::after {
        transform: scale(1.05);
        transition: 0.5s all;
    }
#companyStaff .flex_box .col a {
    color: var(--link-color-white);
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 40px;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
}

#companyStaff .flex_box .col dl {
    padding-right: 100px;
}
#companyStaff .flex_box dt.title._lv2 {
    margin-bottom: 24px;
}
#companyStaff .flex_box dd.buttonStyle {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

@media only screen and (max-width: 1300px) {

    #companyStaff .flex_box .col {
        max-height: 100%;
        aspect-ratio: auto;
    }
    #companyStaff .flex_box .col a {
        align-items: flex-start;
        padding: 60px 4%;
    }
    #companyStaff .flex_box .col dl {
        padding-right: 60px;
    }
    #companyStaff .flex_box dd.buttonStyle {
        bottom: 4%;
        right: 4%;
    }
    #companyStaff .flex_box dd.buttonStyle img {
        zoom: 0.8;
    }
}

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