/* 横スクロール防止とヘッダー修正 */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.header {
  width: 100%;
  overflow-x: hidden;
}

.header__inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ハンバーガーメニューの修正（voiceページ専用） */
.hamburger-menu {
  flex-direction: column;
  justify-content: space-around;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hamburger-menu {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-left: auto;
    margin-right: 8px;
    width: 30px;
    height: 30px;
  }
  
  .header__inner {
    justify-content: space-between;
    padding-right: 16px;
    align-items: center;
  }
}


/* パンくずリスト */
.breadcrumb {
  margin: 84px 5% 4px 5%;
  font-size: 0.8rem;
  color: #888;
}

.breadcrumb a {
  color: #1E4377;
  text-decoration: underline;
}

/* サービスタイトルエリア */
.services-title-area {
  position: relative;
  width: 100vw;
  min-width: 320px;
  height: auto;
  opacity: 0;
  animation: titleAreaFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

@keyframes titleAreaFadeIn {
  to {
    opacity: 1;
  }
}

.services-title-whiteband {
  position: relative;
  top: 0; left: 0;
  width: 95vw;
  background: #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: auto;
  border-radius: 0;
  transform: translateX(-30%);
  opacity: 0;
  animation: whiteBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

@keyframes whiteBandSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.services-title-blueband {
  position: absolute;
  right: 0%;
  top: 50%;
  width: 95vw;
  height: 100%;
  background: linear-gradient(90deg, #387CDD 0%, #1E4377 100%);
  z-index: 1;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  transform: translateX(30%);
  opacity: 0;
  animation: blueBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes blueBandSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.services-title-blueband-text {
  position: absolute;
  top: 75%;
  left: 5vw;
  transform: translateY(-50%);
  width: 100vw;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 80px;
  height: auto;
  margin: 0;
  opacity: 0;
  animation: blueTextFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
  padding-right: 150px;
}

@keyframes blueTextFadeIn {
  to {
    opacity: 1;
  }
}

.services-title-texts {
  margin-left: 10vw;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: whiteTextSlideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

@keyframes whiteTextSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-title-bgmark {
  position: absolute;
  right: -333px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: auto;
  opacity: 0;
  animation: logoScaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards;
}

@keyframes logoScaleIn {
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.services-title-bgmark img {
  width: 55%;
  object-fit: contain;
  display: block;
}

.services-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: #1E4377;
  line-height: 1.2;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #fff;
  paint-order: stroke;
}

.services-title-en {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #1E4377;
  line-height: 1.2;
}

/* お客様の声リード部 */
.voice-lead-section {
  background: #f5f8fc;
  padding: 32px 0 0 0;
  margin-top: 160px;
}

.voice-lead-section__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

.voice-lead-section__desc {
  color: #1E4377;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.voice-lead-section__sub {
  color: #222;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #1E4377;
}

.voice-lead-section__sub span {
  display: inline-block;
}

/* お客様の声 メイソンリー一覧 */
.voice-masonry-section {
  background: #f5f8fc;
  padding: 48px 0 64px 0;
  margin: 0 32px;
}

.voice-masonry {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 500px;
}

.voice-masonry-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30,67,119,0.08);
  padding: 32px 24px 24px 24px;
  box-sizing: border-box;
  margin-bottom: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
  /* スクロールアニメーション用の初期状態 */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.2s ease;
}

/* スクロールアニメーション用のクラス */
.voice-masonry-card.animate {
  opacity: 1;
  transform: translateY(0);
}



.voice-card__icon-wrapper {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #387CDD;
  margin: auto;
  margin-bottom: 16px;
}

.voice-card__icon-wrapper_color_woman{
background-color: #f9c770;
}

.voice-masonry-card__icon {
  position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center 40%;
    border: none;
    border-radius: 50%;
    background: none;
}

/* メタ情報 */
.voice-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.voice-card__age-gender {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.voice-card__job {
  background: #387CDD;
  color: #fff;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

/*job--情報通信・デジタル*/
.voice-card__job_color_1{
  background-color: #1E88E5;
}
/*job--教育・保育*/
.voice-card__job_color_2{
  background-color: #7E57C2;
}
/*job--医療・福祉*/
.voice-card__job_color_3{
  background-color: #26A69A;
}
/*job--スポーツ・フィットネス*/
.voice-card__job_color_4{
  background-color: #00ACC1;
}
/*job--飲食*/
.voice-card__job_color_5{
  background-color: #FB8C00;
}
/*job--小売・EC*/
.voice-card__job_color_6{
  background-color: #7CB342;
}
/*job--士業・法務・行政*/
.voice-card__job_color_7{
  background-color: #455A64;
}
/*job--クリエイティブ・メディア・広告*/
.voice-card__job_color_8{
  background-color: #D81B60;
}


.voice-masonry-card__name {
  color: #1E4377;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 12px;
}

.voice-masonry-card__text {
  color: #222;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
}

.voice-card__quote {
  margin-bottom: 4px;
  text-align: left;
  width: 100%;
}
img.voice-card__quote-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .voice-masonry {
    padding: 0 8px;
  }
}

@media (max-width: 900px) {
  .services-title-area {
    position: relative;
    width: 100vw;
    min-width: 320px;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    opacity: 0;
    animation: titleAreaFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
  }
  
  .services-title-whiteband {
    position: relative;
    width: 95vw;
    background: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: auto;
    border-radius: 0;
    min-height: 80px;
    flex: 1 1 auto;
    transform: translateX(-25%);
    opacity: 0;
    animation: whiteBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
  }
  
  .services-title-blueband {
    position: absolute;
    right: 0;
    top: 50%;
    width: 95vw;
    height: 100%;
    background: linear-gradient(90deg, #387CDD 0%, #1E4377 100%);
    z-index: 1;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    transform: translateX(25%);
    opacity: 0;
    animation: blueBandSlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  }
  
  .services-title-bgmark {
    position: absolute;
    right: -22rem;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: unset;
    height: 60px;
    opacity: 0;
    animation: logoScaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.0s forwards;
  }
  
  .services-title-bgmark img {
    width: 45%;
  }
  
  .services-title-texts {
    margin-left: 6vw;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
    opacity: 0;
    transform: translateY(15px);
    animation: whiteTextSlideUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
  }
  
  .services-title-blueband-text {
    opacity: 0;
    animation: blueTextFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
  }
  
  .services-title-ja {
    font-size: 32px;
  }
  
  .services-title-en {
    font-size: 18px;
  }
  
  .voice-lead-section {
    padding: 24px 0 0 0;
  }
  
  .voice-lead-section__desc {
    font-size: 1rem;
  }
  
  .voice-lead-section__sub {
    font-size: 0.95rem;
  }


.voice-lead-section {
  margin-top: 128px;
}
.voice-masonry-section {
  padding: 32px 0 64px 0;
}

}

@media (max-width: 800px) {
  .services-title-blueband-text {
    font-size: 1rem;
    left: 3vw;
    padding-right: 48px;
  }
  
  .services-title-texts {
    margin-left: 7vw;
  }
  
  .services-title-ja {
    font-size: 28px;
  }
  
  .services-title-en {
    font-size: 16px;
  }

  .voice-lead-section {
    padding: 16px 0 0 0;
  }
  
  .voice-lead-section__inner {
    padding: 0 8px;
  }
  
  .voice-lead-section__desc {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .voice-lead-section__sub {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .voice-masonry-section {
    padding: 24px 0px 32px 0px;
    margin: 0 16px;
  }
  
  .voice-masonry {
    padding: 0 4px;
  }
  
  .voice-masonry-card {
    margin-bottom: 16px;
  }
  
  
  .voice-masonry-card__name {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }
  
  .voice-masonry-card__text {
    font-size: 0.92rem;
  }
} 

@media (max-width: 600px) {
  .services-title-bgmark img {
    width: 55%;
    opacity: 0.5;
  }
  .services-title-bgmark {
    right: -16rem;
}
}