/* 横スクロール防止とヘッダー修正 */
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;
}

/* ハンバーガーメニューの修正（indexページ専用） */
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;
  }

  .header.active {
    height: 100vh;
  }
}

@media (max-width: 600px) {

  .header__inner {
    padding-right: 16px;
  }
}

/* ファーストビュー - Canvas版 */
.first-view {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 600px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
}

/* 背景動画 */
.first-view__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.first-view__video.visible {
  opacity: 1;
}

/* Canvasアニメーション */
.first-view__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 1s ease;
}

/* 円の基本スタイル（重複削除） */
.first-view__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 64px 80px 5vw;
  max-width: 1440px;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.first-view__content.visible {
  opacity: 1;
}

.first-view__logo {
  width: 200px;
  margin-bottom: 16px;
  filter: drop-shadow(1px 1px 4px #fff);
}

.first-view__logo-jp {
  width: 240px;
  margin-bottom: 40px;
  margin-top: -4px;
  margin-left: 0px;
  filter: drop-shadow(1px 1px 4px #fff);
}

.first-view__catch {
  margin-bottom: 24px;
}

.first-view h1 {
  font-size: 3.2rem;
  color: #1e4377;
  margin: 0 0 24px 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8),
    0 4px 16px rgba(255, 255, 255, 0.4);
}

.first-view__subtitle {
  font-size: 1.3rem;
  /* color: #64748b; */
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.first-view__cta {
  display: flex;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.8s forwards;
}

.first-view__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #1e4377;
  color: #fff;
  padding: 18px 40px 18px 60px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(30, 67, 119, 0.2);
}

.first-view__btn::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 24px;
}

.first-view__btn:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 67, 119, 0.3);
}

.first-view__btn:hover::after {
  transform: translateX(6px);
}

.first-view__btn--secondary {
  background: white;
  color: #1e4377;
  border: 2px solid #1e4377;
  box-shadow: none;
}

.first-view__btn--secondary::after {
  border-color: #1e4377;
}

.first-view__btn--secondary:hover {
  background: #1e4377;
  color: #fff;
}

/* アニメーション定義 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロール促進要素 */
.first-view__scroll-prompt {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #1e4377;
  cursor: pointer;
  animation: scrollPromptFloat 3s ease-in-out infinite;
  transition: opacity 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards,
    scrollPromptFloat 3s ease-in-out 2s infinite;
}

.first-view__scroll-prompt:hover {
  opacity: 0.7;
}

.first-view__scroll-text {
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #64748b;
}

.first-view__scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.first-view__arrow-line {
  width: 2px;
  height: 20px;
  background: #1e4377;
  border-radius: 1px;
  animation: arrowLineExtend 2s ease-in-out infinite;
}

.first-view__arrow-point {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #1e4377;
  animation: arrowPointBounce 2s ease-in-out infinite;
}

/* アニメーション定義 */
@keyframes scrollPromptFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes arrowLineExtend {
  0%,
  100% {
    height: 20px;
    opacity: 1;
  }
  50% {
    height: 28px;
    opacity: 0.8;
  }
}

@keyframes arrowPointBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .first-view h1 {
    font-size: 2.8rem;
  }

  .first-view__left {
    padding: 60px 48px 60px 4vw;
  }
}

@media (max-width: 900px) {
  .first-view__content {
    padding: 40px 32px;
    text-align: center;
    align-items: center;
  }

  .first-view h1 {
    font-size: 2.4rem;
    text-align: center;
  }

  .first-view__subtitle {
    font-size: 1.1rem;
    text-align: center;
  }

  .first-view__cta {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .first-view__btn {
    min-width: 200px;
    font-size: 1rem;
    padding: 16px 32px 16px 48px;
  }
}

@media (max-width: 600px) {
  .first-view h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .first-view__subtitle {
    font-size: 1rem;
  }

  .first-view__content {
    padding: 32px 24px;
  }

  .first-view__btn {
    min-width: 180px;
    font-size: 0.95rem;
    padding: 14px 28px 14px 40px;
  }

  .first-view__btn::after {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin-left: 16px;
  }

  .first-view__logo {
    width: 170px;
    margin-bottom: 16px;
  }
}

/* 信念セクション */
.belief {
  position: relative;
  padding: 128px 0 64px 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.belief__background-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  max-width: 1200px;
  min-width: 400px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.belief__background-logo.animate {
  opacity: 0.6;
}

.belief__background-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.belief__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  background: transparent;
  padding: 0 16px 32px 16px;
  border-radius: 0;
  box-shadow: none;
}

/* スクロールアニメーション用クラス */
.belief__animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.belief__animate-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.belief__animate-item:nth-child(1) {
  transition-delay: 0.2s;
}
.belief__animate-item:nth-child(2) {
  transition-delay: 0.4s;
}
.belief__animate-item:nth-child(3) {
  transition-delay: 0.6s;
}
.belief__animate-item:nth-child(4) {
  transition-delay: 0.8s;
}
.belief__animate-item:nth-child(5) {
  transition-delay: 1s;
}

.belief h2 {
  font-family: "Yu Mincho", "游明朝", "YuMincho", serif;
  font-size: 64px;
  color: #1e4377;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(30, 67, 119, 0.1);
}

.belief__lead {
  font-family: "Yu Mincho", "游明朝", "YuMincho", serif;
  font-size: 24px;
  color: #1e4377;
  font-weight: bold;
  line-height: 2;
  line-height: 1.6;
  margin-bottom: 32px;
  font-size: 1.6rem;
}

.belief__lead span {
  display: inline-block;
}

.belief__em {
  font-family: "Yu Mincho", "游明朝", "YuMincho", serif;
  font-size: 48px;
  font-weight: 700;
  color: #1e4377;
}

.belief__desc {
  font-size: 1rem;
  color: #1e4377;
  margin-bottom: 32px;
  line-height: 2;
  font-weight: 500;
}

.belief__desc span {
  display: inline-block;
}

/* 信念セクション専用ボタン */
.belief .btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #1e4377;
  color: #fff;
  padding: 16px 32px 16px 64px;
  border-radius: 50px;
  font-size: 1.1rem;
  margin: 24px 0;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.belief .btn::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.belief .btn:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.belief .btn:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #fff;
}

/* サービスセクション */
.services {
  background: #f0f4fa;
  padding: 128px 0 64px 0;
  text-align: left;
}

.services__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  max-width: 700px;
  margin: 0 0 32px 0;
  /* text-align: left; */
  justify-self: center;
  align-items: center;
}

.services__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  color: #1e4377;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(30, 67, 119, 0.1);
}

.services__en {
  font-family: "Roboto", sans-serif;
  font-size: 128px;
  color: #1e4377;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.services__desc {
  font-size: 1rem;
  color: #1e4377;
  margin: 8px 0 0 0;
  max-width: 700px;
  font-weight: 500;
  line-height: 1.8;
}

.services__list {
  /*width: 90vw;*/
  max-width: 1440px;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  justify-self: center;
}

.services__row {
  display: flex;
  gap: 0;
  justify-content: flex-start;
  width: 100%;
}

/* サービスカード */
.service-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  height: 360px;
  flex: 1 1 0;
  transition: flex 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease;
  z-index: 1;

  /* スクロールアニメーション用 */
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    flex 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transition: none;
}

.service-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 24px;
  z-index: 2;
  transition: background 0.3s ease;
  gap: 24px;
}

.service-card__overlay h3,
.service-card__overlay span,
.service-card__overlay p {
  text-align: left;
}

/* タイトルグループ */
.service-card__title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3rem;
}

.service-card__overlay h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
  margin-top: 0;
  height: 64px;
  align-content: center;
}

.service-card__overlay h3 span {
  display: inline-block;
}

/* 英語タイトル */
.service-card__en {
  margin-bottom: 16px;
}

/* コンテンツグループ */
.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.service-card__overlay p {
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  height: 40px;
}

span.link-memo {
  color: #fff;
  text-align: center;
  justify-self: center;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.externallinks__icon {
  width: 3.5%;
  margin-right: 4px;
}

.service-card__arrow-wrap {
  display: flex;
  align-items: center;
  position: relative;
  height: 40px;
  margin-top: 16px;
  margin-left: 0;
  width: 100%;
  justify-content: flex-start;
}

.service-card__arrow {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  margin-left: 0 !important;
  margin-right: 0;
  transition: margin-left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  align-self: flex-start !important;
}

.services__row .service-card:hover {
  flex: 1.1 1 0;
  box-shadow: 0 12px 36px rgba(30, 67, 119, 0.22);
  z-index: 2;
}

.services__row .service-card:hover .service-card__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.services__row .service-card:hover .service-card__arrow {
  margin-left: 30px !important;
  align-self: flex-end;
  transition: margin-left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.12);
  transform: translateX(6px);
}

.service-card__arrow::after {
  content: "→";
  color: #1e4377;
  font-size: 1.4rem;
}

.service-card__more {
  display: none;
  opacity: 0;
  position: static;
  margin-right: 0;
  margin-left: 0;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity 0.6s ease, margin-right 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
  transform: translateX(-10px);
}

.services__row .service-card:hover .service-card__more {
  display: block;
  opacity: 1;
  pointer-events: auto;
  margin-right: 16px;
  transform: translateX(0);
  transition: opacity 0.5s 0.6s ease, margin-right 0.5s 0.6s ease,
    transform 0.5s 0.6s ease;
}

.service-card__more-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1e4377;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-left: 8px;
}

.services__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e4377;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  margin: 32px auto 0 auto;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  max-width: fit-content;
  width: auto;
}

.services__more::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.services__more:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.services__more:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #fff;
}

.service-card__en {
  display: inline-block;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 12px;
  margin: 8px 0 0 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.service-card__en--tax {
  background: #e63946;
}
.service-card__en--accounting {
  background: #2e86ab;
}
.service-card__en--cloud {
  background: #a23b72;
}
.service-card__en--mas1 {
  background: #f18f01;
}
.service-card__en--business {
  background: #4a7c59;
}
.service-card__en--mas2 {
  background: #7209b7;
}
.service-card__en--ma {
  background: #c73e1d;
}

/* お客様の声 */
.voice {
  position: relative;
  min-height: 700px;
  background: linear-gradient(to bottom, transparent 50%, #1e4377 50% 100%);
  overflow: hidden;
  padding: 0;
}

.voice__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  width: 100vw;
  z-index: 0;
  overflow: hidden;
}

.voice__background img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
}

.voice__background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(56, 124, 221, 0.8);
  width: 100vw;
  height: 100%;
  z-index: 1;
}

.voice__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 700px;
  height: 700px;
}

.voice__left {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 48px 64px 5vw;
  color: #fff;
  height: 100%;
  position: relative;
  z-index: 3;
  min-height: 0;
}

.voice__en {
  font-family: "Roboto", sans-serif;
  font-size: 128px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0;
  position: absolute;
  left: 5vw;
  bottom: 54%;
  color: #fff;
  opacity: 0.95;
  z-index: 2;
}

.voice__ja,
.voice__desc {
  position: absolute;
  z-index: 3;
  color: #fff;
  margin-bottom: 0;
  left: 5vw;
}

.voice__ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  bottom: 200px;
}

.voice__desc {
  font-size: 1.1rem;
  margin-bottom: 0;
  line-height: 2;
  bottom: 120px;
}

.voice__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #1e4377;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  margin-top: auto;
  margin-bottom: 0;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  bottom: 32px;
  left: 5vw;
  z-index: 3;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
}

.voice__more::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #1e4377;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.voice__more:hover {
  background: #f0f4fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.voice__more:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #1e4377;
}

.voice__more-arrow {
  display: none;
}

.voice__carousel-area {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  margin-left: 64px;
  height: 100%;
  width: 100%;
}

.voice__carousel-container {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  overflow: visible;
  padding-left: 32px;
}

/* メインカードエリア */
.voice__main-card {
  flex-shrink: 0;
  z-index: 5;
  position: relative;
}

/* メインカード外のドット表示 */
.voice__main-card .voice__main-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.voice__main-card .voice__main-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.voice__main-card .voice__main-dot--active {
  background: #fff;
  transform: scale(1.3);
}

/* サブカードエリア */
.voice__sub-cards {
  display: flex;
  gap: 40px;
  z-index: 1;
  overflow: visible;
  flex-shrink: 0;
}

/* カード共通スタイル */
.voice-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.12);
  padding: 32px 24px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

/* メインカード */
.voice-card--main {
  width: 420px;
  height: 450px;
  box-shadow: 0 12px 32px rgba(30, 67, 119, 0.15);
  transform: scale(1);
  position: relative;
}

/* サブカード */
.voice-card--sub {
  width: 310px;
  height: 360px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 1;
  transform: scale(0.9);
}

/* アイコン関連 */
.voice-card__icon-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.voice-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 70%;
  border: none;
  box-shadow: none;
  background: none;
}

/* アイコン背景色（data-indexに応じて適用） */
.voice-card[data-index="0"] .voice-card__icon-wrapper {
  background: #387cdd;
}

.voice-card[data-index="1"] .voice-card__icon-wrapper {
  background: #387cdd;
}

.voice-card[data-index="2"] .voice-card__icon-wrapper {
  background: #387cdd;
}

.voice-card[data-index="3"] .voice-card__icon-wrapper {
  background: #387cdd;
}

.voice-card[data-index="4"] .voice-card__icon-wrapper {
  background: #387cdd;
}

.voice-card[data-index="5"] .voice-card__icon-wrapper {
  background: #387cdd;
}

/* メインカードのアイコンラッパー */
.voice-card--main .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;
}

.voice-card--main .voice-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--sub .voice-card__icon-wrapper {
  border-radius: 50%;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.voice-card--sub .voice-card__icon {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  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: 8px;
}

.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;
}

.voice-card__job_color_1 {
  background-color: #1E88E5;
}
.voice-card__job_color_2 {
background-color: #7E57C2;
}
.voice-card__job_color_3 {
background-color: #26A69A;;
}
.voice-card__job_color_4 {
  background-color: #00ACC1;
}
.voice-card__job_color_8 {
  background-color: #D81B60;
}


/* 引用符 */
.voice-card__quote {
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
}

.voice-card__quote-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* メインカードのテキスト */
.voice-card--main .voice-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
  color: #444;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* サブカードのテキスト */
.voice-card--sub .voice-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  color: #444;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-card__text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  color: #444;
  margin: 0;
}

.voice__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1e4377;
  font-size: 1.5rem;
  border: 2px solid rgba(30, 67, 119, 0.2);
  box-shadow: 0 6px 20px rgba(30, 67, 119, 0.25);
  cursor: pointer;
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.voice__arrow img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.voice__arrow:hover {
  background: #fff;
  border-color: #1e4377;
}

.voice__arrow--prev {
  left: -48px;
  transform: translateY(-50%);
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.voice__arrow--next {
  right: -48px;
  transform: translateY(-50%);
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ナビボタンのホバー効果を強制適用 */
.voice__arrow--prev:hover {
  transform: translateY(-50%) scale(1.3) !important;
  transition: all 0.3s ease !important;
}

.voice__arrow--next:hover {
  transform: translateY(-50%) scale(1.3) !important;
  transition: all 0.3s ease !important;
}

/* ドット: 下から上昇（中央配置を保持） */
.voice__main-dots.voice__carousel-animate:not(.animate) {
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
}
.voice__main-dots.voice__carousel-animate.animate {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  transition-delay: 900ms;
}

/* サブカード: 右からスライド */
.voice__sub-cards.voice__carousel-animate:not(.animate) {
  transform: translateX(60px);
  opacity: 0;
}
.voice__sub-cards.voice__carousel-animate.animate {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 1100ms;
}

/* ブログ */
section.blog {
  background: #fff;
  padding: 128px 0 64px 0;
  text-align: left;
  padding-left: 5vw;
  padding-right: 5vw;
}

/* ブログセクションのヘッダー */
.blog__header {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 32px;
}

.blog__en {
  font-family: "Roboto", sans-serif;
  font-size: 128px;
  font-weight: 700;
  color: #1e4377;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0;
  flex-shrink: 0;
}

.blog__desc {
  color: #1e4377;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 8px;
  max-width: 800px;
}

.blog__title-bar {
  background: #1e4377;
  color: #fff;
  padding: 16px 0 16px 24px;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.blog__main {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

/* ブログカード共通 */
.blog__image-area {
  overflow: hidden;
}

.blog__image-area img {
  width: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.blog__text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* メイン記事 */
.blog__main-article {
  background: #fff;
  border-radius: 0 !important;
  padding: 0;
  flex: 2 1 0;
  min-width: 0;
  text-align: left;
  box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08);
  display: flex;
  flex-direction: column;
}

.blog__main-article .blog__text-area {
  padding: 32px;
}

.blog__main-article .blog__image-area {
  border-radius: 0 !important;
}

.blog__main-article .blog__image-area img {
  height: 320px;
  border-radius: 0 !important;
}

.blog__main-article h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e4377;
  margin-bottom: 12px;
  margin-top: 0;
}

.blog__main-article p {
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.blog__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 0;
}

/* サイド記事 */
.blog__side-article {
  background: #fff;
  border-radius: 0 !important;
  padding: 0;
  text-align: left;
  box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08);
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 24px;
}

.blog__side-article .blog__text-area {
  padding: 20px;
}

.blog__side-article .blog__image-area {
  border-radius: 0 !important;
}

.blog__side-article .blog__image-area img {
  height: 160px;
  border-radius: 0 !important;
}

.blog__side h4 {
  margin-top: 0;
}

.blog__item h5 {
  margin-top: 0;
}

/* リスト記事 */
.blog__item {
  background: #fff;
  border-radius: 0 !important;
  padding: 0;
  min-width: 160px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08);
  display: flex;
  flex-direction: column;
}

.blog__item .blog__image-area {
  border-radius: 0 !important;
}

.blog__item .blog__image-area img {
  height: 140px;
  border-radius: 0 !important;
}

.blog__item .blog__text-area {
  padding: 16px;
}

.blog__main-meta {
  font-size: 0.9rem;
  color: #1e4377;
  margin-bottom: 8px;
  padding: 0;
}

.blog__tag {
  font-size: 0.8rem;
  color: #1e4377;
  font-weight: 600;
  padding: 2px 8px;
  background: #f0f4ff;
  border-radius: 4px;
  margin-left: 8px;
}

.blog__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 32px;
}

.blog__item {
  background: #fff;
  border-radius: 16px;
  padding: 0 0 16px 0;
  min-width: 160px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08);
  display: flex;
  flex-direction: column;
}

.blog__item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  margin: 0;
  display: block;
}

.blog__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e4377;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  margin: 32px auto 0 auto;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  max-width: fit-content;
  width: auto;
}

.blog__more::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.blog__more:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.blog__more:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #fff;
}

/* お知らせ */
.news {
  background: #fff;
  padding: 32px 0 160px 0;
  text-align: left;
  padding-left: 5vw;
  padding-right: 5vw;
  position: relative;
}

.news__en {
  font-family: "Roboto", sans-serif;
  font-size: 128px;
  font-weight: 700;
  color: #387cdd;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0;
}

.news__title-bar {
  background: #387cdd;
  color: #fff;
  padding: 16px 0 16px 24px;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
}

.news__item {
  background: #f4f7ff;
  border-radius: 12px;
  padding: 24px 32px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: none;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news__item:hover {
  background: #fff;
  box-shadow: 0 12px 32px rgba(30, 67, 119, 0.15);
}

.news__item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.news__date {
  color: #1e4377;
  min-width: 96px;
  transition: color 0.3s ease;
}

.news__item:hover .news__date {
  color: #387cdd;
}

.news__tags {
  display: flex;
  gap: 8px;
}

.news__tag {
  background: #29507a;
  color: #fff;
  border-radius: 32px;
  padding: 4px 16px;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.news__item:hover .news__tag {
  background: #387cdd;
}

.news__tag--important {
  background: #e34a5c;
}

.news__item:hover .news__tag--important {
  background: #ff5a6d;
}

.news__title {
  font-size: 1.1rem;
  color: #1e4377;
  margin-bottom: 0;
  transition: color 0.3s ease;
  display: -webkit-box; /* 必須 */
  -webkit-box-orient: vertical; /* 必須 */
  -webkit-line-clamp: 1; /* 行数を制限 */
  overflow: hidden; /* はみ出た部分を非表示 */
  padding-right: 32px;
}

.news__item:hover .news__title {
  color: #387cdd;
}

.news__arrow {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news__item:hover .news__arrow {
  transform: translateY(-50%) translateX(10px);
}

.news__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e4377;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  max-width: fit-content;
  width: auto;
  margin: 64px auto 0 auto;
}

.news__more::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.news__more:hover {
  background: #16325c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.news__more:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #fff;
}

/* Recruit */
.recruit {
  background: #fff;
  padding: 0;
  margin: 0;
}

.recruit__banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.recruit__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 67, 119, 0.6);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.recruit__en {
  font-family: "Roboto", sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.recruit__ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.recruit__desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 2;
}

.recruit__entry-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #1e4377;
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 32px 16px 64px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  border: none;
}

.recruit__entry-btn::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #1e4377;
  transition: transform 0.3s ease;
  margin-left: 32px;
}

.recruit__entry-btn:hover {
  background: #f0f4fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

.recruit__entry-btn:hover::after {
  transform: translateX(8px);
  background: transparent;
  border-color: #1e4377;
}

.recruit__entry-arrow {
  display: none;
}

.recruit__info-links {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 64px;
  background: #000;
  padding: 64px 0 64px 0;
}

.recruit__info-links--white {
  background: #fff;
  padding: 64px 0 64px 0;
  position: relative;
}

.recruit__info-links--white::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 64px;
  bottom: 64px;
  width: 2px;
  background: transparent;
  border-left: 2px dotted #1e4377;
  transform: translateX(-50%);
}

.recruit__info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #29507a;
  width: 400px;
  transition: opacity 0.2s;
}

.recruit__info-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 24px;
}

.recruit__info-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.recruit__info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #387cdd;
  margin-left: 8px;
}

.recruit__info-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  color: #387cdd;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-left: 16px;
  border: 1.5px solid #387cdd;
  transition: transform 0.3s ease;
}

.recruit__info-card:hover .recruit__info-arrow {
  transform: translateX(8px);
}

/* 社内雰囲気イメージスライダー */
.office-slider {
  width: 100vw;
  overflow: hidden;
  padding: 32px 0 16px 0;
  background: transparent;
}

.office-slider__track {
  display: flex;
  gap: 16px;
  animation: office-slide-left 48s linear infinite;
  align-items: center;
}

@keyframes office-slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2840px);
  }
}

.office-slider__img {
  width: 464px;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  background: #eee;
}

/* レスポンシブ対応 */
@media (max-width: 1440px) {
  .office-slider__img {
    width: 32vw;
    height: 18vw;
    min-width: 220px;
    min-height: 120px;
    max-width: 464px;
    max-height: 260px;
  }
  .office-slider__track {
    animation-duration: 24s;
  }
  @keyframes office-slide-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-calc(6 * 32vw + 5 * 16px));
    }
  }
}

@media (max-width: 900px) {
  .recruit__en {
    font-size: 64px;
  }

  .recruit__ja {
    font-size: 1.3rem;
  }

  .recruit__desc {
    font-size: 1rem;
    padding: 0 32px;
  }

  .recruit__desc span {
    display: inline-block;
  }

  .recruit__info-links {
    gap: 32px;
    padding: 32px 16px;
  }

  .recruit__info-card {
    width: 300px;
  }

  .office-slider__img {
    width: 48vw;
    height: 28vw;
    min-width: 120px;
    min-height: 80px;
    max-width: 320px;
    max-height: 180px;
  }
  .office-slider__track {
    animation-duration: 18s;
  }
  @keyframes office-slide-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-calc(6 * 48vw + 5 * 16px));
    }
  }
}

/* サービスセクション レスポンシブ対応（1000px以下） */
@media (max-width: 1000px) {
  .services__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    width: 95vw;
    max-width: 1200px;
    margin: 0 auto 32px auto;
  }

  .services__row {
    display: contents; /* rowを無視してgridの直接の子として扱う */
  }

  .service-card {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 300px;
  }



  /* 税務顧問（1つ目）を横幅いっぱいに */
  .services__row:first-child .service-card:first-child {
    grid-column: 1 / -1; /* 全列にまたがる */
    height: 300px;
  }

  .service-card__title-group {
    margin-top: 1rem;
  }

  .service-card__overlay {
    padding: 16px 16px;
    gap: 0px;
  }
  .service-card__overlay h3 {
    font-size: 1.3rem;
  }

  span.link-memo {
    font-size: 0.7rem;
  }
}

/* ブログセクション レスポンシブ対応（1000px以下） */
@media (max-width: 1000px) {
  .blog__main {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  /* 1つ目のカードは横幅いっぱい */
  .blog__main-article {
    width: 100% !important;
    margin-bottom: 24px !important;
    background: #fff !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .blog__main-article .blog__text-area {
    padding: 32px !important;
  }

  .blog__main-article .blog__image-area {
    width: 100% !important;
    border-radius: 0 !important;
  }

  .blog__main-article .blog__image-area img {
    width: 100% !important;
    height: 320px !important;
    border-radius: 0 !important;
    display: block !important;
    object-fit: cover !important;
  }

  /* 2つ目以降のカードを2個ずつ並べる */
  .blog__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    margin-bottom: 24px;
  }

  .blog__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .blog__side-article,
  .blog__item {
    width: 100%;
  }
}

/* ニュースセクション レスポンシブ対応（1000px以下） */
@media (max-width: 1000px) {
  .news__item {
    width: 100%;
  }
}

/* 600px以下のスマートフォン対応 */
@media (max-width: 600px) {
  /* サービスセクション：すべて1つずつ */
  .services__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    width: 98vw;
  }

  .services__row {
    display: contents; /* rowを無視してgridの直接の子として扱う */
  }

  .service-card {
    height: 240px;
    grid-column: 1; /* 1列に強制 */
  }

  /* 税務顧問も1列に */
  .services__row:first-child .service-card:first-child {
    grid-column: 1;
    height: 240px;
  }

  /* ブログセクション スマートフォン対応 */
  .blog__main {
    flex-direction: column;
    gap: 0;
  }

  .blog__header {
    flex-wrap: wrap;
    margin-bottom: 0;
    gap: 16px;
  }

  .service-card__overlay p {
    height: 16px;
  }

  .externallinks__icon {
    width: 3%;
  }

  /* 1つ目のカードは縦長デザインで画面幅いっぱい */
  .blog__main-article {
    width: 100% !important;
    margin-bottom: 24px !important;
    background: #fff !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-shadow: 0 4px 16px rgba(30, 67, 119, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .blog__main-article .blog__text-area {
    padding: 24px !important;
  }

  .blog__main-article .blog__image-area {
    width: 100% !important;
    border-radius: 0 !important;
  }

  .blog__main-article .blog__image-area img {
    width: 100% !important;
    height: 240px !important;
    border-radius: 0 !important;
    display: block !important;
    object-fit: cover !important;
  }

  .blog__main-article h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #1e4377 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
  }

  .blog__main-article p {
    color: #666 !important;
    line-height: 1.6 !important;
    font-size: 0.9rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }

  /* 2つ目以降のカードを横長レイアウトに変更 */
  .blog__side {
    gap: 12px;
    width: 100%;
    margin-bottom: 0;
  }

  .blog__list {
    gap: 12px;
    width: 100%;
  }

  /* 2つ目、3つ目のカード（blog__side-article）：横長レイアウト、高め */
  .blog__side-article {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .blog__side-article .blog__image-area {
    flex-shrink: 0;
  }

  .blog__side-article .blog__image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog__side-article .blog__text-area {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .blog__side-article .blog__main-meta {
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .blog__side-article h4 {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 4つ目以降のカード（blog__item）：横長レイアウト、やや低め */
  .blog__item {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
  }

  .blog__item .blog__image-area {
    flex-shrink: 0;
  }

  .blog__item .blog__image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog__item .blog__text-area {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .blog__item .blog__main-meta {
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .blog__item h5 {
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 信念セクションのレスポンシブ */
  .belief h2 {
    font-size: 48px;
  }

  .belief__lead {
    font-size: 20px;
  }

  .belief__em {
    font-size: 36px;
  }

  .belief .btn {
    padding: 14px 40px;
    font-size: 1rem;
    min-width: 180px;
  }

  .belief .btn::after {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin-left: 12px;
  }

  /*サービス*/
  .service-card__overlay h3 {
    height: auto;
  }

  /* ニュースセクション レスポンシブ対応（1000px以下） */
  @media (max-width: 600px) {
    .news__date {
      font-size: 0.9rem;
    }
    .news__title {
      font-size: 0.9rem;
    }
    .news__list {
      gap: 24px;
    }
  }

  /* スクロール促進要素のタブレット対応 */
  .first-view__scroll-prompt {
    bottom: 24px;
  }

  .first-view__scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  .first-view__arrow-line {
    height: 18px;
    width: 1.5px;
  }

  .first-view__arrow-point {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }
}

@media (max-width: 600px) {
  /* 信念セクションのスマートフォン対応 */
  .belief h2 {
    font-size: 36px;
  }

  .belief__lead {
    font-size: 18px;
    line-height: 1.8;
  }

  .belief__em {
    font-size: 28px;
  }

  .belief__desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .belief .btn {
    padding: 12px 35px;
    font-size: 0.95rem;
    min-width: 160px;
  }

  .belief .btn::after {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
    margin-left: 10px;
  }

  .belief__background-logo {
    width: 95vw;
    max-width: 450px;
    min-width: 320px;
    opacity: 0.18;
  }

  .blog__tag {
    margin: auto;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  /* 極小画面での背景ロゴ調整 */
  .belief__background-logo {
    width: 100vw;
    max-width: 380px;
    min-width: 280px;
    opacity: 0.15;
  }

  .recruit__banner {
    height: 340px;
  }

  .recruit__en {
    font-size: 48px;
  }

  .recruit__ja {
    font-size: 1.1rem;
  }

  .recruit__desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .recruit__entry-btn {
    font-size: 1rem;
  }

  .recruit__info-links {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .recruit__info-links--white::after {
    display: none;
  }

  .recruit__info-card {
    width: 100%;
    max-width: 400px;
  }

  .recruit__info-card img {
    height: 180px;
  }

  .news__item {
    width: 100%;
    padding: 16px 20px;
  }

  .news__arrow {
    right: 20px;
  }

  /* ブログセクションの段落とし（スマホ） */
  .blog__list {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  .blog__side {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* サービスセクションの段落とし（スマホ） */
  .services__en {
    font-size: 64px;
  }

  .services__title {
    font-size: 24px;
  }

  .services__list {
    width: 98vw;
    max-width: 98vw;
  }

  .service-card {
    height: 240px;
    margin-bottom: 0px;
  }

  .service-card__overlay {
    padding: 24px 16px 24px 16px;
  }

  .service-card__overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .service-card__overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* サービスセクション アニメーション用 */
.services__animate-item:not(.animate) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services__animate-item.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* サービスタイトルの遅延設定 */
.services__animate-item:nth-child(1).animate {
  transition-delay: 0ms;
}
.services__animate-item:nth-child(2).animate {
  transition-delay: 100ms;
}
.services__animate-item:nth-child(3).animate {
  transition-delay: 200ms;
}

/* サービス一覧ボタンの遅延設定 */
.services__more.services__animate-item.animate {
  transition-delay: 300ms;
}

/* お客様の声セクション アニメーション用 */
.voice__animate-item:not(.animate) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice__animate-item.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 左側要素の遅延設定 */
.voice__animate-item:nth-child(1).animate {
  transition-delay: 0ms;
} /* Voice */
.voice__animate-item:nth-child(2).animate {
  transition-delay: 100ms;
} /* お客様の声 */
.voice__animate-item:nth-child(3).animate {
  transition-delay: 200ms;
} /* 説明文 */
.voice__animate-item:nth-child(4).animate {
  transition-delay: 300ms;
} /* ボタン */

/* カルーセル要素のアニメーション */
.voice__carousel-animate:not(.animate) {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.voice__carousel-animate.animate {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* メインカード: 中央から拡大 */
.voice__main-card.voice__carousel-animate:not(.animate) {
  transform: scale(0.8);
  opacity: 0;
}
.voice__main-card.voice__carousel-animate.animate {
  transform: scale(1);
  opacity: 1;
  transition-delay: 500ms;
}

/* ナビボタン: 左右からスライド */
.voice__arrow--prev.voice__carousel-animate:not(.animate) {
  transform: translateY(-50%) translateX(-30px);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 700ms;
}
.voice__arrow--prev.voice__carousel-animate.animate {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  transition: all 0.3s ease;
}

.voice__arrow--prev.voice__carousel-animate.animate:hover {
  transform: translateY(-50%) scale(1.3) !important;
}

.voice__arrow--next.voice__carousel-animate:not(.animate) {
  transform: translateY(-50%) translateX(30px);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 700ms;
}
.voice__arrow--next.voice__carousel-animate.animate {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  transition: all 0.3s ease;
}

.voice__arrow--next.voice__carousel-animate.animate:hover {
  transform: translateY(-50%) scale(1.3) !important;
}

/* ドット: 下から上昇（中央配置を保持） */
.voice__main-dots.voice__carousel-animate:not(.animate) {
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
}
.voice__main-dots.voice__carousel-animate.animate {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  transition-delay: 900ms;
}

/* サブカード: 右からスライド */
.voice__sub-cards.voice__carousel-animate:not(.animate) {
  transform: translateX(60px);
  opacity: 0;
}
.voice__sub-cards.voice__carousel-animate.animate {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 1100ms;
}

/* ブログカード共通ホバー効果 */
.blog__main-article,
.blog__side-article,
.blog__item {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  overflow: unset;
}

.blog__main-article:hover,
.blog__side-article:hover,
.blog__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 67, 119, 0.2);
}

/* 画像のホバー効果 */
.blog__main-article .blog__image-area img,
.blog__side-article .blog__image-area img,
.blog__item .blog__image-area img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog__main-article:hover .blog__image-area img,
.blog__side-article:hover .blog__image-area img,
.blog__item:hover .blog__image-area img {
  transform: scale(1.05);
}

/* テキストエリアのホバー効果 */
.blog__main-article .blog__text-area,
.blog__side-article .blog__text-area,
.blog__item .blog__text-area {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog__main-article:hover .blog__text-area,
.blog__side-article:hover .blog__text-area,
.blog__item:hover .blog__text-area {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* タイトルのホバー効果 */
.blog__main-article h3,
.blog__side-article h4,
.blog__item h5 {
  transition: color 0.3s ease;
}

.blog__main-article:hover h3,
.blog__side-article:hover h4,
.blog__item:hover h5 {
  color: #387cdd;
}

/* メタ情報のホバー効果 */
.blog__main-meta {
  transition: opacity 0.3s ease;
}

.blog__main-article:hover .blog__main-meta,
.blog__side-article:hover .blog__main-meta,
.blog__item:hover .blog__main-meta {
  opacity: 0.8;
}

/* ブログセクション アニメーション用 */
.blog__animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog__animate-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ブログタイトル要素の遅延設定 */
.blog__animate-item:nth-child(1) {
  transition-delay: 0ms;
} /* Blog */
.blog__animate-item:nth-child(2) {
  transition-delay: 100ms;
} /* 説明文 */

/* ブログタイトルバーの遅延設定 */
.blog__title-bar.blog__animate-item {
  transition-delay: 200ms;
}

/* ブログ一覧ボタンの遅延設定 */
.blog__more.blog__animate-item {
  transition-delay: 300ms;
}

/* ブログカードのアニメーション */
.blog__card-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog__card-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ニュースセクション アニメーション */
.news__animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.news__animate-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.news__animate-item:nth-child(1) {
  transition-delay: 0.1s;
}

.news__animate-item:nth-child(2) {
  transition-delay: 0.2s;
}

.news__animate-item:nth-child(3) {
  transition-delay: 0.3s;
}

.news__animate-item:nth-child(4) {
  transition-delay: 0.4s;
}

.news__animate-item:nth-child(5) {
  transition-delay: 0.5s;
}

/* ニュースリスト内のアイテムに対する遅延設定 */
.news__list .news__item:nth-child(1) {
  transition-delay: 0.3s;
}

.news__list .news__item:nth-child(2) {
  transition-delay: 0.4s;
}

.news__list .news__item:nth-child(3) {
  transition-delay: 0.5s;
}

/* ニュース一覧ボタンの遅延 */
.news__more {
  transition-delay: 0.6s;
}

.news__item:hover .news__arrow {
  transform: translateY(-50%) translateX(10px);
}

/* リクルートセクション アニメーション */
.recruit__animate-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.recruit__animate-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.recruit__text-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.recruit__text-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.recruit__card-animate {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s ease-out;
}

.recruit__card-animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* テキスト要素の段階的遅延 */
.recruit__text-animate:nth-child(1) {
  transition-delay: 0.2s;
}

.recruit__text-animate:nth-child(2) {
  transition-delay: 0.3s;
}

.recruit__text-animate:nth-child(3) {
  transition-delay: 0.4s;
}

.recruit__text-animate:nth-child(4) {
  transition-delay: 0.5s;
}

/* カード要素の遅延 */
.recruit__card-animate:nth-child(1) {
  transition-delay: 0.3s;
}

.recruit__card-animate:nth-child(2) {
  transition-delay: 0.5s;
}

/* 大画面での最適化 */
@media (min-width: 1600px) {
  .voice__carousel-area {
    margin-left: 8px;
  }
}

@media (min-width: 1920px) {
  .voice__carousel-container {
    gap: 28px;
  }

  .voice-card--sub {
    width: 240px;
  }
}

/* レスポンシブ用リンクボタンを通常は非表示 */
.voice__more--responsive {
  display: none;
}

/* お客様の声セクション レスポンシブ対応（1000px以下） */
@media (max-width: 1000px) {
  .voice {
    min-height: auto;
    height: auto;
    background: linear-gradient(to bottom, transparent 50%, #1e4377 50%);
    padding: 80px 0;
  }

  .voice__background {
    height: 60%;
  }

  .voice__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    height: auto;
    max-width: 100%;
    gap: 40px;
    padding: 0 16px;
    position: relative;
  }

  .voice__left {
    flex: none;
    width: 100%;
    max-width: 600px;
    padding: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 20px;
    z-index: 4;
  }

  .voice__en {
    position: static;
    font-size: 80px;
    left: auto;
    bottom: auto;
    text-align: center;
    margin-bottom: 0;
  }

  .voice__ja {
    position: static;
    left: auto;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
  }

  .voice__desc {
    position: static;
    left: auto;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
  }

  /* 元のリンクボタンを非表示 */
  .voice__more--original {
    display: none;
  }

  /* レスポンシブ用リンクボタンを表示 */
  .voice__more--responsive {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1e4377;
    font-weight: 700;
    border-radius: 32px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
    transition: background 0.2s;
    cursor: pointer;
    margin-top: 0;
    z-index: 10;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    left: 0;
  }

  .voice__more--responsive:hover {
    background: #f8f9fa;
  }

  .voice__carousel-area {
    flex: none;
    width: 100%;
    margin-left: 0;
    height: auto;
    margin-top: 0;
    z-index: 5;
    margin-bottom: 60px;
  }

  .voice__carousel-container {
    height: 550px;
    padding-left: 32px;
    justify-content: center;
    gap: 40px;
    overflow: visible;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
  }

  /* メインカードを中央に大きく表示 */
  .voice__main-card {
    z-index: 8;
    position: relative;
    flex-shrink: 0;
  }

  .voice-card--main {
    width: 420px;
    height: 450px;
    flex-shrink: 0;
    box-shadow: 0 12px 32px rgba(30, 67, 119, 0.15);
    transform: scale(1);
  }

  /* サブカードを左右に表示するための調整 */
  .voice__sub-cards {
    display: flex;
    gap: 40px;
    z-index: 3;
    overflow: visible;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    right: 0;
    /*top: 50%;*/
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
    align-items: center;
    opacity: 0.7 !important;
  }

  .voice-card--sub {
    width: 310px;
    height: 360px;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 1;
    transform: scale(0.9);
    box-shadow: 0 8px 24px rgba(30, 67, 119, 0.12);
    transition: all 0.3s ease;
    pointer-events: auto;
  }

  .voice-card--sub:hover {
    transform: translateY(-4px) scale(0.9);
    box-shadow: 0 12px 32px rgba(30, 67, 119, 0.18);
  }

  /* 最初のサブカードを左側に配置 */
  .voice-card--sub:first-child {
    margin-left: -8vw;
  }

  /* 最後のサブカードを右側に配置 */
  .voice-card--sub:last-child {
    margin-right: -8vw;
  }

  /* 中間のサブカードは非表示 */
  .voice-card--sub:not(:first-child):not(:last-child) {
    display: none;
  }

  .voice__main-card .voice__main-dots {
    bottom: -50px;
  }

  .voice__dots {
    display: none; /* メイン用のドットのみ表示 */
  }

  .voice__arrow--prev.voice__carousel-animate.animate:hover {
    transform: translateY(-50%) !important;
}
  .voice__arrow--next.voice__carousel-animate.animate:hover {
  transform: translateY(-50%) !important;
}
.voice__arrow:hover {
  border-color: rgba(30, 67, 119, 0.2);
}

}

/* スマートフォン対応（600px以下） */
@media (max-width: 600px) {
  /*信念*/
  .belief {
    padding: 64px 0 64px 0;
  }
  /*サービスセクション*/
  .services {
    padding: 64px 0 64px 0;
  }

  .services__title {
    font-size: 1.6rem;
  }
  .services__en {
    font-size: 4rem;
  }

  .voice {
    padding: 60px 0;
  }

  .voice__inner {
    gap: 30px;
    padding: 0 12px;
  }

  .voice__left {
    gap: 16px;
  }

  .voice__en {
    font-size: 4rem;
  }

  .voice__ja {
    font-size: 1.6rem;
  }

  .voice__desc {
    font-size: 1rem;
    padding: 0 16px;
    margin-bottom: 0;
  }

  .voice__carousel-area {
    margin-top: 0;
  }

  .voice__carousel-container {
    height: 450px;
    padding: 0;
    gap: 20px;
    justify-content: center;
  }

  .voice__main-card {
    z-index: 8;
  }

  .voice-card--main {
    width: 350px;
    height: 410px;
  }

  .voice__sub-cards {
    align-items: center;
    z-index: 3;
  }

  .voice-card--sub {
    height: 320px;
    transform: scale(0.85);
    opacity: 1;
  }

  .voice-card--sub:hover {
    transform: translateY(-4px) scale(0.85);
  }

  /* 最初のサブカードを左側に配置 */
  .voice-card--sub:first-child {
    margin-left: -100px;
  }

  /* 最後のサブカードを右側に配置 */
  .voice-card--sub:last-child {
    margin-right: -100px;
  }

  .voice-card {
    padding: 28px 24px;
  }
  .voice-card--main .voice-card__text {
    -webkit-line-clamp: 5;
  }
  .voice-card--sub .voice-card__text {
    -webkit-line-clamp: 4;
  }

  .voice__more--responsive {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1e4377;
    font-weight: 700;
    border-radius: 32px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(30, 67, 119, 0.08);
    transition: background 0.2s;
    cursor: pointer;
    z-index: 10;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
  }

  .voice__more--responsive:hover {
    background: #f8f9fa;
  }

  /* モーダルのレスポンシブ対応 */
  .voice-modal__content {
    margin: 10px;
    max-height: 90vh;
  }

  .voice-modal__header {
    padding: 12px 16px 0 16px;
  }

  .voice-modal__body {
    padding: 0 20px 24px 20px;
  }

  .voice-modal__icon {
    width: 60px;
    height: 60px;
  }

  .voice-modal__text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .voice-modal__close-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  /*ブログ*/
  section.blog {
    padding: 64px 16px 64px 16px;
  }

  .blog__en {
    font-size: 4rem;
  }
  .blog__title-bar {
    font-size: 1.6rem;
  }

  /*ニュース*/
  .news {
    padding: 32px 16px 64px 16px;
  }
  .news__en {
    font-size: 4rem;
  }
  .news__title-bar {
    font-size: 1.6rem;
  }
}

/* スマートフォン対応（480px以下） */
@media (max-width: 480px) {
  .voice__arrow--prev {
    left: 0;
    top: unset;
    bottom: -25%;
  }
  .voice__arrow--next {
    right: 0;
    top: unset;
    bottom: -25%;
  }
  .voice__more--responsive {
    margin-top: 32px;
  }
}

@media (min-width: 1600px) {
  .services-inner {
    max-width: 1200px;
    margin: auto;
  }
  .services__title-block {
    margin: 0 0 32px 0;
  }
  .services__list {
    max-width: 1200px;
  }

  .voice__inner {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
  }
  .voice__left {
    flex: 0 0 400px;
    padding: 0;
  }
  .voice__en {
    left: 0;
  }
  .voice__ja,
  .voice__desc {
    left: 0;
  }
  .voice__more {
    left: 0;
  }

  .blog-inner {
    max-width: 1200px;
    margin: auto;
  }
  .news-inner {
    max-width: 1200px;
    margin: auto;
  }
}

/* サブカードのテキスト */
.voice-card--sub .voice-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  color: #444;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-card__text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  color: #444;
  margin: 0;
}

/* 続きを見るリンク */
.voice-card__read-more {
  margin-top: 12px;
  text-align: center;
}

.voice-card__read-more-link {
  color: #387cdd;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.voice-card__read-more-link:hover {
  color: #1e4377;
}

/* モーダル */
.voice-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.voice-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.voice-modal__content {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.voice-modal__header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 16px 20px 0 20px;
  text-align: right;
  border-radius: 12px 12px 0 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.voice-modal__close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.voice-modal__close:hover {
  background: #f0f0f0;
  color: #333;
}

.voice-modal__body {
  padding: 0 32px 32px 32px;
}

.voice-modal__customer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.voice-modal__icon-wrapper {
  margin-bottom: 12px;
}

.voice-modal__icon-wrapper {
  margin-bottom: 12px;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #387cdd;
}

.voice-modal__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: -20px;
}

.voice-modal__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.voice-modal__age-gender {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.voice-modal__job {
  background: #387cdd;
  color: #fff;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.voice-modal__quote {
  margin-bottom: 16px;
  text-align: left;
}

.voice-modal__quote-icon {
  width: 28px;
  height: 28px;
  opacity: 0.6;
}

.voice-modal__text {
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  color: #444;
  margin: 0 0 24px 0;
  white-space: pre-line;
}

.voice-modal__footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.voice-modal__close-btn {
  background: #387cdd;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(56, 124, 221, 0.2);
}

.voice-modal__close-btn:hover {
  background: #1e4377;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 124, 221, 0.3);
}

@media (max-width: 600px) {
  .voice-modal__body {
    padding: 0 16px 32px 16px;
  }
}

/* ブログ: スマホ用コンパクトレイアウト（画像30%・テキスト70%） */
@media (max-width: 600px) {
  /* レイアウト全体の間隔を小さく */
  .blog__main { flex-direction: column !important; gap: 12px !important; }
  .blog__list { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* サイド記事・リスト記事のみ 横並び・固定高さでコンパクトに */
  .blog__side-article,
  .blog__item { 
    display: block !important; /* カード自体はブロック、内部リンクで横並びにする */
    height: 120px !important;
    min-height: 120px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  /* アンカーをフレックス行にして左右に分割 */
  .blog__side-article .blog__card-link,
  .blog__item .blog__card-link { 
    display: flex !important; 
    flex-direction: row !important; 
    align-items: stretch !important; 
    width: 100% !important; 
    height: 100% !important;
  }

  /* 画像領域は左30%固定 */
  .blog__side-article .blog__image-area,
  .blog__item .blog__image-area { 
    flex: 0 0 30% !important; 
    max-width: 30% !important; 
    height: 100% !important; 
  }

  .blog__side-article .blog__image-area img,
  .blog__item .blog__image-area img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    display: block !important;
  }

  /* テキスト領域は右70% */
  .blog__side-article .blog__text-area,
  .blog__item .blog__text-area { 
    flex: 1 1 70% !important; 
    padding: 12px 16px !important; 
    display: flex !important; 
    flex-direction: column !important; 
    justify-content: center !important; 
  }

  /* タイトル余白微調整 */
  .blog__side-article h4,
  .blog__item h5 { 
    margin: 0 !important; 
  }
}
