/*PC・SP*/
.only_pc {
  display: block;
}

.only_sp {
  display: none;
}

@media (max-width: 768px) {
  .only_pc {
    display: none;
  }

  .only_sp {
    display: block;
  }
}

/*文字色*/
.fc-rd{ color:#c03; }
.fc-gr{ color:#6c757d; }

/*文字サイズ*/
.fs-14{ font-size:14px; }
.fs-16{ font-size:16px; }
.fs-18{ font-size:18px; }
.fs-20{ font-size:20px; }
.fs-22{ font-size:22px; }
.fs-24{ font-size:24px; }

/*太字*/
.fw-bold {
  font-weight: bold !important;
}
/*通常文字*/
.fw-normal {
  font-weight: normal !important;
}
/*中央*/
.t-c {
  text-align:center !important;
}

/*マージン*/
.mgb05em{
  margin-bottom:0.5em !important;
}
.mgb1em{
  margin-bottom:1em !important;
}

/*リストマーク*/
.list-disc {
  list-style-type: disc;
  margin:0;
  padding-left: 1.5em;
}
.list-num {
  list-style-type: dicimal;
  margin:0;
  padding-left: 1.5em;
}
/*インデント※マーク*/
.ind1 {
	padding-left: 1.0em;
	text-indent: -1.0em;
}
.ind1_3 {
	padding-left: 1.3em;
	text-indent: -1.3em;
}
ol.list-num li{
margin-bottom:15px;
}
h1,
.breadcrumb {
  display: none !important;
}

h2.webform-section-title {
  font-size: 22px;
  font-weight: bold;
  margin: 50px auto 20px;
  border-top: 2px solid #CCC;
  padding-top: 20px;
}

h2.webform-section-title span {
  display: inline-block;
  width: 3rem;
  height: 1.3rem;
  margin: 0 0.1rem 0 0.5rem;
  padding: 1px;
  content: "\5fc5\9808";
  text-align: center;
  vertical-align: middle;
  color: #fff;
  background-color: #c03;
  background-image: none;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0.75rem;
}

/*エラー赤字*/
.error.form-item--error-message {
  color: #bc2739;
  font-weight: bold;
  margin-top: 0.5em;
}

/*チェックボックスのディスクリプションの左側が1.5em空くのをツメる*/
.form-check .description{
  margin-left: -1.5em;
}

/*説明テキスト*/
.description{
  line-height: 1.5;
}
.explain_txt {
  line-height: 1.5;
  margin: 0 0 0.5em 0 !important;
}

/*注釈*/
.explain_notes_wrap {
  margin: 0 0 0.5em 0;
}

.explain_notes_wrap p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 1em;
  text-indent: -1em;
}

/*テキストリンク*/
.description a,
.explain_txt a,
.explain_notes_wrap a,
a.d_link{
  color:inherit;
  text-decoration: underline;
}
.description a:hover,
.explain_txt a:hover,
.explain_notes_wrap a:hover,
a.d_link:hover{
  color:#c03;
  text-decoration: none;
}

/*背景グレー隠しアイテム*/
.js-webform-states-hidden {
  background: #EAEBE6;
  border-radius: 10px;
  padding: 0 1.5em 1.5em;
}
.js-webform-states-hidden .js-webform-states-hidden{
  background: #D7D9CF;
  border-radius: 10px;
  padding: 0 1.5em 1.5em;
}
.js-webform-states-hidden h2.webform-section-title {
  border-top: none !important;
}

/*背景グレー隠しアイテム 例外*/
.js-webform-states-hidden.js-form-item-agreement-to-5g-sa,
.js-webform-states-hidden.js-form-item-agreement-to-5g-sa-alert
{
  background: #FFFFFF;
}

/*ファイル削除ボタン（id名の始まりが一致していると適用）*/
input[id^="edit-stella-ai-for-bizsubmit-user-information-registration-sheet-remove-button"] {
  min-width: 5em;
  padding: 0.5em;
  margin: 0 0 0 10px !important;
}

.file {
  word-break: break-all;
  margin: 0 0 10px 0;
}

/*許可されていないファイル拡張子の場合のエラーメッセージ*/
.messages.messages--error.file-upload-js-error .placeholder{
  background-color: transparent;
  color: #c03;
  opacity: 1;
  vertical-align: baseline;
  font-weight: normal;
}

/*太字・細字・上下余白調整*/
.fieldgroup legend {
  font-weight: bold;
  margin: 1em 0 0.5em 0;
}

.webform-submission-form .js-form-item label {
  margin-top: 1.5em;
  font-weight: bold;
}

.webform-submission-form .js-webform-radios .form-check-label {
  font-weight: normal;
  margin-top: 0;
}

.webform-submission-form .js-form-type-checkbox .form-check-label {
  font-weight: normal;
  margin-top: 0;
}

/*姓名2カラム*/
@media (min-width: 768px) {
  .webform-flexbox {
    display: flex;
    /*margin: 1em -0.5em;*/
    margin: 0 -0.5em;
  }

  .webform-flexbox .mb-3 {
    margin-bottom: 0 !important;
  }
}

/*見積入力画面に戻る*/
.return_quotation.other-link{
  margin-bottom:50px !important;
}
.return_quotation .oval-link::after {
    content: none !important;
}

.return_quotation .oval-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    display: inline-block;
    width: 14px;
    height: 14px;
}
.return_quotation .oval-link--border--red::before {
    background: url(/themes/custom/subsphere/images/resources/icon_arrow-rd-l.webp) no-repeat center/100%;
}

/* プログレスバー STEP */
.webform-progress .step-block{
  display: flex;
  align-items: center;
  /*height: 200px;*/
  margin: 30px 0 50px;
}
.webform-progress .step-list{
  display: flex;
  justify-content: center;
  gap: 10px;
}
.webform-progress .step-item{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  min-height: 50px;
  padding: 10px 20px 10px 10px;
  background: #4c4c4c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%
  );
}
/* 活性 */
.webform-progress .step-item--active{
  background: #cc0033;
}

@media (max-width: 768px) {

  .webform-progress .step-block .content-inner{
    /*padding: 0 20px;*/
    padding: 0;
  }
  .webform-progress .step-list{
    gap: 0;
  }
  .webform-progress .step-item{
    font-size: 14px;
  }
}

/*完了画面のプログレスバー*/
@media (max-width: 768px) {
  .content > .webform-progress {
    width: 100%;
    padding: 0 24px;
  }
}

/* --------------------------
   確認画面（#edit-preview）
 -------------------------- */
/*h2の必須マークを非表示*/
#edit-preview h2.webform-section-title span {
  display: none;
}

/*入力済項目の余白調整*/
.webform-submission-form #edit-preview .js-form-item label {
  margin-top: 0;
  margin-right: 1em;
}

@media (max-width: 768px) {
  .webform-submission-form #edit-preview .js-form-item label {
    display: block;/*SP時は改行させる*/
  }
}

/*見積もり*/
.estimate_price_header {
  background-color: #F3F3F3;
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.estimate_price_header span.value {
  color: #d60036;
  font-weight: bold;
  font-size: 24px;
}

.estimate_detail_box {
  width: 80%;
  margin: 0 auto;
  background-color: #F3F3F3;
  padding: 10px 20px;
  border-radius: 10px;
}

.estimate_detail_box dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  /*row-gap: 12px;*/
  margin: 0;
}

.estimate_detail_box dt {
  font-weight: bold;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

.estimate_detail_box dd {
  margin: 0;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

/* PC表示の時、最後のdt, ddには下線を表示しない */
.estimate_detail_box dl dt:last-of-type,
.estimate_detail_box dl dd:last-of-type {
  border-bottom: none;
}

@media (max-width: 768px) {
  .estimate_price_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
  }

  .estimate_price_header span.value {
    font-size: 20px;
  }

  .estimate_detail_box {
    width: 100%;
  }

  .estimate_detail_box dl {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .estimate_detail_box dt {
    border-bottom: none;
    /* SP表示の時、dtには下線なし */
    padding: 0;
    margin-top: 10px;
  }

  /* SP表示の時、最後のddには下線なし */
  .estimate_detail_box dd:last-of-type {
    border-bottom: none;
  }
}

/*お申し込み内容タイトル*/
.estimate_ttl_header .tertiary-heading {
  position: relative;
  margin: 0 0 30px !important;
  padding-bottom: 20px;
  font-size: 32px !important;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
}

.estimate_ttl_header .tertiary-heading::after {
  content: "";
  position: absolute;
  left: calc(50% - 20px);
  bottom: 0;
  display: inline-block;
  width: 40px;
  height: 4px;
  background: #bc2739;
}

@media (max-width: 768px) {
  .estimate_ttl_header .tertiary-heading {
    margin-top: 64px;
    padding-bottom: 20px;
    font-size: 22px !important;
  }
}

/* --------------------------
   完了メッセージ画面
 -------------------------- */
/*完了メッセージ領域*/

.send_comp_msg_ttl {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

.send_comp_msg_number {
  width: fit-content;
  min-width: 30%;
  background: #EAEBE6;
  border-radius: 10px;
  padding: 1em 2em;
  margin: 2em auto;
}

.send_comp_msg_number p {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

.send_comp_msg_txt {
  text-align: left;
  margin: 0 auto 2em;
  width:70%
}

.send_comp_msg_txt p {
  margin: 0 0 1em;
}

.send_comp_msg_txt p:last-child {
  margin: 0;
}

@media (max-width: 768px) {
  .send_comp_msg_ttl {
    font-size: 24px;
  }

  .send_comp_msg_number {
    width: 100%;
  }

  .send_comp_msg_number p {
    font-size: 24px;
  }

  .send_comp_msg_txt {
    text-align: left;
  }
}

/*ホームに戻る*/
.send_comp_gohome {
  margin-bottom: 50px;
}

/*本人確認書類*/
@media (max-width: 768px) {
  .send_comp_gohome .other-link {
    margin-bottom: 0;
  }
}
.send_comp_note_ttl{
  width:70%;
  margin:0 auto;
}
.send_comp_note_ttl h2{
    font-size: 22px;
    font-weight: bold;
    margin: 50px auto 20px;
}
.send_comp_note_box{
  width:70%;
  margin:0 auto;
  background: #EAEBE6;
  border-radius: 10px;
  padding: 1.5em;
  margin-bottom:50px;
}
@media (max-width: 768px) {
  .send_comp_note_ttl,
  .send_comp_msg_txt,
  .send_comp_note_box{
    width:100%;
  }
}

/* --------------------------
   申し込みボタンなどの領域
 -------------------------- */
/*余白*/
.webform-actions.mb-3 {
  margin-bottom: 50px !important;
}

/*確認画面のボタンの並び*/
#edit-preview+#edit-actions.webform-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  justify-items: center;
  width: fit-content;
  margin: 0 auto;
}

/*修正*/
#edit-preview+#edit-actions.webform-actions input:nth-of-type(1) {
  order: 2;
}

/*印刷*/
#edit-preview+#edit-actions.webform-actions input:nth-of-type(2) {
  order: 3;
}

/*申し込み*/
#edit-preview+#edit-actions.webform-actions input:nth-of-type(3) {
  order: 1;
  grid-column: 1 / span 2;/* ボタン1を中央に配置 */
}

@media (max-width: 768px) {
  #edit-preview+#edit-actions.webform-actions {
    display: flex;
    flex-direction: column;
    justify-items: center;
    width: 100%;
  }
}

/* --------------------------
   ボタン
 -------------------------- */
/*赤色*/
.webform-button--preview.btn,
.webform-button--submit.btn {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 100vh;
  border: 1px solid #c03;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  background: #c03;
  color: #ffffff;
  width: 366px;
}

.webform-button--preview.btn:hover,
.webform-button--submit.btn:hover {
  opacity: 0.7;
}

.webform-button--preview.btn:focus,
.webform-button--submit.btn:focus {
  background: #c03;
  color: #ffffff;
}

@media screen and (max-width: 768px) {

  .webform-button--preview.btn,
  .webform-button--submit.btn {
    width: 100%;
  }
}

/*白色*/
.webform-button--previous.btn {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 100vh;
  border: 1px solid #c03;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  background: #ffffff;
  ;
  color: #c03;
  width: 366px;
}

.webform-button--previous.btn:hover {
  color: #c03;
  opacity: 0.7;
}

.webform-button--previous.btn:focus {
  color: #c03;
}

@media screen and (max-width: 768px) {
  .webform-button--previous.btn {
    width: 100%;
  }
}

/*灰色*/
.webform-button--previous.btn.disabled,
.webform-button--preview.btn.disabled,
.webform-button--submit.btn.disabled {
  border: none;
  background: #e5e5e5;
  border: 1px solid #e5e5e5;
  color: #7d7d7d;
  opacity: 1;
}
.progress-step.is-active{
background-color:#cc0033!important;
}
.progress-step{
font-weight:bold!important;
}

/*強制必須マーク*/
.form-req::after {
    display: inline-block;
    width: 3rem;
    height: 1.3rem;
    margin: 0 0.1rem 0 0.5rem;
    padding: 1px;
    content: "\5fc5\9808";
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background-color: #c03;
    background-image: none;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 0.75rem;
}

#edit-contract-conclusion-method--wrapper{
  background:#ffffff;
  padding:0;
}

.webform-button--previous.btn:hover {
    color: #c03;
    opacity: 0.7;
    background-color: #fff;
}

.text-muted {
color:#272727 !important;
}

.js-webform-type-webform-document-file.webform-type-webform-document-file.js-form-item.js-form-type-webform-document-file.form-type-webform-document-file.js-form-item-stella-ai-for-bizsubmit-user-information-registration-sheet.form-item-stella-ai-for-bizsubmit-user-information-registration-sheet.mb-3{
display:none;
}


.oval-link--red::after {
    background: url(/themes/custom/subsphere/images/resources/icon_arrow-wt-r.webp) center center / 100% no-repeat;
}
.webform-element-more--content{
    background: #EAEBE6;
    border-radius: 10px;
    padding: 0 1.5em 1.5em;
    margin-top: 15px;
}
#edit-terminal-information--more{
    margin-bottom: 15px;
}


/* ここから2026/02追加 */
/* 上部プログレスバー */
.webform-progress{
/*  display: none; */
}
.progress-wrap{
  display: flex;
  align-items: center;
  background: #F3F3F3;
  justify-content: center;
  padding: 50px 25px;
}
.progress-wrap p{
  margin: 0!important;
}
.progress-list{
  display: flex;
  width: 1070px;
  margin: 0!important;
  padding: 0;
  border-radius: 20px;
  background: #fff;
  list-style: none;
  overflow: hidden;
}
.progress-list__item{
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.progress-list__item:nth-child(1){z-index: 5;}
.progress-list__item:nth-child(2){z-index: 4;}
.progress-list__item:nth-child(3){z-index: 3;}
.progress-list__item:nth-child(4){z-index: 2;}
.progress-list__item:nth-child(5){z-index: 1;}
.progress-step{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: unset;
  height: 48px;
  padding: 0 20px;
  background: #ccc;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 48px;
}

.progress-list__item:not(:last-child) .progress-step::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 36px;
  height: 36px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.progress-list__item:not(:last-child) .progress-step::before{
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  pointer-events: none;
  z-index: 2;
}
.progress-label{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 18px 10px;
  color: #ccc;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.progress-label.sp-only{
  display: none;
}
.progress-label__sub-text{
  display: block;
  margin-top: -2px;
  font-size: 14px;
  line-height: 1.2;
}
.progress-list__item.is-done .progress-step{
  background: #595959;
}
.progress-list__item.is-done .progress-step p{
  position: relative;
  padding-left: 38px;
  line-height: 1.2;
}
.progress-list__item.is-done .progress-step p::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  background: url(/sites/default/files/media/personal-information/image/icon_progress-done-pc.webp) no-repeat center / contain;
  width: 29px;
  height: 29px;
}
.progress-list__item.is-done .progress-label{
  color: #3d3d3d;
}
.progress-list__item.is-current .progress-step{
  background: #bc2739;
}
.progress-list__item.is-current .progress-label{
  color: #bc2739;
}

.progress-last{
  position: relative;
  width: 150px;
  padding-left: 50px;
  text-align: center;
}
.progress-last::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 23px;
  transform: translateY(-50%);
  display: inline-block;
  border-left: 12px solid #595959;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.progress-last__text{
  margin: 10px 0 0 !important;
  color: #595959;
  font-size: 19px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .progress-wrap{
    flex-wrap: wrap;
    padding: 13px 7px;
  }
  .progress-list{
    width: 100%;
    background: none;
  }
  .progress-step{
    height: 29px;
    padding: 0;
    font-size: 29px;
    text-align: center;
    line-height: 29px;
  }
  .progress-step::after{
    display: none;
  }
  .progress-list__item:not(:last-child) .progress-step::before{
    content: "";
    right: -18px;
    transform: unset;
    display: inline-block;
    width: 34px;
    height: 1px;
    border: none;
    background: #595959;
  }
  .progress-step p.sp-only{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0!important;
    color: #ccc;
  }
  .progress-step img{
    height: 29px;
  }

  .progress-label{
    justify-content: flex-start;
    padding: 8px 0 0;
    line-height: 1.2;
  }
  .progress-label.pc-only{
    display: none;
  }
  .progress-label.sp-only{
    display: flex;
  }
  .progress-label__sub-text{
    margin: 0;
  }
  .progress-label,
  .progress-label__sub-text{
    font-size: 13px;
  }

  .progress-list__item.is-done .progress-step,
  .progress-list__item.is-current .progress-step,
  .progress-step{
    background: none;
  }
  .progress-list__item.is-done .progress-step p::before{
    display: none;
  }
  .progress-list__item.is-current .progress-step p.sp-only{
    color: #bc2739;
  }

  .progress-last{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 34px);
    margin: 10px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #505050;
  }
  .progress-last::before{
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 12px solid #595959;
    border-right: 10px solid transparent;
    border-bottom: none;
    border-left: 10px solid transparent;
  }
  .progress-last__image{
    width: 22px;
  }
  .progress-last__text{
    margin: 0 !important;
    font-size: 16px;
  }

}
#edit-business-d-account-issuance-information-select--wrapper--description{
margin-bottom:10px;
}
#edit-processed-text-02,
#edit-contract-representative-information .js-webform-states-hidden{
    background: none;
    border-radius: initial;
    padding: 0;
}
.form-item-docomo-business-point-usage-information{
background:#fff;
padding:0;
}
.form-item-check-name-on-mobile-carrier-account label{
font-weight:bold!important;
}
#edit-docomo-business-call-discount-application-mobile{
display:block;
}
.js-form-item-agreement-to-business-call-discount .description{
  padding-top: 1.5em;
  margin-left:0;
}
.js-form-item-agreement-to-business-call-discount input#edit-agreement-to-business-call-discount{
    margin-left: 0.5em;
}
.t_uline{
text-decoration: underline;
}
.fc-rd_imp{
  color:#c03!important;
}

.js-webform-type-radio {
  position: relative;
}

.js-webform-type-radio .error.form-item--error-message{
  position: absolute;
  margin: 25px 0 0 0;
}

#sim_type-error {
  width: 115%;
}

strong#sim_grade-error{
  width: 135%;
}

strong#corporate_registration_status-error{
  width: 100%;
}

strong#corporate_verification_document_type-error{
  margin: 20px 0 0px 0px;
  width: 120%;
}

fieldset#edit-sim-grade--wrapper {
  background: none;
  padding: 0;
  border-radius: inherit;
}
#edit-sim-grade label{
 margin: 0;
}

strong#sim_grade-error {
  margin: 45px 0 0 0;
}

.js-webform-states-hidden .js-webform-states-hidden {
  background: none;
  padding: 0;
}

.webform-progress-tracker.progress-tracker.progress-tracker--center {
  display: none;
}

.finish_block.webform-confirmation {
  margin: 60px 0 0 0;
}

div#edit-corporate-verification-document-type {
    margin: 0 0 10px 0;
}

@media screen and (max-width: 768px) {
  .js-webform-type-radio .error.form-item--error-message {
      position: absolute;
      margin: 55px 0 0 0;
  }
  strong#destination_information_select-error,
  strong#invoice_recipient_name_select-error,
  strong#corporate_registration_status-error {
    margin: 25px 0 0 0;
  }
  strong#sim_grade-error{
    margin: 65px 0 0 0;
  }
}