@charset "UTF-8";

.works01 {
  width: 100%;
  height: auto;
}

.works01__inner {
  width: 850px;
  margin: 0 auto 0 auto;
  padding: 120px 0 120px 0;
}

.works01__title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.05em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 24px;
  margin: 0 auto 60px auto;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}
.works01__title::after {
  content: "";
  background: url('../../img/common/connection-title.svg') center center no-repeat;
  width: 66px;
  height: 66px;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .works01__inner {
    width: 92%;
    margin: 0 auto 0 auto;
    padding: 90px 0 90px 0;
  }
  .works01__title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.05em;
    width: fit-content;
    padding: 7px 15px;
    margin: 0 auto 40px auto;
  }
  .works01__title::after {
    content: "";
    background: url('../../img/common/connection-title.svg') center center no-repeat;
    width: 55px;
    height: 55px;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
}

.works01__content {
  position: relative;
  border-top: 2px solid #F2F2F2;
}

.works01__flex::after {
  position: absolute;
  top: -2px;
  left: 0;
  width: 18%;
  height: 2px;
  content: "";
  background: #D70D1F;
  transition: width 0.2s ease;
}

.works01__flex {
  position: relative;
  border-bottom: 2px solid #F2F2F2;
  display: flex;
  align-items: flex-start;
  padding: 30px 0 30px 0;
}

@media screen and (max-width: 767px) {
  .works01__flex {
    position: relative;
    border-bottom: 2px solid #F2F2F2;
    display: block;
    padding: 24px 0 24px 0;
  }
}

.works01__flex::before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 18%;
  height: 2px;
  content: "";
  background: #D70D1F;
  transition: width 0.2s ease;
}

.works01__name {
  width: 22%;
  font-size: 17px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding: 0 0 0 15px;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.works01__detail {
  width: 78%;
  font-size: 15px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-align: left;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .works01__name {
    width: 100%;
    font-size: 17px;
    padding: 0 0 8px 0;
    line-height: 1.9;
  }
  
  .works01__detail {
    width: 100%;
    font-size: 15px;
    letter-spacing: 0.05em;
  }
}


.message {
  width: 100%;
  height: auto;
}

.message__inner {
  width: 100%;
  height: auto;
  background: url("../../img/t-image/gara-img-bg.jpg");
  background-size: cover;
  padding: 100px 0 100px 0;
}
@media screen and (max-width: 767px) {
  .message__inner {
    width: 100%;
    background: url("../../img/t-image/gara-img-bg-sp.png");
    background-size: cover;
    padding: 90px 0 90px 0;
  }
}

.message__flex {
  width: 850px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .message__flex {
    width: 88%;
    display: block;
    margin: 0 auto;
  }
}

.message__imgsp {
  display: none;
}

.message__content {
  width: 55%;
}

.message__img {
  width: 45%;
  transform: translateY(-70px);
}

@media screen and (max-width: 767px) {
  .message__imgsp {
    display: block;
    width: 70%;
    margin: 0 auto 40px auto;
  }
  
  .message__content {
    width: 100%;
  }
  
  .message__img {
    display: none;
  }
}

.message__img img {
  width: 90%;
  display: block;
  margin: 0 0 0 auto;
}

.message__title {
  position: relative;
  text-align: left;
  margin: 0 auto 50px auto;
}
@media screen and (max-width: 767px) {
  .message__title {
    position: relative;
    text-align: center;
    margin: 0 auto 40px auto;
  }
}
.message__title span {
  position: relative;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.05em;
  width: fit-content;
  font-family: "Noto Sans JP", sans-serif;
  color: #D70D1F;
  z-index: 5;
  display: inline-block;
  padding: 5px 0 0 12px;
}
.message__title::after {
  content: "";
  background: url('../../img/common/connection-title.svg') center center no-repeat;
  width: 66px;
  height: 66px;
  background-size: cover;
  position: absolute;
  fill: #FFFFFF;
  top: 0;
  left: 0;
  z-index: 3;
}
@media screen and (max-width: 767px) {
  .message__title span {
    position: relative;
    font-size: 28px;
    z-index: 5;
    display: inline-block;
    padding: 5px 0 0 12px;
  }
  .message__title::after {
    content: "";
    background: url('../../img/common/connection-title.svg') center center no-repeat;
    width: 55px;
    height: 55px;
    z-index: 3;
    left: 58px;
  }
}

.message__subtitle {
  font-size: 19px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin: 0 0 40px 0;
}
@media screen and (max-width: 767px) {
  .message__subtitle {
    font-size: 19px;
    text-align: center;
    margin: 0 0 40px 0;
  }
}

.message__txt {
  font-size: 15px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8;
  margin: 0 0 45px 0;
}

.message__company {
  font-size: 14px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8;
  text-align: right;
}

.message__name {
  font-size: 12px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8;
  text-align: right;
}
.message__name span {
  font-size: 20px;
  color: #2a2a2a;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.8;
  text-align: right;
}


.enkaku {
  width: 100%;
  height: auto;
}

.enkaku__inner {
  width: 850px;
  margin: 0 auto 0 auto;
  padding: 120px 0 120px 0;
}

.enkaku__title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.05em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 24px;
  margin: 0 auto 60px auto;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}
.enkaku__title::after {
  content: "";
  background: url('../../img/common/connection-title.svg') center center no-repeat;
  width: 66px;
  height: 66px;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .enkaku__inner {
    width: 92%;
    margin: 0 auto 0 auto;
    padding: 90px 0 90px 0;
  }
  .enkaku__title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.05em;
    width: fit-content;
    padding: 7px 15px;
    margin: 0 auto 40px auto;
  }
  .enkaku__title::after {
    content: "";
    background: url('../../img/common/connection-title.svg') center center no-repeat;
    width: 55px;
    height: 55px;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 35px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 767px) {
  .timeline-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 28px;
    z-index: 2;
    display: block;
  }
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #D70D1F;
  border-radius: 50%;
  z-index: 3;
}

/* 縦線の描画 */
.timeline::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 5px;
  width: 2px;
  height: calc(100% - 22px);
  background-color: #D70D1F;
  z-index: 1;
}

/* 日付と内容の調整 */
.timeline-date {
  width: 25%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.8;
  color: #D70D1F;
}

.timeline-content {
  width: 75%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #2a2a2a;
}

@media screen and (max-width: 767px) {
  .timeline::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 5px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: #D70D1F;
    z-index: 1;
  }
  .timeline-date {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.8;
    color: #D70D1F;
    margin: 0 0 12px 0;
  }
  .timeline-content {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8;
    color: #2a2a2a;
  }
}