/* ==============================
  お役立ち情報ページ
============================== */

.contents-page .useful {
    padding: 56px 0 64px;
    background: #eef6fb;
}

.contents-page .useful_inner {
    width: min(90%, 1200px);
    margin-inline: auto;
}

.contents-page .useful_contents {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.contents-page .useful_left {
    min-width: 0;
}

.contents-page .useful_head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.contents-page .useful_head::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #009be6;
}

.contents-page .useful_title {
    margin: 0;
    color: #009be6;
    font-size: 5rem;
    font-weight: 700;
}

.contents-page .useful_nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contents-page .useful_box {
    padding: 2rem 28px;
    border: 2px solid #009be6;
    border-radius: 4px;
    background: #fff;
}

.contents-page .useful_box_title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #000;
    font-size: 2.2rem;
    font-weight: 700;
}

.contents-page .useful_box_icon {
    width: 34px;
    height: auto;
    flex-shrink: 0;
}

.contents-page .useful_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contents-page .useful_list li {
    margin: 0;
}

.contents-page .useful_list a {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    color: #000;
    font-size: 1.7rem;
    text-decoration: none;
}

.contents-page .useful_list a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    height: 9px;
    border-top: 2px solid #009be6;
    border-right: 2px solid #009be6;
    transform: translateY(-50%) rotate(45deg);
}

.contents-page .useful_list a:hover {
    color: #009be6;
}

.contents-page .useful_list_one {
    grid-template-columns: 1fr;
}

.contents-page .useful_btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contents-page .useful_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 76px;
    padding: 16px 18px;
    border: 2px solid #009be6;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
}

.contents-page .useful_btn:hover {
    background: #f5fbff;
}

.contents-page .useful_btn_icon {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.contents-page .useful_btn_youtube .useful_btn_icon {
    width: 44px;
}

/* pickup slide */
.contents-page .useful_pickup {
    position: relative;
    align-self: start;
    padding: 6rem 54px 3rem;
    border: 2px solid #009be6;
    border-radius: 4px;
    background: #fff;
}

.contents-page .useful_pickup_label {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 2;
    padding: 4px 18px;
    background: #009be6;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
}

.contents-page .useful_slide {
    width: min(100%, 520px);
    margin-inline: auto;
    overflow: hidden;
}

.contents-page .useful_slide_track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.contents-page .useful_slide_item {
    flex: 0 0 100%;
    min-width: 100%;
}

.contents-page .useful_slide_link {
    display: block;
    text-decoration: none;
}

.contents-page .useful_slide_link:hover {
    opacity: 0.85;
}

.contents-page .useful_slide_img {
    display: block;
    width: 100%;
    height: auto;
}

.contents-page .useful_arrow {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    background: transparent;
    cursor: pointer;
}

.contents-page .useful_arrow_prev {
    left: 22px;
    transform: translateY(-50%) rotate(-135deg);
}

.contents-page .useful_arrow_next {
    right: 22px;
    transform: translateY(-50%) rotate(45deg);
}

.contents-page .useful_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.contents-page .useful_dots button {
    width: 64px;
    height: 3px;
    padding: 0;
    border: none;
    background: #d8d8d8;
    cursor: pointer;
}

.contents-page .useful_dots button.is-active {
    background: #009be6;
}

@media screen and (max-width: 1023px) {
    .contents-page .useful_list {
        grid-template-columns: 1fr;
    }

    .contents-page .useful_btns {
        grid-template-columns: 1fr;
    }

    .contents-page .useful_btn {
        justify-content: flex-start;
    }
}

/* tablet */
@media screen and (max-width: 820px) {
    .contents-page .useful {
        padding: 48px 0 56px;
    }

    .contents-page .useful_inner {
        width: min(90%, 1250px);
    }

    .contents-page .useful_contents {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contents-page .useful_pickup {
        padding-inline: 64px;
    }

    .contents-page .useful_title {
        font-size: 34px;
    }
}

/* smartphone */
@media screen and (max-width: 576px) {
    .contents-page .useful {
        padding: 40px 0 48px;
    }

    .contents-page .useful_head {
        gap: 18px;
        margin-bottom: 28px;
    }

    .contents-page .useful_title {
        font-size: 30px;
    }

    .contents-page .useful_box {
        padding: 22px 20px;
    }

    .contents-page .useful_box_title {
        font-size: 20px;
    }

    .contents-page .useful_list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contents-page .useful_list a {
        font-size: 15px;
    }

    .contents-page .useful_btns {
        grid-template-columns: 1fr;
    }

    .contents-page .useful_btn {
        min-height: 64px;
        font-size: 1.7rem;
    }

    .contents-page .useful_pickup {
        padding: 54px 38px 26px;
    }

    .contents-page .useful_pickup_label {
        font-size: 14px;
    }

    .contents-page .useful_arrow {
        width: 18px;
        height: 18px;
    }

    .contents-page .useful_arrow_prev {
        left: 14px;
    }

    .contents-page .useful_arrow_next {
        right: 14px;
    }

    .contents-page .useful_dots button {
        width: 42px;
    }
}

/* ==============================
  お役立ち情報ページ / TOPICS
============================== */

.contents-page .contents_topics {
    padding: 56px 0 72px;
    background: #fff;
}

.contents-page .contents_topics_inner {
    width: min(90%, 1200px);
    margin-inline: auto;
}

.contents-page .contents_topics_head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.contents-page .contents_topics_head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #009be6;
}

.contents-page .contents_topics_title {
    margin: 0;
    color: #009be6;
    font-family: "Open Sans", "Noto Sans JP", sans-serif;
    font-size: 5rem;
    font-weight: 700;
}

.contents-page .contents_topics_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 34px;
}

.contents-page .contents_topics_item {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e5e5e5;
    color: #000;
    text-decoration: none;
}

.contents-page .contents_topics_item:hover .contents_topics_text {
    color: #009be6;
}

.contents-page .contents_topics_thumb {
    width: 210px;
    aspect-ratio: 7 / 5;
    overflow: hidden;
}

.contents-page .contents_topics_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contents-page .contents_topics_thumb_blank {
    background: #d9d9d9;
}

.contents-page .contents_topics_body {
    padding-top: 2px;
}

.contents-page .contents_topics_date {
    display: block;
    margin-bottom: 6px;
    font-size: 1.5rem;
    color: #000;
    line-height: 1.6;
}

.contents-page .contents_topics_category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 12px;
    background: #009be6;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
}

.contents-page .contents_topics_text {
    margin: 0;
    font-size: 1.6rem;
    color: #000;
}

.contents-page .contents_topics_more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.contents-page .contents_topics_more_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    min-height: 52px;
    padding: 12px 44px;
    border-radius: 999px;
    background: #3f3f3f;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.contents-page .contents_topics_more_btn span {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.contents-page .contents_topics_more_btn:hover {
    background: #009be6;
}

/* tablet */
@media screen and (max-width: 820px) {
    .contents-page .contents_topics {
        padding: 48px 0 64px;
    }

    .contents-page .contents_topics_inner {
        width: min(90%, 1250px);
    }

    .contents-page .contents_topics_title {
        font-size: 34px;
    }

    .contents-page .contents_topics_list {
        grid-template-columns: 1fr;
    }
}

/* smartphone */
@media screen and (max-width: 576px) {
    .contents-page .contents_topics {
        padding: 40px 0 56px;
    }

    .contents-page .contents_topics_head {
        margin-bottom: 26px;
    }

    .contents-page .contents_topics_title {
        font-size: 30px;
    }

    .contents-page .contents_topics_item {
        grid-template-columns: 110px 1fr;
        gap: 14px;
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .contents-page .contents_topics_thumb {
        width: 110px;
    }

    .contents-page .contents_topics_date {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .contents-page .contents_topics_category {
        margin-bottom: 6px;
        padding: 3px 10px;
        font-size: 11px;
    }

    .contents-page .contents_topics_text {
        font-size: 14px;
    }

    .contents-page .contents_topics_more {
        margin-top: 20px;
    }

    .contents-page .contents_topics_more_btn {
        width: 220px;
        min-height: 50px;
    }
}