.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  height: 100svh;
  background-color: #115689;
}
.loading__inner {
  width: 100%;
  height: inherit;
  display: grid;
  place-content: center;
  row-gap: 10px;
}

.loading__text {
  font-size: max(12px, 1rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

.loading__logo {
  font-size: 4rem;
  text-align: center;
  color: #fff700;
  filter: drop-shadow(0 0 10px #fff700);
}
.char {
  display: inline-block;
}

.contents {
  height: 100svh;
  display: grid;
  place-items: center;
  font-size: max(22px, 3vw);
}

.mv {
  background-image: url(../images/top/mv_bg.webp);
  background-position: center;
}
.btn-area {
  background: var(--gradient-bg);
}
.mv .inner.flex {
  display: flex;
  justify-content: space-between;
}
.mv-left {
  width: 60%;
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mv-left__maintitle {
  width: 80%;
  margin: 1rem 0;
  justify-content: center;
}
.mv-left__maintitle img,
.mv-left__contenct img {
  width: 30%;
}
.mv-left__subtitle {
  background-color: #1545de;
  color: #fff;
  padding: 10px;
  text-align: center;
  width: 95%;
  border-radius: 50px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.mv-left__contenct {
  width: 85%;
  margin: 1rem 0;
  justify-content: space-around;
}
.mv-right {
  width: 33%;
  position: relative;
  z-index: 0;
  right: 7%;
}
.mv-right img {
  position: absolute;
  bottom: 0;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.button-card {
  position: relative;
  display: block;
  width: 80%;
  background-color: #fff;
  padding: 24px 6px 14px 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* ▶マーク（白）を三角の中に配置 */
.button-card::before {
  content: "▶";
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 12px;
  color: #fff;
  z-index: 1;
}
.button-card:hover {
  transform: translateY(-3px);
}

.button-card__title {
  font-size: 2.2rem;
  color: var(--color-blue);
  text-align: center;
  display: block;
  line-height: 1.1;
}

.button-card__subtitle {
  font-size: 1.7rem;
  color: #333;
  display: block;
  text-align: center;
}

.button-card::after {
  content: "▶";
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--arrow-bg);
  color: white;
  font-size: 12px;
  padding: 8px 10px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  width: 60px;
  height: 60px;
}

/* コンセプト */

.square__bg {
  padding: 30px 0 0 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6)
    ),
    url(../images/top/concept_bg.webp);
  background-size: contain;
}
.concept-copy {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.concept-copy span {
  color: var(--color-blue2);
  font-size: 2.3rem;
}

.concept-text {
  padding: 1.5rem;
  background-color: #e4eff5;
  position: relative;
}
.concept-in__trouble {
  justify-content: end;
}
.concept-in__trouble_serif {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem 1rem;
  width: 69%;
}
.concept-in__trouble__woman {
  width: 21%;
  position: absolute;
  bottom: 5%;
  left: 18%;
  z-index: 2;
}
.concept-in__trouble_serif ul li {
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}
.concept-in__trouble_serif ul li:last-child{
  margin-bottom: 0;
}
.concept-in__trouble_serif ul li span {
  color: var(--color-blue2);
}


.check-icon {
  width: 1em;
  height: auto;
  margin-right: 0.5em;
  flex-shrink: 0;
  display: inline-block;
  position: absolute;
  top: 32%;
  left: 2%;
}

.concept-in__trouble_serif ul li span {
  color: var(--color-blue2);
}

.concept-in__trouble_serif li:not(:first-child) div {
  padding-left: 11%;
  text-indent: -3%;
  line-height: 1.3;
}
.concept-in__trouble_serif li:first-child div {
  padding-left: 8%;
}
.concept-in__trouble_serif li:first-child .check-icon {
  top: 17%;
}
/* .concept-in__trouble_serif ul li::before {
  position: absolute;
  left: -5%;
  content: url(../images/top/trouble_icon.webp);
  top: 3%;
  transform: scale(0.5);
}
.concept-in__trouble_serif li:first-child {
  padding-left: 0;
}
.concept-in__trouble_serif li:first-child::before {
  left: -11%;
  top: -31%;
}
.concept-in__trouble_serif li:not(:first-child) {
  padding-left: 1.5em;
  text-indent: -1.5em;
  line-height: 1.3;
} */
.concept-text p {
  font-size: 2rem;
  margin: 0 auto;
  font-weight: 500;
  display: block;
  width: fit-content;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.concept-text__attend {
  text-align: center;
}
.concept-text__attend span {
  color: var(--color-blue2);
  font-weight: bold;
}

/* ポイント */
.points {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  padding-bottom: 6rem;
}

.point {
  position: relative;
  width: 100%;
}
.point--1 {
  padding-top: 40px;
}

.point__content {
  display: flex;
  background-color: #fff;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: 90%;
}
.point__content.right {
  margin: 0 0 0 auto;
}
.point__content.left {
  margin: 0 0 auto 0;
}

.point__text {
  flex: 0.8;
}
.point__label {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.point__label.visible {
  opacity: 1;
  transform: translateX(0);
}
.point__label img {
  width: 53%;
  margin: 0 auto;
}
.point__title span {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.point__title.animate span {
  opacity: 1;
  transform: translateY(0);
}

.point__title {
  font-size: 4vw;
  line-height: 1.3;
  width: 55%;
  margin: 1.5rem auto 0 auto;
  font-weight: 600;
  text-align: center;
}
.point__title.title_one {
  width: 66%;
}

.point__image {
  flex: 1.1;
}

.point__image img {
  width: 100%;
  height: auto;
}

.point__bg {
  position: absolute;
  background-color: #a2bde2;
  width: 45%;
  height: 31%;
  padding: 14%;
  left: 10px;
  z-index: 0;
}

/* 各ポイントごとに位置調整（例） */
.point--1 .point__bg {
  left: 0;
  bottom: -11%;
}

.point--2 .point__bg {
  bottom: -2.5rem;
  right: 0;
  left: auto;
}

.point--3 .point__bg {
  bottom: -3.5rem;
  left: 0;
}
/* 事業内容 */
#service.square__bg {
  padding-bottom: 30px;
}
.content h2 {
  font-weight: 900;
  margin-bottom: 1rem;
  color: #014ea7;
  font-size: 4rem;
  letter-spacing: 6px;
}
.content h3 {
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 2rem;
}
.content p {
  font-size: 1.5rem;
  line-height: 1.5;
}
.eco {
  background-color: #0053bd;
  color: white;
  border-radius: 16px;
  padding: 4rem 6rem;
  text-align: center;
  max-width: 100%;
  margin: 2rem auto;
}

.eco__title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
}

p.eco__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 1rem;
}

.eco__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #ffa000, #ff6f00);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 24px 28px;
  width: 50%;
  border-radius: 9999px;
  box-shadow: 0 4px 0 #d56600;
  margin-bottom: 32px;
  transition: 0.3s ease;
}

.eco__button:hover {
  opacity: 0.9;
}

.eco__button-icon {
  background: white;
  color: #ff6f00;
  font-size: 14px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  margin-left: 12px;
  position: absolute;
  right: 1rem;
  text-align: center;
  font-weight: 500;
}

.eco__button-icon img {
  width: 53%;
  margin: 4px auto 0 6px;
  display: block;
}

.eco__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 0;
  margin: 1rem auto;
  list-style: none;
  width: 61%;
}

.eco__item {
  position: relative;
  padding-left: 28px; /* 矢印のスペースを広めに */
  font-size: 16px;
  color: white;
  display: inline-block; /* 横並びさせるなら */
  margin-right: 20px;
}

.eco__item::before {
  content: "▶";
  color: #005bac; /* 矢印の色（背景の青に合わせて調整） */
  background-color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 実績紹介 */
#achievement {
  background-color: #e4eff5;
  padding: 30px 0;
}

.achievement__title {
  font-size: 36px;
  font-weight: bold;
  color: #0053bd;
  margin-bottom: 16px;
}

.achievement__lead {
  font-size: 16px;
  margin-bottom: 40px;
  color: #333;
}

.achievement__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.achievement__card {
  background: #fff;
  position: relative;
  width: 300px;
  text-align: left;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.achievement__card.visible {
  opacity: 1;
  transform: translateY(0);
}

.achievement__label {
  font-size: 1.4rem;
  width: 80%;
  text-align: center;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -3%;
}

div#construction {
  background: #1547de;
}
div#maintenance {
  background: #f5d00e;
}

div#eco {
  background: #56abe9;
}

.achievement__image img {
  width: 98%;
  height: auto;
  display: block;
  object-fit:cover;
  height: 18vw;
}

.achievement__body {
  padding: 16px 1.7rem;
  position: relative;
}

.achievement__card-title {
  font-size: 18px;
  font-weight: bold;
  color: #0053bd;
  margin-bottom: 8px;
}

.content p.achievement__desc {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.6;
  font-weight: 500;
}

.content p.achievement__place {
  font-size: 14px;
  color: var(--color-blue2);
  font-weight: 600;
  position: absolute;
  right: 3%;
  bottom: 1%;
  text-align: right;
}
.content h3.achievement__card-title {
  color: #014ea7;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.4rem;
}
/* スタッフ紹介 */
#staff.content p {
  margin-bottom: 30px;
  z-index: 3;
}
.staff__image {
  background-color: #56abe9;
}
.staff__image-box {
  position: relative;
}
.staff__image-box p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  line-height: 2;
  color: #fff;
  text-align: center;
  font-weight: 800;
}
.staff__btn {
  padding: 30px 0;
}

/* アニメーション */
.img-wrap {
  opacity: 0;
}

.img-animation {
  animation: img-opacity 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  overflow: hidden;
  position: relative;
}

.img-animation::before {
  animation: img-animation 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #f9f9f9;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  transform: translateY(0); /* ã“ã‚Œã‚’è¿½åŠ  */
}
.service .img-animation::before {
  background-color: #f0ece8;
}
@keyframes img-opacity {
  100% {
    opacity: 1;
  }
}

@keyframes img-animation {
  100% {
    transform: translateY(100%);
  }
}
