@charset "UTF-8";
:root {
  --spc-xs: 0.5vw;
  --spc-s: 1vw;
  --spc-m: 3vw;
  --spc-l: 6vw;
  --bg-beige: #f7f5f1;
  --pink-color: #f6006d;
  --step-color: #00a3ac;
  --fs-m: clamp(14px, 3.8vw, 16px);
  --fs-s: clamp(10px, 3.2vw, 12px);
  --fs-xs: clamp(8px, 3vw, 10px)
}

@media screen and (min-width: 641px) {
  :root {
    --spc-xs: 0.2rem;
    --spc-s: 0.4rem;
    --spc-m: 1rem;
    --spc-l: 2rem;
    --fs-m: 16px;
    --fs-s: 14px;
    --fs-xs: 11px;
  }
}

/* ---------- 共通スタイル ---------- */
p {
  line-height: 1.6;
}
h2 {
  margin: 0 0 1.6rem;
  text-align: center;
  font-size: 5.3vw;
  font-weight: bold;
  line-height: 1.4em;
  letter-spacing: 0.1em;
}
img {
  vertical-align: middle;
}
main a:link {
  color: #e7198c;
}
.mb_0 {
  margin-bottom: 0 !important;
}
.mb_s {
  margin-bottom: var(--spc-s) !important;
}
.mb_m {
  margin-bottom: var(--spc-m) !important;
}
.mb_l {
  margin-bottom: var(--spc-l) !important;
}
.large_text {
  font-size: 120%;
}
.small_text {
  font-size: 80%;
}
.text_color {
  color:#333;
}
.text_pink {
  color: #e7198c;
}
.text_indent {
  text-indent: -1em;
  padding-left: 1em;
}
.text_italic{
  display: block;
  transform: skewX(-10deg);
}
.flex_item {
  display: flex;
}
.flex_space-between {
  justify-content: space-between;
  gap: 0.5em;
}
#esim-trial, #easy-switch, #what-is-esim, #device_check_r2, #price, #flow {
  padding: 10vw 0 12vw;
}
#esim-trial, #easy-switch, #what-is-esim, #price, #flow {
  margin-top: var(--spc-l);
}
#esim-trial, #easy-switch, #what-is-esim, #price {
  background: var(--bg-beige);
}
#device_check_r2 {
  background: #ededed;
}
.lead_text {
  margin-bottom: var(--spc-l) ;
  font-size: var(--fs-m);
  text-align: center;
  letter-spacing: 0.1em;
}
ul.asterisk, ul.common_list {
  padding-left: 1.3em;
  text-indent: -1.3em;
  font-size: var(--fs-m);
  line-height: 1.4;
}
ul.asterisk_number {
  padding-left: 2em;
  text-indent: -2em;
  counter-reset: number;
  font-size: var(--fs-m);
  line-height: 1.4;
}
ul.asterisk > li, ul.asterisk_number > li, ul.common_list > li {
  margin-bottom: var(--spc-s);
}
ul.asterisk.main-img_anno > li, ul.asterisk_number.main-img_anno > li {
  margin-bottom: var(--spc-xs);
}
p.small_text, ul.asterisk.small_text, ul.asterisk_number.small_text, ul.common_list.small_text {
  font-size: var(--fs-s);
}
ul.asterisk.main-img_anno, ul.asterisk_number.main-img_anno, p.more_small, ul.asterisk.more_small, ul.asterisk_number.more_small, ul.common_list.more_small {
  font-size: var(--fs-xs);
  line-height: 1.2;
}
ul.asterisk > li:before {
  content: "※ ";
}
ul.asterisk_number > li:before {
  counter-increment: number;
  content: "※" counter(number) "："
}

@media screen and (min-width: 641px) {
  h2 {
    font-size: 30px;
  }
  .flex_item_pc {
    display: flex;
  }
  .tac_pc {
    text-align: center;
  }
  #esim-trial, #easy-switch, #what-is-esim, #device_check_r2, #price, #flow {
    padding: 4rem 0;
  }
  .anchor_link:before {
    top: 16%;
  }
  .anchor_link:after {
    top: 0.3em;
  }
}
@media screen and (max-width: 640px) {
  .flex_item_sp {
    display: flex;
  }
}

/* ---------- インクルード調整 ---------- */
@media screen and (max-width: 640px) {
  main #otoku_gaiyo:not(.tab-none) .inc_gaiyo-body {
    width: 90%;
  }
  main #footer-anno {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 641px) {
  main #footer-anno {
    margin-bottom: 0;
  }
}

/* ---------- インクルード調整（動確） ---------- */
main .devicecheck {
  padding-bottom: 0;
}
main .form {
  margin: 0;
  padding: 0;
}
main .input-group {
  margin-top: var(--spc-m);
}
.devicecheck.skin-iijmio {
  background: none;
}
@media screen and (max-width: 640px) {
  main .keyword-group>ul>li {
    width: 48%;
  }
  main .devicecheck .-text-red {
    font-size: var(--fs-m);
  }
}

/* ---------- インクルード調整（初期費用） ---------- */
main .icon-block {
  font-size: 14px;
}
main .icon-block img {
  vertical-align: middle;
}
@media screen and (max-width: 640px) {
  main .icon-block {
    font-size: 3.5vw;
  }
  main .init-text-cp {
    display: none;
  }
}

/* ---------- メインビジュアル ---------- */
.main-img {
  position: relative;
}
#main img {
  margin-bottom: var(--spc-m);
}
@media screen and (min-width: 641px) {
  .mv_ano {
    position: absolute;
    top: 46%;
    left: calc(50% + 28px);
    font-size: 0.9em;
    color: var(--pink-color);
  }
}
@media screen and (max-width: 640px) {
  #main .container {
    width: 96%;
  }
  .mv_ano {
    position: absolute;
    top: 48%;
    right: 18%;
    font-size: 70%;
    padding: 0 3px;
    color: var(--pink-color);
  }
}

/* ---------- 申し込みボタン ---------- */
.btn_bottom_txt {
  margin-bottom: var(--spc-s);
  font-size: var(--fs-m);
}
.btn_bottom_txt .anchor_link {
  color: #3e5fab !important;
  text-decoration: underline;
  padding-left: 1.3em !important;
}
.btn_bottom_txt .anchor_link:before {
  background: #3e5fab;
  border-radius: 3px;
  left: 0;
  width: 1em;
  height: 1em;
}
.btn_bottom_txt .anchor_link:after {
  top: 0.25em;
  left: 4px;
}
@media screen and (min-width: 641px) {
  .btn_bottom_txt .anchor_link:after {
  top: 0.25em;
    width: 6px !important;
    height: 6px !important;
  }
}

/*---------- 初期費用CPボタン上吹き出し ----------*/
.init_top_fukidashi {
  padding: 2em 0 1em;
}

.tu-label-area {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 330px;
  color: #e64d97;
  background: #FFF;
  border: solid 2px #eb6ca9;
}

.tu-label-area p {
  text-align: center;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 0;
  padding: 0.6rem 0;
}

.tu-label-area p:before,
.tu-label-area p:after {
  content: "";
  position: absolute;
  bottom: calc(0px - (7px * 2));
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top: 7px solid;
}

.tu-label-area p:before {
  bottom: calc(3px - (7px * 2));
  border-top-color: #fff;
  z-index: 2;
}

.tu-label-area p:after {
  border-top-color: #eb6ca9;
  z-index: 1;
}

.tu-label-area p .small {
  font-size: 0.7em;
  font-weight: bold;
}

@media screen and (max-width: 640px) {
  #top-button .init_top_fukidashi {
    padding: 1.5em 0 1em;
  }
  .init_top_fukidashi {
    padding: 2em 0 1em;
  }

  .tu-label-area {
    width: 75%;
  }

  .tu-label-area p {
    font-size: 5vw;
    padding: 0.5rem 0;
  }
  .esim_init_anno {
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
  }
}

/* ---------- eSIMをおトクにお試し ---------- */

#esim-trial {
  padding-top: 16vw;
}
.esim_trial_main, .esim_trial_initcost {
  position: relative;
  box-sizing: border-box;
  margin-bottom: var(--spc-m);
  padding: 8vw 6vw 5vw;
  border:#e64d97 1px solid;
  border-radius: 3vw;
  background: #fff;
}
.esim_trial_main {
  margin-bottom: 12vw;
}
.esim_trial_main_title {
  position: absolute;
  top: -4vw;
  left: 50%;
  box-sizing: border-box;
  width: 90%;
  padding-left: 8vw;
  transform: translateX(-50%);
  text-align: center;
  font-size: 4.6vw;
  color: #fff;
  font-weight: bold;
  line-height: 2;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}
.esim_trial_main_title:before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  left: 0;
  background: repeating-linear-gradient(45deg, #f06ea9, #f06ea9 1vw, #e6539a 1vw, #e6539a 2vw);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
  z-index: -1;
}
.esim_trial_main_title small {
  font-size: max(0.6em, 10px);
}
.esim_trial_title_img {
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 13%;
}
.esim_trial_main h3, .esim_trial_initcost h3 {
  position: relative;
  margin-bottom: var(--spc-l);
  text-align: center;
  font-size: 4.4vw;
  font-weight: bold;
  line-height: 1.4em;
  letter-spacing: 0.1em;
}
.esim_trial_main h3:before {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 10vw;
  height: 100%;
  content: "";
  transform: translateY(-40%);
  background: url(/campaign/data-esim/img/icon_sparkle.png) no-repeat;
  background-size: auto 80%;
}
.esim_trial_main h3:after {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 10vw;
  height: 100%;
  content: "";
  transform: translateY(-40%) scale(-1, 1);
  background: url(/campaign/data-esim/img/icon_sparkle.png) no-repeat;
  background-size: auto 80%;
}
.esim_trial_price {
  display: flex;
  gap : 0 3vw;
}
.esim_trial_price_career {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 6vw 0 5vw;
  border-radius: 2.8vw;
  background: #fdf4f8;
  text-align: center;
}
.esim_trial_price_career h4 {
  position: absolute;
  top: -2.2vw;
  left: 50%;
  box-sizing: border-box;
  width: 74%;
  padding: 1vw 0;
  transform: translateX(-50%);
  border-radius: 100vw;
  font-size: var(--fs-m);
  color: #fff;
  font-weight: bold;
}
.network_docomo {
  background: #d83b32;
}
.network_au {
  background: #f16b00;
}
.esim_trial_price_before, .esim_trial_initcost_before_price {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: var(--spc-s);
  font-size: 5.6vw;
  color: #aaa;
  line-height: 1;
}
.esim_trial_price_before:before, .esim_trial_initcost_before_price:before {
  position: absolute;
  top:50%;
  left: 50%;
  content: "";
  width: 90%;
  height: 2px;
  background: #f0539f;
  transform: translateX(-50%) rotate(-16deg);
}
.esim_trial_price_before .yen, .esim_trial_initcost_before_price .yen {
  margin-inline: 0.1em;
  font-size: 70%;
}
.esim_trial_price_before .tax, .esim_trial_initcost_before_price .tax {
  font-size: 40%;
  color: #aaa;
}
.esim_trial_price_after, .esim_trial_initcost_after {
  position: relative;
  width: fit-content;
  margin: 3vw auto 0;
  font-size: 16vw;
  color: var(--pink-color);
  font-weight: bold;
  line-height: 1;
}
.esim_trial_price_after:after, .esim_trial_initcost_after:after {
  position: absolute;
  content: "";
  top: -2vw;
  left: 50%;
  width: 5vw;
  height: 2vw;
  transform: translateX(-50%);
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--pink-color);
}
.esim_trial_price_after .yen {
  font-size: 40%;
  font-weight: bold;
}
.esim_trial_period {
  box-sizing: border-box;
  width: fit-content;
  margin: 0 auto;
  padding: 0 1vw;
  border-radius: 1vw;
  background: #ffe173;
  font-size: var(--fs-s);
  font-weight: bold;
  letter-spacing: 0.1em;
}
.esim_trial_main:after {
    content: "＋";
    position: absolute;
    left: 50%;
    bottom: -8vw;
    width: 8vw;
    height: 8vw;
    font-size: 7vw;
    text-align: center;
    line-height: 1;
    color: #fff;
    background-color: #e64d97;
    border-radius: 50em;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.esim_trial_initcost {
  padding-top: 18vw;
  border:#e7dbc2 1px solid;
}
.esim_trial_initcost h3 {
  position: absolute;
  top: -3vw;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.initcost_title_plus {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 50%;
  margin: 0 auto 4vw;
  padding: 0.2vw 2vw;
  background: #cfa972;
  font-size: 80%;
  color: #fff;
  font-weight: bold;
}
.initcost_title_plus:after {
  position: absolute;
  content: "";
  bottom: -2vw;
  left: 50%;
  width: 5vw;
  height: 3vw;
  transform: translateX(-50%);
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #cfa972;
}
.esim_trial_initcost_area {
  margin-bottom: var(--spc-m);
  padding: 3vw 3vw 2vw;
  border-radius: 2.8vw;
  background: var(--bg-beige);
}
.esim_trial_initcost_before {
  display:flex;
  align-items: center;
  gap: 0 0.2vw;
  padding: 3vw 1vw 2vw;
  background: #efece4;
  text-align: left;
}
.esim_trial_initcost_before p {
  line-height: 1.4;
}
.esim_trial_initcost_before_price {
  margin-bottom: 0;
  white-space: nowrap;
  color: #333;
}
.esim_trial_initcost_before_price .tax {
  color: #333;
}
.text_equal {
  font-size: var(--fs-m);
}
.esim_trial_initcost_after {
  margin-top: 6vw;
  font-size: 10vw;
}
.esim_trial_initcost_after:after {
  top: -4vw;
}
.esim_trial_initcost_after .yen {
  margin-left: 1vw;
  font-size: 50%;
  font-weight: bold;
}
.esim_trial_initcost_after .tax {
  position: absolute;
  top: 0.8vw;
  right: -1vw;
  font-size: 2.4vw;
  color: #333;
}
.esim_trial_initcost h4 {
  margin-bottom: var(--spc-s);
  font-size: var(--fs-m);
  font-weight: bold;
  letter-spacing: 0.1em;
}
.esim_trial_monthly {
  font-weight: bold;
}

@media screen and (min-width: 641px) {
  #esim-trial {
    padding-top: 80px;
  }
  .esim_trial_main, .esim_trial_initcost {
    padding: 50px 80px 30px;
    border-radius: 16px;
  }
  .esim_trial_main {
    margin-bottom: 60px;
  }
  .esim_trial_main_title {
    top: -20px;
    padding-left: 50px;
    color: #fff;
    font-size: 30px;
  }
  .esim_trial_main_title:before {
    background: repeating-linear-gradient(45deg, #f06ea9, #f06ea9 6px, #e6539a 6px, #e6539a 12px);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%, 20px 50%);
  }
  .esim_trial_title_img {
    width: auto;
    left: 22%;
  }
  .esim_trial_main h3, .esim_trial_initcost h3 {
    font-size: 26px;
  }
  .esim_trial_main h3 {
    width: fit-content;
    margin-inline: auto;
    padding: 0 100px;
    font-size: 26px;
  }
  .esim_trial_main h3:before, .esim_trial_main h3:after {
    width: 50px;
    background-size: auto;
  }
  .esim_trial_price {
    margin-top: 2rem;
    gap: 0 2rem;
  }
  .esim_trial_price_career {
    padding: 2.4rem 0 1rem;
    border-radius: 10px;
  }
  .esim_trial_price_career h4 {
    top: -1rem;
    padding: 0.6rem 0;
  }
  .esim_trial_monthly {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.3;
  }
  .esim_trial_price_area {
    display: flex;
    gap: 0 1rem;
    justify-content: center;
    align-items: center;
  }
  .esim_trial_price_before, .esim_trial_initcost_before_price {
    margin: 0;
    font-size: 30px;
  }
  .esim_trial_price_after, .esim_trial_initcost_after {
    margin: 0 0 0 2rem;
    font-size: 80px;
  }
  .esim_trial_price_after:after, .esim_trial_initcost_after:after {
    top: 50%;
    left: -1.8rem;
    width: 12px;
    height: 24px;
    -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translateY(-50%);
  }
  .esim_trial_period {
    padding: 0.2rem 1rem;
    border-radius: 4px;
  }
  .esim_trial_main:after {
    bottom: -50px;
    width: 48px;
    height: 48px;
    font-size: 30px;
  }
  .esim_trial_initcost {
    padding-top: 80px;
    padding-bottom: 20px;
  }
  .esim_trial_initcost h3 {
    top: -20px;
  }
  .initcost_title_plus {
    width: 30%;
    margin: 0 auto 1.2rem;
    padding: 0 2rem;
    font-size: 70%;
    letter-spacing: 0.2em;
  }
  .initcost_title_plus:after {
    bottom: -10px;
    left: 50%;
    width: 20px;
    height: 12px;
  }
  .esim_trial_initcost_area {
    padding: 2rem;
    border-radius: 10px;
    background: var(--bg-beige);
  }
  .esim_trial_initcost_before {
        gap: 0 1rem;
        padding: 1rem 2rem;
  }
  .esim_trial_initcost_after {
    margin: 0 0 0 2rem;
    font-size: 55px;
  }
  .esim_trial_initcost_after .yen {
    margin-left: 0.2rem;
  }
  .esim_trial_initcost_after .tax {
    top: 5px;
    right: -2px;
    font-size: 10px;
  }
  .esim_trial_initcost_detail {
    margin-left: 1em;
  }
  
}

@media screen and (max-width: 640px) {
  .esim_trial_initcost_area {
    text-align: center;
  }
  .esim_trial_initcost_before_price {
    margin: 0;
    font-size: 5.2vw;
  }
  .esim_trial_initcost_before_price .tax {
    position: absolute;
    top: -1vw;
    right: -1vw;
  }
  .esim_trial_initcost_before .small_text {
    font-size: 2.8vw;
  }
  .esim_trial_monthly {
    font-size: 3.6vw;
    margin-bottom: var(--spc-s);
  }
  .esim_trial_main {
    margin-bottom: 9.5vw;
  }
  #esim-trial .esim_trial_initcost{
    padding-top: 16vw;
  }
}

/* ---------- 今だけ月額0円だから気軽に始められる！ ---------- */
.esim_trial_recommend {
  margin: var(--spc-l) 0 0;
  padding: 5vw 5vw 10vw;
  background: #f1eee8;
}
.esim_trial_recommend_title {
  position: relative;
  margin-bottom: 6vw;
  padding-bottom: 2vw;
  background-image: linear-gradient(to right, #d2c7b4 5px, transparent 5px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
  text-align: center;
  font-size: 5vw;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.esim_trial_recommend_title:before {
  position: absolute;
  bottom: -3vw;
  left: 0;
  width: 16vw;
  height: 100%;
  content: "";
  background: url(/campaign/data-esim/img/recommend_man.png) no-repeat;
  background-size: auto 80%;
}
.esim_trial_recommend_title:after {
  position: absolute;
  bottom: -3vw;
  right: 0;
  width: 16vw;
  height: 100%;
  content: "";
  background: url(/campaign/data-esim/img/recommend_woman.png) no-repeat;
  background-size: auto 80%;
  background-position-x: right;
}
.esim_trial_recommend_title .large_text {
  font-size: 160%;
}
.esim_trial_recommend h4 {
  margin-bottom: var(--spc-m);
  text-align: center;
  font-size: 4.5vw;
  letter-spacing: 0.1em;
}
.esim_trial_recommend_list > li, .esim_trial_switch_list > li {
  box-sizing: border-box;
  width: 90%;
  margin: 0 auto var(--spc-l);
  padding: 5vw 0;
  border-radius: 1.6vw;
  background: #fff;
  text-align: center;
}
.esim_trial_recommend_list > li:last-child, .esim_trial_switch_list > li:last-child {
  margin-bottom: 0;
}
.esim_trial_recommend_list > li p {
  margin-bottom: var(--spc-m);
  font-size: 4.4vw;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.esim_trial_recommend_list > li img {
  width: 80%;
  box-sizing: border-box;
}

@media screen and (min-width: 641px) {
  .esim_trial_recommend {
    padding: 20px 50px 50px;
    /* padding: 0;
    background: none; */
  }
  .esim_trial_recommend_title {
    margin-bottom: 3%;
    padding: 1.5rem 0 1rem;
    font-size: 30px;
  }
  .esim_trial_recommend_title:before, .esim_trial_recommend_title:after {
    bottom: -5px;
    width: 100px;
    background-size: 80% auto;
  }
  .esim_trial_recommend_title:before {
    left: 20px;
  }
  .esim_trial_recommend_title:after {
    right: 20px;
  }
  .esim_trial_recommend h4 {
    font-size: 20px;
  }
  .esim_trial_recommend_list, .esim_trial_switch_list {
    display: flex;
    gap: 0 20px;
  }
  .esim_trial_recommend_list > li, .esim_trial_switch_list > li {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 30px;
    border-radius: 16px;
  }
  .esim_trial_recommend_list > li p {
    font-size: 18px;
  }
}

/* ---------- eSIMなら乗り換え簡単 ---------- */
.esim_trial_switch_list {
  margin-bottom: 5rem;
}
.esim_trial_switch_list > li {
  padding: 5vw 10vw;
}
.esim_trial_switch_list > li h3 {
  margin-bottom: var(--spc-m);
  font-size: 4.4vw;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.esim_trial_switch_list > li p {
  margin-top: var(--spc-m);
  font-size: var(--fs-s);
  letter-spacing: 0.1em;
}

@media screen and (min-width: 641px) {
  .esim_trial_switch_list > li {
    padding: 30px;
  }
  .esim_trial_switch_list > li h3 {
    font-size: 20px;
  }
  .esim_trial_switch_list > li img {
    width: auto;
    height: 130px;
  }
}

@media screen and (max-width: 640px) {
.esim_trial_switch_list > li:first-child img {
  width: 65%;
}
}
/*---------- IIJmioの音声eSIM おすすめポイント ----------*/
.esim_osusume_point {
  position: relative;
}
.esim_osusume_point h3 {
  position: absolute;
  color: #fff;
  width: 100%;
  height: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  line-height: 40px;
  text-align: center;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: url(/gigaplan/esim/phone/img/osusume_bg.png) center / contain no-repeat;
  font-size: 24px;
}
.osusume_list {
  display: flex;
  justify-content: center;
  background: #fcedf4;
  padding: 50px 0 30px;
}
.osusume_list li {
  width: 37%;
}
.osusume_title {
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.5em;
  margin: 0;
}
.osusume_title span {
  display: block;
  font-size: 0.7em;
  font-weight: normal;
}
.osusume_title sup {
  font-size: 12px;
}
.osusume_title span.anno {
  font-size: 10px;
  line-height: 12px;
}
.osusume_img {
  height: 140px;
  margin: 15px 0 0;
  text-align: center;
}
.osusume_img img {
  height: 100%;
}
@media screen and (max-width: 640px) {
  .esim_osusume_point h3 {
    width: 90%;
    height: 10vw;
    top: -9vw;
    font-size: 4vw;
    white-space: nowrap;
  }
  .osusume_list {
      display: block;
      padding: 8vw 0 2vw;
  }
  .osusume_list li {
      width: 90%;
      margin: 0 auto 5vw;
  }
  .osusume_list li .osusume_img {
      border-bottom: 1px solid #ffafd6;
      padding-bottom: 15px;
  }
  .osusume_list li:last-of-type .osusume_img {
      border-bottom: none;
      padding-bottom: 0;
  }
  li:nth-child(2) .osusume_img img {
    height: 120%;
    margin: 0 auto;
    display: block;
}
  li:nth-child(2) .osusume_img {
    padding-bottom: 40px;
  }
}
@media screen and (min-width: 641px) {
  .osusume_list li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-right: 1px solid #ffafd6;
  }
  .osusume_list li:nth-child(3) {
      border-right: none;
  }
  li:nth-child(2) .osusume_img img {
    height: 126%;
    margin: 0 auto;
    display: block;
  }
  .osusume_img {
      margin: 0 auto;
  }
  .osusume_list li:nth-child(2) .osusume_img {
      margin: 15px 0 0;
  }
}
/* ---------- eSIMとは ---------- */
.what-is-esim_title {
  box-sizing: border-box;
  width: fit-content;
  margin: 0 auto 2rem;
  padding-left: 10vw;
  background: url(/campaign/data-esim/img/icon_esim.svg) left center / contain no-repeat;
}
.what-is-esim_lead {
  margin-bottom: var(--spc-l);
  text-align: center;
  font-size: 4.8vw;
  font-weight: bold;
}
#what-is-esim .what-is-esim_content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 50px;
  align-items: start;
  margin-bottom: var(--spc-s);
}
#what-is-esim .what-is-esim_lead,
#what-is-esim .what-is-esim_description,
#what-is-esim .what-is-esim_possible_box {
  grid-column: 1;
}
#what-is-esim .what-is-esim_description {
  font-size: var(--fs-m);
}
#what-is-esim .what-is-esim_image {
  grid-column: 2;
  grid-row: 1 / span 3;
}
#what-is-esim .what-is-esim_image img {
  display: block;
  width: auto;
  height: 100%;
}
.what-is-esim_possible_box {
  box-sizing: border-box;
  width: 100%;
  margin: var(--spc-l) auto 0;
}
.what-is-esim_possible_box h3 {
  padding: var(--spc-m);
  font-size: 4.4vw;
}
.what-is-esim_possible_box h3 span {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: fit-content;
  margin: 0 auto;
  padding: 0 2vw;
  z-index: 1;
  font-weight: bold;
}
.possible_list {
  padding: var(--spc-m);
  background: #fff;
}
.possible_list > li {
  position: relative;
  margin-bottom: var(--spc-s);
  padding-left: 6vw;
  line-height: 1.4;
}
.possible_list > li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.possible_list > li p::before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  margin: auto;
  width: 5vw;
  height: 5vw;
  background: url(/campaign/data-esim/img/icon_check.png) center top no-repeat;
  background-size: 100% auto;
  transform: translateY(-56%);
}
@media screen and (min-width: 641px) {
  .what-is-esim_title {
    padding-left: 4rem;
  }
  #what-is-esim .what-is-esim_content {
    width: 96%;
  }
  #what-is-esim .what-is-esim_lead {
    margin-bottom: var(--spc-m);
    text-align: left;
    font-size: 20px;
  }
  .what-is-esim_possible_box {
    border: 2px solid #e6dfd2;
  }
  .what-is-esim_possible_box h3 {
    margin: 0 auto;
    padding: 1rem;
    background: #faf8f6;
    font-size: 20px;
  }
  .possible_list {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
    letter-spacing: 0.1em;
  }
  .possible_list > li {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0;
    padding-left: 0;
    border-right: 1px solid #f4ede2;
    font-size: var(--fs-s);
  }
  .possible_list > li:nth-child(3) {
    border-right: none;
  }
  .possible_list > li p {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding-left: 26px;
  }
  .possible_list > li p::before {
    top: 35%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
  }
}
@media screen and (max-width: 640px) {
  .what-is-esim_lead {
    font-size: 4.5vw;
  }
  #what-is-esim .what-is-esim_content {
    grid-template-columns: minmax(0, 1fr) 30%;
    gap: 0 1rem;
  }
  #what-is-esim .what-is-esim_lead {
    grid-column: 1 / -1;
  }
  #what-is-esim .what-is-esim_description {
    grid-column: 1;
  }
  #what-is-esim .what-is-esim_image {
    grid-column: 2;
    grid-row: 2;
  }
  #what-is-esim .what-is-esim_image img {
    width: 100%;
    height: auto;
  }
  #what-is-esim .what-is-esim_possible_box {
    padding: 3vw 7vw 5vw;;
    grid-column: 1 / -1;
    background: #fff;
  }
  .possible_list {
    padding: 0;
  }
  .possible_list > li {
    line-height: 1.8;
    font-size: var(--fs-m);
    margin-bottom: var(--spc-m);
  }
  .what-is-esim_possible_box h3 {
    position: relative;
    margin-bottom: var(--spc-s);
    font-size: 4.4vw;
    color: #957240;
  }
  .what-is-esim_possible_box h3:before {
    position: absolute;
    top:50%;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #eee5d5;
    transform: translateY(-50%);
  }
  .what-is-esim_possible_box h3 span {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: fit-content;
    margin: 0 auto;
    padding: 0 2vw;
    z-index: 1;
    background: #fff;
    font-weight: bold;
  }
}

/* ---------- お申し込みの流れ ---------- */
.step_list {
  display: flex;
  flex-wrap: wrap;
}
.step_list > li {
  position: relative;
  box-sizing: border-box;
  width: calc((100% - 20px) / 2);
  margin-left: 20px;
  padding: 1em;
  border-radius: 10px;
  background: #f8f4ec;
}
.step_list > li:first-of-type {
  margin-left: 0;
}
@media screen and (max-width: 640px) {
  .step_list {
    display: block;
  }
  .step_list > li {
    width: 100%;
    padding: 1.5em;
    margin: 0 0 2em 0;
  }
  .step_list > li:not(:last-of-type):after {
    content: "";
    position: absolute;
    top: calc(100% + 0.5em);
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid var(--step-color);
  }
  .step_list p {
    font-size: 3.5vw;
  }
}
@media screen and (min-width: 641px) {
  .step_list p {
    font-size: 14px;
  }
  .step_list * {
    box-sizing: border-box;
  }
  .step_list > li:not(:last-of-type):after {
    content: "";
    position: absolute;
    top: 40px;
    left: calc(100% + 0.4em);
    margin-top: -12px;
    border: 12px solid transparent;
    border-left: 12px solid var(--step-color);
  }
}
.step_list h3 {
  margin: 0 0 1em !important;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1 !important;
  text-align: center;
}
.step_circle {
  display: block;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  margin: 0 auto 1em !important;
  padding-top: 12px;
  border-radius: 50em;
  background: var(--step-color);
  font-size: 12px;
  color: #fff !important;
}
.step_number {
  display: block;
  font-size: 2em;
  color: #fff !important;
  margin: 0 !important;
}
.data .step_circle,
.data .pink_btn {
  background: var(--step-color);
}
.data .step_list > li figure {
  margin-bottom: 1em;
}
.data .step_list > li figure + p {
  margin: 0;
}
@media screen and (min-width: 641px) {
  .data .step_list > li {
    width: calc((100% - 20px) / 2);
  }
  .data .step_list > li:not(:last-of-type):after {
    border-left-color: #00A3AC;
  }
}
@media screen and (max-width: 640px) {
  .data .step_list > li:not(:last-of-type):after {
    border-top-color: #00A3AC;
  }
}
#flow .pink_btn {
  margin: 2em auto 0;
}
