/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 1.0.3
*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap');

body {
  font-family: "Zen Maru Gothic", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	color:#474747;
	font-weight: 400;
	line-height:1.8;
	letter-spacing:.05em;
	line-break: strict;/* 日本語の禁則処理を有効にする */
}
.mt-30 {
	margin-top: -30px;
}
.pt0 {
	padding-top: 0;
}
.pb0 {
	padding-bottom: 0;
}
.m0 {
	margin: 0;
}
.mb0 {
	margin-bottom: 0;
}
.mb10 {
	margin-bottom: 10px;
}
.mb30 {
	margin-bottom: 30px;
}
.mt0 {
	margin-top: 0;
}
.mt10 {
	margin-top: 10px;
}
.mt30 {
	margin-top: 30px;
}
.mt50 {
	margin-top: 50px;
}
.col {
	padding: 0;
}
p {
	line-height: 1.8;
    }
/*スマホだけ改行*/
.pc_hid{
    display: none;
}
@media screen and (max-width:768px) {
    .pc_hid{
        display: block;
    }
}

/*PCだけ改行*/
.sh_hid{
    display: block;
}
@media screen and (max-width:768px) {
    .sh_hid{
        display: none;
    }
}
/*トップに戻るボタンをずらす*/
.page_top_btn {
    bottom: 9%;
}
/*各ページの下余白を狭くする*/
.siteContent {
		margin-bottom: 20px;
	}
@media (min-width: 1200px) {
	.siteContent {
		padding: 3.5rem 0 0;
	}
}
.sectionBox {
    padding-top: 2em;
    padding-bottom: 0;
    display: block;
}

/*コピーライト削除 */
footer .copySection p:nth-child(2) {
    display:none !important;
}

/* アンカーリンクで固定メニュー分下にずらす（modern way） */
[id] {
  scroll-margin-top: 80px; /* 固定ヘッダーの高さに合わせて調整 */
}

/*h3の下線を太く*/
h3 {
	margin-top: 20px;
}
.subSection-title, h3 {
    padding-bottom: 8px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .3);
	margin-bottom: 10px;
}
h3:after, .subSection-title:after {
    border-bottom: 5px solid #c6efac;
}
/*トップページ以外の固定ぺージのタイトル背景色*/
.page-header {
    background-color: #80be58;
}

/*お知らせ欄カスタマイズ*/
.news-list {
  list-style: none; /* 「・」を消す */
  padding: 0;
  margin: 0;
}

.news-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd; /* 区切り線 */
}

.news-list li:last-child {
  border-bottom: none; /* 最後の区切り線は非表示 */
}

.news-list .new-icon {
  color: red;
  font-weight: bold;
  margin-right: 6px;
}

.news-list .date {
  color: #555;
  margin-right: 10px;
  font-size: 0.9em;
}

.news-list a {
  color: #0073aa;
  text-decoration: none;
}

.news-list a:hover {
  text-decoration: underline;
}
/*お知らせ欄カスタマイズここまで*/

/*トップページ2カラム施設の案内*/
.two-column-layout {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.two-column-layout .column {
  flex: 1;
  min-width: 300px;
  text-align: center;
  background-color: #f9f9f9; /* 薄いグレー背景 */
  border: 1px solid #ddd;     /* 薄い枠線 */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* ほんのり影 */
}

.two-column-layout img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}

/* スマホサイズで1カラムに変更 */
@media (max-width: 768px) {
  .two-column-layout {
    flex-direction: column;
  }
}
/*トップページ2カラム施設の案内ここまで*/	

/*ヘッダーの住所とTELデザイン*/	
.header-contact-info {
	padding-top: 30px;
	padding-right: 10px;
    text-align: right;
    font-size: 24px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    line-height: 1.2; /* デフォルトの行間を少し詰める */
}
.tel a {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.2;
}
/* 各段落の余白をなくす */
.header-contact-info p {
    margin: 0;
}

/* ヘッダースマホ表示：縦並び＆行間さらに狭く */
@media screen and (max-width: 599px) {
    .header-contact-info {
        flex-direction: column;
        align-items: flex-end;
        line-height: 1.1; /* 行間をさらに詰める */
        gap: 2px; /* 住所とTELの間隔を最小限に */
        padding-bottom: 2px; /* 下の余白も最小に */
    }
}

/*ヘッダーの住所とTELデザインここまで*/	

/*About Usデザイン*/	
.about-section {
  border-top: 5px solid #cce0cc;
  border-bottom: 5px solid #cce0cc;
  padding: 20px 10px;
  background-color: #fff;
	margin-top: 20px;
}
.about-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.text-block {
  flex: 0 0 180px; /* 幅を固定：About usブロック */
  background-color: #cce0cc;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.9em;
 /* height: 100%;  高さを詰める */
	text-align: center;
}

.text-block h2 {
  margin: 0;
padding: 10px 0;
  font-size: 1.8em;
}

.mainSection-title, h2 {
    padding: .8em 0 .7em;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.text-block p {
  margin: 5px 0;
  font-size: 1.2em;
}

.more-button {
  display: block; /* inline-block → block に */
  width: fit-content; /* もしくは固定幅でもOK */
  margin: 5px auto 0; /* 上マージン＋中央寄せ */
  padding: 10px 16px; /* タップ範囲を広くする */
  background-color: #75c01e;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1em;
}

.more-buttonB {
    display: block;
    width: fit-content;
    margin: 5px; /* 上マージン＋左寄せ */
    padding: 10px 16px;
    background-color: #75c01e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
}


.image-block {
  flex: 0 0 200px; /* イラストの幅固定 */
}

.image-block img {
  max-width: 100%;
  height: auto;
}

/* 黒丸リスト部分を広く */
.list-block {
  flex: 1;
  text-align: left;
  min-width: 300px;
}

.list-block ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.list-block li {
  margin-bottom: 8px;
  line-height: 1.6;
  white-space: nowrap; /* 折り返し防止（ただし画面狭いと切れるので注意） */
}
.list-block li strong {
  font-size: 1.5em;
}
@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .text-block,
  .image-block,
  .list-block {
    flex: 1 1 100%;
    text-align: center;
  }

  .list-block ul {
    text-align: left;
    white-space: normal;
  }

  .list-block li {
    white-space: normal; /* スマホでは折り返しOK */
  }
}

/*serviceデザイン*/
.service {
	margin-bottom: 0;
	padding-bottom: 0;
	line-height: 0;
}
/* 初期状態：SP画像は非表示、PC画像は表示 */
.service_sp {
  display: none;
}

.service_pc {
  display: block;
  width: 100%;
}

/* スマホサイズ時（768px以下）に切り替え */
@media screen and (max-width: 768px) {
  .service_sp {
    display: inline-block;
    width: 100%;
  }

  .service_pc {
    display: none;
  }
}
/*serviceデザインここまで*/

/*facilityデザイン*/
/* グリッドレイアウト（PC） */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "info1 img1"
    "img2 info2";
	gap: 0;
  align-items: start;
	margin-bottom: -30px;
}

/* 各エリア指定 */
.info1 {
	grid-area: info1;
	margin: 5px;
}

.img1 {
	grid-area: img1;
	margin: 5px;
}

.img2 {
	grid-area: img2;
	margin: 5px;
}

.info2 {
	grid-area: info2;
	margin: 5px;
}

/* 共通スタイル */
.facility-info {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 1rem;
}

.facility-info h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #333;
}

/* タグの基本スタイル */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;               /* ボタンの間隔 */
  margin-bottom: 1rem;
  justify-content: center;  /* 水平方向に中央揃え */
  align-items: center;      /* 垂直方向に中央揃え */
  text-align: center;       /* テキストを中央揃え */
}

/* 丸ボタン自体 */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;             /* 幅を180pxに設定 */
  height: 140px;            /* 高さを180pxに設定 */
  border-radius: 50%;       /* 完全に丸くする */
  font-size: 1.4rem;       /* フォントサイズを少し大きく調整 */
  text-align: center;
  padding: 12px;
  color: #000;
  line-height: 1.2;
  word-break: break-word;
	  transition: transform 0.2s ease;
  margin: 10px; /* ←これが重要です！ */
}
.tag:hover {
  transform: translateY(-5px);
}
/* 色バリエーション */
.tag.green {
  background-color: #a9cf90;
}
.tag.greenB {
  background-color: #d0e4c2;
}
.tag.yellow {
  background-color: #FFF3B2;
}
.tag.pink {
  background-color: #fed5d7;
}

.map-link {
  font-size: 1.2rem;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

/* 画像スタイル */
.facility-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

/* レスポンシブ対応（スマホ用） */
@media (max-width: 768px) {
  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img1"
      "info1"
      "img2"
      "info2";
	  margin-bottom: -80px;
  }
.tag {
    width: 125px;
    height: 100px;
    font-size: 1.2rem;
  }
}
/*facilityデザインここまで*/

/*contactデザイン*/
.contact-section {
  padding: 2rem;
  background-color: #f9f9f9;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  align-items: stretch;
}
.contact-box {
  border: 3px dashed #A5E15E;
  border-radius: 20px;
  padding: 1rem 1rem 0 1rem;
  width: 21%;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
  transition: transform 0.3s;
}

.contact-box:hover {
  transform: translateY(-5px);
}

.contact-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-box img {
  max-width: 100%;
  height: auto;
}

.contact-illustration {
  width: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 0;
  }

  .contact-box,
  .contact-illustration {
    width: 100%;
  }
}
/*contactデザインここまで*/

/*法人概要デザイン*/
/* 全体レイアウト */
.houjin-wrap {
  padding: 20px 20px 0 20px;
}

.main-box h2 {
  font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
  margin-bottom: 20px;
}

.main-box p {
  font-size: 14px;
}

/* メイン組織情報 */
.main-org {
  border: 4px solid #CCC;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 500px;
  position: relative;
  margin-left: 0;
}
@media screen and (min-width: 769px) {
.main-org .responsive-info dd {
        font-size: 17px;
    }
}

.line-down {
    width: 4px;
    height: 1500px;
    background: #CCC;
    position: absolute;
    left: 7.7%;
    transform: translateX(-50%);
    bottom: -1500px;
}

/* 下の連結セクション */
.sub-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 80px;
  position: relative;
}

.line-side {
  position: absolute;
  top: 700px;
  left: -40px;
  width: 40px;
  height: 4px;
  background: #CCC;
}

.line-sideB {
  position: absolute;
  top: 1492px;
  left: -40px;
  width: 40px;
  height: 4px;
  background: #CCC;
}

/* サブ囲み（グレー背景） */
.sub-box {
  background: #f0f0f0;
  border: 2px solid #666;
  border-radius: 12px;
  padding: 20px;
}

/* 各ボックス */
.box-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.box {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #666;
  min-width: 130px;
}

/* 色分け */
.green1 {
  background: #e0f4dc;
}

.green2 {
  background: #c0e5b6;
}

.cream {
  background: #FFFCDC;
}

.pink {
  background: #ffe6f0;
  padding: 20px;
  margin-top: 10px;
}

/* ピンク内の情報分割 */
.info-split {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.info-left, .info-right {
  flex: 1;
  min-width: 150px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
 .main-org {
  border: 4px solid #CCC;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  position: relative;
  margin-left: 0;
  font-size: 18px;
}
	.sub-section {
    margin-left: 0;
  }

  .box-row {
    flex-direction: column;
  }

  .info-split {
    flex-direction: column;
  }
}
@media screen and (max-width: 900px) {
	.line-down, .line-side, .line-sideB {
   display: none;
}
}

/*テーブルの縦横レスポンシブ　通常表示（PC） */
.responsive-info {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.responsive-info dl {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0;
  padding: 0;
}

/* PC表示：dtとddを横並び */
@media screen and (min-width: 769px) {
  .responsive-info dl div {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 0.1em 0;
  }

  .responsive-info dt {
    width: 150px;
	  font-size: 14px;
    font-weight: bold;
    padding: 0.1em 0.5em;
    flex-shrink: 0;
  }

  .responsive-info dd {
	  font-size: 14px;
    margin: 0;
    padding: 0.1em 0.5em;
    flex: 1;
  }
}

/* スマホ表示：縦並びに切り替え */
@media screen and (max-width: 768px) {
  .responsive-info dl div {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 0;
  }

  .responsive-info dt {
    font-weight: bold;
    margin-bottom: 0.25em;
  }

  .responsive-info dd {
    margin: 0 0 -10px 0;
  }
}
/*法人概要デザインここまで*/


/*理事長ご挨拶*/
.greeting-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

/* PC表示：横並び */
.greeting-text {
  flex: 1;
  min-width: 400px;
}

.greeting-image {
  flex: 1;
  max-width: 200px;
}

.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* スマホ表示：縦並びに切り替え */
@media screen and (max-width: 768px) {
  .greeting-section {
    flex-direction: column-reverse;
  }

  .greeting-text, .greeting-image {
    max-width: 100%;
  }
	.greeting-image img {
    width: 80%;
}
}
/*理事長ご挨拶ここまで*/

/*法人概要・沿革*/
.hojin-section {
  margin: 2rem 0;
}

/* 上部：横並びエリア */
.hojin-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between; /* 中央寄せを防ぐ */
  margin-bottom: 2rem;
}

/* 左の画像 */
.hojin-image {
  width: 300px;
  margin-right: 30px; /* ← 画像と文章の間の余白だけここで作る */
}

.hojin-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 右のテキスト */
.hojin-text {
  flex: 1; /* 残りを全部使う */
  min-width: 0;
}

/* 下部：全幅画像 */
.hojin-full-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* スマホ表示：縦並びに切り替え */
@media screen and (max-width: 768px) {
  .hojin-inner {
    flex-direction: column;
  margin-bottom: 0;
  }
	
  .hojin-inner p {
  margin: 10px 0 ;
  }

  .hojin-image,
  .hojin-text {
    max-width: 100%;
  }
}
/*法人概要・沿革ここまで*/

/*プライバシーポリシーと予算・決算報告*/
/* セクション全体の背景：緑×白の縦ストライプ */
.stripe-button-section {
  background: repeating-linear-gradient(
    90deg,
    #c0e5b6,       /* 緑の薄い色 */
    #c0e5b6 20px,
    #ffffff 20px,
    #ffffff 25px
  );
  padding: 2rem 1rem;
}

/* ボタンを左右並び or 縦並びにするためのラッパー */
.button-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ボタンの見た目 */
.custom-button {
  display: inline-block;
  padding: 0 1rem;
  border: 2px dashed #4caf50;
  border-radius: 20px;
  background-color: #ffffff;
  text-align: center;
  transition: all 0.3s ease;
}

.custom-button img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ホバー時のちょっとした効果 */
.custom-button:hover {
  background-color: #FFF;
  transform: scale(1.03);
}

/* スマホ表示：ボタンを縦に並べる */
@media (max-width: 768px) {
  .button-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
/*プライバシーポリシーと予算・決算報告ここまで*/

/*あかびらエルムハイツ　特養従来型ぺージ*/
/*従来型の特徴の2カラム*/
.info-layout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 20px 0;
}

.info-image {
  flex: 1;
  min-width: 200px;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.info-text {
  margin-top: 10px;
	flex: 2;
  border: 1px dashed #444;
  padding: 10px;
  line-height: 1.0;
}

.info-text p {
	position: relative;
	padding-left: 10em;
  margin: 0;
	line-height: 1.6;
}
.info-text ul {
	margin: 0;
}
.info-text ul li {
	line-height: 1.6;
	margin-bottom: 0;
}

.info-text .label {
  position: absolute;
  left: 0;
  top: 0;
  width: 10em;        /* ラベルの幅 */
  font-weight: bold;
  color: #000;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .info-layout {
    flex-direction: column;
	  gap: 0;
	  margin: 20px 0;
  }

  .info-text p {
    display: block;
    position: static;
    padding-left: 0; /* ← ここを追加！余白を消す */
    margin-bottom: 1em;
  }

  .info-text .label {
    display: block;
    margin-bottom: 3px;
    width: auto;
    position: static;
  }
}

/*8つの特徴*/
.elm-box-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: stretch;
}
.elm-box {
  border: 3px dashed #ccc;
  border-radius: 20px;
  padding: 1rem 1rem 0 1rem;
  width: 22%;
  text-align: left;
  background-color: #fff;
  box-sizing: border-box;
}
.elm-box h5 {
letter-spacing: 0;
	line-height: 130%;
	font-size: 19px;
}
.elm-box p {
	margin-top: 0;
letter-spacing: 0;
	line-height: 130%;
	font-size: 14px;
}
.elm-box ul {
	padding-left:10px;
	font-size: 14px;
	letter-spacing:0;
}
.elm-box li {
	margin: 0;
}
@media screen and (max-width: 768px) {
  .elm-box-grid {
    flex-direction: column;
    gap: 0;
  }

  .elm-box {
    width: 100%;
  }
}
/*施設内観の画像並び（エルム従来型）*/
.photo-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
	margin-left:0;
	margin-right:0;
}

.left {
  flex: 2;
}

.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.img-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-layout img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
	.bottom-row{
		margin-top: 0;
	}
	.row {
    flex-direction: column;
  }
  .left, .right {
    flex: 100%;
	  margin: 0 15px;
	  gap: 10px;
  }
}

/*ご利用料金*/
.elm-fee {
	background-color: #E9F8DE;
	padding: 15px;
}
.elm-fee table {
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #666;
	border-left-color: #666;
}
.elm-fee table tr th {
    background-color: #FFE9C5;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-color: #666;
    border-bottom-color: #666;
    padding: 10px;
    color: #666;
	font-weight: bold;
	font-size: 16px;
}

.elm-fee table tr td {
	background-color: #FFF;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #666;
	border-bottom-color: #666;
	padding: 10px;
	font-size: 18px;
}
.section-dot-background {
  background-color: #E9F8DE;
  background-image: radial-gradient(#A3D67D 1px, transparent 1px);
  background-size: 8px 8px; /* ドットの間隔：小さくしたければ8pxなどに */
	padding: 10px 30px;
}


/*施設内観の画像並び（エルムユニット型）*/
.new-photo-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 上段：左右同じ幅 */
.top-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-left,
.top-right {
  flex: 1;
}

.top-left img,
.top-right img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 下段：左2枚縦並び、右1枚 */
.bottom-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bottom-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bottom-left .bottom-wide img,
.bottom-left .bottom-square img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.bottom-right {
  flex: 1;
}

.bottom-right img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* スマホ表示：縦並びにする */
@media screen and (max-width: 768px) {
.top-row {
	margin-bottom: 0;
}
.bottom-left {
	margin-bottom: -30px;
}
	.top-row,
  .bottom-row,
  .bottom-left {
    margin-top: 0;
    flex-direction: column;
  }

  .top-left,
  .top-right,
  .bottom-left,
  .bottom-right,
  .bottom-wide,
  .bottom-square {
    flex: 100%;
  }
}
/* ご利用料金Q&A点線囲み */
.qa-text {
  margin-top: 10px;
	flex: 2;
  border: 1px dashed #444;
  padding: 10px;
  line-height: 1.0;
	letter-spacing:.03em;
}

.qa-text p {
	position: relative;
  margin: 0;
	line-height: 1.6;
}

/* あかびらエルム　デイサービス */
/* 1番下のイラスト＋4つ並びボタン */
.day-illustration {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-illustration img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.day-box {
  border: 3px dashed #A5E15E;
  border-radius: 20px;
  padding: 1rem 1rem 0 1rem;
  width: 18%;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
  transition: transform 0.3s;
}

.day-box:hover {
  transform: translateY(-5px);
}

.day-box img {
  max-width: 100%;
  height: auto;
}
.day-box h4 {
	font-size: 16px;
	font-weight: bold;
}

@media screen and (max-width: 768px) {
  .day-illustration {
    width: 100%;
  }
.day-box {
    width: 100%;
  }
}

/* あかびらエルム　ショートステイ */
/* イラスト＋3つ並びボタン */
.short-dash {
  margin-top: 10px;
  border: 1px dashed #444;
  line-height: 1.0;
  background-color: #fff;
}
.short-dash p {
  font-size: 14px;
	margin-bottom: 0;
}

.short-illustration {
  display: flex;
  justify-content: center; /* 横方向中央（必要なら） */
  align-items: center;     /* 縦方向中央 */
}
.short-illustration img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.short-box {
  border-radius: 20px;
  padding: 1rem 1rem 0 1rem;
  width: 22%;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
}

.short-box img {
  max-width: 100%;
  height: auto;
}
.short-box h4 {
	font-size: 20px;
	font-weight: bold;
}

@media screen and (max-width: 768px) {
.short-illustration img {
  max-width: 90%;
	margin-bottom: 30px;
}

.short-box {
    width: 100%;
    margin-bottom: 15px;
  }
}
/* ・の代わりに×のリスト */
.cross-list {
  list-style: none; /* デフォルトのリストマーカーを消す */
  padding-left: 0;
}

.cross-list li {
  position: relative;   /* 疑似要素を絶対配置するため */
  padding-left: 1.5em;  /* ×の幅＋余白を確保 */
}

.cross-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.elm-short-back {
    width: 100%;
    max-width: 535px;
    padding: 40px 25px 40px 55px;
    background-image: url(https://www.elm812.com/wp/wp-content/uploads/elm_short_back01.jpg);
    background-size: 100% 102%;   /* 横幅100%、縦を10%拡大 */
    background-position: center;  /* 中央寄せ */
    background-repeat: no-repeat;
    box-sizing: border-box;
    margin: 0 auto;
}

.top-right img {
  max-width: 100%;
  height: auto;
  width: auto;
}
@media screen and (max-width: 768px) {
.elm-short-back {
  padding: 40px 15px 40px 45px;
}
	}

/* Q&AのCSS */
.boxQA {
	position: relative;
	padding: 0.5em;
	background: #EDF1F5;/*A文章部分背景色*/
	border-radius: 10px;
	margin-top: 2em;
	margin-right: 0;
	margin-bottom: 2em;
	margin-left: 1em;
}

.boxQA .box-title {
    position: relative;
    background: #fff;/*Q文章部分背景色*/
    padding: 10px 5px 10px 40px;
    color: red;/*Q文章文字色*/
	font-weight:500;
    border-radius: 10px;
}
.boxQA .box-title:before {
    content: "Q";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*Q文字色*/
    background: #9ED1FF;/*Q背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    top: 20px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}
.boxQA .box-title:after {
    content: "A";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*A文字色*/
    background: #FFAB8B;/*A背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    bottom: -80px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}

.boxQA p {
    padding: 20px 20px 15px 40px;
    margin: 0;
}

.boxQA strong {
	font-size: 15px;
	margin-left:15px;
}

.boxQA ul {
  padding: 0 1em;
  position: relative;
}
.boxQA ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 4.2em;
  list-style-type: none!important;
}
.boxQA ul li:before {
  font-family: "FontAwesome";
  content: "\f138";/*アイコン種類*/
  position: absolute;
  left : 3.5em;
  color: #FFAB8B; /*Aのリストのアイコンの色*/
}
/*Contact Form 7カスタマイズ*/
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 width:70%;
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:15px;
 width:350px;
 background:#ffaa56;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 margin:25px auto 0;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 color:#ffaa56;
 border:2px solid #ffaa56;
}
/*スマホContact Form 7カスタマイズ*/
@media (max-width:500px){
.inquiry th,.inquiry td {
 display:block!important;
 width:98%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}
}


/* 求人情報ぺージ */
.mizuiro { background-color: #4fc3f7; }
.orenji { background-color: #ffb74d; }
.kiiro { background-color: #fff176; color: #333; }
.midori { background-color: #aed581; color: #333; }
.pinku { background-color: #f48fb1; }
.green { background-color: #80be58; }

/* ========== 表部分 ========== */
.job-rows {
  display: flex;
  flex-direction: column;
	gap: 15px;
}
.job-rows p {
margin: 0;
	display: none;
}

.job-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}

.job-card {
  width: calc(50% - 10px);
  box-sizing: border-box;
}

.image-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 見出し */
.job-heading {
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.job-card a:hover .job-heading {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.job-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.job-heading .status {
  background: #e53935;
  color: white;
  font-size: 13px;
  padding: 2px 6px;
  margin-right: 8px;
  border-radius: 4px;
}

.job-heading.green h2 {
	color: #fff;
    border-top: 0;
    border-bottom: 0;
}

/* 見出し色 */
.job-heading.mizuiro { background-color: #e1f5fe; }
.job-heading.orenji { background-color: #fff3e0; }
.job-heading.kiiro { background-color: #fffde7; }
.job-heading.midori { background-color: #f1f8e9; }
.job-heading.pinku { background-color: #fce4ec; }
.job-heading.green { background-color: #80be58; }

/* 表 */
.job-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

.job-table th,
.job-table td {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.job-table th {
  background: #f9f9f9;
  width: 30%;
}

/* ========== スマホ対応 ========== */
@media screen and (max-width: 768px) {
  .job-card {
    width: 100% !important;
    margin-bottom: 15px; /* ← 追加：縦の余白 */
  }

  .job-row {
    flex-direction: column;
  }

  /* 最後のカードだけ余白なしにする場合（オプション） */
  .job-row .job-card:last-child {
    margin-bottom: 0;
  }
}
