/*
* チケットページ
*/


.ticket-top,
.match_time {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.match-h,
.match-a {
    width: 45%;
    display: inline-block;
    line-height: 1.4;
}
.open {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    border-right: 1px solid #efefef;
    align-items: center;
    justify-content: center;
}
.kickoff {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    align-items: center;
    justify-content: center;
}
.buy_btn {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
    text-align: center;
    padding: 8px;
    background: #3c2378;
    color: #fff;
    border-radius: 40px;
    position: relative;
    box-shadow: 0px 2px 0px 2px rgb(0 0 0 / 10%);
}
.buy_btn p {
    margin: 5px;
    line-height: 1.5em;
}

.ticket-sales {
    max-width: 100%;
    overflow: hidden;
}
.home-game-ticket-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 40px 4.68%;
    margin: 30px 0 40px;
    overflow: hidden;
}
.home-game-ticket {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(10px, 1.66vw, 20px) clamp(20px, 3.33vw, 30px) clamp(1px, 0.16vw, 10px);
    background-image: linear-gradient(150deg, rgba(109, 69, 187, 1), rgba(60, 35, 136, 1) 42%);
    color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.home-game-ticket .game-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15%;
}
.home-game-ticket .game-detail .match-team {
    display: flex;
    align-items: center;
}
.home-game-ticket .game-detail .match-team .vs {
    color: #fff;
    margin-right: 15px;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 18px);
}
.home-game-ticket .game-detail .match-team .match-a {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.home-game-ticket .game-detail .match-team .match-a .t_name {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: bold;
    padding: 0;
    max-width: 12em;
}
.home-game-ticket .game-detail .match-team .match-a img {
    max-width: clamp(55px, 9.16vw, 99px);
    height: auto;
    padding: 0;
}
.home-game-ticket .game-detail .match_time {
    display: grid;
    justify-content: right;
    border: none;
    line-height: 1;
    margin-right: 15px;
}
.home-game-ticket .game-detail .match_time .date,
.home-game-ticket .game-detail .match_time .time {
    display: flex;
    gap: 15px;
    align-items: baseline;
    font-weight: bold;
    margin-bottom: 5px;
}
.home-game-ticket .game-detail .match_time span {
    display: block;
    letter-spacing: 0.03em;
}
.home-game-ticket .game-detail .match_time .date .big {
    font-size: clamp(32px, 5.33vw, 46px);
}
.home-game-ticket .game-detail .match_time .date:not(.big) {
    font-size: clamp(16px, 2.66vw, 26px);
}
.home-game-ticket .game-detail .match_time .time .big {
    font-size: clamp(28px, 4.66vw, 40px);
}
.home-game-ticket .game-detail .match_time .time:not(.big) {
    font-size: clamp(12px, 2vw, 17px);
}
.home-game-ticket .stadium_name {
    font-size: clamp(14px, 2.33vw, 23px);
    text-align: left;
    padding:  10px 0;
}
.home-game-ticket .buy_btn {
    max-width: 100%;
    background: #D2A046;
    padding: clamp(6px, 1vw, 12px);
    margin-bottom: 15px;
    border-radius: 0;
    border: 3px solid #fff;
    font-size: clamp(16px, 2.66vw, 18px);
    font-weight: bold;
}
.home-game-ticket .buy_btn p {
    margin: 0;
}

.ticket-anchor-links.is-layout-flex {
    gap: 0;
}
.ticket-anchor-links .wp-block-button.is-style-outline>.wp-block-button__link {
    position: relative;
    border: 1px solid;
    font-weight: bold;
    border-top: none;
    border-left: none;
    border-bottom: none;
    padding: 3px 18px 3px 30px;
}
.ticket-anchor-links .wp-block-button.is-style-outline > .wp-block-button__link:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../../img/arrow-down-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 16px;
}

.ticket-purchase-item {
    padding: 40px clamp(20px, 2.60vw, 50px);
    margin-bottom: 30px !important;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.ticket-purchase-item .wp-block-buttons {
    margin-top: 30px;
}
.ticket-purchase-item .wp-block-button .wp-block-button__link {
    width: 300px;
    padding: 20px;
    font-size: 16px;
    line-height: 1;
    border-radius: 50px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.content .app-links a,
.content .app-links a:hover {
    border-bottom: none !important;
}
.app-links {
    justify-content: center;
    margin-top: 10px;
}
.app-links .wp-block-column {
    flex-basis: initial !important;
    flex-grow: initial !important;
}
.app-links .wp-block-column.is-vertically-aligned-center {
    width: auto;
}
.app-links a.apple > img {
    width: auto;
    height: 80px;
}
.app-links a.google > img {
    width: auto;
    height: 103px;
    margin-top: 9px;
}
.content .ticket-faq ul li,
.content .ticket-faq ol li {
    padding-top: 0;
    font-size: clamp(14px, 1.82vw, 16px);
}
.ticket-faq .su-spoiler {
    margin-bottom: 1.5em !important;
}
.ticket-faq .faq-accordion>.su-spoiler-title,
.ticket-faq .faq-accordion>.su-spoiler-content {
    position: relative;
    padding: clamp(10px, 1.30vw, 20px) clamp(45px, 5.85vw, 80px);
    border-bottom: none;
    background: #fff;
    font-size: clamp(14px, 1.82vw, 16px);
    line-height: 1.5;
}
.ticket-faq .faq-accordion>.su-spoiler-title:focus {
    outline: none;
}
.ticket-faq .faq-accordion>.su-spoiler-title::before,
.ticket-faq .faq-accordion>.su-spoiler-content::before {
    position: absolute;
    left: 25px;
    font-size: 20px;
    font-weight: bold;
    font-family: sans-serif;
}
.ticket-faq .faq-accordion>.su-spoiler-title::before {
    top: 25%;
    content: "Q.";
    color: #3C2378;
}
.ticket-faq .faq-accordion>.su-spoiler-content::before {
    top: auto;
    content: "A.";
    color: #9709CA;
}
.ticket-faq .faq-accordion .su-spoiler-icon {
    top: 20px;
    left: auto;
    right: 30px;
    font-size: 20px;
    transform: rotate(180deg);
}
.ticket-faq .faq-accordion.su-spoiler-icon-chevron.su-spoiler-closed .su-spoiler-icon {
    transform: rotate(90deg);
}
.content .ticket-watching-rules ul li::before {
    color: transparent;
}
.ticket-purchase-btn {
    position: fixed;
    bottom: 0;
    max-width: 1000px;
    left: calc(50% - 1000px/2);
    z-index: 100;
}
.ticket-purchase-btn .wp-block-button__link {
    max-width: 1000px;
    padding: clamp(10px,1.30vw,20px);
    font-size: clamp(17px, 2.83vw, 20px);
}
.ticket-purchase-btn .wp-block-button__link::before {
    display: inline-block;
    content: url("../../img/ticket-purchase-icon.svg");
    width: 70px;
    height: 25px;
    margin-right: clamp(20px, 2.60vw, 30px);
    vertical-align: -6px;
}
.home-game-ticket a:hover,
.ticket-purchase-btn .wp-block-button__link:hover {
    filter: brightness(115%);
}
.ticket-purchase-item .wp-block-button .wp-block-button__link:hover,
.app-links a:hover {
    opacity: 0.7;
}

@media only screen and (max-width: 999px) {
    .ticket-purchase-btn {
        left: 0;
        right: 0;
    }
    .home-game-ticket .game-detail {
        gap: 5%;
    }
    .home-game-ticket .game-detail .match_time {
        margin-right: 0;
    }
    .globalNavi__list .menu-item.highlight-menu::after {
        left: 53%;
    }
}

@media only screen and (max-width: 767px) {
    :target {
        scroll-margin-top: 60px; /* アンカーリンクの位置調整 */
    }
    .ticket-anchor-links.is-layout-flex {
        gap: 15px 10px;
        justify-content: flex-start!important;
    }
    .ticket-anchor-links .wp-block-button {
        width: calc(50% - 10px);
    }
    .ticket-anchor-links .wp-block-button.is-style-outline>.wp-block-button__link {
        padding: 10px 12px;
        border: 1px solid;
        width: 100%;
        text-align: left;
        font-size: 14px;
        font-weight: normal;
    }
    .ticket-anchor-links .wp-block-button.is-style-outline>.wp-block-button__link:hover {
        background-color: transparent!important;
    }
    .ticket-anchor-links .wp-block-button.is-style-outline > .wp-block-button__link:after {
        position: absolute;
        right: 2%;
        top: 30%;
    }
    .home-game-ticket-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .home-game-ticket .game-detail {
        justify-content: space-between;
    }
    .home-game-ticket .game-detail .match_time .date,
    .home-game-ticket .game-detail .match_time .time {
        gap: 10px;
    }
    .ticket-purchase-item .wp-block-buttons {
        justify-content: center;
        gap: 20px;
    }
    .ticket-purchase-item .wp-block-button .wp-block-button__link {
        width: 270px;
    }
    .app-links a.apple > img {
        height: 50px;
    }
    .app-links a.google > img {
        height: 65px;
    }
    .ticket-faq .faq-accordion>.su-spoiler-title::before,
    .ticket-faq .faq-accordion>.su-spoiler-content::before {
        left: 10px;
        font-size: 16px;
    }
    .ticket-faq .faq-accordion>.su-spoiler-title::before {
        top: 25%;
    }
    .ticket-faq .faq-accordion>.su-spoiler-content::before {
        top: auto;
    }
    .ticket-faq .faq-accordion .su-spoiler-icon {
        top: 10px;
        left: auto;
        right: 10px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 640px) {
    .ticket-cardarea {
        width:100%;
        margin-right:0;
    }
}

@media only screen and (max-width: 500px) {
    .home-game-ticket .game-detail {
        gap: 0;
    }
    .home-game-ticket .game-detail .match-team .vs {
        margin-right: -22px;
    }
    .home-game-ticket .game-detail .match-team .match-a .t_name {
        width: 12em;
        text-align: center;
    }
}
