@charset "utf-8";

/* --- 共通・トップイメージ --- */
#tom .topImg {
  padding: 50px 0 170px;
  background-image: url("../img/mv_bg.jpg");
  background-position-y: bottom;
}
#tom .topImg img {
  width: auto;
  margin: 0 auto;
}

/* --- アプリケーションセクション --- */
#tom .application {
  padding: 20px 0;
  margin: 0;
}

/* --- 見出し装飾 --- */
#tom h2 {
  margin: 0 0 20px;
}
#tom h2::after {
  content: none;
}
#tom h2 span {
  position: relative;
  display: inline-block;
}
#tom h2 span::before {
  position: absolute;
  left: -30px;
  top: 0;
  content: "";
  width: 3px;
  height: 100%;
  background: var(--color-blue);
  border-radius: 3px;
  transform: rotate(-25deg);
}
#tom h2 span::after {
  position: absolute;
  content: "";
  right: -30px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--color-blue);
  border-radius: 3px;
  transform: rotate(25deg);
}

#tom h3 {
  font-size: 2.4rem;
  color: #0e7fc5;
  padding: 20px 0;
}
#tom h3 span {
  padding: 0 0 3px;
  background-image: linear-gradient(0deg, #ffffff8c, #ffffff8c), linear-gradient(-190deg, rgb(20, 123, 193) 0%, rgb(193, 112, 170) 100%);
  background-repeat: no-repeat;
  background-size: 100% 10px;
  background-position: bottom;
}

/* --- アプリ詳細 --- */
#tom .appli_ditail {
  width: 1000px;
  margin: 80px auto 0;
  display: flex;
  justify-content: space-between;
}
#tom .appli_ditail .box {
  width: 48%;
}
#tom .appli_ditail .box.badge2 {
  position: relative;
}
#tom .appli_ditail .box.badge2::after {
  content: '';
  display: inline-block;
  width: 115px;
  height: 115px;
  background-image: url("../img/about_03.png");
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: -30px;
  right: -30px;
}
#tom .appli_ditail .box img {
  border-radius: 8px;
}
#tom .appli_ditail p {
  color: #1A1A1A;
  font-size: 1.6rem;
  font-weight: normal;
}

/* --- ブランド・手数料 --- */
#tom .bland {
  margin-top: 70px;
}
#tom div.commission {
  margin: 0;
}

/* --- キャンペーンエリア --- */
#tom .cp_area .inner {
  width: 1000px;
}
#tom .cp_area p.lead {
  text-align: center;
  color: #0e7fc5;
  font-size: 1.8rem;
  font-weight: bold;
}
#tom .cp_area p.sml {
  text-align: center;
  color: #0e7fc5;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 10px 0 40px;
}
#tom .cp_area h3 {
  color: var(--color-blue);
}

/* STEPの親要素(ul) */
#tom .cp_area .cp_step {
  margin: 20px auto 40px;
  display: flex;
  justify-content: space-between;
}

/* STEP各枠(li) */
#tom .cp_area .cp_step_item {
  border: 2px solid #0e7fc5;
  border-radius: 8px;
  padding: 20px 8px !important; /* 左右の余白を少し詰めボタン幅を確保 */
  text-align: center;
  width: 32% !important;        /* 31%から少し広げて文字の入りを良くする */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 280px;            /* ボックス全体の高さを統一 */
  box-sizing: border-box;
}

/* STEP間の矢印 */
#tom .cp_area .cp_step_item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 16px solid #0e7fc5;
  z-index: 2;
}
#tom .cp_area .cp_step_item:last-of-type::after {
  content: none;
}

/* STEPタイトルのSTEP数 */
#tom .cp_area .cp_step_item .cp_step_item_ttl {
  font-size: 2.4rem;
  font-weight: bold;
  color: #0e7fc5;
  margin: 0 0 10px;
}

/* STEPテキストタイトル（ボタンの位置と揃える調整） */
#tom .cp_area .cp_step_item .cp_step_item_txt {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 20px;
  line-height: 1.4;
  min-height: 52px; /* 2行分の高さを確保し垂直位置を同期 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* STEP 1 ボタン(aタグ) 専用 */
#tom .cp_area .cp_step_item p.button2.tom a {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  min-height: 84px;
  padding: 10px 20px !important;
  
  font-size: 1.8rem !important; /* 元のサイズ */
  line-height: 0.8 !important;
  font-weight: bold;
  text-align: center;
  letter-spacing: -0.06em;     /* 字間を詰めて1行に収める */
}
@-moz-document url-prefix() {
  #tom .cp_area .cp_step_item p.button2.tom a {
    line-height: 1.4 !important;
  }
}

/* ボタン内1行目の折り返し禁止 */
#tom .cp_area .cp_step_item p.button2.tom a .line-fixed {
  display: block !important;
  white-space: nowrap !important;
  width: 100%;
}

/* Firefox固有のボタン余白リセット */
#tom .cp_area .cp_step_item p.button2.tom a::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}

#tom .cp_area .cp_step_item img {
  width: auto;
}

#tom .cp_step_btnarea{
  border: 2px solid #0e7fc5;
  border-radius: 8px;
  padding: 20px 8px !important;
  text-align: center;
  margin: 0 0 10px;
}
#tom .cp_step_btnarea p.button2.tom a{
  font-weight: bold;
  margin-top: 10px;
}
#tom .about_iland{
  margin: 0 0 40px;
}
#tom .about_iland_ttl{
  color: #0e7fc5;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 20px 0 10px;
}
/* --- CP概要 --- */
#tom .cp_outline{
  margin: 40px 0 0;
}
#tom .cp_outline table{
  width: 100%;
  margin: 20px 0 0;
}
#tom .cp_outline table th,
#tom .cp_outline table td{
  border: 1px solid #B8B8B8;
  padding: 14px;
  text-align: center;
  vertical-align: middle;
}
#tom .cp_outline table th{
  width: 250px;
  background: #EBEBEB;
}
#tom .cp_outline table th.cp_th{
  background: #0e7fc5;
  color: #fff;
}

/* --- 注意事項 --- */
#tom .cp_note{
  margin: 40px 0 0;
}
#tom .cp_note h4 {
  text-align: center;
  color: #0e7fc5;
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 2px solid #0e7fc5;
  margin: 10px 0;
}
#tom .cp_note h5 {
  font-weight: bold;
  margin: 20px 0 10px;
}
#tom .cp_note h5:first-letter {
  color: #0e7fc5;
}
#tom .cp_note ul li {
  font-size: 1.4rem;
  text-indent: -14px;
  padding-left: 14px;
}
#tom .cp_note ul li.noindent{
  text-indent: 0;
  padding-left: 0;
}
main.tom_cp .pc-show {
	display: block;
}
main.tom_cp .sp-show {
	display: none;
}
/* --- レスポンシブ (スマホ) --- */
@media screen and (max-width: 768px) {
  .pc-show {
  	display: none;
  }
  .sp-show {
    display: inline-block;
  }
  #tom .topImg {
    padding: 20px 20px 100px;
  }
  #tom p.button a {
    width: 100%;
    padding: 15px 35px;
  }
  #tom h2 span {
    display: inline-block;
  }
  #tom .about p.button {
    margin-top: 0;
  }
  #tom .topImg img {
    width: 100%;
  }
  #tom .appli_ditail {
    width: 100%;
    flex-direction: column;
    margin: 40px auto 0;
  }
  #tom .appli_ditail .box {
    width: 100%;
    margin: 0 0 40px;
  }
  #tom .appli_ditail .box.badge2::after {
    width: 80px;
    height: 80px;
    top: -30px;
    right: -12px;
  }
  #tom .cp_area .cp_step {
    flex-direction: column;
  }
  #tom .cp_area .cp_step_item {
    width: 100% !important;
    margin: 0 0 26px;
    min-height: auto;
    padding: 30px 20px !important;
  }
  #tom .cp_area .cp_step_item::after {
    top: 104%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-top: 15px solid #0e7fc5;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }
  #tom .cp_area .inner {
    width: 92%;
  }
  #tom .cp_area .cp_step_item .cp_step_item_txt {
    min-height: auto;
  }
  #tom .cp_area .cp_step_item p.button2.tom a {
    letter-spacing: normal; /* スマホでは幅があるため解除 */
  }
  #tom .cp_outline .table_wrap{
    overflow: auto;
  }
  #tom .cp_outline table{
    min-width: 1000px;
    margin: 20px 0 0;
  }
  main.tom_cp .pc-show {
	display: none;
  }
  main.tom_cp .sp-show {
	display: block;
  }
  #tom h2 span::before {
    left: -20px;
  }
  #tom h2 span::after {
    right: -20px;
  }
}
