/* 共通 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #F8FBFB;
    /* 背景色を変更 */
    color: #333;
    line-height: 1.5;
    padding: 0;
    /* bodyのpaddingを削除 */
    margin: 0;
}

body.is-modal-open {
  overflow: hidden;
}

header{
    padding: 12px;
    background:#192A62;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

h1 {
    margin: 0;
    padding: 0;
}

header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bb-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

h1 img{
    box-sizing: border-box;
}

h2{
    font-size: 32px;
    text-align: center;
    margin: 0 0 23px 0;
}

a {
    text-decoration: none;
}

.container{
    max-width: 830px;
    /* margin: 20px auto 40px; */
    margin: 0 auto 20px auto;
    padding: 23px 25px;
    border-radius: 8px;
    position: relative;
}

.bb-header-icon {
    width: 41px;
}

.bb-header {
    width: 205px;
}

.rt-card{
    background-color: #F2F2F2;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.contact-banner {
    background-color: #232F6A;
    padding: 10px 30px;
    /*border-bottom: 1px solid #e0e0e0;*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /*position: sticky;*/
    /*top: 80px;*/
    /*z-index: 10;*/
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
}

/*黄色バナー*/
.contact-banner.contact-banner--yellow{
    background-color: #FFA300;
}

.contact-banner p {
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

.contact-banner .contact-banner-btn {
    padding: 0 12px;
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    border: solid #ffffff 2px;
    border-radius: 8px;
}

/* 戻るボタン */
.container .back-btn {
    position: fixed;
    top: 112px;
    left: -27px;
    padding:9px 20px 9px 13px;
    font-size: 15px;
    border-radius: 50px;
    background: #ffffff;
    color: #1C72CD;
    box-shadow: 0 0 4px rgba(0,0,0,.25);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    max-width: 100px;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

.container .back-btn:hover {
    background: #f5f7ff;
}

button:disabled {
    opacity: 0.7 !important;
    cursor: default !important;
}

.rt-card{
    /* padding: 25px 30px 18px 25px; */
     background: #F2F2F2;
    /*background: #E9EEF7;*/
    border-radius: 10px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,.08); */
    box-sizing: border-box;
}


/* --------------------
    トップ
-----------------------*/
.container.nobeko-bb{
    padding-top: 35px;
}

.menu-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 30px;
}

.menu-item{
    display: flex;
    /* align-items: stretch;
    min-width: 220px; */
    background: #fff;
    border: 2px solid #2E3A80;
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
    text-decoration: none;
    color: #000;
    border-radius: 3px;
}

.menu-item-icon {
    background: #2E3A80;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon img {
    display: block;
    width: 69px;
    height: auto;
}


.menu-item-title {
    margin: 0;
    padding: 25px 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item--practice{
    border: 2px solid #565656;
}

.menu-item--practice .menu-item-icon{
    background: #565656;;
}

.menu-item--practice .menu-item-sub{
    display: inline-block;
    /*margin-top: 6px;*/
    font-size: 16px;
    font-weight: 700;
}

/* --------------------
    リアルタイム進捗状況
-----------------------*/
.container.search {
    max-width: 685px;
}

.container.search .rt-card{
    padding: 25px 30px 18px 25px;
}

.rt-form-label{
    display: flex;
    align-items: center;
}

.container.search label{
    font-size: 20px;
    font-weight: bold;
    /*color: #336CAB;*/
    color: #333;
    margin-bottom: 7px;
}

.container.search input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s;
    text-align: center;
}

.container.search input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}

.rt-store-fields{
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
}

#store_code{
    width:166px;
}

#store_select{
    height: 40px !important;
    padding: 10px !important;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #000;
    background-color: #FFF !important;
    color: #000;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px !important;
    background-image: url("../input/img/icon_select_arrow.svg");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 13px 16px;
}

/* OR */
.rt-or{
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    font-weight: bold;
    /*color: #203883;*/
    color: #556CB0;
    text-align: center;
    margin: 23px 0 16px 0;
}

/* 検索ボタン */
.container.search .search-submit{
    text-align: center;
    margin-top: 25px;
}

.container.search .search-btn{
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 8px 24px 8px 15px;
    border-radius: 8px;
    border: none;
    background: #336CAB;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity .15s ease;
    box-shadow: 0 4px 0 #002E61;
}

.container.search .search-btn:hover{
    opacity: .9;
}

.container.search .search-icon img{
    display: block;
    width: 22px;
    height: 22px;
}


/* --------------------
    リアルタイム進捗状況 検索結果
-----------------------*/
.container.search-result {
    max-width: 780px;
}

.container.search-result .rt-card{
    display: grid;
    gap: 35px;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

/* 最新情報ボタン */
.rt-update-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.rt-update-wrap .note {
    color: #FF3A3A;
    font-weight: 700;
    font-size: 16px;
}

.rt-update-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px 8px 16px;
    margin: 0 auto 13px auto;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to bottom, #FFB347, #FF8D00);
    box-shadow: 0 0 4px rgba(0,0,0,.25);
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.rt-update-btn:hover {
    opacity: .9;
}

.rt-update-icon{
    display: flex;
}

/* 最終更新時刻 */
.rt-last-update {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #323232;
    background: #D9D9D9;
    display: inline-block;
    padding: 5px 22px;
    border-radius: 4px;
    margin: 0 auto;
}



/* 一覧全体 */
.rt-status-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 25px 30px 18px 25px;
    background: #F2F2F2;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    box-sizing: border-box;
}

/* 1件分のカード */
.rt-status-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 26px 14px 14px 20px;
    box-sizing: border-box;
    position: relative;
    /* display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; */
}

/* 見出し行 */
.rt-status-header,
.rt-status-row {
    display: grid;
    max-width: 620px;
    /* grid-template-columns: 140px 112px 112px 136px 100px; */
    grid-template-columns: 22% 18% 18% 22% 16%;
    column-gap: 1%;
    font-size: 16px;
    /*color: #2E456C;*/
    color: #333;
}

.rt-status-header {
    font-weight: bold;
    padding: 0 20px;
}

.rt-status-row {
    font-weight: 500;
    margin-bottom: 16px;
}

.rt-status-card-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}


/* 進捗バー */
.rt-status-bottom{
    padding: 6px 10px 6px 12px;
    border-radius: 8px;
    background:#E9EEF7;
    display: flex;
    max-width: 600px;
    width: 100%;
}

.progress {
    position: relative;
    /* margin-left: 22px; */
    /* height: 40px; */
    /* width: 94%; */
    /* width: 86%; */
    /* border-radius: 9999px; */
    /* background: linear-gradient(#42b0e8, #2797d3); */
    overflow: visible;
    /* z-index: 1000; */
    /* top: 13px; */
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    /*  ノブ（JS が読み取ります） */
    /* --left-min: 20px; */
    /* ％が無い時の最小左余白 */
    /* --left-extra: 25px; */
    /* ％がある時に加える余白 */
    /* --right-extra: 15px; */
    /* 右バッジ側に加える余白 */
    /* --left-gap: 12px; */
    /* 常に確保する安全距離 */
    /* --right-gap: 12px; */
    /* 常に確保する安全距離 */
    width: 100%;
    justify-items: start;
}


/* 左の 70% 表示 */
.progress__percent {
  /* position: absolute;
  left: 15px;
  top: 50%;
  margin-left: 0;
  transform: translateY(-50%); */
  display: flex;
  align-items: baseline;
  /* gap: .1em; */
  /* color: #fff; */
  font-weight: bold;
  /* font-size: 27px; */
  font-size: 24px;
  z-index: 3;
  /* width: 50px; */
  width: 60px;
  color:#2E456C;
}

.progress__percent small {
  /* font-size: 15px; */
  font-size: 16px;
  font-weight: 700;
}

/* 内側トラック（白フチ） */
.progress__track {
  /* position: absolute;
  top: 3px;
  bottom: 3px;
  left: 30.8px;
  left: 69.5px;
  border-radius: 9999px; */
  /* background: #fff;
  border: 3px solid #fff; */
  background: #D5D5D5;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 0;
  height: 100%;
  max-width: 458px;
  width: 100%;
  height: 18px;
  position: relative;
}

.progress__fill {
  height: 100%;
  width: 0%;
  /* background: linear-gradient(0deg, #2797d3, #42b0e8); */
  background: #556DB0;
  border-radius: inherit;
  transition: width .8s ease;
}

/* 追従する丸アイコン（バー基準で left を動かす） */
/* .progress__avatar {
  position: absolute;
  top: 50%;
  left: 83px;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2f9ad3;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: left .8s ease;
  z-index: 4;
} */
/* .progress__avatar img { */
  /*width: 90%;
    height: 90%;*/
  /* object-fit: contain;
  display: block;
  max-width: 30px;
  width: 100%;
} */


/* 右の固定バッジ */
.progress__badge {
  /* position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%); */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* color: #fff; */
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  z-index: 3;
  color: #2E456C;
  width: 78px;
  margin-left: 10px;
}

.progress__badge-label {
  font-size: 9px;
}

.progress__badge-eta {
  /* font-size: 12px; */
  font-size: 16px;
}

.progress__badge-eta .js-eta {
  font-size: 24px;
  /* padding: 0 3px; */
}


/* 詳細ボタン */
.rt-detail-btn {
    flex: 0 0 auto;
    padding: 13px 10px;
    border-radius: 5px;
    border: none;
    /*background: #556DB0;*/
    background: #326CAB;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    max-width: 66px;
    width: 100%;
    display: block;
    margin-top: -28px;
    box-shadow: 0 4px 0 #002E61;
}

.rt-detail-btn:hover {
    opacity: .9;
}



/* --------------------
    リアルタイム進捗状況 詳細
-----------------------*/
.container.detail{
    max-width: 780px;
}

.container.detail .rt-card{
    padding: 18px 20px 20px 20px;
}

.rt-title h3{
    place-self: center;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
}

.rt-number {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 11px;
    margin-bottom: 16px;
}

.rt-number-item {
    display: grid;
    border: 1px solid #6F6D6D;
    border-radius:5px;
    max-height: 66px;
}

.rt-number-value {
    background: #ffffff;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 6px;
    box-sizing: border-box;
    /* white-space: nowrap; */
    border-radius:5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rt-number-btn{
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box; 
  transform: translateZ(0);     
  -webkit-transform: translateZ(0);
}

.rt-number-btn {
    width: 100%;
    background: #326CAB;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0 10px 20px;
    box-sizing: border-box;
    /* white-space: nowrap; */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 0 #002E61;
    border: none;
    border-radius: 5px;
    gap: 10px;
    cursor: pointer;
}

.rt-number-btn p{
    margin: 10px 0;
}

.rt-number-copy{
    max-width: 20px;
    margin-bottom: 20px;
}
#copy-message{
    display: none;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #326CAB;
    place-self: center;
}
.info-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.info-item {
    display: grid;
    grid-template-columns: 135px 1fr;
    border: 1px solid #6F6D6D;
    border-radius:5px;
    position: relative;
}

.info-label {
    /*background: #556DB0;*/
    background: #6F6D6D;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 6px;
    box-sizing: border-box;
    border-radius:0 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-value {
    background: #ffffff;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 10px 6px;
    box-sizing: border-box;
    /* white-space: nowrap; */
    border-radius:0 5px 5px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-item.name .info-value{
    position: relative;
    text-align: center;
    padding:10px 1.8em 10px 20px;
}

.info-value span {
    position: absolute;
    right: 0.8em;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    bottom: 10px;
    display: inline-block;
}

.bb-qr-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background: #CCE2FF;*/
    border-radius: 5px;
    border: 2px solid #6F6D6D;
    padding: 10px 24px;
    margin: 16px 0;
}

.bb-qr-text{
    font-size: 18px;
    font-weight: bold;
    /* line-height: 1.33; */
    color: #333;
    margin: 0;
}
/*.bb-qr-code{*/
/*    max-width: 100px;*/
/*}*/
/*.bb-qr-code img{*/
/*    width: 100%;*/
/*    clip-path: inset(10px round 15px);*/
/*}*/

@media (max-width: 820px) {
    /*.bb-qr-text{*/
    /*    font-size: 22px;*/
    /*}*/
}

/* 通知 */
.rt-notice {
    position: relative;
    margin: 80px 0 16px;
}

.rt-notice__link {
    display: flex;
    background: #FF9300;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    /* border: 3px solid #FF9300; */
    padding: 9px 8px;
    box-shadow: 0 4px 0 #A33F00;
}

.rt-notice__link:hover{
    opacity: 0.9;
}

.rt-notice__label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 111px;
    /* padding: 0 12px; */
    background: #fff;
    color: #FF9300;
    font-weight: 700;
    font-size: 38px;
    border-radius: 5px;
}

.rt-notice__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 10px 18px;
    box-sizing: border-box;
}

.rt-notice__text {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    /*margin: 0 auto;*/
}

/*.rt-notice__icon {*/
/*    position: relative;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    border-radius: 50%;*/
/*    background: #fff;*/
/*    margin-left: 12px;*/
/*}*/

/*.rt-notice__icon::before {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-top: 16px solid transparent;*/
/*    border-bottom: 16px solid transparent;*/
/*    border-left: 30px solid #ff9900;*/
/*    margin-left: 7px;*/
/*}*/

.rt-notice__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}




/*詳細 プログレスバー*/
.progress.rt-detail-progress{
    background: #556DB0;
    border-radius: 5px;
    padding: 17px 14px 17px 20px;
    box-sizing: border-box;
}

.progress.rt-detail-progress .progress__track{
    max-width: 500px;
    background: #fff;
    border: 4px solid #fff;
    height: 44px;
}

.progress.rt-detail-progress .progress__fill{
    background: #FAC937;
}

.progress.rt-detail-progress .progress__percent{
    font-size: 32px;
    color: #fff;
    /* width: 68px; */
    width: 79px;
}

.progress.rt-detail-progress .progress__percent small{
    font-size: 20px;
}

.progress.rt-detail-progress .progress__badge{
    color: #fff;
    width: 125px;
    margin-left: 15px;
    /* align-items: flex-end; */
}

.progress.rt-detail-progress .progress__badge-eta{
    font-size: 24px;
    display: inline-block;
}

.progress.rt-detail-progress .progress__badge-eta .js-eta{
    font-size: 40px;
}


/* ---------
手続き一時停止エリア
----------------*/

.rt-alert {
    position: relative;
    margin: 80px 0 16px;
}

.rt-alert__link:hover{
    opacity:.9;
}

/* 左ラベル */
.rt-alert__label{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:111px;
    background:#fff;
    color:#EF5350;
    font-weight:700;
    font-size:38px;
    border-radius:5px;
}


.rt-alert__body{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex:1;
    padding:5px 18px;
    box-sizing:border-box;
}

.rt-alert__text{
    margin:0;
    font-size:24px;
    font-weight:bold;
    /* line-height:1.3; */
    line-height: 1.5;
    display:flex;
    justify-content:center;
    /*margin:0 auto;*/
}

/* 右の丸アイコン */
/*.rt-alert__icon{*/
/*    position:relative;*/
/*    display:inline-flex;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*    !* width:60px; *!*/
/*    min-width: 60px;*/
/*    height:60px;*/
/*    border-radius:50%;*/
/*    background:#fff;*/
/*    margin-left:12px;*/
/*}*/

/*!* ▶ *!*/
/*.rt-alert__icon::before{*/
/*    content:"";*/
/*    display:block;*/
/*    width:0;*/
/*    height:0;*/
/*    border-top:16px solid transparent;*/
/*    border-bottom:16px solid transparent;*/
/*    border-left:30px solid #EF5350;*/
/*    margin-left:7px;*/
/*}*/

 .rt-alert__link{
    width: 100%;
    border: 0;
    padding: 9px 8px;
    text-align: left;
    background: #EF5350;
    color: #fff;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
    cursor: pointer;
     align-items: stretch;
     text-decoration:none;
     box-shadow: 0 4px 0 #A30000;
}

/* .rt-alert__link:focus{
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: 2px;
} */

.rt-alert__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 5px;
    white-space: nowrap;
}

.rt-alert::before, .rt-notice::before{
  content: 'タップしてください';
  position: absolute;
  left: 50%;
  top: -65px;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  z-index: 2;
}

.rt-alert::after, .rt-notice::after{
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #333;
  z-index: 2;
}

@media (max-width: 820px) {
    .rt-notice__text{
        font-size: 22px;
    }
    .rt-alert__text{
        font-size: 20px;
    }
}


/* ---------
手続き一時停止エリア  モーダル本体
----------------*/
.rt-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 999;
}

.rt-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.rt-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.rt-modal__dialog {
    position: relative;
    /* max-width: 600px;
    width: 80%; */
    width: min(740px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.rt-modal__head{
    padding: 10px 11px;
    margin: 0;
    background: #556DB0;
}

.rt-modal__head h3{
    font-size: 32px;
    padding: 0;
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

/* 本文だけスクロール */
.rt-modal__body{
    flex: 1 1 auto;
    min-height: 0;/* flex内スクロールを効かせる */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.rt-modal__close {
    position: absolute;
    top: 20px;
    right: 12px;
    /* transform: translateY(-50%); */
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.rt-modal__close::before,
.rt-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transform-origin: center;
}

.rt-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rt-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 共通 */
.rt-confirm{
    background: #F2F2F2;
    padding: 17px 17px 22px 17px;
}

.rt-confirm__block{
    background: #E9EEF7;
    padding: 17px 17px 20px 17px;
}

.rt-confirm__lead{
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #232F6A;
}

.rt-confirm__panel{
    background: #fff;
    border-radius: 16px;
    margin: 0 0 14px;
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
}

.rt-confirm__panel:last-child{
    margin-bottom: 0;
}

.rt-confirm__panel-head{
    background: #EFF3FF;
    border-radius: 16px;
    padding: 10px 12px;
}

.rt-confirm__panel-title{
    font-size: 24px;
    margin:0;
    font-weight: bold;
    text-align:center;
    color:#556DB0;
}

.rt-confirm__panel-body{
    padding:17px 20px 0 20px;
}

.rt-confirm__desc{
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

/*select*/

.rt-select{
    position: relative;
    width: 100%;
    height: 55px;
    padding: 0 33px 0 16px;
    border: 1px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
    background: linear-gradient(#FBFBFB, #E6E6E6);
    color: #000;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.rt-formrow{
  position: relative;
}

.rt-formrow::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 13px;
  height: 16px;
  transform: translateY(-50%);
  background: url("../input/img/icon_select_arrow.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 2;
}


/*フッターボタン*/
.rt-confirm__footer{
    display:flex;
    justify-content:center;
    margin-top: 14px;
}

.rt-modal__btn--primary{
    min-width: 245px;
    background:#fff;
    border: 1px solid #888888;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 400;
    color:#333;
    box-sizing: border-box;
    cursor: pointer;
}


.rt-modal__btn--danger{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
    padding: 5px 24px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
    /* background: linear-gradient(to bottom, #FFB347, #FF8D00); */
    background: linear-gradient(to bottom, #ff4747,#ff1100 );
    color: #fff;
    border: 2px solid #fff;
    padding-right: 52px;
    transition: opacity .2s ease;
}

.rt-modal__btn--danger::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: currentColor;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

.rt-modal__btn--danger:after{
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border: solid;
    border-width: 0 3px 3px 0;
    right: 20px;
    border-color: #ff1100;;
    background: transparent;
    transform: translateY(-50%) rotate(-45deg);
}

/*---
1：施策の判定
---*/
.rt-confirm.rt-confirm--1 .rt-confirm__desc{
    font-size: 16px;
}

.rt-confirm.rt-confirm--1 .rt-confirm__panel-body,
.rt-confirm.rt-confirm--2 .rt-confirm__panel-body,
.rt-confirm.rt-confirm--3 .rt-confirm__panel-body,
.rt-confirm.rt-confirm--4 .rt-confirm__panel-body {
    padding: 18px;
}

.rt-badge-list{
  list-style: none;
  margin: 14px 0 0;
  padding: 0 10px;
  display: grid;
  gap: 5px;
}

.rt-badge{
    background: #B8B8B8;
    border-radius: 5px;
    min-height: 33px;
    padding: 5px 14px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.rt-badge span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    max-width: 493px;
    margin: 0 auto;
    justify-content: flex-start;
}

/*---
2：提供判定
---*/
.rt-confirm.rt-confirm--2 .rt-formstack {
    margin-bottom: 5px;
}
.rt-confirm.rt-confirm--2 .rt-formstack .rt-confirm__desc{
    margin-top: 24px;
}
.rt-confirm.rt-confirm--2 .rt-formrow{
    margin-top:13px;
}


/*---
3：カンタン！事業者変更のミス修正画面
---*/
.rt-confirm.rt-confirm--3 .rt-confirm__desc{
    text-align: center;
}

.rt-compare__val{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 44px;
    margin: 0;
    font-size: 18px;
    color: #333;
}

.rt-compare__sep{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1px;
    /* height: 16px; */
    flex: 0 0 1px;
}

.rt-compare__sep::before{
    content: "";
    position: absolute;
    height: 36px;
    width: 1px;
    background:#000;
}

.rt-compare__fix{
    background: #556DB0;
    border-radius: 16px;
    padding: 2px 2px 18px 2px;
    margin: 0 0 14px;
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
}

.rt-compare__fix-ttl{
    border-radius: 16px;
    padding: 10px 12px;
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    text-align: center;
    background:#fff;
    color: #556DB0;
}

.rt-compare__fix-body{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 29px;
    margin-top:17px;
    font-size: 18px;
    color: #fff;
    margin-left: 49px;
}

.rt-compare__fix-body .rt-formrow{
    max-width: 205px;
    width: 100%;
}

.rt-compare__fix-body .rt-compare__sep::before{
    height: 64px;
    background: #fff;
}

.rt-staticrow{
    margin-left: 7px;
}

/*---
4：入会可否判定結果：NG
---*/
.rt-modal__note{
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #232F6A;
}


/* --------------
    全体の流れ
------------------------- */
.rt-flow{
    margin-top: 32px;
    padding: 14px 16px 20px;
    background: #fff;
    border-radius: 8px;
}

/* 上の丸ステップ */
.rt-flow__stepper{
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.rt-flow__steps{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    position: relative;
    z-index: 1;
}

.rt-flow__steps::after{
    content: "";
    position: absolute;
    width: calc(100% - 12px);
    height: 5px;
    background: #D2D2D2;
    left: 6px;
    right: 6px;
    top: 50%;
    z-index: -1;
}

.rt-flow__step{
    width: 35px;
    height: 35px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.rt-flow__step span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* チェック */
.rt-flow__step.is-done{
    background: #6F6D6D;
}

.rt-flow__step.is-done img{
    width: 17px;
    height: 17px;
    display: block;
}

/* 現在 */
.rt-flow__step.is-current{
    background: #556DB0;
    width: 52px;
    height: 52px;
}

.rt-flow__step.is-current span{
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

/* 未来 */
.rt-flow__step.is-future{
    background: #fff;
    border: 2px solid #D2D2D2;
    background: #D2D2D2;
}

.rt-flow__step.is-future span{
  font-size: 20px;
  font-weight: bold;
  color: #6F6D6D;
}

/* 下の箱＋2カラム */
.rt-flow__box{
    background: #F2F2F2;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,.03);
}

.rt-flow__lists{
    /*display: grid;*/
    /*grid-template-columns: 1.1fr 1.1fr;*/
    /*column-gap: 24px;*/
    justify-items: center;
}

/*.rt-flow__list{*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    list-style: none;*/
/*}*/

.rt-flow__item{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    color: #6F6D6D;
}

.rt-flow__item + .rt-flow__item{
    margin-top: 18px;
}

.rt-flow__item.is-future{
    color: #D2D2D2;
}

.rt-flow__item.is-current{
    font-weight: 700;
    color: #556DB0;
}

/* is-done のテキストに打ち消し線 */
.rt-flow__item.is-done .rt-flow__u{
    position: relative;
    display: inline-block;
    padding: 0 .05em;
}

.rt-flow__lists{
    display: block;
}

.rt-flow__list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 18px;
    grid-template-rows: repeat(var(--rows), auto);
}

.rt-flow__item + .rt-flow__item{
    margin-top: 0; /* gapで管理 */
}

.rt-iPad{
    padding: 20px;
    margin-top: 20px;
    display: grid;
}

.rt-iPad a{
    place-self: center;
    font-size: 20px;
    color: #399DE5;
    font-weight: 500;
    text-decoration: none;
}

/* 線本体 */
.rt-flow__item.is-done .rt-flow__u::after{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #6F6D6D;
}

/* current / future は線なし */
.rt-flow__item.is-current .rt-flow__u::after,
.rt-flow__item.is-future  .rt-flow__u::after{
    display: none;
}

/* 品目変更無料施策を適用する */
.agree-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
/* ラベル全体＝ピル */
.pill-check {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 6px 35px 6px 6px;
    border: 2px solid #132B72;
    border-radius: 999px;
    background: #fff;
    color: #132B72;
    font-size: 22px;
    font-weight: 700;
    user-select: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
/* inputは隠す */
.pill-check>input {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}
/* 左アイコン（未チェック） */
.pill-check__icon {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 2px solid #C6C8D2;
    position: relative;
    flex: 0 0 auto;
    background: #fff;
}

/* ✓（未チェックは薄く） */
.pill-check__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 16px;
    height: 27px;
    margin: auto;
    border: 5px solid #B7B9D5;
    border-top: 0;
    border-left: 0;
    transform: translateY(-1px) rotate(45deg) scale(.7);
    transition: opacity .2s, border-color .2s;
}
/* ===== チェック時（塗りつぶし） ===== */
/* :has() が使える環境 */
.pill-check:has(> input:checked) {
    background: #196EB1;
    color: #fff;
    border-color: #132B72;
}
.pill-check:has(> input:checked) .pill-check__icon {
    border-color: #fff;
    background: transparent;
}
.pill-check:has(> input:checked) .pill-check__icon::after {
    border-color: #fff;
    opacity: 1;
}
/* 無効化（任意） */
.pill-check.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}
.pill-check.is-disabled>input {
    pointer-events: none;
}

/* api中の画面処理 */
#api-running-overlay.hide {
    display: none;
}
#api-running-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.4);
    z-index: 9999;
    align-content: center;
    gap: 40px;
    transition: opacity .35s ease, visibility .35s ease;
}
#api-running-overlay.hide {
    opacity: 0;
    visibility: hidden;
}
#api-running-overlay .running-text {
    color: #222;
    font-size: 30px;
    font-weight: 600;
    background: #fff;
    padding: 4px 12px;
    border: solid 3px #222;
    border-radius: 6px;
}

/* ----
担当者コードアップロード　モーダル
----*/
.staff-upload-modal__label{
    display:flex;
    align-items: center;
}

.staff-upload-modal__input-wrap input{
    width: 100%;
    display: block;
    box-sizing: border-box;
    height: 40px;
    padding: 8px 12px;
    font-size: 16px;
}

.staff-upload-modal__req{
    color:#FF2E2E;
    font-weight: 500;
    font-size:14px;
}

/* --------------------
配属表インポート　ページ
-----------------------*/
.assignment-list-label {
    color: #2E456C;
    font-weight: bold;
    margin: 0;
}

.assignment-list-label span {
    color: #e74c3c;
    font-weight: normal;
}

.assignment-list-template-label {
    margin: 18px 0 ;
}


@media (max-width: 767px) {
    header h1 img:first-child {
        max-height: 51px;
    }

    header h1 img:last-child{
        max-height: 37px;
    }

    /*404*/
    .container.error-page{
        padding: 16px;
    }

    .container.error-page h1{
        font-size:20px;
    }

    .container.error-page .rt-card{
        padding: 16px;
    }
}
