@charset "utf-8";
/*==================================================
all
===================================*/
.section-container {
  /*padding-bottom: 0;*/
}
.company-table {
  border-collapse: collapse;
  width: 70%;
  margin: 50px auto 100px auto;
}
.company-table th, .company-table td {
  border-bottom: 2px solid #A7D7C5;
  padding: 1em;
}
.company-table th {
  border-bottom: 2px solid #FEA0D2;
  font-weight: bold;
  text-align: center;
  width: 30%;
  min-width: 4em;
}
/*ナンバータイトル*/
.number-title {
  position: relative;
  color: rgba(254, 160, 210, 1);
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
}
.number {
  font-size: 2.5em;
  color: rgba(254, 160, 210, 0.5);
}
.number-title02 {
  color: #f43f5e;
}
.number02 {
  color: rgba(244, 63, 94, 0.5);
}
.number-title03 {
  color: #facc15;
}
.number03 {
  color: rgba(250, 204, 21, 0.5);
}
/**/
/*スモールタイトル*/
.small-title {
  position: relative;
  margin-top: 100px;
}
.small-title p {
  display: inline-block;
  color: #fff;
  background-color: #FEA0D2;
  padding: 5px 10px;
  border-radius: 30px;
}
/*ボタン*/
.company-btn {
  display: block;
  text-align: center;
}
/**/
.grid-container {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2%;
  width: 100%;
}
/*モーダル*/
.gallery-container {
  margin-top: 100px;
}
.gallery-container p {
  font-weight: bold;
  font-size: 1.2em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  text-align: center;
  grid-column-gap: 5px;
}
.gallery-list {
  text-align: center;
  margin: 50px auto;
}
.gallery-list img {
  width: auto;
  height: auto;
  max-width: 100%;
}
.gallery-list dd {
  width: 90%;
  margin: 0 auto;
}
/*==================================================
main
===================================*/
/*--------------【経営理念】----------------*/
.philosophy-back {
  background-image: url("../image/company/rinen.jpg");
  /*  background-attachment: fixed;*/
  background-size: cover;
  background-position: top right;
  height: 100vh;
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
}
.philosophy-section-container {
  padding: 0;
}
.philosophy-container {
  background-color: rgba(0, 0, 0, 0.2);
  /*  padding: 20px 300px;*/
  padding: 20px 0;
  width: 80vw;
  height: 100%;
}
.philosophy-main-title {
  color: #fff;
}
.philosophy-main-title:before {
  background: #fff;
}
.philosophy-text-container {
  width: 100%;
  margin: 50px auto;
  text-align: center;
  line-height: 2;
  color: #fff;
}
/*==================================================
歴史
===================================*/
/*--------------【】----------------*/
.grid-container {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2%;
  width: 100%;
}
/**/
.small-title {
  padding-top: 30px;
  font-size: 1.3em;
  line-height: 1.9;
}
dt {
  font-weight: bold;
  font-size: 1.2em;
}
/*モーダル*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  text-align: center;
  texta
}
.gallery-list {
  text-align: center;
  margin: 100px auto 0 auto;
  padding-bottom: 100px;
  /*  background-image: url("../image/common/back.jpg");
  background-size: cover;
  background-position: center;*/
}
.gallery-list img {
  width: 400px;
  height: auto;
  max-width: 100%;
}
/*--------------【支援・信頼・親愛】----------------*/
.shien-shinrai-back {
  background-image: url("../image/history/shinai-img.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.shien-shinrai-container {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 50px;
  color: #fff;
}
.shien-shinrai-text {
  text-align: center;
  margin-top: 50px;
}
.shien-shinrai-main-title {
  color: #fff;
}
.shien-shinrai-main-title:before {
  background: #fff;
}
/*--------------【玉井組沿革】----------------*/
.tamaigumi-back {
  background-image: url("../image/common/gray-top.png");
  background-position: top;
}
.tamaigumi-text {
  margin-top: 50px;
}
.bottom-back {
  height: 100px;
}
/*--------------【中村哲】----------------*/
.nakamura-back {
  background-image: url("../image/common/gray-bottom.png");
  background-position: bottom;
  background-size: cover;
}
.nakamura-container {
  margin-top: 50px;
}
.nakamura-text {
  margin-bottom: 50px;
  text-align: left
}
.nakamura-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 50px auto;
}
.nakamura-grid li:first-of-type {
  width: 80%;
  margin: 0 auto;
}
.nakamura-grid a {
  display: inline;
}
.nakamura-grid img {
  height: 300px;
}
/*==================================================
概要
===================================*/
/*--------------【会社概要】----------------*/
.group-back {
  padding-bottom: 100px;
  position: relative;
}
.group-section-container {
  padding: 3%;
}
.group-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 背景より前、他のコンテンツより後ろに表示 */
}
.group-container img {
  display: block;
  width: 80%;
  padding-top: 50px;
  margin: 0 auto;
  text-align: center;
}
/* コンテンツの重ね合わせ */
.group-back * {
  position: relative;
  z-index: 2; /* オーバーレイの上にコンテンツを表示 */
}
.group-main-title {
  margin-top: 100px;
}
.group-flex {
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.group-flex iframe, .group-table {
  width: 100%; /* 幅をグリッド内でフルに広げる */
  height: 100%; /* 高さを親要素に合わせる */
}
.group-flex iframe {
  min-height: 300px; /* 最低限の高さを指定 */
  filter: hue-rotate(300deg) sepia(40%);
  -webkit-filter: hue-rotate(300deg) sepia(40%); /* Safari用 */
}
.group-table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
}
.group-table th, .group-table td {
  border-bottom: 2px solid #A7D7C5;
  padding: 1em;
}
.group-table th {
  border-bottom: 2px solid #FEA0D2;
  font-weight: bold;
  text-align: center;
  width: 30%;
  min-width: 4em;
}
/*--------------【コメント】----------------*/
.comment-section-container {
  padding-bottom: 100px;
}
.comment {
  text-align: center;
  line-height: 2;
}
/*枠*/
.box-018 {
  position: relative;
  font-size: 1.2rem;
  margin: 0 auto;
  padding: 1em calc(1.5em + 9px);
  border-top: 1px solid #3d9a75;
  border-bottom: 1px solid #3d9a75;
  color: #333;
}
.box-018::before, .box-018::after {
  position: absolute;
  width: 1px;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% + 20px);
  background-color: #3d9a75;
  content: '';
}
.box-018::before {
  left: 9px;
}
.box-018::after {
  right: 9px;
}
/*色変更*/
.name {
  font-size: 1.5rem;
  font-weight: bold;
}
.name-01 {
  color: rgba(254, 160, 210, 1);
}
.name-02 {
  color: #f43f5e;
}
.name-03 {
  color: #facc15;
}
/*--------------【株式会社サポートハウス】----------------*/
.support-table {}
.support-comment {
  text-align: center;
  text-decoration: underline;
}
.link-flex {
  text-align: center;
}
.link-flex a {
  margin: 50px 10px;
}
.houmonkango-btn {
  color: #fff;
  background: #22c55e;
}
.houmonkango-btn::after {
  border: 2px solid #22c55e;
}
.houmonkango-btn:hover {
  color: #22c55e;
  background: #fff;
}
/**/
.tamayura-btn {
  color: #fff;
  background: #d8b4fe;
}
.tamayura-btn::after {
  border: 2px solid #d8b4fe;
}
.tamayura-btn:hover {
  color: #d8b4fe;
  background: #fff;
}
/*--------------【支援の流れ】----------------*/
/*npoと同一*/
/*.square-back {
    background-image: url("../image/common/back.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 50px;
}*/
.square-section-container {
  padding-top: 0px;
}
/**/
/*ステップリスト*/
.step-list img {
  height: 50px;
}
.step-list {
  margin: 20px auto 0 auto;
  border-collapse: collapse;
  /*  border-spacing: 30px 40px;
*/
}
.step-list ul {
  display: flex;
  align-items: center;
  background-color: #f6f2e7;
  padding: 30px 40px;
  margin-bottom: 40px;
}
.step-list ul li:first-child {
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
  background-color: #A7D7C5;
  border-radius: 50%;
  color: #fff;
  text-align: center;
}
.step-list ul li:last-of-type {
  margin-left: 50px;
}
/*--------------【訪問看護ステーション】----------------*/
.houmon-sub-title {
  color: #22c55e;
}
/*.npo-table th {
  border-bottom: 2px solid #f43f5e;
}*/
/*--------------【玉響】----------------*/
.tamayura-sub-title {
  color: #d8b4fe;
}
/*.npo-table th {
  border-bottom: 2px solid #f43f5e;
}*/
/*--------------【NPO法人】----------------*/
.npo-main-title {
  color: #f43f5e;
}
.npo-main-title:before {
  background: #f43f5e;
}
/*.npo-table th, .npo-table td {
  border-bottom: 2px solid #facc15;
}*/
.npo-table th {
  border-bottom: 2px solid #f43f5e;
}
.shinbun-list dd {
  width: 100%;
}
/*--------------【玉井組】----------------*/
.tamai-main-title {
  color: #facc15;
}
.tamai-main-title:before {
  background: #facc15;
}
.tamai-table th {
  border-bottom: 2px solid #facc15;
}
.tamaigumi-img img {
  height: 300px;
}
/*--------------【職員構成】----------------*/
.shokuin-back {
  background-color: #F5F5F5;
  padding-bottom: 50px;
}
.syokuin-section-container {
  padding-top: 0;
}
.syokuin-grid {
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}
.syokuin-grid li {
  position: relative;
  /*  background-color: #A7D7C5;*/
  background-image: url("../image/company/happa.png");
  background-size: contain;
  background-repeat: no-repeat;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  /*  border: 3px solid #3D9A75;*/
  color: #fff;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.5), /* 右下の影 */ -2px -2px 4px rgba(0, 0, 0, 0.5), /* 左上の影 */ 2px -2px 4px rgba(0, 0, 0, 0.5), /* 右上の影 */ -2px 2px 4px rgba(0, 0, 0, 0.5); /* 左下の影 */
  font-weight: bold;
}
.syokuin-grid li p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*--------------【施設・受入人数】----------------*/
.shisetsu-back {
  background-image: url("../image/common/gray-top.png");
  background-position: top;
}
.shisetsu-table {
  border-collapse: collapse;
  margin: 100px auto;
}
.shisetsu-table tr {
  width: 70%;
}
.shisetsu-table th, .shisetsu-table td {
  border-bottom: none;
}
.shisetsu-table th {
  width: 60%;
  border-bottom: none;
}
.border-bold {
  border-bottom: 2px solid #A7D7C5;
}
/*--------------【受け入れ実績】----------------*/
.pc-none {
  display: none;
}
.ukeire-back {
  background-image: url("../image/common/gray-bottom.png");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 50px;
}
.ukeire-table {
  border-collapse: collapse;
  margin: 50px auto;
}
.ukeire-table tr {
  width: 70%;
}
.ukeire-table th, .ukeire-table td {
  border-bottom: none;
}
.ukeire-table th {
  width: 60%;
  border-bottom: none;
}
.border-bold {
  border-bottom: 2px solid #A7D7C5;
}
/*==================================================
******ここからレスポンシブ*******
===================================*/
/*==================================================
ipad大
===================================*/
@media (min-height:1200px) {
  /*--------------【経営理念】----------------*/
  .philosophy-back {
    background-position: top;
    height: auto;
  }
  .philosophy-container {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100vw;
  }
  /*--------------【会社概要】----------------*/
  .group-flex {
    grid-template-columns: repeat(1, 1fr);
  }
  .group-table {
    border-collapse: collapse;
    width: 100%;
  }
  .group-table th, .group-table td {
    border-bottom: 2px solid #A7D7C5;
    padding: 1em;
  }
  .group-table th {
    border-bottom: 2px solid #FEA0D2;
    font-weight: bold;
    text-align: center;
    width: 30%;
    min-width: 4em;
  }
  /*--------------【職員構成】----------------*/
  .syokuin-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
}
/*==================================================
ipad
===================================*/
@media (max-width:900px) {
  /*ナンバータイトル*/
  .number-title {
    font-size: 2em;
  }
  .number {
    font-size: 2em;
  }
  /*モーダル*/
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /*--------------【経営理念】----------------*/
  .philosophy-back {
    background-position: top;
    height: auto;
  }
  .philosophy-container {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100vw;
  }
  /*--------------【会社概要】----------------*/
  .group-flex {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 50px;
  }
  .group-table {
    border-collapse: collapse;
    width: 100%;
  }
  .group-table th, .company-table td {
    border-bottom: 2px solid #A7D7C5;
    padding: 1em;
  }
  .group-table th {
    border-bottom: 2px solid #FEA0D2;
    font-weight: bold;
    text-align: center;
    width: 30%;
    min-width: 4em;
  }
  /*--------------【職員構成】----------------*/
  .syokuin-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
  .syokuin-grid li {
    height: 180px;
    width: 180px;
  }
  /*--------------【施設・受入人数】----------------*/
  .shisetsu-table td {
    border-bottom: none;
  }
  /*--------------【受け入れ実績】----------------*/
  .tb-none {
    display: none;
  }
  .pc-none {
    display: block;
    text-align: center;
    margin-bottom: 50px;
  }
  .ukeire-table {
    margin-bottom: 10px;
  }
  .ukeire-table td {
    border-bottom: none;
  }
}
/*==================================================
iPhone大
===================================*/
@media (max-width:600px) {
  /*ナンバータイトル*/
  .number-title {
    font-size: 1.5em;
  }
  .number {
    font-size: 1.5em;
  }
  /*--------------【経営理念】----------------*/
  .philosophy-section-container {
    width: 100% !important;
  }
  /*--------------【歴史】----------------*/
  .shien-shinrai-section-container {
    width: 100% !important;
    padding: 0;
  }
  /*--------------【職員構成】----------------*/
  .syokuin-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
  .syokuin-grid li {
    text-align: center;
    margin: 0 auto;
    height: 150px;
    width: 150px;
  }
}
/*==================================================
iPhone小
===================================*/
@media (max-width: 450px) {
  .small-title p {
    width: 100%;
    text-align: center;
}
  /*--------------【歴史】----------------*/
  .gallery-list {
    margin: 50px auto 0 auto;
  }
  /*--------------【】----------------*/
  /*ナンバータイトル*/
  .number-title {
    font-size: 20px;
  }
  .number {
    font-size: 24px;
  }
  /**/
  .company-table {
    width: 100%;
    margin: 50px auto 100px auto;
  }
  /*モーダル*/
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  /*--------------【支援の流れ】----------------*/
  .step-list ul {
    flex-direction: column;
  }
  .step-list ul li:last-of-type {
    margin-left: 0;
    margin-top: 20px;
  }
  /*--------------【コメント】----------------*/
  /*枠*/
  .box-018 {
    position: relative;
    font-size: 16px;
  }
  /*色変更*/
  .name {
    font-size: 20px;
  }
  /*--------------【職員】----------------*/
  .syokuin-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .syokuin-grid li {
    height: 130px;
    width: 130px;
  }
  /*--------------【受け入れ】----------------*/
  .ukeire-table {
    margin-bottom: 10px;
  }
}