.container {
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 300;
}

/* ドット枠------------------------------------------ */
.dot-box {
    position: relative;
    padding: 1rem;
    margin-bottom: 6em;
    background-color: #fff;
    color: #000;
    outline: 1px solid #000;
    border-radius: 5px;
}

.dot-box::before {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-image:
      radial-gradient(#000 20%, transparent 30%),
      radial-gradient(#000 20%, transparent 30%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    outline: 1px solid #000;
    border-radius: 5px;
    content: '';
    z-index: -1;
}

/* ----------------------------------------------- */

/* 青い枠------------------------------------------ */
.blue-box {
    position: relative;
    padding: 1em 1.5em;
    margin-bottom: 6em;
    background-color: #fff;
    color: #000;
    outline: 1px solid #000;
    border-radius: 5px;
}

.blue-box::before {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-color: #28a7d3;
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    outline: 1px solid #000;
    border-radius: 5px;
    content: '';
    z-index: -1;
}

.blue-box .caption {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font-size: 1.4em;
    padding: 0.2em 1.1em;
    color: #fff;
    font-weight: bold;
    background-color: #28a7d3;
    outline: 1px solid #000;
    transform: translateY(-50%) translateX(0em);

}

.blue-box .class-time {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 10px;
}
/* ----------------------------------------------- */

/* オレンジ枠------------------------------------------ */
.orange-box {
    position: relative;
    padding: 1em 1.5em;
    margin-bottom: 6em;
    background-color: #fff;
    color: #000;
    outline: 1px solid #000;
    border-radius: 5px;
}

.orange-box::before {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-color: #e27528;
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    outline: 1px solid #000;
    border-radius: 5px;
    content: '';
    z-index: -1;
}

.orange-box .caption {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    font-size: 1.4em;
    padding: 0.2em 1.1em;
    color: #fff;
    font-weight: bold;
    background-color: #e27528;
    outline: 1px solid #000;
    transform: translateY(-50%) translateX(0em);
}
/* ----------------------------------------------- */

#top-text {
    line-height: 2.5;
    margin-top: 6em;
    margin-bottom: 3em;
}

.blue-text {
    color: rgb(40, 167, 225);
    font-size: 1.4em;
    font-weight: 600;
    vertical-align: -0.1em;
}

.orange-text {
    color: rgb(226, 117, 40);
    font-size: 1.4em;
    font-weight: 600;
    vertical-align: -0.1em;
}

/* テーブル--------------------------------------- */
@media only screen and (min-width : 481px){
    #table-horizontal {
        visibility: visible;
    }
    #table-vertical {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (max-width : 480px){
    #table-horizontal {
        display: none;
        visibility: hidden;
    }
    #table-vertical {
        visibility: visible;
    }
}

table {
    margin-bottom: 10px;
}

tr {
    border-bottom: 0px;
}

td {
    padding: 0.2em;
}

td.number {
    width: 24px;
    transform: translateX(1em);
}

td.number .number-circle {
    text-align:center;
    font-size: 16px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    outline: 1px solid #000;
    border-radius: 12px;
}

td.title {
    outline: 1px solid #000;
    border-radius: 5px;
    width: 120px;
}

/* 授業例　横並びテーブル */
#table-horizontal td.discription {
    padding-left: 1.2em;
}

/* 授業例　縦並びテーブル */
#table-vertical tr.num-title {
    transform: translateX(-1em);
}

#table-vertical td.discription {
    padding-bottom: 1em;
    padding-left: 0;
}

/* ----------------------------------------------- */

/* -４つのコース------------------------------------ */
.course-green {
    display: inline-block;
    height: 32px;
    width: 220px;
    color: #fff;
    background-color: rgb(174, 208, 63);
    outline: 1px solid #000;
    border-radius: 16px;
    font-size: 1.2em;
    font-weight: 400;
    box-shadow: 2px 2px 4px #000;
    text-align: center;
    margin-bottom: 12px;
}

.course-orange {
    display: inline-block;
    height: 32px;
    width: 220px;
    color: #fff;
    background-color: rgb(226, 117, 40);
    outline: 1px solid #000;
    border-radius: 16px;
    font-size: 1.2em;
    font-weight: 400;
    box-shadow: 2px 2px 4px #000;
    text-align: center;
    margin-bottom: 12px;
}

.course-blue {
    display: inline-block;
    height: 32px;
    width: 220px;
    color: #fff;
    background-color: rgb(40, 167, 225);
    outline: 1px solid #000;
    border-radius: 16px;
    font-size: 1.2em;
    font-weight: 400;
    box-shadow: 2px 2px 4px #000;
    text-align: center;
    margin-bottom: 12px;
}

.course-purple {
    display: inline-block;
    height: 32px;
    width: 220px;
    color: #fff;
    background-color: rgb(149, 75, 153);
    outline: 1px solid #000;
    border-radius: 16px;
    font-size: 1.2em;
    font-weight: 400;
    box-shadow: 2px 2px 4px #000;
    text-align: center;
    margin-bottom: 12px;
}

.border-bottom {
    font-size: 1.6em;
    font-weight: 600;
    display: inline-block;
    border-bottom: 1px solid #000;
    padding: 1px;
    margin-bottom: 20px;
}
/* ----------------------------------------------- */

/* 講師の紹介------------------------------------------ */
.dot-photo-box {
    margin-top: 20px;
    display: inline-block;
    position: relative;
    padding: 0;
    background-color: #fff;
    color: #000;
    outline: 1px solid #000;
    border-radius: 1px;
}

.dot-photo-box::before {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-image:
      radial-gradient(#000 20%, transparent 30%),
      radial-gradient(#000 20%, transparent 30%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    outline: 1px solid #000;
    border-radius: 1px;
    content: '';
    z-index: -1;
}

.dot-photo-box img {
    max-width: 275px;
}

#teacher {
    vertical-align: top;
}

#teacher-text {
    text-align: left;
    display: inline-block;
    max-width: 470px;
}

#teacher-name {
    font-size: 1.6em;
    font-weight: 500;
}

#teacher-career {
    margin: 1.4em 0;
}

#teacher-introduction {
    line-height: 1.7;
}

#teacher-photo {
    display: inline;
    text-align: right;
}
/* ----------------------------------------------- */

.border-top-bottom {
    display: inline-block;
    line-height: 2.2;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 6px;
    margin-bottom: 20px;
}

.meyasu-text {
    line-height: 1.5;
    margin-block-start: 0.8em;
    margin-block-end: 0.8em;
}

.annotation {
    vertical-align: top;
}