﻿@charset "UTF-8";

/* course detail
---------------------------------------------------*/
#course-detail {
    width: 100%;
}
#course-detail .course-wrap {
    padding-top: var(--24px);
}
#course-detail .course-title {
    line-height: 1.5em;
    font-size: var(--font-size-l);
    font-weight: 700;
    margin-bottom: var(--24px);
}
#course-detail .content-item {
    margin: 30px 0 0 0;
}
#course-detail .content-item:first-child {
    margin: 0;
}
#course-detail .ttl {
    padding: 15px;
    background-color: var(--background-color);
}
#course-detail .txt {
    padding: 15px;
    line-height: 1.5;
}
#course-detail .clm {
    padding: 0 15px;
}
#course-detail .clm-item {
    border: 1px solid #B0B4BE;
    margin: 30px 0 0 0;
}
#course-detail .clm-item:first-child {
    margin: 0;
}
/* tbl-course */
#course-detail dl.tbl-course {
    display: flex;
    border-bottom: 1px dashed #B0B4BE;
    align-items: stretch;
    justify-content: flex-start;
}
#course-detail dl.tbl-course:last-child {
    border: none;
}
#course-detail dl.tbl-course dt {
    width: 20.16%;
    padding: 15px;
    background-color: var(--background-color);
}
#course-detail dl.tbl-course dd {
    width: 79.84%;
    line-height: 1.5;
    padding: 15px;
}
#course-detail .map-image {
    max-width: 700px;
    margin: 0 auto;
}
#course-detail .map-image img {
    width: 100%;
}
#course-detail .resp-if {
    width: 100%;
    max-height: 300px;
}
#course-detail .resp-if iframe {
    width: 100%;
    max-height: 300px;
}
.trainer-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px dotted #c5c5c5;
}
.trainer-item:first-child {
    padding-top: 0;
}
.trainer-item:last-child {
    border: none;
    padding-bottom: 0;
}
.trainer-img {

}
.trainer-img-tr img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.trainer-img-tr {
    background: var(--background-color);
    width: 126px;
    height: 126px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.trainer-txt {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.trainer-txt-name {
    width: 100%;
}
.trainer-txt-detail {
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
}
.btn-area {
    display: flex;
    gap: 15px;
    margin: 30px 0 0 0;
}
.btn-subarea {
    display: flex;
    gap: 15px;
    margin: 30px 0 0 0;
}
.btn-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-item-link {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    border: 1px solid;
    line-height: 1;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
}
.btn-item-link:hover {
    opacity: 0.6;
}
.btn-item-link.btn-normal {
    color: #0000B8;
    border-color: #0000B8;
}
.btn-item-link.btn-primary {
    background: #0000B8;
    color: #fff;
    border-color: #0000B8;
}
.btn-item-sublink {
    border: 1px solid;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}
.btn-item-sublink.btn-normal {
    color: #a2a1a1;
    font-weight: normal;
    border-color: #dadada;
}
.course-detail-txt-tag {
    display: flex;
    gap: 10px;
    margin: 0 0 8px 0;
}
.course-detail-txt-tag span {
    font-size: 13px;
    line-height: 1;
    padding: 4px 15px;
    border-radius: 15px;
}
.course-detail-txt-tag .tag-gray {
    background: #e3e3e3;
}
.course-detail-txt-tag .tag-red {
    background: #DF410F;
    color: #fff;
}


/* 768 */
@media screen and (min-width:1px) and (max-width: 768px) {
    #course-detail-detail .course-wrap {
        padding: var(--40px) var(--16px);
    }
    #course-detail dl.tbl-course {
        flex-wrap: wrap;
    }
    #course-detail dl.tbl-course dt {
        width: 100%;
    }
    #course-detail dl.tbl-course dd {
        width: 100%;
    }
    .trainer-item {
        flex-wrap: wrap;
    }
    .trainer-img {
        margin: 0 auto;
    }
    .trainer-txt-name {
        text-align: center;
    }
    .btn-item-link {
        width: 100%;
        text-align: center;
    }
    .btn-area {
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn-item:first-child {
        order: 2;
        width: auto;
    }
    .btn-item:last-child {
        order: 1;
        width: 100%;
    }
    .btn-subarea .btn-item:first-child {
        order: inherit;
        width: auto;
    }
    .btn-subarea .btn-item:last-child {
        order: inherit;
        width: auto;
    }
}
