@charset 'UTF-8';

.ttl.-primary.-apply {
  font-size: .32rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
  border: none;
}

.ttl.-primary.-apply:after {
  display: block;
  width: 100px;
  height: 4px;
  margin: 15px auto 0;
  content: '';
  background: #ca2420;
}

.ttl-container:has(.subtitle) {
  margin-bottom: 80px;
}

.ttl-container:has(.subtitle) .ttl {
  margin-bottom: 0;
  padding-bottom: 25px;
}

.ttl-container .subtitle {
  font-family: Noto Serif JP,serif;
  font-size: .25rem;
  text-align: center;
}

.ttl.-secondary.-apply {
  font-size: .28rem;
  font-weight: 700;
  line-height: 1.45714;
  position: relative;
  margin-top: 100px;
  padding: 0;
  text-align: center;
  border: none;
}

.ttl.-secondary.-apply:before,.ttl.-secondary.-apply:after {
  position: absolute;
  top: 25px;
  display: block;
  width: calc(50% - 40px);
  height: 3px;
  content: '';
  background: #333;
}

.ttl.-secondary.-apply:before {
  left: 0;
}

.ttl.-secondary.-apply:after {
  right: 0;
}

.ttl.-secondary.-apply>.ico-font {
  display: block;
  margin: 0 auto 10px;
}

.anchor-links.-apply {
  padding: 0;
  background: none;
}

.anchor-links.-apply>.link-list {
  padding: 0;
}

.anchor-links.-apply>.link-list>li>.link {
  padding-left: 50px;
  color: #222;
}

.anchor-links.-apply .ico-font {
  position: absolute;
  left: 25px;
  margin-top: .1em;
}

.block.-apply-tel-block .conversion-box .sub {
  padding: 0;
  border: none;
}

.toggle-panel.-apply {
  background: rgba(255,255,255,.75);
}

.toggle-panel.-apply>.title {
  font-size: .2rem;
  line-height: 1.64;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
}

.ios.iphone #appli-android {
  display: none;
}

.android #appli-ios {
  display: none;
}

.toggle-panel.-apply-notes {
  background: rgba(238,238,238,.9);
}

.toggle-panel.-apply-notes .title {
  padding-bottom: 0;
  border: none;
}

.apply-step-wrapper {
  line-height: 1.8;
  margin: 1.5em 0 0;
}

.apply-step-wrapper:first-child {
  margin-top: 0;
}

.apply-step-wrapper>.title {
  font-size: .18rem;
  font-weight: 700;
  line-height: 1.71111;
  position: relative;
  display: flex;
  margin-bottom: 10px;
  text-align: center;
  color: #ca2420;

  align-items: center;
  justify-content: center;
}

.apply-step {
  overflow: hidden;
  margin: 10px 0 0;
  counter-reset: step;
}

.apply-step>.step {
  position: relative;
  padding: 28px 15px 16px;
  border: 1px solid #42425a;
  background: #fff;
}

.apply-step>.step:before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 50px;
  height: 50px;
  content: '';
  background: linear-gradient(135deg,#42425a 50%,transparent 50%);
}

.apply-step>.step:after {
  line-height: 1;
  position: absolute;
  z-index: 2;
  top: .5em;
  left: .5em;
  margin: auto;
  content: counter(step);
  counter-increment: step;
  color: #fff;
}

.apply-step>.step>* {
  flex: 1 1 0%;
}

.box.-general.-apply {
  padding: 0;
}

.box.-general.-apply>.dlist.-general>dt {
  font-size: .26rem;
  line-height: 1.49231;
  padding-top: 50px;
  text-align: center;
}

.box.-general.-apply>.dlist.-general>dt .ico-label.-apply>b {
  color: #ff0;
}

.box.-general.-apply>.dlist.-general>dd {
  padding: 20px 30px 30px;
}

.box.-general.-apply>.dlist.-general.-apply>dt {
  padding: 10px 30px;
  color: #fff;
  background: #666;
}

.box.-general.-apply>.dlist.-general.-apply>dt>.row.-speed-title {
  justify-content: center;
  align-items: center;
}

.box.-general.-apply>.dlist.-general.-apply>dt b {
  color: #ff0;
}

.box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply {
  font-size: .14rem;
  margin: 0;
  padding: 5px;
  color: #333;
  background: #fff0f0;
}

.box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply:before {
  display: none;
}

.box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply:after {
  display: none;
}

.box.-general.-apply>.dlist.-general.-apply.-suppress>dt {
  color: #333;
  background: #ddd;
}

.box.-general.-apply .block.-apply-button-wrapper {
  position: relative;
  padding-top: 30px;
}

.dlist.-general .dlist-ttl {
  padding-bottom: 5px;
  border-bottom: 1px solid #e3e3e3;
}

.btn.-tertiary.-emphasis {
  border: 1px solid transparent;
  background: #42425a;
}

.btn.-tertiary.-emphasis:hover {
  color: #42425a!important;
  border-color: #42425a;
  background: #fff;
}

.btn.-tertiary.-emphasis:hover.-link:before,.btn.-tertiary.-emphasis:hover>.ico-dir:before,.btn.-tertiary.-emphasis:hover>.ico-dir:after {
  border-color: #002c78;
}

.btn.-tertiary.-emphasis:hover>.ico-font,.btn.-tertiary.-emphasis:hover>.ico-font:last-child {
  color: #42425a!important;
}

.tabpanel.-apply {
  padding-top: 40px;
}

.tabpanel.-apply>*:first-child {
  margin-top: 0!important;
}

.floating-nav {
  display: none;
  overflow: visible;
  background: rgba(1,1,2,.8);
}

.floating-nav>.inner {
  position: relative;
}

.floating-nav .list {
  color: #fff;
}

.floating-nav .closebtn {
  font-size: 0;
  position: absolute;
  top: 12px;
  right: 12px;
  display: block;
  width: 22px;
  height: 22px;
}

.floating-nav .closebtn:hover {
  opacity: .8;
}

.floating-nav .closebtn:before,.floating-nav .closebtn:after {
  position: absolute;
  top: 0;
  right: -4px;
  bottom: 0;
  left: -4px;
  display: block;
  width: 30px;
  height: 1px;
  margin: auto;
  content: '';
  transform: rotate(45deg);
  background: #fff;
}

.floating-nav .closebtn:after {
  transform: rotate(-45deg);
}

#faq-now .rn_List>.rn_Item {
  display: flex;
  padding: 0;

  justify-content: flex-start;
  align-items: flex-start;
}

#faq-now .rn_List>.rn_Item:before {
  line-height: 1;
  display: inline-flex;
  float: none;
  width: 1.8em;
  height: 1.8em;
  margin: 0 10px 0 0;
  content: 'Q';
  text-align: center;
  vertical-align: middle;
  color: #fff;
  border-radius: 4px;
  background-color: #002870;

  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
}

.to-top-apply {
  position: fixed;
  z-index: 2000;
  right: 0;
  bottom: 115px;
  display: none;
  width: 50px;
  height: 50px;
  margin: auto;
  text-align: right;
}

.to-top-apply .btn.-to-top {
  font-size: 0;
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  height: 100%;
  transition: background-color 200ms ease;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 20px 0 rgba(0,0,0,.08);

  backdrop-filter: blur(8.06641px);
}

.to-top-apply .btn.-to-top:before {
  position: absolute;
  top: 0;
  top: 50%;
  bottom: 0;
  bottom: auto;
  left: 50%;
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: auto;
  margin-top: 0;
  content: '';
  transition: all .2s ease;
  transition: border-color 200ms ease;
  transform: rotate(-45deg);
  transform: translate(-50%,-25%) rotate(-45deg);
  vertical-align: middle;
  border-top: 1px solid #ca2420;
  border-right: 1px solid #ca2420;
  border-bottom-color: transparent!important;
  border-left-color: transparent!important;
}

.to-top-apply .btn.-to-top:hover {
  opacity: 1!important;
  background: #ca2420;
}

.to-top-apply .btn.-to-top:hover:before {
  border-color: #fff;
}

.photo-sample {
  font-size: .14rem;
  text-align: center;
}

.photo-sample>.col>figure {
  display: flex;

  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.photo-sample .fignote {
  margin-top: 5px;
}

.photo-sample .ico img {
  margin-top: 3px;
  vertical-align: top;
}

.apply-balloon {
  font-weight: 400;
  display: flex;
  min-height: 65px;
  padding: 12px 48px;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  background-color: #42425a;

  align-items: center;
}

.box.-apply01 {
  margin-top: 72px;
  padding-bottom: 72px;
}

.apply-header01 {
  position: relative;
  padding-top: 36px;
}

.apply-header01 .apply-balloon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

@media print,screen and (min-width:768px) {
  .ttl.-primary.-apply {
    font-size: .48rem;
    line-height: 1.26667;
  }

  .ttl.-secondary.-apply {
    font-size: .38rem;
    line-height: 1.33684;
  }

  .anchor-links.-apply>.link-list {
    display: flex;
  }

  .anchor-links.-apply>.link-list>li {
    float: none;
    padding-top: 5px;
    padding-right: 3em;
    padding-bottom: 5px;
  }

  .anchor-links.-apply>.link-list>li:last-child {
    padding-right: 0;
  }

  .anchor-links.-apply>.link-list>li:before {
    right: calc(1.5em - 2px);
    height: auto;
  }

  .anchor-links.-apply .ico-font {
    left: 15px;
  }

  .block.-apply-tel-block .box.-general {
    background: url(../../img/apply/bg_tel.jpg) right top no-repeat;
  }

  .block.-apply-tel-block .conversion-box {
    display: block;
    padding: 20px 0 10px;
  }

  .block.-apply-tel-block .conversion-box:after {
    display: none;
  }

  .block.-apply-tel-block .conversion-box .sub {
    display: table;
    margin: 20px auto 0;
  }

  .block.-apply-tel-block .tel-name {
    font-size: .18rem;
  }

  .block.-apply-tel-block .tel-number .tel-link {
    font-size: .38rem;
  }

  .toggle-panel.-apply>.title {
    font-size: .24rem;
    line-height: 1.53333;
    text-align: center;
  }

  .toggle-panel.-apply>.contents {
    display: block!important;
  }

  #upload.panel-box.-feature>.contents {
    background: url(../../img/apply/bg_upload.jpg) right bottom no-repeat;
  }

  #mynumbercard.panel-box.-feature>.contents {
    background: url(../../img/apply/bg_mynumbercard.jpg) right top no-repeat;
  }

  #pre.panel-box.-feature>.contents {
    background: url(../../img/apply/bg_pre.jpg) right top no-repeat;
  }

  .apply-step-wrapper>.title {
    font-size: .2rem;
    line-height: 1.64;
  }

  .apply-step {
    display: flex;

    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
  }

  .apply-step>.step {
    display: flex;
    width: calc(50% - 10px/2);
    text-align: center;

    align-items: center;
  }

  .box.-general.-apply>.dlist.-general.-apply>dt>.row.-speed-title {
    flex-direction: row-reverse;
  }

  .box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 10px;
  }

  .box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply:before {
    display: block;
    border-width: 10px 20px 10px 0;
    border-color: transparent #ccc transparent transparent;
  }

  .box.-general.-apply>.dlist.-general.-apply>dt .box.-balloon.-apply:after {
    display: block;
    border-width: 8px 18px 8px 0;
    border-color: transparent #fff0f0 transparent transparent;
  }

  .box.-general.-apply .block.-apply-button-wrapper>.txt {
    margin-top: 0;
  }

  .box.-general.-apply .block.-apply-button-wrapper>.txt.-attention {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .apply-top .to-top {
    display: none!important;
  }

  .floating-nav {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
  }

  .floating-nav>.inner {
    max-width: 940px;
    margin: auto;
  }

  .floating-nav .closebtn {
    top: 20px;
    right: 20px;
  }

  .to-top-apply {
    display: none!important;
  }

  .photo-sample .photo-slant {
    margin-top: -12px;
  }

  .photo-sample>.col {
    display: flex;

    flex-flow: column nowrap;
  }

  .photo-sample .ico {
    margin-right: 3px;
  }
}

@media print,screen and (min-width:1300px) {
  .apply-step>.step {
    width: calc(25% - 10px*3/4);
  }
}

@media screen and (max-width:767px) {
  .ttl-container:has(.subtitle) {
    margin-bottom: 40px;
  }

  .ttl-container .subtitle {
    font-size: .18rem;
  }

  .ttl.-secondary.-apply {
    margin-top: 70px;
  }

  .anchor-links.-apply>.link-list>li>.link {
    padding: 15px 5px 15px 70px;
  }

  .anchor-links.-apply>.link-list>li>.link:before {
    top: calc(1em + 6px);
    left: 6px;
  }

  .anchor-links.-apply>.link-list>li>.link:after {
    top: calc(1em + 15px);
    left: 4px;
  }

  .toggle-panel.-apply>.contents {
    margin-top: 10px;
  }

  .toggle-panel.-apply-notes .title {
    padding-top: 0;
  }

  .toggle-panel.-apply-notes .contents {
    padding-top: 15px;
  }

  .apply-step>.step {
    padding: 16px 25px;
  }

  .apply-step>.step+.step {
    margin-top: 10px;
  }

  .apply-step>.step img {
    width: 120px;
    height: auto;
  }

  .box.-general.-apply>.dlist.-general>dt {
    padding-top: 40px;
  }

  .box.-general.-apply>.dlist.-general>dd {
    padding: 20px 15px 15px;
  }

  .tab-container.-tablist-floating>.tablist {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 10px;
    left: 10px;
    transform: translateY(-100%);
    background: #fff;
  }

  .tab-container.-tablist-floating.-scroll-up>.tablist {
    transition: transform 200ms 200ms ease;
    transform: translateY(0);
  }

  .tab-container.-tablist-floating.-scroll-down>.tablist {
    transition: transform 200ms ease;
    transform: translateY(-100%);
  }

  .tabpanel.-apply {
    padding-top: 24px;
  }

  .apply-top .to-top {
    bottom: 115px;
  }

  .floating-nav {
    padding: 45px 24px 24px;
  }

  .floating-nav .box.-supplement {
    display: flex;
    padding: 0;
    background: none;
  }

  .floating-nav .btn {
    display: inline-flex;
    padding: 5px 0;

    align-items: center;
    justify-content: center;
  }

  .floating-nav .btn>b {
    padding: 0 25px 0 5px;
  }

  .floating-nav .btn>i:first-child {
    display: none;
  }

  .floating-nav .btn>i:last-child {
    right: 5px;
  }

  .photo-sample .photo-before-slant {
    padding-top: 5px;
  }

  .apply-balloon {
    min-height: 47px;
    padding: 10px 23px;
  }

  .box.-apply01 {
    margin-top: 48px;
    padding-bottom: 40px;
  }

  .apply-header01 {
    padding-top: 26px;
  }

  .apply-header01 .apply-balloon {
    top: -38px;
  }
}

@media screen and (min-width:768px) and (max-width:1299px) {
  .apply-step>.step:nth-child(n+3) {
    margin-top: 10px;
  }
}
