body {
    color: #333;
}

p {
    font-size: .95rem;
    margin: 1rem auto;
}

i {
    margin-right: 10px;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    opacity: .6;
    color: #666;
}

ul {
    list-style: none;
}


/*** HEADER ***/

.container-fluid {
    border-top: solid 6px #8E2126;
}

.nav-brand {
    margin: 0;
    background: #E2E2E2;
    text-align: center;
    font-size: .8rem;
    color: #8E2126;
    font-weight: bold;
}

.nav-brand img {
    width: 170px;
    margin-bottom: 0;
}

.header-nav {
    background: #454542;
    color: #fff;
}

header .nav-link {
    font-size: 14px;
    display: block;
    padding: 12px;
    white-space: nowrap;
    color: #fff!important;
    line-height: 1.71428;
    text-decoration: none;
}

.header-image img {
    width: 100%;
}


/*** CONTENT ***/

h1 {
    background-image: url(images/header-bg.jpg);
    height: 160px;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    font-size: 1.8rem;
}

.h1-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: normal;
    margin-top: 5px;
}

h2 {
    background: #8E2126;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    font-size: 1.3rem;
}

h3 {
    position: relative;
    padding-top: 10px;
    border-bottom: 2px solid #000;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h3:before {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 14%;
    height: 2px;
    content: '';
    background: #8E2126;
}

h4 {
    padding-left: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    border-left: 8px solid #cc0018;
}

h5 {
    display: inline-block;
    background: #666;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 20px;
}

.marker {
    /*    background: linear-gradient(transparent 65%, #ffadad 65%);*/
    background: linear-gradient(transparent 65%, #FFE19C 65%);
    font-weight: bold;
}

.text-red {
    color: #8E2126;
}

.text-small {
    font-size: .8rem;
}

.text-block {
    display: block;
}

.text-muted {
    color: #aaa!important;
    font-size: .56rem;
    font-weight: 100;
}

.content-section {
    margin: 0 auto;
    max-width: 680px;
}

.content-section-intro {}

.content-section-intro p {
    /*    max-width: 100%;*/
    /*    margin: 0 auto;*/
    margin-bottom: 1rem;
}

.content-section-main-img {
    display: block;
    width: 80%;
    margin: 3rem auto;
}

.main-table {
    font-size: .8em;
    max-width: 640px;
    margin: 1rem;
}

.main-table th,
.main-table td {
    border: solid 1px #ddd;
    padding: 10px 5px;
}

.main-table th {
    background: #eee;
    font-size: 1.05em;
    width: 25%;
}

.main-box {
    background: #f6f6f6;
    padding: 1rem;
    margin: 2rem 1rem;
    max-width: 640px;
    font-size: .95rem;
}

.main-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
    line-height: 2;
    font-weight: bold;
    font-size: .9rem;
}

.main-list i {
    color: #8E2126;
    font-size: .6rem;
}

.main-steps {
    font-size: .9rem;
    background: #fff;
}

.main-steps td {
    padding: 5px 10px;
    vertical-align: top;
}

.main-steps-num {
    color: #8E2126;
    font-weight: bold;
    margin-right: 10px;
}

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #8BBCC4;
}

.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    background: #8BBCC4;
    color: #ffffff;
    font-weight: bold;
}

.box28 p {
    margin: 0;
    padding: 0;
}

.calc-box-inner {
    display: flex;
    justify-content: center;
    margin: 1rem;
}

.calc-box label {
    margin-bottom: 5px;
}

.honna,
.honna2,
.honna3 {
    width: 80px;
}

.calc-input {
    margin: 0 1rem;
}

.calc-ans {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: dashed 1px #8E2126;
    padding: 1rem;
    margin: 0 1rem;
    text-align: center;
    background-image: url(images/calculator_icon_150972.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-weight: bold;
}

.calc-ans .f-sm-2 {
    text-align: end;
}

.ca-kekka {
    font-weight: bold;
    font-size: 1.5rem;
}

.pref-list {
    font-size: .8rem;
    margin-bottom: 2rem;
}

.main-btn {
    display: block;
    background: #666;
    color: #fff;
    margin: 1rem auto;
    width: 150px;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 1rem;
}

.pagination .page-item .page-link {
    background: #666;
    color: #fff;
    border: solid 3px #fff;
    padding: 4px 12px;
    height: 38px;
}

.pagination .page-item.disabled {
    opacity: .4;
}


/*** ジム検索 ***/

.pref-list {
    background-image: url(images/pref-bg.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.gym-list-item {
    margin-bottom: 2rem;
}

.gym-list-item h3 {
    font-size: .9rem;
}

.gym-list-item-points {
    background: #f9f9f9;
    margin-top: .5rem;
}

.gym-list-item-points .pr_youten {
    padding: 1rem;
}

.gym-list-item-points .pr_youten li .ac-box {
    margin-bottom: 15px;
}

.gym-list-item-points .pr_youten li .ac-box input {
    display: none;
}

.gym-list-item-points .pr_youten li label {
    font-weight: bold;
    background-image: url(images/check-circle-fill.svg);
    background-repeat: no-repeat;
    background-position: 0;
    padding-left: 20px;
}

.gym-list-item-points .pr_youten li .ac-small p {
    margin: 0;
    font-size: .8rem;
}

.gym-list-item-facility {
    font-size: .8rem;
}

.gym-list-item-facility .facility_infotable th {
    padding-right: 10px;
    vertical-align: top;
    width: 90px;
}

.gym-list-item-infolist:empty {
    display: none;
}

.gym-list-item-infolist .infolist_back {
    /*    border: solid 1px #ddd;*/
    font-size: .8rem;
}

.gym-list-item-infolist .infolist_back h3:before {
    border-bottom: solid 2px #fff;
}

.gym-list-item-infolist .infolist_back h3 {
    padding: 5px;
    margin: 10px 0 5px 0;
    border-bottom: none;
    background: #ddd;
    font-weight: normal;
}

.gym-list-item-infolist .infolist_back ul {
    /*    padding-left: 0;*/
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
}

.gym-list-item-infolist .infolist_back ul li {
    margin-right: 15px;
}


/*** Side ***/

#side .side-section {
    margin-bottom: 1rem;
}

#side h1 {
    position: relative;
    height: 50px;
    margin-right: 60px;
    word-break: break-all;
    color: #fff;
    background: #8E2126;
}

#side h1:after {
    position: absolute;
    top: 0;
    right: -50px;
    width: 0;
    height: 0;
    content: '';
    border-width: 50px 50px 0 0;
    border-style: solid;
    border-color: #8E2126 transparent transparent transparent;
}

#side ul {
    list-style: none;
    padding-left: 0;
}

#side ul li {
    position: relative;
    height: 40px;
    margin-right: 80px;
    word-break: break-all;
    color: #fff;
    background: #454542;
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: solid #BFA5A3 2px;
}

#side ul li:after {
    position: absolute;
    top: 0;
    right: -40px;
    width: 0;
    height: 0;
    content: '';
    border-width: 40px 40px 0 0;
    border-style: solid;
    border-color: #454542 transparent transparent transparent;
}

#side ul li a {
    font-size: 1rem;
    color: #fff!important;
}


/*** FOOTER ***/

footer {
    margin: 3rem;
    text-align: center;
    font-size: .7em;
}


/*** BANNER ***/

.banners {
    width: 100%;
    text-align: center;
}

.banner-long {
    display: block;
    margin: 10px auto;
}

.banner-640 {
    display: block;
    margin: 40px auto;
}

.banner-468 {
    display: block;
    margin: 40px auto;
}

.banner-300 {
    display: none;
}

.banner-180 {
    display: block;
    margin: 10px auto;
}

@media (max-width: 992px) {
    .banner-180 {
        display: inline;
    }
    .banner-long {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner-468 {
        display: block;
        margin: 10px auto;
    }
    .banner-300 {
        display: none;
    }
}

@media (max-width: 576px) {
    .banner-468 {
        display: none;
    }
    .banner-300 {
        display: block;
        margin: 10px auto;
    }
}

@media (max-width: 360px) {
    .banner-180 {
        display: block;
    }
}


/*** Media Querie ***/

@media (max-width: 576px) {
    .nav-brand {
        font-size: .6rem;
    }
    .nav-brand img {
        width: 110px;
    }
    .header-nav li {
        width: 50%;
    }
    .header-nav li .nav-link {
        line-height: 1;
        padding: 10px;
        font-size: .7em;
    }
    .content-section {
        padding: 25px 0;
    }
    h1 {
        font-size: 1.2rem;
        height: 100px;
    }
    .h1-sub {
        font-size: .7em;
    }
    h2 {
        font-size: 1rem;
    }
    h3 {
        font-size: 1rem;
    }
    h5 {
        font-size: 1rem
    }
    .main-list {
        padding-left: 0;
        font-size: 80%;
    }
    .main-box {
        font-size: 90%;
        margin: 1rem 0;
    }
    .box28 {
        font-size: 90%;
    }
    .main-steps {
        font-size: .8rem;
    }
    .main-steps-num {
        margin-right: 0;
    }
    .calc-box {
        padding: 5px 0px;
    }
    .calc-box-inner {
        margin: 1rem 0;
    }
}
