/*-------------------------------------------------

Title       : Sub_04
Author      : EASESOFT
Create Date : 2025-04

-------------------------------------------------*/
.c040100 .stock_box {
  padding: 4rem;
}
.c040100 .stock_box .high {
  color: #E31923;
}
.c040100 .stock_box .low {
  color: #035EAD;
}
.c040100 .stock_box .title {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.c040100 .stock_box .title .border {
  border: 1px solid #ddd;
  padding: 5px 10px;
}
.c040100 .stock_box .title .date {
  margin-left: auto;
}
.c040100 .stock_box .info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 4rem;
}
.c040100 .stock_box .info .price {
  width: 30%;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.c040100 .stock_box .info .price_info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}
.c040100 .stock_box .info .diff::before {
  content: "\f3e4";
  display: inline-flex;
  font-family: "remixicon";
  font-size: 1.5rem;
  margin-right: 0.5rem;
}
.c040100 .stock_box .info .diff.down::before {
  transform: rotate(180deg);
}
.c040100 .stock_box .detail {
  margin-left: auto;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 3rem;
}
.c040100 .stock_box .detail li {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.c040100 .stock_box .detail li span.detail_md {
  width: 7rem;
  white-space: nowrap;
}
.c040100 .stock_box .detail li span {
  word-break: break-all;
}
.c040100 .link {
  padding: 6rem 4rem;
  height: 30rem;
  color: #fff;
  border-radius: 1.6rem;
  position: relative;
  transition: 0.3s;
}
.c040100 .link.blue {
  background: #035EAD url("/eng/img/sub/sub04/040100_01.svg") no-repeat 90% 85%;
}
.c040100 .link.green {
  background: #05A262 url("/eng/img/sub/sub04/040100_02.svg") no-repeat 90% 85%;
}
.c040100 .link.black {
  background: #1B2539 url("/eng/img/sub/sub04/040100_03.svg") no-repeat 90% 85%;
}
.c040100 .link::after {
  content: "\ea6c";
  font-family: "remixicon";
  position: absolute;
  right: 4.4rem;
  top: 5.6rem;
  font-size: 2.8rem;
  transition: 0.3s;
}
@media screen and (min-width: 1024px) {
  .c040100 .link:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.29);
  }
  .c040100 .link:hover::after {
    right: 3.2rem;
  }
}
.c040100 .info_list .cont_box {
  transition: 0.3s;
  display: block;
  height: 100%;
}
.c040100 .info_list .cont_box .detail_info {
  color: #717171;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}
.c040100 .info_list .cont_box .detail_info span + span {
  position: relative;
}
.c040100 .info_list .cont_box .detail_info span + span::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: calc(50% - 0.6rem);
  width: 1px;
  height: 1.2rem;
  background-color: #D9D9D9;
}
.c040100 .info_list .cont_box p {
  word-break: break-all;
}
@media screen and (min-width: 1024px) {
  .c040100 .info_list .cont_box:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

.sub04_chart {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 3.2rem 2.4rem;
}
.sub04_chart .chart_box {
  height: 53rem;
}

.c040800 .link {
  padding: 6rem 4rem;
  height: 30rem;
  color: #fff;
  border-radius: 1.6rem;
  position: relative;
  transition: 0.3s;
}
.c040800 .link.blue {
  background: #035EAD url("/eng/img/sub/sub04/040800_01.svg") no-repeat 90% 85%;
}
.c040800 .link.green {
  background: #05A262 url("/eng/img/sub/sub04/040800_02.svg") no-repeat 90% 85%;
}
.c040800 .link.tel {
  background: #1B2539 url("/eng/img/sub/sub04/040800_03.svg") no-repeat 90% 85%;
}
.c040800 .link::after {
  content: "\ea6c";
  font-family: "remixicon";
  position: absolute;
  right: 4.4rem;
  top: 5.6rem;
  font-size: 2.8rem;
  transition: 0.3s;
}
@media screen and (min-width: 1024px) {
  .c040800 .link:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.29);
  }
  .c040800 .link:hover::after {
    right: 3.2rem;
  }
}

/*-------------------------------------------------

Responsive

-------------------------------------------------*/
/* Media Query */
@media screen and (max-width: 1280px) {
  .c040100 .stock_box .info .price {
    width: 26rem;
  }
  .c040100 .stock_box .detail {
    gap: 3rem 2rem;
  }
  .c040100 .stock_box .detail li {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
  }
}
@media screen and (max-width: 1024px) {
  .c040100 .stock_box .title {
    flex-wrap: wrap;
  }
  .c040100 .stock_box .info {
    gap: 2rem;
  }
  .c040100 .stock_box .detail {
    gap: 2rem;
  }
  .c040100 .stock_box .detail li {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
  }
  .sub04_chart .inner {
    overflow-x: scroll;
  }
  .sub04_chart .chart_box {
    width: 100rem;
  }
  .c040800 .link {
    padding: 4rem 2.4rem;
    height: 25rem;
  }
  .c040800 .link::after {
    right: 2.4rem;
    top: 3.2rem;
  }
}
@media screen and (max-width: 800px) {
  .c040100 .stock_box .info {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
  }
  .c040100 .stock_box .info .price {
    width: 100%;
    align-items: center;
  }
  .c040100 .stock_box .detail {
    margin-left: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .c040100 .stock_box .detail li {
    text-align: center;
    align-items: center;
  }
  .c040100 .link {
    padding: 3rem 2.4rem 3rem 10rem;
    height: inherit;
  }
  .c040100 .link.blue {
    background-position: 3rem center;
    background-size: 4rem;
  }
  .c040100 .link.green {
    background-position: 3rem center;
    background-size: 4.5rem;
  }
  .c040100 .link.black {
    background-position: 3.5rem center;
    background-size: 3rem;
  }
  .c040100 .link::after {
    top: calc(50% - 1.5rem);
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .c040800 .link {
    padding: 3rem 2.4rem 3rem 10rem;
    height: inherit;
  }
  .c040800 .link.blue {
    background-position: 3.3rem center;
    background-size: 4rem;
  }
  .c040800 .link.green {
    background-position: 3rem center;
    background-size: 4rem;
  }
  .c040800 .link.tel {
    background-position: 3rem center;
    background-size: 4rem;
  }
  .c040800 .link::after {
    top: calc(50% - 1.5rem);
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}