/*-------------------------
    ヘッダー調整（トップページ用）
-------------------------*/
/* layout.cssのヘッダーを上書き */
.hamburger span {
  background-color: #fff;
}
/* ハンバーガーメニューが開いているときのアニメーション */
.hamburger.active span:nth-child(1) {
  background-color: #000000;
  z-index: 9999;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  background-color: #000000;
  z-index: 9999;
}
@media screen and (min-width: 768px) {
  .header .txt_black {
    color: #fff;
  }
  .main-visual .subtitle {
    font-size: 18px;
    letter-spacing: 0.08em;
  }
}
/*-------------------------
    コンテナ
-------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
body {
  position: relative;
}
body::after {
  content: "";
  width: 100%;
  height: 2000px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: rgba(208, 232, 245, 0.35);
  z-index: -1;
  position: absolute;
  top: 400px;
  right: 0px;
}
@media screen and (max-width: 767px) {
  body::after {
    height: 1600px;
    top: 500px;
    clip-path: polygon(0 0, 130% 50%, 0 100%);
  }
}
.corporate-section::after {
  display: inline-block;
  content: "";
  width: 100%;
  height: 1700px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  background-color: #eefbf5;
  z-index: -1;
  position: absolute;
  bottom: -600px;
  right: 0px;
}
.service-section::after {
  display: none;
}
@media screen and (max-width: 767px) {
  .corporate-section::after {
    display: none;
  }
  .service-section::after {
    display: inline-block;
    content: "";
    width: 100%;
    height: 1000px;
    clip-path: polygon(100% 0, -60% 50%, 100% 100%);
    background-color: #eefbf5;
    z-index: -1;
    position: absolute;
    top: 1000px;
    right: 0px;
  }
}
body::before {
  content: "";
  width: 100%;
  height: 1700px;
  clip-path: polygon(0 0, 100% 70%, 0 155%);
  background-color: rgba(208, 232, 245, 0.35);
  z-index: 0;
  position: absolute;
  bottom: 0px;
  right: 0px;
}
@media screen and (max-width: 767px) {
  body::before {
    clip-path: polygon(0 0, 130% 50%, 0 130%);
    background-color: rgba(208, 232, 245, 0.35);
  }
}
.subtitle {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .subtitle {
    font-size: 14px;
  }
}
/*-------------------------
    メインビジュアル
-------------------------*/
.main-visual {
  position: relative;
  overflow: visible;
  margin-top: 0; /* ヘッダー分のマージンを削除 */
  margin-bottom: 150px;
}
.main-visual .main-visual-triangle-up {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
}
.main-visual .slide-item {
  position: relative;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.main-visual .slide-item img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 100vh;
}

/* カケアミ効果 */
.main-visual .slide-item-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 2px 2px;
  background-repeat: repeat;
  z-index: 1;
  pointer-events: none;
}
.main-visual .slide-item-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 2px 2px;
  background-repeat: repeat;
  z-index: 1;
  pointer-events: none;
}
.main-visual .slide-item-3::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 2px 2px;
  background-repeat: repeat;
  z-index: 1;
  pointer-events: none;
}
.visual-content {
  position: absolute;
  top: 40%;
  right: 65px;
  transform: translateY(-50%);
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  margin-top: 40px;
}

.visual-content h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 180%;
  margin-bottom: 20px;
  max-width: 560px;
}

.visual-content .subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
  opacity: 0.9;
}
/* 初期状態で1枚目以外を非表示に */
.main-visual .slide-item > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}
/* 1枚目のみ最初から表示 */
.main-visual .slide-item .slide-item-1 {
  opacity: 1;
}
/* ファーストビュー下部の3つのボタン */
.visual-bottom-buttons {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 45px;
  z-index: 15;
}

.visual-btn-item {
  background: white;
  border-radius: 8px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  padding: 1.5% 2%;
  text-align: center;
  width: 205px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-btn-item:hover {
  transform: translateY(-4px);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.visual-btn-item .icon {
  margin-right: 6%;
}
.visual-btn-item-2 .icon {
  margin-right: 8%;
}

.visual-btn-item h3 {
  font-size: 0.92rem;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .main-visual {
    margin-bottom: 50px;
  }
  .main-visual .main-visual-triangle-up {
    width: 50%;
  }
  .main-visual,
  .main-visual .slide-item {
    height: 100vh;
  }

  .main-visual .slide-item img {
    height: 100vh;
  }
  .main-visual .slide-item::after {
    background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.2) 0.5px,
        transparent 0.5px
      ),
      linear-gradient(rgba(0, 0, 0, 0.2) 0.5px, transparent 0.5px);
    background-size: 0.5px 0.5px;
  }
  .visual-content {
    right: 5%;
    left: 5%;
    top: 43%;
    margin-top: 0px;
  }

  .visual-content h1 {
    font-size: clamp(23px, 7vw, 30px);
    line-height: 160%;
    margin-bottom: 5px;
  }

  .visual-content .subtitle {
    font-size: 12px;
  }

  .visual-bottom-buttons {
    flex-direction: column;
    gap: 8px;
    bottom: 15px;
    width: 80%;
    left: 50%;
  }

  .visual-btn-item {
    width: 100%;
    padding: 0 5% 0 10%;
    height: 38px;
    border-radius: 0px;
    justify-content: flex-start;
  }
  .visual-btn-item .icon {
    margin-right: 30px;
  }
  .visual-btn-item .icon img {
    width: 25px;
  }
  .visual-btn-item h3 {
    font-size: 0.82rem;
    line-height: 1.3;
  }
}

/*-------------------------
    ニュースセクション
-------------------------*/
.news-section {
  margin-bottom: 113px;
}
.news-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 980px;
}
.news-header {
  color: #057591;
  margin-right: 90px;
}

.news-header h2 {
  font-size: 50px;
  font-family: var(--font-futura);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 5px;
}

.news-subtitle {
  font-size: 15px;
}

#news-list {
  width: 100%;
}

.news-content {
  flex: 1;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 2rem;
  border-bottom: 1px solid #cfd7de;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.news-item .news-category-date-box {
  display: flex;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.news-date {
  flex: 0 0 auto;
  font-size: 15px;
  white-space: nowrap;
  font-weight: 400;
  width: 95px;
  font-family: 'futura-pt', sans-serif;
}

/* カテゴリラベルの表示 */
.news-category {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 24px;
  font-size: 11px;
  width: 110px;
  line-height: 1.8;
  letter-spacing: 0.1rem;
  vertical-align: middle;
  color: white;
}

.cat-event {
  background-color: #18aad4; /* 「イベント」の色 */
}
.cat-news {
  background-color: #0c58a5; /* 「お知らせ」の色 */
}

.news-ttl {
  flex: 1 1 0; 
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-pdf a {
  display: inline-block;
  margin: 5px 0;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.news-pdf a:hover {
  background-color: #e9ecef;
  color: #212529;
}

.news-pdf p {
  margin: 10px 0;
}

.news-pdf h3, .news-pdf h4 {
  margin: 15px 0 10px;
  color: #333;
}

.news-more {
  width: 240px;
  height: 45px;
  margin: 35px auto 0 auto;
}
.news-more .gradation.btn::after {
  right: 20px;
}

@media screen and (min-width: 768px) and (max-width: 1000px){
  .news-section .container {
    flex-direction: column;
    align-items: start;
  }

  .news-section {
    padding: 0 0 50px;
    margin-bottom: 20px;
  }

  .news-header {
    margin: 0 auto 30px;
    text-align: center;
  }

  .news-header h2 {
    font-size: 55px;
  }

  .news-subtitle {
    font-size: 16px;
  }

  .news-content, #news-list {
    width: 100%;
  }
  
  .news-more {
    margin: 50px auto;
  }
}

@media screen and (max-width: 767px) {
  .news-section .container {
    flex-direction: column;
    align-items: start;
  }

  .news-section {
    padding: 40px 0 50px;
    margin-bottom: 20px;
  }

  .news-header {
    margin: 0 auto 30px;
    text-align: center;
  }

  .news-header h2 {
    font-size: 55px;
  }

  .news-subtitle {
    font-size: 16px;
  }

  .news-content, #news-list {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 24px 0;
  }

  .news-meta {
    gap:2rem;
  }

  .news-date {
    font-size: 1.1rem;
    font-weight: 400;
  }

  .news-category {
    padding: 0.3%;
    font-size: 0.7rem;
    width: 5rem;
  }

  .news-item .news-category-date-box {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
  }

  .news-ttl {
    flex: auto;
    font-size: 1rem; 
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-more {
    margin: 50px auto 0 auto;
  }
}

/*-------------------------
    サービスセクション
-------------------------*/
.service-section {
  position: relative;
  margin-bottom: 100px;
}
.service-section .container {
  max-width: 1300px;
}
.service-header {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}
.service-triangle {
  margin-bottom: 37px;
}
.service-triangle svg {
  width: 21%;
  min-width: 200px;
  height: auto;
}
.service-header h2 {
  font-size: clamp(60px, 15vw, 85px);
  color: #057591;
  font-family: var(--font-futura);
  font-weight: 300;
  margin-bottom: 15px;
  line-height: 1;
}

.service-header .subtitle {
  color: #057591;
  margin-bottom: 55px;
}

.service-header p {
  font-size: 23px;
  line-height: 1.8;
  font-weight: 500;
  margin: 0 auto;
  letter-spacing: 0.06em;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 30px;
  margin-bottom: 60px;
}

.service-item {
  overflow: visible;
  transition: transform 0.3s ease;
  position: relative;
  width: 100%;
  height: 460px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 乗算オーバーレイ */
.service-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-item:nth-child(1) {
  background-image: url("/assets/img/service-item-01.webp");
}
.service-item:nth-child(2) {
  background-image: url("/assets/img/service-item-02.webp");
}
.service-item:nth-child(3) {
  background-image: url("/assets/img/service-item-03.webp");
}
.service-item:nth-child(4) {
  background-image: url("/assets/img/service-item-04.webp");
}
.service-item:nth-child(5) {
  background-image: url("/assets/img/service-item-05.webp");
}
.service-item:nth-child(6) {
  background-image: url("/assets/img/service-item-06.webp");
}

.service-number {
  position: absolute;
  top: -35px;
  left: 15px;
  color: #25c5cb;
  font-family: var(--font-futura);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 77px;
  z-index: 5;
  line-height: 1;
}

.service-content {
  position: absolute;
  z-index: 90;
  font-size: 20px;
  color: #fff;
  font-weight: 400;
  bottom: 30px;
  right: 23px;
}
.service-content h3 {
  letter-spacing: 0.07em;
}
.service-content p {
  font-size: 14px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .service-section {
    padding: 60px 0 0 0;
  }
  .service-section .container {
    padding: 0 15px;
  }
  .service-triangle {
    margin: 0 auto 20px auto;
  }

  .service-header h2 {
    margin-bottom: 5px;
  }

  .service-header p {
    font-size: 16px;
    text-align: left;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
  }

  .service-item {
    height: 265px;
  }

  .service-number {
    top: -30px;
    left: 15px;
    font-size: 60px;
  }
  .service-content {
    font-size: 14px;
    bottom: 20px;
    right: 12px;
    line-height: 140%;
  }
}
/*-------------------------
    会社情報セクション
-------------------------*/
.corporate-section {
  position: relative;
  padding-top: 70px;
  margin-bottom: 170px;
}
.corporate-blur-triangle {
  position: absolute;
  right: 400px;
  top: -70px;
}
.corporate-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1300px) {
  .corporate-content {
    justify-content: end;
  }
}
.corporate-triangle svg {
  position: absolute;
  top: -230px;
  left: -45px;
  max-width: 286px;
}

.corporate-text {
  position: relative;
  max-width: 520px;
  margin-right: 10%;
  padding-left: 3%;
}

.corporate-text h2 {
  font-size: clamp(50px, 15vw, 70px);
  color: #057591;
  font-family: var(--font-futura);
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1;
  text-align: right;
  letter-spacing: 0.06em;
}

.corporate-text .subtitle {
  color: #057591;
  margin-bottom: 60px;
  text-align: right;
}

.corporate-text p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 70px;
  font-weight: 500;
}

.corporate-btn {
  width: 360px;
  height: 70px;
  font-size: 23px;
}
.corporate-btn .gradation.btn::after {
  right: 30px;
}
.corporate-image {
  width: 540px;
  height: 700px;
}

.corporate-image img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .corporate-section {
    padding: 100px 0 0 0;
    margin-bottom: 0px;
  }
  .corporate-triangle svg {
    position: absolute;
    top: -60px;
    left: -45px;
    max-width: 165px;
  }
  .corporate-content {
    flex-direction: column;
    gap: 50px;
  }

  .corporate-triangle {
    position: absolute;
    top: -30%;
    left: -5%;
    max-width: 273px;
    width: 40%;
  }
  .corporate-text {
    position: relative;
    margin-right: 0%;
    padding-left: 0%;
  }
  .corporate-section .ttl-box {
    margin: 0 auto;
    width: 100%;
  }
  .corporate-text h2 {
    margin-bottom: 5px;
  }
  .corporate-text .subtitle {
    margin-bottom: 80px;
  }
  .corporate-text p {
    font-size: 17px;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 80px;
  }
  .corporate-btn {
    width: 100%;
    max-width: 350px;
    height: 50px;
    font-size: 17px;
  }
  .corporate-image {
    width: 100%;
    height: auto;
  }
}

/*-------------------------
    採用セクション（GSAP実装）
-------------------------*/
.recruit-section {
  background: #00595d;
  position: relative;
  overflow: hidden;
}

.recruit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  height: 100vh;
}

.recruit-slider-box {
  display: flex;
  gap: 20px;
}

.recruit-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.recruit-slider:first-child {
  margin-left: 0;
  padding-left: 0;
  margin-right: 40px;
}

.recruit-slide-item {
  margin-bottom: 15px;
  max-width: 400px;
}

.recruit-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*スライダー*/
.recruit-section .vslide-section__slider {
  position: relative;
}

.recruit-section .scroll-wrapper {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  height: calc(350px * 4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.recruit-section .slide-item {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.recruit-section .slide-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: brightness(1.1);
  z-index: -1;
}

.recruit-triangle {
  position: absolute;
  top: 40px;
  right: -60px;
  width: 175px;
  z-index: 2;
}

.recruit-text {
  color: white;
  position: relative;
  width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 200px 0;
}

.recruit-text .ttl-box {
  margin-bottom: 40px;
}

.recruit-text h2 {
  font-size: clamp(50px, 15vw, 85px);
  font-family: var(--font-futura);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1;
  text-align: right;
}

.recruit-text .subtitle {
  text-align: right;
}

.recruit-text .recruit-textsub {
  font-size: 25px;
  line-height: 2;
  margin-bottom: 60px;
  text-align: center;
  font-weight: 400;
  position: relative;
}

/* 左上のかぎかっこ */
.recruit-text .recruit-textsub::before {
  content: "";
  position: absolute;
  top: 45px;
  left: -30px;
  width: 40px;
  height: 50px;
  border-top: 1px solid rgba(255, 255, 255);
  border-left: 1px solid rgba(255, 255, 255);
}

/* 右下のかぎかっこ */
.recruit-text .recruit-textsub::after {
  content: "";
  position: absolute;
  bottom: 57px;
  right: -30px;
  width: 40px;
  height: 50px;
  border-bottom: 1px solid rgba(255, 255, 255);
  border-right: 1px solid rgba(255, 255, 255);
}

.recruit-btn {
  width: 360px;
  height: 70px;
}

.recruit-btn .gradation {
  background-color: white;
  background-image: none;
}

.recruit-btn .gradation.btn::after {
  background-image: url("/assets/img/header-arrow-green.svg");
  right: 30px;
  width: 20px;
  height: 25px;
}

.recruit-btn .txt_black {
  color: #00595d;
  font-weight: 600;
  font-size: 23px;
}

@media screen and (max-width: 767px) {
  .recruit-section {
    padding: 60px 0 0 0;
  }

  .recruit-text h2 {
    margin-bottom: 10px;
  }

  .recruit-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 30px 0 0 0;
    height: auto;
  }

  .recruit-text {
    order: 1;
    width: 100%;
    padding: 0 5%;
  }

  .recruit-triangle {
    top: -25%;
    right: -5px;
    width: 110px;
  }

  .recruit-text p {
    font-size: 18px;
  }

  .recruit-btn {
    width: 290px;
    height: 50px;
  }

  .recruit-btn .txt_black {
    font-size: 18px;
  }

  .recruit-slider-box {
    order: 2;
    display: block;
  }

  .recruit-slider {
    position: relative;
    display: flex;
    align-items: end;
    flex-direction: row;
  }

  .recruit-slide-item {
    margin-bottom: 0px;
    width: 180px;
    margin-right: 10px;
  }

  .recruit-slider-box .is-down {
    margin-right: 0;
    margin-bottom: 15px;
    flex-direction: row-reverse;
  }

  /* 左上のかぎかっこ */
  .recruit-text .recruit-textsub::before {
    top: 40px;
    left: -37px;
    width: 40px;
    height: 50px;
  }

  /* 右下のかぎかっこ */
  .recruit-text .recruit-textsub::after {
    bottom: 53px;
    right: -37px;
    width: 40px;
    height: 50px;
  }

  /* SP版 - 横スクロール用のwrapper */
  .recruit-section .scroll-wrapper {
    width: calc(300px * 4);
    height: 100%;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  .recruit-section .slide-item {
    min-width: 200px;
    width: 200px;
    margin-bottom: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
    border-radius: 5px;
  }

  .recruit-section .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/*-------------------------
    ターゲットセクション
-------------------------*/

.target-section {
  padding: 100px 0;
  background: white;
}

.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.target-item {
  position: relative;
  height: 230px;
  transition: background-size 0.3s cubic-bezier(0.63, 0.22, 0.25, 1);
  cursor: pointer;
  background-size: 100% 100%;
  background-position: center;
  overflow: visible;
}

.target-item.residents {
  background-image: url("/assets/img/top-targetbtn-forresidents.webp");
}
.target-item.developers {
  background-image: url("/assets/img/top-targetbtn-fordeveloper.webp");
}

.target-item:hover {
  background-size: 105% 105%; /* 110%にスケールアップ */
  transform: none; /* ボタン全体の変形を無効化 */
}
.target-item:hover img {
  transform: none;
}
.target-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 100px 0 0;
  border-color: #8edcc5 transparent transparent transparent;
  z-index: 2;
}

.target-item::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: -9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 60px 100px;
  border-color: transparent transparent #8edcc5 transparent;
  z-index: 2;
}

.target-item.developers::before {
  border-color: #037d93 transparent transparent transparent;
}
.target-item.developers::after {
  border-color: transparent transparent #037d93 transparent;
}

.target-text {
  text-align: left;
  color: #057591;
  position: absolute;
  top: 32%;
  left: -45px;
}

.target-label {
  font-family: var(--font-futura);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  display: block;
  background-color: #fff;
  padding: 7px 30px 7px 20px;
  position: relative;
}
.target-label:after {
  content: "";
  background-image: url(/assets/img/header-arrow-green.svg);
  width: 50px;
  height: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -20px;
  color: #057591;
  top: 27%;
}
.target-text h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 400;
  display: inline-block;
  background-color: #fff;
  padding: 7px 20px;
}

@media screen and (max-width: 767px) {
  .target-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .target-item {
    height: 150px;
  }

  .target-text {
    top: 30%;
    left: -15px;
  }

  .target-text h3 {
    font-size: 15px;
  }
  .target-label:after {
    width: 50px;
    height: 25px;
    top: 20%;
  }
  .target-label {
    font-size: 28px;
    margin-bottom: 5px;
    padding: 7px 20px 7px 20px;
  }

  .target-item::before {
    top: -7px;
    left: -9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 60px 0 0;
    border-color: #8edcc5 transparent transparent transparent;
    z-index: 2;
  }

  .target-item::after {
    content: "";
    position: absolute;
    bottom: -7px;
    right: -9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 60px;
    border-color: transparent transparent #8edcc5 transparent;
    z-index: 2;
  }
}

/* スクロールアニメーション用のCSS */
.service-item.scroll-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item.scroll-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延アニメーションのための追加クラス */
.service-item.scroll-in:nth-child(1) {
  transition-delay: 0.05s;
}
.service-item.scroll-in:nth-child(2) {
  transition-delay: 0.1s;
}
.service-item.scroll-in:nth-child(3) {
  transition-delay: 0.15s;
}
.service-item.scroll-in:nth-child(4) {
  transition-delay: 0.2s;
}
.service-item.scroll-in:nth-child(5) {
  transition-delay: 0.25s;
}
.service-item.scroll-in:nth-child(6) {
  transition-delay: 0.3s;
}

/* corporate-triangle用のスクロールアニメーション */
.corporate-triangle svg.scroll-in {
  opacity: 0;
  transition: all 0.05s ease-out;
}
.corporate-triangle svg.scroll-in.animate {
  opacity: 1;
}

/*SVGアニメーション*/
/***************************************************
 * Generated by SVG Artista on 6/5/2025, 11:13:50 AM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

@-webkit-keyframes animate-svg-fill-1 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(6, 143, 168);
  }
}

@keyframes animate-svg-fill-1 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(6, 143, 168);
  }
}

.svg-elem-1 {
  -webkit-animation: animate-svg-stroke-1 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0s both,
    animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both;
  animation: animate-svg-stroke-1 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s both,
    animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both;
}

@-webkit-keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 331.645751953125px;
    stroke-dasharray: 331.645751953125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.645751953125px;
  }
}

@keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 331.645751953125px;
    stroke-dasharray: 331.645751953125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.645751953125px;
  }
}

@-webkit-keyframes animate-svg-fill-2 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

@keyframes animate-svg-fill-2 {
  0% {
    fill: transparent;
  }
}

.svg-elem-2 {
  -webkit-animation: animate-svg-stroke-2 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.12s both,
    animate-svg-fill-2 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both;
  animation: animate-svg-stroke-2 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s
      both,
    animate-svg-fill-2 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both;
}

@-webkit-keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

@keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

.svg-elem-3 {
  -webkit-animation: animate-svg-stroke-3 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.24s both,
    animate-svg-fill-3 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
  animation: animate-svg-stroke-3 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s
      both,
    animate-svg-fill-3 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
}

@-webkit-keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

@keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 629.2745361328125px;
    stroke-dasharray: 629.2745361328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.2745361328125px;
  }
}

@-webkit-keyframes animate-svg-fill-4 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(6, 143, 168);
  }
}

@keyframes animate-svg-fill-4 {
  0% {
    fill: transparent;
  }
}

.svg-elem-4 {
  -webkit-animation: animate-svg-stroke-4 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.36s both,
    animate-svg-fill-4 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
  animation: animate-svg-stroke-4 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.36s
      both,
    animate-svg-fill-4 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
}

@-webkit-keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 650.7291870117188px;
    stroke-dasharray: 650.7291870117188px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 650.7291870117188px;
  }
}

@keyframes animate-svg-stroke-5 {
  0% {
    stroke-dashoffset: 650.7291870117188px;
    stroke-dasharray: 650.7291870117188px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 650.7291870117188px;
  }
}

@-webkit-keyframes animate-svg-fill-5 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

@keyframes animate-svg-fill-5 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

.svg-elem-5 {
  -webkit-animation: animate-svg-stroke-5 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.48s both,
    animate-svg-fill-5 0.7s cubic-bezier(0.47, 0, 0.745, 0.715)
      1.2000000000000002s both;
  animation: animate-svg-stroke-5 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.48s
      both,
    animate-svg-fill-5 0.7s cubic-bezier(0.47, 0, 0.745, 0.715)
      1.2000000000000002s both;
}

@-webkit-keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 331.645751953125px;
    stroke-dasharray: 331.645751953125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.645751953125px;
  }
}

@keyframes animate-svg-stroke-6 {
  0% {
    stroke-dashoffset: 331.645751953125px;
    stroke-dasharray: 331.645751953125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.645751953125px;
  }
}

@-webkit-keyframes animate-svg-fill-6 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

@keyframes animate-svg-fill-6 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

.svg-elem-6 {
  -webkit-animation: animate-svg-stroke-6 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.6s both,
    animate-svg-fill-6 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s both;
  animation: animate-svg-stroke-6 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.6s
      both,
    animate-svg-fill-6 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s both;
}

svg.scroll-in {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* SVGアニメーションを最初は停止 */
svg.scroll-in .svg-elem-1,
svg.scroll-in .svg-elem-2,
svg.scroll-in .svg-elem-3,
svg.scroll-in .svg-elem-4,
svg.scroll-in .svg-elem-5,
svg.scroll-in .svg-elem-6 {
  animation-play-state: paused;
}

/* スクロールで表示されたときのスタイル */
svg.scroll-in.animate {
  opacity: 1;
  transform: translateX(0);
}

/* SVGアニメーションを再生 */
svg.scroll-in.animate .svg-elem-1,
svg.scroll-in.animate .svg-elem-2,
svg.scroll-in.animate .svg-elem-3,
svg.scroll-in.animate .svg-elem-4,
svg.scroll-in.animate .svg-elem-5,
svg.scroll-in.animate .svg-elem-6 {
  animation-play-state: running;
}

/***************************************************
 * Generated by SVG Artista on 6/5/2025, 2:26:55 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

.service-triangle svg .svg-elem-1 {
  stroke-dashoffset: 1884.0478515625px;
  stroke-dasharray: 1884.0478515625px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}

.service-triangle svg.active .svg-elem-1 {
  stroke-dashoffset: 0;
  fill: rgb(6, 143, 168);
}

.service-triangle svg .svg-elem-2 {
  stroke-dashoffset: 629.1915283203125px;
  stroke-dasharray: 629.1915283203125px;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.12s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
}

.service-triangle svg.active .svg-elem-2 {
  stroke-dashoffset: 0;
}

.service-triangle svg .svg-elem-3 {
  stroke-dashoffset: 331.7613525390625px;
  stroke-dasharray: 331.7613525390625px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.24s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
}

.service-triangle svg.active .svg-elem-3 {
  stroke-dashoffset: 0;
  fill: rgb(142, 220, 197);
}

.service-triangle svg .svg-elem-4 {
  stroke-dashoffset: 331.75140380859375px;
  stroke-dasharray: 331.75140380859375px;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.36s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.36s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
}

.service-triangle svg.active .svg-elem-4 {
  stroke-dashoffset: 0;
}

/***************************************************
 * Generated by SVG Artista on 6/5/2025, 2:28:55 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 1884.0478515625px;
    stroke-dasharray: 1884.0478515625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1884.0478515625px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 1884.0478515625px;
    stroke-dasharray: 1884.0478515625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1884.0478515625px;
  }
}

@-webkit-keyframes animate-svg-fill-1 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(6, 143, 168);
  }
}

@keyframes animate-svg-fill-1 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(6, 143, 168);
  }
}

.service-triangle .svg-elem-1 {
  -webkit-animation: animate-svg-stroke-1 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0s both,
    animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both;
  animation: animate-svg-stroke-1 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s both,
    animate-svg-fill-1 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s both;
}

@-webkit-keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 629.1915283203125px;
    stroke-dasharray: 629.1915283203125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.1915283203125px;
  }
}

@keyframes animate-svg-stroke-2 {
  0% {
    stroke-dashoffset: 629.1915283203125px;
    stroke-dasharray: 629.1915283203125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 629.1915283203125px;
  }
}

.service-triangle .svg-elem-2 {
  -webkit-animation: animate-svg-stroke-2 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.12s both,
    animate-svg-fill-2 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both;
  animation: animate-svg-stroke-2 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s
      both,
    animate-svg-fill-2 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s both;
}

@-webkit-keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 331.7613525390625px;
    stroke-dasharray: 331.7613525390625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.7613525390625px;
  }
}

@keyframes animate-svg-stroke-3 {
  0% {
    stroke-dashoffset: 331.7613525390625px;
    stroke-dasharray: 331.7613525390625px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.7613525390625px;
  }
}

@-webkit-keyframes animate-svg-fill-3 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

@keyframes animate-svg-fill-3 {
  0% {
    fill: transparent;
  }

  100% {
    fill: rgb(142, 220, 197);
  }
}

.service-triangle .svg-elem-3 {
  -webkit-animation: animate-svg-stroke-3 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.24s both,
    animate-svg-fill-3 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
  animation: animate-svg-stroke-3 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s
      both,
    animate-svg-fill-3 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s both;
}

@-webkit-keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 331.75140380859375px;
    stroke-dasharray: 331.75140380859375px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.75140380859375px;
  }
}

@keyframes animate-svg-stroke-4 {
  0% {
    stroke-dashoffset: 331.75140380859375px;
    stroke-dasharray: 331.75140380859375px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 331.75140380859375px;
  }
}

.service-triangle .svg-elem-4 {
  -webkit-animation: animate-svg-stroke-4 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.36s both,
    animate-svg-fill-4 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
  animation: animate-svg-stroke-4 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.36s
      both,
    animate-svg-fill-4 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s both;
}
.footer {
  background-color: #fff;
}
