
/* nav */
.m_grid__nav {
    /* max-width: 1180px; */
    /* width: calc(1180 / 1280 * 100%); */
    margin: auto;
    max-width: 1240px;
    padding: 0 30px;
}

@media (max-width: 768px) {
    .m_grid__nav{
        /* max-width: ; */
        width: calc(355 / 375 * 100%);
        padding: 0 0;
    }
}

.m_grid__nav__gridcontainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3åˆ— */
    grid-template-rows: repeat(2, auto); /* 2è¡Œ */
    gap: 20px;
}

@media (max-width: 768px) {
    .m_grid__nav__gridcontainer {
        grid-template-columns: repeat(2, 1fr); /* 3åˆ— */
        grid-template-rows: repeat(3, auto); /* 2è¡Œ */
        gap: 5px;
    }
}

.m_grid__nav__griditem {
    color: #2477AB;
    background-color: #FFFFFF;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    text-align: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    border-radius: 4px;
    transition: 0.2s ease;
}

@media (max-width: 768px) {
    .m_grid__nav__griditem {
        font-size: 13px;

    }
}

.m_grid__nav__griditem ::before{
    content: "";
    position: absolute;
    background-image: url(/content/dam/diners/img/common/m_grid__nav_itemarrow.png);
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 16.78px;
    height: 7.87px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .m_grid__nav__griditem ::before{
        background-image: url(/content/dam/diners/img/common/m_grid__nav_itemarrow--sp.png);
        width: 9px;
        height: auto;
        bottom: -2.4px;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}

.m_grid__nav__griditem a {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    padding-top: 22.5px;
    padding-bottom: 22.5px;
}

@media (max-width: 768px) {
    .m_grid__nav__griditem a {
        padding-top: 10px;
        padding-bottom: 22px;
    }
}

.m_grid__nav__griditem:hover {
    opacity:.7;
    -webkit-box-shadow:4px 4px 4px rgba(0, 0, 0, .4);
    box-shadow:4px 4px 4px rgba(0, 0, 0, .4);
    border-radius:.1px;
}

@media (max-width: 768px) {
    .m_grid__nav__griditem:hover {
        opacity: 1;
    }
}
/* nav */



/* スライダー */
.swiper {
    width: 100%;
    margin: 0 auto;
    overflow: hidden; 
    /* background-color: #EAF4F8; */
    position: relative;
    --swiper-pagination-top: 32px;
    --swiper-pagination-bottom: auto;
    padding-top: 74px;
    z-index: 0;
}

@media (max-width: 768px) {
    .swiper{
        width: 100%!important;
        padding-top: 55.9px;
        --swiper-pagination-top: 24.9px;
    }
}

.swiper::before,
.swiper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px; 
    height: 100%;
    pointer-events: none; 
    z-index: 2;
}

@media (max-width: 768px) {
    .swiper::before,
    .swiper::after {
        display: none;
    }
}

/* グラデーション */
.swiper::before {
    left: 0;
    /* background: linear-gradient(to right, rgba(234, 244, 248, 1),rgba(234, 244, 248, 0)); */
}
.swiper::after {
    right: 0;
    /* background: linear-gradient(to left, rgba(234, 244, 248,1), rgba(234, 244, 248,0)); */
}

/* スライド */
.swiper-slide {
    width: 677px;
    height: 535px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.16);
    margin: 0 20px 10px 20px ;
    padding-top: 28px;
}

@media (max-width: 768px) {
    .swiper-slide{
        width: calc(335 / 375 * 100%);
        height: 600px;
        margin: 0 calc(20 / 375 * 100%) 10px calc(20 / 375 * 100%);
    }
}

/* 左右矢印 */
.swiper-button-next {
    position: absolute;
    left: 50%;
    top: calc(50% + 49px);
    transform: translate(-50%, -50%) translateX(340px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background: #2477AB; */
}

@media (max-width: 768px) {
    .swiper-button-next {
        width: 40px;
        height: 40px;
        transform: translate(0%, -50%)  translateX(0px);
        left: auto;
        right: 3%;
    }
}

.swiper-button-prev {
    position: absolute;
    left: 50%;
    top: calc(50% + 49px);
    transform:translate(-50%, -50%) translateX(-340px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background: #2477AB; */
}

@media (max-width: 768px) {
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        transform:translate(0%, -50%);
        left: 3%;
    }
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 22px;
    font-weight: 800;
    /* color: #fff; */
}

@media (max-width: 768px) {
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 18px;
    }
}


/* 左右矢印非表示 */
.swiper-button-disabled {
    opacity: 0 !important; 
    pointer-events: none !important; 
}

/* ページ送り */
.swiper-pagination {
    position: absolute;
    left: 50%;
}
.swiper-pagination-bullet {
    width: 35px;
    height: 6px;
    border-radius: 5px;
    /* background-color: #CCCCCC; */
    margin: 0 4px;
    transition: background 0.3s;
    opacity: 1; 
}

@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: calc(20 / 375 * 100%);
        height: 4px;
    }
}
/* .swiper-pagination-bullet.past-active {
    background-color: #2477AB; 
} */


/* スライダー文字設定 */
.module__slider__titl{
    margin-left: 41px;
    display: flex;
    height: 59px;
    width: calc(590 / 677* 100%);
    gap:20px ;
    font-weight: 600;
}

@media (max-width: 768px) {
    .module__slider__titl{
        height: 69px;
        width: calc(295 / 335 * 100%);
        gap: calc(15 / 335 * 100%);
        margin: auto;
    }
}

.module__slider__titl span{
    font-size: 22px;
    line-height: 30px;
}

@media (max-width: 768px) {
    .module__slider__titl span{
        font-size: 16px;
        line-height: 24px;
    }
}

.module__slider__titl img{
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    .module__slider__titl img{
        width: 40px;
        height: 40px;
    }
}


.hanging-list {
    list-style: none; 
    padding: 0;
    margin: 0;
    font-size: 13px;
    width: 600px;
    margin: auto;
    padding-top: 30px;
    line-height: 20px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hanging-list {
        width: calc(295 / 335 * 100%);
        font-size: 1.3rem;

    }
}

.hanging-list li {
    position: relative;
    padding-left: 1.8rem;
    line-height: 20px;
}

@media (max-width: 768px) {
    .hanging-list li {
        padding-left: 1.8rem;
        line-height: 18px;
        margin-bottom: -2px;
    }
}

.hanging-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
    width: 1em;
    text-align: center;
}

/* アコーディオン */
.accordion{
    padding: 0 30px;
}

@media (max-width: 768px) {
    .accordion{
        padding: 0 0;
    }
}

.accordion-item {
    overflow: hidden;
    margin: auto;
    margin-bottom: 60px;
    max-width: 1180px;
    /* padding: 0 30px; */
}

@media (max-width: 768px) {
    .accordion-item {
        margin-bottom: calc(50 / 375 * 100%);
    }
    .accordion-item:first-of-type{
        margin-bottom: 38px;
    }
}

.accordion-header {
    background: #FFFFFF;
    cursor: pointer;
    user-select: none;
    /* max-width: 1180px;
    width: calc(1180 / 1280 * 100%); */
    padding-top: calc(35 / 1280 * 100%);
    padding-bottom: calc(32 / 1280 * 100%);
    padding-left: 80px;
    padding-right: 40px;
    font-size: 24px;
    font-weight: 300;
    position: relative;
    margin: auto;
    transition: opacity .3s;
}

.accordion-header:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .accordion-header:hover {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .accordion-header {
        width: calc(355 / 375 * 100%);
        font-size: 17px;
        height: 90px;
        padding-left: calc(54 / 355 * 100%);
        padding-right: calc(40 / 355 * 100%);
        margin: auto;
        line-height: 24px;
        display: flex;
        align-items: center;
    }
}

.accordion-header--icon{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .accordion-header--icon{
        position: absolute;
        width: 34px;
        height: 34px;
        left: calc(15 / 375 * 100%);
        top: 50%;
        transform: translateY(-50%);
    }
}

.accordion-content {
height: 0;
overflow: hidden;
transition: height 0.6s ease;
padding: 0 15px;
}

@media (max-width: 768px) {
    .accordion-content {
        padding: 0px;
        }
}

/* アコーディオン＋ーアイコン */
.accordion-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .accordion-icon {
        width: 17px;
        height: 17px;
        right: calc(15 / 375 * 100%);
    }
}

.accordion-icon::before,
.accordion-icon::after {
content: "";
position: absolute;
/* background-color: #2477AB; */
}

.accordion-icon::before {
top: 50%;
left: 0;
right: 0;
height: 2px;
transform: translateY(-50%);
}

.accordion-icon::after {
left: 50%;
top: 0;
bottom: 0;
width: 2px;
transform: translateX(-50%);
}

.accordion-header.active .accordion-icon::after {
display: none;
}



/* FAQモジュール */
.m__faq{
    width: 100%;
    background-color: #FFFFFF;
}

.m__faq__toptext{
    font-size: 15px;
    font-weight: 300;
    /* width: calc(1100 / 1180 * 100%); */
    margin: auto;
    padding-bottom: 30px;
    padding-top: 10px;
    max-width: 1180px;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .m__faq__toptext{
        font-size: 13px;
        width: 100%;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.m__faq__contents{
    max-width: 1180px;
    /* width: calc(1100 / 1180 * 100%); */
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;

}

@media (max-width: 768px) {
    .m__faq__contents{
        gap: 25px;
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.m__faq__question{
    background-color: #F8F8F8;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 37px;
    padding-right: 37px;
    position: relative;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .m__faq__question{
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 34px;
        padding-right: 34px;
        font-size: 13px;
    }
}

.m__faq__question::after{
    position: absolute;
    content: "Q";
    font-size: 20px;
    font-weight: 600;
    left: 10px;
    color: #1A4D92;
    top: 3px;
}

@media (max-width: 768px) {
    .m__faq__question::after{
        font-size: 17px;
        top: 6px;
    }
}

.m__faq__answer{
    font-size: 15px;
    font-weight: 300;
    padding-top: 11px;
    padding-left: 37px;
    position: relative;
}

@media (max-width: 768px) {
    .m__faq__answer{
        font-size: 13px;
        padding-top: 15px;
        padding-left: 34px;
    }
}

.m__faq__answer::after{
    position: absolute;
    content: "A";
    font-size: 20px;
    font-weight: 600;
    left: 10px;
    color: #1A4D92;
    top: 7px;
}

@media (max-width: 768px) {
    .m__faq__answer::after{
        font-size: 17px;
        top: 12px;
    }
}

.m__faq__answer span{
    display: block;
    padding-top: 13px;
    line-height: 20px;
}

@media (max-width: 768px) {
    .m__faq__answer span{
        padding-top: calc(11 / 375 * 100%);
        font-size: 11px;
    }
}
.m__faq-inner{
    background-color: #FFFFFF;
    padding-top: 20px;
    max-width: 1180px;
    margin: auto;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .m__faq-inner{
        width: calc(355 / 375 * 100%);
        padding-left: calc(10 / 375 * 100%);
        padding-right:calc(10 / 375 * 100%);
        padding-top: calc(50px - 36.032px);
        padding-bottom: 50px;
    }
}




/* 必要に応じて下記をカスタムヘッダに登録 */
/* カラー個別指定可 */
.swiper {
    background-color: #EAF4F8; /* 背景色*/
}
/* グラデーション */
.swiper::before {
    background: linear-gradient(to right, rgba(234, 244, 248, 1),rgba(234, 244, 248, 0));
}
.swiper::after {
    background: linear-gradient(to left, rgba(234, 244, 248,1), rgba(234, 244, 248,0));
}
/* 左右矢印 */
.swiper-button-next {
    background: #2477AB;
}
.swiper-button-prev {
    background: #2477AB;
}
/* 左右矢印アイコン */
.swiper-button-next::after, .swiper-button-prev::after {
    color: #fff;
}
/* ページ送り */
.swiper-pagination-bullet {
    background-color: #CCCCCC;
}
.swiper-pagination-bullet.past-active {
    background-color: #2477AB; 
}

/* アコーディオン＋ーアイコン */
.accordion-icon::before,
.accordion-icon::after {
background-color: #2477AB;
}


/* スライダー画像サイズ */
.module__sider__img{
    padding-top: 26px;
    width: 136px;
    height: auto;
    margin: auto;
}

@media (max-width: 768px) {
    .module__sider__img{
        padding-top: 28px;
        width: 136px;
        height: auto;
        margin: auto;
    }
}

.module__sider__img img{
    width: 100%;
    height: auto;
}

/* 必要に応じて下記をカスタムヘッダに登録 ここまで */



/* RPCのみ */
/* ページ送り */
body.rp .swiper-pagination-bullet.past-active {
    background-color: #8a743c; 
}
/* 左右矢印アイコン */
body.rp .swiper-button-next, body.rp .swiper-button-prev {
    background: #8a743c;
}
/* アコーディオン＋ーアイコン */
body.rp .accordion-header {
    background-color: #eee;
    color: #8a743c;
}
body.rp .accordion-icon::before, body.rp .accordion-icon::after  {
background-color: #8a743c;
}

/* スライド内テキスト色 */
body.rp .swiper-slide {
color: black;
}
body.rp .swiper-slide a[class*="icon_"], body.rp .swiper-slide .cmp-title__link, body.rp .swiper-slide .AES-link a, body.rp .swiper-slide .AES-autoi_title a {
    color: #8a743c;
}

/* FAQモジュール */
body.rp .m__faq-inner,  body.rp .m__faq {
background-color: #333333;
}
body.rp .m__faq__question {
    background-color: black;
}
body.rp .m__faq__question::after,body.rp .m__faq__answer::after {
    color: #e0c988;
}
/* RPCのみ ここまで */