@charset "UTF-8";

:root {
  /* 基本色 */
  --color-text-base: #000;
  --color-text-sub: #333;
  --color-background-base: #fff;
  --color-border-light: #eee;
  --color-border-dark: #ccc;

  /* みらいの里のgナビと福利厚生、エントリーフォームのカラー */
  --color-primary: #00a29a;
  --color-primary-dark: #007d78;

  /*フッター*/
  --color-secondary: #f6ad3c;

  /*募集職種*/
  --color-accent: #8dc556;
  --color-accent-hover: #78e00f;

  /*シングルページ*/
  --color-job-theme: #f46c27;

  /* その他 */
  --color-danger: #ff0000;
  --color-overlay: rgba(0, 0, 0, 0.5);

  /*宅配クック*/
 --color-cook1: #279F3C;
 --color-cook2: #FD6D6D;
 --color-cook3: #3dafa0;
 --color-cook3-hover: #6ee5e7;

 /*みらいふ*/
 --color-milife1: #E59291;
 --color-milife2: #C5104C;
 --color-milife3: #eab7a3;
 --color-milife3-hover: #e3845f;

 /*でりかきっちん*/
 --color-delica1: #5A3714;
 --color-delica2: #E8D1BA;

 /*トップページ*/
 --color-top1: #D80F7E;
 --color-top1-hover: #c93a89; 
}


/*--------------------------------------------------------------
## 基本設定
--------------------------------------------------------------*/
body{
    line-height: 2;
}
a{
	text-decoration: none;
	color: var(--color-text-base);
}
ul,
ol,
dl {
	margin: 0;
	padding: 0;
	list-style: none
}
p{
    margin: 0;
    padding: 0;
}
h1{
  font-size: 3rem;
}

h2{
  font-size: 2.5rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
}

/***メインメニュー*****/
.gnav {
  background-color: var(--color-background-base);
  padding: 0 50px;
}

.gnav .navbar-brand img {
  height: 80px;
}

.gnav-items {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
}

.gnav-item {
  list-style: none;
}

.gnav-link {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.gnav-link:hover {
  color: var(--color-primary-dark);
}


/* Responsive Menu */
.headerSp__btn {
  background: none; 
  border: none;
  cursor: pointer;
  padding: 8px; 
  z-index: 1040; 
  display: flex; 
  flex-direction: column;
  justify-content: space-around;
  width: 40px; 
  height: 40px; 
  box-sizing: border-box; 
}
.headerSp__open {
  position: fixed;
  top: 25px; 
  right: 20px; 
  background-color: rgba(240, 240, 240, 0.9); /* 個別の指定を残すか、変数化するか検討 */
  border-radius: 5px;
}

.headerSp__btn span {
  display: block;
  width: 100%; 
  height: 3px;
  background-color: var(--color-text-sub); 
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
.headerSp__close span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.headerSp__close span:nth-child(2) {
  opacity: 0;
}
.headerSp__close span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.headerSp__nav {
  position: fixed;
  top: 0;
  left: -100%; 
  width: 100%; 
  height: 100vh;
  background-color: var(--color-background-base);
  z-index: 1050; 
  transition: left 0.3s ease-in-out;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.headerSp__nav.is-open {
  left: 0; 
}

.headerSp__inner {
  padding-top: 20px;
}

.headerSp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--color-border-light);
}
.headerSp__logo {
  height: 50px; /* SP用ロゴの高さ調整 */
}

.headerSp__items {
  padding: 20px;
}

.headerSp__item {
  margin-bottom: 15px;
}

.headerSp__link {
  font-size: 1rem;
  color: var(--color-text-sub);
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  z-index: 1030; 
  display: none;
}

.overlay.is-open {
  display: block;
}

body.menu-open {
  overflow: hidden; 
}

/*--------------------------------------------------------------
## フッター
--------------------------------------------------------------*/
/*footer {
  text-align: center;
  border-top: 1px solid var(--color-secondary);
}
.footer-bottom {
  background-color: var(--color-secondary);
  color: var(--color-background-base);
  font-size: 0.75rem;
}*/
/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-background-base);
    color: #052DA0; /* この色も変数化を検討 */
    display: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    z-index: 11;
}

.back-to-top:hover {
    background: rgb(236, 236, 236);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/*==================================================
フッター
==================================================*/
footer {
    background-color: #f8f9fa; /* 背景色：薄いグレー */
    color: #333;
}

/* 見出し */
footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}

/* リスト */
footer ul li {
    margin-bottom: 10px;
}

/* リンク */
footer a.footer-link {
    color: #555 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.2em;
}

/* リンクのアイコン（Bootstrap Icons） */
footer a.footer-link::before {
    content: "\F285"; /* bi-chevron-right */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.8em;
    color: #adb5bd;
    transition: color 0.3s ease;
}

/* ホバー時の挙動 */
footer a.footer-link:hover {
    color: #000 !important;
    transform: translateX(5px);
}

footer a.footer-link:hover::before {
    color: #000;
}

/* ロゴエリア */
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    max-width: 300px; /* ロゴの最大幅を制限 */
    width: 100%;
    height: auto;
}

/* コピーライト */
.footer-bottom {
    background-color: #333;
    color: #fff;
    font-size: 0.85rem;
    text-align: center;
}




/*--------------------------------------------------------------
## みらいの里幸田ページ
--------------------------------------------------------------*/
.hero_kota{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/mirai-kouta/home/main_1_pc.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/* メインビジュアルのレスポンシブ対応 */
@media (max-width: 1024px) {
  .hero_kota {
    background-image: url('../images/mirai-kouta/home/main_1_tablet.jpg');
  }
}
@media (max-width: 576px) {
  .hero_kota {
    background-image: url('../images/mirai-kouta/home/main_sp.jpg');
  }
}
.main-visual__copy {
  margin-bottom: 0.5em;
  line-height: 1.4;
  color: var(--color-background-base);
  text-align: center;
  position: absolute;
  top: 40%;
  text-shadow:
    2px 2px 1px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 1),
    0 0 15px rgba(0, 0, 0, 1);
  width: 100%;
  left: 0;
  letter-spacing: 2px;
  font-family: "Shippori Mincho", serif;
}


.main-visual-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* 黒の半透明オーバーレイ */
  padding: 1em ; /* テキストの上下の余白。この値を変更して高さを調整します */
}
.main-visual-location {
  font-size: 2.4rem;
}
.main-visual-open {
  font-size: 1.5rem;
  margin-left: 1rem;
}
.main-visual-title {
  font-size: 4rem;
  line-height: 1.4;
}
.main-visual-subtitle {
  font-size: 1.8rem;
  padding: 0 1em;
}
@media (max-width: 992px){
    .main-visual-location{
      font-size: 2rem;
  }
  .main-visual-open{
      font-size: 1rem;
  }
  .main-visual-title{
      font-size: 3rem;
  }
  .main-visual-subtitle{
      font-size: 1.5rem;
  }
}
@media (max-width: 768px){
  .main-visual-location{
    font-size: 1.8rem;
  }
  .main-visual-open{
    font-size: 1rem;
  }
  .main-visual-title{
    font-size: 2.5rem;
  }
  .main-visual-subtitle{
    font-size: 1.2rem;
  }
}
@media(min-width: 576px){
  .main-visual__copy br{
    display: none;
  }
}
@media (max-width: 575px) {
  .main-visual-overlay{
    background-color: transparent;
    padding: 0 ;
  }
  .main-visual-location{
    font-size: 1.5rem;
    display: block;
  }
  .main-visual-open{
    font-size: 1rem;
    display: block;
  }
  .main-visual-title{
    font-size: 2.5rem;
    padding: 0 2rem;
  }
  .main-visual-subtitle{
    font-size: 0.7rem;
    /*position: absolute;
    top: 110%;
    left: 50%;
    line-height: 2;*/
    padding: 0 0.5em;
  }
}
/* キャッチコピー*/
.catchcopy {
  color: var(--color-accent);
}

.catchcopy p{
    font-size: 2rem;
    font-weight: bold;
}

/* スマートフォン表示用にキャッチコピーの文字サイズを調整 */
@media (max-width: 768px) {
  .catchcopy p {
    font-size: 1.2rem; /* pの文字サイズを調整 */
  }
}
.facility-text p {
  font-size: 1.1rem;
}

.btn-recruit {
  background-color: var(--color-accent);
  color: var(--color-background-base);
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 1.1rem;
}
.btn-recruit:hover {
  background-color: var(--color-accent-hover);
}


/***福利厚生**********************/
.sec-benefit{
  color: var(--color-primary);
}
.benefit-title{
  text-align: center;
  color: var(--color-primary);
  font-weight: bold;
}

/****施設概要*********************/
.sec-map{
  color: var(--color-secondary);
}
.map-info {
  border-bottom: 1px solid #f6ad3c;
  display: flex

}
.map-info dt,
.map-info dd {
  margin: 0;
  padding: 10px 20px;
  vertical-align: middle;
}
.map-info dt{
  width: 20%;
}
@media (max-width: 768px) {
  .map-info{
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 0 0;
  }
  .map-info dt,
  .map-info dd  {
    width: auto;
    padding: 0 10px;
  } 
  }
/***募集職種**********************/
.sec-recruit{
  color: var(--color-accent);
}
.recruit-card {
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  background-color: var(--color-background-base);
  transition: box-shadow 0.3s;
}
.recruit-card h5 {
  font-size: 0.9rem;
  padding: 5px 10px;
  display: inline-block;
  border-radius: 5px;
  background-color: var(--color-accent);
  color: var(--color-background-base);
  font-weight: bold;
}
.recruit-card h4{
  font-size: 1.1rem;
  font-weight: bold;
}
.recruit-card p{
  font-size: 0.9rem;
}
.rec-card-catchcopy{
  color: var(--color-accent);
  font-weight: bold;

}
.recruit-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.btn-recruit-info {
  background-color: var(--color-accent);
  border-radius: 5px;
  font-size: 1.1rem;
  text-align: center;
  padding: 10px 0;
  color: var(--color-background-base);
}
.btn-recruit-info:hover{
  background-color: var(--color-accent-hover);
}


/*--------------------------------------------------------------
## エントリーフォーム
--------------------------------------------------------------*/
.sec-entry{
  color: var(--color-primary);
}
.entry-form {
  background-color: #e6f7f7;
  padding: 40px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.entry-form label span {
  background-color: var(--color-danger);
  color: var(--color-background-base);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}
.entry-form .btn {
  background-color: var(--color-primary);
  color: var(--color-background-base);
  font-size: 1rem;
  padding: 10px 50px;
  border: none;
  border-radius: 30px;
}
.entry-form .btn:hover {
  background-color: var(--color-primary-dark);
}
.entry-form > .row.mb-3,
.entry-form > .text-center {
  width: 100%;
  max-width: 800px; 
}
/* エントリーフォーム カスタムスタイル */
.entry-form .form-label-custom {
  flex: 0 0 auto; 
  width: 30%; 
  padding-right: 0.75rem; 
}

.entry-form .form-field-custom {
  flex: 0 0 auto; 
  width: 70%; 
}

/* レスポンシブ対応: 画面幅が767.98px以下の場合 */
@media (max-width: 767.98px) {
  .entry-form .row.mb-3 {
    flex-direction: column; 
    align-items: flex-start; 
  }

  .entry-form .form-label-custom,
  .entry-form .form-field-custom {
    width: 100%; 
  }

  .entry-form .form-label-custom {
    margin-bottom: 0.5rem; 
    padding-right: 0; 
  }
}



/***********single**************/
/*--------------------------------------------------------------
## singleぺージ　募集要項
--------------------------------------------------------------*/
.job-header {
  background-color: var(--color-job-theme);
  padding: 40px 0;
  color: var(--color-background-base);
}
.job-header h1 {
  font-weight: bold;
  margin: 0;
}
/* サブセクション見出し（「介護職員スタッフ」など） */
.job-subtitle {
  background-color: var(--color-job-theme);
  color: var(--color-background-base);
  font-weight: bold;
  padding: 8px 20px;
  margin: 30px 0;
}
.job-content-title {
  color: var(--color-job-theme);
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 2rem;
}
/* キャッチコピー */
.job-lead {
  font-weight: bold;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
/* 画像説明ブロック */
.job-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}
.job-text-box h4 {
  color: var(--color-job-theme);
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.sec-job{
  color: var(--color-job-theme);
}
.table tr{
  border-bottom: 1px solid var(--color-text-base);
}
.table th{
  color: var(--color-job-theme);
  width: 20%;
}
.table th,
.table td {
  padding: 30px 20px;
  vertical-align: middle;
}
@media (max-width: 767.98px){
  .table tr{
    border-bottom: 0.5px solid var(--color-text-base);
  }
  /* single.html テーブルのレスポンシブ対応 */
  .table th,
  .table td {
    display: block; /* thとtdをブロック要素にして縦積みに */
    width: 100%;    /* 幅を100%に */
    text-align: left; /* テキストを左揃えに */
  }
  .table td{
    padding: 0 10px 10px;
  }

  .table th {
    border-bottom: none; /* th自体の下線は不要な場合が多い */
    padding: 10px;
  }
}

/*--------------------------------------------------------------
## みらいの里大府ページ
--------------------------------------------------------------*/
.hero_oobu{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/mirai-oobu/main_oobu.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*大府メインタイトル用*/
.copy-oobu{
  top: 65%;
}

/*--------------------------------------------------------------
## みらいの里刈谷ページ
--------------------------------------------------------------*/
.hero_kariya{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/mirai-kariya/main_kariya.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/*--------------------------------------------------------------
## デイサービスみらいページ
--------------------------------------------------------------*/
.hero_ds_mirai{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/ds-mirai/main_ds_mirai.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## 宅配クック123大府東海店ページ
--------------------------------------------------------------*/
.hero_cook_oobu{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/takuhai-cook123-oobu/main_oobu.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.catchcopy-cook{
  color: var(--color-cook1);
}
.cook-color1{
  color: var(--color-cook1);
}
.cook-color2{
  color: var(--color-cook2);
}
.map-info-cook {
  border-bottom: 1px solid var(--color-cook2);
}
.cook-color3-background h5{
  background-color: var(--color-cook3);
}
.cook-color3-btn{
  background-color: var(--color-cook3);
}
.cook-color3-btn:hover{
  background-color: var(--color-cook3-hover);
}
.cook-color3{
  color: var(--color-cook3);
}
/*--------------------------------------------------------------
## 宅配クック123豊田店ページ
--------------------------------------------------------------*/
.hero_cook_toyota{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/takuhai-cook123-toyota/main_toyota.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## 宅配クック123瀬戸店ページ
--------------------------------------------------------------*/
.hero_cook_seto{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/takuhai-cook123-seto/main_seto.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## 宅配クック123幸田店ページ
--------------------------------------------------------------*/
.hero_cook_kota{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/takuhai-cook123-kota/main_kota.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## 小僧寿し幸田店ページ
--------------------------------------------------------------*/
.hero_kozou{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/kozou-kota/main-kozo-kota.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## みらいふページ
--------------------------------------------------------------*/
.hero_milife{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/milife/milife_main.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.catchcopy-milife{
  color: var(--color-milife1)
}
.milife-color1{
  color: var(--color-milife1);
}
.milife-color2{
  color: var(--color-milife2);
}
.map-info-milife {
  border-bottom: 1px solid var(--color-milife2);
} 
.milife-color3{
  color: var(--color-milife3);
}
.milife-color3-background h5{
  background-color: var(--color-milife3);
}
.milife-color3-btn{
  background-color: var(--color-milife3);
}
.milife-color3-btn:hover{
  background-color: var(--color-milife3-hover);
} 

/*--------------------------------------------------------------
## みらいページ
--------------------------------------------------------------*/
.hero_mirai{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/mirai/main_mirai.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
/*--------------------------------------------------------------
## MPG本社ページ
--------------------------------------------------------------*/
.hero_mpg-honsya{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/mpg-honsya/mpg-honsya.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

/*--------------------------------------------------------------
## でりかきっちんページ
--------------------------------------------------------------*/
.hero_delica-kitchen{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    background-image: url('../images/delica-kitchen123/delica_main.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.catchcopy-delica-kitchen{
  color: var(--color-delica1)
}
.delica-kitchen-color1{
  color: var(--color-delica1);
}
.delica-kitchen-color2{
  color: var(--color-delica2);
}
.map-info-delica-kitchen {
  border-bottom: 1px solid var(--color-delica2);
} 
.delica-kitchen-color1-background h5{
  background-color: var(--color-delica1)
}
.delica-kitchen-color1-btn{
  background-color: var(--color-delica1)
}
/*--------------------------------------------------------------
## トップページ
--------------------------------------------------------------*/
.com-til{
  color: var(--color-top1);
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
}
.btn-company{
  background-color: var(--color-top1);
  color: var(--color-background-base);
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 1.1rem;
}
.btn-company:hover {
  background-color: var(--color-top1-hover);
  color: var(--color-background-base);
}

/* メインビジュアル スライドショー設定 */
.hero {
    position: relative;
    overflow: hidden;
    /* 既存の背景画像指定があれば無効化 */
    background: none !important;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}
