@charset "UTF-8";


/*-----------------------------------------------------------------
		オリジナル
-----------------------------------------------------------------*/

/* メッセージ枠 */
#emergency {
  background: #d7edf2;
}

#emergency-txt {
  padding: 10px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#emergency-txt p {
  width: calc(100% - 85px);
  font-size: 1.2rem;
  line-height: 1.4;
}

#emergency-txt a:hover {
  opacity: .7;
  text-decoration: none;
}

.emergency-button {
  width: 70px;
}

/* 閉じる */
#emergency-txt button {
  width: 70px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  background: #333;
  border-radius: 20px;
}
#emergency-txt button:hover {
  opacity: 0.7;
}

.emergency-close {
  transition: 1s;
  opacity: 0;
  display: none !important;
}

@media screen and (max-width: 767px) {
#emergency-txt p {
  font-size: 1rem;
  line-height: 1.25;
}

#emergency-txt button {
  line-height: 34px;
}
}

/*-----------------------------------------------------------------
		SPヘッダー対応
-----------------------------------------------------------------*/
.l-header-outer {
  position: relative;
}

@media screen and (max-width: 980px) {
.l-header {
  position: relative;
}
.is-fixed .l-header {
  position: fixed;
}

.l-main {
  margin-top: 0;
}

#header-id.fixed {
  position: fixed !important;
  top: 0;
  padding: 0;
  width: 100%;
  z-index: 1000;
}
}

/* ハンバーガー展開時に非表示 */
.is-fixed #emergency {
  display: none;
}


