/* お問合せ画面
-------------------------------------------------------- */
.wpcf7 {
	width: 100%;
	box-sizing: border-box;
}
.wpcf7 table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
.wpcf7 table th,
.wpcf7 table td {
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}
.wpcf7 table th {
	border: 1px solid #ccc;
	padding: 15px;
	width: 25%;
	vertical-align: top;
}
.wpcf7 table td {
	border: 1px solid #ccc;
	padding: 15px;
	width: 75%;
	vertical-align: top;
}

.wpcf7 table tr:first-child td {
	font-weight: bold;
	background: #fffae3;
}

.wpcf7 input,
.wpcf7 textarea  {
	appearance: auto;
	color: canvastext;
	background-color: canvas;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: inset;
	border-right-style: inset;
	border-bottom-style: inset;
	border-left-style: inset;
	border-top-color: gray;
	border-right-color: gray;
	border-bottom-color: gray;
	border-left-color: gray;
	padding-top: 1px;
	-webkit-rtl-ordering: logical;
	-webkit-user-select: text;
	cursor: auto;
}

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 textarea{
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wpcf7 input[type='radio'] {
	display: inline;
}

.wpcf7 input[type='submit'] {
	background: #369;
	color: #FFF;
	width: 200px;
	height: 40px;
	border: none;
}
@media screen and (max-width: 768px) {
	.wpcf7 {
		font-size: 70%;
	}
	.wpcf7 span.wpcf7-list-item {
		display: block;
	}
}

/* =========================================================
   Seminar List
========================================================= */

.seminar-page {
    padding: 40px 20px 80px;
    background: #fff;
}

.seminar-page__inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   Section
========================================================= */

.seminar-section {
    margin-bottom: 70px;
}

.seminar-section__title {
    position: relative;

    margin: 0 0 30px;
    padding-left: 18px;

    color: #111;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.seminar-section__title::before {
    content: "";

    position: absolute;

    top: 4px;
    bottom: 4px;
    left: 0;

    width: 5px;

    background: #d71920;
}


/* =========================================================
   Grid
========================================================= */

.seminar-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   Card
========================================================= */

.seminar-card {
    display: flex;

    min-width: 0;
    min-height: 250px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.seminar-card:hover {
    transform: translateY(-3px);

    border-color: #ddd;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, .08);
}


/* =========================================================
   Image
========================================================= */

.seminar-card__image {
    display: block;

    width: 42%;
    flex: 0 0 42%;

    overflow: hidden;

    background: #f4f4f4;
}

.seminar-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.seminar-card:hover
.seminar-card__image img {
    transform: scale(1.03);
}


.seminar-card__noimage {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-height: 250px;

    color: #aaa;

    background: #f5f5f5;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .1em;
}


/* =========================================================
   Content
========================================================= */

.seminar-card__content {
    display: flex;
    flex-direction: column;

    width: 58%;

    padding: 17px;
}


/* =========================================================
   Status
========================================================= */

.seminar-card__status {
    display: inline-block;

    align-self: flex-start;

    margin-bottom: 9px;
    padding: 3px 10px;

    color: #fff;

    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;
}


/* 募集中 */

.seminar-card__status--open {
    background: #d71920;
}


/* 終了 */

.seminar-card__status--ended {
    background: #81878c;
}


/* =========================================================
   Date / Time
========================================================= */

.seminar-card__datetime {
    display: flex;
    flex-wrap: wrap;

    gap: 3px 7px;

    margin-bottom: 4px;

    color: #555;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   Seminar Type
========================================================= */

.seminar-card__type {
    margin-bottom: 8px;

    color: #666;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   Title
========================================================= */

.seminar-card__title {
    margin: 0 0 8px;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.5;
}

.seminar-card__title a {
    color: #111;

    text-decoration: none;

    transition:
        color .2s ease;
}

.seminar-card__title a:hover {
    color: #d71920;
}


/* =========================================================
   Organizer
========================================================= */

.seminar-card__organizer {
    margin-bottom: 14px;

    color: #777;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   Button
========================================================= */

.seminar-card__button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: auto;
    padding: 8px 10px;

    color: #d71920;

    background: #fff;

    border: 1px solid #d71920;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease;
}

.seminar-card__button::after {
    content: "→";

    margin-left: 10px;

    transition:
        transform .2s ease;
}

.seminar-card__button:hover {
    color: #fff;

    background: #d71920;
}

.seminar-card__button:hover::after {
    transform: translateX(3px);
}


/* =========================================================
   Empty
========================================================= */

.seminar-empty {
    padding: 40px 20px;

    color: #777;

    background: #fafafa;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   Tablet
========================================================= */

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

    .seminar-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   Smartphone
========================================================= */

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

    .seminar-page {
        padding:
            25px 15px
            50px;
    }

    .seminar-section {
        margin-bottom: 45px;
    }

    .seminar-section__title {
        margin-bottom: 18px;

        padding-left: 12px;

        font-size: 22px;
    }

    .seminar-section__title::before {
        width: 4px;
    }


    /* 1列 */

    .seminar-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    /* カード */

    .seminar-card {
        min-height: 175px;
    }


    /* 左画像 */

    .seminar-card__image {
        width: 38%;
        flex-basis: 38%;
    }

    .seminar-card__noimage {
        min-height: 175px;

        font-size: 9px;
    }


    /* 右 */

    .seminar-card__content {
        width: 62%;

        padding: 10px;
    }


    /* ステータス */

    .seminar-card__status {
        margin-bottom: 5px;

        padding: 2px 7px;

        font-size: 9px;
    }


    /* 日時 */

    .seminar-card__datetime {
        gap: 2px 5px;

        margin-bottom: 2px;

        font-size: 9px;
    }


    /* 種別 */

    .seminar-card__type {
        margin-bottom: 4px;

        font-size: 9px;
    }


    /* タイトル */

    .seminar-card__title {
        margin-bottom: 4px;

        font-size: 13px;

        line-height: 1.4;
    }


    /* 主催者 */

    .seminar-card__organizer {
        margin-bottom: 7px;

        font-size: 9px;

        line-height: 1.4;
    }


    /* ボタン */

    .seminar-card__button {
        padding: 5px;

        font-size: 10px;
    }

}