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

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

@media (max-width: 600px) {
  
  .header__inner {
    padding-right: 16px;
  }
}

/* パンくずリスト */
.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: 0;
  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;
}

/* クレドセクション */
.credo-section {
  position: relative;
  min-height: 900px;
  padding: 80px 0 40px 0;
  overflow: hidden;
  z-index: 1;
}

.credo-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../../img/aboutus/credo_background.jpeg') center/cover no-repeat;
  z-index: 1;
}

.credo-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(30,67,119,0.9) 0%, rgba(30,67,119,0.9) 70%, rgba(30,67,119,1) 100%);
  z-index: 2;
}

.credo-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credo-title {
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.2;
  width: 70vw;
  color: #fff;
  max-width: 1200px;
}
@media screen and (max-width: 800px) {
  .credo-title {
    width: 80vw;
  }
  }
  @media screen and (max-width: 500px) {
    .credo-title {
      width: 90vw;
    }
    }

.credo-title-line1 {
  font-size: calc(2vw + 0.5rem);
  text-align: left;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.credo-title-line2 {
  font-size: calc(4vw + 0.5rem);
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.credo-title-line3 {
  font-size: calc(2vw + 0.5rem);
  text-align: left;
  padding-left: 75%;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: right;
}

@media (min-width: 1600px) {
  .credo-title-line2 {
    font-size: 5rem;
  }
}

/*---br管理--*/
/*---スマホ時改行--*/
@media screen and (max-width: 600px) {
  .pc-br{display:none;}
  .tb-br{display:none;}
  .sp-br{display:block;}
  }
  /*---タブレット時改行--*/
  @media screen and (min-width:601px) and (max-width: 1099px) {
  .pc-br{display:none;}
  .sp-br{display:none;}
  .tb-br{display:block;}
  }
  /*---PC時改行--*/
  @media screen and (min-width:1100px){
  .tb-br{display:none;}
  .sp-br{display:none;}
  .pc-br{display:block;}
  }


/* アニメーション実行用クラス */
.credo-title-line1.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.credo-title-line2.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.credo-title-line3.animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.credo-title-symbols {
  color: #fff !important;
}

.credo-em {
  color: #FFC83D;
  font-size: inherit !important;
  font-weight: bold;
}

.credo-box {
  background: #E4E8F2;
  border: 4px solid #ffffff;
  color: #1E4377;
  border-radius: 4px;
  padding: 32px 64px;
  margin: 40px 24px;
  max-width: 800px;
  box-shadow: 0 4px 24px rgba(30,67,119,0.08);
  position: relative;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media screen and (max-width: 800px) {
  .credo-box {
    padding: 32px 32px;
    margin: 40px 24px;
  }
  }
  @media screen and (max-width: 600px) {
    .credo-box {
      padding: 32px 16px;
      margin: 40px 0px;
    }
    }


/* アニメーション実行用クラス */
.credo-box.animate {
  opacity: 1;
  transform: scale(1);
}

.credo-card__title.animate {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

.credo-bottom-text.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 役員紹介アニメーション実行用クラス */
.directors-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.director-hero__image.animate {
  opacity: 1;
  transform: scale(1);
}

.director-hero__quote.animate {
  opacity: 1;
}
.director-hero__quote-sp.animate {
  opacity: 1;
}

.director-hero__nameblock.animate {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.director-hero__nameblock--left.animate {
  opacity: 1;
  transform: translateX(calc(50% - 120px)) translateY(0);
}

.director-message-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.credo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../img/aboutus/cloud-nine_w.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 80%;
  opacity: 0.3;
  pointer-events: none;
  border-radius: 4px;
}

.credo-box__desc {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.credo-box__q {
  font-weight: bold;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.credo-cards {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  margin-bottom: 160px;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
}

.credo-card {
  background: rgba(255,255,255,0.97) !important;
  color: #1E4377 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(30,67,119,0.10) !important;
  padding: 64px 24px 64px 24px !important;
  width: 320px !important;
  min-height: 420px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  margin-top: 32px !important;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.credo-card:nth-child(1) {
  margin-top: 0px !important;
  transform: translateY(0px) !important;
}

.credo-card:nth-child(2) {
  margin-top: 0px !important;
  transform: translateY(80px) !important;
}

.credo-card:nth-child(3) {
  margin-top: 0px !important;
  transform: translateY(160px) !important;
}

.credo-card__title {
  position: absolute;
  top: -70px !important;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem !important;
  font-weight: bold !important;
  text-align: center !important;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #ffffff !important;
  /*padding: 8px 12px;*/
  z-index: 10;
  width: calc(100% - 24px);
  max-width: 250px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  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);
}

.credo-card__title .credo-em {
  color: #FFC83D;
  font-size: 1.15rem;
  font-weight: bold;
}



.credo-card__desc {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1.5rem 0;
  text-align: center;
  line-height: 1.4;
}

.credo-card__commit-title {
  background: #1E4377;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 48px;
  margin: 24px 0 16px 0;
  text-align: center;
  border-radius: 4px;
}

.credo-card__commit {
  font-size: 0.98rem;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.6;
}

.credo-card__img {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  object-fit: contain;
  z-index: 5;
}

/* 個別のアイコン位置設定 */
.credo-card__img--1 {
  /* 1つ目のカード用 - 位置を個別調整可能 */
  min-width: 190px;
  bottom: -72px;
}

.credo-card__img--2 {
  /* 2つ目のカード用 - 位置を個別調整可能 */
  bottom: -95px;
}

.credo-card__img--3 {
  /* 3つ目のカード用 - 位置を個別調整可能 */
  max-width: 120px;
}

/* 3つ目のカードの内容を上下中央に配置 */
.credo-card:nth-child(3) {
  justify-content: center !important;
}

.credo-card:nth-child(3) .credo-card__desc {
  margin: auto 0 !important;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 2.2rem;
}

.credo-bottom-text {
  margin-top: 32px;
  font-size: 1.05rem;
  text-align: center;
  color: #ffffff;
  padding: 20px 24px;
  max-width: 900px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 800px) {
  .credo-bottom-text {
    margin-top: 0px;
  }
}

/* 太字オレンジ色のテキスト */
.highlight-text {
  color: #FFC83D !important;
  font-weight: bold !important;
  font-size: 1.1em;
}

/* マーカー効果のテキスト */
.marker-text {
  background: linear-gradient(transparent 60%, rgba(255, 196, 61, 0.3) 60%, rgba(255, 196, 61, 0.3) 90%, transparent 90%);
  color: #ffffff !important;
  font-weight: 500;
  padding: 2px 1px;
  position: relative;
  display: inline;
  line-height: 1.8;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 役員紹介セクション */
.directors-section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 64px 0 0 0;
  scroll-margin-top: 80px;
}

.directors-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E4377;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.08em;
  position: relative;
  text-shadow: 0 2px 4px rgba(30,67,119,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.directors-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #387CDD, #1E4377);
  border-radius: 2px;
}

/* 新しいヒーローレイアウト */
.director-hero {
  position: relative;
  height: 500px;
  /*margin-left: calc(-50vw + 50%);*/
  margin-bottom: 60px;
  overflow: hidden;
}

.director-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.director-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.director-hero__quote {
  position: absolute;
  left: 7%;
  top: 10%;
  /*transform: translateX(-50%);*/
  z-index: 10;
  width: 75%;
  font-size: 1.6rem;
  color: #387CDD;
  font-style: italic;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 58%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.director-hero__quote span{
  display: inline-block;
}

.director-hero__nameblock {
  position: absolute;
  left: 35%;
  bottom: 15%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.director-hero__role {
  background: #1E4377;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 4px;
  align-self: flex-start;
  white-space: nowrap;
}

.director-hero__name-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.director-hero__nameen {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1E4377;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  -webkit-text-stroke-width: 2px; 		
  -webkit-text-stroke-color: #fff;
  paint-order: stroke;
}

.director-hero__nameja-line {
  position: absolute;
  bottom: -10px;
  right: -100px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.director-hero__underline {
  width: 430px;
  height: 2px;
  background: #387CDD;
}
@media (max-width: 600px) {
  .director-hero__underline {
    width: 210px;
  }
}

.director-hero__nameja {
  font-size: 1.1rem;
  color: #1E4377;
  white-space: nowrap;
}

/*スマホ用キャッチ、ネームボックス非表示・表示 PC時に非表示*/
@media (min-width: 800px) {
  .director-hero__quote-sp {
    display: none;
  }
  .director-hero__nameblock-sp{
    display: none;
  }
  .director-hero__quote--left-sp {
    display: none;
  }
}


/*PC用キャッチ、ネームボックス非表示・表示*/
@media (max-width: 800px) {
  .director-hero__quote {
    display: none;
  }
  /*.director-hero__nameblock{
    display: none;
  }*/
  .director-hero__quote-sp {
    font-size: 1.1rem;
    color: #387CDD;
    font-style: italic;
    /* line-height: 1.6; */
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.director-hero__quote-sp span{
  display: inline-block;
}
.director-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.director-hero__nameblock{
  left: 28%;
  bottom: 15%;
  max-width: 50%;
  text-align: left;
}
.director-hero__name-line{
  align-items:unset;
}

.director-hero__underline {
  width: 210px;
}

.director-hero__nameja-line{
  position: absolute;
  bottom: -30px;
  right: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-right: 25%;
}


}


/* 左側配置バリエーション */
.director-hero--left .director-hero__image--left {
  left: 0;
  right: auto;
  width: 60%;
}

.director-hero__quote--left {
  position: absolute;
  left: 36%;
  top: 10%;
  /*transform: translateX(50%);*/
  z-index: 10;
  max-width: 700px;
  font-size: 1.75rem;
  color: #387CDD;
  font-style: italic;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.director-hero__nameblock--left {
  position: absolute;
  left: 30%;
  bottom: 15%;
  /*transform: translateX(calc(50% - 120px));*/
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(calc(50% - 120px)) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.director-hero__nameblock--left .director-hero__nameja-line {
  position: absolute;
  bottom: -10px;
  left: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 代表メッセージセクション */
.director-message-section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.director-message-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E4377;
  margin-bottom: 24px;
  text-align: left;
  border-bottom: 2px solid #387CDD;
  padding-bottom: 8px;
}

.director-message-section__content {
  display: flex;
  gap: 80px;
  align-items: stretch;
}

@media (max-width: 800px) {
  .director-message-section__content {
    display: contents;
  }

  .director-hero--left .director-hero__image--left {
    right: auto;
    width: 100%;
}
.director-hero__nameblock--left{
  bottom: 15%;
  text-align: left;
  max-width: 50%;
  left: 60%;
}
.director-hero__name-line--left{
  align-items:unset;
}
.director-hero__nameja-line--left{
  position: absolute;
  bottom: -30px;
  left: unset;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.director-hero__nameblock--left .director-hero__nameja-line {
  bottom: -30px;
}
}
@media (max-width: 600px) {
  .director-hero__nameblock--left{
    width: 100%;
    left: 46%;
  }
}


.director-message-section__col {
  flex: 1;
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.director-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.director-quote {
  font-family: 'Noto Sans JP', '游明朝', serif;
  font-size: 1.15rem;
  color: #1E4377;
  margin-bottom: 24px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.director-nameblock {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 16px;
}

.director-role {
  background: #1E4377;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 12px;
  margin-right: 8px;
}

.director-nameen {
  font-family: 'Roboto', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #1E4377;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.director-nameja {
  font-size: 1.1rem;
  color: #1E4377;
  margin-left: 12px;
}

.director-message-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1E4377;
  margin-bottom: 12px;
  margin-top: 16px;
}

.director-message {
  display: flex;
  gap: 32px;
  width: 100%;
}

.director-message-col {
  flex: 1 1 0;
  font-size: 1.02rem;
  color: #222;
  line-height: 1.8;
  text-align: left;
}

/* 役員対談セクション */
.interview-section {
  background: #fff;
  padding-bottom: 80px;
}

/* 背景画像とタイトル */
.interview-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: -120px;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 背景画像の種類別 */
.interview-hero.bg-default {
  background-image: url('../../img/aboutus/interview.jpeg');
  background-size: cover;
  background-position: center;
  background-position: 50% 35%;
}

.interview-hero.bg-tab1 {
  background-image: url('../../img/aboutus/interview2.jpeg');
  background-size: cover;
  background-position: center;
  background-position: 50% 65%;
}

.interview-hero.bg-tab2 {
  background-image: url('../../img/aboutus/interview3.jpeg');
  background-size: cover;
  background-position: center;
  background-position: top 0% right 0%;
    background-repeat: no-repeat;
    background-position: 50% 30%;
}

.interview-hero.bg-tab3 {
  background-image: url('../../img/aboutus/interview4.jpeg');
  background-size: cover;
  background-position: center;
  background-position: 50% 70%;
}

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



.interview-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-content: center;
}

.interview-hero-text {
  text-align: left;
  color: white;
  text-align: center;
}

.interview-names {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
  margin-top: 0;
}

.interview-subtitle {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
  margin-top: 0;
}

/* タブナビゲーション */
.interview-tabs {
  display: flex;
  justify-content: center;
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  top: 0px;
  gap: 24px;
}


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

.interview-tab {
  background: #FFFFFF;
  border: none;
  padding: 32px 8px;
  font-size: 1.15rem;
  font-weight: 500;
  color: #1E4377;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  border-radius: 16px;
  border: 1px solid #1E4377;
  box-shadow: 8px 8px 0 0 #1E4377;
}


.interview-tab span{
  display: inline-block;
}



.interview-tab:hover {
  background: #A0B0C4;
  color: #1E4377;
}

.interview-tab.active {
  background: #1E4377;
  color: white;
  box-shadow: none;
}

/* タブコンテンツ */
.interview-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  border: 1px solid #1E4377;
  margin-top: 64px;
  /* デフォルトで非表示 */
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* タブ選択時にコンテンツを表示 */
.interview-content.show {
  display: block;
}

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

.interview-tab-content {
  padding: 40px 30px;
  /* デフォルトで非表示 */
  display: none;
}

/* コンテンツタイトル */
.interview-content-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E4377;
  text-align: center;
  margin: 0 0 32px 0;
  padding: 0 0 16px 0;
  border-bottom: 3px solid #387CDD;
  position: relative;
}

.interview-content-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #1E4377;
}

@media (max-width: 1000px) {
  .interview-tabs {
    margin:0 16px;
    top: -32px;
  }
  .interview-content {
    margin:0 16px;
    margin-top: 64px;
  }

}

/* アクティブなタブコンテンツのみ表示 */
.interview-tab-content.active {
  display: block;
}

/* ページング用の要素を非表示 */
.interview-page-tab2[data-page]:not([data-page="1"]),
.interview-page-tab3[data-page]:not([data-page="1"]) {
  display: block !important;
}

/* ページング機能を完全に非表示 */
.interview-pagination {
  display: none;
}

.interview-pagination-center {
  display: none;
}

.interview-page-info {
  display: none;
}

.interview-page-info-tab2,
.interview-page-info-tab3 {
  display: none;
}

.interview-prev-tab2,
.interview-next-tab2,
.interview-prev-tab3,
.interview-next-tab3 {
  display: none;
}

/* 次のタイトルへボタンを非表示 */
.interview-next-topic {
  display: none;
}

.interview-next-topic-btn {
  display: none;
}

/* 閉じるボタンのスタイル */
.interview-close-section {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  margin-bottom: 0;
}

.interview-close-btn {
  background: #fff;
  border: 2px solid #387CDD;
  color: #387CDD;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.interview-close-btn:hover {
  background: #387CDD;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 124, 221, 0.3);
}

.interview-dialogue {
  line-height: 1.8;
}

.interview-question {
  font-size: 1rem;
  font-weight: normal;
  color: #1E4377;
  margin: 32px 0 16px 0;
  padding: 0;
}

.interview-answer {
  display: flex;
  margin: 24px 0;
  padding: 20px;
  border-radius: 8px;
  gap: 16px;
}

.interview-answer.hamasaki {
  background: #EEF2FF;
}

.interview-answer.morita {
  background: #F2FFEE;
}

.speaker-name {
  font-weight: bold;
  font-size: 0.8rem;
  color: #1E4377;
  min-width: 80px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* 発言者アイコン */
.speaker-name::before {
  content: '';
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #1E4377;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 濱崎さんのアイコン */
.interview-answer.hamasaki .speaker-name::before {
  background-image: url('../../img/aboutus/talkicon1.png');
}

/* 守田さんのアイコン */
.interview-answer.morita .speaker-name::before {
  background-image: url('../../img/aboutus/talkicon2.png');
}

.answer-text {
  flex: 1;
  align-content: center;    align-content: center;
}

.answer-text p {
  margin: 0 0 16px 0;
  line-height: 1.7;
  color: #333;
}

.answer-text p:last-child {
  margin-bottom: 0;
}

/* ページング */
.interview-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 10px;
  border-top: 1px solid #e9ecef;
  min-height: 60px;
}

/* ページネーション中央部分 */
.interview-pagination-center {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.interview-pagination button {
  background: #fff;
  border: 1px solid #387CDD;
  color: #387CDD;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.interview-pagination button:hover:not(:disabled) {
  background: #387CDD;
  color: white;
}

.interview-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* 次のタイトルへリンク */
.interview-next-topic {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
}

.interview-next-topic-btn {
  background: none;
  border: none;
  color: #387CDD;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  padding: 0;
}

.interview-next-topic-btn:hover {
  color: #2E6ABF;
  text-decoration-thickness: 2px;
  transform: translateX(4px);
}

/* ページネーション内の次のタイトルへリンク - タブ1と統一 */
.interview-pagination .interview-next-topic-btn {
  font-size: 1rem;
  font-weight: 500;
  color: #387CDD;
  background: none !important;
  background-color: transparent !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
  margin-top: 4px;
  /* タブ1と完全に統一するための設定 */
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.interview-pagination .interview-next-topic-btn:hover {
  color: #2E6ABF !important;
  background: none !important;
  background-color: transparent !important;
  text-decoration-thickness: 2px !important;
  transform: translateX(4px) !important;
  -webkit-transform: translateX(4px) !important;
  -moz-transform: translateX(4px) !important;
  -o-transform: translateX(4px) !important;
}

/* より具体的なセレクタでタブ2、3のホバーアクションを確実に適用 */
.interview-tab-content#tab2 .interview-pagination .interview-next-topic-btn:hover,
.interview-tab-content#tab3 .interview-pagination .interview-next-topic-btn:hover {
  color: #2E6ABF !important;
  background: none !important;
  background-color: transparent !important;
  text-decoration-thickness: 2px !important;
  transform: translateX(4px) !important;
  -webkit-transform: translateX(4px) !important;
  -moz-transform: translateX(4px) !important;
  -o-transform: translateX(4px) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .interview-pagination {
    padding: 20px 5px;
    gap: 14px;
  }
  
  .interview-pagination-center {
    gap: 12px;
  }
  
  /* ページネーション内でもタブ1と同じサイズを維持 */
  .interview-pagination .interview-next-topic-btn {
    font-size: 1rem;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .interview-pagination {
    gap: 12px;
  }
  
  .interview-pagination-center {
    gap: 10px;
  }
  
  /* ページネーション内でもタブ1と同じサイズを維持 */
  .interview-pagination .interview-next-topic-btn {
    font-size: 1rem;
    gap: 8px;
  }
}

.interview-page-info {
  font-size: 1rem;
  color: #1E4377;
  margin: 0 8px;
}

/* 最下部のボタン */
.interview-bottom-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  padding-top: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interview-bottom-buttons.animate {
  opacity: 1;
  transform: translateY(0);
}

.interview-bottom-btn {
  background: #fff;
  border: 1px solid #387CDD;
  color: #387CDD;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interview-bottom-btn span{
  display: inline-block;
}

.interview-bottom-btn:hover {
  background: #387CDD;
  color: white;
}

.interview-bottom-btn.active {
  background: #1E4377;
  border-color: #1E4377;
  color: white;
}

/* 私たちの行動指針セクション */
.policy-section {
  background: #fff;
  padding: 64px 0 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.policy-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E4377;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.08em;
  position: relative;
  text-shadow: 0 2px 4px rgba(30,67,119,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.policy-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #387CDD, #1E4377);
  border-radius: 2px;
}

.policy-cards {
  display: flex;
  gap: 48px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.policy-card {
  background: transparent;
  padding: 32px 16px 24px 16px;
  width: 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.policy-card__title {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E4377;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  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);
}

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

.policy-card__imgwrap {
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  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);
}

.policy-card__imgwrap.animate {
  opacity: 1;
  transform: scale(1);
}

.policy-card__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-card__imgwrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(to right, #fff 0%, rgba(255,255,255,0.9) 5%, rgba(255,255,255,0.4) 15%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.4) 85%, rgba(255,255,255,0.9) 95%, #fff 100%),
    linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0.9) 5%, rgba(255,255,255,0.4) 15%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.4) 85%, rgba(255,255,255,0.9) 95%, #fff 100%);
  pointer-events: none;
}

.policy-card__subtitle {
  background: #E63946;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 8px 16px;
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  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);
  min-height: 64px;
  align-content: center;
}

.policy-card__subtitle span {
  display: inline-block;
}

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

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.policy-list li {
  font-size: 1rem;
  color: #1E4377;
  margin-bottom: 8px;
  padding-left: 1.6em;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.policy-list li.animate {
  opacity: 1;
  transform: translateX(0);
}

.policy-list li:before {
  content: '';
  background-image: url('../../img/aboutus/tick.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 0.2em;
}

/* レスポンシブ対応 */
@media (max-width: 800px) {
  .policy-cards {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  
  .policy-card {
    width: 70%;
  }
  
  .policy-card__title {
    font-size: 1.3rem;
  }

  .policy-card__imgwrap {
    height: 300px;
  }
}



/* オフィスセクション */
.office-section {
  background: #fff;
  padding: 0 0 64px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.office-section__visual {
  position: relative;
  height: 520px;
  background: url('../../img/aboutus/office_title.jpg') center/cover no-repeat;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.office-section__visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
}

.office-section__white-block {
  position: absolute;
  bottom:0;
  left: 0;
  background: #fff;
  border-radius: 0 16px 0 0;
  padding: 40px 10% 32px 10%;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(30,67,119,0.15);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.office-section__white-block.animate {
  opacity: 1;
  transform: translateX(0);
}

.office-section__white-block-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E4377;
  margin-bottom: 12px;
  margin-top: 0;
}

.office-section__white-block-text {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.office-section__white-block-text span {
  display: inline-block;
}

.office-section__featurebox {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding: 32px 24px 24px 24px;
  z-index: 3;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.office-section__featurebox-inner {
  border: 2px solid #1E4377;
  border-radius: 4px;
  padding: 24px 16px 16px 16px;
}

.office-section__featuretitle {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1E4377;
  margin-bottom: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.office-section__featuredesc {
  font-size: 1rem;
  color: #222;
  margin-bottom: 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.office-section__featuredesc span {
  display: inline-block;
}

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

.office-section__iconlist {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.office-section__iconlist li {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.office-section__iconlist li.animate {
  opacity: 1;
  transform: translateY(0);
}

.office-section__iconlist img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 4px;
}

.office-section__iconlist div {
  font-size: 0.95rem;
  color: #1E4377;
  margin-top: 4px;
  text-align: center;
}

.office-section__areas {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 48px auto 0 auto;
  padding: 0 24px;
}

.office-area {
  flex: 1 1 0;
  max-width: 340px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 24px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.office-area__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
}

.office-area__title {
  font-size: 18px;
  font-weight: bold;
  color: #1E4377;
  margin-bottom: 8px;
  margin-top: 0;
  text-align: left;
  width: 100%;
  padding: 0 12px;
}

.office-area__desc {
  font-size: 15px;
  color: #222;
  text-align: left;
  padding: 0 12px;
}

/* レスポンシブ対応 */
@media (max-width: 1100px) {
  .credo-cards {
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .credo-card {
    width: 28vw;
    min-width: 75%;
    margin-bottom: 100px;
    min-height: 380px !important;
  }

  .credo-card__title {
    position: absolute;
    top: -48px !important;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    line-height: 1.3;
    /* padding: 8px 12px; */
    z-index: 10;
    width: calc(100% - 24px);
    max-width: unset;
}
  
  .credo-card:nth-child(1) {
    margin-top: 0px !important;
    transform: translateY(0px) !important;
  }

  .credo-card:nth-child(2) {
    margin-top: 0px !important;
    transform: translateY(60px) !important;
  }

  .credo-card:nth-child(3) {
    margin-top: 0px !important;
    transform: translateY(120px) !important;
  }
  
  .directors-section {
    padding: 32px 0 0 0;
  }
  
  .director-block, .director-block--reverse {
    gap: 24px;
  }
  
  .director-image {
    width: 220px;
    height: 280px;
  }
  
  .policy-cards {
    gap: 16px;
    max-width: 98vw;
  }
  
  .policy-card {
    padding: 24px 8px 16px 8px;
  }
  
  .staff-card {
    flex: 0 0 45%;
    max-width: 48%;
  }
  
  .staff-carousel__viewport {
    max-width: 480px;
  }
}

@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;
    padding-right: 80px;
  }
  
  .services-title-ja {
    font-size: 32px;
  }
  
  .services-title-en {
    font-size: 18px;
  }
}

@media (max-width: 800px) {
  .office-section__visual {
    height: 400px;
  }
  
  .office-section__white-block {
    padding: 32px 24px 24px 24px;
  }
  
  .office-section__white-block-title {
    font-size: 1.6rem;
  }
  
  .office-section__white-block-text {
    font-size: 1rem;
  }
  
  .office-section__areas {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .office-area {
    max-width: 90vw;
  }
  
  .office-section__iconlist img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .services-title-blueband-text {
    font-size: 1rem;
    left: 3vw;
  }
  
  .services-title-texts {
    margin-left: 7vw;
  }
  
  .services-title-ja {
    font-size: 28px;
  }
  
  .services-title-en {
    font-size: 16px;
  }

  .services-title-bgmark {
    right: -16rem;
  }
  .services-title-bgmark img {
    width: 55%;
    opacity: 0.5;
}
.services-title-blueband-text {
  padding-right: 48px;
}

.credo-card__title {
  top: -70px !important;
}

.credo-card {
  margin-bottom: 128px;
}
  
  .credo-section {
    padding: 40px 0 24px 0;
    min-height: 600px;
  }
  
  .credo-inner {
    max-width: 98vw;
    padding: 0 2vw;
  }
  
  .credo-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .credo-card {
    width: 98vw;
    max-width: 360px;
    min-width: 0;
    padding: 80px 8px 56px 8px;
  }
  
  .credo-card:nth-child(1) {
    margin-top: 0px !important;
  }

  .credo-card:nth-child(2) {
    margin-top: 0px !important;
  }

  .credo-card:nth-child(3) {
    margin-top: 0px !important;
  }
  
  .credo-card__img--3 {
    /* 3つ目のカード用 - 位置を個別調整可能 */
    max-width: 120px;
    bottom: -80px;
  }

  
  .credo-title, .credo-em {
    font-size: 1.3rem;
  }
  
  .directors-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
  
  .director-block, .director-block--reverse {
    flex-direction: column !important;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
  }
  
  .director-image-wrap {
    width: 100%;
    justify-content: center;
  }
  
  .director-image {
    width: 90vw;
    max-width: 320px;
    height: auto;
  }
  
  .director-info {
    width: 100%;
    align-items: center;
  }
  
  .director-message {
    flex-direction: column;
    gap: 12px;
  }
  
  .director-message-col {
    width: 100%;
    font-size: 0.98rem;
  }
  

  
  .interview-hero {
    height: 500px;
    margin-bottom: -100px;
  }
  
  .interview-hero-overlay {
    padding-left: 5%;
  }
  
  .interview-names {
    font-size: 1.5rem;
  }
  
  .interview-subtitle {
    font-size: 2rem;
  }
  
  .interview-tabs {
    flex-direction: column;
    margin-top: 0;
  }
  
  .interview-tab {
    padding: 16px 20px;

  }
  

  
  .interview-tab.active {
    background: #1E4377;
    color: white;
  }
  
  .interview-content {
    padding: 0 10px;
    margin: 0;
    margin-top: 16px;
  }
  
  .interview-tab-content {
    padding: 20px 0;
  }
  
  .interview-answer {
    flex-direction: column;
    gap: 8px;
  }
  
  .speaker-name {
    min-width: auto;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
  }

  /* モバイル時のアイコンサイズ調整 */
  .speaker-name::before {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  .interview-bottom-buttons {
    flex-direction: column;
    gap: 12px;
    padding: 20px 10px;
  }
  
  .interview-bottom-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .policy-section {
    padding: 32px 0 40px 0;
  }
  
  .policy-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
  
  .policy-cards {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .policy-card {
    width: 98vw;
    max-width: 360px;
    min-width: 0;
    padding: 20px 8px 16px 8px;
  }
  
  
  

}

@media (max-width: 600px) {
  .staff-card {
    flex: 0 0 90%;
    max-width: 96%;
    min-width: 180px;
    padding: 24px 8px 16px 8px;
  }
  
  .staff-carousel__viewport {
    max-width: 220px;
  }
  
  .office-section__visual {
    height: 320px;
  }
  
  .office-section__white-block {
    width: 75%;
    padding: 24px 16px 20px 16px;
  }
  
  .office-section__white-block-title {
    font-size: 1.4rem;
  }
  
  .office-section__white-block-text {
    font-size: 0.95rem;
  }
  
  .office-section__featurebox {
    margin-top: 40px;
    padding: 24px 16px 16px 16px;
  }
  
  .office-section__iconlist {
    flex-wrap: wrap;
  }
  
  .office-section__iconlist li {
    flex: 0 0 calc(50% - 8px);
    margin-bottom: 16px;
  }
  
  .office-section__iconlist img {
    width: 32px;
    height: 32px;
  }
  
  .office-section__iconlist div {
    font-size: 0.8rem;
  }
}

/* 採用情報バナー セクション */
.recruit-banner-section {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.recruit-banner__bg {
  position: relative;
  width: 100vw;
  min-height: 260px;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner__bg.animate {
  opacity: 1;
  transform: scale(1);
}

.recruit-banner__img {
  width: 100vw;
  /*min-height: 260px;
  max-height: 340px;*/
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.recruit-banner__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(30,67,119,0.82) 0%, rgba(30,67,119,0.6) 100%);
  z-index: 1;
}

.recruit-banner__content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 32px 16px;
}

.recruit-banner__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner__title span {
  display: inline-block;
}

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

.recruit-banner__desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner__desc.animate {
  opacity: 1;
  transform: translateY(0);
}
.recruit-banner__desc span {
  display: inline-block;
}

.recruit-banner__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;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.3s ease, opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.recruit-banner__btn.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.recruit-banner__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-banner__btn:hover {
  background: #f0f4fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 67, 119, 0.3);
}

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

.recruit-banner__btn-arrow {
  display: none;
}

/* 会社情報 セクション */
.company-section {
  background: #f5f8fc;
  scroll-margin-top: 80px;
}

.company-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.company-section__title {
  color: #1E4377;
  font-size: 2rem;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  text-align: center;
  margin-bottom: 64px;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(30,67,119,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.company-section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #387CDD, #1E4377);
  border-radius: 2px;
}

.company-section__content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.company-section__info {
  flex: 1 1 450px;
  min-width: 320px;
  max-width: 550px;
}

.company-section__info dd span {
  display: inline-block;
}

.company-section__info dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-section__info div.info-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #e3eaf4;
  padding-bottom: 16px;
}

.info-row span {
  display: inline-block;
}

a.links-text {
  color: #1a0dab;
 border-bottom: solid;
 }

.company-section__info dt {
  font-weight: 700;
  color: #1E4377;
  font-size: 1.05rem;
  flex: 0 0 120px;
  margin: 0;
  padding: 0;
}

.company-section__info dd {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 1rem;
  color: #222;
  flex: 1;
}

.company-section__image {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-section__image img {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(30,67,119,0.10);
}

.company-section__access-header {
  margin: 40px auto 0 auto;
  max-width: 1200px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.company-section__access-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.company-section__access-title {
  color: #1E4377;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.company-section__access-addr {
  color: #222;
  font-size: 1rem;
  margin-bottom: 24px;
}

.company-section__access-addr span {
  display: inline-block;
}

.company-section__access {
  margin: 0 auto 32px auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(30,67,119,0.04);
  padding: 32px 24px 24px 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.company-section__access-icons {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0 100px 0 0;
}

.company-section__access-icons li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  color: #1E4377;
  gap: 12px;
  flex-shrink: 0;
}

.company-section__access-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-section__map {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  background: #e3eaf4;
  margin-top: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.company-section__map iframe {
  width: 100vw;
  min-height: 320px;
  max-height: 420px;
  border: none;
  display: block;
}

/* 追加のレスポンシブ対応 */
@media (max-width: 1024px) {
  .company-section__content {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .company-section__image {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .company-section__info dt {
    flex: 0 0 100px;
    font-size: 1rem;
  }
  
  .company-section__info dd {
    padding-left: 12px;
    font-size: 0.95rem;
  }
  
  .company-section__info div.info-row {
    padding-bottom: 12px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .recruit-banner__title {
    font-size: 1.5rem;
  }
  
  .recruit-banner__desc {
    font-size: 1rem;
  }
  
  .recruit-banner__btn {
    font-size: 1rem;
  }
}

@media (max-width: 800px) {
  .company-section__access-icons {
    flex-wrap: wrap;
    gap: 24px;
}
.company-section__access-icons li {
  width: 100%;
  padding-left: 16px;
}


}

@media (max-width: 600px) {
  .recruit-banner__bg, .recruit-banner__img {
    /*min-height: 160px;
    max-height: 200px;*/
  }

  .recruit-banner__bg {
    max-height: 380px;
}
  
  .recruit-banner__content {
    padding: 16px 4px;
  }
  
  .recruit-banner__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .recruit-banner__desc {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }
  
  .recruit-banner__btn {
    font-size: 1rem;
  }
  
  .interview-hero {
    height: 450px;
    margin-bottom: -80px;
  }
  
  .interview-hero-overlay {
    padding-left: 5%;
  }
  
  .interview-names {
    font-size: 1.2rem;
  }
  
  .interview-subtitle {
    font-size: 1.8rem;
  }
  
  .interview-question {
    font-size: 1rem;
    padding: 12px 16px;
  }
  
  .interview-answer {
    padding: 16px;
  }

  .interview-content-title {
    font-size: 1.4rem;
    margin: 0 0 24px 0;
    padding: 0 0 12px 0;
  }

  .interview-content-title::after {
    width: 60px;
  }
  
  .recruit-banner__btn-arrow {
    margin-left: 8px;
  }
  
  .company-section {
    padding: 32px 0 0 0;
  }
  
  .company-section__title {
    font-size: 1.5rem;
    margin-bottom: 64px;
  }
  
  .company-section__access-header {
    padding: 0 16px;
    margin-top: 24px;
  }
  
  .company-section__access-title {
    font-size: 1.1rem;
  }
  
  .company-section__access-addr {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  
  .company-section__access {
    padding: 16px 4px 12px 4px;
  }
  
  .company-section__access-icons {
    flex-direction: column;
    gap: 16px;
    margin: 0;
  }
  
  .company-section__access-icons li {
    font-size: 0.92rem;
    gap: 12px;
    flex: none;
  }
  
  .company-section__access-icons img {
    width: 24px;
    height: 24px;
  }
  
  .company-section__map iframe {
    min-height: 180px;
    max-height: 220px;
  }
} 