@charset "UTF-8";

/*
 * !
 * Theme Name: Cocoon Child
 * Description: Cocoon専用の子テーマ
 * Theme URI: https://wp-cocoon.com/
 * Author: わいひら
 * Author URI: https://nelog.jp/
 * Template: cocoon-master
 * Version: 1.1.3
 */

/*
 * ==========================================
 * PPM 共通
 * ==========================================
 */

body {
    font-size: 16px;
    line-height: 1.6;
}

/* 種目タグ */

.match-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;

    min-height:24px;
    padding:3px 12px;
    border-radius:999px;

    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1;
    text-align:center;
    vertical-align:middle;
}

.match-tag-men {
    background: #2f9af3;
}

.match-tag-women {
    background: #ff5c92;
}

.match-tag-mixed {
    background: #41a76c;
}

.match-tag-parent {
    background: #b21aec;
}

.main {
    padding: 24px 32px 32px 32px;
    border-radius: 16px !important;
}

.sidebar {
    padding: 24px 32px 32px 32px;
    border-radius: 16px !important;
}

.logo-image {
    padding: 16px 0;
    font-size: inherit;
}

/* スマホサイドバーの閉じるボタン */
.menu-close-button {
    text-align: right;
    padding: 12px 16px 0px 16px;
}

/* Font Awesomeの×を消す */
.sidebar-menu-close-button .fa::before {
    content: none !important;
}

/* 細いSVGの×を表示 */
.sidebar-menu-close-button .fa {
    display: inline-block !important;
    width: 32px;
    height: 32px;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6L18 18M18 6L6 18' stroke='%23222' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
}

#custom_html-3{
    margin-bottom:1em;
}

/*
 * ==========================================
 * ボタン
 * ==========================================
 */

.match-button {
    display: inline-block;
    width: 180px;
    text-align: center;
    padding: 8px 16px;
    margin-top: 2px;
    border-radius: 8px;
    background: #333333;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.match-button:hover {
    color: #fff;
    opacity: .85;
}

/*
 * ==========================================
 * 検索フォーム
 * ==========================================
 */

.match-search-box {
    margin: 0 0 20px;
    padding: 12px 24px 18px 24px;
    border-radius: 10px;
    background: #f4f5f7;
}

.match-search-box h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: bold;
}

.match-search-form {
    display: grid;
    grid-template-columns: minmax(0,1fr)
        minmax(0,1.2fr)
        minmax(0,1.2fr)
        120px;
    gap: 12px;
    align-items: end;
}

.match-search-form select {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 11px;
}

.match-search-form button {
    width: 100%;
    height: 52px;
    padding: 0 24px 0 12px;
    border: none;
    border-radius: 6px;
    background: #1e73be;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.match-search-form button:hover {
    opacity: .85;
}

.match-search-status {
    text-align: center;
    margin: 0px 0 12px;
    padding: 8px 24px;
    border-radius: 6px;
    background: #f4f5f7;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
}

.match-search-status strong {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/*
 * ==========================================
 * 開催月
 * ==========================================
 */

.match-month-box {
    margin-bottom: 30px;
}

.match-month-box h2 {
    margin-bottom: 4px;
}

.match-month-box ul {
    margin: 0;
}

/*
 * ==========================================
 * 大会一覧カード
 * ==========================================
 */

.match-card {
    position: relative;
    cursor: pointer;
    display: block;
    padding: 12px 56px 12px 22px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    transition: background .2s ease;
}

.match-card:hover {
    background: #f7f7f7;
}

.match-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 12px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 18'%3E%3Cpath d='M2 2l7 7-7 7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.match-card:hover::after {
    transform: translateY(-50%) translateX(4px);
}

.match-info {
    width: 100%;
}

.match-list-date {
    margin: 0 0 4px;
    color: #555;
    font-size: 16px;
}

.match-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    /* 縦 横 */
    margin: 0 0 6px;
}

.match-info h2 {
    display: -webkit-box;
    margin: 0 0 2px;
    overflow: hidden;
    font-size: 24px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.match-info h2 a,
.match-info h2 a:hover {
    color: #005ecb;
    text-decoration: none;
}

.match-area {
    margin: 0 0 6px;
    color: #555;
}

.match-info p {
    margin-top: 0;
}

/*
 * ==========================================
 * 大会詳細ページ
 * ==========================================
 */

.match-page {
    font-size: 16px;
}

/* パンくず */

.match-breadcrumb {
    margin: 0 0 10px;
    color: #888;
    font-size: 12px;
}

.match-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.match-breadcrumb a:hover {
    color: #1e73be;
    text-decoration: underline;
}

/* 上部の日付 */

.match-main-date {
    margin: 0 0 4px;
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

/* 大会名 */

.match-page > h1 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.4;
}

/* KV直下の本文 */

.match-kv + p {
    font-size: 16px;
}

/* 小見出し */

.match-page > h2,
.match-map h2 {
    font-size: 24px;
    line-height: 1.4;
}

/* KV */

/* 登録画像あり：16:9 */

.match-kv.has-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.match-kv.has-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* デフォルト画像：1600×900（16:9） */

.match-kv.no-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.match-kv.no-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 大会基本情報 */

.match-page .match-info {
    margin-top: 4px;
    border-top: none;
}

.match-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    font-size: 16px;
}

.match-info-row:last-child {
    border-bottom: none;
}

.match-info-label {
    font-weight: 700;
}

.match-info-value {
    line-height: 1.6;
}

/* 会場住所 */

.venue-address {
    margin-top: 2px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

/* 会場マップ */

.match-map {
    margin-top: 16px;
}

.match-map iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
}

/*
 * ==========================================
 * タブレット・スマホ
 * ==========================================
 */

@media screen and (max-width:834px) {
    body,
    .match-page {
        font-size: 14px;
    }

    /* 検索フォーム */

    .match-search-box {
        padding: 18px;
    }

    .match-search-form {
        grid-template-columns: 1fr;
    }

    .match-search-form button {
        width: 100%;
    }

    /* 大会一覧カード */

    .match-card {
        padding: 12px 42px 12px 16px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .match-card::after {
        right: 16px;
        width: 10px;
        height: 19px;
    }

    .match-info h2 {
        font-size: 20px;
        line-height: 1.4;
    }

    .match-list-date {
        font-size: 14px;
    }

    .match-tag {
        padding: 3px 8px;
        font-size: 10px;
    }

    /* 詳細ページ */

    .match-page > h1 {
        font-size: 24px;
    }

    .match-page > h2,
    .match-map h2 {
        font-size: 18px;
    }

    .match-breadcrumb {
        font-size: 10px;
    }

    .match-main-date {
        font-size: 12px;
    }

    .match-kv + p {
        font-size: 14px;
    }

    .match-info-row {
        grid-template-columns: 1fr;
        gap: 0px;
        padding: 8px 0;
        font-size: 16px;
    }

    .venue-address {
        font-size: 10px;
    }

    .match-button {
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }

    main.main {
        padding: 24px 16px !important;
    }

    .ppm-front-hero > p {
        text-align: center;
        font-size: 12px !important;
    }

    .ppm-front-section-heading p {
        font-size: 12px !important;
    }
}

/*
 * ==========================================
 * 小さいスマホ
 * ==========================================
 */

@media screen and (max-width:480px) {
    .match-search-box {
        padding: 10px 16px 16px 16px;
    }

    .match-card {
        padding: 10px 38px 10px 14px;
    }

    .match-card::after {
        right: 13px;
        width: 9px;
        height: 17px;
    }

    .match-card .match-info h2 {
        font-size: 16px !important;
    }

    main.main {
        padding: 16px 16px 24px 16px !important;
    }

    .match-page > h1 {
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.4;
    }

    .match-section-title {
        margin: 16px 0 0px !important;
    }

    .footer-bottom {
        margin-top: 0px;
        font-size: 12px;
    }

    .copyright {
        margin-top: 12px;
    }
}

/*
 * ==========================================
 * 大会一覧ページ：文字サイズ
 * ==========================================
 */

/* 「大会を探す」 */

.match-archive .match-search-box h2 {
    font-size: 20px;
}

/* プルダウン */

.match-archive .match-search-form select {
    font-size: 14px;
}

/* 検索ボタン */

.match-archive .match-search-form button {
    font-size: 16px;
}

/* 「開催月で探す」 */

.match-archive .match-month-box h2 {
    font-size: 20px;
}

/* 月別リンク */

.match-archive .match-month-box a {
    font-size: 14px;
}

/* 「大会情報一覧」 */

.match-archive > h1 {
    font-size: 24px;
}

/* カードの日付 */

.match-card .match-list-date {
    font-size: 12px;
}

.match-card .match-info h2 {
    font-size: 20px;
}

/* 大会名 */

.match-archive .match-info h2 {
    font-size: 20px;
}

/* エリア */

.match-archive .match-area {
    font-size: 14px;
}

/* 会場名 */

.match-archive .match-info > p:not(.match-list-date):not(.match-card-tags):not(.match-area) {
    font-size: 14px;
}

/* ==========================================
 * 一覧カード：エリア・会場
 * ========================================== */

.match-card-meta{
    display:grid;
    grid-template-columns:max-content minmax(0, 1fr);
    align-items:center;
    column-gap:4px;
}

.match-card-meta .match-area{
    margin:0;
    color:#999;
    font-size:12px;
    white-space:nowrap;
}

.match-card-meta .match-venue{
    min-width:0;
    margin:0;
    font-size:13px;
    white-space:nowrap;
}

.match-card-meta .match-venue::before{
    content:"｜";
    margin-right:2px;
    color:#ccc;
}

@media screen and (max-width:834px){

    .match-card-meta{
        grid-template-columns:max-content minmax(0, 1fr);
        column-gap:4px;
    }

    .match-card-meta .match-area{
        font-size:10px;
        white-space:nowrap;
    }

    .match-card-meta .match-venue{
        font-size:10px;
        white-space:nowrap;
    }

    .match-card-meta .match-venue::before{
        margin-right:0px;
    }
}

/*
 * ==========================================
 * 開催月リンク
 * ==========================================
 */

.match-month-box ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.match-month-box li {
    margin: 0;
    position: relative;
    padding-right: 8px;
    margin-right: 8px;
}

.match-month-box a {
    display: block;
    font-size: 14px;
    color: #1a73e8;
    text-decoration: underline;
    transition: opacity .2s;
}

.match-month-box a:hover {
    opacity: .7;
}

.match-month-box li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: #ddd;
}

/* スマホも横並び */

@media screen and (max-width:834px) {
    .match-month-box ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 6px;
    }
}

/*
 * ==========================================
 * スマホ検索フォーム調整
 * ==========================================
 */

@media screen and (max-width:834px) {
    .match-search-form {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .match-search-form select,
    .match-search-form button {
        height: 40px;
    }

    .match-search-form select {
        padding: 0 38px 0 12px;
        background-position: right 14px center;
        font-size: 14px;
    }

    /* 種目は横幅いっぱい */

    .match-search-form select[name="event"] {
        grid-column: 1 / -1;
    }

    /* 検索ボタンも横幅いっぱい */

    .match-search-form button {
        grid-column: 1 / -1;
        font-size: 14px;
    }
}

/*
 * ==========================================================
 * 大会投稿フォーム
 * ==========================================================
 */

.match-submit-page {
    max-width: 760px;
    margin: 0 auto;
}

.match-submit-page h1 {
    margin-bottom: 12px;
    font-size: 32px;
}

.match-submit-page > p {
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* フィールド共通 */

.match-submit-page .acf-field {
    margin-bottom: 28px;
}

.match-submit-page .acf-field .acf-label {
    margin-bottom: 5px;
}

/* 各フィールド上部の項目名だけに適用 */

.match-submit-page .acf-field .acf-label > label {
    margin-bottom: 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.match-submit-page .acf-required {
    color: #e53935;
}

/* 補足テキスト */

.match-submit-page .acf-field .description,
.match-submit-page .acf-field .acf-instructions {
    margin: 6px 0 10px;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

/* 入力欄共通 */

.match-submit-page .acf-input input[type="text"],
.match-submit-page .acf-input input[type="email"],
.match-submit-page .acf-input input[type="url"],
.match-submit-page .acf-input input[type="date"],
.match-submit-page .acf-input input[type="number"],
.match-submit-page .acf-input input[type="tel"],
.match-submit-page .acf-input select {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    line-height: 40px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.match-submit-page .acf-input textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* フォーカス */

.match-submit-page .acf-input input:focus,
.match-submit-page .acf-input select:focus,
.match-submit-page .acf-input textarea:focus {
    outline: none;
    border-color: #1e73be;
    box-shadow: 0 0 0 3px rgba(30,115,190,.12);
}

/* セレクト矢印 */

.match-submit-page .acf-input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 8px;
}

/* 種目 */

.match-submit-page .acf-field[data-name="event"] .categorychecklist-holder {
    max-height: none;
    padding: 0;
    border: none;
}

/* 送信ボタン */

.match-submit-page .acf-form-submit {
    margin-top: 12px;
}

.match-submit-page .acf-form-submit input {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 8px;
    background: #1e73be;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.match-submit-page .acf-form-submit input:hover {
    background: #185f9c;
}

/* スマホ */

@media screen and (max-width:768px) {
    .match-submit-page h1 {
        font-size: 28px;
    }

    .match-submit-page > p {
        font-size: 16px;
    }

    .match-submit-page .acf-field label,
    .match-submit-page .acf-field .acf-label label {
        font-size: 16px;
    }

    .match-submit-page .acf-input input[type="text"],
    .match-submit-page .acf-input input[type="email"],
    .match-submit-page .acf-input input[type="url"],
    .match-submit-page .acf-input input[type="date"],
    .match-submit-page .acf-input input[type="number"],
    .match-submit-page .acf-input input[type="tel"],
    .match-submit-page .acf-input select,
    .match-submit-page .acf-input textarea {
        font-size: 14px;
    }

    .match-submit-page .acf-form-submit input {
        height: 48px;
        font-size: 16px;
    }
}

/*
 * ==========================================
 * 投稿完了メッセージ
 * ==========================================
 */

.match-submit-page .acf-notice,
.match-submit-page .acf-error-message,
.match-submit-page .updated {
    margin: 0 0 24px;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    background: #f3f3f3;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

/*
 * ==========================================
 * 投稿フォームの横幅を区切り線に合わせる
 * ==========================================
 */

.match-submit-page .acf-fields > .acf-field {
    padding-left: 0;
    padding-right: 0;
}

.match-submit-page .acf-input,
.match-submit-page .acf-label {
    width: 100%;
}

.match-submit-page .acf-input input,
.match-submit-page .acf-input select,
.match-submit-page .acf-input textarea {
    width: 100%;
    max-width: none;
}

/*
 * ==========================================
 * 種目チェックボックス
 * ==========================================
 */

.match-submit-page
.acf-field[data-name="event"]
.acf-checkbox-list label {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0;
    gap: 8px;
}

.match-submit-page
.acf-field[data-name="event"]
.acf-checkbox-list input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
}

.match-submit-page
.acf-field[data-name="event"]
.acf-checkbox-list > li {
    margin-bottom: 10px;
}

.match-submit-page
.acf-field[data-name="event"]
.acf-checkbox-list ul.children {
    margin: 8px 0 0 28px;
}

/*
 * ==========================================
 * 投稿成功メッセージ
 * ==========================================
 */

.match-submit-page .match-submit-success {
    margin: 0 0 32px;
    padding: 20px 24px;
    border: 2px solid #6fae2f;
    border-radius: 10px;
    background: #fff;
    color: #5d9824;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.match-submit-page .match-submit-success p {
    margin: 0;
    color: #5d9824;
    font-size: 20px;
    font-weight: 700;
}

/*
 * ==========================================
 * 投稿エラーメッセージ
 * ==========================================
 */

.match-submit-page .acf-notice.-error,
.match-submit-page .acf-error-message {
    margin: 0 0 24px;
    padding: 16px 20px;
    border: 2px solid #d93025;
    border-radius: 10px;
    background: #fff;
    color: #d93025;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.match-submit-page .acf-notice.-error p,
.match-submit-page .acf-error-message p {
    margin: 0;
    color: #d93025;
    font-size: 20px;
    font-weight: 700;
}

.match-submit-page .acf-notice.-error .acf-notice-dismiss {
    color: #d93025;
}

/* 種目の文字サイズ */

.match-submit-page
.acf-field[data-name="event"]
.acf-checkbox-list label {
    font-size: 16px;
    font-weight: 400;
}

/* URLアイコンを上下中央に */

.match-submit-page .acf-url i {
    top: 50%;
    transform: translateY(-50%);
}

.field-description {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 14px;
}

/*
 * ===========================
 * スマホ表示
 * ===========================
 */

@media (max-width:767px) {
    /* ページタイトル */

    .match-submit-page h1 {
        font-size: 24px;
    }

    /* 説明文 */

    .match-submit-page h1 + p,
    .match-submit-page h1 + p + p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* 全フィールドタイトル */

    .match-submit-page .acf-label label,
    .match-submit-page .acf-field label,
    .match-submit-page .acf-label {
        font-size: 18px !important;
    }

    /* 補足説明（画像・メール・種目など全部） */

    .match-submit-page .field-description,
    .match-submit-page .acf-input p,
    .match-submit-page .acf-description,
    .match-submit-page .description {
        font-size: 10px !important;
        line-height: 1.5;
    }
}

/* 必須ラベル */

.acf-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    font-size: 10px;
    line-height: 1;
    color: #e53935;
    border: 1px solid #e53935;
    border-radius: 4px;
    padding: 3px 7px;
    vertical-align: middle;
    position: relative;
    top: 1px;
    /* ←これで少し上に移動 */
}

/*
 * ==========================================
 * 大会一覧・エリアページ 共通レイアウト
 * ==========================================
 */

/* /match/・都道府県・市区町村ページを共通化 */

.match-archive > h1 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.4;
}

/* 検索ボックス */

.match-archive .match-search-box {
    margin: 0 0 12px;
}

/* 開催月 */

.match-archive .match-month-box {
    margin: 0 0 12px;
    padding: 0 24px;
}

.match-archive .match-month-box h2 {
    margin: 0 0 2px;
}

.match-archive .match-month-box ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.match-archive .match-month-box li {
    position: relative;
    margin: 0 4px 0 0;
    padding-right: 4px;
}

.match-archive .match-month-box li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 18px;
    background: #ddd;
    transform: translateY(-50%);
}

.match-archive .match-month-box a {
    display: block;
    font-size: 14px;
    text-decoration: none;
}

.match-archive .match-month-box a:hover {
    text-decoration: underline;
}

/* タブレット・スマホ */

@media screen and (max-width:834px) {
    .match-archive .match-month-box {
        padding-left: 18px;
        padding-right: 18px;
    }

    .match-archive .match-month-box ul {
        gap: 2px 4px;
    }

    /* /match/・都道府県・市区町村のすべてで12px */

    .match-archive .match-month-box a {
        font-size: 12px !important;
    }
}

/* 小さいスマホ */

@media screen and (max-width:480px) {
    .match-archive .match-month-box {
        padding-left: 15px;
        padding-right: 15px;
    }

    .match-archive .match-month-box li {
        padding-right: 0px;
    }
}

/* 種目詳細・備考 */

.match-event-notes {
    margin-top: 4px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

@media screen and (max-width:767px) {
    .match-event-notes {
        margin-top: 2px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 12px;
    }
}

/* プレースホルダーの文字色 */

::placeholder {
    color: #bdbdbd;
    opacity: 1;
}

/* Safari */

::-webkit-input-placeholder {
    color: #bdbdbd;
}

/* Edge */

::-ms-input-placeholder {
    color: #bdbdbd;
}

/* スマホ入力時の自動拡大・横はみ出し防止 */

@media screen and (max-width:767px) {
    .match-submit-page input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
    .match-submit-page select,
    .match-submit-page textarea {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        font-size: 16px !important;
    }

    .match-submit-page input[type="file"] {
        max-width: 100%;
        font-size: 16px;
    }
}

.match-submit-main {
    display: block;
}

.match-submit-note {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    font-weight: 400;
}

/* ファイル選択ボタン */

.match-submit-page input[type="file"] {
    font-size: 14px;
}

.match-submit-page input[type="file"]::file-selector-button {
    font-size: 12px;
    padding: 6px 9px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f7f7f7;
    cursor: pointer;
}

@media screen and (max-width:767px) {
    .match-submit-page input[type="file"] {
        font-size: 14px;
    }

    .match-submit-page input[type="file"]::file-selector-button {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* フォーム上部のエラー集計だけ非表示 */

.match-submit-page .acf-form > .acf-notice.-error {
    display: none !important;
}

/* 各入力欄のエラーメッセージ */

.match-submit-page .acf-field .acf-notice.-error {
    margin: 8px 0 10px;
    padding: 8px 12px;
    border: 1px solid #e53935;
    border-radius: 6px;
    background: #fff5f5;
}

.match-submit-page .acf-field .acf-notice.-error p {
    margin: 0;
    color: #d32f2f;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

/* 大会情報更新完了メッセージ */

.match-edit-success {
    margin: 0 0 32px;
    padding: 20px 24px;
    border: 2px solid #5ca62d !important;
    border-radius: 12px;
    background: #fff !important;
    color: #4d8d1f !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.match-edit-success p {
    margin: 0;
    color: #4d8d1f !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.match-edit-success strong {
    color: #4d8d1f !important;
}

.match-edit-success small {
    display: block;
    margin-top: 8px;
    color: #666 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

/* フォーム間調整 */

.acf-fields > .acf-field {
    border-top-style: dashed !important;
    padding: 12px 0px 20px 0px !important;
}

.acf-fields > .acf-field:first-child,
.acf-field[data-name="_post_title"] {
    border-top: none !important;
}

/* 小さいスマホ */

@media screen and (max-width:480px) {
    .acf-fields > .acf-field {
        padding: 8px 0px 16px 0px !important;
    }
}

/*
 * ==========================================
 * PPM アクセントカラー統一
 * メインカラー：#ED4C4C
 * ==========================================
 */

/* 投稿・編集フォームの項目名 左アクセント */

.match-submit-page .acf-field > .acf-label > label,
.match-edit-page .acf-field > .acf-label > label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding-left: 16px;
}

.match-submit-page .acf-field > .acf-label > label::before,
.match-edit-page .acf-field > .acf-label > label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 24px;
    border-radius: 2px;
    background: #ED4C4C;
    transform: translateY(-50%);
}

/* 投稿・編集フォームの送信ボタン */

.match-submit-page .acf-form-submit input[type="submit"],
.match-edit-page .acf-form-submit input[type="submit"] {
    background: #ED4C4C !important;
    border-color: #ED4C4C !important;
    color: #fff !important;
}

.match-submit-page .acf-form-submit input[type="submit"]:hover,
.match-edit-page .acf-form-submit input[type="submit"]:hover {
    background: #D93F3F !important;
    border-color: #D93F3F !important;
}

/* 大会検索フォームの検索ボタン */

.match-search-form button,
.match-search-form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #ED4C4C !important;
    color: #fff !important;
    transition: opacity .2s ease;
}

.match-search-form button::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-color: #fff;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.77 13.29l4.22 4.22 1.42-1.42-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.77 13.29l4.22 4.22 1.42-1.42-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.match-search-form button:hover,
.match-search-form input[type="submit"]:hover {
    opacity: .85;
}

/* Cocoon標準検索フォームの検索ボタン */

.search-submit,
.search-box input[type="submit"],
.widget_search input[type="submit"] {
    background: #ED4C4C !important;
    border-color: #ED4C4C !important;
    color: #fff !important;
}

.search-submit:hover,
.search-box input[type="submit"]:hover,
.widget_search input[type="submit"]:hover {
    background: #D93F3F !important;
    border-color: #D93F3F !important;
}

/* 入力中のフォーカス */

.match-submit-page .acf-input input:focus,
.match-submit-page .acf-input select:focus,
.match-submit-page .acf-input textarea:focus,
.match-edit-page .acf-input input:focus,
.match-edit-page .acf-input select:focus,
.match-edit-page .acf-input textarea:focus {
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* スマホではアクセントを少し小さく */

@media screen and (max-width:767px) {
    .match-submit-page .acf-field > .acf-label > label,
    .match-edit-page .acf-field > .acf-label > label {
        min-height: 20px;
        padding-left: 14px;
    }

    .match-submit-page .acf-field > .acf-label > label::before,
    .match-edit-page .acf-field > .acf-label > label::before {
        width: 5px;
        height: 20px;
    }
}

/* 地図ボタン */

.match-map-button {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px 16px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #ED4C4C;
    border-radius: 8px;
    color: #ED4C4C;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: .2s;
}

.match-map-button:hover {
    opacity: .85;
    color: #ED4C4C;
}

/* 大会基本情報 見出し */

.match-section-title {
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin: 16px 0 8px;
}

.match-section-title span {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 12px 12px 0 0;
    background: #ED4C4C;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

/* 見出しの下端から続く赤い線 */

.match-section-title::after {
    content: "";
    flex: 1;
    height: 3px;
    background: #ED4C4C;
}

/* 以前の三角形を確実に消す */

.match-section-title span::after {
    content: none;
}

/* スマホ */

@media screen and (max-width:767px) {
    .match-section-title {
        margin: 16px 0 6px;
    }

    .match-section-title span {
        padding: 9px 16px;
        border-radius: 10px 10px 0 0;
        font-size: 16px;
    }

    .match-section-title::after {
        height: 3px;
    }
}

/* Googleマップ*/

.match-map h2 {
    margin-bottom: 8px;
}

.match-report-box {
    margin-top: 20px;
    text-align: left;
}

.match-report-box h2 {
    font-size: 1rem;
    /* h3サイズ */
    margin-bottom: 4px;
}

/* 説明文 */

.match-report-box p {
    font-size: 12px;
    margin-bottom: 4px;
}

/* リンク */

.match-report-button {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #1a73e8;
    text-decoration: underline;
    font-weight: 400;
    border: none;
    padding: 0;
    background: none;
    width: auto;
}

.match-report-button:hover {
    opacity: .7;
}

/* 修正削除依頼 */

.match-request-submit {
    margin-top: 20px;
}

/*
 * ==========================================
 * 修正・削除依頼フォーム
 * ==========================================
 */

.match-request-page {
    max-width: 760px;
    margin: 0 auto;
}

.match-request-page h1 {
    margin-bottom: 12px;
    font-size: 32px;
}

.match-request-target {
    margin-bottom: 24px;
}

.match-request-label {
    margin-bottom: 4px;
    color: #777;
    font-size: 12px;
}

.match-request-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.match-request-field {
    margin-bottom: 24px;
}

.match-request-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.match-request-field textarea,
.match-request-field input[type="text"],
.match-request-field input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}

.match-request-field input {
    height: 40px;
}

.match-request-field textarea {
    min-height: 220px;
    resize: vertical;
}

.match-request-field input:focus,
.match-request-field textarea:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.match-request-note {
    margin-top: 6px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

.match-request-submit {
    display: block;
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 8px;
    background: #ED4C4C;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.match-request-submit:hover {
    background: #D93F3F;
}

/* 必須ラベル */

.match-request-field .required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    font-size: 10px;
    line-height: 1;
    color: #e53935;
    border: 1px solid #e53935;
    border-radius: 4px;
    padding: 3px 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* 大会詳細ページへ戻るボタン */

.match-request-back {
    margin-top: 30px;
    text-align: center;
}

.match-request-back .match-button {
    display: inline-block;
    min-width: 260px;
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    color: #333;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
}

.match-request-back .match-button:hover {
    background: #fff;
    border-color: #333;
    color: #333;
    opacity: .75;
}

/* ページネーション    */

.match-archive .navigation.pagination {
    margin: 40px 0;
}

.match-archive .navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.match-archive .navigation.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.match-archive .navigation.pagination .page-numbers:hover {
    background: #f7f7f7;
}

.match-archive .navigation.pagination .current {
    background: #f3f3f3;
    font-weight: 700;
}

.match-archive .navigation.pagination .prev,
.match-archive .navigation.pagination .next {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: transparent;
    font-size: 0;
    transition: .2s;
}

.match-archive .navigation.pagination .prev::before,
.match-archive .navigation.pagination .next::before {
    content: "";
    width: 8px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 18'%3E%3Cpath d='M2 2l7 7-7 7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.match-archive .navigation.pagination .prev::before {
    transform: rotate(180deg);
}

.match-archive .navigation.pagination .prev:hover,
.match-archive .navigation.pagination .next:hover {
    background: #f7f7f7;
}

.match-no-results {
    margin: 40px 0;
    text-align: center;
}

.match-no-results-title {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
}

.match-no-results-text {
    margin: 8px 0 0;
    color: #777;
    font-size: 13px;
}

/* 次の大会を見る    */

.match-post-nav {
    display: flex;
    gap: 16px;
    width: 100%;
    margin: 24px 0 12px 0;
}

/* 前後どちらかがない場合の空要素を消す */

.match-post-nav > span:empty {
    display: none;
}

.match-post-nav a {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s;
}

.match-post-nav a:hover {
    background: #f7f7f7;
    color: #333;
}

/* ページネーションと同じSVG矢印 */

.match-nav-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 22px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 18'%3E%3Cpath d='M2 2l7 7-7 7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.match-nav-arrow-left {
    right: auto;
    left: 20px;
    transform: translateY(-50%) rotate(180deg);
}

@media screen and (max-width:480px) {
    .match-post-nav {
        gap: 8px;
    }

    .match-post-nav a {
        min-height: 52px;
        padding: 10px 32px;
        font-size: 14px;
    }

    .match-nav-arrow {
        right: 14px;
    }

    .match-nav-arrow-left {
        right: auto;
        left: 14px;
    }
}

.match-back-link {
    margin: 16px 0 4px;
    text-align: center;
}

.match-back-link a {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: underline;
    font-weight: 400;
}

.match-back-link a:hover {
    opacity: .7;
}

/*
 * 
 * PPM トップページ
 * 
 */

.ppm-front-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    box-sizing: border-box;
}

.ppm-front-page section {
    margin-bottom: 64px;
}

.ppm-front-hero {
    text-align: center;
}

.ppm-front-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.4;
}

.ppm-front-hero > p {
    margin: 0 0 28px;
    color: #666;
    font-size: 15px;
}

/*
 * 
 * トップページ検索
 * 
 */

.ppm-front-search-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 22px;
    background: #f7f7f7;
    border-radius: 14px;
    box-sizing: border-box;
}

.ppm-front-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
}

.ppm-front-search-form select,
.ppm-front-search-form button {
    width: 100%;
    height: 48px;
    margin: 0;
    border-radius: 7px;
    box-sizing: border-box;
    font-size: 15px;
}

.ppm-front-search-form select {
    padding: 0 38px 0 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.ppm-front-search-form select:disabled {
    background-color: #eee;
    color: #aaa;
    cursor: not-allowed;
}

.ppm-front-search-form button {
    min-width: 130px;
    padding: 0 24px;
    border: 0;
    background-color: #d33;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.ppm-front-search-form button:hover {
    background-color: #b82828;
}

/*
 * 
 * セクション見出し
 * 
 */

.ppm-front-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.ppm-front-section-heading h2 {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 27px;
    line-height: 1.4;
}

.ppm-front-section-heading p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/*
 * 
 * 日本地図 共通
 * 
 */

#japan-map {
    display: block;
    position: relative;
    width: 777px;
    height: 482px;
    margin: 0 auto;
}

#japan-map p {
    margin: 0 !important;
}

#japan-map .area-title {
    display: none;
}

#japan-map .area {
    margin: 0;
    padding: 0;
}

#japan-map .ppm-map-link {
    color: inherit;
    text-decoration: none;
}

#japan-map .area .ppm-map-link > div {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    line-height: 1.15;
    transition: transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}

#japan-map .ppm-map-link:not(.is-disabled) > div:hover {
    z-index: 20;
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.16);
}

#japan-map .ppm-map-link.is-disabled > div {
    background-color: #d8d8d8 !important;
    color: #888;
    cursor: default;
}

#japan-map .ppm-map-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
}

#japan-map .ppm-map-count {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
}

/*
 * 
 * 北海道・東北
 * 
 */

#hokkaido-touhoku {
    position: absolute;
    left: 638px;
    width: 136px;
    height: 265px;
}

#hokkaido-touhoku .area .ppm-map-link > div {
    background-color: #7478c2;
}

#hokkaido {
    width: 133px;
    height: 70px;
}

#aomori {
    top: 96px;
    left: 21px;
    width: 93px;
    height: 43px;
}

#akita {
    top: 139px;
    left: 3px;
    width: 67px;
    height: 42px;
}

#iwate {
    top: 139px;
    left: 70px;
    width: 67px;
    height: 42px;
}

#yamagata {
    top: 181px;
    left: 3px;
    width: 67px;
    height: 42px;
}

#miyagi {
    top: 181px;
    left: 70px;
    width: 67px;
    height: 42px;
}

#fukushima {
    top: 223px;
    left: 70px;
    width: 67px;
    height: 42px;
}

/*
 * 
 * 関東
 * 
 */

#kantou {
    position: absolute;
    z-index: 2;
    top: 265px;
    left: 623px;
    width: 158px;
    height: 174px;
}

#kantou .area .ppm-map-link > div {
    background-color: #31beca;
}

#ibaraki {
    top: 0;
    left: 100px;
    width: 52px;
    height: 85px;
}

#tochigi {
    top: 0;
    left: 50px;
    width: 50px;
    height: 42px;
}

#gunma {
    top: 0;
    left: 0;
    width: 50px;
    height: 42px;
}

#saitama {
    top: 42px;
    left: 0;
    width: 100px;
    height: 43px;
}

#chiba {
    top: 85px;
    left: 100px;
    width: 52px;
    height: 84px;
}

#tokyo {
    top: 85px;
    left: 0;
    width: 100px;
    height: 42px;
}

#kanagawa {
    top: 127px;
    left: 0;
    width: 67px;
    height: 42px;
}

/*
 * 
 * 中部
 * 
 */

#tyubu {
    position: absolute;
    top: 223px;
    left: 438px;
    width: 270px;
    height: 211px;
}

#tyubu .area .ppm-map-link > div {
    background-color: #4ab969;
}

#niigata {
    top: 0;
    left: 185px;
    width: 85px;
    height: 42px;
}

#toyama {
    top: 0;
    left: 118px;
    width: 67px;
    height: 42px;
}

#ishikawa {
    top: 0;
    left: 68px;
    width: 50px;
    height: 57px;
}

#fukui {
    z-index: 2;
    top: 0;
    left: 0;
    width: 68px;
    height: 42px;
}

#nagano {
    top: 42px;
    left: 118px;
    width: 67px;
    height: 85px;
}

#yamanashi {
    top: 127px;
    left: 118px;
    width: 67px;
    height: 42px;
}

#gifu {
    top: 57px;
    left: 68px;
    width: 50px;
    height: 55px;
}

#shizuoka {
    top: 169px;
    left: 118px;
    width: 67px;
    height: 42px;
}

#aichi {
    top: 112px;
    left: 68px;
    width: 50px;
    height: 57px;
}

/*
 * 
 * 近畿
 * 
 */

#kinki {
    position: absolute;
    top: 223px;
    left: 320px;
    width: 186px;
    height: 211px;
}

#kinki .area .ppm-map-link > div {
    background-color: #b0b72f;
}

#kyoto {
    top: 0;
    left: 51px;
    width: 67px;
    height: 84px;
}

#shiga {
    top: 42px;
    left: 118px;
    width: 68px;
    height: 42px;
}

#osaka {
    top: 84px;
    left: 51px;
    width: 67px;
    height: 85px;
}

#nara {
    top: 84px;
    left: 118px;
    width: 34px;
    height: 85px;
}

#mie {
    top: 84px;
    left: 152px;
    width: 34px;
    height: 85px;
}

#wakayama {
    top: 169px;
    left: 61px;
    width: 113px;
    height: 42px;
}

#hyougo {
    top: 0;
    left: 0;
    width: 51px;
    height: 98px;
}

/*
 * 
 * 中国
 * 
 */

#tyugoku {
    position: absolute;
    top: 223px;
    left: 169px;
    width: 151px;
    height: 98px;
}

#tyugoku .area .ppm-map-link > div {
    background-color: #ef9f27;
}

#tottori {
    top: 0;
    left: 101px;
    width: 50px;
    height: 49px;
}

#okayama {
    top: 49px;
    left: 101px;
    width: 50px;
    height: 49px;
}

#shimane {
    top: 0;
    left: 50px;
    width: 51px;
    height: 49px;
}

#hiroshima {
    top: 49px;
    left: 50px;
    width: 51px;
    height: 49px;
}

#yamaguchi {
    top: 0;
    left: 0;
    width: 50px;
    height: 98px;
}

/*
 * 
 * 四国
 * 
 */

#shikoku {
    position: absolute;
    top: 350px;
    left: 169px;
    width: 184px;
    height: 84px;
}

#shikoku .area .ppm-map-link > div {
    background-color: #d08f68;
}

#kagawa {
    top: 0;
    right: 0;
    width: 92px;
    height: 42px;
}

#ehime {
    top: 0;
    left: 0;
    width: 92px;
    height: 42px;
}

#tokushima {
    top: 42px;
    right: 0;
    width: 92px;
    height: 42px;
}

#kouchi {
    top: 42px;
    left: 0;
    width: 92px;
    height: 42px;
}

/*
 * 
 * 九州・沖縄
 * 
 */

#kyusyu {
    position: absolute;
    top: 235px;
    left: 0;
    width: 152px;
    height: 247px;
}

#kyusyu .area .ppm-map-link > div {
    background-color: #ff7575;
}

#fukuoka {
    top: 0;
    left: 101px;
    width: 50px;
    height: 50px;
}

#saga {
    top: 0;
    left: 51px;
    width: 50px;
    height: 50px;
}

#nagasaki {
    top: 0;
    left: 1px;
    width: 50px;
    height: 50px;
}

#oita {
    top: 50px;
    left: 101px;
    width: 50px;
    height: 50px;
}

#kumamoto {
    top: 50px;
    left: 51px;
    width: 50px;
    height: 100px;
}

#miyazaki {
    top: 100px;
    left: 101px;
    width: 50px;
    height: 50px;
}

#kagoshima {
    top: 150px;
    left: 83px;
    width: 68px;
    height: 49px;
}

#okinawa {
    top: 197px;
    left: 1px;
    width: 50px;
    height: 50px;
}

/*
 * 
 * 新着大会
 * 
 */

.ppm-front-latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ppm-front-match-card {
    position: relative;
    cursor: pointer;
    padding: 20px 48px 20px 22px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-sizing: border-box;
    transition: background-color 0.2s,
        border-color 0.2s;
}

.ppm-front-match-card::after {
    position: absolute;
    top: 50%;
    right: 20px;
    content: "›";
    color: #aaa;
    font-size: 27px;
    line-height: 1;
    transform: translateY(-50%);
}

.ppm-front-match-card:hover {
    background-color: #f7f7f7;
    border-color: #ddd;
}

.ppm-front-match-card h3 {
    margin: 5px 0 10px;
    padding: 0;
    border: 0;
    font-size: 18px;
    line-height: 1.5;
}

.ppm-front-match-card h3 a {
    color: #333;
    text-decoration: none;
}

.ppm-front-match-date {
    margin: 0 !important;
    color: #888;
    font-size: 13px;
}

.ppm-front-match-area,
.ppm-front-match-venue {
    margin: 3px 0 0 !important;
    color: #777;
    font-size: 13px;
}

.ppm-front-more {
    margin-top: 28px;
    text-align: center;
}

.ppm-front-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    padding: 12px 25px;
    border: 2px solid #d33;
    border-radius: 7px;
    color: #d33;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.ppm-front-more a:hover {
    background-color: #d33;
    color: #fff;
}

.ppm-front-empty {
    padding: 25px;
    background-color: #f7f7f7;
    border-radius: 10px;
    color: #777;
    text-align: center;
}

/*
 * 
 * タブレット
 * 
 */

@media screen and (max-width: 900px) {
    .ppm-front-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .ppm-front-search-form button {
        grid-column: span 2;
    }

    .ppm-front-map-section {
        overflow: hidden;
    }

    #japan-map {
        left: 50%;
        margin-left: -388px;
        transform: scale(0.86);
        transform-origin: center top;
        margin-bottom: -68px;
    }
}

/*
 * 
 * スマートフォン
 * 
 */

@media screen and (max-width: 700px) {
    .ppm-front-page {
        padding: 25px 15px 50px;
    }

    .ppm-front-page section {
        margin-bottom: 48px;
    }

    .ppm-front-hero h1 {
        font-size: 26px;
    }

    .ppm-front-hero > p {
        font-size: 14px;
    }

    .ppm-front-search-box {
        padding: 14px;
    }

    .ppm-front-search-form {
        display: block;
    }

    .ppm-front-search-form select,
    .ppm-front-search-form button {
        display: block;
        margin-bottom: 10px;
    }

    .ppm-front-search-form button {
        margin-bottom: 0;
    }

    .ppm-front-section-heading {
        margin-bottom: 20px;
        text-align: left;
    }

    .ppm-front-section-heading h2 {
        font-size: 23px;
    }

    /*
     * スマホでは日本地図から
     * 地域別の都道府県ボタン一覧へ切り替え
     */

    #japan-map {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        transform: none;
    }

    #japan-map > div {
        position: static !important;
        display: block;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 25px;
    }

    #japan-map .area-title {
        display: block;
        margin-bottom: 10px !important;
        padding-bottom: 7px;
        color: #333;
        font-size: 16px;
        font-weight: 600;
    }

    #japan-map .area {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    #japan-map .ppm-map-link {
        display: block;
        min-width: 0;
    }

    #japan-map .area .ppm-map-link > div {
        position: static !important;
        display: flex;
        width: 100% !important;
        height: 58px !important;
        padding: 5px 2px;
        border: 0;
        border-radius: 6px;
    }

    #japan-map .ppm-map-count {
        margin-top: 4px;
        font-size: 10px;
    }

    .ppm-front-latest-list {
        grid-template-columns: 1fr;
    }

    .ppm-front-match-card {
        padding: 17px 42px 17px 17px;
    }

    .ppm-front-match-card h3 {
        font-size: 16px;
    }
}

@media screen and (max-width: 400px) {
    #japan-map .area {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/*
 * 
 * PPMトップページ 最終調整
 * 
 */

/* Cocoonのメイン白枠内に合わせる */

.ppm-front-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ppm-front-page section {
    margin-bottom: 20px;
}

/*
 * ==========================================
 * トップタイトル
 * ==========================================
 */

.ppm-front-hero {
    text-align: left;
}

.ppm-front-hero h1 {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.4;
}

.ppm-front-hero > p {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
}

/*
 * ==========================================
 * 検索フォーム
 * 大会一覧ページと同じデザイン
 * ==========================================
 */

.ppm-front-search-box {
    max-width: none;
    margin: 0 0 24px;
    padding: 12px 24px 18px;
    border-radius: 10px;
    background: #f4f5f7;
}

.ppm-front-search-box::before {
    content: "大会を探す";
    display: block;
    margin: 0 0 6px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.ppm-front-search-form {
    display: grid;
    grid-template-columns: minmax(0,1fr)
        minmax(0,1.2fr)
        minmax(0,1.2fr)
        120px;
    gap: 12px;
    align-items: end;
}

.ppm-front-search-form select {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 11px;
}

.ppm-front-search-form select:disabled {
    background-color: #eee;
    color: #aaa;
}

.ppm-front-search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 52px;
    padding: 0 18px 0 10px;
    border: 0;
    border-radius: 6px;
    background: #ED4C4C;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.ppm-front-search-form button::before {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: #fff;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.77 13.29l4.22 4.22 1.42-1.42-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.77 13.29l4.22 4.22 1.42-1.42-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.ppm-front-search-form button:hover {
    opacity: .85;
}

/*
 * ==========================================
 * セクション見出し
 * ==========================================
 */

.ppm-front-section-heading {
    margin: 0 0 10px;
    text-align: left;
}

.ppm-front-section-heading h2 {
    margin: 0px;
    padding: 0;
    border: 0;
    font-size: 20px;
    line-height: 1.4;
}

.ppm-front-section-heading p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

/*
 * ==========================================
 * 日本地図
 * ==========================================
 */

.ppm-front-map-section {
    overflow: hidden;
}

/*
 * メイン欄に収まるように縮小
 * 地図の元サイズはそのまま維持
 */

#japan-map {
    left: 50%;
    margin-left: -388px;
    transform: scale(.88);
    transform-origin: center top;
    margin-bottom: -58px;
}

/*
 * ==========================================
 * 新着大会
 * ==========================================
 */

.ppm-front-latest-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

/* 検索ページのカードと同じ形 */

.ppm-front-match-card {
    position: relative;
    cursor: pointer;
    display: block;
    min-width: 0;
    padding: 12px 46px 12px 18px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    transition: background .2s ease;
}

.ppm-front-match-card:hover {
    background: #f7f7f7;
}

.ppm-front-match-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 18'%3E%3Cpath d='M2 2l7 7-7 7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.ppm-front-match-card:hover::after {
    transform: translateY(-50%) translateX(4px);
}

/* 開催日 */

.ppm-front-match-date {
    margin: 0 0 4px !important;
    color: #555;
    font-size: 12px;
}

/* 大会名 */

.ppm-front-match-card h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    padding: 0;
    overflow: hidden;
    border: 0;
    font-size: 18px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ppm-front-match-card h3 a,
.ppm-front-match-card h3 a:hover {
    color: #005ecb;
    text-decoration: none;
}

/* エリアと会場を横並び */

.ppm-front-match-area,
.ppm-front-match-venue {
    display: inline;
    margin: 0 !important;
    color: #999;
    font-size: 11px;
    line-height: 1.5;
}

.ppm-front-match-venue {
    color: #555;
}

.ppm-front-match-venue::before {
    content: "｜";
    margin: 0 4px;
    color: #ccc;
}

/* すべて見る */

.ppm-front-more {
    margin-top: 24px;
    text-align: center;
}

.ppm-front-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    padding: 10px 24px;
    border: 2px solid #ED4C4C;
    border-radius: 8px;
    background: #fff;
    color: #ED4C4C;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ppm-front-more a:hover {
    background: #ED4C4C;
    color: #fff;
}

/*
 * ==========================================
 * タブレット・スマホ
 * ==========================================
 */

@media screen and (max-width:834px) {
    .ppm-front-hero h1 {
        font-size: 24px;
        text-align: center;
    }

    .ppm-front-search-box {
        padding: 10px 16px 16px;
    }

    .ppm-front-search-form {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ppm-front-search-form select,
    .ppm-front-search-form button {
        height: 40px;
    }

    .ppm-front-search-form select {
        padding: 0 38px 0 12px;
        background-position: right 14px center;
        font-size: 14px;
    }

    .ppm-front-search-form select[name="event"],
    .ppm-front-search-form button {
        grid-column: 1 / -1;
    }

    .ppm-front-search-form button {
        font-size: 14px;
    }

    .ppm-front-latest-list {
        grid-template-columns: 1fr;
    }

    .ppm-front-match-card {
        padding: 12px 42px 12px 16px;
        border-radius: 10px;
    }

    .ppm-front-match-card h3 {
        font-size: 16px;
    }

    #japan-map {
        transform: scale(.78);
        margin-bottom: -106px;
    }
}

/*
 * ==========================================
 * スマートフォンの地図
 * ==========================================
 */

@media screen and (max-width:700px) {
    .ppm-front-page section {
        margin-bottom: 20px;
    }

    .ppm-front-section-heading h2 {
        font-size: 20px;
    }

    #japan-map {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        transform: none;
    }

    #japan-map > div {
        position: static !important;
        display: block;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 16px;
    }

    #japan-map .area-title {
        display: block;
        margin-bottom: 4px !important;
        padding-bottom: 0px;
        color: #333;
        font-size: 15px;
        font-weight: 700;
    }

    #japan-map .area {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 6px;
    }

    #japan-map .ppm-map-link {
        display: block;
        min-width: 0;
    }

    #japan-map .area .ppm-map-link > div {
        position: static !important;
        display: flex;
        width: 100% !important;
        height: 56px !important;
        padding: 4px 2px;
        border: 0;
        border-radius: 6px;
    }

    #japan-map .ppm-map-name {
        font-size: 14px;
    }

    #japan-map .ppm-map-count {
        font-size: 12px;
    }
}

@media screen and (max-width:400px) {
    #japan-map .area {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

/*
 * 
 * トップページ 新着大会の配置のみ
 * 
 */

.ppm-front-latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ppm-front-latest-list .match-card {
    min-width: 0;
    margin-bottom: 0;
}

@media screen and (max-width:834px) {
    .ppm-front-latest-list {
        grid-template-columns: 1fr;
    }
}

/*
 * ==========================
 * トップページ 新着大会カード
 * ==========================
 */

.ppm-front-latest-list .match-info h2 {
    font-size: 16px;
}

.ppm-front-latest-list .match-card-meta .match-area {
    font-size: 10px;
}

.ppm-front-latest-list .match-card-meta .match-venue {
    font-size: 11px;
}

/*
 * ==========================================
 * 参加資格
 * ==========================================
 */

/* ラジオボタンを横並び */

.match-submit-page
.acf-field[data-name="participant_type"]
.acf-radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.match-submit-page
.acf-field[data-name="participant_type"]
.acf-radio-list li {
    margin: 0;
    padding: 0;
}

.match-submit-page
.acf-field[data-name="participant_type"]
.acf-radio-list li:first-child {
    margin-left: 0;
    padding-left: 0;
}

.match-submit-page
.acf-field[data-name="participant_type"]
.acf-radio-list label {
    display: inline-flex;
    align-items: center;
    width: auto;
    gap: 7px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.match-submit-page
.acf-field[data-name="participant_type"]
input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
}

/* 「参加資格（その他）」の見出しを非表示 */

.match-submit-page
.acf-field[data-name="participant_note"]
> .acf-label {
    display: none;
}

/* ラジオボタンのすぐ下に入力欄を配置 */

.match-submit-page
.acf-field[data-name="participant_note"] {
    margin-top: -12px;
    padding-top: 0 !important;
    border-top: none !important;
}

/* その他入力欄 */

.match-submit-page
.acf-field[data-name="participant_note"]
textarea {
    width: 100%;
    margin: 0;
}

/* 大会情報一覧タイトル */

.match-archive-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 卓球ラケットアイコン */

.match-archive-title::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-image: url("images/icon-table-tennis.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*
 * ==========================================
 * 大会基本情報・共有ボタン
 * ==========================================
 */

.match-section-heading {
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin: 16px 0 8px;
    border-bottom: 3px solid #ED4C4C;
}

/* 元の見出し設定を調整 */

.match-section-heading .match-section-title {
    display: block;
    width: auto;
    margin: 0 !important;
}

/* 元からある伸びる赤線を消す */

.match-section-heading .match-section-title::after {
    content: none;
}

.match-section-heading .match-section-title span {
    display: block;
}

/* 共有ボタン */

.match-share-button {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin: 0 4px 0 auto;
    padding: 0 4px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.match-share-button span {
    transform: translateY(1px);
}

.match-share-button svg {
    width: 24px;
    height: 24px;
    color: #222;
}

.match-share-button:hover {
    background: transparent;
    opacity: .7;
}

@media screen and (max-width:767px) {
    .match-section-heading {
        margin: 16px 0 6px;
    }

    .match-share-button {
        gap: 4px;
        margin-right: 4px;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .match-share-button svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================
   関連大会
========================================== */

.match-related{
    margin-top:40px;
}

.match-related h2{
    margin:0 0 2px;
    font-size:24px;
    line-height:1.4;
}

.match-related-description{
    margin:0 0 16px;
    color:#777;
    font-size:13px;
}

.match-related-list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
}

/* 共通カードの下余白をグリッド側で管理 */
.match-related-list .match-card{
    height:100%;
    margin-bottom:0;
    cursor:pointer;
    box-sizing:border-box;
}

@media screen and (max-width:767px){

    .match-related{
        margin-top:32px;
    }

    .match-related h2{
        font-size:20px;
    }

    .match-related-description{
        margin-bottom:12px;
        font-size:12px;
    }

    .match-related-list{
        grid-template-columns:1fr;
        gap:12px;
    }

}

/* ==========================================
   関連大会カード：トップページ新着カードと統一
========================================== */

@media screen and (min-width:835px){

    .match-related-list{
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:14px;
    }

    .match-related-list .match-card{
        min-width:0;
        margin:0;
        padding:12px 56px 12px 22px;
        border:1px solid #ddd;
        border-radius:14px;
        background:#fff;
        box-sizing:border-box;
    }

    .match-related-list .match-list-date{
        margin:0 0 4px;
        color:#555;
        font-size:12px;
        line-height:1.6;
    }

    .match-related-list .match-card-tags{
        margin:0 0 6px;
    }

    .match-related-list .match-info h2{
        margin:0 0 2px;
        font-size:16px;
        line-height:1.35;
    }

    .match-related-list .match-card-meta{
        margin:0;
    }

    .match-related-list .match-card-meta .match-area{
        margin:0;
        font-size:10px;
    }

    .match-related-list .match-card-meta .match-venue{
        margin:0;
        font-size:11px;
    }

    .match-related-list .match-card::after{
        right:24px;
        width:12px;
        height:22px;
    }

    /* 関連大会カードのhover */
.match-page .match-related-list .match-card:hover{
    background-color:#f7f7f7 !important;
    border-color:#ddd;
    cursor:pointer;
}

}

/* ==========================================
   大会カード全体リンク
========================================== */

.match-card-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.match-card-link:hover,
.match-card-link:focus,
.match-card-link:visited {
    color: inherit;
    text-decoration: none;
}

.match-card-link .match-card {
    height: 100%;
}

.match-card-link .match-info h2 {
    color: #005ecb;
}


.match-tag-open{
    background: transparent;
    border: 1px solid #cccccc;
    color: #333333;
}


/* ==========================================
   フッター
========================================== */

/* フッター全体 */
#footer,
.footer,
.footer-bottom {
    width: 100%;
    max-width: none !important;
    margin-top:48px!important;
    padding: 0 !important;
    background: #333333 !important;
}

/* ロゴ部分を非表示 */
.footer-bottom-logo {
    display: none !important;
}

/* コピーライトを中央配置 */
.footer-bottom-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 16px !important;
    box-sizing: border-box;
}

/* コピーライト */
.copyright {
    width: 100%;
    margin: 0 !important;
    color: #fff !important;
    font-size: 14px;
    text-align: center !important;
}

.copyright a {
    color: #fff !important;
    text-decoration: none;
}

/* トップへ戻るボタンを非表示 */
#go-to-top,
.go-to-top,
.go-to-top-button {
    display: none !important;
}

/* ==========================================
   スマホ フッター
========================================== */
@media screen and (max-width:834px){

    .footer-bottom-content{
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        padding:16px !important;
    }

    .copyright{
        width:auto !important;
        margin:0 auto !important;
        text-align:center !important;
        font-size:12px;
        line-height:1.6;
    }

}

/* ==========================================
   フッター中央配置の最終調整
========================================== */

.footer-bottom-content{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:20px 16px !important;
    box-sizing:border-box;
    text-align:center !important;
}

/* Cocoonの右寄せ・floatを解除 */
.footer-bottom-content .copyright{
    float:none !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
}

/* copyrightに別クラスが付く場合も解除 */
.footer-bottom-content > div,
.footer-bottom-content p{
    float:none !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

@media screen and (max-width:834px){

    .footer-bottom-content{
        padding:16px 12px !important;
        text-align:center !important;
    }

    .footer-bottom-content .copyright,
    .footer-bottom-content > div,
    .footer-bottom-content p{
        float:none !important;
        width:100% !important;
        margin:0 auto !important;
        text-align:center !important;
        font-size:12px;
        line-height:1.6;
    }
}


/* ==========================================
   スマホ下部メニュー：大会検索
========================================== */

.search-menu-content{
    position:fixed !important;
    inset:0 !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    box-sizing:border-box;
    width:100% !important;
    height:100% !important;
    padding:16px !important;
}

.ppm-mobile-match-search{
    box-sizing:border-box;
    width:100%;
    max-width:520px;
    margin:0 !important;
    padding:24px 16px;
    border-radius:18px;
    background:#fff;
}

.ppm-mobile-match-search h2{
    margin:0 0 20px;
    color:#333;
    font-size:28px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
}

.ppm-mobile-search-form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.ppm-mobile-search-form select{
    box-sizing:border-box;
    width:100%;
    height:48px;
    padding:0 42px 0 14px;
    border:1px solid #ddd;
    border-radius:8px;
    background-color:#fff;
    color:#222;
    font-size:15px;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:16px 11px;
}

.ppm-mobile-search-form button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    box-sizing:border-box;
    width:100%;
    height:48px;
    padding:0 16px;
    border:0;
    border-radius:8px;
    background:#ED4C4C;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

.ppm-mobile-search-icon{
    display:none !important;
}

/* ==========================================
   TOP：大会登録エリア
   検索エリアと完全に同じサイズ
========================================== */

.ppm-submit-description{
    margin:0 0 12px;
    color:#555;
    font-size:14px;
    line-height:1;
}

/* 検索ボタンと共通 */
.match-search-form button,
.ppm-front-submit-button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    box-sizing:border-box;
    width:100%;
    height:52px;
    padding:0 24px 0 12px;

    border:none;
    border-radius:6px;
    background:#ED4C4C !important;
    color:#fff !important;

    font-size:16px;
    font-weight:700;
    line-height:1;
    text-decoration:none !important;
    cursor:pointer;

    transition:opacity .2s ease;
}

.match-search-form button:hover,
.ppm-front-submit-button:hover{
    color:#fff !important;
    opacity:.85;
}

/* 登録アイコン */
.ppm-submit-icon{
    display:block;
    width:20px;
    height:20px;
    flex:0 0 20px;
    background:#fff;
    border-radius:50%;
    position:relative;
}

.ppm-submit-icon::before,
.ppm-submit-icon::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:3px;
    border-radius:2px;
    background:#ED4C4C;
    transform:translate(-50%, -50%);
}

.ppm-submit-icon::after{
    transform:translate(-50%, -50%) rotate(90deg);
}

/* スマホも検索ボタンと共通 */
@media screen and (max-width:834px){

    .match-search-form button,
    .ppm-front-submit-button{
        height:40px;
        font-size:14px;
    }

    .ppm-submit-description{
    font-size:12px;
    line-height:1;
}

}

/* ==========================================
   TOP：大会登録エリア
   PC・SP調整
========================================== */

/* 共通 */
.ppm-submit-description{
    color:#555;
    line-height:1.6;
}

.ppm-front-submit-button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    box-sizing:border-box;
    width:100%;
    border:none;
    border-radius:6px;
    background:#ED4C4C;
    color:#fff !important;

    font-weight:700;
    line-height:1;
    text-decoration:none !important;

    transition:opacity .2s ease;
}

.ppm-front-submit-button:hover{
    color:#fff !important;
    opacity:.85;
}


/* PC */
@media screen and (min-width:835px){

    .ppm-submit-box{
        display:grid;
        grid-template-columns:
            minmax(0,1fr)
            minmax(0,1.2fr)
            minmax(0,1.2fr)
            120px;
        grid-template-rows:auto auto;
        column-gap:12px;
        row-gap:0;

        align-items:center;

        margin:0 0 20px;
        padding:18px 24px;
        border-radius:10px;
        background:#f4f5f7;
    }

    .ppm-submit-box h2{
        grid-column:1 / 4;
        grid-row:1;

        margin:0 0 2px;
        font-size:20px;
        font-weight:700;
        line-height:1.4;
    }

    .ppm-submit-description{
        grid-column:1 / 4;
        grid-row:2;

        margin:0;
        font-size:14px;
    }

    .ppm-front-submit-button{
        grid-column:4;
        grid-row:1 / 3;

        height:52px;
        margin:0;
        padding:0 12px;
        font-size:16px;
        white-space:nowrap;
    }
}


/* SP・タブレット */
@media screen and (max-width:834px){

    .ppm-submit-box{
        display:block;
    }

    .ppm-submit-box h2{
        margin:0px;
    }

    .ppm-submit-description{
        margin:0 0 8px;
        font-size:12px;
    }

    .ppm-front-submit-button{
        height:40px;
        margin:0;
        padding:0 12px;
        font-size:14px;
    }
}

/* サイドバーbanner */
.sidebar-submit-banner{
    display:block;
}

.sidebar-submit-banner img{
    display:block;
    width:100%;
    height:auto;
    border-radius:10px;
    transition:.2s;
}

.sidebar-submit-banner:hover img{
    opacity:.9;
}


/* フッターメニュー：大会登録のプラス */
.ppm-footer-plus {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* フッターメニュー：三本線 */
.ppm-footer-bars {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ==========================================
 * スマホ下部メニューのアイコン
 * ========================================== */

/* 元のアイコンを消す */
.top-menu-button .menu-icon::before,
.top-menu-button .menu-icon .fa::before,
.sidebar-menu-button .menu-icon::before,
.sidebar-menu-button .menu-icon .fa::before {
    content: none !important;
}

/* 大会登録：プラス */
.top-menu-button .menu-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    font-size: 0 !important;
}

/* メニュー：三本線 */
.sidebar-menu-button .menu-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    font-size: 0 !important;
}

/* 中に残っているFont Awesome要素を非表示 */
.top-menu-button .menu-icon .fa,
.sidebar-menu-button .menu-icon .fa {
    display: none !important;
}

/* ホーム：SVGアイコン */
.home-menu-button .menu-icon::before,
.home-menu-button .menu-icon .fa::before {
    content: none !important;
}

.home-menu-button .menu-icon {
    width: 28px;
    height: 28px;
    margin: 2px auto 0;   /* ← 下へ2px */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12L14 4L24 12'/%3E%3Cpath d='M6 11.8V22H22V11.8'/%3E%3Cpath d='M11.8 22V15H16.2V22'/%3E%3C/g%3E%3C/svg%3E");
}
.home-menu-button .menu-icon .fa {
    display: none !important;
}

.search-menu-button .menu-icon .fa,
.search-menu-button .menu-icon .fas {
    font-size: 21px !important;
}

.ppm-pref-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:8px 20px;
}

.ppm-pref-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 0;
    text-decoration:none;
    color:#333;
}

.ppm-pref-link:hover{
    color:#e53935;
}

.ppm-pref-count{
    color:#999;
    font-size:0.9em;
}

.ppm-pref-link{
    font-size: 14px !important;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 10px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f1f1f1;
    transition:background-color .2s ease;
}

.ppm-pref-link:hover{
    background:#f5f6f7;
    border-radius:8px;
    color:#333;
}

.sidebar .ppm-pref-title{
    border-radius:8px !important;
}

.ppm-pref-description{
    font-size:14px;
    padding-left: 12px;
    margin-bottom:20px;
}


/* 登録画面ステップ画像 */
.match-submit-steps{
    margin:16px 0 12px;
}

.match-submit-steps img{
    display:block;
    width:100%;
    height:auto;
}

@media screen and (max-width:767px){

    .match-submit-steps{
        margin:12px 0 8px;
    }
}

