/*
 * ヘッダ、コンテンツ、外部リンク、トップへ移動するボタンを非表示にする
 */
.back-to-top {
    display: none;
}

/* コンテンツ */
.contents {
    /* padding-top: 71px; */
    padding-top: 106px;
}

p {
    color: #645c62;
}

/* スライダ　*/
.bx-wrapper img {
    display: -webkit-inline-box;
    width: 100%;
    height: auto;
}

.bx-wrapper {
    border: 0;
    box-shadow: none;
    margin-bottom: 0;
    z-index: -1;
}

.content-wrapper-link:hover,
.content-wrapper-link:focus {
    background-color: transparent;
}


.news {
    padding-top: 20px!important;
    padding-bottom: 20px!important;
    background-color: #f6f6f6;
}

/* 業態リンク */
.slide-out-link {
    padding: 12px 0;
    background-color: #f1f1f1;
}

.slide-out-link .section-title {
    margin: 15px 0;
}

.title-gyotai {
    padding-top: 14px;
}

.red-right {
    color: red;
}


.pc-bottom-15 {
    margin-bottom: 15px;
}

/* お知らせ */
.news-header-tag {
    padding: 6px;
    background-color: white;
    border: solid 1px #ded9d9;
    /*width: 205px;*/
    font-size: 18px;
    width: 173px;
}

.listNews {
    padding: 5px;
    margin: 0;
    font-size: 1.5rem;
}

.listNews dt {
    float: left;
    width: 140px;
    font-weight: 100;
}

.listNews dd {
    color: #3366cc;
    display: inline-block;
    width: calc(100% - 300px);
}

.for-news-list {
    text-align: right;
    font-weight: 200;
    font-size: 1.5rem;
    width: 140px;
    float: right;
    background-color: white;
    padding: 6px;
    border: solid 1px #ded9d9;
}

/* メニュー */
.img-responsive {
    margin: 0 auto;
}

.menu-card-item {
    overflow: hidden;    /*拡大時にはみ出た部分を隠す*/
}

.menu-card-item img {
    display: block;
    transition-duration: 0.3s;    /*変化に掛かる時間*/
}

.menu-card-item img:hover {
    transform: scale(1.1);    /*画像の拡大率*/
    transition-duration: 0.3s;    /*変化に掛かる時間*/
}

.slider-show {
    z-index: 1;
}

.slide-out-link {
    position: relative;
    margin-top: -108px;
    margin-right: 31px;
    z-index: 0;
    float: right;
    height: 90px;
    background-color: rgba(254, 254, 254, 0.8);
    border-radius: 5px;
}

.news-tag {
    background-color: grey;
    color: white;
    margin-right: 12px;
    text-align: center;
}

.listNews dt:first-child {
    clear: both;
    width: 80px;
}

ul {
    list-style: none;
}

.banner-block {
    margin-bottom: 12px;
}

.gyotai-link-item-header,
.banner-header {
    padding: 12px 0;
    text-align: left;
    width: 100%;
}

.banner-header {
    color: black;
    font-size: 2rem;
}

.banner-image {
    width: 100%;
    height: auto;
}

.gyotai-link-sp {
    display: none !important;
}

/*
.gyotai-link,
.gyotai-link1,
.gyotai-link2 {
    width: 100%;
    padding: 0;
    display: flex;
}
*/

.gyotai-link-item {
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    padding: 0;
    text-align: center;
    /*width: 80%;*/
}

.gyotai-link-log {
    height: 65px;
}

.gyotai-link-item:nth-child(n + 1) {
    border-right: 0;
}

.gyotai-link-item:nth-child(3n) {
    border-right: solid 1px #ced2ce;
}

.gyotai-link-item img {
    width: 80%;
}
.gyotai-link-other-txt{
	height: 0.8rem;
}

.bland-catch {
    text-align: center;
    /*padding: 6px 0 12px 0;*/
}

.main-text {
    color: red;
    font-size: 1.2rem;
}

.gyotai-link-sp .main-text {
    font-size: 1.1rem;
}

.gyotai-link-sp .form-text {
    font-size: 1.0rem;
}

.other-msg {
    font-size: 2vw;
    margin: 0;
    position: relative;
    top: -17px;
}

/* 安楽亭ベトナムのロゴ対応 */
@media (max-width: 1200px) {
	.gyotai-link-log {
        height: 55px;
    }
}

/* スマホ対応 */
@media (max-width: 991px) {
    .gyotai-link-log {
        height: 85px;
    }

    .gyotai-link-pc {
        display: none;
    }
    
    .gyotai-link-sp {
        display: flex !important;
    }
    
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .anrakutei-link img {
        margin: 0 auto;
    }
    
    .nav-line {
        display: none;
    }
    
    .normal-out-link .gyotai-link {
        text-align: center;
    }
    
    .normal-out-link {
        display: block;
    }
    
    .slide-out-link,
    .header-right {
        display: none;
    }
    
    .gyotai-link .col-xs-6 {
        margin-top: 3px;
        border-right: solid 1px #ced2ce;
    }
    
    .gyotai-link-item {
        border-left: solid 1px #ced2ce;
        /*padding: 0.5rem;*/
        text-align: center;
        /*width: 33%;*/
    }

    .text-muted {
        color: #777;
        font-size: 0.8rem !important;
    }

    .news-sp {
        display: block !important;
        width: 100% !important;
        clear: both;
        padding: 6px;
    }

    .menu-card {
        height: 250px;
    }

    .menu-card .dis {
        border-top: solid 1px grey;
        border-left: solid 1px grey;
        border-right: solid 1px grey;
        padding: 12px;
    }

    .dis>h2 {
        font-size: 1.6rem;
    }

    .dis>p {
        font-size: 1.4rem;
    }

    .menu-card .image {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        border-left: solid 1px grey;
        border-right: solid 1px grey;
        border-bottom: solid 1px grey;
    }

    /* 一行に２つ並ぶ */
    .card2 .dis,
    .card3 .dis {
        width: 100%;
        height: 60%;
    }

    .card2 .image,
    .card3 .image {
        width: 100%;
        height: 40%;
    }

    /* 一行に一つ並ぶ */
    .card1 .dis {
        width: 50%;
    }

    .card1 .image {
        width: 50%;
    }

    .card1 .dis>h2:after {
        border: solid transparent;
        content: ' ';
        height: 0;
        left: 50%;
        position: absolute;
        width: 0;
        border-width: 25px;
        border-left-color: white;
        top: 38%;
    }

    .card2 .dis>h2:after,
    .card3 .dis>h2:after {
        content: ' ';
        height: 0;
        position: absolute;
        width: 0;
        border: 20px solid transparent;
        border-top-color: white;
        top: 59%;
        left: 45%;
        margin-left: -10px;
    }

    .saiyou-card {
        margin: 15px 0;
    }
    
    /* MA */
    .ma-card .image {
        background: url(../img/ma-top-sp.jpg);
        background-position: center;
    }
    
    /* FC */
    .fc-card .image {
        background: url(../img/fc-top-sp.jpg);
        background-position: center;
    }
    
    /* 事業協力 */
    .jigyo-card .image {
        background: url(../img/jigyo-top-sp.jpg);
        background-position: center;
    }

    /* 業態紹介 */
    .gyoutai-card .image {
        background: url(../img/gyoutai-top-sp.jpg);
        background-position: center;
    }

    /* 企業情報 */
    .company-card .image {
        background: url(../img/company-top-sp.jpg);
        background-position: center;
    }

    .saiyou-card {
        margin: 15px 0;
    }

    /* 採用情報 */
    .saiyou-card .dis {
        height: 100%;
        border-top: solid 1px grey;
        border-left: solid 1px grey;
        border-bottom: solid 1px grey;
        border-right: none;
        float: left;
        padding: 12px;
    }

    .saiyou-card .image {
        background: url(../img/saiyou-top-sp.jpg);
        background-position: right;
        height: 100%;
        float: right;
        border-top: solid 1px grey;
        border-right: solid 1px grey;
        border-left: none;
        border-bottom: solid 1px grey;
    }

    /* ＩＲ */
    .ir-card .image {
        background: url(../img/ir-top-sp.jpg);
        background-position: center;
    }

    /* 店舗検索 */
    .tenpo-card .image {
        background: url(../img/tenpo-top-sp.jpg);
        background-position: center;
    }

    /* お問い合わせ */
    .jigyokeisyou-card .image {
        background: url(../img/jigyokeisyou-top-sp.jpg);
        background-position: center;
    }

    .sp-right-75 {
        padding-right: 7.5px !important;
    }

    .sp-left-75 {
        padding-left: 7.5px;
    }
    
    .sp-bottom-15 {
        margin-bottom: 15px;
    }
}

/* スマホトップメニュー三つ並び際の微調整　*/
@media (max-width: 767px) and ( min-width: 361px) {
    /* 店舗検索 */
    .tenpo-card {
        padding-right: 15px;
    }

    /* お問い合わせ */
    /*.jigyokeisyou-card {
        margin-top: 15px;
    }*/

    .news-header-tag {
        width: 200px;
        font-size: 2rem;
    }

    .gyotai-link-log {
        margin: 0;
        height: 50px;
    }
}

/* iPhone SEなどの小さい画面の対応 */
@media (max-width: 360px) {
    .gyotai-link-log {
        height: 45px;
    }

    .card2 .dis>h2:after, .card3 .dis>h2:after {
        content: ' ';
        height: 0;
        position: absolute;
        width: 0;
        border: 20px solid transparent;
        border-top-color: white;
        top: 45%;
        left: 45%;
        margin-left: -10px;
    }
    
    .saiyou-card {
        height: 200px !important;
    }
    
    .card2 .image, .card3 .image {
        height: 55% !important;
    }

    .card2 .dis, .card3 .dis {
        width: 100%;
        height: 45%;
    }

    /*.mt15 {
        margin-top: 15px;
    }*/

    .for-news-list {
        font-size: 1.3rem;
        width: 130px;
    }

    .news-header-tag {
        width: 150px;
        font-size: 1.5rem;
    }
    
    .gyotai-link-title {
        font-size: 1.3rem;
    }

    .menu-card {
        height: 160px;
    }

    .dis>h2 {
        font-size: 1.55rem;
    }

    .dis>p {
        display: none;
    }
    
    .saiyou-card .dis>.sp {
        display: block;
        font-size: 1.2rem !important;
    }
    
    .banner-header {
        font-size: 14px !important;
    }
}


/* PC対応 */
@media (min-width: 992px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    .gyotai-link-item:nth-child(4) {
        border-left: 0;
    }

    .header {
        position: absolute;
        width: 100%;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-line {
        display: block;
    }
    
    .slide-out-link,
    .header-right {
        display: block;
    }

    .menu-card {
        height: 220px;
    }

    .menu-card .dis {
        height: 100%;
        border-top: solid 1px grey;
        border-left: solid 1px grey;
        border-bottom: solid 1px grey;
        float: left;
        padding: 12px;
    }

    .dis>h2 {
        font-size: 2.2rem;
    }

    .dis>p {
        font-size: 1.6rem;
    }

    .menu-card .image {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        height: 100%;
        float: right;
        border-top: solid 1px grey;
        border-right: solid 1px grey;
        border-bottom: solid 1px grey;
    }

    /* 一行に２つ並ぶ */
    .card2 .dis {
        width: 67%;
    }

    .card2 .image {
        width: 33%;
    }

    .gyoutai-card .dis>h2:after {
        left: 66% !important;
    }

    .ir-card .dis>h2:after {
        left: 50% !important;
    }

    .card2 .dis>h2:after {
        border: solid transparent;
        content: ' ';
        height: 0;
        left: 65%;
        position: absolute;
        width: 0;
        border-width: 25px;
        border-left-color: white;
        top: 38%;
    }

    /* 一行に一つ並ぶ */
    .card1 .dis {
        width: 50%;
    }

    .card1 .image {
        width: 50%;
    }

    .card1 .dis>h2:after {
        border: solid transparent;
        content: ' ';
        height: 0;
        left: 50%;
        position: absolute;
        width: 0;
        border-width: 25px;
        border-left-color: white;
        top: 38%;
    }

    /* 一行に三つ並ぶ */
    .card3 .dis {
        width: 50%;
    }

    .card3 .image {
        width: 50%;
    }

    .card3 .dis>h2:after {
        border: solid transparent;
        content: ' ';
        height: 0;
        left: 49%;
        position: absolute;
        width: 0;
        border-width: 25px;
        border-left-color: white;
        top: 38%;
    }


    /* 業態紹介 */
    .gyoutai-card .image {
        background: url(../img/gyoutai-top-pc.jpg);
    }

    /* 企業情報 */
    .company-card .image {
        background: url(../img/company-top-pc.jpg);
    }

    .saiyou-card {
        margin: 15px 0;
    }
    
    /* MA、FC、事業協力 */
    .ma-card,
    .fc-card,
    .jigyo-card {
        margin-bottom: 15px;
    }
    
    /* MA */
    .ma-card .image {
        background: url(../img/ma-top-pc.jpg);
    }
    
    /* FC */
    .fc-card .image {
        background: url(../img/fc-top-pc.jpg);
    }
    
    /* 事業協力 */
    .jigyo-card .image {
        background: url(../img/jigyo-top-pc.jpg);
    }

    /* 採用情報 */
    .saiyou-card .image {
        background: url(../img/saiyou-top-pc.jpg);
    }

    /* ＩＲ */
    .ir-card .image {
        background: url(../img/ir-top-pc.jpg);
    }

    /* 店舗検索 */
    .tenpo-card .image {
        background: url(../img/tenpo-top-pc.jpg);
    }

    /* お問い合わせ */
    .jigyokeisyou-card .image {
        background: url(../img/jigyokeisyou-top-pc.jpg);
    }

    .pc-right-75 {
        padding-right: 7.5px;
    }

    .pc-left-75 {
        padding-left: 7.5px;
    }
}

/*-- タブレット対応 --*/
@media (min-width: 768px) {
	.bannar-only-pc {
		display: block !important;
	}
	
	.bannar-only-sp {
		display: none !important;
	}
}

/*-- スマホ対応 --*/
@media (max-width: 767px) {
	.bannar-only-pc {
		display: none !important;
	}

	.bannar-only-sp {
		display: block !important;
	}
}