/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* ヘッダーの高さ分を考慮 */
}

/* ベーススタイル */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #43605f;
}

a,
button {
  transition: opacity 0.3s ease;
}

img {
  width: 100%;
}

a:hover,
button:hover {
  opacity: 0.8;
}
/* フォント設定 */
.font-default {
  font-family: "Noto Sans JP", sans-serif;
}

.font-rounded {
  font-family: "Zen Maru Gothic", sans-serif;
}

.font-english {
  font-family: "Lato", sans-serif;
}

.hidden__pc {
  display: none;
}
@media (max-width: 768px) {
  .hidden__pc {
    display: block;
  }
}
.hidden__sp {
  display: block;
}
@media (max-width: 768px) {
  .hidden__sp {
    display: none;
  }
}
/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5; */
  z-index: 1000;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  /* height: 70px; */
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__logo-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header__logo-img {
  width: 168px;
  height: 44px;
  object-fit: contain;
}

.header__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

/* FVセクション */
.fv {
  padding: 84px 0 0;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 768px) {
  .fv {
    min-height: auto;
  }
}
.fv__container {
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .fv__container {
  }
}
.fv__scroll {
  width: 47px;
  height: 101px;
  position: absolute;
  right: 48px;
  bottom: 40px;
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.fv__scroll:hover {
  opacity: 0.8;
}
.fv__scroll img {
  object-fit: contain;
  width: 100%;
}
@media (max-width: 768px) {
  .fv__scroll {
    display: none;
  }
}

.fv__btn {
  position: absolute;
  left: 52px;
  bottom: 42px;
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
  width: 262px;
  height: 47px;
}

.fv__btn:hover {
  opacity: 0.8;
}

.fv__btn-img {
  object-fit: contain;
  width: 100%;
}

@media (max-width: 768px) {
  .fv__btn {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
  }
}

.fv__image {
  /* margin-top: 40px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 276px;
  height: auto;
  z-index: 2;
}

.fv__play-img {
  object-fit: contain;
  width: 100%;
}

@media (max-width: 768px) {
  .fv__play {
    width: 100px;
  }
}

.fv__img {
  max-width: 100%;
  height: auto;
}

.fv__video {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.inner {
  width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .inner {
    width: initial;
    max-width: 600px;
    padding: 0 16px;
  }
}

/* SLOGANセクション */
.slogan {
  margin-top: 36px;
  position: relative;
}
@media (max-width: 768px) {
  .slogan {
    margin-top: 0;
  }
}

.slogan__container {
}

.slogan__header {
  margin-bottom: 44px;
  position: relative;
}
@media (max-width: 768px) {
  .slogan__header {
    display: none;
  }
}
.slogan__header::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #43605f;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
}
.slogan__title {
  width: 320px;
  position: relative;
}

.slogan__header-sp {
  display: none;
}
@media (max-width: 768px) {
  .slogan__header-sp {
    display: block;
    background-color: #e3eff5;
    text-align: center;
    padding: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 19px;
  }
}
.slogan__body {
  text-align: center;
  line-height: 2.5;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.07em;
  position: relative;
}
@media (max-width: 768px) {
  .slogan__body {
    font-size: 16px;
  }
}
.slogan__line {
  display: block;
  line-height: 2.5;
  opacity: var(--opacity, 0);
  transform: translate3d(var(--translate-x, 0), var(--translate-y, -20px), 0);
  filter: blur(var(--blur, 12px));
  transition: transform 0.35s ease-out, filter 0.35s ease-out,
    opacity 0.35s ease-out;
  will-change: transform, opacity, filter;
}

.slogan__line + .slogan__line {
  margin-top: 0.4em;
}

@media (max-width: 768px) {
  .slogan__line {
    line-height: 2.2;
  }
}
/* TOP MESSAGEセクション */
.top-message {
  margin-top: 60px;
  position: relative;
}
@media (max-width: 768px) {
  .top-message {
    margin-top: 32px;
  }
}
.top-message::before {
  content: "";
  position: absolute;
  right: 0;
  top: -20px;
  width: 569px;
  height: 783px;
  background-image: url("../img/bg_deco1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .top-message::before {
    right: 0;
    top: 212px;
    width: 350px;
    height: 860px;
    background-image: url("../img/bg_deco1_sp.png");
  }
}
.top-message__container {
}

.top-message__header {
  margin-bottom: 44px;
  position: relative;
}
@media (max-width: 768px) {
  .top-message__header {
    display: none;
  }
}
.top-message__header::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #43605f;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
}
.top-message__title {
  width: 291px;
  position: relative;
}

.top-message__header-sp {
  display: none;
}
@media (max-width: 768px) {
  .top-message__header-sp {
    display: block;
    background-color: #e3eff5;
    text-align: center;
    padding: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 19px;
  }
}
.top-message__flex {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 768px) {
  .top-message__flex {
    flex-direction: column-reverse;
    gap: 18px;
  }
}
.top-message__content {
  display: flex;
  gap: 32px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .top-message__content {
    flex-direction: column;
    gap: 19px;
  }
}

.top-message__image {
  width: 30%;
}
@media (max-width: 768px) {
  .top-message__image {
    width: 70%;
    margin: 0 auto;
  }
}
.top-message__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.top-message__photo picture,
.top-message__photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.top-message__position {
  font-size: 15px;
  color: #fff;
  background-color: #43605f;
  padding: 20px;
}

@media (max-width: 768px) {
  .top-message__position {
    font-size: 12px;
    padding: 12px;
  }
}
@media (max-width: 768px) {
  .top-message__position {
    text-align: center;
  }
}
.top-message__name {
  font-size: 39px;
}
@media (max-width: 768px) {
  .top-message__name {
    font-size: 28px;
  }
}
.top-message__text {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 21px;
  /* overflow: hidden;
  word-wrap: break-word; */
}
@media (max-width: 768px) {
  .top-message__text {
    width: 100%;
  }
}
.top-message__block-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.top-message__block-title-sp {
  display: none;
}
@media (max-width: 768px) {
  .top-message__block-title-sp {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .top-message__block-title {
    display: none;
  }
}
.top-message__block-text {
  font-size: 16px;
  /* word-wrap: break-word;
  overflow-wrap: break-word; */
}

.top-message__message {
  text-align: center;
  font-size: 36px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .top-message__message {
    font-size: 21px;
  }
}
/* NEWS/VOICE OF EMPLOYEEセクション */
.news-voice {
  margin-top: 79px;
  position: relative;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .news-voice {
    margin-top: 26px;
    background-color: rgba(227, 239, 245, 0.5);
  }
}
.news-voice__header {
  margin-bottom: 32px;
  position: relative;
}
@media (max-width: 768px) {
  .news-voice__header {
    display: none;
  }
}
.news-voice__header::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #43605f;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
}
.news-voice__title {
  width: 143px;
  position: relative;
}

.news-voice__header-sp {
  display: none;
}
@media (max-width: 768px) {
  .news-voice__header-sp {
    display: block;
    background-color: #43605f;
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 11px;
  }
}
.news-voice__subtitle {
  font-size: 40px;
  margin-bottom: 18px;
}
.news-voice__subtitle-sp {
  display: none;
}
@media (max-width: 768px) {
  .news-voice__subtitle-sp {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
  }
  .news-voice__subtitle {
    display: none;
  }
}
.news-voice__box {
  padding: 12px 0;
  background-color: rgba(227, 239, 245, 0.5);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
@media (max-width: 768px) {
  .news-voice__box {
    background-color: initial;
  }
}
.news-voice__grid {
  display: flex;
  max-width: 1060px;
  /* gap: 20px; */

  /* overflow: hidden; */
  animation: scroll-left 10s linear infinite;
  align-items: center;
}

/* Swiper使用時はCSSアニメーションを無効化 */
.swiper .news-voice__grid {
  animation: none;
}

/* 一定速度で流すための線形イージング */
.news-voice__box .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Swiper導入後も元のカードサイズを維持 */
.news-voice__grid.swiper-wrapper {
  align-items: center;
}

.news-voice__card.swiper-slide {
  width: 380px; /* PC元サイズ */
  height: 434px;
}
@media (max-width: 768px) {
  .news-voice__card.swiper-slide {
    width: 211px; /* SP元サイズ */
    height: 221px;
  }
}

.news-voice__card {
  flex-shrink: 0;
  width: 380px;
  height: 434px;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .news-voice__card {
    width: 211px;
    height: 221px;
  }
}

.news-voice__grid:hover {
  animation-play-state: paused;
}

.news-voice__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* PC画像の表示制御 */
.news-voice__card-img--pc {
  display: block;
}

.news-voice__card-img--sp {
  display: none;
}

/* SP画像の表示制御 */
@media (max-width: 768px) {
  .news-voice__card-img--pc {
    display: none;
  }

  .news-voice__card-img--sp {
    display: block;
  }
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-90%);
  }
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.modal.active {
  display: flex;
}

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

.modal__content {
  background-color: white;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  position: relative;
  overflow: hidden; /* スクロールを無効化 */
}

.modal__container {
  max-height: 90vh;
  overflow-y: auto; /* コンテナ内でスクロール可能 */
  position: relative;
}
@media (max-width: 768px) {
  .modal__container {
    max-height: 80vh;
    /* padding-bottom: 80px; */
  }
}
.modal__main {
  padding: 98px 76px 14px;
}
@media (max-width: 768px) {
  .modal__main {
    padding: 0 16px;
  }
}
.modal__container::before {
  content: "";
  position: absolute;
  bottom: -72px;
  left: 0;
  width: 472px;
  height: 650px;
  background-image: url("../img/modal_deco.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}
#modal3 .modal__container::before,
#modal4 .modal__container::before,
#modal-event01 .modal__container::before,
#modal-event02 .modal__container::before {
  content: "";
  position: absolute;
  bottom: initial;
  top: 0;
  left: initial;
  right: 0;
  width: 300px;
  height: 746px;
  background-image: url("../img/slogan_deco.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}
@media (max-width: 768px) {
  .modal__container::before {
    display: none;
  }
}
.modal__close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #43605f;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
  .modal__close {
    top: 10px;
    left: 10px;
  }
}
/* .modal__close:hover {
  background-color: #f0f0f0;
} */

.modal__header {
  margin-bottom: 44px;
  position: relative;
}
@media (max-width: 768px) {
  .modal__header {
    display: none;
  }
}
.modal__header::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #43605f;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
}
.modal__title {
  width: 258px;
  position: relative;
}
.modal__title img {
  width: 100%;
  object-fit: contain;
}
.modal__sp-title {
  display: none;
}
@media (max-width: 768px) {
  .modal__sp-title {
    display: block;
    text-align: center;
    font-size: 23px;
    padding: 10px;
    background-color: rgba(227, 239, 245, 0.5);
  }
}

.modal__body {
  display: flex;
  min-height: 500px;
  gap: 36px;
}
@media (max-width: 768px) {
  .modal__body {
    flex-direction: column-reverse;
    gap: 28px;
  }
}

.modal__heading {
  color: #878280;
  font-weight: bold;
  font-size: 33px;
}
@media (max-width: 768px) {
  .modal__heading {
    color: #43605f;
    font-size: 19px;
    text-align: center;
  }
}
.modal__text {
  position: relative;
  z-index: 1;
}
.modal__slogan {
  font-size: 16px;
  text-align: center;
  position: relative;
  z-index: 2;
  color: #231815;
  line-height: 2.5;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .modal__slogan {
    font-size: 14px;
    padding-top: 20px;
  }
}

.modal__question {
  font-size: 18px;
  font-weight: 600;
  color: #595757;
  margin-bottom: 15px;
  margin-top: 25px;
}
.modal__question-sp {
  display: none;
}
@media (max-width: 768px) {
  .modal__question-sp {
    display: block;
    color: #43605f;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
  }
  .modal__question {
    display: none;
  }
}
.modal__question:first-child {
  margin-top: 0;
}

.modal__answer {
  font-size: 12px;
  line-height: 1.7;
  color: #595757;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .modal__answer {
    color: #43605f;
  }
}
.modal__sidebar {
  min-width: 300px;

  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .modal__sidebar {
    flex-direction: column-reverse;
    min-width: initial;
  }
}
.modal__info {
  padding: 16px 26px;
  background-color: #e8f4f3;
}
@media (max-width: 768px) {
  .modal__info {
    color: #fff;
    background-color: #43605f;
    text-align: center;
  }
}
.modal__company {
  font-size: 16px;
}

.modal__name {
  font-size: 36px;
}

.modal__photo {
  display: flex;
  justify-content: center;
  max-height: 391px;
}

.modal__photo-img {
  width: 100%;
  aspect-ratio: 254/346;
  object-fit: cover;
  /* width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #43605f; */
}

.modal__footer {
  background-color: #e3eff5;
  padding: 40px 0 30px;
  text-align: center;
  font-weight: 300;
  font-size: 15px;
  position: relative;
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  z-index: 10;
}
@media (max-width: 768px) {
  .modal__footer {
    padding: 20px 0;
    font-size: 10px;
  }
}
.modal__contact {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .modal__contact {
    font-size: 14px;
  }
}

.modal__top-btn {
  position: absolute;
  bottom: 20px;
  right: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .modal__top-btn {
    display: none;
  }
}

/* .modal__top-btn:hover {
  transform: translateY(-2px);
} */

.modal__top-btn-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.modal__event-list {
  display: flex;
  gap: 18px;
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  .modal__event-list {
    flex-direction: column;
  }
}

.modal__event-card {
  display: block;
  width: 100%;
  border: none;
  background-color: #e3eff5;
  padding: 70px 0 16px;
}

.modal__event-card[data-modal-target] {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.modal__event-img {
  aspect-ratio: 422/317;
  object-fit: cover;
}
.modal__event-text {
  font-size: 22px;
  text-align: center;
  color: #43605f;
}
@media (max-width: 768px) {
  .modal__event-text {
    font-size: 18px;
  }
}
.modal__eventdetail-body {
  background-color: #e3eff5;
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 20px;
}
.modal__eventdetail-title {
  font-size: 28px;
  padding: 26px 0;
}
@media (max-width: 768px) {
  .modal__eventdetail-title {
    font-size: 20px;
    padding: 26px 0;
  }
}
.modal__eventdetail-img {
  display: flex;
  gap: 10px;
}
.modal__eventdetail-text {
  margin-top: 24px;
  font-size: 18px;
  padding: 0 12px;
}
@media (max-width: 768px) {
  .modal__eventdetail-text {
    margin-top: 24px;
    font-size: 16px;
    text-align: left;
  }
}
.modal__eventdetail-text + .modal__eventdetail-text {
  margin-top: 20px;
}
.modal__eventdetail-info {
  font-size: 16px;
  margin-top: 20px;
  padding: 0 12px;
}
@media (max-width: 768px) {
  .modal__eventdetail-info {
    font-size: 14px;
    margin-top: 20px;
    text-align: left;
  }
}
.modal__eventdetail-message {
  margin-top: 20px;
  font-size: 21px;
  text-align: center;
}
@media (max-width: 768px) {
  .modal__eventdetail-message {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
    padding-bottom: 20px;
  }
}
/* Company Profileセクション */
.company-profile {
  margin-top: 72px;

  position: relative;
}
@media (max-width: 768px) {
  .company-profile {
    margin-top: 0;
  }
}
.company-profile::before {
  content: "";
  position: absolute;
  left: 0;
  top: -830px;
  width: 947px;
  height: 1304px;
  background-image: url("../img/bg_deco2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .company-profile::before {
    left: 0;
    top: initial;
    bottom: -70px;
    width: 246px;
    height: 436px;
    background-image: url("../img/bg_deco2_sp.png");
  }
}
.company-profile::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 300px;
  width: 396px;
  height: 672px;
  background-image: url("../img/bg_deco3.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .company-profile::after {
    display: none;
  }
}

/* .company-profile__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} */

.company-profile__header {
  margin-bottom: 54px;
  position: relative;
}
@media (max-width: 768px) {
  .company-profile__header {
    display: none;
  }
}
.company-profile__header::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #43605f;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
}
.company-profile__title {
  width: 327px;
  position: relative;
}
.company-profile__title img {
  width: 100%;
}

.company-profile__header-sp {
  display: none;
}
@media (max-width: 768px) {
  .company-profile__header-sp {
    display: block;
    background-color: #43605f;
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 21px;
  }
}
.company-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .company-profile__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 13px;
  }
}
.company-profile__card {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  /* overflow: hidden; */
  position: relative;
  text-align: center;
  border: 2px solid #43605f;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.company-profile__card::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 51px;
  height: 51px;
  background-image: url("../img/company_deco.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  display: block;
}
@media (max-width: 768px) {
  .company-profile__card::after {
    width: 40px;
    height: 40px;
  }
}
.company-profile__card-header {
  background-color: #2d5a3d;
  color: white;
  padding: 10px;
}

.company-profile__card-title {
  padding: 20px 0 12px;
  font-size: 36px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .company-profile__card-title {
    padding: 20px 4px 12px;
    font-size: 22px;
  }
}
.company-profile__card-subtitle {
  font-size: 20px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .company-profile__card-subtitle {
    font-size: 18px;
  }
}
.company-profile__card-text {
  padding: 12px 4px;
  font-size: 16px;
  line-height: 2;
}
@media (max-width: 768px) {
  .company-profile__card-text {
    font-size: 14px;
  }
}
.company-profile__card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #2d5a3d;
  font-size: 18px;
  font-weight: 700;
}

/* フッター */
.footer {
  margin-top: 40px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 291px;
  height: 510px;
  background-image: url("../img/bg_deco4.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .footer::before {
    display: none;
  }
}

.footer__header-sp {
  display: none;
}
@media (max-width: 768px) {
  .footer__header-sp {
    display: block;
    background-color: #43605f;
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    /* margin-bottom: 21px; */
  }
}
.footer__container {
  /* max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; */
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer__links {
    background-color: rgba(227, 239, 245, 0.5);
    gap: 8px;
    padding: 12px 16px 40px;
    margin-bottom: 0;
  }
}
.footer__link {
  max-width: 243px;
}

.footer__link-img {
  max-width: 100%;
  height: auto;
}

.footer__bottom {
  text-align: center;
  margin-top: 38px;
  padding-bottom: 38px;
}
@media (max-width: 768px) {
  .footer__bottom {
    margin-top: 11px;
    padding-bottom: 11px;
  }
}
.footer__copyright {
  font-weight: 300;
  font-size: 18px;
}
@media (max-width: 768px) {
  .footer__copyright {
    font-size: 12px;
  }
}
.footer__page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
}
@media (max-width: 768px) {
  .footer__page-top {
    position: absolute;
    bottom: 50px;
    right: initial;
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer__page-top-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* テキストアニメーション */
@keyframes showTextFromBottom {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0px);
  }
}

.anime-up.displayed span {
  animation: showTextFromBottom 1s backwards;
  display: inline-block;
}

.anime-up.displayed > span {
  overflow: hidden;
}

.anime-up.displayed > span > span {
  animation: showTextFromBottom 0.5s backwards;
}
