@charset "utf-8";

/* ----------------------------------------------------
   h2
---------------------------------------------------- */
.h2_part{padding:70px 0 0 0; transition-duration: 300ms;}
@media print, screen and (min-width: 768px) {.h2_part{padding:100px 0 0 0}}
@media print, screen and (min-width: 992px) {.h2_part{padding:120px 0 0 0}}

/* ----------------------------------------------------
   1文字ずつ登場　アニメ
---------------------------------------------------- */
.anm-txt-heading {
  font-weight: 400;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;  
}

@media print, screen and (min-width: 768px) {
.anm-txt-heading {
  padding-bottom: 30px;
  }
}

@media print, screen and (min-width: 1200px) {
.anm-txt-heading {
  padding-bottom: 60px;
  }
}

.anm-txt-target {
  display: block;
}
.anm-txt-inner {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  padding-top: 0.2em;
}

/* 大文字
---------------------------- */
.anm-txt-main .anm-txt-inner {
  font-size: 38px;
  line-height: 50px;
}
@media print, screen and (min-width: 768px) {
.anm-txt-main .anm-txt-inner {
  font-size: 60px;
  line-height: 80px;
  letter-spacing: 2px;
  }
}
@media print, screen and (min-width: 992px) {
.anm-txt-main .anm-txt-inner {
  font-size: 70px;
  line-height: 100px;
  }
}
@media print, screen and (min-width: 1200px) {
.anm-txt-main .anm-txt-inner {
  font-size: 90px;
  line-height: 120px;
  }
}

/* 小文字
---------------------------- */
.anm-txt-sub .anm-txt-inner {
  font-size: 20px;
  letter-spacing: 1px;
}
@media print, screen and (min-width: 768px) {
.anm-txt-sub .anm-txt-inner {
  font-size: 30px;
  }
}
@media print, screen and (min-width: 992px) {
.anm-txt-sub .anm-txt-inner {
  font-size: 34px;
  }
}

.anm-txt-target span {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.2em);
}
.anm-txt-heading.is-animated span {
  animation: customTextAnimation 1s forwards;
}

.anm-txt-target span:nth-child(1) { animation-delay: 0.1s; }
.anm-txt-target span:nth-child(2) { animation-delay: 0.15s; }
.anm-txt-target span:nth-child(3) { animation-delay: 0.2s; }
.anm-txt-target span:nth-child(4) { animation-delay: 0.25s; }
.anm-txt-target span:nth-child(5) { animation-delay: 0.3s; }
.anm-txt-target span:nth-child(6) { animation-delay: 0.35s; }
.anm-txt-target span:nth-child(7) { animation-delay: 0.4s; }
.anm-txt-target span:nth-child(8) { animation-delay: 0.45s; }
.anm-txt-target span:nth-child(9) { animation-delay: 0.5s; }
.anm-txt-target span:nth-child(10) { animation-delay: 0.55s; }
.anm-txt-target span:nth-child(11) { animation-delay: 0.6s; }
.anm-txt-target span:nth-child(12) { animation-delay: 0.65s; }
.anm-txt-target span:nth-child(13) { animation-delay: 0.7s; }
.anm-txt-target span:nth-child(14) { animation-delay: 0.75s; }
.anm-txt-target span:nth-child(15) { animation-delay: 0.8s; }
.anm-txt-target span:nth-child(16) { animation-delay: 0.85s; }
.anm-txt-target span:nth-child(17) { animation-delay: 0.9s; }
.anm-txt-target span:nth-child(18) { animation-delay: 0.95s; }
.anm-txt-target span:nth-child(19) { animation-delay: 1s; }
.anm-txt-target span:nth-child(20) { animation-delay: 1.05s; }
.anm-txt-target span:nth-child(21) { animation-delay: 1.1s; }
.anm-txt-target span:nth-child(22) { animation-delay: 1.15s; }
.anm-txt-target span:nth-child(23) { animation-delay: 1.2s; }
.anm-txt-target span:nth-child(24) { animation-delay: 1.25s; }
.anm-txt-target span:nth-child(25) { animation-delay: 1.3s; }

@keyframes customTextAnimation {
  0% {
    transform: translateY(1.2em);
    filter: blur(0px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    filter: blur(2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    filter: blur(0px);
    opacity: 1;
  }
}

/* 中央寄せ用
---------------------------- */
.anm-txt-heading.ctr {
  align-items: center;
}
.anm-txt-heading.ctr .anm-txt-inner {
  justify-content: center;
}

/* ----------------------------------------------------
  ぱんくず
---------------------------------------------------- */
.pankuzu ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 5px 0;
  margin: 0 auto;
  font-size: 0.9rem;
  border-top:1px solid #94b1cf;
}

.pankuzu li {
  display: flex;
  align-items: center;
}

/* 区切り文字の設定 */
.pankuzu li:not(:last-child)::after {
  content: "-";
  margin: 0 10px;
  color: #94b1cf;
  font-size: 0.8rem;
}

.pankuzu a {
  color: #94b1cf;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pankuzu a:hover {
  color: #2c3b52;
  text-decoration: underline;
}

.pankuzu li[aria-current="page"] {
  color: #2c3b52;
}


/* 横文字
---------------------------------------------------- */
.marquee {
  overflow: hidden;
  font-weight: normal;
  display: flex;
  padding: 10px 0 30px 0;
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-inner span {
  padding-right: 50px;
  font-size: 40px;
  line-height: .9;
  margin-top: -0.1em;
  }

@media print, screen and (min-width: 768px) {
.marquee {
  padding: 10px 0 60px 0;
}
.marquee-inner span {
  padding-right: 50px;
  font-size: 60px;
  }
}

@media print, screen and (min-width: 1200px) {
.marquee-inner span {
  padding-right: 50px;
  font-size: 90px;
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------
    境界線つきテキスト
---------------------------------------------------- */
.text-stroke {
  font-size: 50px;
  letter-spacing: 8px;
  color: #fff;
  text-shadow:
    1px 0 0 #254061,
    -1px 0 0 #254061,
    0 1px 0 #254061,
    0 -1px 0 #254061,
    1px 1px 0 #254061,
    -1px -1px 0 #254061,
    1px -1px 0 #254061,
    -1px 1px 0 #254061;
}

@media print, screen and (min-width: 768px) {
.text-stroke {
  font-size: 120px;
  }
}

/* ----------------------------------------------------
  画像スライド
---------------------------------------------------- */
/* 右からの無限ループ */
@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__list--left {
animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 4);
}
@media print, screen and (min-width: 768px) {
.scroll-infinity__item {
  width: calc(100vw / 8);
  }
}
.scroll-infinity__item>img {
  width: 100%;
}

  
/* ----------------------------------------------------
  リンクボタン（全体構造）
---------------------------------------------------- */
.link-card {
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  text-decoration: none;
  transition: all 300ms ease;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #254061;
}

.link-card:hover {
  background: #486588;
}

/* PCレイアウト（テキスト 4 : 画像 6）
-------------------------- */
@media print, screen and (min-width: 768px) {
  .link-card {
    flex-direction: row; /* 横並び */
    align-items: stretch; /* 左と右の高さを揃える */
    margin-bottom: 0;
  }

  /* テキストエリア（45%） */
  .link-card__body {
    flex: 0 0 45%;
    max-width: 45%;
  }

  /* 画像エリア（55%） */
  .link-card__img {
    flex: 0 0 55%;
    max-width: 55%;
  }
}

/* テキスト＋矢印エリア
-------------------------- */
.link-card__body {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  justify-content: space-between; /* テキストを上、矢印を下に押し出す */
  padding: 15px;
  box-sizing: border-box;
}
@media print, screen and (min-width: 768px) {
  .link-card__body {
    padding: 20px;
  }
}
@media print, screen and (min-width: 1200px) {
  .link-card__body {
    padding: 40px;
  }
}

/* 見出し＋テキスト
-------------------------- */
.link-card__text {
  width: 100%;
}

.link-card__text,
.link-card__text span,
.link-card__title,
.link-card__text .text01 {
  color: #fff;
}

.link-card__text span{
  color: #254061;
  background: #fff;
  font-size: 22px;
  padding:1px 10px 2px 10px;
  display: inline-block;
  margin-bottom: 15px;
}
@media print, screen and (min-width: 768px) {
.link-card__text span{
  font-size: 18px;
  }
}

.link-card__title {
  font-size: 20px;
  margin: 0;
}
@media print, screen and (min-width: 768px) {
  .link-card__title {
    font-size: 20px;
    margin: 0 0 10px 0;    
  }
}
@media print, screen and (min-width: 1200px) {
  .link-card__title {
    font-size: 28px;
  }
}

/* 矢印画像エリア
-------------------------- */
.link-card__arrow {
  align-self: flex-end; /* 矢印だけを右寄りに配置 */
  margin-top: 0px; /* スマホ用の間隔 */
}
@media print, screen and (min-width: 768px) {
  .link-card__arrow {
    margin-top: 100px; /* PC用：テキストと矢印の間を100px開ける */
    margin-top: 40px; /* スマホ用の間隔 */    
  }
}
.link-card__arrow img {
  width: 40px;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}
@media print, screen and (min-width: 768px) {
  .link-card__arrow img {
    width: 50px;
  }
}
.link-card:hover .link-card__arrow img {
  transform: translateX(10px);
}

/* 画像エリア＆トリミング設定
-------------------------- */
.link-card__img {
  position: relative;
  width: 100%;
}

.mask_01 {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

@media print, screen and (min-width: 768px) {
  .mask_01 {
    border-radius: 0 10px 10px 0;
  }
}

.link-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.zoomIn_01 .link-card:hover .link-card__img img {
  transform: scale(1.1);
}

/* オーバーレイ */
.link-card__img::before,
.link-card__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.link-card__img::after {
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}
.zoomIn_01 .link-card:hover .link-card__img::after {
  opacity: 0;
}