@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  border: none;
  scroll-behavior: smooth;
  list-style: none;
}

main {
  background-image: url(/assets/images/comparison/background-pc.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.content-block h1, 
.content-block h2{
  font-size: 30px;
  line-height: 1.3;
  display: flex;
  gap: 10px;
  color: #2E3176;
  margin-bottom: 10px;
}

.comparison{
  padding-top: 130px;
}

.comparison .section-wrapper{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px;

  display: flex;
  flex-direction: column;
  gap: 60px;

  border-radius: 30px;
  background-color: #fff;
}

.comparison-kv{
  width: 100%;
}

.comparison-kv img{
  border-radius: 20px;
  margin-bottom: 30px;
}

.comparison-kv nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-kv a{
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
  color: #2E3176;
}

.comparison-kv span{
  font-size: 70px;
  font-weight: 100;
  color: #2E3176;
  margin-top: -16px;
}

.title-shape img{
  width: 75px;
  margin-top: -10px;
  object-fit: contain;
}

.content-block,
.blue-title-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blue-title{
  font-size: 24px;
  font-weight: 500;
  color: #2E3176;

  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}


.js-scrollable {
  box-shadow: 2px 2px 30px rgb(0, 0, 0, 0.05);
}

table {
  border-collapse: collapse;
  line-height: 1.5;
  font-weight: 500;
  color: #333333;
  width: 100%;
  background-color: white;
}

.comparison .scroll-hint-shadow-wrap {
  position: static;
}

.scroll-hint-shadow-wrap::before,
.scroll-hint-shadow-wrap::after {
  background: none !important;
}

th {
  background-color: #1e2277;
  color: white;
  height: 45px;
}

td:nth-child(1) {
  background-color: #f3fbff;
  width: 20%;
  text-align: center;
  padding: 25px;
}

td {
  width: 40%;
  padding: 20px;
  border-right: solid #d7d7d7 0.5px;
}

td:nth-child(1) {
  border-left: solid #d7d7d7 0.5px;
}

tr {
  border-bottom: solid #d7d7d7 0.5px;
}

.tableLightYellow {
  background-color: #ffffe9;
}

.tableYellow {
  background-color: #fff5bd;
}

.indent {
  display: block;
  text-indent: -1.5rem;
  padding-left: 2rem;
}

.comparison .section-three-img{
  text-align: right;
  font-size: 14px;
  color: #000;
}

.comparison .section-three-img span img{
  filter: brightness(0.1);
}

.comparison .section-three-img a{
  color: #000;
}

.icon-list{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-start;
  justify-content: center;
  margin: 3rem 0;
}

.icon-card{
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
  border-right: 1px solid #ddd;
  text-align: center;
}

.icon-card:nth-child(1){
  border-left: 1px solid #ddd;
}

.icon-card img{
  height: 80px;
  object-fit: contain;
}

.why-east{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.why-east h2{
    display: block;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 2rem;
}

.why-east h2 small{
    font-weight: 500;
    font-size: 32px;
    color: #28315F;
    line-height: 2;
}

.why-east h2 .bold-txt{
    font-weight: 700;
    font-size: 38px;
    color: #28315F;
}

.work-imgs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-east p{
  text-align: center;
  font-size: 20px;
  line-height: 2;
  margin-top: 50px;
}

@media (min-width: 768px) and (max-width: 1040px){
  .comparison .section-wrapper{
    padding: 50px;
  }

  .why-east h2 small{
    font-size: 28px;
  }

  .color-txt{
    font-size: 46px;
  }

  .bold-txt{
    font-size: 28px;
  }
}

@media (max-width: 767px){
  .comparison{
    padding-top: 100px;
  }

  .comparison-kv nav{
    display: none;
  }

  .comparison-kv img{
    border-radius: 10px;
    margin-bottom: 0;
  }

  .comparison .section-wrapper{
    border-radius: 20px;
    padding: 20px;
    gap: 30px;
  }

  .content-block, .blue-title-content{
    margin-bottom: 10px;
  }

  .content-block h1, .content-block h2, .blue-title{
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .title-shape img{
    width: 40px;
    margin-top: 0;
  }

  .why-east h2 small{
    font-size: 18px;
    line-height: 1.8;
  }

  .why-east h2 .bold-txt{
    font-size: 24px;
  }

  .work-imgs{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-east p{
    font-size: 18px;
  }

  table{
    min-width: auto;
  }

  tr{
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
  }

  td{
    width: auto;
    font-size: 10px;
    padding: 8px;
  }

  td:nth-child(1){
    width: auto;
    padding: 8px 4px;
    text-align: left;
  }

  th{
    font-size: 14px;
    height: auto;
    padding: 14px 0;
  }

  .indent{
    text-indent: 0;
    padding-left: 0;
  }

  .comparison .section-three-img{
    font-size: 10px;
  }

  .comparison .section-three-img a{
    font-size: 10px;
  }

  .comparison .section-three-img span img{
    width: 12px;
  }

  .icon-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 10px;
    justify-content: space-evenly;
    margin: 1rem 0;
  }

  .icon-card{
    font-size: min(2.5vw, 12px);
    gap: 10px;
    border-right: none;
    padding: 0;
  }

  .icon-card:nth-child(1){
    border-left: none;
  }

  .icon-card img{
    height: 54px;
  }

}