@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");
#targetSvg {
  width: 100%;
  height: auto;
  aspect-ratio: 2090/4184;
  display: block;
}

.color-line {
  transition: stroke 0.2s linear;
}

.sub_title h1 {
  font-size: 60px;
  text-align: center;
}
.sub_title .line {
  font-size: 60px;
  padding-bottom: 25px;
  display: block;
  margin-bottom: 0px;
}
.sub_title .big {
  font-size: 80px;
}
.sub_title .color {
  color: #005798;
  font-size: 80px;
}

.sub_top_flex {
  width: 1500px;
  max-width: 100%;
  padding-left: 5%;
  align-items: flex-start;
  margin-top: 0;
}
.sub_top_flex .sub_title {
  margin-top: 200px;
}
.sub_top_flex img {
  width: 100%;
}

.sub_top2 {
  width: 1500px;
  max-width: 100%;
  padding-right: 5%;
  align-items: center;
  padding-left: 0;
  margin-top: -27%;
}
.sub_top2 .sub_img {
  width: 60%;
}
.sub_top2 .sub_title {
  width: 38%;
  min-width: 400px;
}
.sub_top2 .sub_title p {
  margin-top: 0px;
  text-align: right;
}

.history_box {
  width: 1000px;
  margin: 100px auto;
  max-width: 100%;
  position: relative;
}

.history-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.history-img.is-show {
  opacity: 1;
}

.history-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 130px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
  font-family: "ab-tombo-bold", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.history-year {
  position: absolute;
  transition: color 0.4s ease;
}

/* 追従モード */
.history-year.is-sticky {
  position: fixed;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
}

/* 画像エリア外に出た状態 */
.history-year.is-out {
  color: #005798;
  text-shadow: none;
}

/* stop地点で固定 */
.history-year.is-stop {
  position: absolute;
  color: #005798;
  text-shadow: none;
  bottom: calc(-70% - 51px);
  left: 50%;
  transform: translateX(-50%);
  top: auto;
}

.history-stop {
  position: absolute;
  top: 27%;
}

.title_card h2 {
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.history_title {
  max-width: 90%;
  width: 1400px;
  margin: 30px auto;
}

.history_step {
  max-width: 90%;
  width: 1400px;
  margin: 100px auto;
  max-width: 100%;
  width: 1600px;
}

.svg-wrap {
  padding: 200px 0;
  position: relative;
}
.svg-wrap .year {
  position: absolute;
  font-family: "ab-tombo-bold", sans-serif;
  font-weight: 400;
  font-style: normal;
  top: 0;
  left: 0;
  font-size: 130px;
  color: #005798;
}
.svg-wrap .y0 {
  top: 0.5%;
  left: 10%;
}
.svg-wrap .y1 {
  top: 22%;
  left: 40%;
}
.svg-wrap .y2 {
  top: 49.7%;
  left: 35%;
}
.svg-wrap .y3 {
  top: 67%;
  right: 12%;
  left: auto;
}
.svg-wrap .y4 {
  top: 84%;
  left: 5%;
}
.svg-wrap .bg_img {
  position: absolute;
  z-index: -1;
}
.svg-wrap .bg1 {
  top: 35%;
  right: 0;
  width: 200px;
}
.svg-wrap .bg2 {
  top: 65%;
  left: 0;
  width: 200px;
}
.svg-wrap .logo {
  top: 95%;
  right: 35%;
  width: 200px;
}

.history_detail {
  position: relative;
  border: solid 1.5px black;
  display: inline-block;
  padding: 20px 20px 20px 20px;
  background: #f8f8f8;
  margin-bottom: 20px;
  width: 600px;
  max-width: 80%;
}
.history_detail .title {
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #005798;
  font-size: 25px;
  margin: 0px 0 10px 0;
}
.history_detail .de_flex {
  display: flex;
  gap: 20px;
}
.history_detail .de_flex .left {
  width: calc(50% - 10px);
}
.history_detail .de_flex .right {
  width: calc(50% - 10px);
}
.history_detail::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url(../../src/company/talk1.webp);
  background-repeat: no-repeat;
  top: -30px;
  left: 50px;
  z-index: 10;
  background-size: contain;
}
.history_detail::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  background: #f4ec35;
  border: solid 1.5px black;
  z-index: -1;
}

.de2::before,
.de3::before,
.de4::before {
  background-image: url(../../src/company/talk2.webp);
  left: auto;
  right: 50px;
  top: -36px;
}

.de5::before {
  background-image: url(../../src/company/talk3.webp);
  width: 47px;
  height: 47px;
  top: -17.2px;
}
.de5 p {
  color: #005798;
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
}

.de1 {
  position: absolute;
  top: 10%;
  left: 10%;
}

.de2 {
  position: absolute;
  top: 32%;
  left: 3%;
}

.de3 {
  position: absolute;
  top: 56%;
  left: 3%;
}

.de4 {
  position: absolute;
  top: 74%;
  right: 3%;
}

.de5 {
  position: absolute;
  top: 90.5%;
  left: 20%;
}

.de6 {
  position: absolute;
  top: 95%;
  left: 3%;
}

.plus_btn {
  width: 250px;
  height: 250px;
  text-align: center;
  background-image: url("../../src/company/frame.webp");
  background-size: 90% 90%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  cursor: pointer;
}
.plus_btn .birth {
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 500;
  font-style: normal;
  padding-top: 50px;
  line-height: 150%;
  font-size: 30px;
}
.plus_btn img {
  width: 60px;
  margin: 10px auto;
}
.plus_btn:hover {
  background-size: 100% 100%;
}

.plus_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background: #ffd00d;
  padding: 20px 50px 30px 50px;
  border-radius: 50px;
  border: solid 2px #000000;
  width: 600px;
  max-width: 90%;
}
.plus_box .title_flex {
  display: flex;
  align-items: center;
  width: calc(100% - 50px);
  margin-bottom: 10px;
}
.plus_box .title_flex .title {
  flex-grow: 1;
  font-family: "corporate-logo-ver2", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 25px;
}
.plus_box .title_flex .title span {
  background: #404040;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  display: inline-block;
}
.plus_box .title_flex .img {
  width: 150px;
}
.plus_box .close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 40px;
  color: #959595;
  background: rgba(255, 255, 255, 0.7490196078);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 2px #707070;
  cursor: pointer;
}

/* 背景オーバーレイ */
.plus-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* モーダル本体 */
.plus_box {
  position: fixed;
  top: 50% !important;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

/* 表示状態 */
.plus-overlay.is-show {
  opacity: 1;
  pointer-events: auto;
}

.plus_box.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.pl1 {
  top: 10%;
  right: 5%;
}

.pl2 {
  top: 25%;
  right: 13%;
}

.pl3 {
  top: 72%;
  left: 13%;
}

.pl_b1 {
  top: 10%;
}

.pl_b2 {
  top: 25%;
}

.pl_b3 {
  top: 72%;
}

.map_container {
  background-image: url("../../src/company/bg5.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  max-width: 90%;
  width: 1400px;
  margin: 0 auto;
  max-width: 100%;
  width: 1500px;
  margin: 200px auto;
  margin-top: 300px;
}

.map_box {
  padding: 50px 0;
  position: relative;
  width: 100%;
}

.ja_box {
  position: relative;
  width: 50%;
  margin: 100px auto;
}

.spot {
  position: absolute;
  width: 8%;
  bottom: 0%;
  left: 0%;
}

.spot1 {
  bottom: 9%;
  left: 8.5%;
}

.spot2 {
  bottom: 19%;
  left: 12.5%;
  width: 7%;
}

.spot3 {
  bottom: 27%;
  left: 3%;
  width: 7%;
}

.spot4 {
  bottom: 28%;
  left: 11%;
  width: 10%;
}

.spot5 {
  bottom: 27%;
  left: 22%;
}

.spot6 {
  bottom: 30%;
  left: 32%;
}

.spot7 {
  bottom: 25%;
  left: 40%;
}

.spot8 {
  bottom: 23%;
  left: 50%;
}

.spot9 {
  bottom: 17%;
  left: 57%;
}

.spot {
  opacity: 0;
  transform: translateY(-80px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.spot.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.text_box {
  color: white;
  position: absolute;
  top: 15%;
  left: 10%;
  width: 500px;
  max-width: 50%;
  line-height: 200%;
  font-size: 22px;
  text-align: center;
  z-index: 10;
}
.text_box h2 {
  font-size: 40px;
  margin-bottom: 20px;
}
.text_box p {
  text-shadow: 1px 1px 0px #005798, -1px -1px 0px #005798, -1px 1px 0px #005798, 1px -1px 0px #005798;
}

.number {
  position: absolute;
  top: 25%;
  right: 7%;
  font-family: "bokutoh-ruika", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-weight: 800;
  font-size: 30px;
  color: white;
}
.number .int {
  font-size: 14vw;
  padding: 0 10px;
}

.plus {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 50px;
}

.info_box {
  max-width: 90%;
  width: 1400px;
  margin: 100px auto;
  width: 1200px;
}
.info_box table {
  border-collapse: collapse;
  width: 100%;
  margin: 50px 0 200px 0;
}
.info_box table th,
.info_box table td {
  vertical-align: middle;
  padding: 40px 10%;
  border-bottom: solid 1px #707070;
  text-align: left;
  font-weight: 800;
  font-size: 20px;
}
.info_box table th {
  width: 20%;
  padding-right: 0;
}

/* 初期状態（見えない） */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-section.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 少し遅らせたい場合 */
.fade-section.delay {
  transition-delay: 0.3s;
}

@media (max-width: 900px) {
  .history-year.is-stop {
    bottom: calc(-80% - 51px);
  }
  .history-stop {
    top: 32%;
  }
}
@media (max-width: 700px) {
  .sub_top_flex .sub_title {
    margin-top: 100px;
    min-width: auto;
  }
  .sub_top2 {
    padding-right: 0;
  }
  .sub_top2 .sub_title2 {
    margin-top: 50px;
  }
  .sub_top2 .sub_title2 p {
    text-align: center;
  }
  .sub_title .line {
    font-size: 25px;
    padding-bottom: 25px;
    display: block;
    margin-bottom: 0px;
  }
  .sub_title .line .big {
    font-size: 40px;
  }
  .sub_title h1 {
    font-size: 25px;
    margin-bottom: 0;
  }
  .sub_title .color {
    color: #005798;
    font-size: 50px;
  }
  .sub_title span {
    font-size: 30px;
  }
  .sub_img {
    width: 100%;
  }
  .sub_img .bg {
    position: absolute;
    top: 0px;
    right: 0;
    width: 200px;
  }
  .sub_top2 {
    margin-top: 0px;
    margin-top: -5%;
  }
  .sub_top2 .sub_img {
    width: 80%;
    margin: 0 auto;
  }
  .sub_top2 .sub_title {
    width: 100%;
  }
  .svg-wrap .year {
    font-size: 80px;
  }
  .plus_box .title_flex {
    width: 100%;
  }
  .plus_box .title_flex .title {
    font-size: 16px;
    width: 170px;
    line-height: 150%;
  }
  .plus_box .close {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  .history_detail {
    width: 90%;
    max-width: 90%;
  }
  .history_detail .title {
    font-size: 20px;
  }
  .history_detail .de_flex {
    flex-direction: column;
  }
  .history_detail .de_flex .left {
    width: 100%;
  }
  .history_detail .de_flex .right {
    width: 100%;
  }
  .de1,
  .de2,
  .de3,
  .de4,
  .de5,
  .de6 {
    right: auto;
    left: 5%;
  }
  .map_container {
    margin-top: 500px;
    margin-bottom: 100px;
  }
  .text_box {
    display: none;
  }
  .number {
    left: 7%;
    right: auto;
  }
  .plus {
    font-size: 5vw;
  }
  .ja_box {
    width: 80%;
    margin: 50px auto;
  }
  .info_box table th {
    padding-left: 0;
    width: 80px;
    vertical-align: top;
  }
  .info_box table td {
    padding-right: 0;
    padding-left: 5%;
  }
  .info_box table th,
  .info_box table td {
    font-size: 18px;
  }
  .history-stop {
    position: absolute;
    top: 20%;
  }
  .history-year {
    font-size: 80px;
  }
  .history-year.is-stop {
    bottom: calc(-120% - 60px);
  }
  .svg-wrap {
    padding: 100px 0 200px 0;
  }
  .history-stop {
    top: 30%;
  }
}
@media (max-width: 370px) {
  .history-year.is-stop {
    bottom: calc(-150% - 60px);
  }
  .history-stop {
    top: 32%;
  }
}/*# sourceMappingURL=company.css.map */