
/* html {
  overflow: auto;
  height: 100%;
} */

ol,
ul {
  padding: 0;
}

li.active {
  pointer-events: none;
}

/* ↓↓ flow-step-eSim ↓↓ */
.flow-step-eSim {
  background-color: #fff;
  padding: 30px 0 0;
  margin-bottom: 40px;
  position: relative;
}

.flow-step-eSim::after {
  position: absolute;
  left: 0;
  bottom: -40px;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-color: #fff transparent transparent transparent;
  border-style: solid;
  border-width: 40px 480px 0 480px;
}

.flow-step-eSim h2 {
  text-align: center;
  margin: 0 0 30px;
  font-size: 20px;
}

.flow-step-eSim .flow-card-list {
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.flow-step-eSim .flow-card-list .flow-card {
  width: 28%;
  margin: 0 10px 20px;
  vertical-align: middle;
  border: 2px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  padding: 15px;
}

.flow-step-eSim .flow-card-list .flow-card a {
  display: block;
  text-decoration: none !important;
  color: #333;
}

.flow-step-eSim .flow-card-list .flow-card a:hover {
  opacity: .6;
}

.flow-step-eSim .flow-card-list .flow-card a .flow-card-inner .flow-card-img-wrap {
  height: 70px;
  margin: 0 0 10px;
}

.flow-step-eSim .flow-card-list .flow-card a .flow-card-inner .flow-card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
}

br.for-sp-only {
  display: none;
}

.flow-step-eSim .flow-card-list .flow-card.active {
  border: 2px solid #eb5505;
}

.flow-step-eSim .flow-card-list .flow-card.active a {
  color: #eb5505;
}

/* SP(middle) */
@media (max-width: 979px) {
  .flow-step-eSim::after {
    border-width: 40px calc(46.5vw - 10px) 0 calc(46.5vw - 10px);
  }
}

/* SP */
@media (max-width: 767px) {
  br.for-sp-only {
    display: block;
  }

  .flow-step-eSim h2 {
    font-size: 115%;
  }

  .flow-step-eSim .flow-card-list {
    text-align: left;
    margin: 0 3%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .flow-step-eSim .flow-card-list .flow-card {
    text-align: center;
    width: 49%;
    margin: 0 0 10px;
  }

  .flow-step-eSim .flow-card-list .flow-card a .flow-card-inner {
    padding: 15px 0 10px;
  }

  .flow-step-eSim .flow-card-list .flow-card a .flow-card-inner .flow-card-bottom-text {
    min-height: 2.8em;
  }
}

#section-q1b,
#section-q2,
.result-section {
  display: none;
}

/* ↓↓ simBlock ↓↓ */
#simBlock {
  text-align: center;
}

@media screen and (min-width: 768px) {
  div.selectBox {
    background: #f3f3f3;
    margin: 0 auto 45px;
    position: relative;
    padding: 50px 20px 30px;
  }

  div.selectBox::after {
    content: '';
    display: block;
    width: 0;
    position: absolute;
    left: calc(50% - 20px);
    bottom: -24px;
    height: 0;
    border-style: solid;
    border-width: 24px 20px 0 20px;
    border-color: #f3f3f3 transparent transparent transparent;
  }

  p.selectBoxHead {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #4c4a4a;
  }


  #a0.selectBox ul {
    display: flex;
    justify-content: center;
  }

  #a0.selectBox ul li {
    width: 34%;
    margin: 0 10px;
    text-align: center;
  }

  #a0.selectBox ul li a {
    font-size: 18px;
    color: #4c4a4a !important;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: solid 1px #eaeaea;
    padding: 20px;
    height: 100%;
  }

  #a0.selectBox ul li a img {
    width: 68%;
    margin: 20px auto;
  }

  #a0.selectBox ul li a.on {
    font-size: 18px;
    display: block;
    background: #fdeee6;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  #a1.selectBox {
    padding: 50px;
    display: none;
  }

  #a1 p.selectBoxHead {
    margin-bottom: 30px;
  }

  #a1 p.selectBoxHead+p {
    margin-bottom: 10px;
  }

  #a1 a {
    font-weight: bold;
  }

  #a1 a span {
    display: inline-block;
    transform: scale(.6, 1)
  }

  #a1.selectBox>ul {
    margin: 20px auto 0;
  }

  #a1.selectBox>ul>li {
    color: #ff0800;
    font-weight: bold;
  }

  #a2.selectBox {
    padding: 50px 0;
    display: none;
  }

  #a2.selectBox ul {
    display: flex;
    justify-content: center;
  }

  #a2.selectBox ul li {
    width: 270px;
    margin: 0 14px;
    text-align: center;
  }

  #a2.selectBox ul li a {
    font-size: 18px;
    color: #4c4a4a !important;
    font-weight: bold;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    height: 60px;
    line-height: 60px;
    border: solid 1px #eaeaea;
  }

  #a2.selectBox ul li a.on {
    font-size: 18px;
    font-weight: bold;
    display: block;
    background: #fdeee6;
    ;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  #a2.selectBox ul li a br{
    display: none;
  }

  #a3.selectBox {
    padding: 50px 0;
    display: none;
  }

  .selectBox .lineType ul {
    display: flex;
    justify-content: center;
  }

  .selectBox .lineType ul li {
    width: 270px;
    margin: 0 14px;
    text-align: center;
  }

  .selectBox .lineType ul li a {
    font-size: 18px;
    color: #4c4a4a !important;
    font-weight: bold;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    height: 60px;
    line-height: 60px;
    border: solid 1px #eaeaea;
  }

  .selectBox .lineType ul li a.on {
    font-size: 18px;
    font-weight: bold;
    display: block;
    background: #fdeee6;
    ;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  /* .ancLink, */
  .txtLink {
    display: inline-block;
    position: relative;
    line-height: 1.4;
    padding: 0 20px 0 0;
  }

  .txtLink::after {
    content: '\FF1E';
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(.6, 1);
  }

  .linkblank {
    text-indent: 0;
  }

  .linkblank::after {
    content: '';
    transform: scale(1.5, 1.5);
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -4.5px;
    margin-right: 5px;
    background-image: url(/content/dam/au-com/mobile/product/sim/images/mb_sim_icon_sprite.png);
    background-position: -80px -68px;
    width: 9px;
    height: 9px;
    background-size: 101px 93px;
    display: inline-block;
  }

  #btnBox a {
    background: #fdeee6;
    display: block;
    position: relative;
    height: 60px;
    line-height: 60px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    font-weight: bold;
    color: #222;
    transition: .2s;
    display: none;
  }

  #btnBox a::after {
    content: '\FF1E';
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 0;
    transform: scale(.6, 1);
    opacity: .5;
  }

  #btnBox span {
    background: #e8e8e7;
    display: block;
    position: relative;
    height: 60px;
    line-height: 60px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    font-weight: bold;
    color: #a4a3a3;
  }

}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 768px) and (max-width: 1200px) {}

@media screen and (min-width: 980px) and (max-width: 1200px) {}

@media screen and (min-width: 768px) and (max-width: 979.98px) {

  #a2.selectBox ul li:nth-child(2n) a {
    line-height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 7px;
  }

  #a2.selectBox ul li a br{
    display: inline;
  }
}

@media screen and (min-width: 0px) and (max-width: 767.98px) {
  h2::before {
    content: '';
    display: inline-block;
    background: url(/content/dam/au-com/mobile/product/sim/images/icon-other.png) no-repeat left center;
    background-size: auto 100%;
    height: 8vw;
    width: 14vw;
    line-height: 8vw;
    position: absolute;
    top: 0;
    left: 0;
  }

  h2 img {
    width: 16vw;
    margin-right: 3%;
    vertical-align: middle;
  }

  div.selectBox {
    background: #f3f3f3;
    margin: 0 auto 8%;
    position: relative;
    padding: 6%;
  }

  div.selectBox::after {
    content: '';
    display: block;
    width: 0;
    position: absolute;
    left: calc(50% - 20px);
    bottom: -24px;
    height: 0;
    border-style: solid;
    border-width: 24px 20px 0 20px;
    border-color: #f3f3f3 transparent transparent transparent;
  }

  p.selectBoxHead {
    font-size: 3.8vw;
    font-weight: bold;
    margin-bottom: 5%;
    color: #4c4a4a;
  }

  div.selectBox a {
    font-size: 3.4vw;
  }

  #a0.selectBox ul {
    display: flex;
    justify-content: space-between;
  }

  #a0.selectBox ul li {
    width: 47%;
    text-align: center;
  }

  #a0.selectBox ul li a {
    font-size: 18px;
    color: #4c4a4a !important;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: solid 1px #eaeaea;
    padding: 10px;
    height: 100%;
  }

  #a0.selectBox ul li a img {
    max-height: 100%;
    padding: 10px;
    width: 100%;
  }

  #a0.selectBox ul li a.on {
    font-size: 18px;
    display: block;
    background: #fdeee6;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  #a0 a.txl {
    font-weight: bold;
  }

  #a0 a.txl span {
    display: inline-block;
    transform: scale(.6, 1)
  }

  #a1.selectBox {
    padding: 6%;
    display: none;
  }

  #a1 p.selectBoxHead {
    margin-bottom: 5%;
    font-size: 3.4vw;
  }

  #a1 p.selectBoxHead+p {
    margin-bottom: 10px;
    font-size: 3.4vw;
  }

  #a1 a {
    font-weight: bold;
  }

  #a1 a span {
    display: inline-block;
    transform: scale(.6, 1)
  }

  #a1.selectBox>ul {
    margin: 5% auto 0;
  }

  #a1.selectBox>ul>li {
    color: #ff0800;
    font-weight: bold;
    font-size: 3vw;
  }

  #a2.selectBox {
    padding: 6%;
    display: none;
  }

  #a2.selectBox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #a2.selectBox ul li {
    width: 47%;
    text-align: center;
  }

  #a2.selectBox ul li:nth-child(n+3) {
    margin-top: 30px;
  }

  #a2.selectBox ul li a {
    font-size: 3.8vw;
    color: #4c4a4a !important;
    font-weight: bold;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    height: 18vw;
    line-height: 18vw;
    border: solid 1px #eaeaea;
  }

  #a2.selectBox ul li:nth-child(2n) a {
    line-height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 7px;
  }

  #a2.selectBox ul li a.on {
    font-size: 3.8vw;
    font-weight: bold;
    display: block;
    background: #fdeee6;
    ;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  #a2.selectBox ul li:nth-child(2n) a.on {
    display: flex;
  }

  #a2.selectBox ul li a br{
    display: inline;
  }

  #a3.selectBox {
    padding: 6%;
    display: none;
  }

  .selectBox .lineType ul {
    display: flex;
    justify-content: space-around;
  }

  .selectBox .lineType ul li {
    width: 47%;
    text-align: center;
  }

  .selectBox .lineType ul li a {
    font-size: 3.8vw;
    color: #4c4a4a !important;
    font-weight: bold;
    display: block;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    height: 18vw;
    line-height: 18vw;
    border: solid 1px #eaeaea;
  }

  .selectBox .lineType ul li:first-child a {
    margin-right: 5px;
  }

  .selectBox .lineType ul li:last-child a {
    margin-left: 5px;
  }

  .selectBox .lineType ul li a.on {
    font-size: 3.8vw;
    font-weight: bold;
    display: block;
    background: #fdeee6;
    ;
    border-radius: 5px;
    box-shadow: inset 0 3px 0px 0px rgba(0, 0, 0, .1);
    border: none;
  }

  /* .ancLink, */
  .txtLink {
    display: inline-block;
    position: relative;
    line-height: 1.4;
    padding: 0 20px 0 0;
    font-size: 3.4vw;
  }

  .txtLink::after {
    content: '\FF1E';
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(.6, 1);
  }

  .linkblank {
    text-indent: 0;
  }

  .linkblank::after {
    content: '';
    transform: scale(1.5, 1.5);
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -4.5px;
    margin-right: 1vw;
    background-image: url(/content/dam/au-com/mobile/product/sim/images/mb_sim_icon_sprite.png);
    background-position: -80px -68px;
    width: 9px;
    height: 9px;
    background-size: 101px 93px;
    display: inline-block;
  }

  #btnBox a {
    background: #fdeee6;
    display: block;
    position: relative;
    height: 12vw;
    line-height: 12vw;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    width: 100%;
    margin: 0 auto;
    border-radius: 5px;
    font-weight: bold;
    color: #222;
    display: none;
    font-size: 3.8vw;
  }

  #btnBox a::after {
    content: '\FF1E';
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 0;
    transform: scale(.6, 1);
    opacity: .5;
  }

  #btnBox span {
    background: #e8e8e7;
    display: block;
    position: relative;
    height: 12vw;
    line-height: 12vw;
    box-shadow: 0 3px 0px 0px rgba(0, 0, 0, .1);
    width: 100%;
    margin: 0 auto;
    border-radius: 5px;
    font-weight: bold;
    color: #a4a3a3;
    font-size: 3.8vw;
  }

  #footer {
    border-top: 1px solid #f3f3f3;
    padding: 40px 0;
    font-size: 12px;
  }
}

.view-pc {
  display: block !important;
}

.view-sp {
  display: none !important;
}

@media screen and (min-width: 0px) and (max-width: 767px) {
  .view-pc {
    display: none !important;
  }

  .view-sp {
    display: block !important;
  }
}

.fcRed {
  color: #ff0800;
}


/* ↓↓↓ ここから追記 20250805 ↓↓↓ */
#a1 .lineTypeBtns .modal-openBtn,
#a3 .lineTypeBtns .modal-openBtn {
  display: block !important;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  #a1 .lineTypeBtns,
  #a3 .lineTypeBtns {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 30px;
  }

  #a1 .lineTypeBtns.one,
  #a3 .lineTypeBtns.one {
    justify-content: center;
  }

  #a1 .lineTypeBtns li a,
  #a3 .lineTypeBtns li a {
    margin: 0;
  }
}
/* ↑↑↑ ここまで追記 20250805 ↑↑↑ */
