@charset "utf-8";

/* ---------------------------------------------
  Global
--------------------------------------------- */
body {
  padding-right: 0 !important;
}

@media screen and (max-width: 640px) {
  .container {
    width: 90% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* ---------------------------------------------
  TU External Link / Logo
--------------------------------------------- */
.tu-none, .tu-all, .id-tieup {
    display: none !important;
}
.af-none, .af-all {
    display: none;
}
.id-none, .id-all {
    display: none !important;
}
.tu-all, .tu-all.voiceesim_on, .voiceesim_only, #voice_esim .voiceesim_off {
    display: none !important;
}

.tu-external-link #smp-head .logo-top,
.tu #smp-head .logo-top,
.tu-external-link #logoArea .logo,
.tu #logoArea .logo {
  pointer-events: none;
}

.tu-external-link #pankuzu {
  display: none !important;
}

.tu-external-link .campaign-anno {
  margin: 10px auto 2.5em;
}

@media screen and (max-width: 640px) {
  .campaign-anno ul {
    margin-top: 1em;
  }
}

/* ---------------------------------------------
  Affiliate Hidden Elements
--------------------------------------------- */
body.tu-external-link .bnrArea,
body.tu-external-link #footer .footer_main1 .footer_map {
  display: none;
}

/* ---------------------------------------------
  SHT000000
--------------------------------------------- */
@media screen and (min-width: 641px) {
  .SHT000000 #top .special-area .tu-label-area {
    width: 430px;
  }

  .SHT000000 .special-area .tu-label-area {
    width: 250px;
  }
}

@media screen and (max-width: 640px) {
  .SHT000000 #top .special-area .tu-label-area,
  .tu .special-area .tu-label-area {
    width: 85%;
  }

  .SHT000000 .special-area .tu-label-area {
    width: 55%;
  }

  .SHT000000 .special-area .tu-label-area p {
    font-size: 4.5vw;
  }
}


/* ---------------------------------------------
  Utility
--------------------------------------------- */
.transform-italic {
  transform: skewX(-15deg);
}

/* ---------------------------------------------
  Lightbox Button
--------------------------------------------- */
.lightbox_btn {
  margin: 30px 0 15px;
  text-align: center;
}

.lightbox_btn a {
  background: #fa4e9e;
  color: #fff;
  display: inline-block;
  padding: 15px 0;
  width: 365px;
  border-radius: 5px;
}

.lightbox_btn a:hover {
  opacity: .7;
}

.lightbox_btn a p {
  font-size: 16px;
  line-height: 13.5px;
  background: url(/image/top/link_mark.png) left center no-repeat;
  padding-left: 25px;
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .lightbox .lb-outerContainer {
    width: 90% !important;
    height: 100% !important;
  }

  .lightbox .lb-image {
    width: 100% !important;
    height: 100% !important;
  }
}

/* ---------------------------------------------
  Header Rewrite
--------------------------------------------- */
#headback.af-nav {
  height: 135px;
}

.af-nav .top_nav_list li {
  padding: 0;
  border: none;
}

.af-nav #nav {
  display: flex;
  justify-content: space-around;
}

.af-nav #nav>a {
  flex-basis: 20%;
  text-align: center;
  border-left: 1px dotted #ccc;
}

.af-nav #nav>a:last-child {
  border-right: 1px dotted #ccc;
}

.af-nav #nav>a.btn-af-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
}

.btn-af-head {
  position: relative;
  width: 260px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: bold;
  background: linear-gradient(to bottom, #9ed73b 1%, #87c631 100%);
  box-shadow: 0px 3px 2px #CCC;
  border-radius: 3px;
  text-align: center;
  padding: 11px 0px 3px 20px;
  box-sizing: border-box;
  color: #FFF !important;
  letter-spacing: 0px;
  transition-duration: .05s;
  user-select: none;
  flex-basis: 37% !important;
  text-decoration: none;
  height: 50px;
  margin: 0;
}
.btn-af-head:after {
  content: "";
  position: absolute;
  display: block;
  border-top: 3px solid #FFF;
  border-right: 3px solid #FFF;
  width: 16px;
  height: 16px;
  top: 17px;
  left: 1px;
  transform: rotate(45deg);
}
.btn-af-head:hover {
  opacity: 0.7;
  text-decoration: none !important;
}
#scroll_nav.fixed .btn-af-head {
  height: 40px;
  margin-top: 5px;
}
#scroll_nav.fixed a.btn-af-head:after {
  width: 10px;
  height: 10px;
  top: 15px;
  left: 3px;
}

@media screen and (max-width: 640px) {
  .af-nav #nav>a {
    flex-basis: 23%;
  }

  .af-nav #nav>a.btn-af-head {
    flex-basis: 26%;
    padding-left: 28px;
    padding-bottom: 5px;
  }

  .af-nav .fixed #nav>a.btn-af-head {
    flex-basis: 29%;
  }
}


/* ---------------------------------------------
  Common Components
--------------------------------------------- */
.bg-brown {
  background: #e7e4d9;
}

.brown-btn,
a.brown-btn {
  color: #fff !important;
  background: #b68a41;
  padding: 8px 20px;
  border-radius: 6px;
  display: inline-block;
  margin: 10px;
}

a.brown-btn:hover {
  opacity: .8;
}


/* ---------------------------------------------
  Gigaplan Display Control
--------------------------------------------- */
.gigaplan-only-disp {
  display: none;
}

/* ---------------------------------------------
  メインビジュアル
--------------------------------------------- */
#main {
  position: relative;
}

@media screen and (max-width: 640px) {
  .mv_ano {
    position: absolute;
    top: 50%;
    right: 4%;
    font-size: 70%;
    padding: 0 3px;
    color: #fff;
  }
  .mv_ano.kome-3 {
    top: 56.8%;
    right: 5%;
    padding: 0;
    color: #fff;
  }
  .mv_ano.kome-3[data-sim="smileCp"] {
    top: 55.8%;
    right: 9%;
  }
}
@media screen and (min-width: 641px) {
  .mv_ano {
    position: absolute;
    top: 51.5%;
    left: calc(50% + 375px);
    font-size: 0.9em;
    color: #fff;
  }
  .mv_ano.kome-3 {
    top: 61.5%;
    left: calc(50% + 400px);
    color: #fff;
  }
  .mv_ano.kome-3[data-sim="smileCp"] {
    left: calc(50% + 354px);
  }
}

#top {
  padding: 1rem 0 2rem;
}

.top_anno_list {
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .top_anno_list {
    width: 105%;
    margin: 0 0 0 -2.5%;
  }

  .top_anno_list small.anno {
    font-size: 10px;
  }
}

/* ---------------------------------------------
  TOPボタン 吹き出し
--------------------------------------------- */
.color-yellow {
  color: #ff0;
}

.special-area small {
  font-size: 80%;
}

.special-area {
  width: 100%;
}

.special-area .font-weight-bold {
  font-weight: 600 !important;
}

.special-area-inner {
  background-color: #be8700;
  margin: 0 auto;
  width: 82%;
  padding: 2vw;
}

.special-area-inner p {
  margin-bottom: 0;
  font-size: 3vw;
  text-align: center;
  color: #fff;
  line-height: 1.4;
  text-shadow: 1px 1px rgb(0 0 0 / 50%);
  letter-spacing: 0.05em;
}

.special-text {
  font-size: 4.2vw;
}

.special-text-to {
  margin-top: 3px;
}

.special-area-arrow {
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 2.5vw solid transparent;
  border-right: 2.5vw solid transparent;
  border-top: 3.5vw solid #be8700;
}

@media screen and (min-width: 641px) {
  .special-area-inner {
    width: 510px;
    padding: 1.25rem 0;
  }

  .special-area-inner p {
    font-size: 20px;
    text-shadow: 2px 2px rgb(0 0 0 / 50%);
  }

  .special-text {
    font-size: 27px;
  }

  .special-area-arrow {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #be8700;
  }
}

.tu .tu-label-area p {
  padding-top: 0.5rem;
}

/* ---------------------------------------------
  ボタン
--------------------------------------------- */
.app-btn-area {
  padding: 2.5rem 0 4rem;
}

/*---------- 青ボタン ----------*/
a.blue-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  font-size: 1.2em;
  letter-spacing: 1px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  background: #6085cc;
  color: #fff !important;
  padding: 0.7em 0 0.7em 1.2em;
  margin: 0 auto;
  border-radius: 50em;
  box-shadow: 0 0.2em 0 rgb(170 170 170 / 50%);
  transition: opacity .3s;
}

a.blue-btn:hover {
  opacity: .7;
  text-decoration: none !important;
}

a.blue-btn::after {
  content: "";
  position: absolute;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  width: 10px;
  height: 10px;
  top: 17px;
  left: 12px;
  transform: rotate(45deg);
}

a.blue-btn.unkerlink::after {
  transform: rotate(135deg);
  top: 15px;
  left: 23px;
}

@media screen and (max-width: 640px) {
  a.blue-btn {
    font-size: 5vw;
  }

  a.blue-btn::after {
    top: 19px;
  }
}

/* ---------------------------------------------
  バナー
--------------------------------------------- */
.campaign_bnr {
  padding: 2rem 0 0;
  text-align: center;
}

.campaign_bnr p {
  font-size: 20px;
}

@media screen and (max-width: 640px) {
  .campaign_bnr {
    padding: 20px 0;
  }
}

/* ---------------------------------------------
  ポイント
--------------------------------------------- */
#point {
  background-color: #f7f5f1;
  padding: 4rem 0 3rem;
}
#point .campaign_bnr {
  padding: 0 0 4rem;
}
#point h2 {
  font-size: 2.4rem;
  margin: 0 0 1em;
}
.double_line {
  font-weight: bold;
  display: inline-block;
  padding: 0.3em 0;
}
.point-title-img {
  width: 120px;
  vertical-align: sub;
}
.point_list li {
  box-sizing: border-box;
}
.point-no {
  position: relative;
  text-align: center;
}
.point-no-label {
  display: inline-block;
  background-color: #fa4e9e;
  color: #fff;
  padding: 0.3em 1em;
  font-weight: bold;
  border-radius: 5px;
  letter-spacing: 2px;
}
.point_list li h3 {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.5;
  margin: 1.5em 0;
}
.point_list li:first-of-type h3,
.point_list li:nth-of-type(7) h3 {
  margin: 0.5em 0;
}
.point_list li img {
  display: block;
  width: 100%;
  margin: 0 auto 1rem;
}
.point_list li:first-of-type img {
  width: 80%;
}
.point_list li:nth-of-type(6) > img {
  width: 60%;
}
.point_text {
  text-align: center;
  margin-top: 2rem;
}
.box-flex {
  display: flex;
  width: 50%;
  margin: 1rem auto 0;
}
.box-flex.option_flex img {
  width: 40%;
}
.point_list a.blue-btn:after {
  top: 16px;
  transform: rotate(135deg);
  left: 1em;
}
@media screen and (min-width: 641px) {
  .double_line {
    padding: 0.5em 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .point_list {
    display: flex;
    flex-wrap: wrap;
  }
  .point_list li {
    width: calc(100% / 3);
    border-left: 1px solid #cccc99;
    padding: 1rem 2rem 0;
    margin-bottom: 2rem;
  }
  .point_list li:nth-of-type(3n) {
    border-right: 1px solid #cccc99;
  }
}
@media screen and (max-width: 640px) {
  #point h2 {
    font-size: 6.4vw;
  }
  .double_line {
    padding: 0.5em 0 0;
  }
  .point_list li {
    padding: 0 0 2rem 0;
  }
  .point_list li:last-of-type {
    padding: 0;
  }
  .point-no-label {
    position: relative;
    z-index: 1;
  }
  .point-no::after {
    content: "";
    border-top: 2px solid #fa4e9e;
    top: 40%;
    left: 0px;
    width: 100%;
    position: absolute;
    z-index: 0;
  }
  .point_list li #inc_award{
    margin-bottom: 0;
  }
}

/* ---------------------------------------------
  ご愛顧
--------------------------------------------- */
.top_link_btn a p {
  font-size: 13.5px !important;
  line-height: 13.5px;
  background: url(/image/top/link_mark.png) left center no-repeat;
  padding-left: 25px;
  margin-bottom: 0;
  display: inline-block;
}
#goaiko_family, #goaiko_long-term {
  padding-bottom: 1rem;
}

/*---------- タイアップ ----------*/
.goaiko-area {
  background-color:#f7f5f1
}
.combination-title {
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
}
/* PC */
@media screen and (min-width: 641px) {
  .combination-title {
    padding: 0 0 3rem 0;
    font-size: 2.4rem;
  }
  #goaiko_mio, #goaiko_family, #goaiko_long-term {
    padding-bottom: 2rem;
  }
}

/* SP */
@media screen and (max-width: 640px) {
  .goaiko-area {
    padding-bottom: 2rem;
  }
  .combination-title {
    font-size: 6vw;
  }
  #inc_award {
    margin-bottom: 4rem;
  }
  #goaiko_mio {
    margin-bottom: 1rem;
  }
  .two-line-osusume {
    margin: 2rem auto 0;
  }
  .goaiko-wrap {
    padding: 0 1rem;
  }
}

/* ---------------------------------------------
  万が一のために2回線あったほうが安心！
--------------------------------------------- */
#dual {
  padding: 4rem 0;
  background-color: #f7f5f1
}

.two-line-osusume {
  text-align: center;
}

.two-line-osusume-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row-reverse;
}

.two-line-osusume-box .text-area {
  width: 61%;
  font-size: 1.8rem;
  text-align: left;
  line-height: 1.6;
}

.two-line-osusume-box .text-area .anno-text {
  margin-top: 2rem;
  font-size: 1.2rem;
  text-indent: -1rem;
  padding-left: 1rem;
}

.two-line-osusume-box .img-area {
  width: 39%;
}

.two-line-osusume-title {
  margin-bottom: 3rem;
  font-weight: bold;
  font-size: 2.4rem;
  margin-top: 0;
  line-height: 1.42857;
}

.two-line-osusume-title span {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  display: inline-block;
}

@media screen and (min-width: 641px) {
  .two-line-osusume-box-img {
    max-width: 277px;
  }
}

@media screen and (max-width: 640px) {
  #dual {
    padding: 1rem 0 4rem;
  }

  .two-line-osusume {
    position: relative;
    margin: 0;
    z-index: 1;
  }

  .two-line-osusume-box {
    display: block;
  }

  .two-line-osusume-box .text-area {
    margin-top: 1rem;
    font-size: 1.6rem;
    text-align: left;
    line-height: 1.6;
  }

  .two-line-osusume-box .text-area,
  .two-line-osusume-box .img-area {
    width: 100%;
  }

  .two-line-osusume-title span {
    border: none;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ---------------------------------------------
  IIJmioを利用できるスマホは？
--------------------------------------------- */
#inc_endev {
  background: #f7f5f1;
  width: 100%;
  padding: 4rem 0 0;
}

#inc_endev h2 {
  margin: 0px auto;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  color: #484848;
  font-weight: bold;
}
.endev_s_title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.yellow-highlight {
  padding: 0 2px;
  background: linear-gradient(transparent 50%, #f6ff5f 0%);
}

@media screen and (min-width: 641px) {
  #inc_endev .read {
    width: 960px;
    margin: 0 auto;
    font-size: 15px;
    text-align: left;
  }
  #inc_endev .read .read-inner {
    width: fit-content;
    margin: 0 auto;
  }

  #inc_endev .read .read-two-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #inc_endev .read .read-ano {
    padding-top: 1rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
    font-size: 1.4rem;
    width: 100%;
  }
  #inc_endev .read .text-wrap span,
  #inc_endev .read .text-wrap {
    align-self: center;
    font-weight: bold;
    font-size: 2.6rem;
    letter-spacing: 2px;
    line-height: 1.5;
  }
  .read-two-box img {
    margin-left: 5em;
    width: 120px;
  }
  #inc_endev .read .text-wrap .pink {
    color: #fa4e9e;
  }
  #inc_endev .read span {
    display: inline-block;
  }
  .read-two-box + small.anno {
    margin: 0;
  }
}
@media screen and (max-width: 640px) {
  #inc_endev h2 {
    padding: 0;
    font-size: 6.4vw;
    letter-spacing: 0;
  }

  #inc_endev .read {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    font-size: 15px;
    text-align: left;
  }
  #inc_endev .read .read-two-box {
    display: flex;
    justify-content: space-between;
  }
  #inc_endev .read .read-ano {
    padding-top: 1rem;
    padding-left: 1.2rem;
    text-indent: -1.2rem;
    font-size: 1.2rem;
  }
  #inc_endev .read .text-wrap {
    width: 75%;
  }
  #inc_endev .read img {
    width: 25%;
  }
  #inc_endev .read .text-wrap span,
  #inc_endev .read .text-wrap {
    align-self: center;
    font-weight: bold;
    font-size: 1.7rem;
  }
  #inc_endev .read .text-wrap .pink {
    color: #fa4e9e;
  }
  #inc_endev .read span {
    display: inline-block;
  }
  #inc_endev .read .transform-italic {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform:none;
    transform: none;
  }
  .endev_s_title {
    font-size: 4vw;
  }
}

/* ---------------------------------------------
  あなたのスマホが使えるかチェック！
--------------------------------------------- */
#device_check_r2 .devicecheck,
#device_check_r2 {
  background-color: #f7f5f1
}
#device_check_r2 .device_check_r2-title {
  padding-top: 4rem;
  width: 90%;
  margin: 0 auto !important;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
  color: #3f63ab;
  font-weight: bold;
}
@media screen and (max-width: 640px) {
  #device_check_r2 .device_check_r2-title {
    font-size: 4.8vw;
    letter-spacing: 1px;
  }
}

/* ---------------------------------------------
  アワード
--------------------------------------------- */
@media screen and (max-width: 640px) {
  #inc_award {
    background: none !important;
    padding-bottom: 0 !important;
  }

  .award_box {
    width: 100% !important;
  }
}

/* ---------------------------------------------
  新規お申し込み方法
--------------------------------------------- */
.step_title {
  padding-top: 4rem !important;
}
@media screen and (max-width: 640px) {
  .step_title {
    /* padding-top: 0 !important; */
    margin-top: 0;
  }
}
.step_title + .lead {
  font-weight: normal !important;
}

.onestopBnr {
  margin: 4rem auto;
  max-width: 960px;
}
.simcp .onestopBnr {
  margin-top: 0;
}

@media screen and (max-width: 640px) {
  .simcp .step_list > li:last-child {
    margin-bottom: 0;
  }
  .onestopBnr {
    width: 90%;
    margin-top: 0;
  }
}