@charset "UTF-8";

.visual {
    display: block;
    width: 100%;
    height: 100vh;
    background-image: url(../../img/plan-visual.jpg);
    background-size: cover;
    background-position: center;
}

.page-title {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}

.plan-item {
    display: block;
    padding: 30px;
    text-align: start;
    border: 1px solid #9c9c9c;
}

.plan-item {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.last-item {
    margin-bottom: 80px;
}

.plan-title {
    padding: 12px 0;
}

.row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 24px;
    text-align: start;
}

.square {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.plan-item p {
    line-height: 24px;
}

.plan-attribute {
    display: inline-block;
    padding: 0 8px;
    margin: 8px 0;
    font-size: 0.7rem;
    color: #fff;
    border: 1px solid #9c9c9c;
    border-radius: 9999px;
    background-color: #9c9c9c;
}

.plan-text .icon {
    font-size: 1.2rem;
    vertical-align: -0.3rem;
    margin: 4px 0;
}

.plan-event {
    font-size: 0.8rem;
    margin: 8px 0;
}

hr {
    background-color: #9c9c9c;
    height: 1px;
    border: none;
}

.plan-moreView {
    position: relative;
    margin: 0 auto;
    padding: 8px 0;
    line-height: 1.2rem;
    text-align: center;
}

.plan-moreView a {
    display: block;
}


.plan-moreView .arrow {
    font-weight: 200;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

.plan-moreView:hover .arrow {
    transform: translateY(-50%) translateX(5px);
}


.pagenation {
    display: flex;
    justify-content: center;
}

.page-num {
    margin: 0 5px;
    width: 30px;
    line-height: 30px;
}

.page-num a {
    display: block;
    color: #fff;
    background-color: #b4a382;
}

@media screen and (min-width:900px) {
    .plan-item-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2px;
    }

    .plan-item {
        width: 100%;
    }
}

/*=======min-width:900px=======*/