/* 201912
 * ヘッダーのデザインに伴う修正
 */

/* KVの表示開始位置を調整 */
/* 総合トップとホテル拠点トップ：SP */
#hero {
    margin-top: -50px;
}

@media screen and (min-width: 1001px) {
    /* 総合トップ：PC */
    #hero.hero--global {
        margin-top: -73px;
    }
    /* 総合英語ページ：PC */
    #hero.hero--global--en {
        margin-top: -68px;
    }
    /* ホテル拠点トップ：PC */
    #hero.hero--area {
        margin-top: -111px;
    }
    /* ホテル拠点英語ページ：PC */
    #hero.hero--area--en {
        margin-top: -65px;
    }
}

h1.l-header_logo {
    z-index: 100;
    position: relative;
}

header#header,
div#header-trigger:not(.is-open) {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 20%, rgba(255,255,255,0) 100%);
}
.l-header_inner.l-header_logo-wrapper {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 20%, rgba(255,255,255,0) 100%);
    z-index: 98;
}
@media screen and (min-width: 1001px) {
    .l-header_nav.l-header_nav-fixed {
        z-index: 101;
        background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.4) 20%, rgba(255,255,255,0) 100%);
    }
    #header-en .l-header_nav.l-header_nav-fixed {
        z-index: 101;
        background: none;
    }
}
div.main-hero {
    padding-top: 67px;
}
p.hero_heading.hero_heading-pc {
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}
@media print, screen and (max-width: 768px) {
    div.hero-heading {
        margin-top: 50px;
    }
}
@media print, screen and (min-width: 768px) {
    div.main-hero {
        padding: 73px 0 165px;
    }
}

/* 総合トップとホテル拠点トップ：KVの中に空室検索、レストラン予約モジュールが配置されている場合のスタイル */
@media print, screen and (min-width: 768px) {
    #hero > div.roomSearch.section-separate,
    #hero > div.roomSearch {
        background: rgba(0,0,0,0.5);
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }
    div.section-separate.roomSearch-wrapper {
        position: relative;
    }
}

@media print, screen and (min-width: 1001px) {
    .globalNav-child a {
        background: rgba(0,0,0,0.5);
    }
    .globalNav-child a:hover {
        background: rgba(0,0,0,0.2);
    }
    .l-header_inner-hide {
        visibility: hidden;
    }
}


/* 総合トップと下層のみ */
@media print, screen and (min-width: 768px) {
    #hero > div.roomSearch .roomSearch_submit {
        background: #43676b;
        color: #fff;
    }
    #hero > div.roomSearch .roomSearch_submit:hover {
        background: #fff;
        color: #43676b;
    }
}

/* 下層 */
#header-trigger.l-header--lowerpage,
.l-header_inner.l-header_inner--lowerpage,
#header.l-header--lowerpage,
#header.l-header--lowerpage .l-header-opened #header-logo,
#header.l-header--lowerpage.l-header-opened #header-logo {
    background: #fff !important;
}
@media print, screen and (max-width: 768px) {
    .l-header_inner.l-header_inner--lowerpage,
    #header.l-header--lowerpage {
        background: none;
    }
}

.l-header--hotellower a.globalNav_item[target="_blank"]:after,
.l-header--hotellower .globalNav-child a[target="_blank"]:after {
    margin-top: -6px;
    background-image: url(/assets/images/common/sprite.png);
    background-position: -60px -56px;
    width: 18px;
    height: 13px;
    background-size: 110px 91px;
}

.l-header--hotellower .l-header_nav.l-header_nav-fixed .globalNav_link-wedding a.globalNav_item:after,
.l-header--hotellower .l-header_nav.l-header_nav-fixed .globalNav_link-wedding .globalNav-child a:after,
.l-header--hotellower .globalNav-child .l-header_nav.l-header_nav-fixed .globalNav_link-wedding a:after {
    margin-top: 0;
    margin-left: 5px;
    background-image: url(/assets/images/common/sprite.png);
    background-position: -39px -32px;
    width: 12px;
    height: 10px;
    background-size: 72px 54px;
}

.l-header--lowerpage .l-header_icon span {
    background: #27403c;
}
.l-header--lowerpage.is-open .l-header_icon span {
    background: none;
}
.l-header--lowerpage .l-header_icon span:nth-of-type(2):before,
.l-header--lowerpage .l-header_icon span:nth-of-type(2):after {
    background: #27403c;
}

#header.l-header--lowerpage .globalNav-global_item a,
#header.l-header--lowerpage .globalNav-global_item .globalNav-global_label {
    color: #333333;
}

@media print, screen and (min-width: 1001px) {
    #header .globalNav-global_balloon .globalNav-global_balloon_inner::before {
        display: block;
        content: "";
        position: absolute;
        top: -24px;
        right: 44.8%;
        border: 8px solid transparent;
        border-bottom: 15px solid #27403c;
    }
    #header .globalNav-global_balloon .globalNav-global_balloon_inner::after {
        display: block;
        content: "";
        position: absolute;
        top: -20px;
        right: 45%;
        border: 7px solid transparent;
        border-bottom: 13px solid #fff;
    }
}

/* ホテルトップ */
@media print, screen and (min-width: 1001px) {
    .l-header.l-header--hotel .globalNav_button-search .button,
    .l-header.l-header--hotel .globalNav_button-tc .button {
        background: #5c9291;
        color: #fff;
        border-color: #5c9291;
    }
    .l-header.l-header--hotel .globalNav_button-search .button:hover,
    .l-header.l-header--hotel .globalNav_button-tc .button:hover {
        background: #fff;
        color: #5c9291;
    }
    .l-haeder_language_trigger {
        border: none;
        background: rgba(0,0,0,0.2);
        color: #FFF;
    }
    /* nagoya,matsuyamaのスタイルクリア */
    .globalNav-child {
        background: none;
    }
}

/* ホテル松山のヘッダー内部電話番号：PC時、電話番号の背景カラーをリセット */
@media print, screen and (min-width: 1001px) {
    .l-header_inner {
        background: none;
    }
}

#hero > div.roomSearch .roomSearch_submit.roomSearch_submit--hotel {
    background: #5c9291;
    color: #fff;
}
#hero > div.roomSearch .roomSearch_submit.roomSearch_submit--hotel:hover {
    background: #fff;
    color: #5c9291;
}

/* ホテル下層 */
#header.l-header--hotellower {
    background: #fff;
}

/* ホテル下層：白背景のため、テキストカラーを調整 */
#header.l-header--hotellower .globalNav a {
    color: #333333;
}

/* ホテル下層：SP時、電話番号ボタンのテキストカラーを調整 */
#header.l-header--hotellower .globalNav_button-tel .button-strong {
    color: #fff;
}

/* ホテル松山のヘッダー内部電話番号：SP時、電話番号ボタンの背景カラーを調整 */
#header .globalNav_button-tel .button-strong {
    background: #3d332a;
}
/* 20200305 ↑他拠点の電話番号ボタンのhoverに影響を及ぼしているので、全拠点同じになるように定義 */
@media print, screen and (min-width: 768px) {
    #header .globalNav_button-tel .button-strong:hover {
        background: #FFF;
        color: #3d332a;
    }
}
/* ホテル松山のヘッダー内部電話番号：PC時、電話番号の背景カラーをリセット */
@media print, screen and (min-width: 1001px) {
    #header .globalNav_button-tel .button-strong {
        background: none;
    }
}

/* ホテル下層：PC時、白背景のため、電話番号ボタンのテキストカラーを調整 */
@media print, screen and (min-width: 1001px) {
    #header.l-header--hotellower .globalNav_button-tel .button-strong {
        color: #333333;
    }
}

@media print, screen and (min-width: 1001px) {
    #header.l-header--hotellower .l-header_nav.l-header_nav-fixed {
        background: none;
    }
}

/* ホテル下層：SP時、PCの半透明スタイルを打ち消すため背景色を調整 */
#header.l-header--hotellower .globalNav-child a {
    background: none;
}
#header.l-header--hotellower .globalNav-child a:hover {
    background: none;
}
/* ホテル下層：PC時、透明背景のためナビゲーションの背景色を調整 */
@media print, screen and (min-width: 1001px) {
    #header.l-header--hotellower .globalNav-child a {
        background: rgba(255, 255, 255, 1);
    }
    #header.l-header--hotellower .globalNav-child a:hover {
        background: rgba(255, 255, 255, 0.8);
    }
}

#header.l-header--hotellower .l-header_inner {
    background: #fff;
}

/* 販促テンプレート用 */
@media screen and (min-width: 768px) {
  .note_image--fit img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
}

.note-max {
    background: #FFF;
    margin: 0 -20px -40px;
}
@media screen and (min-width: 768px) {
  .note-max {
    width: calc(100% + 40px);
    margin: 0 -20px -60px;
  }
}
@media screen and (min-width: 1001px) {
  .note-max {
    width: 100vw;
    margin: 0 calc((1000px - 100vw)/2) -60px;
  }
}
