/**
  * style-overrides.css
  * 既存のスタイルを上書きするためのCSSファイル
  * 追加のスタイルはここに記述してください。
  */

/* ベースのCSSを上書き */

p {
  word-break: break-all;
}

.u-ta-right {
  margin-top: 2em;
}

.c-news_item {
  padding-left: 0 !important;
  text-indent: 0 !important;
}

.c-news_item::before {
  display: none !important;
}

/* メインビジュアルのキャッチコピーのスタイルを上書き */
.main-visual-catch {
  position: absolute;
  top: 10%;
  width: 100%;
}

.main-visual-catch__background {
  background-color: rgba(0, 0, 0, 0.6);
  font-family: serif;
  display: inline-block;
  padding: min(3vw, 30px) min(3vw, 30px) min(2.4vw, 22px);
}

.main-visual-catch__text {
  font-family: serif;
  color: white;
  margin: 0 0 4px;
  font-size: min(2vw, 14px);
  line-height: 1.8;
}

.main-visual-catch__heading {
  font-family: serif;
  color: white;
  margin: 0;
  font-size: min(3.6vw, 32px);
  line-height: 1.5;
}

.main-visual-catch__heading span,
.main-visual-catch__text span {
  display: inline-block;
}

@media only screen and (max-width: 599px) {
  .c-carousel_body {
    padding-bottom: 180px;
  }
}

.main-visual-catch-small {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.main-visual-catch-small__background {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 16px;
}

.main-visual-catch-small__text {
  font-family: serif;
  color: white;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.8;
}

.main-visual-catch-small__heading {
  font-family: serif;
  color: white;
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.main-visual-catch-small__heading span,
.main-visual-catch-small__text span {
  display: inline-block;
}

/* トップページのツリー画像を上書き */
.top-group-tree .is-mobile {
  display: none;
}

@media only screen and (max-width: 599px) {
  .top-group-tree .is-mobile {
    display: inline;
  }

  .top-group-tree .is-desktop {
    display: none;
  }
}

/* フッターのスタイルを上書き */

.g-footerBottom {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.g-footerBottom_before {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.g-footerSubNav_list,
.g-footerSubNav_listItem,
.g-siteFooter_copyright {
  margin: 0;
}

.g-footerSubNav_list {
  display: flex;
  gap: 16px;
}

.g-footerBottom_after {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}

@media only screen and (max-width: 960px) {
  .g-footerBottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .g-footerBottom_before {
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}

@media only screen and (max-width: 599px) {
  .g-footerBottom {
    gap: 36px;
  }

  .g-footerBottom_after {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
}
