@charset "utf-8";

/* ----------------------------------------------------
  h2
---------------------------------------------------- */
/* 左寄せ　背景画像あり　文字アニメーション
---------------------------------------------------- */
.h2_02{background: url("../images/h2_02.jpg") no-repeat scroll 50% 0% / cover;}
.h2_03{background: url("../images/h2_03.jpg") no-repeat scroll 50% 0% / cover;}
.h2_04{background: url("../images/h2_04.jpg") no-repeat scroll 50% 0% / cover;}
.h2_05{background: url("../images/h2_05.jpg") no-repeat scroll 50% 0% / cover;}
.h2_06{background: url("../images/h2_06.jpg") no-repeat scroll 50% 0% / cover;}

.h2_midasi_01_bgimg {
  position: relative;
  color: white;
  z-index: 0;
  overflow: hidden;
}
.h2_midasi_01_bgimg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* 暗さ調整 */
  z-index: -1;
}
.h2_midasi_01{
	padding:20px 0;
	text-align: center;
	color: #fff;
}
@media print, screen and (min-width: 768px) {.h2_midasi_01{padding:50px 0 100px 50px; text-align: left;}}
@media print, screen and (min-width: 1200px) {.h2_midasi_01{padding:70px 0 120px 70px;}}

.h2_midasi_01 p{
	font-size: 18px;
	line-height:20px;
	letter-spacing:2px;
	}
.h2_midasi_01 h1{
	font-size: 30px;
	line-height:40px;
	letter-spacing:5px;
}
@media print, screen and (min-width: 768px) {
.h2_midasi_01 p{
	font-size: 25px;
	line-height:35px;   
	}
.h2_midasi_01 h1{
	font-size: 40px;
	line-height:50px;
	letter-spacing:5px;
	}
}
@media print, screen and (min-width: 992px) {
.h2_midasi_01 p{
	font-size: 25px;
	line-height:35px;  
	}
.h2_midasi_01 h1{
	font-size: 50px;
	line-height:60px;
	}
}
@media print, screen and (min-width: 1600px) {
.h2_midasi_01 p{
	font-size: 25px;
	line-height:35px;  
	}
.h2_midasi_01 h1{
	font-size: 60px;
	line-height:70px;
	}
}

.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}

/* ----------------------------------------------------
  ぱんくず
---------------------------------------------------- */
.pankuzu ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 auto;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

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

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

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

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

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

/* ----------------------------------------------------
  画像拡大
---------------------------------------------------- */
/* zoom
------------------------- */
.zoom-link {cursor: zoom-in;}
.zoom-link img {transition: transform 0.3s ease;}
.zoom-link:hover img {transform: scale(1.05);}

/* 縦横比
------------------------- */
.photo-ofi {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 100 / 67;
  background: #eee; /* 任意色 */
  border: 1px solid #ddd; /* 任意色 */
  margin-bottom: 5px;
}
.photo-ofi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ----------------------------------------------------
  お知らせ
---------------------------------------------------- */
/* 高さ指定
------------------------- */
#news_area_03 {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100px;
  max-height: 300px;
}
@media print, screen and (min-width: 768px)  {
#news_area_03 {
  min-height: 100px;
  max-height: 400px;
  }
}
@media print, screen and (min-width: 992px) {
#news_area_03 {
  min-height: 100px;
  max-height: 500px;
  }
}
@media print, screen and (min-width: 1200px) {
#news_area_03 {
  min-height: 100px;
  max-height: 600px;
  }
}
@media print, screen and (min-width: 1400px) {
#news_area_03 {
  min-height: 100px;
  max-height: 700px;
  }
}

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

/* 記事
-------------------------- */
.news_kiji{
  padding: 20px;
  margin-bottom: 20px;
  background: url("../images/bg_img_01.jpg");
}

@media print, screen and (min-width: 992px) {
.news_kiji{
  padding: 25px;
  }
}

@media print, screen and (min-width: 1200px) {
.news_kiji{
  padding: 35px;
  }
}

/* 日付
-------------------------- */
.news_date{
  font-size: 15px;
  line-height: 18px;
}

.news_date .new{
  font-size: 10px;
  color: #fff;
  background:#df2e3c;
  padding:0 2px 1px 2px;
  vertical-align: 1px;
  margin-left: 10px;
}

/* タイトル
-------------------------- */
.news_title{
  margin-top: 2px;  
  font-size: 20px;
  font-weight: bold;
  }
@media print, screen and (min-width: 992px) {
.news_title{
  font-size: 22px;
  }
}

/* テキストリンク
-------------------------- */
.news_html{
  margin-top: 1px;
  font-size: 15px;
  line-height: 25px;
}

/* テキストリンク
-------------------------- */
.news_html a:link,
.news_html a:visited{text-decoration:underline; color:#222;}
.news_html a:hover,
.news_html a:active{text-decoration:none; color:#222;}

/* 写真
-------------------------- */
.news_photos{margin-top: 5px;}
@media print, screen and (min-width: 768px) {.news_photos{ margin-top: 10px;}}

/* ----------------------------------------------------
  リンクカード全体
---------------------------------------------------- */
.link-card {
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  text-decoration: none;
  transition: all 300ms ease;
  overflow: hidden;
  background: #df2e3c;
  margin-bottom: 20px;
}
.link-card:hover {
  background: #ba2b36;
}

@media print, screen and (min-width: 768px) {
.link-card {
  flex-direction: row; /* 横並び */
  align-items: stretch; /* 左と右の高さを揃える */
  margin-bottom: 30px;
}
  /* テキストエリア（55%） */
  .link-card__body {
    flex: 0 0 55%;
    max-width: 55%;
  }
  /* 画像エリア（45%） */
  .link-card__img {
    flex: 0 0 45%;
    max-width: 45%;
  }
}

@media print, screen and (min-width: 1600px) {
.link-card {
    margin-bottom: 50px;
  }
  /* テキストエリア（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: 15px;
  }
}
@media print, screen and (min-width: 992px) {
  .link-card__body {
    padding: 20px;
  }
}
@media print, screen and (min-width: 1600px) {
  .link-card__body {
    padding: 30px;
  }
}

/* 見出し＋テキスト
-------------------------- */
.link-card__title {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}
@media print, screen and (min-width: 768px) {
.link-card__title {
  font-size: 15px;
  }
}
@media print, screen and (min-width: 992px) {
  .link-card__title {
    font-size: 15px;
    line-height: 20px;
  }
}
@media print, screen and (min-width: 1200px) {
  .link-card__title {
    font-size: 17px;
    line-height: 27px;
  }
}
@media print, screen and (min-width: 1600px) {
  .link-card__title {
    font-size: 20px;
    line-height: 30px;
  }
}

/* 矢印画像エリア
-------------------------- */
.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;
}
.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;
}


/* ----------------------------------------------------
   カテゴリ　３並び
---------------------------------------------------- */
/* カテゴリエリア
-------------------------- */
.items_area_01 {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media print, screen and (min-width: 768px) {
.items_area_01 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  }
}

@media print, screen and (min-width: 1400px) {
.items_area_01 {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  }
}

/* アイテム　ボックス
-------------------------- */
.items_box_01 {
  padding: 15px;
  background-color: #fff; /* 背景色 */
  -webkit-mask: linear-gradient(135deg, transparent 15px, #000 0);
  mask: linear-gradient(135deg, transparent 15px, #000 0);
  box-shadow: 0 0 4px 4px rgba(160,160,160,2);    
}
@media print, screen and (min-width: 992px) {
.items_box_01 {
  padding: 20px;
  }
}
@media print, screen and (min-width: 1400px) {
.items_box_01 {
  padding: 30px;
  }
}

/* アイテム　ボックス　写真
-------------------------- */
.items_box_01 .photo-ofi {
  margin-bottom: 15px;
}

/* アイテム　ボックス　テキスト
-------------------------- */
.items_box_title{}

/* ----------------------------------------------------
  円のテキストアニメ
---------------------------------------------------- */
.circleyou_box{
  position: relative;
}
@media only screen and (max-width: 767px) {
.circleText_area_01{
  position: absolute;
	z-index: 1;
	max-width: 130px;
	max-height:130px;  
	top: -50px;
  right:50px;
  transition: all 0.3s ease;
	}
}
@media print, screen and (min-width: 768px){
.circleText_area_01 {
  position: absolute;
	z-index: 1;
  width: 120px;
  height:120px;
	top: 0px;
  right:50px;
  margin: auto;
  transition: all 0.3s ease;  
  }
}
@media print, screen and (min-width: 1200px){
.circleText_area_01 {
  width: 180px;
  height:180px;
	top: -50px;
  right:70px;  
  }
}

.circleText_01 {
  overflow: visible;
  animation: rotation 24s linear infinite;
 } 
.circleText__circle_01 {
  fill: none;
}
.circleText__text_01 {
  fill: #fff; 
  font-size: 8.8px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ----------------------------------------------------
    背景固定画像（スクロール連動ズームアウト）
---------------------------------------------------- */
.bg_haikei_01 {
    background: url("../images/main01.jpg") no-repeat center bottom;
    background-size: 100% auto;
    transition: background-size 0.1s ease-out;
}
@media print, screen and (min-width: 992px) {
    .bg_haikei_01 {
        background: url("../images/main01.jpg") no-repeat center center;
        background-size: 130% auto;
        height: auto;
    }
}

.part_h {padding: 30px 0;}
@media print, screen and (min-width: 768px) { .part_h { padding: 100px 0;}}
@media print, screen and (min-width: 992px) { .part_h { padding: 80px 0;}}

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

/* ----------------------------------------------------
    ズームイン
---------------------------------------------------- */
.quick_up_box_04 {
  overflow: hidden;
  will-change: clip-path;
  transform: translateZ(0);
  box-shadow: inset 0 0 0 1px transparent; 
}
.quick_up_box_04 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}