@charset "utf-8";

/* --------------------------------------------


index


---------------------------------------------- */

#index main {
    margin-top: 92px;
}

.index__contents {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 16rem auto;
}

@media only screen and (max-width:640px) {
    #index main {
        margin-top: 117px;
    }

    .index__contents {
        margin: 6rem auto;
    }
}


/* --------------------------------------------
    ファーストビュー
---------------------------------------------- */

.mv {
    position: relative;
    width: 100%;
    height: calc(100vh - 92px);
    margin-top: 92px;
}

.mv__wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 40px;
    z-index: 3;
}

.mv__title {
    position: relative;
    padding-bottom: 4rem;
    opacity: 0.75;
}

.mv__title h1 {
    display: inline-block;
    margin-bottom: 3rem;
}

.mv__title img {
    width: 695px;
}

.mv__lead {
    text-align: center;
    font-size: var(--fz-lead);
    color: var(--c-white);
}

.mv__video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    }

.mv__mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(38, 38, 38, 0.4);
    z-index: 2;
}

@media only screen and (max-width:640px) {
    .mv {
        height: calc(100vh - 117px);
        margin-top: 117px;
    }

    .mv__title {
        text-align: center;
    }

    .mv__title img {
        width: 90%;
        min-width: 500px;
    }
}


/* --------------------------------------------
    冒頭のメッセージ
---------------------------------------------- */

.index__contents.contents01 {
    margin-top: -92px;
    padding: 12rem;
    background: var(--c-white);
    border: solid 1px #595959;
    z-index: 10;
}

.message__copy {
    margin-bottom: 8rem;
    text-align: center;
}

.message__copy img {
    width: 230px;
}

.message__text {
    padding: 0 8rem;
    line-height: 3.0;
    font-size: var(--fz-l);
}

@media only screen and (max-width:640px) {
    .index__contents.contents01 {
        margin-top: -117px;
        margin-bottom: 12rem;
        padding: 6rem 2.5rem;
    }

    .message__copy {
        margin-bottom: 5rem;
    }

    .message__text {
        padding: 0;
        line-height: 2.4;
    }
}


/* --------------------------------------------
    水戸っぽ一覧
---------------------------------------------- */

.category__nav {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    padding-top: 4rem;
    margin-bottom: 8rem;
}

.category__nav button {
    all: unset;
    position: relative;
    width: calc(100% / 6);
    padding: 1.5rem 0;
    text-align: center;
    border-right: solid 1px #262626;
    cursor: pointer;
}

.category__nav button:first-of-type {
    border-left: solid 1px #262626;
}

.category__nav button::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: -2rem;
    right: -1rem;
    bottom: -1.5rem;
    background: url('../_image/index/button-active.svg') no-repeat center / contain;
    pointer-events: none;
    opacity: 1;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category__nav button.active::before {
    opacity: 1;
}

.people__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 50px;
}

.people__item {
    flex: 0 0 calc((100% - 100px) / 3);
    text-align: center;
    cursor: pointer;
}

.item__img {
    position: relative;
}

.item__img::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 3rem;
    mask: url(../_image/index/filter.svg) no-repeat center center / cover;
    pointer-events: none;
}

.people__item:nth-child(1) .item__img::after,
.people__item:nth-child(6) .item__img::after,
.people__item:nth-child(7) .item__img::after,
.people__item:nth-child(12) .item__img::after,
.people__item:nth-child(13) .item__img::after {
    background-color: var(--c-yellow);
}

.people__item:nth-child(2) .item__img::after,
.people__item:nth-child(4) .item__img::after,
.people__item:nth-child(8) .item__img::after,
.people__item:nth-child(10) .item__img::after {
    background-color: var(--c-pink);
}

.people__item:nth-child(3) .item__img::after,
.people__item:nth-child(5) .item__img::after,
.people__item:nth-child(9) .item__img::after,
.people__item:nth-child(11) .item__img::after {
    background-color: var(--c-purple);
}

.people__item img {
    margin-bottom: 3rem;
}

.item__text p {
    padding: 0 2rem 0.5rem;
    transition: 0.4s;
}


.item__text p:nth-of-type(2) {
    text-align: center;
    font-size: var(--fz-xxl);
}

@media (hover:hover) {
    .item__text:hover p {
        color: var(--c-yellow);
        transition: 0.4s;
    }
}

.item__text p span {
    display: inline-block;
}

.displayBlock {
    display: none;
}

@media only screen and (max-width:1300px) {
    .lineWrapping {
        margin-top: 3px;
        line-height: 1.6;
    }
    .displayNone {
        display: none;
    }

    .displayBlock {
        display: block;
    }
}

@media only screen and (max-width:640px) {
    .index__contents.contents02 {
        margin-bottom: 12rem;
    }

    .category__nav {
        flex-wrap: wrap;
        margin-bottom: 5rem;
        padding-top: 0;
    }

    .category__nav button {
        width: calc(100% / 3);
        box-sizing: border-box;
    }

    .category__nav button:first-of-type {
        border-left: none;
    }

    .category__nav button:nth-child(3n) {
        border-right: none;
    }

    .category__nav button:nth-child(-n + 3) {
        border-bottom: solid 1px #262626;
    }

    .category__nav button::before {
        top: 0;
        bottom: 0;
    }

    .people__wrap {
        flex-direction: column;
        gap: 40px;
    }

    .people__item {
        display: flex;
        flex: none;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.6rem;
        text-align: left;
    }

    .item__img {
        flex: 0 0 40%;
        margin-bottom: 0;
    }

    .item__img::after {
        margin-bottom: 0;
    }

    .item__img img {
        margin-bottom: 0;
    }

    .item__text {
        display: flex;
        flex: 1 1 60%;
        flex-direction: column;
        justify-content: center;
        padding-top: 1rem;
    }

    .item__text p {
        margin: 0 0 0.3rem 0;
        padding: 0;
    }

    .item__text p:nth-of-type(1) {
        font-size: 1.4rem;
    }

    .item__text p:nth-of-type(2) {
        text-align: left;
    }
    
}


/* --------------------------------------------
    冒頭のメッセージ
---------------------------------------------- */

.index__contents.contents03 {
    padding: 12rem;
    border-top: solid 1px #595959;
    border-bottom: solid 1px #595959;
}

.index__contents.contents03 h2 {
    margin-bottom: 4rem;
    text-align: center;
    font-size: var(--fz-xl);
    font-weight: var(--fw-medium);
}

.index__contents.contents03 p {
    line-height: 2.4;
}


@media only screen and (max-width:640px) {
    .index__contents.contents03 {
        padding: 4rem 0;
        border: solid 1px #595959;
    }

    .index__contents.contents03 h2 {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
        font-size: var(--fz-xl);
    }

    .index__contents.contents03 p {
        padding: 0 2.5rem;
        font-size: 1.4rem;
    }
}