.media-flex-box {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
    justify-content: center;
}

.enq-bg {
    background: -moz-linear-gradient(#fff 50%, #eee 50%);
    background: -webkit-linear-gradient(#fff 50%, #eee 50%);
    background: linear-gradient(#fff 50%, #eee 50%);
}

.enq-top-icon dd {
    font-size: 1.46rem;
}

.enq-top-icon dd span {
    font-size: 2.36rem;
    font-weight: bold;
    color: #db8db2;
    font-family: 'Open Sans';
    padding: 0 .3rem;
}

.enq-top-icon {
    display: block;
    text-align: center;
    width: 100%;
    height: 17rem;
    border-radius: 50%;
    background: #fff;
    left: 0;
    top: .2rem;
    margin: -4rem auto 0;
    position: relative;
    max-width: 1200px;
}

.enq-top-icon p {
    position: relative;
    display: inline-block;
    margin-top: 7rem;
    padding-bottom: .3rem;
    border-bottom: 3px solid #1f1f1f;
}

.enq-top-icon p::before {
    position: absolute;
    left: -3.5rem;
    top: -4.3rem;
    content: "";
    display: inline-block;
    width: 12rem;
    height: 6rem;
    background: url(/assets/images/media_icon_text.svg) no-repeat;
    background-size: contain;
}

.arc-enq-nav-box {
    background-color: #eee;
    margin: 0;
    padding-bottom: 1rem;
    padding-top: 3rem;
}

.arc-enq-box {
    background-color: #eee;
    margin: 0;
    padding: 1rem 0;
}

.arc-enq-box-h2 {
    border-left: 4px solid #db8db2;
    font-size: 1.33rem;
    padding-left: 1rem;
    margin: 0 1rem 2rem;
    line-height: 1.2;
}

.arc-enq-nav-selectbox {
    display: flex;
}

.arc-enq-nav-selectbox dl {
    width: 48%;
}

.arc-enq-nav-selectbox dt {
    padding-left: 1.6rem;
}

.arc-enq-nav-selectbox dd select {
    width: 100%;
    padding: .66rem;
    border-radius: .66rem;
    border: 1px solid #fff;
}

.enq-matome {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (min-width:1200px) {
    .enq-matome {
        justify-content: flex-start;
        overflow-x: scroll;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .media-flex-box {
        justify-content: flex-start;
    }
}


/*関数で読み込んだnavに対してのstyle*/

.navigation {
    text-align: center;
    margin: 2rem;
}

.page-numbers {
    width: 3rem;
    background-color: #fff;
    height: 3.2rem;
    display: inline-block;
    text-align: center;
    line-height: 3.2rem;
    margin: 0 .33rem;
    font-weight: bold;
    font-family: 'Open Sans';
    font-size: 1.13rem;
    color: #1f1f1f;
    text-decoration: none;
}

.prev,
.next {
    width: 6rem;
    background-color: #1f1f1f;
    color: #fff;
}

.med-top-img {
    margin: 4rem auto 0;
    text-align: center;
    width: 100px;
}

.med-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.media-box {
    padding: 2rem .3rem 1rem;
    max-width: 400px;
    position: relative;
}

.media-line {
    border: 2px solid #fff;
}

.med-wrap {
    background-color: #fff;
    padding: 1.6rem 1rem;
}

.med-wrap-h2 {
    text-align: justify;
    border-left: .2rem solid #ff7600;
    padding-left: 1rem;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.4;
}

.med-wrap-h2 span {}

.med-wrap dl dt span {
    color: #ff7600;
}

.med-img {
    width: 100%;
    height: 12.66rem;
    border: 1px solid #aaa;
    border-radius: 2rem;
    object-fit: cover;
    margin: 1rem auto;
}

.med-rink {
    position: relative;
    padding-left: 3rem;
}

.med-rink p span {
    position: relative;
    padding-left: 2.33rem;
}

.med-rink::before {
    position: absolute;
    left: 0;
    top: .33rem;
    content: "";
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background: url(/assets/images/media_icon.svg) no-repeat;
    background-size: contain;
}

.med-rink p span::before {
    position: absolute;
    left: 0;
    top: -.7rem;
    content: "";
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background: url(/assets/images/arrow-med.svg) no-repeat;
    background-size: contain;
}

.med-new::before {
    position: absolute;
    left: 0;
    top: 0rem;
    content: "";
    display: inline-block;
    width: 6rem;
    height: 5rem;
    background: url(/assets/images/media-new.svg) no-repeat;
    background-size: contain;
}

.med-rink a {
    font-size: 1rem;
}

@media screen and (min-width:1200px) {
    .med-flex {
        justify-content: flex-start;
        overflow-x: scroll;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .media-box {
        min-width: 400px;
        flex-direction: column;
    }
}