@import "./import.css";
/*----------------------
表絵の選手データページ
プロフィール
------------------------*/
main.playerdata_wrapper {
    background-image: url(../img/common/playerdata_background.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 2rem 0;
}

.playerdata_header {
    width: 100%;
    padding: 12px 0;
    background-color: rgba(var(--kyushu-base-rgb), 0.85);
    color: var(--site-white-color);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: none;
    text-align: center;
    margin-bottom: 0.5rem;
}

.playerdata_contents {
    width: 100%;
    max-width: 960px;
    background-color: var(--site-background-color);
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0px 4px 8px 4px #333;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media screen and (max-width: 640px) {
    main.playerdata_wrapper {
        padding: 0;
        background-color: var(--site-background-color);
        background-image: none;
    }

    .playerdata_header {
        display: block;
    }

    .playerdata_contents {
        margin: 0;
        border-radius: 0;
        padding: 1rem 1rem 2rem;
        box-shadow: none;
    }
}

.profile_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.playerdata_photo {
    width: 180px;
    height: 240px;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.playerdata_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playerdata_position_number {
    position: absolute;
    bottom: 8px;
    right: 0;
    padding: 8px 16px 8px 22px;
    color: var(--site-white-color);
    font-style: italic;
    clip-path: polygon(6px 0%, 100% 0%, 100% 100%, 0% 100%);
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: bold;
    background-color: rgba(var(--kyushu-base-rgb),0.75);
}

.playerdata_position_number span:first-child {
    margin-right: 4px;
}

@media screen and (max-width: 640px) {
    .profile_block {
        gap: 0.7rem;
    }

    .playerdata_photo {
        width: 120px;
        height: 160px;
    }

    .playerdata_position_number {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

.playerdata_profile {
    flex: 1;
    padding: 1rem 0.5rem;
}

.playerdata_name {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.playerdata_team {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.4rem 0 1rem;
}

.playerdata_team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.playerdata_team p {
    flex: 1;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.playerdata_overview {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.playerdata_overview li {
    display: grid;
    grid-template-columns: 104px auto;
    gap: 0.8rem;
    align-items: center;
}

.playerdata_overview_label,
.playerdata_overview_info {
    padding: 8px;
}

.playerdata_overview_label {
    color: var(--site-gray-color);
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1rem;
}

.playerdata_overview_info {
    font-size: 1rem;
}

@media screen and (max-width: 640px) {
    .playerdata_name {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    .playerdata_team {
        gap: 4px;
        letter-spacing: 0;
        margin: 0.3rem 0 0.6rem;
    }

    .playerdata_team img {
        width: 24px;
        height: 24px;
    }

    .playerdata_team p {
        font-size: 0.85rem;
    }

    .playerdata_overview li {
        gap: 0;
        grid-template-columns: 80px auto;
    }

    .playerdata_overview_label,
    .playerdata_overview_info {
        padding: 6px 4px;
        font-size: 0.7rem;
        line-height: 0.7rem;
    }
}

/*----------------------
ページタブ
------------------------*/
.playerdata_pagetab {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 30px;
    background-color: var(--site-off-white-color);
    margin-top: 2rem;
}

.playerdata_tabbtn {
    padding: 16px 0;
    text-align: center;
    color: var(--site-gray-color);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 30px;
}

.playerdata_tabbtn:hover {
    cursor: pointer;
}

.playerdata_tabbtn.on {
    background-color: rgba(var(--kyushu-base-rgb),0.75);
    color: var(--site-white-color);
}

@media screen and (max-width: 640px) {
    .playerdata_pagetab {
        margin-top: 0;
    }

    .playerdata_tabbtn {
        font-size: 0.8rem;
        letter-spacing: 0.2px;
    }
}

/*----------------------
playerdata_detail
------------------------*/
.playerdata_detail_block {
    width: 100%;
    padding: 2rem;
    background-color: var(--site-white-color);
    border-radius: 4px;
    color: var(--site-text-color);
}

.playerdata_content {
    display: none;
}


.playerdata_content.open {
    display: flex;
    gap: 2rem;
}


.playerdata_content > div {
    width: 50%;
}

@media screen and (max-width: 768px) {
    #self_data {
        flex-direction: column;
    }
    
    #self_data > div {
        width: 100%;
    }

    #playerChart {
        width: 80%;
        margin: 0 auto;
    }
}


.playerdata_content > div > h2 {
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    color: var(--kyushu-base);
}

.self_recommendation p {
    font-size: 0.9rem;
    letter-spacing: 0.7px;
    line-height: 1.3rem;
    white-space: pre-wrap;
    padding: 0 0.3rem;
}

@media screen and (max-width: 640px) {
    .playerdata_detail_block {
        padding: 1rem;
    }

    .playerdata_content > div > h2 {
        font-size: 1rem;
    }

    .self_recommendation p {
        font-size: 0.8rem;
        line-height: 1.1rem;
        padding: 0.2rem 0.3rem;
    }

    #playerChart {
        width: 95%;
    }
}
/*----------------------
試合情報
------------------------*/
.match_data_table {
    font-size: 0.8rem;
    width: 100%;
}

.match_data_table tr {
    border-bottom: 1px dotted var(--site-background-color);
}

.match_data_table th {
    background-color: var(--site-background-color);
    min-width: fit-content;
    white-space: nowrap;
    padding: 8px 6px;
    margin-bottom: 8px;
    text-align: center;
}

.match_data_table th.text_left {
    text-align: left;
}

.match_data_table td {
    padding: 8px;
    line-height: 1.1rem;
}

.match_data_table td.fit_width {
    white-space: nowrap;
    min-width: fit-content;
}

.match_data_table td.text_center {
    text-align: center;
}

@media screen and (max-width: 640px) {
    .match_data_table th.sp_none,
    .match_data_table td.sp_none {
        display: none;
    }
}

/*----------------------
公式記録
------------------------*/
#official_data {
    align-items: flex-start;
}

@media screen and (max-width: 640px) {
    #official_data {
        flex-direction: column;
        gap: 1rem;
    }
    #official_data > div {
        width: 100%;
    }
}

.official_data_list {
    display: grid;
    grid-template-columns: 160px 1fr;
    color: var(--site-text-color);
    border-top: 1px solid var(--site-off-white-color);
    border-left: 1px solid var(--site-off-white-color);
}

.official_data_label {
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.1rem;
    background-color: var(--site-background-color);
    border-right: 1px solid var(--site-off-white-color);
    border-bottom: 1px solid var(--site-off-white-color);
}

.official_data_overview {
    font-size: 1.1rem;
    padding: 1rem;
    border-right: 1px solid var(--site-off-white-color);
    border-bottom: 1px solid var(--site-off-white-color);
}

.official_data_overview > span {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    margin-left: 4px;
}

/*----------------------
旧
------------------------*/
.pc {
    display: inline-block;
    width: 100%;
}

.mobile {
    display: none;
}

.title1 {
    display: block;
    width: 95%;
    margin: 0 auto;
}

.pos {
    display: inline-block;
    width: 30%;
    background: #3c7ec1;
    padding: 10px;
    font-size: 35px;
    text-align: center;
    color: white;
}

.name {
    display: inline-block;
    width: 60%;
    background: #3c7ec1;
    padding: 10px;
    font-size: 35px;
    text-align: left;
    color: white;
    margin-left: 9%;
}

.info {
    display: block;
    width: 95%;
    margin: 30px auto;
}

.emblem {
    display: inline-block;
    width: 30%;
}

img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.names {
    display: inline-block;
    width: 60%;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    color: white;
    margin-left: 9%;
    vertical-align: top;
}

#match table th:nth-child(1) {
    width: 9%;
}

#match table th:nth-child(2) {
    width: 35%;
}

#match table th:nth-child(3) {
    width: 20%;
}

#match table th:nth-child(4) {
    width: 8%;
}

#match table th:nth-child(5) {
    width: 8%;
}

#match table th:nth-child(6) {
    width: 8%;
}

#match table th:nth-child(8) {
    width: 8%;
}

.match table tr:nth-child(even) {
    background: #ffffff;
}

.statistics {
    display: inline-block;
    width: 100%;
    background: #3c7ec1;
    padding: 10px;
    font-size: 30px;
    text-align: left;
    color: white;
}

.tab1 {
    display: inline-block;
    width: 24%;
    background: #3c7ec1;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    color: white;
    margin: 0px 1px;
}

.tab2 {
    display: inline-block;
    width: 24%;
    background: #749bc1;
    padding: 10px;
    font-size: 30px;
    text-align: center;
    color: white;
    margin: 1px 1px 1px 10px;
}

.personal {
    font-size: 25px !important;
}

#personal {
    width: 98%;
    margin: 20px 0px 0px 10px;
}

#personal th {
    width: 40%;
}

#team {
    width: 98%;
    margin: 20px 0px 0px 10px;
}

#team th {
    width: 40%;
}

#match {
    width: 98%;
    margin: 20px 0px 0px 10px;
}

#match table {
    font-size: 17px !important;
}

#card {
    width: 98%;
    margin: 20px 0px 0px 10px;
}

@media screen and (max-width: 640px) {
    /* body{
          zoom: 40% !important;
        } */

    main {
        padding: 1em 5px;
    }

    .pc {
        display: none;
    }

    .mobile {
        display: inherit;
        width: 100%;
    }

    .title1 {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .pos {
        display: inline-block;
        width: 30%;
        background: #3c7ec1;
        padding: 5px;
        font-size: 20px;
        text-align: center;
        color: white;
    }

    .name {
        display: inline-block;
        width: 60%;
        background: #3c7ec1;
        padding: 5px;
        font-size: 20px;
        text-align: left;
        color: white;
        margin-left: 8%;
    }

    .info {
        display: block;
        width: 100%;
        margin: 10px auto;
    }

    .emblem {
        display: inline-block;
        width: 30%;
        margin-top: 2%;
    }

    img {
        width: 100px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .names {
        display: inline-block;
        width: 60%;
        padding: 10px;
        font-size: 10px;
        text-align: center;
        color: white;
        margin-left: 8%;
        vertical-align: top;
    }

    .names table th {
        width: 43%;
    }

    .match table tr:nth-child(even) {
        background: #ffffff;
    }

    .statistics {
        display: inline-block;
        width: 100%;
        background: #3c7ec1;
        padding: 5px;
        font-size: 20px;
        text-align: left;
        color: white;
    }

    .tab1 {
        display: inline-block;
        width: 24%;
        background: #3c7ec1;
        padding: 5px;
        font-size: 14px;
        text-align: center;
        color: white;
        margin: 0px 1px;
    }

    .tab2 {
        display: inline-block;
        width: 20%;
        background: #749bc1;
        padding: 5px;
        font-size: 14px;
        text-align: center;
        color: white;
        margin: 1px 1px 1px 6px;
    }

    .personal {
        font-size: 10px !important;
    }

    #personal2 {
        width: 95%;
        margin: 20px auto 0px auto;
    }

    #personal2 th {
        width: 50%;
    }

    #personal2 td {
        font-size: 15px;
    }

    #team2 {
        width: 95%;
        margin: 20px auto 0px auto;
    }

    #team2 th {
        width: 60%;
    }

    #team2 td {
        font-size: 15px;
    }

    #match2 {
        width: 98%;
        margin: 20px auto 0px auto;
    }

    #match2 table {
        font-size: 10px !important;
    }

    #match2 .match_t1 td {
        padding: 10px 2px 10px 2px;
    }

    #match2 .match_t1 th {
        padding: 8px;
    }

    #card2 {
        width: 98%;
        margin: 20px auto 0px auto;
    }
}

/*----------------------
退団選手メッセージ
------------------------*/
.playerdata_retired_message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.retired_message_box {
    text-align: center;
    padding: 2rem;
}

.retired_message_box p {
    font-size: 1.1rem;
    color: var(--site-text-color);
    margin-bottom: 1.5rem;
}

.retired_close_btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: rgba(var(--kyushu-base-rgb), 0.85);
    color: var(--site-white-color);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.retired_close_btn:hover {
    background-color: rgba(var(--kyushu-base-rgb), 1);
}