@charset "utf-8";
/*==================================================
all
===================================*/
/*--------------【】----------------*/
#main {
  overflow-x: hidden;
}
.empty {
  height: 150px;
}
/*.border-bottom {
  border-bottom: 2px solid #7E7C80;
}*/
.copyright {
  padding-bottom: 0;
}
/*==================================================
main
===================================*/
/*--------------【ファーストビュー（スライドショー）】----------------*/
#slider {
  width: 90%;
  height: 80vh;
  margin: 0 auto;
  border-radius: 20px;
}
.slider-img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 4vw;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
.wrapper {
  position: relative;
}
/*--------------【挨拶】----------------*/
.about-us-back {
  background-image: url("../image/index/about-us.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 50px;
}
.about-us-container {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
}
.about-us-text-container {
  width: 100%;
  margin: 50px auto 0 auto
}
.about-us-text-container p {
  max-width: 65%;
  margin: 0 auto;
}
/*--------------【グループ】----------------*/
.res-group-list {
  display: none;
}
.group-back {}
.group-container {
  position: relative;
  margin: 30px auto;
  text-align: center;
}
/**/
/**/
.pc-group-list {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2%;
  width: 100%;
}
.pc-group-list li {
  position: relative;
  padding: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  overflow: hidden; /* 内容がはみ出さないように */
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}
/* オーバーレイのスタイル */
.pc-group-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
  opacity: 0; /* 初期状態では非表示 */
  transition: opacity 0.3s ease; /* オーバーレイのトランジション */
  z-index: 1; /* dt と dd の下に配置 */
}
/* dt と dd を重ねて配置 */
.pc-group-list dt, .pc-group-list dd {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2; /* オーバーレイの上に配置 */
}
/* 初期状態では dt を表示、dd を非表示にする */
.pc-group-list dt {
  color: #3D9A75;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.5;
  height: 100%;
  text-shadow: 2px 2px 5px white, /* 右下に白い影 */ -2px 2px 5px white, /* 左下に白い影 */ 2px -2px 5px white, /* 右上に白い影 */ -2px -2px 5px white; /* 左上に白い影 */
}
.pc-group-list dd {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  text-align: left;
}
/* hover したときに dt を非表示にする */
.pc-group-list li:hover dl dt {
  opacity: 0;
  visibility: hidden;
}
/* hover したときに dd を表示させる */
.pc-group-list li:hover dl dd {
  color: #fff;
  opacity: 1;
  visibility: visible;
  padding: 30px;
}
.pc-group-list dd img {
  display: block;
  text-align: center;
  margin: 0 auto;
  height: 80px;
  margin-bottom: 20px;
}
/* hover したときにオーバーレイを表示する */
.pc-group-list li:hover::before {
  opacity: 1; /* オーバーレイを表示 */
}
.pc-group-list .group-btn {
  margin: 0 auto;
  text-align: center;
}
/*バックグラウンドイメージ*/
/*.houmon-back {
  background-image: url("../image/index/kango.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}*/
.tamayura-back {
  background-image: url("../image/index/tamayura.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.npo-back {
  background-image: url("../image/index/npo.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.realize-back {
  background-image: url("../image/index/realize.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tamai-back {
  background-image: url("../image/index/tamaigumi.jpg");
  background-position: right;
  background-size: cover;
  background-repeat: no-repeat;
}
/*--------------【お知らせ】----------------*/
.news-back {}
.achievements-main-title:before {
  /*  background: #fff;
*/
}
.back-top {
  background-image: url("../image/common/background-img-top.png");
  background-repeat: repeat-x;
  background-size: contain;
  background-position: top;
}
.back-bottom {
  background-image: url("../image/common/background-img-bottom.png");
  background-repeat: repeat-x;
  background-size: contain;
  background-position: bottom;
  padding-bottom: 100px;
}
.news-main-title {
  margin-top: 50px;
}
/*==================================================
PC
===================================*/
@media (max-width:1024px) {
  .pc {
    display: none;
  }
}
/*==================================================
******ここからレスポンシブ*******
===================================*/
/*==================================================
ipad大
===================================*/
@media (min-height:1200px) {
  /*--------------【ファーストビュー（スライドショー）】----------------*/
  #slider {
    height: 50vh; /* スマホでは50vhにするなど */
  }
  /*--------------【グループ】----------------*/
  .pc-group-list {
    display: none;
  }
  .res-group-list {
    display: block;
  }
  /**/
  .res-group-list {
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7%;
    width: 100%;
  }
  .res-group-list li {
    padding: 20px;
    height: 100%; /* 必要に応じて設定 */
  }
  .res-group-list li a {
    display: inline-block;
    height: 100%;
  }
  .res-group-list dl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px 20px;
    height: 100%;
  }
  /* dt と dd の位置をリセットし、両方を常に表示 */
  .res-group-list dt, .res-group-list dd {
    position: static; /* 位置をリセット */
    opacity: 1; /* 両方とも表示する */
    visibility: visible; /* 両方とも表示する */
    transform: none; /* transformをリセット */
    text-align: center; /* 中央揃え */
  }
  /* オーバーレイと dt/dd のスタイルを調整 */
  .res-group-list dt {
    opacity: 1;
    color: #3D9A75;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    text-shadow: 2px 2px 5px white, /* 右下に白い影 */ -2px 2px 5px white, /* 左下に白い影 */ 2px -2px 5px white, /* 右上に白い影 */ -2px -2px 5px white; /* 左上に白い影 */
  }
  .res-group-list dd {
    color: #fff; /* dd のテキスト色を白に変更 */
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  .res-group-list img {
    height: 80px;
    width: 80px;
    margin: 10px auto;
  }
}
/*==================================================
PC/ipad大
===================================*/
@media (max-width:1025px) {}
/*==================================================
ipad
===================================*/
@media (max-width:900px) {
  /*--------------【空】----------------*/
  .empty {
    height: 100px;
  }
  /*--------------【スライドショー】----------------*/
  #slider {
    height: 50vh;
    width: 100%;
    border-radius: 0;
  }
  .slider-img {
    height: 10rem;
  }
  /*--------------【私たち】----------------*/
  .about-us-back {
    margin-top: 0;
  }
  .about-us-text-container p {
    max-width: 75%;
    text-align: left;
  }
  /*--------------【グループ】----------------*/
  .pc-group-list {
    display: none;
  }
  .res-group-list {
    display: block;
  }
  /**/
  .res-group-list {
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 7%;
    width: 100%;
  }
  .res-group-list li {
    padding: 20px;
    height: 100%; /* 必要に応じて設定 */
  }
  .res-group-list li a {
    display: inline-block;
    height: 100%;
  }
  .res-group-list dl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px 20px;
    height: 100%;
  }
  /* dt と dd の位置をリセットし、両方を常に表示 */
  .res-group-list dt, .res-group-list dd {
    position: static; /* 位置をリセット */
    opacity: 1; /* 両方とも表示する */
    visibility: visible; /* 両方とも表示する */
    transform: none; /* transformをリセット */
    text-align: center; /* 中央揃え */
  }
  /* オーバーレイと dt/dd のスタイルを調整 */
  .res-group-list dt {
    opacity: 1;
    color: #3D9A75;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    text-shadow: 2px 2px 5px white, /* 右下に白い影 */ -2px 2px 5px white, /* 左下に白い影 */ 2px -2px 5px white, /* 右上に白い影 */ -2px -2px 5px white; /* 左上に白い影 */
  }
  .res-group-list dd {
    color: #fff; /* dd のテキスト色を白に変更 */
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  .res-group-list img {
    height: 80px;
    width: 80px;
    margin: 10px auto;
  }
  /*--------------【ニュース】----------------*/
  .news-back {
    margin-top: 200px;
  }
}
/*==================================================
iPhone大
===================================*/
@media (max-width:600px) {
  /*--------------【私たち】----------------*/
  .about-us-text-container {
    text-align: left;
  }
  .about-us-text-container p {
    max-width: 78%;
  }
  /*--------------【グループ】----------------*/
  .group-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .group-list li {
    height: 50vh;
  }
  /*--------------【ニュース】----------------*/
  .news-back {
    margin-top: 250px;
  }
  .news-main-title {
    margin-bottom: 20px;
  }
}
/*==================================================
iPhone小
===================================*/
@media (max-width:450px) {
  /*--------------【スライドショー】----------------*/
  #slider {
    height: 40vh;
  }
  /*--------------【私たち】----------------*/
  .about-us-text-container p {
    max-width: 100%;
  }
}