@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Font=========================== */

body{
	font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ja {
	font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ja-b {
	font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.en {
	font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/* 画像=========================== */

.radius-img img{
	border-radius: 20px;
}

:root{
  --dot-size: 5px;       /* ドット直径 */
  --gap: 8px;           /* ドット間隔 */
  --box: 200px;          /* 四角サイズ */
  --radius: 10px;        /* 角丸 */
  --offset-x: 40px;      /* 右方向のずらし量 */
  --offset-y: 40px;      /* 下方向のずらし量 */
}

/* 追加のカラーバリエーション */
.squareDot.yellow { --dot-color: #e5e55a; } 
.squareDot.orange   { --dot-color: #e59f5a; } 
.squareDot.green   { --dot-color: #9ee55a; } 

/* ラッパー */
.squareDot{
  position: relative;
  display: inline-block;
}

/* 画像 */
.squareDot > img{
  display: block;
  width: 100%;
  height: auto;
}

/* ドット四角（中身がドット） */
.squareDot::after{
  content: "";
  position: absolute;
  width: var(--box);
  aspect-ratio: 1/1;
  background:
    radial-gradient(circle, var(--dot-color) 40%, transparent 41%)
    0 0 / var(--gap) var(--gap) repeat;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1; /* ← 画像の裏に配置 */
  right: 0;
  bottom: 0;
  transform: translate(var(--offset-x), var(--offset-y)); /* 少し外側にずらす */
}

/* 右下以外にも使いたい場合 */
.squareDot.dot--tl::after{ left:0; top:0; right:auto; bottom:auto; transform: translate(calc(-1 * var(--offset-x)), calc(-1 * var(--offset-y))); }
.squareDot.dot--tr::after{ right:0; top:0; left:auto; bottom:auto; transform: translate(var(--offset-x), calc(-1 * var(--offset-y))); }
.squareDot.dot--bl::after{ left:0; bottom:0; right:auto; top:auto; transform: translate(calc(-1 * var(--offset-x)), var(--offset-y)); }
.squareDot.dot--br::after{ right:0; bottom:0; left:auto; top:auto; transform: translate(var(--offset-x), var(--offset-y)); }

/* 背面にしたい時 */
.squareDot.is-behind::after{
  z-index: -1;
}


/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 960px){
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.sp-wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
	width: 92%;
}
}


.no-kaigyou {
	white-space: nowrap;
}


/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

/*コンテンツ下余白なし*/
#content {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}


/* カラーボックス===================== */

.color-box-white {
	background: #fff;
	padding: 2rem;
	border-radius: 30px;
}

.color-box-green {
	background: #e2f7e5;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

.color-box-blue {
	background: #edf5fc;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

.color-box-orange {
	background: #f7ece2;
	padding: 2rem;
	border-radius: 30px;
	box-shadow: 5px 5px 10px #d3d3d3;
}

/* テーブル========================= */

.c_table td{
	line-height: 1.8;
	padding: 15px 0;
}

/* 見出し========================== */

.lead {
	font-size: clamp(1rem, 1.5vw, 1.8rem);
}

.sec-title {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 5rem auto 1rem;
  gap: 1rem;
}

.sec-title h2 {
  font-size: 1.5rem;
  white-space: nowrap;
}
.sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #16aa4f;
}


/* フォントサイズ====================== */

.text-level01 {
	font-size: clamp(1.3rem, 2.3vw, 2rem);
	text-align: center;
}

@media screen and (max-width:480px) {
.text-level01 {
	text-align: left;
}
}


/* ボタン========================= */

a.c_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	white-space: nowrap;
	height: 3.5rem;
	max-width: 300px;
	padding: 0 4rem;
	border: 1px solid #f4f4f4;
	border-radius: 100px;
	background-size: 400%;
	color: #fff;
	letter-spacing: 0.2rem;
	transition: border-color 0.5s ease;
}
a.c_btn:hover::before {
  transform: scaleX(1);
}
a.c_btn:hover {
	color: #fff;
}
a.c_btn span {
  position: relative;
  z-index: 1;
}
a.c_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    rgba(30, 130, 175, 1) 10.8%,
    rgba(10, 91, 135, 1)94.3%
  );
  transition: all 0.475s;
}


/* イラスト========================= */
.z0 {
	z-index: 0;
}
.z1 {
	z-index: 1
}

/* 太陽右上 */
.illust-rightTop-sun {
  position: relative;
}

.illust-rightTop-sun::before {
  position: absolute;
  top: -50px;
  right: 0;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/sun.png') center / contain no-repeat;
  width: 100px;
  height: 100px;
  z-index: 2;

  /* 追加部分：回転アニメーション */
  animation: rotate-sun 40s linear infinite;
}

/* 回転アニメーション */
@keyframes rotate-sun {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 木左上 */
.illust-leftTop-tree {
  position: relative;
}

.illust-leftTop-tree::before {
  position: absolute;
  top: -180px;
  left: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/tree.png') center / contain no-repeat;
  width: 200px;
  height: 100px;
	z-index: 9999;
}

/* 飛行機左下 */
.illust-leftBottom-plan {
  position: relative;
}

.illust-leftBottom-plan::before {
  position: absolute;
  bottom: -150px;
  left: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/plan.png') center / contain no-repeat;
  width: 150px;
  height: 100px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}

/* ふわふわ上下に揺れる動き */
@keyframes float-plane {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(-2deg);
  }
  50% {
    transform: translateY(0) rotate(1deg);
  }
  75% {
    transform: translateY(8px) rotate(-1deg);
  }
}

/* 足あと右上 */
.illust-rightTop-ashiato {
  position: relative;
}

.illust-rightTop-ashiato::before {
  position: absolute;
  top: -50px;
  right: 0;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/ashiato.png') center / contain no-repeat;
  width: 200px;
  height: 100px;
	z-index: 9999;
}

/* 花右上 */
.illust-rightTop-flower {
  position: relative;
}

.illust-rightTop-flower::before {
  position: absolute;
  top: -50px;
  right: 0;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/flower.png') center / contain no-repeat;
  width: 200px;
  height: 100px;
	z-index: 9999;
}

/* 本左下 */
.illust-leftBottom-book {
  position: relative;
}

.illust-leftBottom-book::before {
  position: absolute;
  bottom: -170px;
  left: 3%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/book.png') center / contain no-repeat;
  width: 130px;
  height: 130px;
	z-index: 9999;
}

/* 雲右上 */
.illust-rightTop-cloud {
  position: relative;
}

.illust-rightTop-cloud::before {
  position: absolute;
  top: -50px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/cloud.png') center / contain no-repeat;
  width: 150px;
  height: 100px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}

/* 気球右上 */
.illust-rightTop-buroon2 {
  position: relative;
}

.illust-rightTop-buroon2::before {
  position: absolute;
  top: -120px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/buroon2.png') center / contain no-repeat;
  width: 150px;
  height: 150px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}

/* 星右上 */
.illust-rightTop-star {
  position: relative;
}

.illust-rightTop-star::before {
  position: absolute;
  top: -80px;
  right: 8%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/star.png') center / contain no-repeat;
  width: 120px;
  height: 120px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}

/* 風船右下 */
.illust-rightBottom-buroon {
  position: relative;
}

.illust-rightBottom-buroon::before {
  position: absolute;
  bottom: -220px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/buroon.png') center / contain no-repeat;
  width: 150px;
  height: 150px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}


@media screen and (max-width:480px) {
	.illust-rightTop-sun::before {
  top: -40px;
  right: 0;
  width: 70px;
  height: 70px;
}
.illust-leftTop-tree::before {
  position: absolute;
  top: -140px;
  left: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/tree.png') center / contain no-repeat;
  width: 150px;
  height: 100px;
	z-index: 9999;
}	
	.illust-leftTop-plan::before {
  position: absolute;
  top: -120px;
  left: 8%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/plan.png') center / contain no-repeat;
  width: 120px;
  height: 100px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}
	.illust-rightTop-ashiato::before {
  width: 80px;
}
	.illust-rightTop-flower::before {
  position: absolute;
  top: -40px;
  right: 3%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/flower.png') center / contain no-repeat;
  width: 80px;
  height: 80px;
	z-index: 9999;
}
	.illust-leftBottom-book::before {
  position: absolute;
  bottom: -90px;
  left: 6%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/book.png') center / contain no-repeat;
  width: 80px;
  height: 80px;
	z-index: 9999;
}
	.illust-rightTop-cloud::before {
  position: absolute;
  top: -40px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/cloud.png') center / contain no-repeat;
  width: 70px;
  height: 70px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}
	.illust-rightBottom-buroon::before {
  position: absolute;
  bottom: -120px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/buroon.png') center / contain no-repeat;
  width: 100px;
  height: 100px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}
	.illust-rightTop-buroon2 {
  position: relative;
}

.illust-rightTop-buroon2::before {
  position: absolute;
  top: -50px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/buroon2.png') center / contain no-repeat;
  width: 80px;
  height: 80px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}
	.illust-rightTop-star::before {
  position: absolute;
  top: -70px;
  right: 5%;
  content: "";
  background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/star.png') center / contain no-repeat;
  width: 60px;
  height: 60px;
  z-index: 9999;

  /* ★追加：ふわふわアニメーション */
  animation: float-plane 8s ease-in-out infinite;
}
}


/* ヘッダー=========================== */

.c-gnav>.menu-item>a .ttl {
  font-weight: 500;
	color: #333;
font-size: clamp(0.85rem, 1vw, 1rem);
letter-spacing: .1rem;
}

.l-header .c-gnav>li>a:after {
	background: #17963b;
}

.c-gnav .sub-menu a {
	white-space: nowrap;
}

@media screen and (max-width:767px) {
.l-header {
  padding: 10px 10px;
}
}

@media screen and (max-width:480px) {
	.recruit-bg {
	border-radius: 50px 0 50px 0;
}
	.swell-block-linkList.-border .swell-block-linkList__item {
	padding: 8px 0;
}
}


/* お知らせ========================== */

.news-item {
}
.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: flex-start; 
	background-color: #fdfdfd;
}
ul.newsList {
  padding: 1.5rem 0 1.5rem 1rem;
	width: 100%;
	margin: 15px auto;
	border-radius: 10px;
}

ul.newsList li {
  margin: 0 10px;
}

ul.newsList li a {
  color: #333;
  transition: all 0.3s ease;
  display: inline-block; 
}

ul.newsList li a:hover {
  color: #e87e39;
  transform: translateX(5px); 
}

/* 日付の右にNEWが来ても崩れないように */
.news_date{
  min-width: 110px;       /* 既存より少しだけ広げてもOK */
  font-weight: bold;
  color: #777;
  display: inline-flex;   /* 日付とNEWを横並びに */
  align-items: center;
  gap: 8px;               /* 日付とNEWの間隔 */
}

/* NEWバッジ */
.news_new{
  display: inline-block;
  padding: 2px 6px;
	margin-left: 7px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #e60000;
  border-radius: 4px;
  letter-spacing: .02em;
  transform: translateY(-1px); /* ベースライン微調整（任意） */
}

/* スマホ時の縦並びでも違和感が出ないように（任意） */
@media (max-width: 768px){
  .news_date{ margin-bottom: 4px; }
}


.news_text {
  flex: 1; 
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 300px;
  width: 100%;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #dfdfdf #fff;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
	.top-news-wrapper {
		width: 93%;
		margin: 0 auto;
	}
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
	.scroll {
  max-height: 400px;
}
}


/*news詳細ページ*/
.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin: 80px 0 80px 0;
}

.news_file {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.news-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 1.6em;
  color: #fff;
  background-color: #e87e39;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid transparent; 
	margin-top: 30px;
}

.news-file-btn:hover {
  border: 1px solid #e87e39;
  background-color: transparent;
  color: #333;
}

.news_img_top{
	text-align: center;
}

.text_main p{
	margin-bottom: 1.5em;
}

.news-box div + div {
	margin-bottom: 10px;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.flex_news_img{
width:100%;
  height:auto;
  display:flex;
  flex-direction:row; /* 記載しなくてもデフォルトで指定されている */
  flex-wrap:wrap; /* 折り返し */
  justify-content:space-between;
	 gap: 10px 4px; /* 余白 */
	margin-top: 60px;
}
.flex_news_img::after{
  content:"";
  display: block;
  width:32%;
}

.news_img{
	width: 32.5%;
}
@media screen and (max-width: 480px){
	.flex_news_img{
    flex-direction: column;
  }
  .news_img{
    width: 100%;
  }
}


/* ページ共通========================= */

.hero-box {
	position: relative;
}

.page-hero-outer {
	position: relative;
	top: 0;
	left: 50%;
	transform: translatex(-50%);
	height: 350px;
	border-radius: 30px;
	width: 95vw;
}

.page-title-box {
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translatex(-50%);
	font-size: 1.5rem;
	white-space: nowrap;
}

.page-title-box::after {
	content: '';
	position: absolute;
	top: -67px;
	left: 50%;
	transform: translatex(-50%);
	background: center / contain no-repeat;
	width: 80px;
	height: 80px;
	z-index: 2;
}

/* ページごとに切り替え */
/* さざんかキッズ */
.page-id-967 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/sazanka-icon.png");
}

/* とらのこキッズ */
.page-id-1493 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/tora-icon.png");
}

/* ゆたか福祉苑 */
.page-id-1698 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/leaf-icon.png");
}

/* けいよう */
.page-id-1775 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/flower-icon.png");
}

/* カメリアハウス */
.page-id-1861 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/house-icon01.png");
}

/* のまる */
.page-id-1898 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/bird-icon.png");
}

/* 魔法のランプ */
.page-id-1946 .page-title-box::after {
  background-image: url("https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/heart-icon.png");
}

.ribbon{
  display:inline-block;
  position:relative;
  height:60px;
  padding: 5px 50px; 
  color:#fff;
  clip-path: polygon(
    0 0,
    100% 0,
    92% 50%,
    100% 100%,
    0 100%,
    8% 50%
  );
}

.r-blue {
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-blue.jpg');
}

.r-orange {
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/11/r-orange.jpg');
}

.r-green {
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-green.jpg');
}

.r-red {
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-red.jpg');
}

.r-yellow {
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-yellow.jpg');
}

@media screen and (max-width:786px){
	.page-hero-outer {
	height: 250px;
	width: 92vw;
}
}

@media screen and (max-width:480px){
	.page-hero-outer {
	height: 250px;
	border-radius: 20px;
	width: 100vw;
}
	.page-title-box {
		bottom: -20px;
	font-size: 1.2rem;
}
	.ribbon{
  height:40px;
  padding: 6px 40px; 
}
	.page-title-box::after {
	content: '';
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translatex(-50%);
	background: center / contain no-repeat;
	width: 50px;
	height: 50px;
	z-index: 2;
}
}


/* メインビジュアル================= */

.p-mainVisual {
	position: relative;
	z-index: 0;
}

.p-mainVisual__inner{
	position: relative;
	padding: 112px 3% 0;
	z-index: 1;
}

.p-mainVisual__inner img {
	position: relative;
	border-radius: 30px;
}

.mv-copy-box {
	position: relative;
	top: 50px;
	left: 15%;
	display: inline-block;
}

.mv-copy {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 500;
	letter-spacing: 0.3rem;
	color: #333;
}


@media screen and (max-width:786px){
	.p-mainVisual__inner{
	padding: 80px 4% 0;
}
	.p-mainVisual__inner img {
	border-radius: 20px;
}
.mv-copy-box {
	top: 50px;
	left: 10%;
}
}

/* トップページ==================== */

.top-aisatsu {
	position: relative;
	background-color: #fdfdfd;
	border-radius: 50px;
	padding: 3rem 4rem 2.3rem;

	background-color: #fff; /* 背景色 */
  background-image: linear-gradient(180deg, #f7f7f7 1px, transparent 1px); /* 罫線の色と太さ  */
  background-size: 100% 2.5em; /* 行の高さ */
  line-height: 2.5em; /* 文字の高さ */
}

.top-aisatsu h2 {
	text-align: center;
}

.top-aisatsu::before {
	content: '';
  position: absolute;
  top: -5%;
	right: 5%;
  width: 100px;
  height: 100px; 
  background-image: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/sankaku.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain; 
  pointer-events: none;
	z-index: 99;
}

.top-aisatsu::after {
	content: '';
  position: absolute;
  bottom: -5%;
	left: -3%;
  width: 180px;
  height: 180px; 
  background-image: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/flower-frame2.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain; 
  pointer-events: none;
	z-index: 99;
}

@media screen and (max-width:786px){
	.top-aisatsu {
	border-radius: 30px;
	padding: 3rem 2rem 2.3rem;
  background-image: linear-gradient(180deg, #f7f7f7 1px, transparent 1px); /* 罫線の色と太さ  */
  background-size: 100% 2em; /* 行の高さ */
  line-height: 2em; /* 文字の高さ */
}
	.top-aisatsu h2 {
	text-align: left;
		margin-bottom: 30px;
		z-index: 99;
}
	.top-aisatsu::after {
  bottom: -2%;
	left: -3%;
  width: 120px;
  height: 120px; 
}
}



.top-contents-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 14px; /* 内側に少し余白 */
}

.top-contents-item:hover {
  box-shadow: 0 0 30px rgba(0,0,0,0.35); 
}

/* 上段：画像と右側テキストを横並び */
.content-top {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

/* 左：画像 */
.image-wrapper {
  flex: 0 0 45%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
}

/* Swiper本体が .image-wrapper をピッタリ埋めるように */
.top-card-slider {
  width: 100%;
  height: 100%;
}

/* スライドを親の高さに合わせる */
.top-card-slider .swiper-wrapper,
.top-card-slider .swiper-slide {
  height: 100%;
}

/* 念のため画像指定も */
.top-card-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右：タイトル・住所・ボタンを縦配置 */
.text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 上下に分ける */
  min-width: 0;
  padding-right: 6px;
  position: relative;
}

/* 内側ラッパー：タイトルと住所を等間隔配置 */
.text-upper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* ← 等間隔配置 */
  align-items: center;
}

/* タイトル部分（横並び） */
.title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
	position: relative;
	right: 15px;
}

.title-wrapper h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  margin: 0;
  color: #333;
}

.title-icon {
  width: 40px;
  height: auto;
  margin: 0;
}

/* 情報テキスト全体 */
.info-wrapper {
  align-self: center;
  text-align: left;
  line-height: 1.6;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: #555;
  padding: 10px 0 25px 0;
}

/* 住所と連絡先の間に余白を追加 */
.info-address {
  margin-bottom: 0.5rem; /* ← ここで間隔を調整 */
}


/* 「詳しく見る」ボタン：常に下固定 */
.detail-with-arrow {
  position: relative;
  display: flex;
  justify-content: flex-end; /* 矢印を右端に */
  align-items: center;
  background: #f28237;
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 1.2rem;
  width: 100%;
}

/* 「詳しく見る」を中央に固定 */
.detail-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}


.arrow-icon {
  display: inline-block;
  color: #fff;
  transition: transform 0.5s ease;
}

.top-contents-item:hover .arrow-icon {
  transform: translateX(5px);
}

.c-blue {
	background-color: #42b9d1;
}

.c-red {
	background-color: #ce4c42;
}


/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
	.image-wrapper {
  aspect-ratio: 16 / 9;
}
  .content-top {
    flex-direction: column;
  }
  .image-wrapper {
    flex-basis: auto;
    border-radius: 12px;
  }
  .text-side {
    align-items: stretch;
  }
  .title-wrapper {
    align-items: center;
    text-align: center;
    justify-content: center; /* 中央寄せ維持 */
  }
	.title-wrapper h3 {
  font-size: 1.5rem;
}
	.info-wrapper {
  align-self: center;
  text-align: left;
  line-height: 1.6;
  font-size: 1rem;
  color: #555;
  padding: 10px 0 25px 0;
}
}



.sec4-outer {
  position: relative;
}

/* ▼ 緑の背景（左上） */
.sec4-outer::before {
  content: '';
  position: absolute;
  top: 15%; 
  left: -30%;
  width: 1200px;
  aspect-ratio: 1 / 1;
  background-image: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/top-bg-green.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  opacity: 0.73;

  /* ▼ 逆回転アニメーションを追加 */
  animation: reverse-rotate 60s linear infinite;
  transform-origin: center center; /* 回転軸を画像の中心に */
}

/* ▼ 黄色の背景（右下） */
.sec4-outer::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -40%;
  width: 1200px;
  aspect-ratio: 1 / 1;
  background-image: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/top-bg-yellow.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  opacity: 0.8;

  /* ▼ 時計回りアニメーション */
  animation: slow-rotate 50s linear infinite;
  transform-origin: center center;
}

/* ▼ 時計回り */
@keyframes slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ▼ 反時計回り */
@keyframes reverse-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}



/* top recruit */

.top-recruit-img img{
	border-radius: 20px;
}

.top-recruit-img a{
	transition: all 0.3s ease;
}

.top-recruit-img a:hover {
	opacity: 1;
	transform: scale(1.03);
}


/* aboutページ======================== */



/* 施設ページ===================== */

.is-style-balloon>.c-tabList .c-tabList__button{
	background: #fff;
}

.page-news-title {
	text-align: left;
	color: #fff;
	padding: 0.3rem 2rem;
	border-radius: 8px;
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-green.jpg');
}

.has-swl-deep-03-background-color{
	background: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/r-green.jpg');
}

.hyouka-list li{
	padding: 7px 0;
}


/* グループホームについて=================== */

.gp-contents-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 14px;
}

.gp-contents-item:hover {
  box-shadow: 0 0 30px rgba(0,0,0,0.35);
}

/* 上段：画像と右側テキストを横並び */
.gp-content-top {
  display: flex;
  align-items: stretch;
  gap: 4%;
}

/* 左：画像 */
.gp-image-wrapper {
  flex: 0 0 45%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}

.gp-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gp-contents-item:hover .gp-image-wrapper img {
  transform: scale(1.06);
}

/* 右：タイトル・住所・ボタンを縦配置 */
.gp-text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-right: 6px;
  position: relative;
}

/* タイトルと住所を等間隔配置 */
.gp-text-upper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

/* タイトル部分 */
.gp-title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  right: 15px;
}

.gp-title-wrapper h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0;
  color: #333;
	border-bottom: 1px solid #333;
	padding-bottom: 8px;
}

/* 情報部分 */
.gp-info-wrapper {
  align-self: center;
  text-align: left;
  line-height: 1.6;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: #555;
  padding: 10px 0 25px 0;
}

.gp-info-address {
  margin-bottom: 0.5rem;
}

/* 「詳しく見る」ボタン */
.gp-detail-with-arrow {
  position: relative;
  display: flex;
  justify-content: flex-end; /* 矢印は右寄せのまま */
  align-items: center;
  background: #f28237;
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 1.2rem;

  /* 👇 修正ポイント */
  width: 300px;               /* 固定幅 */
  margin: 0 auto;             /* 中央寄せ */
}


.gp-detail-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.gp-arrow-icon {
  display: inline-block;
  color: #fff;
  transition: transform 0.5s ease;
}

.gp-contents-item:hover .gp-arrow-icon {
  transform: translateX(5px);
}

/* カラー */
.gp-c-blue { background-color: #42b9d1; }
.gp-c-red  { background-color: #ce4c42; }

/* ---- レスポンシブ ---- */
@media (max-width: 768px) {
  .gp-image-wrapper {
    aspect-ratio: 3 / 2;
  }
  .gp-content-top {
    flex-direction: column;
  }
  .gp-image-wrapper {
    flex-basis: auto;
    border-radius: 12px;
  }
  .gp-text-side {
    align-items: stretch;
  }
  .gp-title-wrapper {
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  .gp-title-wrapper h3 {
    font-size: 1.5rem;
  }
  .gp-info-wrapper {
    align-self: center;
    text-align: left;
    line-height: 1.6;
    font-size: 1rem;
    color: #555;
    padding: 10px 0 25px 0;
  }
}

}

/*-------------------------------------------*/
/* お問い合わせフォーム      */
/*-------------------------------------------*/

/* ベース */
.section--contact .section__content,
.form--contact { width: 100%; }

.form__title { margin: 0 0 .8rem; font-weight: 700; font-size: 1.25rem; }
.form__note  { margin: 0 0 1rem; color: var(--c-muted); font-size: .95rem; }

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 18px);
}
@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__group { margin-bottom: 20px; }
.form__group--full { grid-column: 1 / -1; }

/* ラベル／コントロール */
.form__label { display:block; font-weight:600; margin: 0 0 .8rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .6em 1em;
  border: 1px solid var(--c-border, #ddd);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--c-text, #333);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__control:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-brand, #78bee6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand, #78bee6) 25%, transparent);
}
.form__control:focus-visible,
.form__group select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-brand, #78bee6) 60%, transparent);
  outline-offset: 2px;
}

/* 必須バッジ */
.form__label.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #e53935;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* CF7改行除去（整形のため） */
.wpcf7 br { display: none !important; }

/*-------------------------------------------*/
/* 横並び指定：お名前・ふりがな・メール      */
/*-------------------------------------------*/

/* お名前・ふりがな（姓/名・せい/めい） */
.from_name {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* PCは横並び維持 */
}
.from_name .item-box {
  flex: 1 1 0;
}
.from_name label { margin: 0 0 .25rem; display:block; }

/* メール（メール＋確認用） */
.form__group--email-double {
  display: flex;
  gap: 20px;
}
.form__group--email-double .form__group {
  flex: 1 1 0;
  margin-bottom: 0; /* 余白重複を防止 */
}

/* 短い幅 */
/* スマホ（〜768px）は縦に戻す */
@media (max-width: 768px) {
  .from_name { flex-direction: column; gap: 10px; }
  .form__group--email-double { flex-direction: column; gap: 10px; }
}

/* PC(860px〜)では左カラム(1列目)に固定して半幅のまま表示 */
@media (min-width: 860px) {
  .form__group--col1 {
    grid-column: 1 / 2 !important; /* 左カラム固定＝半幅 */
  }
}
/* スマホ側は元々1カラムなので指定不要（念のため書くなら下で全幅に） */
@media (max-width: 859px) {
  .form__group--col1 {
    grid-column: 1 / -1; /* なくてもOK */
  }
}


/*-------------------------------------------*/
/* セレクト（お問い合わせ先プルダウン）       */
/*-------------------------------------------*/
.form__group select {
  height: 48px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px auto;
  padding-right: 36px; /* 矢印分の余白 */
}

/* スマホ微調整 */
@media (max-width: 768px) {
  .form__group select { font-size: 15px; height: 44px; }
}

/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: var(--c-brand, #78bee6);
  color: #fff;
  border-radius: 50px;
  padding: 0.8em 2em;
  border: none;
  margin-top: 20px;
  transition: opacity .3s ease, transform .2s ease;
  cursor: pointer;
}
.wpcf7-submit.btn:hover { opacity: .88; }
.wpcf7-submit.btn:active { transform: translateY(1px); }

/*-------------------------------------------*/
/* 個人情報保護方針（スクロール枠）           */
/*-------------------------------------------*/
.contact-scroll {
  overflow: auto;
  height: 250px;
  border-radius: 3px;
  border: 1px solid #d8d8d8;
  padding: 10px;
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: #c0c0c0 #eeeeee;      /* Firefox */
}
/* WebKit系スクロールバー */
.contact-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.contact-scroll::-webkit-scrollbar-track { background-color: #eeeeee; }
.contact-scroll::-webkit-scrollbar-thumb { background-color: #c0c0c0; }

/* 見出しやリストの体裁 */
.privacy-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}
.contact-privacy-item { margin-bottom: 25px; }
.contact-privacy-item ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}
.contact-privacy-item ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}

/*-------------------------------------------*/
/* CF7 メッセージ/エラー                     */
/*-------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #14532d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .9rem;
  color: #b91c1c;
}
.email-error,
.zip-error-tip {
  display: block;
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .35rem;
}



/* フッター=================== */

.footer-bg-top {
  position: relative;
  overflow: hidden; /* はみ出し防止 */
}

.footer-bg-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw; /* ビューポート幅いっぱい */
  height: 30vw; /* 画像の縦横比に応じて調整（例: 30vw） */
  background-image: url('https://www.e-sazankakai.or.jp/wp-content/uploads/2025/10/footer-bg.png');
  background-size: cover; /* 幅いっぱいに拡大縮小 */
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index: 0;
  pointer-events: none; /* リンクを邪魔しないように */
}

.footer-nav-col a {
	transition: all 0.3s ease;
	display: inline-block; 
}

.footer-nav-col a:hover {
	color: #e87e39;
	transform: translateX(5px); 
}

.footer-nav-col .swell-block-column {
	border-left: 1px solid #5da333;
	padding-left: 15px;
}



/* ベース */
.footer-contact-item {
  position: relative;
	width: 100%;
  text-align: center;
  white-space: nowrap;
  padding: 2rem;
  font-size: 0.8rem;
  background-color: #e87e39;
	color: #fff;
	  border: 1.5px solid #f09f4d;
	border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background-color: #e2611a; 
}


.footer-contact-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.footer-contact-text i {
  font-size: 1.2rem;
}

.pc-none {
	pointer-events: none;
  cursor: default;
}

@media screen and (max-width: 768px) {
	.w-footer__box {
	padding: 0px 0 30px;
}
	.footer-contact-item {
  font-size: 1rem;
}
	.footer-contact-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  font-size: 1.8rem;
}
}

/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}