@charset "utf-8";

/* ----------------------------------------------------
  ローディング
---------------------------------------------------- */
.fadeUp{
  animation-name: fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start {
  background: url("../images/bg.jpg"); /* 背景色 */
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
}

.start img {
  max-width: 340px;
  min-width: 300px;
  height: auto;
}

/* 小さいスマホ用 */
@media only screen and (max-width: 480px) {
  .start img {
    width: 60vw;
    max-width: none;
  }
}

.start p {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%,-50%);
  display: none;
  z-index: 9999;
}

.loading {
  position: fixed;
  top: 69%;
  transform: translate(-50%,-50%);
  display: none;
  z-index: 9999;
  left: 50%;
  color: #649fd9;
  font-size: 17px;
}

.loading span {
  display: inline-block;
  margin: 0 -.075em 50px;
  animation: loading .7s infinite alternate;
}
.loading span:nth-child(2) {animation-delay: .1s;}
.loading span:nth-child(3) {animation-delay: .2s;}
.loading span:nth-child(4) {animation-delay: .3s;}
.loading span:nth-child(5) {animation-delay: .4s;}
.loading span:nth-child(6) {animation-delay: .5s;}
.loading span:nth-child(7) {animation-delay: .6s;}

@keyframes loading {
  0% { transform: scale(1); }
  100% { transform: scale(0.8); }
}


/* ----------------------------------------------------
  h2
---------------------------------------------------- */
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}	


/* ----------------------------------------------------
  帯からのテキスト出現
---------------------------------------------------- */
.mannaka{
  text-align: center;
  margin:0 auto;
}

/* 1
--------------------------- */
.animated__colorBox {
/*  font-family: "Cormorant Garamond", serif;*/
  position: relative;
  white-space: nowrap;
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  color: #fff;
  background-image: linear-gradient(90deg, #ffbb80, #fb869b);
  font-size: 20px;
  padding:10px 15px 10px 18px;
  letter-spacing: 3px;
/*  border-radius: 5px;*/
/*  text-align: center;
  margin:0 auto;*/
}

.animated__colorBox::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #353a51;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
/*  border-radius: 5px;*/
}

.animated__colorBox.js-show {
  animation: 0.8s forwards ease-in-out textView;
}

.animated__colorBox.js-show::after {
  animation: 0.8s forwards ease-in-out colorBox;
}

/* keyframes
--------------------------- */
@keyframes textView {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes colorBox {
  0%, 50% {
    transform-origin: 0 50%;
  }
  60%, 100% {
    transform-origin: 100% 50%;
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}


/* ----------------------------------------------------
  リンクボタン
---------------------------------------------------- */
/* カード全体（リンク）
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.link-card {
  border-bottom: solid #e7d7cf 1px;
  }
}

.link-card {
  display: block;
  text-decoration: none;
  transition-duration: 300ms;
  background: url("../images/bg_paper_02.jpg");
}

/* ホバー時　影＋背景色 */
.link-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition-duration: 300ms;
  background: url("../images/bg_paper_02.jpg");
}

/* 下：テキスト＋矢印の横並び
---------------------------------------------------- */
.link-card__body {
  display: flex;               /* 左右に並べる */
  justify-content: space-between; /* 左右の要素を両端に配置し、間の余白を自動で広げる */
  align-items: center;         /* 上下中央揃え */
  padding: 20px;
}

@media print, screen and (min-width: 992px) {
.link-card__body {
  padding: 60px;
  }
}

@media only screen and (max-width: 767px) {
  .link-card__body{
    border-bottom: 1px solid #e7d7cf;
  }
}
@media screen and (min-width: 768px) {
  .link-card__body{
    border-right: 1px solid #e7d7cf;
  }
}


/* 左側テキスト
---------------------------------------------------- */
.link-card__text {
  flex: 1;                     /* 余った幅をすべて使う */
}

.link-card__title {
  font-size: 20px;
  margin-bottom: 3px;
}

@media print, screen and (min-width: 768px) {
.link-card__title {
  font-size: 25px;
  }
}

@media print, screen and (min-width: 992px) {
.link-card__title {
  font-size: 30px;
  margin-bottom: 10px;
  }
}


/* 右側：矢印
---------------------------------------------------- */
.link-card__arrow {
  margin-left: 16px;           /* テキストとの間隔 */
  flex-shrink: 0;              /* 縮まないようにする */
}
.link-card__arrow img {
  width: 40px;
  height: auto;
}

/* 矢印にアニメーション用の設定 */
.link-card__arrow {
  transition: transform 0.3s ease;
}

/* カード全体にホバーしたら矢印を右へ */
.link-card:hover .link-card__arrow {
  transform: translateX(6px); /* 右に少し移動 */
}


/* ----------------------------------------------------
  zoom
---------------------------------------------------- */
.mask_01{
  display: block;
  line-height: 0;
  overflow: hidden;
}
.zoomIn_01 img{
  transform: scale(1);
  transition: .3s ease-in-out;
}
.zoomIn_01 a:hover img{
  transform: scale(1.1);
}


/* ----------------------------------------------------
  お知らせ
---------------------------------------------------- */
/*  btn_news
---------------------------------------------------- */
.btn_news {
  display: inline-block;
  width: 200px;
  padding: 15px 2px;
  text-align: center;
  letter-spacing: 2px;
  color: #222 !important;
  border: 1px solid #222;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 100px;
}
.btn_news:visited {
  color: #222 !important;
}
.btn_news:hover,
.btn_news:active {
  background: #eee;
  letter-spacing: 3px;
  color: #222 !important;
  text-decoration: none !important;
}

/*  news
---------------------------------------------------- */
.js-tab{margin-bottom: 8px;}
.nav-tabs {border-bottom: 0px}
.nav-tabs > li{margin-right: 5px;}
.nav-tabs i{margin-left: 5px;}

.nav-tabs > li > a,
.nav-tabs > li > a:focus {
	display: block;
	color: #fff; /* タブ文字色 */
	text-align: center;
  background-color: #e7434c; /* タブ背景色 */
	font-size: 12px;
  padding: 8px 15px;
  border-radius: 10px;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;  
	}
.nav-tabs > li > a:hover,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	display: block;
	color: #fff; /* タブ文字色 */
	text-align: center;
  background-color: #353a51; /* タブ背景色 */
	font-size: 12px;
  padding: 8px 15px;
  border-radius: 10px;
}

@media print, screen and (min-width: 768px)  {
.js-tab{margin-bottom: 20px;} 
.nav-tabs > li{margin-right: 5px;}
.p-news .nav-tabs::before,
.p-news .nav-tabs::after {display: none;}

.nav-tabs > li > a,
.nav-tabs > li > a:focus {
	font-size: 14px;
  padding: 10px 30px;
	}
.nav-tabs > li > a:hover,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	font-size: 14px;
  padding: 10px 30px;
	}
}

/* ニュースエリア
---------------------------------------------------- */
.news_area{
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  position: relative;
  transition: box-shadow .3s ease;　/* 変化時シャドウ */
}

/* リンクありの記事（aにつくクラス）
---------------------------------------------------- */
.news_area_link{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* リンクありの場合　右に余白
---------------------------------------------------- */
.news_area_link .news_area {
  padding-right: 65px;
}
@media print, screen and (min-width: 768px) {
.news_area_link .news_area {
  padding-right: 130px;
  }
}

.news_area_link:hover .news_area{
  box-shadow: 0px 0px 5px 0px rgba(14,29,35,0.2);
}

.news_link_arrow{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  background: #353a51;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 10px 10px 0;
  transition: background .3s ease;
}
@media print, screen and (min-width: 768px) {
.news_link_arrow{
  width: 100px;
  }
}

.news_link_arrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  display: block;
  transition: transform .3s ease;
}

/* 背景暗く
---------------------------------------------------- */
.news_area_link:hover .news_link_arrow{
  background: #13172a;
}

/* 矢印スライド
---------------------------------------------------- */
.news_area_link:hover .news_link_arrow::before{
  transform: translateX(5px) rotate(-45deg);
}

/* デフォルトは非表示
---------------------------------------------------- */
.news_link_arrow {
  display: none;
}

/* リンクの場合　表示
---------------------------------------------------- */
.news_area_link .news_link_arrow {
  display: flex;  /* もともとの flex 指定を反映 */
}

/* 記事　詳細
---------------------------------------------------- */
.news_ctgr{
  display: inline-block;
  color: #fff;
  background: #353a51;
  font-size: 13px;
  line-height: 20px;
  border-radius: 100px;
  padding:5px 15px;
  margin:0 8px 4px 0;
}
.news_day{
  display: inline-block;
  font-size: 13px;
  margin:0 8px 4px 0;
}
.news_new{
  display: inline-block;
  font-size: 13px;
  margin:0 0 4px 0;
}

@media print, screen and (min-width: 768px) {
.news_ctgr{
  margin:0 15px 6px 0;
}
.news_day{;
  margin:0 15px 6px 0;
}
.news_new{
  margin:0 0 8px 0;
  }
}


/* ----------------------------------------------------
    タブ切り替え（静）
---------------------------------------------------- */
.tab_shell_scroll {
  width: 100%;
  margin: 0 auto;
}

.tab_shell_scroll input[type="radio"] {
  display: none;
}

.tab_tabs_scroll {
  font-size: 0;
  white-space: nowrap;
  overflow: hidden; /* 横スクロールをなくす */
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap; /* タブを複数行に折り返し */
  gap: 10px; /* タブ間のスペース */
  margin-bottom: 10px; /* タブの下に余白を追加 */
}

.tab_tabs_scroll label {
  display: block;
  font-size: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 5px;
  vertical-align: top;
  background-color: #a1b6ee;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 80px; /* タブの最小幅 */
  text-align: center;
}

@media screen and (min-width: 768px) {
  .tab_tabs_scroll label {
    font-size: 16px;
    padding: 15px 25px 13px 25px;
    min-width: 120px; /* 幅を広げる */
  }
}

.tab_tabs_scroll label:hover {
  opacity: 0.5;
}

.tab_tabs_scroll label i {
  margin-left: 5px;
  font-size: 14px;
}

#tab1:checked ~ .tab_tabs_scroll label.tab_tabs_01,
#tab2:checked ~ .tab_tabs_scroll label.tab_tabs_02 {
  background-color: #4e79e8;
  font-weight: bold;
}

.tab_zone_cluster {
  width: 100%;
  padding: 0;
  display: none;
}

#tab1:checked ~ .tab_zone_scroll #tab_zone_01 {
  display: block;
}

#tab2:checked ~ .tab_zone_scroll #tab_zone_02 {
  display: block;
}

.tab_zone_scroll {
  background: #fff;
  padding: 10px 15px 5px 15px;
  margin-top: 0;
  border-radius: 5px;
}

@media print, screen and (min-width: 768px) {
  .tab_zone_scroll {
    padding: 30px 40px 15px 40px;
  }
}

@media print, screen and (min-width: 992px) {
  .tab_zone_scroll {
    padding: 50px 60px 20px 60px;
  }
}


/* タブエリア内　記事ごとの余白
---------------------------------------------------- */
.tab_zone{
  background:#faf3f0;
  padding: 20px;
  border-radius: 10px;
}
@media print, screen and (min-width: 768px) {
.tab_zone{
  padding:50px 30px 5px 30px;
  }
}

.tab_zone h5{
  color: #06c7b6;
  font-size: 15px;
  margin-bottom: 7px;
  font-weight: bold !important;
}

.tab_zone .border_box{
  border-left: 1px solid #222;
  padding-left: 20px;
  margin-bottom: 20px;
}

@media print, screen and (min-width: 768px) {
.tab_zone .border_box{
  margin-bottom: 30px;
  }
}