/* =========================
   体験会ページ
========================= */

.trial-page {
    padding: 25px 4% 60px;
    background-color: #fff;
}


/* =========================
   ページ見出し
========================= */

.trial-heading {
    margin-bottom: 28px;
}

.trial-heading h1 {
    margin: 0 0 10px;
    color: #333;
    font-size: 6.3vw;
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1.5;
}

.trial-heading time {
    color: #777;
    font-size: 3.5vw;
}


/* =========================
   セクション
========================= */

.trial-section {
    margin-bottom: 30px;
}

.trial-section-title {
    margin: 0 0 12px;
    color: #333;
    font-size: 5vw;
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1.5;
}


/* =========================
   表
========================= */

.trial-table {
    width: 100%;
    border: 1px solid #555;
    border-radius: 4px;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
    overflow: hidden;

    background-color: #000;
    color: #555;
    font-size: 3.4vw;
    line-height: 1.5;
}

.trial-table th,
.trial-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #555;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.trial-table tr:last-child th,
.trial-table tr:last-child td {
    border-bottom: none;
}


/* 左側のピンクの項目名 */

.trial-table th {
    width: 24%;
    background-color: var(--pink);
    color: #fff;
    font-weight: bold;
    text-align: center;
    overflow-wrap: normal;
}


/* 右側の内容 */

.trial-table td {
    background-color: #fff;
    color: #333;
}


/* 日程・時間のテキスト
   HTML内の改行を表示する */

.trial-table__text {
    white-space: pre-line;
}


/* お問い合わせボタン */
.trial-contact {
    margin-top: 45px;
    text-align: center;
}

.trial-contact a {
    display: block;
    width: 65%;
    margin: 0 auto;
    padding: 18px 12px;
    box-sizing: border-box;

    border-radius: 18px;
    background-color: var(--pink);
    color: #fff;

    font-size: 4.5vw;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.trial-contact a:hover {
    opacity: 0.8;
}

/* 一覧へ戻るリンク */
    .back-area {
        margin-top: 35px;
        text-align: center;
    }

    .news-back {
        font-size: 15px;
    }

/* =======================
   お知らせページ
======================= */
.news-text {
    margin: 0 2%;
    padding: 0;
    white-space: pre-wrap;
}

.news-text p {
    margin-top: -60px;
    margin-bottom: -60px;
    padding: 0;
}

/* =================
      PC画面用
================== */

@media screen and (min-width: 768px) {
     /* ページ全体 */
    .trial-page {
        max-width: 1000px;
        margin: 0 auto;
        padding: 50px 40px 80px;
        box-sizing: border-box;
    }

    /* ページ見出し */
    .trial-heading {
        margin-bottom: 35px;
    }

    .trial-heading h1 {
        font-size: 32px;
        line-height: 1.5;
    }

    .trial-heading time {
        font-size: 16px;
    }

    /* セクション */
    .trial-section {
        margin-bottom: 40px;
    }

    .trial-section-title {
        margin-bottom: 15px;
        font-size: 24px;
    }

    /* 表 */
    .trial-table {
        font-size: 16px;
    }

    .trial-table th,
    .trial-table td {
        padding: 15px 20px;
    }

    .trial-table th {
        width: 24%;
    }

    /* お知らせ本文 */
    .news-text {
        margin: 0;
        font-size: 17px;
        line-height: 1.9;
    }

    /* お問い合わせボタン */
    .trial-contact {
        margin-top: 50px;
    }

    .trial-contact a {
        width: 280px;
        padding: 16px 20px;
        font-size: 18px;
    }

}
