@charset "UTF-8";

/* CSS Document */


/*-----------
comparison_chart
-----------*/

.chart_table {
  padding: 80px 0 100px;
  font-size: 15px;
}

.fixed {
  position: fixed;
  right: 50%;
  transform: translateX(50%) translateY(0%);
  top: 0;
  z-index: 1;
  border-bottom: 1px solid #e4e4e4;
}

.comparison{
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom: 25px;
  background: #fff;
}

.chart_table h2{
  width: 100%;
  line-height: 1.66;
  font-size: 16px;
  color: #fff;
  background: #777777;
  padding: 0 0 0 20px;
  margin: 0;
  border: none;
  box-sizing: border-box;
  font-weight: bold;
}

.chart_table table:first-child{
  font-size: 16px;
}

.chart_table table td img{
  width: 100%;
  padding-bottom: 10px;
}

.chart_table table td .btn_b{
  width: 150px;
  line-height: 40px;
  font-size: 15px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.chart_table table {
  width: fit-content;
  margin: 0 auto;
}

.chart_table table td {
  border: none;
  text-align: center;
  font-weight: bold;
  width: 220px;
  padding: 10px 15px;
  box-sizing: border-box;
}

.chart_table table td + td {
  border-left: 1px solid #e4e4e4;
}

.chart_table table tr:first-child td {
  padding: 30px 15px 10px;
}

.chart_table table tr:last-child td {
  padding: 10px 15px 30px;
}

.chart_table table:first-child tr:first-child td {
  padding: 20px 15px 0;
}

.chart_table table:first-child tr:first-child td a {
  display: grid;
  grid-template-rows: 1fr auto auto;
  height: 100%;
  color: #000;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
.chart_table table:first-child tr:first-child td a:hover{
    opacity: 0.5;
}
}

.chart_table table:nth-child(2) tr:first-child td {
  padding: 0 15px;
}

.chart_table h3,
.chart_table p{
  font-size: 14px;
  font-weight: normal;
}


.chart_table table td span{
  font-weight: normal;
  display: inline;
  font-size: 15px;
}

.stick_item {
  width: 1100px;
  background: #fff;
}

@media only screen and ( max-width: 1100px) {
  .stick_item {
    width: 100%;
  }

  .stick_item:not(.fixed) .js-scroll-x {
    margin-left: 0 !important;
  }
}

.stick_item .stick_item_inner {
  width: 1100px;
}

.stick_item table {
  height: 100%;
}


/* 縮小時 */
/* .stick_item table td {
  transition: padding-top 0.4s;
  backface-visibility: hidden;
}

.stick_item.fixed table td {
  padding-top: 6px !important;
}

.stick_item table td img {
  display: block;
  margin: 0 auto;
  transition: all 0.4s;
  backface-visibility: hidden;
}

.stick_item.fixed table td img {
  width: 65%;
  padding-bottom: 5px;
}

.stick_item.fixed table td .btn_b {
  transition: all 0.4s;
  backface-visibility: hidden;
}

.stick_item.fixed table td .btn_b {
  margin-bottom: 15px;
  line-height: 30px;
}  */

/*
SP
---------------------------------------------------------------------*/

@media only screen and ( max-width: 768px) {
  
  .chart_table {
    padding: 9% 0 25%;
    font-size: calc(100vw / ( 375 / 14 ));
  }

  .comparison{
    margin-bottom: 7%;
  }

  .chart_table .sp_scroll_img {
    margin-bottom: 10px;
  }

  .chart_table .stick_item {
    width: fit-content;
  }

  .chart_table .stick_item.fixed {
    width: 92%;
    transform: translateX(0%) translateY(0%);
    top: 62px;
    right: 4%;
    overflow: hidden;
  }

  .chart_table .stick_item:not(.fixed) .js-scroll-x {
    margin-left: 0 !important;
  }

  .chart_table .stick_item .stick_item_inner {
    width: auto;
  }
  
  .chart_table h2{
    position: sticky;
    left: 0;
  }
  
  .chart_table h2{
    font-size: calc(100vw / ( 375 / 14 ));
  }

  .chart_table table {
    table-layout: fixed;
  }

  .chart_table table:first-child{
    font-size: calc(100vw / ( 375 / 14 ));
  }

  .chart_table table td .btn_b{
    width: 9em;
    line-height: 2.6em;
    font-size: calc(100vw / ( 375 / 13 ));
    margin: 0 auto 15%;
  }
  
  .chart_table table td {
    width: 46vw;
    padding: 8px 10px;
  }

  .chart_table table td + td {
    border-left: 1px solid #e4e4e4;
  }

  .chart_table table tr:first-child td {
    padding: 25px 10px 8px;
  }

  .chart_table table tr:last-child td {
    padding: 8px 10px 25px;
  }

  .chart_table table:first-child tr:first-child td {
    padding: 15px 10px 0;
  }
  
  .chart_table table:nth-child(2) tr:first-child td {
    padding: 0 10px;
  }


  .chart_table h3,
  .chart_table p{
    font-size: calc(100vw / ( 375 / 12 ));
  }

  .chart_table table td span{
    font-size: calc(100vw / ( 375 / 14 ));
  }
  
}