/* スライダー */
.p-content-swiper {
	position: relative;
    margin: 64px 0 0;
}

.swiper-button-prev,
.swiper-button-next {
	top: 22px;
	height: 32px;
    width: 32px;
    border: none;
    border-radius: 50%;
    background: #e60012;
}

.swiper-button-prev {
	left: 0;
	right: auto;
}

.swiper-button-next {
	left: auto;
	right: 0;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: "";
    display: inline-block;
	margin-right: 2px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 6px solid #fff;
    border-left: 0 solid transparent;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: "";
    display: inline-block;
	margin-left: 2px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right: 0 solid transparent;
    border-left: 6px solid #fff;
}

.swiper-scrollbar {
    position: relative;
    margin-top: 16px;
    background-color: transparent;
}

.swiper-scrollbar::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: auto;
    height: 1px;
    background-color: #817b79;
}

.drag {
    position: relative;
    height: 18px;
	cursor: pointer;
}

.drag::before {
    content: "";
    display: block;
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    border-radius: 50%;
    background-color: #c9caca;
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: absolute;
    top: -48px;
    right: 141px;
    left: auto;
    width: 72px;
    height: 2px;
    z-index: 1;
}

.swiper-slide {
    transform: translateX(-50%);
}

.c-hero-fig {
    padding: 0 4px;
}

/* TAB */
@media screen and (min-width: 768px) {
    .swiper-button-wrap {
        position: absolute;
        top: -48px;
        right: 40px;
        transform: translateX(-50%);
        width: 136px;
        height: 32px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-content-swiper {
        margin: 0;
    }

    .swiper-horizontal>.swiper-scrollbar,
    .swiper-scrollbar.swiper-scrollbar-horizontal {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
    }

    .swiper-button-prev {
        border-radius: 0 50% 50% 0;
    }

    .swiper-button-next {
        border-radius: 50% 0 0 50%;
    }

    .c-hero-fig {
        padding: 0 8px;
    }

    .swiper-slide {
        transform: translateX(0%);
    }

}

/* 紹介動画 */
.p-point-section.video > .c-movie-iframe {
    margin: 0 10%;
    width: 80%;
    height: auto;
    aspect-ratio: 16/9;
}

/* 3つのポイント */
.c-point-heading {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    font-size: 18px;
    letter-spacing: 4px;
    color: #fff;
    background-color: #58ac4c;
}

.c-point-heading_left {
    position: relative;
}

.c-point-heading_right {
    padding: 0 0 0 28px;
    position: relative;
}

.c-point-heading_right::before {
    content: '3';
    position: absolute;
    top: -21px;
    left: 0;
    font-size: 48px;
    text-shadow:
        2px 2px 0 #58ac4c, -2px -2px 0 #58ac4c,
        -2px 2px 0 #58ac4c, 2px -2px 0 #58ac4c,
        0px 2px 0 #58ac4c,  0 -2px 0 #58ac4c,
        -2px 0 0 #58ac4c, 2px 0 0 #58ac4c;
    }

/* 数字の3のみ特別対応 */
@media screen and (max-width: 600px){
    .c-point-heading {
        flex-direction: column;
        align-items: center;
        line-height: 2;
    }
    .c-point-heading_right::before{
        top: -34px;
    }
}

.p-point-box {
    display: flex;
    justify-content: space-between;
    margin: 32px 0 0;
}

.c-point-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: calc((100% - 32px) /3);
    max-width: calc((100% - 32px) /3);
    background-color: #fcdde5;
    padding: 16px 8px;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 2;
    min-height: calc(2em * 4 + 16px * 2);
    text-align: center;
    border-radius: 20px;
}

.p-point-enquete > figure {
    margin-top: 10px;
    border: none;
}

.p-point-enquete > p {
    text-align: center;
}

.p-point-enquete > p > a {
    text-decoration: underline;
}

.p-point-lead {
    margin: 64px 0 0;
    font-size: 16px;
    letter-spacing: 4px;
    line-height: 2.4;
    text-align: center;
}

.p-point-lead span {
    display: inline-block;
}

.c-point-fig {
    margin: 64px auto 0;
    width: 280px;
    border: 1px solid #cccccc;
}

.c-btn-link {
    width: 380px;
    max-width: 100%;
}

/* TAB */
@media screen and (max-width: 799px) {
    .c-point-txt {
        font-size: 14px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-point-box {
        flex-wrap: wrap;
    }

    .c-point-txt {
        flex-basis: 48%;
        max-width: 48%;
    }

    .c-point-txt:last-child {
        margin: 16px auto 0;
    }

    .c-point-fig {
        margin: 40px auto 0;
        width: 80%;
    }

    .c-btn-link {
        margin: 24px auto 0;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    .c-point-txt {
        padding: 16px 4px;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .p-point-lead {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* SMALL SP */
@media screen and (max-width: 349px) {
    .c-point-heading {
        font-size: 15px;
    }

    .c-point-txt {
        font-size: 10px;
    }

    .c-btn-link {
        width: 280px;
    }
}

/* サービス一覧 */
.p-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0 0 0;
    gap: 16px;
}

.p-link-item {
    width: calc((100% - 32px) / 3);
}

@media screen and (max-width: 860px) {
    .p-link-item {
        width: calc((100% - 16px) / 2);
    }
}


@media screen and (max-width: 600px) {
    .p-link-item {
        width: 100%;
    }
}

.p-link-link {
    display: flex;
    flex-direction: column;
    padding: 4px;
    height: 100%;
    border-radius: 20px;
}

.c-link-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
    height: 2.6em;
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
    color: #FFFFFF;
}

.p-link-link.p-link-link_mediation .c-link-title {
    letter-spacing: 0;
}

@media screen and (max-width: 860px) {
    .c-link-title {
        height: 2em;
    }
}

.c-link-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 8px;
    background-color: #FFFFFF;
    border-radius: 0 0 16px 16px;
}

.c-link-desc {
    flex-grow: 1;
    margin-bottom: 8px;
    font-size: 14px;
}

.c-link-nav {
    text-align: right;
    font-size: 12px;
}

.c-link-nav span {
    position: relative;
    padding-left: 12px;
}

.c-link-nav span::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-right: 0 solid transparent;
    border-left: 6px solid #221815;
    transform: translateY(-40%);
}

/* お知らせ */
.p-info-list {
    margin: 40px 0 0 0;
    font-size: 15px;
}

.c-info-item {
    display: grid;
    row-gap: 12px;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-content: start;
    padding: 16px 0;
    border-bottom: 1px dashed #DBDBDB;
}

@media screen and (max-width: 767px) {
    .c-info-item {
        grid-template-columns: auto 1fr;
    }
}

.c-info-item:first-child {
    border-top: 1px dashed #DBDBDB;
}

.p-info-category {
    display: flex;
    align-items: center;
}

.p-info-category > p {
    padding: 2px 16px;
    min-width: 150px;
    height: fit-content;
    text-align: center;
    white-space: nowrap;
    background-color: #E60012;
    color: #FFFFFF;
    border-radius: 16px;
}

.p-info-category.live > p {
    background-color: #F5AA30;
}

.p-info-category.ondemand > p {
    background-color: #54B1DD;
}

.c-info-date {
    margin: 0 0 0 24px;
    width: 140px;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
    .c-info-title {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }
}

.c-info-link {
    position: relative;
    padding-left: 16px;
}

.c-info-link::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-right: 0 solid transparent;
    border-left: 8px solid #221815;
    transform: translateY(-40%);
}

/* 声 */
.p-voice-section {
    margin: 120px 0 0;
}

.p-voice-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0 0;
}

.p-voice-item {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    margin: 8px 0;
    padding: 16px 24px;
    border: 1px solid #c0bfc5;
    background-color: #fff;
}

.c-voice-title {
    padding: 0 0 12px;
    font-size: 16px;
    letter-spacing: 2px;
    border-bottom: 2px solid #c8c8c8;
    word-break: break-all;
}

.c-voice-notes {
    margin-top: 8px;
    text-align: right;
    font-size: 12px;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-voice-section {
        margin: 80px 0 0;
    }

    .p-voice-list {
        flex-direction: column;
    }

    .p-voice-item {
        flex-basis: 100%;
        max-width: 100%;
        margin: 0 0 32px 0;
    }

    .p-voice-item:last-child {
        margin: 0;
    }

}
