@charset "utf-8";
/* ====================
　　　基本色
   ==================== */

:root {
	--main-color: rgba(0, 0, 0, 0);
	--accent-color: #F9799F;
	--dark-main-color: #F9799F;
	--text-bright-color: #fff;
	--icon-color: #F9799F;
	--gray-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
}

/* ====================
	基本設定： フォントサイズ
   ==================== */
@media (max-width: 450px) {
    /* さらに小さなスマホでのサイズ調整（例：iPhone SEなど） */
    .slideshow-container h1 {
        font-size: 5vw; /* より控えめに */
    }
}

@media (max-width: 599px) {
    /* スマホサイズ以下でのH1タイトルのサイズ調整 */
    .slideshow-container h1 {
        font-size: 6vw; /* タイトルを少し大きく見せつつ */
        line-height: 1.2;
    }
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 16px;
	}
}

body {font-size: 16px;}



/* ====================
   基本設定： ページ全体
   ==================== */
body {
	margin: 0px 0px;
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ====================
   写真スライドショーのコンテナ
   ==================== */

.slideshow-container {
  width: 100%;
  position: relative;
  max-width: none;
  height: 0; /* 高さを0に設定して、padding-bottomで縦横比を制御 */
  padding-bottom: 56.25%; /* 16:9の縦横比を維持 */
  margin: 0 auto;
  overflow: hidden;
  z-index: 100; /* スライドショーの基本レイヤー */
  background-color: rgba(0, 0, 0, 0);
}

.slideshow-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: 110; /* スライド画像より手前に配置 */
}

.slideshow-logo {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 20px;          /* 上端からの位置（調整してください） */
    left: 20px;         /* 左端からの位置（調整してください） */
    z-index: 10;        /* スライド画像よりも前面に表示 */
    width: 100px;       /* ロゴの幅（適切なサイズに調整してください） */
    height: auto;
}

/* アニメーションのキーフレームを定義 */
@keyframes fadeInSlide {
	from {
		opacity: 0;
		transform: translate(-50%, -40%);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.slideshow-container h1 {
  position: absolute;
  z-index: 120;
  top: 40%;
  left: 50%;
  width: 100%;
  text-align: center;
  font-family: "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  font-weight: 400;
  /* 変更点: サイズをvwにしつつ、最大40pxに制限 */
  font-size: min(4.5vw, 50px); /* 全体設定: 画面幅の4%または最大30px */
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) skewX(-10deg);
}

.slideshow-container h2 {
  position: absolute;
  z-index: 120;
  top: 50%;
  left: 50%;
  width: 100%;
  text-align: center;
  font-family: 'Sacramento', cursive;
  font-weight: 300;
  /* 変更点: サイズをvwにしつつ、最大40pxに制限 */
  font-size: min(5vw, 50px); /* 全体設定: 画面幅の4%または最大30px */
  color: #FFFFFF;
  letter-spacing: 0.0em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) skewX(-10deg);
}

.slideshow-container h1.active {
	animation: fadeInSlide 2s ease-out forwards;
}


@media (max-width: 450px) {  /* さらに小さなスマホでのサイズ調整 */
    .slideshow-container h1 {
     font-size: 5vw;  }
}

@media (max-width: 599px) {  /* スマホサイズ以下でのH1タイトルのサイズ調整 */
    .slideshow-container h1 {
     font-size: 6vw;  }
 }


/* 各スライドのスタイル */
.mySlides {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 105; /* スライドショーの画像 */
}

/* 画像のスタイル */
.mySlides img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* 画像の縦横比を維持しつつ、コンテナに合わせて切り抜く */
	display: block;
	transform: scale(1.2);
	transition: transform 8s ease-out;
}

/* 表示中のスライドに適用するスタイル */
.mySlides.active {
	opacity: 1;
}

/* activeクラスの画像に適用するスタイル */
.mySlides.active img {
	transform: scale(1);
}

/* 前へ・次へボタンのスタイル */
.slideshow-container .prev,
.slideshow-container .next {
	z-index: 130; /* h1よりも高い値に設定 */
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 10px; /* パディングを小さくしてボタンの高さを調整 */
	margin-top: -15px; /* ボタンの縦方向の位置を再調整 */
	color: white;
	font-weight: bold;
	font-size: 20px; /* フォントサイズを小さくしてアイコンも小さく */
	transition: 0.6s ease;
	user-select: none;
	background-color: rgba(0, 0, 0, 0.3);
}

/* 「前へ」ボタンを左側に配置 */
.slideshow-container .prev {
	left: 0;
	border-radius: 0 3px 3px 0; /* 左側の角だけ丸くする */
}

/* 「次へ」ボタンを右側に配置 */
.slideshow-container .next {
	right: 0;
	border-radius: 3px 0 0 3px; /* 右側の角だけ丸くする */
}

/* ボタンにマウスが乗ったときのスタイル */
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* ドットインジケーターのスタイル */
.slideshow-container .dot-container {
	text-align: center;
	position: absolute;
	bottom: 20px;
	width: 100%;
	z-index: 130; /* ボタンと同じか高い値 */
}

.slideshow-container .dot {
	cursor: pointer;
	height: 6px; /* ドットの高さ*/
	width: 6px; /* ドットの幅*/
	margin: 0px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

/* 現在のスライドのドットの色 */
.slideshow-container .dot.active,
.slideshow-container .dot:hover {
	background-color: #717171;
}

/* スライドショーの下に続くコンテンツのスタイル */
.main-content {
	background-color: #ffffff;
	padding: 0;
	min-height: 50vh;
}

/* メニューのCSS */
.menu-container {
	width: 100%;
	padding: 0;
	background-color: #f0f0f0;
	box-sizing: border-box;
}


/* ====================
   フッター (footer)
   ==================== */
footer {
	color: #fff;
	background-color: rgba(249,121,159,1.00);
	margin-top: 30px;
}

footer .container {
	padding: 20px 40px;
	display: block; 
	max-width: 800px;
	position: center;
}

@media (min-width: 768px) {
	footer .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	max-width: var(--large-width);
	margin-left: auto;
	margin-right: auto;
	}

	.footA {
		/* 現状維持: 左側に40%の幅 */
		flex: 0 0 20%;
	}

	.footB {
		/* 現状維持: 右側に60%の幅 */
		flex: 0 0 80%;
	}

	.footC {
		/* 現状維持: footAとfootBの下に100%幅で配置 */
		flex: 0 0 100%;
		/* PC表示でも中央揃えに */
		text-align: center;
	}
}

/* ====================
	フッターA： サイト情報 
   ==================== */
.footA {
	margin-bottom: 30px;
	font-family: "YakuHanJP", 'M PLUS Rounded 1c', sans-serif,'Montserrat';
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 15px;
	letter-spacing: 0em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 13px;
}

.footA p2 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 15px;
}

.footA a {
	color: inherit;
	text-decoration: none;
	transition: background-color 0.5s linear;
}

.footA a:hover {
	transition: background-color 0.1s linear;
	background-color: rgba(255,255,255,0.20);
}

/* ====================
	フッターB： 3列メニュー 
   ==================== */
.footB div {
	margin-bottom: 10px;
	font-family: "YakuHanJP", 'M PLUS Rounded 1c', sans-serif,'Montserrat';

}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 13px;
	padding-bottom: 5px; 
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 2px 0px 2px 0px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
	transition: background-color 0.5s linear;
}

.footB a:hover {
	transition: background-color 0.1s linear;
	background-color: rgba(255,255,255,0.20);}

@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 10px;
	}
}

/* ====================
	フッターC： コピーライト
   ==================== */
.footC {
	font-size: 10px;
	text-align: center;
	font-family: 'Itim', cursive;
	
	}
/* ====================
	フッターD： SNSメニュー
   ==================== */
.footD {
	margin: 10px 0px 8px 0px;
}

.footD ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footD a {
	display: block;
	margin-right: 8px;
	padding: 0;
	color: inherit;
	font-size: 13px;
	text-decoration: none;
	border: solid 1px currentColor;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	transition: background-color 0.5s linear;
}

.footD a:hover {
	transition: background-color 0.1s linear;
	background-color: rgba(255,255,255,0.20);
}


/* ====================
   ヘッダー (header)
   ==================== */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	background-color: rgba(0, 0, 0, 0);
	padding: 5px 0px 5px 0px;
}
.nohero header {
    position: absolute; /* 強制的に絶対配置（浮いた状態）にする */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;      /* スライドより手前に表示 */
    border-bottom: none; /* 下線を消す */
    background-color: transparent; /* 背景を透明にする */
}

/* モバイル用メニューボタン（ハンバーガー）の色調整 */
/* 背景が写真になるため、ボタンの色を白にして見やすくします */
.nohero .headC {
    color: #fff !important; 
}

/* ====================
   ヘッダー (サイト名)
   ==================== */

.headA {
	display: inline-block;
	line-height: 0px;
	padding: 0px 20px 0px 20px;
	background-color: rgba(255,102,216,0.75);
	background-color: var(--main-color);
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
}

/* ====================
 　ヘッダーB：（ナビゲーションメニュー）
   ==================== */
.headB ul {
  list-style: none;
  color: #FFFFFF;
  margin: 0px 2px;
　padding: 10px ;
　display: flex;
  gap: 7px; /* アイコン間の間隔を狭くする */
}

.headB title	{
	font-size: 1rem;
	width: 100%;
	text-align: center;
	color: #fff;
}

.headB a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.7em; /* アイコンのサイズを小さくする */
  padding: 5px 10px;
  transition: background-color 0.3s linear;
}

.headB a:active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}
	
.headB a:hover {
	color: #FFFFFF;
	border-radius: 5px;
	transition: background-color 0.6s linear;
	background-color: rgba(127,96,253,0.76);
	transition-duration: 0.3s;
}

@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

  .headB ul {
		display: flex;
	}

  .headB ul {
		display: flex;
		gap: 2px;
	}
}


/* ====================
  ヘッダーC： (トグルボタン)
   ==================== */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
		.headC {
		margin-right: 5px;
		padding: 5px;
		border: none;
		outline: none;
		background: none;
		font-size: 18px;
		opacity: 0.5;
		cursor: pointer;
		color: #2E2E2E; /* トグルボタンの色 */
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
	}
}
	
@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}


/* ====================
  ヘッダーC： (モバイルメニュー展開時のスタイル (トグルボタン展開時の崩れ対策))
   ==================== */
	  
	.headC {
		margin-right: 5px;
		padding: 5px;
		border: none;
		outline: none;
		background: none;
		font-size: 18px;
		opacity: 0.5;
		cursor: pointer;

	}
	 .nohero .headC {
        color: #5D1BD8;
    }

	.headC:hover {
		opacity: 0.5;
	}

	.headB {
		display: none;
	}


/* ====================
    コンテンツ: post
   ==================== */

.post .container {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	color: #fff;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.post h1 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	background-color: #F9799F;
	border-radius: 2px;
	box-shadow: none;
	text-align: left;
	color: #fff;
	letter-spacing: 0em;
	font-weight: 400;
	padding: 1px 1px;
	border-left: solid 0.75rem #FF608F;
	font-size: .8rem;
}
	
.post p {
	font-size: 0.7rem;
	line-height: 1;
	padding: 0px;
	margin: 5px 20px 0px 20px;
}

.post p2 {
	font-size: 0.4rem;
 	line-height: 1;
	padding: 0px 10px;
	text-decoration: none;
}

.post img {
	max-width: 100%;
	border-radius: 4px;
	margin: 10px 10px 10px 0px;
}


/* ====================
    記事一覧A listA
   ==================== */
.listA .container {
 display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin: 1px 5px;
 }

.listA .container2 {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin: 0px 1px;
	font-size: 0.6em;
}

.listA .YouTube {
	padding: 0px;
	margin: 2px 0px;
	background-position: center;
	text-align: center;
}

.listA h1 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	background-color: #F9799F;
	border-radius: 2px;
	box-shadow: none;
	text-align: left;
	color: #fff;
	letter-spacing: 0em;
	font-weight: 400;
	padding: 1px;
	border-left: solid 0.75rem #FF608F;
	font-size: .8rem;
}
	
.listA h3 {
	border-style: none;
	box-shadow: none;
	text-align: center;
	margin: 0px 0px;
	color: #fff;
	font-size: .8rem;
	letter-spacing: 0em;
	font-weight: 10px;
}

.listA article {
	flex: 1 1 160px;
	display: flex;
	margin: 2px 0.5px 2px 0.5px;
  }

.listA article_st1 {
	flex: 1 1 100px;
	display: flex;
	background-color: #FFCAF6;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 3px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 3px;
	box-shadow: 0 2px 0 #C9C9C9, 0 2px 0 rgba(0,0,0,.2);
}

.listA article_st2 {
	flex: 1 1 100px;
	display: flex;
	background-color: #AAFFC9;
 	border-bottom-right-radius: 10px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 10px;
	border-bottom-left-radius: 3px;
 	box-shadow: 0 2px 0 #C9C9C9, 0 2px 0 rgba(0,0,0,.2);
}

.listA article_st3 {
	flex: 1 1 100px;
	display: flex;
 	background-color: #FFBAC7;
 	border-bottom-right-radius: 10px;
	border-top-right-radius: 3px;
 	border-top-left-radius: 10px;
 	border-bottom-left-radius: 3px;
 	box-shadow: 0 2px 0 #C9C9C9, 0 2px 0 rgba(0,0,0,.2);
}

.listA article_st4 {
	flex: 1 1 100px;
	display: flex;
 	background-color: #BFBAFF;
 	border-bottom-right-radius: 10px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 10px;
 	border-bottom-left-radius: 3px;
 	box-shadow: 0 2px 0 #C9C9C9, 0 2px 0 rgba(0,0,0,.2);
}


.listA a {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition-duration: .5s;
 	background-color: #background;
}

.listA a1 {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition-duration: .5s;
 	border-bottom-right-radius: 70px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 60px;
 	border-bottom-left-radius: 3px;
 	background-color: #FF7AF2;
}

.listA a2 {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition-duration: .5s;
 	border-bottom-right-radius: 70px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 60px;
 	border-bottom-left-radius: 3px;
 	background-color: #00B88D;
}

.listA a3 {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition-duration: .5s;
 	border-bottom-right-radius: 70px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 60px;
 	border-bottom-left-radius: 3px;
 	background-color: #FF386A;
}

.listA a4 {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition-duration: .5s;
 	border-bottom-right-radius: 70px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 60px;
 	border-bottom-left-radius: 3px;
 	background-color: #8DA1FF;
}

.listA p {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	color: #777777;
	font-size: 0.65rem;
	line-height: 1.5em;
 	margin: 2px 20px 0px 20px;
	text-align: left;
}

.listA p2 {
	font-size: 0.75rem;
	line-height: 1.2em;
 	margin-top: 10px;
 	margin-bottom: auto;
 	align-items: center;
 	justify-items: center;
	text-decoration: none;
	color: #777777;
 	text-align: center;
 	padding: 10px 0px 0px 0px;
}

.listA p3 {
	color: #777777;
	font-size: 0.6rem;
	line-height: 1.5em;
 	padding: 0px 20px;
	margin: auto;	
	text-align: left;
}

.listA p5 {
	font-size: 0.75rem;
	line-height: 0.5em;
	text-align: center;
	color: #777777;
 	display: flex;
 	justify-content: center;
 	align-items: center;
 	padding: 4px 0px 4px 0px;
}

.listA p10 {
 	font-family: 'Arial';
 	text-align: center;
	line-height: 1.7em;
 	background-color: #ffffff;
 	border-radius: 10px;
	padding: 1.5px 10px 1.5px 10px;
}

.listA img {
	max-width: 100%;
	border-radius: 10px;
	}

.listA .photo {
	min-height: 100px;
	background-position: center;
	background-size: cover;
	margin: 0px;
	text-align: center;
 	border-bottom-right-radius: 20px;
 	border-top-left-radius: 20px;
 	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* 柔らかい影を追加 */
	box-shadow: 0 2px 0 #C9C9C9, 0 2px 0 rgba(0,0,0,.2);
  }
.listA .photo10 {
	min-height: 100px;
	background-position: center;
	background-size: cover;
	margin: 10px 0px 4px 0px;
 	border-bottom-right-radius: 50px;
 	border-top-left-radius: 50px;
	text-align: center;
}

.listA .photo2 {
	min-height: 19px;
	background-position: center;
	background-size: cover;
	border-radius: 3px;
	}

/* ====================
   障害者施設と高齢者施設のリンクバナーの画像コンテナ
   ==================== */
.container article .photo {
  height: 130px; /* 高さを設定 */
  /* background-size: cover; */ /* 画像が縦長になった場合は、coverで調整されるように念のため確認 */
  overflow: hidden; /* 拡大時に画像がはみ出さないように */
  transition: transform 0.3s ease-in-out; /* マウスオーバー時のアニメーションを滑らかに */
}

/* ====================
   マウスオーバー時に枠内で写真を拡大する効果
   ==================== */
.container article a:hover .photo {
  transform: scale(1.1); /* 1.1倍に拡大する */
}

/* ====================
  .photo2を含むaタグにマウスオーバーした時の動作
   ==================== */
.photo2 {
  transition: transform 0.3s ease-in-out;
}
article a:hover .photo2 {
  transform: scale(1.05);
}

.listA .photo3 {
	position: relative; 
	overflow: hidden;   
	min-height: 130px;
	min-width: 60px;
	background-position: center;
	background-size: cover;
	border-radius: 5px;
	margin: 0px 2px;
	}

/* すべての.photo2クラスにトランジション効果を追加 */
.photo3 {
  transition: transform 0.3s ease-in-out;
}

article a:hover .photo3 {
  transform: scale(1.01);
}

.listA .wrap {
  text-align: center;
 }

.listA .text {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 0.75rem;
	color: #777777;
	padding: 4px 1px 2px 1px;
	line-height: 1em;
 	align-items: center;
 	justify-items: center;
	text-align: center;
	text-decoration: none;
	transition-duration: .5s;
 	border-radius: 10px;
 }

.listA .text2 {
	font-size: 0.75rem;
	color: #777777;
	padding: 4px 1px 4px 1px;
	line-height: 1em;
 	align-items: center;
 	justify-items: center;
	text-align: center;
	text-decoration: none;
	transition-duration: .5s;
 	border-radius: 5px;
 	margin: 2px 2px 2px 2px;
  }

.listA .text3 {
 	font-size: 0.65rem;
	color: #777777;
	padding: 4px 1px 4px 1px;
	line-height: 1em;
 	align-items: center;
 	justify-items: center;
	text-align: center;
	text-decoration: none;
	transition-duration: .5s;
 	border-radius: 5px;
 	margin: 2px 2px 2px 2px;
 	background-color: rgba(249,121,159,0.12);
 }

.listA  a:active {
	transform: translateY(3px);
	transition-duration: .5s;
 	font-color: #F8459E;
 }

.listA  a:hover {
	opacity: 0.5;
	transition-duration: .4s;
 	color: rgba(255,141,247,0.25);

 }

@media (min-width: 1000px) {
	.listA article {
  		flex: 1 1 %; }
}


/* ====================
   タイトル（アコーディオン仕様）
   ==================== */

/* アコーディオンコンテンツの初期状態を非表示にする */
.accordion-content {
    /* ★この設定が最も重要 */
    display: none; 
    overflow: hidden; 
	align-items: center;
}
.accordion-title::after {/*　右端に（下向きの矢印） */
    content: "\f0d7"; /* Font Awesomeのアイコンコード（▼） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: transform 0.3s;
    margin-left: 10px;
    margin-right: 20px;
}
.accordion-title::before {/* 左端に（下向きの矢印） */
    content: "\f0d7"; /* Font Awesomeの下向き矢印のコード (▼) */
    font-family: "Font Awesome 5 Free"; /* Font Awesomeのフォントを指定 */
    font-weight: 900;
    transition: transform 0.3s;
    /* タイトルテキストとの間にスペースを設ける */
    margin-right: 10px; 
    /* アイコンの色を調整することもできます */
    /* color: #F9799F; */
}

/* 開いた状態のアイコン（上向きに回転） */
.accordion-title.is-open::after {
    transform: rotate(180deg);
}
.accordion-title:hover {
    /* 背景を少し暗くしてクリックを促す */
    background-color: rgba(147,109,255,0.63); 
    border-radius: 4px;
}

/* 開いた状態のアイコン (上向きに回転) */
.accordion-title.is-open::before {
    transform: rotate(180deg);
}


/* ====================
   記事一覧B listB
   ==================== */
.listB .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin: 0px auto;
}

.listB a {
	flex: 1;
	margin: 0px;
	color: inherit;
}

.listB .photo {
	flex: 0 0 100px; 
	min-height: 50px;
	min-width: 220px; /* PCサイズなどでの最小幅 */
	border-radius: 2px;
	margin: 0px 10px 0px 10px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.listB .text {
	flex: 30;
	margin: 0px;
}

.listB p {
	font-size: 13px;
	opacity: 0.8;
	color: #606060
}

@media (max-width: 384px) {
.listB .photo {
	flex: 1;
	/* ?? 修正点: 最小幅の制限を解除し、写真が画面幅に応じて縮小できるようにする */
	min-width: 0; 
	}
.listB .container {
    /* 画面幅全体を使い、左右の余白をなくす */
    max-width: 100%; 
    margin: 0 auto;
}

.listB p {
	display: none;
	margin: 0px;
	}
}

/* ====================
   記事一覧　listC
   ==================== */

.listC .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin: 0px 5px 0px 5px;
 }

.listC article {
	flex: 1 1 160px;
	display: flex;
	margin-top: 4px 0px 0px 0px;
	
}

.listC p {
	margin: 6px;
}

.listC a {
	position: relative;
	flex: 1;
	display: block;
	border: solid 1px #ddd;
	color: inherit;
	text-decoration: none;
	background-color: #FF608F;
	border-radius: 2px;
	margin: 0px 1px 2px 1px;
}

.listC a:hover {
	opacity: 1;
	background-color: #665FFF;
}

.listC .photo {
	min-height: 60px;
	height: 0; 
	background-position: center; 
    background-size: cover;
	opacity: 0.95;
    border-radius: 4px;
}


.listC .text {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 0.8rem;
	color: #777777;
 	align-items: center;
 	justify-items: left;
	text-decoration: none;
	transition-duration: .5s;
	position: absolute;
	bottom: 0;
	text-align: left;
	margin: 4px 4px 5px 4px;
 }



.listC h1 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	background-color: #F9799F;
	border-radius: 2px;
	box-shadow: none;
	text-align: left;
	color: #fff;
	letter-spacing: 0em;
	font-weight: 400;
	padding: 1px;
	border-left: solid 0.75rem #FF608F;
	font-size: .8rem;
}

.listC h3 {
	text-align: left;
	color: #3D3D3D;
	text-shadow: 
        -1px -1px 0 #fff,  /* 左上 */
         1px -1px 0 #fff,  /* 右上 */
        -1px  1px 0 #fff,  /* 左下 */
         1px  1px 0 #fff;  /* 右下 */
	font-size: 0.6rem;
	line-height: 15px; 
	letter-spacing: 0em;
	font-weight: 550;
	margin: 0px 4px;
}

.listC h2 {
	box-shadow: none;
	text-align: left;
	color: #3D3D3D;
		text-shadow: 
        -1px -1px 0 #fff,  /* 左上 */
         1px -1px 0 #fff,  /* 右上 */
        -1px  1px 0 #fff,  /* 左下 */
         1px  1px 0 #fff;  /* 右下 */
	font-size: 0.8rem;
	line-height: 14px; 
	letter-spacing: 0em;
	font-weight: 600;
	margin: 1px 4px;
}

.listC article a:hover .text h2,
.listC article a:hover .text h3 {
    color: #5A4DFF; /* 例: アクセントカラーに変更 */
	text-shadow: 
        -1px -1px 0 #fff,  /* 左上 */
         1px -1px 0 #fff,  /* 右上 */
        -1px  1px 0 #fff,  /* 左下 */
         1px  1px 0 #fff;  /* 右下 */
}

.listC .text2 {
 	text-align: center;
 }

.listC h4 {
	box-shadow: none;
	color: #FFFFFF;
	font-size: 0.65rem;
	font-weight: 500;
	margin: 3px;
	}


@media (min-width: 1000px) {
	.listC article {
		flex: 1 1 25%;
	}
}

/* ====================
   新卒採用情報セクションのバナー個別カラー設定
   ==================== */

/* 1. 介護職募集: ピンク系 */
.listC article.color1 .text {
	border-radius: 10px 3px 10px 3px;
    background-color: #FF7AF2; /* ピンク */
    color: #fff;
}
.listC article.color1 {
    background-color: #FF7AF2; 
	border-radius: 8px;
}

/* 2. 社会福祉士募集: 緑系 */
.listC article.color2 .text {
	border-radius: 10px 3px 10px 3px;
    background-color: #00B88D; /* 緑 */
    color: #fff;
}
.listC article.color2 {
    background-color: #00B88D; 
	border-radius: 8px;
}

/* 3. 看護師募集: 赤色 */
.listC article.color3 .text {
	border-radius: 10px 3px 10px 3px;
    background-color: #FF386A; /* 赤 */
    color: #fff;
}
.listC article.color3 {
    background-color: #FF386A; 
	border-radius: 8px;
}

/* 4. 説明会･見学会: 青色 */
.listC article.color4 .text {
	border-radius: 10px 3px 10px 3px;
    background-color: #8DA1FF; /* 青色 */
    color: #fff; 
}
.listC article.color4 {
    background-color: #8DA1FF; 
	border-radius: 8px;
}

/* ====================
   記事一覧　listL
   ==================== */

.listL .container {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	padding: auto;
	margin: auto;
}

.listL p {
 	font-family: 'Arial';
 	text-align: center;
	line-height: 1.7em;
 	background-color: #ffffff;
 	border-radius: 10px;
	padding: 1.5px 16px;
}

.listL .photo {
	min-height: 150px;
	background-position: center;
	background-size: cover;
	border-radius: 2px;
	margin: 0px 0px 0px 0px;
}

.listL .photo2 {
	min-height: 80px;
	background-position: center;
	background-size: cover;
	border-radius: 3px;
	margin: 0px 0px 10px 0px;
}

.listL article {
	flex: 1 1 250px;
	display: flex;
}

.listL a {
	flex: 1;
	display: block;
	color: inherit;
	text-decoration: none;
}

.listL h1 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	background-color: #F9799F;
	border-radius: 2px;
	box-shadow: none;
	text-align: left;
	color: #fff;
	letter-spacing: 0em;
	font-weight: 400;
	padding: 1px;
	border-left: solid 0.75rem #FF608F;
	font-size: .8rem;
}


/* ====================
   リンク一覧 listP「各種ページ」
   ==================== */	
.listP .container {
	font-family:'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN',sans-serif,'Yu Gothic','ヒラギノ角ゴ ProN W3';
 	display: flex;
	flex-wrap: wrap;
	margin: 1px 5px;
	max-width: 1000px;
}

.listP article {
	flex: 1 1 160px;
	display: flex;
 	margin: 0px;
}

.listP article2 {
	flex: 1 1 100px;
	display: flex;
}

.listP h1 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	background-color: #F9799F;
	border-radius: 2px;
	box-shadow: none;
	text-align: left;
	color: #fff;
	letter-spacing: 0em;
	font-weight: 400;
	padding: 1px;
	border-left: solid 0.75rem #FF608F;
	font-size: .8rem;
}

.listP a {
	flex: 1;
	border-radius: 1px;
	display: block;
	border: solid 0.5px #ddd;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 1px 0 #B7B7B7, 0 1px 0 rgba(0,0,0,.2);
 	border-bottom-right-radius: 20px;
 	border-top-right-radius: 3px;
 	border-top-left-radius: 20px;
 	border-bottom-left-radius: 3px;
}



.listP p {
	font-size: 0.7rem;
	line-height: 1.5em;
	margin: 0px;	
	padding: 0px;
	border-radius: 1px;
}

.listP p2 {
	font-size: 0.6rem;
	line-height: 1.3em;
	font-weight: 600;	
	text-align: center;
	color: #4A4A4A;
 }

.listP p5 {
	font-size: 0.7rem;
	line-height: 1.3em;
	margin: 0px;	
	border-radius: 2px;
}

.listP  a:hover {
	opacity: 0.6;
	transition-duration: .2s;
	color: #5A4DFF;
 	text-decoration-thickness: 1px;
}

.listP  a:active {
	transform: translateY(3px);
	transition-duration: .5s;
 	text-decoration-thickness: 1px;
 	color: #5A4DFF;
}

.listP .text {
font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
 margin: 0px 2px 0px 2px;
 font-size: 0.7rem;
 line-height: 0rem;
 font-weight: 600;
 text-align: center;
 text-decoration: none;
}

.listP .text3 {
 font-size: 0.7rem;
 line-height: 1rem;
 font-weight: lighter;
 text-align: center;
 text-decoration: none;
}

/* ====================
 「各種ページ」のリンクボタンに適用するスタイル *
   ==================== */
.listP article a {
  /* ボタンの基本スタイル */
  display: block;
  border-radius: 10px; /* 角を少し丸くする */
  color: #2E2E2E; /* 通常時の文字色 */
  text-decoration: none; /* 下線をなくす */
  padding: 4px; /* ボタンの大きさを調整 */
  margin: 1px 0; /* 上下の間隔を調整 */
  transition: all 0.4s ease-in-out; /* マウスオーバー時の変化を滑らかにする */
}

/* マウスオーバー時のスタイル */
.listP article a:hover {
  transform: translateY(-2px); /* わずかに上に移動させる */
}

@media (min-width: 1000px) {
	.listP article {
		flex: 1 1 25%;
	}
}


/* ====================
   リンクボタン
   ==================== */	
.btn1 {
	display: block;
	cursor: pointer;
	text-align: center;
	max-width: 200px;
	line-height: 2px;
	margin: 8px 0px 0px 0px;
	box-sizing: border-box;
	font-size: .6rem;
	padding: 8px 2px; /* 上下の余白を増やして見やすくする */
	border-radius: 3px; /* 角を少し丸くする */
	font-weight: bold; /* テキストを太字にする */
	background: linear-gradient(145deg, #f0f0f0, #ffffff); /* 微妙なグラデーションで立体感を出す */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05); /* 影を柔らかくする */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 動きをより滑らかにする */
}

.btn1:hover {
	color: #333;
	background: linear-gradient(145deg, #e0e0e0, #f0f0f0); /* ホバー時のグラデーションを明るくする */
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1); /* 影を強くして、浮き上がっているように見せる */
	transform: translateY(-2px); /* ボタンをわずかに上に移動させる */
}

.btn1:active {
	color: #fff;
	background: #6C3CF5;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* 影を内側に変更して、へこんだように見せる */
	transform: translateY(2px); /* ボタンを下に移動させる */
}

/* ====================
   トピックス：inflame
   ==================== */	

.iframe-wrapper {
  position: relative;
  padding-bottom: 10%;
  height: 0%;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
}

.inflame {
	border: solid 0px #FFFFFF;
	text-align: center;
	margin-top: 10px;
	padding: 0px;
	}


.inflame span	{
	display: inline-block;
	margin-bottom: 1px;
	font-size: 1rem;
	width: 100%;
	line-height: 1em;
	text-align: center;
	color: #fff;
}

.inflame h2 {
 	font-family: "Kiwi Maru", "Yomogi", "Kosugi Maru", 'ヒラギノ丸ゴ ProN', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
	margin-top: 0;
	font-size: 1rem;
}

.inflame a {
	font-size: 1rem;
	color: inherit;
	text-decoration: none;
	}

.inflame a:hover {
	transition: background-color .5s;
	opacity: 0.5;
	}

@media (min-width: 768px) {
	.inflame-wrap {
		display: flex;
	}

	.inflame {
		flex: 1;
		background-color: #FFFFFF;
	}

	.inflame:first-child {
		margin-right: 0px;
	}


/* ====================
  アレンジ: ヘッダーの色 
   ==================== */
.head-color {
	background-color: #F9799F;
	color: #fff;
}

.head-color .headA {
	background-color: transparent;
	color: inherit;
}

.head-color .headC {
	color: inherit;
}

/* ====================
  アレンジ: ヘッダーとヒーローイメージを一体化
   ==================== */

.head-hero {
	background-color: transparent;
	color: #fff;
}

.head-hero .headA {
	background-color: transparent;
	color: inherit;
}

.head-hero .headC {
	color: inherit;
	opacity: 1;
}

@media (max-width: 767px) {
	.head-hero .headB {
		background-color: rgba(0,0,0,0.6);
	}
}
	
/* ====================
  アレンジ: ヘッダーを画面上部に固定
   ==================== */
.head-fixed,
.nohero .head-fixed {
	position: fixed;
}

.nohero .head-fixed + * {
	margin-top: 70px;
}

/* ====================
   アレンジ: 関連記事メニュー
   ==================== */
.related {
	background-color: #FFFFFF;
	padding: 5px 2px 5px 2px;
}

.related ul {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin:   auto;
	padding: 10px;
	list-style: none;
}

.related li {
	flex: 1 1 100%;
	display: flex;
}

.related a {
	flex: 1;
	margin: 8px;
	display: block;
	border: solid 1px #ddd;
	background-color: rgba(255,255,255,0.20);
	color: inherit;
	text-decoration: none;
}

.related a:hover {
	opacity: 0.8;
}

.related .photo {
	min-height: 140px;
	background-position: center;
	background-size: cover;
	border-radius: 10px;
	}
.related ul li {
}

.related .text {
	margin: 12px;
}

.related h2 {
	font-size: 18px;
	margin: 10px 10px 0px 0px;
}

.related p {
	font-size: 14px;
	opacity: 1;
}

@media (min-width: 600px) and (max-width: 899px) {
	.related li {
		flex: 1 1 50%;
	}
}

@media (min-width: 900px) {
	.related li {
		flex: 1 1 32%;
	}
 }
	
 /* ====================
   新卒採用バナーにマウスオーバー時の拡大効果を適用
   ==================== */
/* バナー内の画像とテキストをグループ化した要素にマウスオーバー時の効果を適用 */
.container article_st1 a,
.container article_st2 a,
.container article_st3 a,
.container article_st4 a {
  /* 要素の見た目が変化する際の滑らかなアニメーション設定 */
  transition: transform 0.3s ease-in-out;
  /* 拡大時に要素が重なるのを防ぐため、flexコンテナに設定 */
  display: block;
}

/* マウスオーバー時に1.05倍に拡大する */
.container article_st1 a:hover,
.container article_st2 a:hover,
.container article_st3 a:hover,
.container article_st4 a:hover {
  transform: scale(1.05);
}
 
 /* 枠全体を固定し、写真だけを拡大する */
.container article a {
  display: block;
  text-decoration: none;
  color: inherit;
  /* ホバー時にバナー全体が少し縮小する動きを滑らかにする */
  transition: transform 0.3s ease-in-out;
}

/* 写真の入っている要素（.photo）の共通スタイル */
.container article .photo {
  /* 拡大時に写真が枠からはみ出さないようにする */
  overflow: hidden;
  /* 写真の拡大アニメーションを滑らかにする */
  transition: transform 0.3s ease-in-out;
}

/* マウスオーバー時に、リンク（aタグ）全体を少し縮小する */
.container article a:hover {
  transform: scale(0.92); /* 99%にわずかに縮小させる */
}

/* マウスオーバー時に、写真（.photo）を拡大する */
.container article a:hover .photo {
  transform: scale(1.05); /* 110%に拡大させる */
}
