@charset "utf-8";

/* ----------------------------------------------------
   h1
---------------------------------------------------- */
.h1_part{padding:10px 20px 20px 20px;}
@media print, screen and (min-width: 768px) {.h1_part{padding:60px 80px 70px 80px}}
@media print, screen and (min-width: 992px) {.h1_part{padding:80px 100px 90px 100px}}

/* ----------------------------------------------------
   1文字ずつ登場　アニメ
---------------------------------------------------- */
.anm-txt-heading {
  font-weight: 400;
  display: flex;
  flex-direction: column;
}
.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: 38px;
  transition-duration: 300ms;
}
@media print, screen and (min-width: 768px) {
.anm-txt-main .anm-txt-inner {
  font-size: 75px;
  line-height: 75px;
  letter-spacing: 2px;
  }
}
@media print, screen and (min-width: 992px) {
.anm-txt-main .anm-txt-inner {
  font-size: 85px;
  line-height: 85px;
  }
}
@media print, screen and (min-width: 1200px) {
.anm-txt-main .anm-txt-inner {
  font-size: 110px;
  line-height: 110px;
  }
}

/* 小文字
---------------------------- */
.anm-txt-sub .anm-txt-inner {
  font-size: 18px;
  letter-spacing: 1px;
  transition-duration: 300ms;
}
@media print, screen and (min-width: 768px) {
.anm-txt-sub .anm-txt-inner {
  font-size: 22px;
  letter-spacing: 2px;   
  }
}
@media print, screen and (min-width: 992px) {
.anm-txt-sub .anm-txt-inner {
  font-size: 22px;
  letter-spacing: 3px;  
  }
}
@media print, screen and (min-width: 1200px) {
.anm-txt-sub .anm-txt-inner {
  font-size: 25px;
  }
}

.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;
  margin: 0 auto;
  font-size: 0.9rem;
}

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

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

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

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

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

/* ----------------------------------------------------
  横文字アニメーション（テキスト用）
---------------------------------------------------- */
.section-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 30px 0 0 0;
}
@media print, screen and (min-width: 1200px) {
  .section-marquee {
    padding: 100px 0 0 0;
  }
}

/* トラック（横移動） */
.section-marquee__track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

/* 各グループ */
.section-marquee__group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px; /* グループ間の余白 */
}

/* テキスト */
.section-marquee__text {
  flex-shrink: 0;
  white-space: nowrap; /* 改行させない */
  font-size: 40px;
  line-height: 40px;
}
@media print, screen and (min-width: 768px) {
  .section-marquee__text {
    font-size: 60px;
    line-height: 45px;    
  }
}
@media print, screen and (min-width: 1200px) {
  .section-marquee__text {
    font-size: 100px;
    line-height: 75px;
  }
}

/* 無限ループのアニメーション */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------------------
  画像リンクバナー
---------------------------------------------------- */
.banner_item {
  position: relative;
  overflow: hidden;
  display: block;
  z-index: 1;
}
.banner_item::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-size: cover;
  transition: transform .3s ease-out;
  z-index: 1;
}
.banner_item::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3); /* 暗さ調整 */
  z-index: 2;
  pointer-events: none;
}
.banner_item .inner {
  position: relative;
  z-index: 3;
}
.banner_item:hover::after {
  transform: scale(1.2);
}

/* banner_item
-------------------------- */
.banner_item a {
  display: block;
  padding: 50px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media print, screen and (min-width: 768px) {
  .banner_item a {
    padding: 80px 20px 100px 20px;
  }
}
@media print, screen and (min-width: 992px) {
  .banner_item a {
    padding: 100px 30px 120px 30px;
  }
}
@media print, screen and (min-width: 1200px) {
  .banner_item a {
    padding: 120px 40px 140px 40px;
  }
}
@media print, screen and (min-width: 1400px) {
  .banner_item a {
    padding: 150px 40px 170px 40px;
  }
}

/* 文字
-------------------------- */
.banner_item h3 {
    font-size: 25px;
    line-height: 35px;
  letter-spacing: 2px;
}
.banner_item span {
    font-size: 12px;
}
@media print, screen and (min-width: 768px) {
  .banner_item h3 {
    font-size: 25px;
    line-height: 35px;
  }
  .banner_item span {
    font-size: 12px;
  }
}
@media print, screen and (min-width: 992px) {
  .banner_item h3 {
    font-size: 30px;
    line-height:40px;
  }
  .banner_item span {
    font-size: 13px;
  }
}
@media print, screen and (min-width: 1200px) {
  .banner_item h3 {
    font-size: 35px;
    line-height:45px;
  }
  .banner_item span {
    font-size: 14px;
  }
}

/* 個別の画像切り替え
-------------------------- */
.banner_1::after {background-image: url("../images/link01.jpg");}
.banner_2::after {background-image: url("../images/link02.jpg");}
.banner_3::after {background-image: url("../images/link03.jpg");}


/* ----------------------------------------------------
  お知らせ
---------------------------------------------------- */
/* 余白
------------------------- */
@media print, screen and (min-width: 768px) {.wide_news { width: 90%; margin: 0 auto; }}
@media print, screen and (min-width: 1400px) {.wide_news { width: 90%; }}

/* スクロールバー
-------------------------- */
#news_area_02::-webkit-scrollbar { width: 10px; }
#news_area_02::-webkit-scrollbar-thumb { background: #bd103d; }
#news_area_02::-webkit-scrollbar-track-piece:start { background: #eee; }
#news_area_02::-webkit-scrollbar-track-piece:end { background: #eee; }

/* 高さ指定02
------------------------- */
#news_area_02 {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100px;
  max-height: 350px;
  background: #fff; /* 任意色 */
  padding: 0 20px 20px 20px;
  box-shadow: 0 0 4px rgba(160,160,160,0.1);
}
@media print, screen and (min-width: 768px) {
  #news_area_02 {
    min-height: 100px;
    max-height: 350px;  
    padding: 0px 20px 20px 20px;
    border: 0px;
  }
}
@media print, screen and (min-width: 1200px) {
  #news_area_02 {
    min-height: 100px;
    max-height: 450px;
    padding: 20px 40px 40px 40px;
  }
}
@media print, screen and (min-width: 1600px) {
  #news_area_02 {
    min-height: 100px;
    max-height: 530px;
    padding: 30px 60px 60px 60px; 
  }
}

/* アイテム レイアウト
-------------------------- */
.news_item_inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media print, screen and (min-width: 768px) {
.news_item_inner {
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;    
  }
}

@media print, screen and (min-width: 1400px) {
.news_item_inner {
  gap: 40px;    
  }
}

/* 記事の主内容
-------------------------- */
.news_body {
  flex: 1; /* 親の横幅いっぱいに広がる */
}

/* テーブル
------------------------- */
.news_table_01 {
  width: 100%;
  border-collapse: collapse;
  position: relative;
}
.news_table_01 tr {
  border-bottom: solid 1px #ddd; /* 任意色 */
}
.news_table_01 th {
  padding: 20px 0 0 0;
  font-weight: normal;
  display: block;
  text-align: left;
}
.news_table_01 td {
  padding: 10px 0 20px 0;
  display: block;
}

@media print, screen and (min-width: 768px) {
  .news_table_01 th {
    padding: 20px 0 0 0;  
    width: 100%;
    vertical-align: top;
  }
  .news_table_01 td {
    padding: 0 0 25px 0;  
    width: 100%;
    vertical-align: top;
  }
}

/* 日付とカテゴリ
-------------------------- */
@media print, screen and (min-width: 768px) {
  .news_info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }
}

/* 日付
-------------------------- */
.news_date {
  font-size: 14px;
  line-height: 24px;
  color: #999;
}

/* タイトル
-------------------------- */
.news_title {
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
}

/* テキスト
-------------------------- */
.news_html {
  font-size: 90%;
  line-height: 1.8em;
}

/* ファイルボタンのエリア
-------------------------- */
.news_detail_file {
  display: flex;        /* ボタンを横並びにする */
  flex-wrap: wrap;      /* 折り返しを許可 */
  justify-content:flex-start; /* 左に配置 */
  align-items: center;  /* 上下の中央を揃える */
  gap: 10px;            /* ボタン同士の間隔 */
  margin-top: 3px;
}

/* ファイルボタン
-------------------------- */
/* スマホの時だけ適用 */
@media screen and (max-width: 768px) {
.btn_file {
  width: 100%; /* 横幅いっぱい */
  font-size: 13px;  
  padding: 8px 16px;    
  }
}

/* ファイルボタン
-------------------------- */
.btn_file {
  font-size: 15px;
  line-height: 1.5;         /* 改行されたときの行間を適切に保つ */
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  letter-spacing: 0.5px;
  color: #fff !important;
  background-color: #bd103d;
  border: 0px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;       /* 改行を許可 */
  word-break: break-word;    /* 長い単語や英数字でも端で綺麗に折り返す */
  max-width: 100%;           /* 親要素からはみ出さない */
}

/* アイコン画像の設定 */
.btn_file img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;            /* テキストが長くなってもアイコンが潰れないように設定 */
  display: block;
}

.btn_file:visited { 
  color: #fff !important; 
}
.btn_file:hover,
.btn_file:active {
  background-color: #7d0021 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ----------------------------------------------------
  横ライン
---------------------------------------------------- */
.barbar {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 0; /* 上下に余白を開けて、一瞬で通り過ぎるのを防ぐ */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1);
}

.barbar.is-inview {
  transform: scaleX(1);
}

/* ----------------------------------------------------
  よくある質問
---------------------------------------------------- */
.accordion_area .accordion_one .ac_header {
  background-color: #fcfcfc;
  padding: 20px 50px 20px 20px;
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition: .2s;
}
@media print, screen and (min-width: 768px) {
.accordion_area .accordion_one .ac_header {
  padding: 20px 50px 20px 20px;
  position: relative;
  }
}
.accordion_area .accordion_one1:nth-child(odd) .ac_header {background-color: #f9f8f7;}
.accordion_area .accordion_one .ac_header .i_box {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 20px;
  height: 20px;
  margin-top: -10px;
}
@media print, screen and (min-width: 768px) {
.accordion_area .accordion_one .ac_header .i_box {
  right: 2rem;
  }
}
.accordion_area .accordion_one .ac_header .i_box:before, .accordion_area .accordion_one .ac_header .i_box:after {
  position: absolute;
  content: "";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
}
.accordion_area .accordion_one .ac_header .i_box:before {
  border-top: 2px solid #222;
  width: 20px;
  height: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.accordion_area .accordion_one .ac_header .i_box:after {
  border-left: 2px solid #222;
  width: 0;
  height: 20px;
  top: 0;
  bottom: 0;
  right: 9px;
  transition: .3s;
}
.accordion_area .accordion_one .ac_header.open .i_box:after {
  height: 0;
}
.accordion_area .accordion_one .ac_inner {
  display: none;
  padding: 20px 20px 20px 20px;
/*  border-left: 1px solid #c6d8d6;
  border-right: 1px solid #c6d8d6;
  border-bottom: 1px solid #c6d8d6;*/
  box-sizing: border-box;
  background: #fff;
}

/* faq
---------------------------------------------------- */
.p-faq__headinner {
  display: block;
  padding-left: 35px;
  position: relative;
  line-height: 1.5;
}
.p-faq__headinner::before {
  position: absolute;
  top:-1px;  
  left: 0;
  content: "Q．";
  color: #052558;
  font-weight: bold;
}
.p-faq__bodyinner {
  display: block;
  padding-left: 35px;
  position: relative;
  line-height: 1.5;
}
.p-faq__bodyinner::before {
  position: absolute;
  top:5px;
  left: 0;
  content: "A．";
  color: #052558;
  font-weight: bold;
}