#contents.shop_detail #main {
    width: 1088px;
    margin: auto;
}

#contents.shop_detail .pankuzu {
    margin-top: 10px;
}

#shop_header {
    width: 1088px;
}

#shop_header .flex {
    flex-wrap: nowrap;
}

#shop_header .image {
    width: 168px;
    height: 168px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#shop_header .shop_overview {
    margin-left: 16px;
}

#shop_header h1 {
    border-left: 6px solid;
    font-size: 30px;
    font-weight: bold;
    padding: 5px 0 5px 15px;
    line-height: 1;
    margin-bottom: 40px;
}

.shop_overview .phone,
.shop_overview .address {
    position: relative;
    padding-left: 48px;
    font-size: 18px;
    line-height: 1.4;
    margin-top: 10px;
}

.shop_overview .phone span,
.shop_overview .address span {
    position: absolute;
    left: 0;
    top: 3px;
    color: #fff;
    background-color: #2b2b2b;
    font-size: 10px;
    border-radius: 2px;
    width: 40px;
    text-align: center;
    line-height: 1.8;
}

.shop_overview .description {
    font-size: 14px;
    padding-left: 55px;
    line-height: 1.4;
    margin-top: 10px;
}

#shop_header > .description {
    display: none;
}

#shop_header_menu {
    border-bottom: 1px solid #ddd;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 30px;
    background-color: #fff;
    position: sticky;
    position: -webkit-sticky;
    top: 80px;
    z-index: 1;
}

#shop_header_menu .mainmenu {
    width: 1088px;
    margin: auto;
}

#shop_header_menu .mainmenu li {
    width: 217px;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    border-radius: 4px 4px 0 0;
    background-image: linear-gradient(to bottom, #ffffff, #faf8f5);
    justify-content: center;
    align-items: center;
    height: 42px;
}

#shop_header_menu .mainmenu li:not(:first-child) {
    border-left: 0;
}

#shop_header_menu .mainmenu li.active {
    background-image: linear-gradient(to bottom, #dddddd, #faf8f5);
}

#shop_header_menu .mainmenu li a {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
    text-align: center;
}

#shop_header_menu .submenu {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    overflow: scroll;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

#shop_header_menu .submenu::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

#shop_header_menu .submenu li {
    margin: 10px 0;
    min-width: 164px;
    border: 1px solid #bdbdbd;
    text-align: center;
    background-color: #fff;
    line-height: 2.3;
    margin-left: -1px;
}

#shop_header_menu .submenu li a {
    color: #000;
    font-weight: bold;
}

#shop_header_menu .submenu li a.active {
    color: #e68719;
}

#shop_header_menu .submenu li a.disable {
    pointer-events: none;
    color: #ababab;
}

#shop_slider {
    margin-top: 30px;
}

#shop_slider .shop_slider_image {
    width: 352px;
    height: 352px;
    background-position: center;
    background-size: cover;
    margin-left: 16px;
    position: relative;
}

.shop_slider_image .caption {
    background-color: #000000b5;
    color: #fff;
    padding: 9px 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 50px;
}

.shop_slider_image .caption h3 {
    font-size: 16px;
}

.shop_slider_image .caption p {
    line-height: 1.4;
}

.shop_detail .shop_detail {
    width: 1088px;
}

.shop_detail .main {
    width: 720px;
    float: left;
    padding-bottom: 90px;
}

.shop_introduction {
    margin-top: 60px;
}

.shop_introduction h2 {
    font-weight: bold;
    color: #454545;
    font-size: 24px;
}

.shop_introduction p {
    font-size: 16px;
    margin-top: 20px;
}

.shop_menu {
    margin-top: 40px;
}

.shop_detail .sub_ttl {
    margin-top: 40px;
    width: 100%;
}

.recommend_menu_list {
    margin-top: 20px;
    justify-content: space-between;
}

.recommend_menu {
    width: 168px;
}

.recommend_menu .image {
    width: 100%;
    height: 168px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.recommend_menu p {
    margin-top: 8px;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 15px;
    font-weight: bold;
}

.shop_detail .readmore {
    width: 168px;
    line-height: 2.4;
    color: #fff;
    background-color: #e68719;
    border-radius: 4px;
    display: block;
    text-align: center;
    margin: 20px auto 0;
    font-size: 12px;
}

.shop_detail .readmore.white {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border: 1px solid;
    display: none;
}

.shop_appearance {
    margin-top: 70px;
}

.shop_appearance .image {
    width: 164px;
    height: 164px;
    background-size: cover;
    background-position: center;
    margin: 0 8px;
}

.shop_coupon {
    margin-top: 70px;
}

.shop_detail .shop_coupon .readmore {
    margin-top: 30px;
}

.coupon_list p {
    margin-top: 20px;
    position: relative;
    padding-left: 75px;
    font-weight: bold;
}

.coupon_list p span {
    display: inline-block;
    color: #fff;
    background-color: #e68719;
    width: 63px;
    text-align: center;
    line-height: 1.6;
    position: absolute;
    left: 0;
    top: -1px;
}

.shop_hitogara {
    margin-top: 70px;
    line-height: 1;
}

.shop_hitogara .images {
    width: 260px;
    float: left;
    flex-direction: column;
}

.shop_hitogara .image {
    width: 100%;
    height: 260px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    margin-bottom: 20px;
}

.shop_hitogara .text {
    width: 444px;
    float: left;
    margin-left: 16px;
}

.shop_hitogara .position {
    font-weight: bold;
    font-size: 15px;
    margin-top: 5px;
}

.shop_hitogara .name {
    font-size: 36px;
    font-weight: bold;
    margin-top: 20px;
}

.shop_hitogara .message {
    font-size: 20px;
    font-weight: bold;
    margin-top: 38px;
    padding-bottom: 0;
    line-height: 1.4;
}

.shop_hitogara .main_text {
    margin-top: 30px;
    line-height: 1.5;
}

.shop_access {
    margin-top: 70px;
}

.information {
  border-collapse: collapse;
  width: 720px;
  margin-top: 25px;
}

.information td {
  border: solid 1px #ddd;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.54;
  padding: 7px 10px 5px;
}

.information td:first-of-type {
  background-color: #eee;
  width: 168px;
}

.information td a {
    color: #ee8c33;
}

.map {
    margin-top: 20px;
}

.shop_detail .aside {
    width: 342px;
    float: left;
    margin-left: 26px;
    margin-top: 60px;
    flex-direction: column;
    position: sticky;
    position: -webkit-sticky;
    top: 180px;
}

.aside h2 {
    border-left: 6px solid;
    font-size: 20px;
    padding: 10px 0 10px 15px;
    font-weight: bold;
}

.aside .phone {
    font-size: 24px;
    padding-left: 55px;
    position: relative;
    margin-top: 20px;
}

.aside .address {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 55px;
    position: relative;
    margin-top: 4px;
}

.aside .phone span,
.aside .address span {
    position: absolute;
    left: 0;
    background-color: #2b2b2b;
    color: #fff;
    font-size: 10px;
    width: 40px;
    display: block;
    text-align: center;
    border-radius: 2px;
    line-height: 1.8;
}

.aside .phone span {
    top: 9px;
}

.aside .phone_btn {
    display: none;
}

.aside .reserve_btn {
    display: block;
    color: #fff;
    background-color: #ff4e00;
    width: 260px;
    line-height: 2.65;
    margin: 30px auto 0;
    text-align: center;
    font-size: 20px;
    border-radius: 4px;
}

@media (max-width:1088px) {
    #shop_header_menu {
        margin: 30px auto 0;
    }
}

@media (max-width:640px) {
    #contents.shop_detail #main {
        width: 100%;
    }

    #contents.shop_detail .pankuzu {
        margin-top: 0;
        margin-bottom: 15px;
    }

    #shop_header {
        width: 95%;
        margin: auto;
    }

    #shop_header .image {
        width: 68px;
        min-width: 68px;
        height: 68px;
    }

    #shop_header .shop_overview {
        margin-left: 10px;
    }

    #shop_header h1 {
        font-size: 16px;
        padding: 8px 0 8px 10px;
        margin-bottom: 16px;
    }

    .shop_overview .phone,
    .shop_overview .address {
        font-size: 13px;
    }

    .shop_overview .description {
        display: none;
    }

    #shop_header > .description {
        display: block;
        font-size: 10px;
        margin-top: 10px;
        line-height: 1.5;
    }

    #shop_header_menu {
        margin-top: 20px;
        top: 50px;
        background-color: #fff;
    }

    #shop_header_menu .mainmenu {
        width: 100%;
        flex-wrap: nowrap;
        overflow: scroll;
    }

    #shop_header_menu .mainmenu li {
        padding: 0 10px;
        height: 36px;
        line-height: 1.4;
        min-width: 76px;
        width: 20%;
    }

    #shop_header_menu .mainmenu li a {
        font-size: 10px;
        text-align: center;
    }

    #shop_header_menu .submenu {
        justify-content: center;
        padding: 10px 20px;
    }

    #shop_header_menu .submenu li {
        width: 40%;
        margin: -1px 0 0 -1px;
        text-align: center;
        min-width: 137px;
        line-height: 2;
    }

    #shop_header_menu .submenu li a {
        font-size: 10px;
    }

    #shop_slider {
        margin-top: 20px;
        overflow: hidden;
    }

    #shop_slider .shop_slider_image {
        width: 100vw;
        height: 302px;
    }

    .shop_slider_image .caption {
        padding: 5px 40px;
    }

    .shop_detail .shop_detail {
        width: 100%;
    }

    .shop_detail .main {
        width: 100%;
        border-top: 1px solid #ddd;
        margin-top: 20px;
        float: none;
        padding-bottom: 60px;
    }

    .shop_child .shop_detail .main {
        border: 0;
    }

    .shop_detail .sub_ttl {
        font-size: 16px;
        padding-bottom: 3px;
    }

    .shop_introduction {
        margin-top: 30px;
        padding: 0 10px;
    }

    .shop_introduction h2 {
        font-size: 16px;
    }

    .shop_introduction p {
        margin-top: 15px;
    }

    .shop_menu {
        margin-top: 50px;
    }

    .shop_menu .sub_ttl {
        font-size: 16px;
        margin-top: 20px;
        padding-bottom: 0;
    }

    .recommend_menu_list {
        flex-wrap: nowrap;
        overflow: scroll;
    }

    .recommend_menu {
        width: 146px;
        min-width: 146px;
        margin-left: 10px;
    }

    .recommend_menu:last-child {
        padding-right: 10px;
        min-width: 156px;
    }

    .recommend_menu .image {
        height: 146px;
    }

    .shop_appearance {
        margin-top: 50px;
    }

    .shop_appearance .images {
        flex-wrap: nowrap;
        overflow: scroll;
    }

    .shop_appearance .image {
        width: 146px;
        height: 146px;
        min-width: 146px;
        margin: 0 0 0 10px;
    }

    .shop_appearance .image:last-child {
        padding-right: 10px;
        min-width: 156px;
    }

    .shop_coupon {
        margin-top: 50px;
    }

    .coupon_list {
        width: 80%;
        margin: auto;
    }

    .coupon_list p {
        padding-top: 2px;
        padding-left: 50px;
        font-size: 13px;
    }

    .coupon_list p span {
        font-size: 12px;
        width: 40px;
        top: 3px;
    }

    .shop_coupon .readmore {
        margin-top: 30px;
    }

    .shop_hitogara {
        margin-top: 50px;
    }

    .shop_hitogara .images {
        flex-direction: row;
        width: 80%;
        margin: 0 auto;
        float: none;
        justify-content: space-between;
    }

    .shop_hitogara .image {
        width: 37vw;
        height: 37vw;
    }

    .shop_hitogara .text {
        width: 80%;
        margin: 0 auto;
        float: none;
    }

    .shop_hitogara .position {
        font-size: 12px;
        margin-top: 0;
    }

    .shop_hitogara .name {
        font-size: 20px;
        margin-top: 10px;
    }

    .shop_hitogara .message {
        font-size: 16px;
        margin-top: 15px;
    }

    .shop_hitogara .main_text {
        margin-top: 15px;
    }

    .shop_access {
        margin-top: 50px;
    }

    .information {
      width: 93%;
      margin: auto;
    }

    .information td:first-of-type {
      width: 104px;
    }

    .information td a {
        color: #000;
    }

    .map {
        width: 92.5%;
        margin: 16px auto 0;
    }

    .map iframe {
      width: 100%;
      height: 370px;
    }

    .shop_detail .aside {
        width: 100%;
        margin: auto;
        float: none;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        flex-wrap: nowrap;
        position: fixed;
        top: initial;
        bottom: 0;
        background-color: #fff;
    }

    .aside h2 {
        display: none;
        width: 100%;
        font-size: 12px;
        border-width: 3px;
        padding: 0 5px;
        align-items: center;
    }

    .aside .phone,
    .aside .address {
        display: none;
    }

    .aside .phone_btn {
        display: block;
        color: white;
        background-color: #0084ba;
        width: 100%;
        text-align: center;
        line-height: 2.9;
        min-width: 85px;
        line-height: 3.8;
        font-size: 17px;
    }

    .aside .reserve_btn {
        font-size: 17px;
        width: 100%;
        border-radius: 0;
        margin: 0;
        line-height: 3.8;
        min-width: 85px;
    }
}

/**************** menu/course ***************/

.lunch_container,
.dinner_container,
.drink_container,
.course_container {
    width: 100%;
    margin-top: 60px;
}

.lunch_container.child .lunch,
.dinner_container.child .dinner {
    display: none;
}

.lunch,
.dinner {
    flex-wrap: nowrap;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.lunch .image,
.dinner .image {
    min-width: 168px;
    height: 168px;
    background-size: cover;
    background-position: center;
    background-color: white;
}

.lunch .text,
.dinner .text {
    margin-left: 16px;
}

.lunch h3,
.dinner h3 {
    font-size: 15px;
    font-weight: bold;
}

.lunch .price,
.dinner .price {
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.price .tag {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    background-color: #000;
    width: 63px;
    text-align: center;
    line-height: 1.7;
    position: relative;
    top: -1px;
    margin-right: 5px;
}

.course .price .tag {
    width: 100px;
}

.price .price_num {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    text-align: right;
    line-height: 20px;
    margin-bottom: 2px;
}

.drink .price .price_num {
    width: 51px;
}

.lunch .description,
.dinner .description {
    margin-top: 5px;
}

.drink {
    justify-content: space-between;
    padding: 11.5px 0;
    border-bottom: 1px solid #ddd;
}

.drink .name {
    font-weight: bold;
    font-size: 15px;
    line-height: 1.8;
}

.course {
    flex-wrap: nowrap;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.course .image {
    min-width: 168px;
    height: 168px;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
}

.course .text {
    margin-left: 16px;
    position: relative;
    width: 100%;
}

.course h3 {
    font-size: 20px;
    border-left: 6px solid #e68719;
    padding: 9px 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course .price_list {
    margin-top: 5px;
}

.course .price {
    margin-top: 4px;
    width: 43%;
    display: flex;
    align-items: center;
}

.course .price.red {
    color: #de3500;
}

.course .price.red .tag {
    background-color: #de3500;
}

.course .notice {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 2px;
}

.course .readmore {
    margin-right: 38px;
    margin-top: 10px;
}

@media (max-width:640px) {
    .lunch_container,
    .dinner_container,
    .drink_container,
    .course_container {
        margin-top: 40px;
    }

    .lunch,
    .dinner {
        width: 94%;
        margin: auto;
    }

    .lunch .image,
    .dinner .image {
        min-width: 94px;
        height: 94px;
    }

    .lunch .price,
    .dinner .price {
        font-size: 12px;
        font-weight: bold;
        margin-top: 3px;
    }

    .price .tag {
        font-size: 9px;
        width: 40px;
        line-height: 1.4;
        margin-right: 5px;
        padding: 1px 0;
        margin-top: 1px;
    }

    .price .price_num {
        font-size: 12px;
    }

    .lunch .description,
    .dinner .description {
        font-size: 12px;
        line-height: 1.6;
    }

    .drink_list {
        width: 80%;
        margin: 8px auto 0;
    }

    .drink .name {
        font-size: 12px;
        line-height: 1.5;
    }

    .drink .price {
        font-size: 12px;
    }

    .drink .price .tag {
        display: none;
    }

    .course {
        padding: 20px 10px;
        border-bottom: 1px solid #ddd;
    }

    .course .image {
        min-width: 94px;
        height: 94px;
    }

    .course .text {
        margin-left: 10px;
    }

    .course h3 {
        font-size: 16px;
        border-width: 3px;
        padding: 0 5px;
    }

    .course .price {
        font-size: 12px;
        font-weight: bold;
        margin-top: 0px;
        width: 100%;
        height: 18px;
    }

    .course .price:last-of-type {
        margin-bottom: 10px;
    }

    .course .price .tag {
        width: 75px;
    }

    .course .description {
        margin-top: 5px;
        font-size: 12px;
        display: inline;
    }

    .course .readmore {
        margin-top: 4px;
        margin-right: 10px;
    }
}

/* ------------ coupon ------------ */
.coupon_container {
    margin-top: 70px;
}

.coupon {
    flex-wrap: nowrap;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 20px;
}

.coupon:first-of-type {
    margin-top: 60px;
}

.coupon .label {
    background-color: #deb544;
    padding: 3px;
    width: 85px;
    border-radius: 3px 0 0 3px;
}

.coupon .label .inner {
    width: 100%;
    height: 100%;
    border: 1px dashed #ddd;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coupon .label strong {
    color: #fff;
    font-size: 18px;
}

.coupon .label p {
    color: #fff;
    font-size: 10px;
}

.coupon .detail {
    background-image: linear-gradient(to bottom, #ffffff, #f8f8f8);
    padding: 15px;
    width: 100%;
    border-radius: 0 3px 3px 0;
}

.coupon .detail h3 {
    font-weight: bold;
    font-size: 17px;
}

.coupon .detail .tags {
    margin-top: 8px;
    margin-bottom: 12px;
}

.coupon .detail .tags p {
    font-size: 9px;
    color: #fff;
    text-align: center;
    min-width: 106px;
    margin-top: 7px;
    margin-right: 7px;
    line-height: 2;
}

.coupon .detail .tags p:nth-child(3n+1) {
    background-color: #de7fab;
}

.coupon .detail .tags p:nth-child(3n+2) {
    background-color: #d5c652;
}

.coupon .detail .tags p:nth-child(3n) {
    background-color: #5c8bad;
}

.coupon .detail .term,
.coupon .detail .expiration {
    position: relative;
    padding-left: 80px;
    margin-top: 6px;
}

.coupon .detail .term span,
.coupon .detail .expiration span {
    position: absolute;
    left: 0;
    background-color: #2b2b2b;
    color: #fff;
    border-radius: 2px;
    width: 60px;
    line-height: 1.8;
    font-size: 10px;
    text-align: center;
}

@media (max-width:640px) {
    .coupon_container {
        margin-top: 40px;
    }

    .coupon {
        width: 95%;
        margin:  30px auto 0;
        border-radius: 0;
    }

    .coupon:first-of-type {
        margin-top: 0;
    }

    .coupon .label {
        display: none;
    }

    .coupon .detail {
        background-image: none;
        padding: 10px;
    }

    .coupon:first-of-type .detail {
        border-top: 10px solid #deb544;
    }

    .coupon .detail h3 {
        font-size: 16px;
    }

    .coupon .detail .tags {
        margin: 0;
    }

    .coupon .detail .term,
    .coupon .detail .expiration {
        padding-left: 5px;
        padding-top: 20px;
        font-size: 12px;
        margin-top: 8px;
    }

    .coupon .detail .term span,
    .coupon .detail .expiration span {
        font-size: 10px;
        color: #000;
        background-color: transparent;
        font-weight: bold;
        top: 0;
        width: auto;
    }
}

/* ------------ appearance ------------ */
.seat_container {
    margin-top: 70px;
}

.seat:not(:first-of-type) {
    margin-top: 45px;
}

.shop_detail .seat .sub_ttl {
    margin-top: 25px;
}

.seat .detail {
    flex-wrap: nowrap;
    margin-top: 20px;
}

.seat .detail .image {
    min-width: 352px;
    height: 352px;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
    margin-right: 16px;
}

.seat .detail h4 {
    font-size: 20px;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    border-left: 6px solid #e68719;
    margin-top: 5px;
    margin-bottom: 20px;
}

.seat .detail .seat_info {
    position: relative;
    padding-left: 80px;
    margin-top: 9px;
}

.seat .detail .seat_info span {
    position: absolute;
    left: 0;
    width: 70px;
    color: #fff;
    text-align: center;
    background-color: #2b2b2b;
    font-size: 12px;
    line-height: 1.7;
}

.seat .detail .description {
    margin-top: 20px;
}

.seat .detail .notice {
    margin-top: 20px;
    font-size: 12px;
}

@media (max-width:640px) {
    .seat_container {
        margin-top: 40px;
    }

    .seat {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    .seat:not(:first-of-type) {
        margin-top: 38px;
    }

    .seat .detail {
        width: 95%;
        margin: 20px auto 0;
    }

    .seat .detail .image {
        min-width: 94px;
        height: 94px;
        margin-right: 10px;
    }

    .seat .detail h4 {
        font-size: 16px;
        border-width: 3px;
        padding: 0 5px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .seat .detail .seat_info {
        font-size: 12px;
        font-weight: bold;
        padding-left: 70px;
        margin-top: 5px;
    }

    .seat .detail .seat_info span {
        font-size: 8px;
        width: 60px;
    }

    .seat .detail .description {
        font-size: 12px;
        margin-top: 10px;
    }

    .seat .detail .notice {
        font-size: 10px;
        margin-top: 10px;
    }
}

/* ------------ course_detail ------------ */
.course_container .course_name {
    font-size: 20px;
    border-left: 9px solid #e68719;
    font-weight: bold;
    padding: 8px 10px 8px 15px;
}

.course_detail {
    flex-wrap: nowrap;
    margin-top: 15px;
}

.course_detail .images {
    margin-right: 16px;
}

.course_detail .main_image {
    width: 352px;
    height: 352px;
}

.course_detail .thumbnails {
    margin-top: 16px;
    justify-content: space-between;
}

.course_detail .thumbnail {
    width: 76px;
    height: 76px;
    background-color: #ddd;
}

.course_detail .notice {
    margin-top: 20px;
    padding-left: 14px;
}

.course_detail .detail h4 {
    margin-top: 25px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
}

.course_detail .detail .coupon_info,
.course_info .coupon {
    font-size: 14px;
    position: relative;
    padding-left: 50px;
    margin-top: 10px;
    border: 0;
}

.course_detail .detail .coupon_info span,
.course_info .coupon .label {
    color: #fff;
    background-color: #e68719;
    font-size: 12px;
    text-align: center;
    width: 40px;
    position: absolute;
    left: 0;
    line-height: 1.8;
    padding: 0;
}

.course_info {
    margin-top: 26px;
}

.course_info p {
    position: relative;
    padding: 8px 7px 6px 185px;
    border-top: 1px solid #ddd;
    margin-top: 2px;
}

.course_info p.red {
    color: #de3500;
}

.course_info p .head {
    width: 168px;
    height: calc(100% - 2px);
    position: absolute;
    left: 0;
    top: 2px;
    background-color: #eee;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

.course_info p:last-child {
    border-bottom: 1px solid #ddd;
}

.course_info p:last-child .head {
    height: calc(100% - 4px);
}

.course_info p .large {
    font-size: 18px;
    font-weight: bold;
    padding: 0 2px;
}

@media (max-width:640px) {
    .course_container {
        width: 95%;
        margin: auto;
    }

    .course_container .course_name {
        font-size: 16px;
        border-width: 6px;
        padding: 7px 7px 7px 10px;
        margin-bottom: 20px;
    }

    .course_detail {
        flex-direction: column;
        align-items: center;
    }

    .course_detail .images {
        margin-right: 0;
        width: 80%;
    }

    .course_detail .main_image {
        width: 100%;
        height: 100%;
    }

    .course_detail .thumbnails {
        margin-top: 2.5%;
    }

    .course_detail .thumbnail {
        width: 23%;
        height: 23%;
    }

    .course_detail .detail {
        width: 80%;
        margin-top: 10px;
    }

    .course_detail .detail h4 {
        margin-top: 18px;
    }

    .course_info p {
        padding-left: 100px;
    }

    .course_info p .head {
        width: 90px;
        font-size: 12px;
    }

    .course_info p:nth-of-type(n+3) {
        font-size: 12px;
    }

    .course_info p:last-child {
        display: none;
    }

    .course_info p:nth-last-of-type(2) {
        border-bottom: 1px solid #ddd;
    }

    .course_info p:nth-last-child(2) .head {
        height: calc(100% - 4px);
    }
}
