@charset "UTF-8";

/*=== 表示リスト ===*/
.config {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.config-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.config-item {
  flex-shrink: 0;
  width: 76px;
  border: solid 1px var(--color-border);
  overflow: hidden;
  will-change: transform, opacity;
}


/*=== JS制御 ===*/
.modal.is-configModalShow {
  opacity: 1;
  visibility: visible;
}
.js-configTabSwitchCont {
  display: none;
  flex-direction: column;
  height: 100%;
}
.js-configTabSwitchCont.is-configActive {
  display: flex;
}
.js-configModal .js-configTabSwitchBtn.is-configActive {
  color: var(--color-border);
  pointer-events: none;
}
.js-configModal .js-configTabSwitchBtn.is-configActive::before {
  background-color: var(--color-border);
}
.js-drag-highlight {
  display: inline-block;
  width: 76px;
  height: 40px;
  margin: 4px;
  border: 2px dashed var(--color-border);
  vertical-align: top;
  background-color: var(--color-base);
  border-radius: 5px;
  box-sizing: border-box;
}
.config .js-drag-highlight {
  width: 72px;
  margin: 0 2px;
}


/*=== フッター追従ナビ ===*/
.footFixNav {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  position: fixed;
  bottom: 170px;
  left: 0;
  background-color: rgb(from var(--color-bg-base) r g b / 0.7);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  z-index: 100;
  overflow: hidden;
  transform: translate(calc(-100% + 16px), 0);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.footFixNav.is-open {
  transform: translate(0, 0);
}
.footFixNav-side {
  flex-shrink: 0;
  width: 16px;
  height: 160px;
  background-color: rgb(from var(--color-deco) r g b / 0.5);
  color: #fff;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.footFixNav-side::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 22px;
  background-color: var(--color-bg-base);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}
.footFixNav.is-open .footFixNav-side::before {
  right: 5px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.footFixNav-item:not(:first-child) {
  position: relative;
}
.footFixNav-item:not(:first-child)::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 85%;
  height: 1px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}
.footFixNav-btn {
  width: 120px;
  height: 80px;
  padding-top: 5px;
  text-align: center;
}
.footFixNav-icon {
  display: block;
  margin: 0 auto;
}
.footFixNav-txt {
  display: block;
  font-weight: bold;
  font-size: calc(12px * var(--scale));
}


/*=== モーダル内ナビ ===*/
.modalNav {
  flex-shrink: 0;
  width: 240px;
  height: 100%;
  margin-right: 30px;
  padding: 0 5px 40px 0;
  font-weight: bold;
  line-height: 1.4;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  scrollbar-color: var(--color-border) var(--color-bg-base);
  scrollbar-width: thin;
}
.modalNav-inner {
  padding: 20px;
  background-color: var(--color-bg-section);
  border-radius: 10px;
}
.modalNav-cont:not(:first-child) {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #b3b3b3;
}
.modalNav-name {
  position: relative;
  padding-left: calc(20px * var(--scale));
  font-weight: bold;
  font-size: calc(var(--base-font-size) * var(--scale));
  text-align: left;
  line-height: 1.4;
}
.modalNav-name::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(2px * var(--scale));
  left: 0;
  width: calc(15px * var(--scale));
  height: calc(15px * var(--scale));
  background-color: var(--color-txt-main);
}
.modalNav-list {
  margin-top: 15px;
}
.modalNav-item {
  margin-top: 10px;
}
a.modalNav-link {
  display: block;
  position: relative;
  color: var(--color-txt-sub);
  padding-left: 2em;
}
a.modalNav-link::before {
  content: "・";
  display: block;
  position: absolute;
  top: 0;
  left: 1em;
}
.modalNav-tutorial {
  width: 100%;
  margin-top: 20px;
  color: var(--color-txt-sub);
  font-weight: bold;
}


/*=== 設定 ===*/
.setting {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
}
.setting-btn {
  font-size: calc(12px * var(--scale));
  line-height: 1;
}
.setting-txt {
  display: block;
  margin-top: 5px;
  white-space: nowrap;
}


/*=== 天気 ===*/
.configWeather {
  width: auto;
  border: none;
  border-radius: 0;
}
.configWeather:not(:first-child) {
  border-left: 1px solid var(--color-border);
  padding-left: 10px;
}
a.configWeather-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.configWeather-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: calc(12px * var(--scale));
}
.configWeather-txt {
  white-space: nowrap;
}
.configWeather-mark {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.configWeather-temp {
  font-size: calc(var(--base-font-size) * var(--scale));
  line-height: 1;
}


/*=== モーダル内設定 ===*/
.modalSetting {
  flex: 1;
  height: 100%;
  overflow: hidden;
}
.modalSetting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.modalSetting-item:not(:first-child) {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}
.modalSetting-item:last-child {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}
.modalSetting-cont {
  flex-grow: 1;
}
.modalSetting-ttl {
  font-weight: bold;
  font-size: calc(18px * var(--scale));
}
.modalSetting-txt {
  color: var(--color-txt-sub);
  font-size: calc(15px * var(--scale));
}
.modalSetting-selector {
  flex-shrink: 0;
  position: relative;
  width: calc(160px * var(--scale));
  z-index: 0;
}
.modalSetting-switch {
  display: flex;
  justify-content: space-between;
  height: 40px;
  background-color: var(--color-bg-section);
  border-radius: 50px;
}
.modalSetting-btn {
  display: block;
  width: 50%;
  height: 100%;
  font-size: calc(15px * var(--scale));
  font-weight: bold;
  border-radius: 50px;
}
.modalSetting-btn.is-configActive {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-base);
  pointer-events: none;
}
.modalSetting-foot {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 30px;
}
.modalSetting-footBtn {
  width: 100%;
  max-width: 214px;
  min-height: 42px;
  padding: 5px 35px;
  border: 1px solid var(--color-border);
  font-weight: bold;
  line-height: 1.2;
  background-color: var(--color-border);
  border-radius: 50px;
}
.modalSetting-footBtn.type-reset {
  background-color: var(--color-bg-base);
}


/*=== お気に入り ===*/
.favorite-head {
  display: flex;
  align-items: center;
  gap: 20px;
}
.favorite-headline {
  position: relative;
}
.favorite-ttl {
  font-weight: bold;
  font-size: calc(18px * var(--scale));
}
.favorite-howto {
  position: relative;
  top: -1px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  margin-left: 10px;
  padding: 0;
  border: none;
  text-indent: 100%;
  white-space: nowrap;
  border-radius: 50%;
  cursor: pointer;
}
.favorite-txt {
  color: var(--color-txt-sub);
  font-size: calc(15px * var(--scale));
}
.favorite-inner {
  margin-top: 20px;
  padding: 20px 40px;
  background-color: var(--color-bg-main);
  border-radius: 10px;
}
.favorite-note {
  grid-column: 1 / -1;
  font-size: calc(15px * var(--scale));
}
.favorite-display {
  margin: 10px -20px 0;
  padding: 15px;
  font-size: 0;
  background-color: var(--color-bg-base);
  border-radius: 10px;
}
.favorite-display .favorite-item {
  border: solid 1px var(--color-border);
}
.favorite-main {
  margin-top: 30px;
}
.favorite-sec {
  margin-top: 20px;
}
.favorite-subttl {
  position: relative;
  padding-left: calc(20px * var(--scale));
  border-bottom: 1px solid #b3b3b3;
  font-size: calc(15px * var(--scale));
}
.favorite-subttl::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(8px * var(--scale));
  left: 0;
  width: calc(12px * var(--scale));
  height: calc(12px * var(--scale));
  background-color: var(--color-txt-main);
}
.favorite-list {
  margin: 10px -4px 0;
  font-size: 0;
}
.favorite-item {
  display: inline-block;
  width: 116px;
  margin: 0.6%;
  cursor: pointer;
  will-change: transform, opacity;
}
.favorite-item:hover {
  opacity: 0.7;
}


/*=== お気に入り登録方法 ===*/
.favHowto {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  max-width: 400px;
  padding: 20px 30px 30px;
  border: 1px solid var(--color-border);
  line-height: 1.2;
  background-color: var(--color-bg-base);
  border-radius: 10px;
  z-index: 5;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}
.favHowto-close {
  position: absolute;
  top: -12px;
  right: -12px;
  overflow: hidden;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  text-indent: 100%;
  white-space: nowrap;
  background-color: var(--color-bg-accent);
  border-radius: 50%;
  z-index: 5;
  cursor: pointer;
}
.favHowto-close::before,
.favHowto-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 15px;
  background: var(--color-bg-base);
  border-radius: 1.5px;
  transform: translate(-50%,-50%) rotate(45deg);
}
.favHowto-close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
.favHowto-ttl {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}
.favHowto-list {
  margin-top: 15px;
  font-size: calc(14px * var(--scale));
}
.favHowto-item {
  position: relative;
  margin-top: 10px;
  padding-left: 1.2em;
  counter-increment: number;
}
.favHowto-item::before {
  content: counter(number, decimal)".";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}


/*=== アクセシビリティ ===*/
.pattarn-theme .modalSetting-switch {
  background-color: transparent;
}
.pattarn-theme .modalSetting-btn {
  width: 40px;
  text-indent: 100%;
  white-space: nowrap;
  border-radius: 50%;
  overflow: hidden;
}
.modalSetting-btn.type-white {
  border: 1px solid #ccc;
  background-color: #fff;
}
.modalSetting-btn.type-gray {
  background-color: #d9d9d9;
}
.modalSetting-btn.type-dark {
  border: none;
  background-color: #000;
}
.pattarn-theme .modalSetting-btn.is-configActive {
  outline: 2px solid var(--color-bg-base);
  box-shadow: 0 0 0 4px var(--color-deco);
}


/*=== ユーザー設定 ===*/
.pattarn-region .modalSetting-selector {
  display: flex;
  gap: 10px;
  width: calc(300px * var(--scale));
}
.pattarn-birthday .modalSetting-selector {
  display: flex;
  gap: 10px;
  width: calc(300px * var(--scale));
}

/* 地域 */
#select-prefectures + .select2-container {
  width: 120px !important;
}
#select-city + .select2-container {
  width: 180px !important;
}

/* 生年月日 */
#birth-year + .select2-container {
  width: 110px !important;
}
#birth-month + .select2-container,
#birth-day + .select2-container {
  width: 85px !important;
}
#select2-birth-year-container,
#select2-birth-month-container,
#select2-birth-day-container {
  justify-content: flex-start;
  padding-left: 10px;
}

/* 選択肢 */
.usersetting .select2-container--default .select2-selection--single {
  height: 40px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-base);
  border-radius: 10px;
}
.usersetting .select2-container--default.select2-container--focus .select2-selection-- {
  border: 1px solid var(--color-border);
}
.usersetting .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: var(--color-txt-main);
  font-weight: bold;
  line-height: inherit;
}
.usersetting .select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 10px;
  width: 12px;
  height: 100%;
}
.usersetting .select2-container--default .select2-selection--single .select2-selection__arrow b {
  width: 12px;
  height: 8px;
  margin: 0;
  border: none;
  background-color: var(--color-deco);
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  transform: translate(-50%, -50%);
}
.select2-container {
  z-index: 2147483640;
}
body .select2-dropdown {
  border: 1px solid var(--color-border);
  color: var(--color-txt-main);
  background-color: var(--color-bg-base);
  border-radius: 10px;
  overflow: hidden;
}
body .select2-results__option {
  padding: 10px 15px;
  font-size: calc(14px * var(--scale));
}
body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--color-bg-section);
  color: var(--color-txt-main);
}
body .select2-container--default .select2-results__option--selected {
  background-color: var(--color-border);
  pointer-events: none;
}


/*=== サービス一覧 ===*/
.services .modal-ttl {
  padding-bottom: 0;
  border: none;
}
.services-sec + .services-sec {
  margin-top: 40px;
}
.services-subttl {
  border-bottom: 1px solid #b3b3b3;
  font-weight: bold;
  font-size: calc(18px * var(--scale));
}
.services-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px 15px;
  margin-top: 15px;
}
a.services-link {
  display: block;
  font-size: 0;
  text-align: center;
  line-height: 1.4;
}
.services-txt {
  margin-top: 10px;
  font-size: calc(14px * var(--scale));
}
.services-txt .is-blank {
  display: inline-block;
  margin-left: 5px;
}
.services-txt .is-new {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  color: #fff;
  font-size: calc(13px * var(--scale));
  line-height: 1;
  background-color: #ac2330;
}


/*=== 初回チュートリアル ===*/
.driver-fade .driver-overlay {
  z-index: 2147483640 !important;
}
.driver-popover {
  min-width: 190px;
  max-width: 190px;
  padding: 15px 15px 10px;
  background-color: #fdf6c4;
  border-radius: 10px;
  z-index: 2147483641;
  box-shadow: none;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
}
.driver-popover-arrow {
  left: calc(100% - 1px);
  width: 12px;
  height: 24px;
  margin: 0;
  border: none;
  background: #fdf6c4;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}
.driver-popover-arrow.driver-popover-arrow-side-right {
  left: auto;
  right: calc(100% - 1px);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.driver-popover-description {
  font-weight: bold;
  font-size: calc(14px * var(--scale));
}
.driver-popover-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  font-weight: bold;
  background-color: #000;
  border-radius: 50%;
}
.driver-popover-close-btn:hover {
  color: #fff;
}
.driver-popover-navigation-btns {
  justify-content: space-between;
}
.driver-popover-footer {
  margin-top: 10px;
}
.driver-popover-footer button {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  padding: 0;
  border: none;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  background-color: #000;
  border-radius: 100%;
  overflow: hidden;
  pointer-events: auto;
}
.driver-popover-footer button::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 8px;
  width: 10px;
  height: 15px;
  background-color: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}
.driver-popover-footer button:hover {
  background-color: #000;
  opacity: 0.7;
}
.driver-popover-prev-btn {
  transform: rotate(180deg) !important;
}
.driver-popover-footer .driver-popover-btn-disabled {
  opacity: 0;
}


/* ======================================================
 * PC Only
====================================================== */
@media print, screen and (min-width: 769px) {
  .js-modalNavTarget {
    display: block !important;
  }
}


/* ======================================================
 * SP
====================================================== */
@media print, screen and (max-width: 768px) {
  /*=== 表示リスト ===*/
  .config {
    order: 1;
    width: 100%;
  }
  .config-list {
    justify-content: flex-start;
    gap: 5px;
    padding-bottom: 5px;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-color: var(--color-border) var(--color-bg-base);
    scrollbar-width: thin;
  }


  /*=== JS制御 ===*/
  .js-drag-highlight {
    width: 70px;
    height: 30px;
    border: 1px dashed var(--color-border);
  }
  .config .js-drag-highlight {
    width: 66px;
  }
  .js-modalNavTarget {
    display: none;
  }
  .js-modalNavTarget.is-open {
    display: block;
  }


  /*=== フッター追従ナビ ===*/
  .footFixNav {
    display: none !important;
  }


  /*=== モーダル内ナビ ===*/
  .modalNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin-right: 0;
    padding: 0;
    z-index: 1;
  }
  .modalNav-inner {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
  }
  .modalNav-header {
    height: 40px;
    background-color: #666;
    border-radius: 10px 10px 0 0;
  }
  .modalNav-toggle {
    display: block;
    position: absolute;
    top: 2px;
    left: 5px;
    padding: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 100%;
    transition: none;
  }
  .modalNav-toggle:hover {
    opacity: 1;
  }
  .modalNav-icon {
    display: block;
    overflow: hidden;
  }
  .modalNav-wrap {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(80vh - 40px);
    padding: 15px 15px 40px;
    background-color: var(--color-bg-section);
    border-radius: 0 0 10px 10px;
    overflow-y: auto;
  }
  .modalNav-cont:not(:first-child) {
    margin-top: 20px;
  }
  .modalNav-tutorial {
    padding-top: 20px;
    border-top: 1px solid #b3b3b3;
  }


  /*=== 設定 ===*/
  .setting {
    padding-left: 0;
    border-left: none;
  }
  .setting-btn {
    font-size: calc(11px * var(--scale));
  }
  .setting-txt {
    margin-top: 2px;
  }


  /*=== 天気 ===*/
  .configWeather:not(:first-child) {
    padding-left: 5px;
  }
  .configWeather-detail {
    font-size: calc(10px * var(--scale));
  }


  /*=== モーダル内設定 ===*/
  .modalSetting-item {
    display: block;
    position: relative;
  }
  .modalSetting-item:not(:first-child) {
    margin-top: calc(20px * var(--scale));
    padding-top: calc(20px * var(--scale));
  }
  .modalSetting-item:last-child {
    padding-bottom: calc(20px * var(--scale));
  }
  .modalSetting-icon {
    position: absolute;
    top: 0;
    left: 0;
  }
  .modalSetting-item:not(:first-child) .modalSetting-icon {
    top: calc(20px * var(--scale));
  }
  .modalSetting-ttl {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-left: 55px;
    font-size: calc(16px * var(--scale));
  }
  .modalSetting-txt {
    margin-top: 10px;
    font-size: calc(13px * var(--scale));
  }
  .modalSetting-selector {
    width: 100%;
    margin: calc(15px * var(--scale)) auto 0;
  }
  .modalSetting-foot {
    gap: 15px;
    margin-top: 15px;
  }
  .modalSetting-footBtn {
    min-height: 36px;
    padding: 5px 0;
  }



  /*=== お気に入り ===*/
  .favorite-head {
    position: relative;
  }
  .favorite-icon {
    position: absolute;
    top: 0;
    left: 0;
  }
  .favorite-ttl {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-left: 55px;
    font-size: calc(16px * var(--scale));
  }
  .favorite-howto {
    width: 20px;
    height: 20px;
  }
  .favorite-txt {
    margin-top: 10px;
    font-size: calc(13px * var(--scale));
  }
  .favorite-inner {
    margin-top: 15px;
    padding: 20px 15px;
  }
  .favorite-note {
    font-size: calc(13px * var(--scale));
  }
  .favorite-display {
    margin: 10px 0 0;
    padding: 10px;
  }
  .favorite-subttl {
    font-size: calc(14px * var(--scale));
  }
  .favorite-subttl::before {
    top: calc(6px * var(--scale));
  }
  .favorite-item {
    width: 74px;
    margin: 4px;
  }


  /*=== お気に入り登録方法 ===*/
  .favHowto {
    top: 60px;
    padding: 15px 15px 20px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  }


  /*=== アクセシビリティ ===*/
  .pattarn-theme .modalSetting-selector {
    max-width: calc(180px * var(--scale));
  }


  /*=== ユーザー設定 ===*/
  .pattarn-birthday .modalSetting-selector {
    gap: 5px;
    width: 100%;
  }

  /* 生年月日 */
  #birth-year + .select2-container {
    width: 40% !important;
  }
  #birth-month + .select2-container,
  #birth-day + .select2-container {
    width: 30% !important;
  }


  /*=== サービス一覧 ===*/
  .services .modal-inner {
    padding-top: 20px;
  }
  .services-sec + .services-sec {
    margin-top: 30px;
  }
  .services-subttl {
    font-size: calc(16px * var(--scale));
  }
  .services-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 8px;
  }
  .services-txt {
    margin-top: 5px;
    font-size: calc(13px * var(--scale));
  }


  /*=== 初回チュートリアル ===*/
  .driver-popover {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
  }
  .driver-popover-description {
    font-size: calc(13px * var(--scale));
  }
  .driver-popover-close-btn {
    display: none !important;
  }
  .driver-popover-footer button {
    width: 28px;
    height: 28px;
  }
  .driver-popover-footer button::before {
    right: 9px;
    width: 8px;
    height: 12px;
  }
}
