@charset "UTF-8";

html,
body {
  height: 100%;
}

body.fixed {
  overflow-y: hidden;
  width: 100%;
  max-width: 500px;
  transform: translateX(-50%);
}

.main {
  width: 100%;
  height: 100%;
  padding-top: 56px;
}
.main.no_header {
  padding-top: 0;
}
#wrap {
  width: 100%;
  min-height: 100%;
  position: relative;
  max-width: 500px;
  margin: auto;
}

.container {
  width: 100%;
  max-width: 1314px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 56px;
  z-index: 101;
  background-color: #fff;
  transition: 0.35s;
}
.header__inner {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header__inner h1 {
  font-size: 18px;
  font-weight: 600;
  line-height: 140%;
}
.header__inner .x_btn_area {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 24px;
  height: 24px;
}

.header__inner .x_btn_area .x_btn {
  background: url(../_img/icon/icon_x_btn.svg) no-repeat center center/contain;
  width: 100%;
  height: 100%;
}
.header__inner .back_area {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  width: 28px;
  height: 28px;
}

.header__inner .back_area .back_btn {
  background: url(../_img/icon/icon_back.svg) no-repeat center center/contain;
  width: 100%;
  height: 100%;
}
.header__inner_B {
  height: 100%;
  width: 100%;
}
.header__inner_B .scroll {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-y: hidden;
  overflow-x: auto;
  width: 100%;
}
.header__inner_B > * {
  flex-shrink: 0;
}

.header__inner_B em {
  white-space: nowrap;
}
.header__inner_B .alarm-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #e5e5ec;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__inner_B .alarm-btn p {
  background: url(../_img/icon/icon_alarm.svg) no-repeat center center / contain;
  width: 20px;
  height: 20px;
}
.header__inner_B .plus-btn {
  padding: 0 12px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #e5e5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.header__inner_B .plus-btn::before {
  content: "";
  background: url(../_img/icon/icon_plus.svg) no-repeat center center / contain;
  width: 12px;
  height: 12px;
}
.bottom_fix {
  position: fixed;
  bottom: 0;
  background: #fff;
  height: 92px;
  width: 100%;
  max-width: 500px;
  padding: 20px;
  z-index: 10;
}
.bottom_fix.border {
  border-top: 1px solid #f8f8f8;
}
.bottom_nav {
  position: fixed;
  z-index: 10;
  bottom: 0;
  background: #fff;
  height: 57px;
  width: 100%;
  max-width: 500px;
  border-top: 1px solid #f8f8f8;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.bottom_nav ul {
  display: flex;
  width: 100%;
  gap: 15px;
}
.bottom_nav ul li {
  flex: 1;
}
.bottom_nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.bottom_nav ul li p {
  color: #111111;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  font-weight: 500;
}
.bottom_nav ul li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.bottom_nav ul li.active p {
  color: #355aa8;
}
.bottom_nav ul li.mypage.active img {
  content: url(../_img/icon/icon_mypage_on.svg);
}
.bottom_nav ul li.home.active img {
  content: url(../_img/icon/icon_home_on.svg);
}
