@charset "UTF-8";

/* header パンくずリスト*/
.Breadcrumb {
    padding: 1em;
}

.Breadcrumb-ListGroup {
    display: flex;
}

.Breadcrumb-ListGroup-Item-Link[href]:hover {
    opacity: 0.5;
}

.Breadcrumb-ListGroup>*+* {
    margin-left: 0.5em;
}

.Breadcrumb-ListGroup>*+*::before {
    content: ">";
    margin-left: 0.5em;
    margin-right: 0.5em;
}

/* ボタンリンク */
.btn01 {
    display: inline-block;
    padding: 12px 30px;
    background: none;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    width: 45%;
}

.btn02 {
    margin-bottom: 30px;
}

.btn01 a:hover {
    color: #333;
}

.btn01 a:visited {
    color: #333;
}

.btn01 a:link {
    color: #333;
}

.btn01:hover {
    opacity: 0.5;
    transition-duration: 0.2s;
}

.btn_area {
    margin: 65px 0 80px;
}

/* Anime */
.fade-in {
    opacity: 0;
    transition-duration: 2s;
    transition-property: opacity, transform;

}

.fade-in-up {
    transform: translate(0, 50px);
}

.fade-in-down {
    transform: translate(0, -50px);
}

.fade-in-left {
    transform: translate(-50px, 0);
}

.fade-in-right {
    transform: translate(50px, 0);
}

.scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}

.delayed-image {
    animation: fadeIn 3s ease 0s 1 normal;
    -webkit-animation: fadeIn 3s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}


/* base_design */
.main {
    background-color: #fff;
}

.main_contents {
    max-width: 850px;
    margin: 0 auto;
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    font-size: 13px;
    text-align: center;
    overflow: hidden;
    padding: 0 3%;
}

.main_contents img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.main_txt {
    margin: 60px 0 50px;
}

.logo_img {
    width: 35%;
    margin: 0 auto;
}

.main_title {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 20px;
}

.main_title span {
    font-size: 30px;
}

.sub_title {
    font-size: 48px;
    padding: 80px 0 20px;
}

.sub_txt {
    font-size: 15px;
    padding: 20px 0 80px;
    line-height: 1.5em;
}

.item_name {
    font-size: 16px;
    line-height: 1.5;
    padding: 20px 0px;
}

.pc_none {
    display: none;
}

/*----- グリット部分 -----*/

.grid-container {
    display: grid;
    gap: 10px;
    /* 画像間の余白 */
    grid-template-columns: repeat(2, 1fr);
    /* 常に2列 */
    box-sizing: border-box;
}

.item_img {
    position: relative;
    overflow: hidden;
}

.item_img img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.4s ease;
}

.item_img.wide {
    grid-column: span 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 35, 35, 0.5);
    /* 暗転の色と透過度 */
    color: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* 最初は非表示 */
    transition: 0.4s ease;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* PC：ホバーで表示 */
@media (hover: hover) and (pointer: fine) {
    .item_img:hover .overlay {
        opacity: 1;
    }

    .item_img:hover img {
        filter: brightness(70%);
    }
}

.m_img {
    line-height: 2.5;
}

/* SPはJS制御 */


.credit {
    text-align: center;
    margin: 65px 0 80px;
}

.cre_txt {
    font-size: 18px;
    line-height: 1.5;
}


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

    .logo_img {
        width: 45%;
    }

    .main_title {
        font-size: 16px;
    }

    .main_title span {
        font-size: 28px;
    }

    .overlay {
        font-size: 16px;
    }

    .m_img {
        line-height: 2.5;
    }

    .btn01 {
        width: 60%;
    }

}


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


    .main_txt {
        margin: 45px 0 40px;
    }

    .logo_img {
        width: 50%;
    }

    .main_title {
        font-size: 14px;
    }

    .main_title span {
        font-size: 24px;
    }

    .grid-container {
        gap: 8px;
    }

    .overlay {
        padding: 8px;
        font-size: 12px;
    }

    .btn01 {
        width: 60%;
        padding: 12px 30px;
        font-size: 16px;
    }

    .btn_area {
        margin: 60px 0;
    }

    .pc_none {
        display: block;
    }

    .cre_txt {
    font-size: 16px;
}


}