@charset "UTF-8";

/* ----- ホテル・記事一覧（iframe子）用css list-inner-iframe.css ----- */

body {
    min-height: auto;
}

.scale-01 {
    overflow: hidden;
}

.scale-01 img {
    -webkit-transition: -webkit-transform 0.3s linear;
    transition: -webkit-transform 0.3s linear;
    transition: transform 0.3s linear;
    transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

.scale-01:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* ##### 記事一覧 ##### */
.list-post {
    width: 84.85%;
    display: -ms-grid;
    display: grid;
    counter-reset: number;
    margin-left: auto;
    margin-right: auto;
}

/* ##### ページネーション ##### */
.pager {
    max-width: 90%;
    margin: 7.4rem auto 1rem auto;
}

.pager-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pager-list li {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.pager-list li+li {
    margin-left: -1px;
}

.pager-list li a,
.pager-list li span {
    width: clamp(3rem, -17rem + 64vw, 4rem);
    height: clamp(3rem, -17rem + 64vw, 4rem);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.25rem;
    font-size: clamp(1.3rem, -6.7rem + 25.6vw, 1.7rem);
    line-height: 1;
    border: 1px solid var(--color-001);
    border-radius: 0.1rem;
    background-color: white;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.pager-list li a:hover,
.pager-list li .current {
    color: white;
    background-color: var(--color-001);
    opacity: 1;
}

.pager-arrow a::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pager-arrow.-lead a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
}

.pager-arrow.-lead a::before {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-top: 2px solid var(--color-text-001);
    border-left: 2px solid var(--color-text-001);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.pager-arrow.-lead a::after {
    content: "";
    width: 2px;
    height: 1.25rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 5px;
    background-color: var(--color-text-001);
}

.pager-arrow.-lead a:hover::before {
    border-top: 2px solid white;
    border-left: 2px solid white;
}

.pager-arrow.-lead a:hover::after {
    background-color: white;
}

.pager-arrow.-last a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
}

.pager-arrow.-last a::before {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-top: 2px solid var(--color-text-001);
    border-right: 2px solid var(--color-text-001);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.pager-arrow.-last a::after {
    content: "";
    width: 2px;
    height: 1.25rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 5px;
    background-color: var(--color-text-001);
}

.pager-arrow.-last a:hover::before {
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.pager-arrow.-last a:hover::after {
    background-color: white;
}

.pager-arrow.-prev a::before {
    border-top: 2px solid var(--color-text-001);
    border-left: 2px solid var(--color-text-001);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.pager-arrow.-prev a:hover::before {
    border-top: 2px solid white;
    border-left: 2px solid white;
}

.pager-arrow.-next a::before {
    border-top: 2px solid var(--color-text-001);
    border-right: 2px solid var(--color-text-001);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.pager-arrow.-next a:hover::before {
    border-top: 2px solid white;
    border-right: 2px solid white;
}

@media (min-width: 1024px) {
    .pager-list li a,
    .pager-list li span {
        width: 3rem;
        height: 3rem;
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* ##### 記事一覧のカスタム ##### */
@media (min-width: 1024px) {
    .list-post {
        width: 100%;
    }
}
