@charset "UTF-8";
/*
Theme Name: tosashimizu_shakyo
Theme URl: https://192.168.0.210/tosashimizu_shakyo/cms/
Author: Office Partner
Description: 土佐清水市社会福祉協議会HPオリジナルテーマ
*/

main {
  color: var(--sub-font);
}
/* --------------- パーツ ------------------ */
/* 矢印 白　*/
.arrow {
  display: inline-block;
  vertical-align: middle;
  color: var(--white);
  line-height: 1;
  position: relative;
  width: 10px;
  height: 10px;
  transition: 0.3s;
}
.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.arrow::before {
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.arrow::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
}
/* 下向き矢印 白　*/
.arrow.down-arrow {
  transform: rotate(135deg);
  transition: 0.3s;
}
/* 上向き矢印 白　*/
.arrow.up-arrow {
  transform: rotate(-45deg);
}
/* 右向き矢印 白　*/
.arrow.right-arrow {
  transform: rotate(45deg);
}
a:hover .arrow-box .arrow.right-arrow {
  transform: rotate(45deg) translate(6px, -6px);
}

/* ----------------------------------- */
/* ---------- ローディング画面 --------- */
/* ----------------------------------- */
/* ローディング背景画面設定　*/
#loading {
  color: var(--white);
  /*fixedで全面に固定*/
  position: fixed;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  background-image: url(/img/03_common/loading-img.jpg);
  background-size: cover;
  background-position: center bottom;
}
#loading::before {
  content: "";
  padding-top: 100%;
}
.loading_ccopy-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
}
.catchcopy_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.catchcopy_container p {
  font-weight: 400;
  letter-spacing: 0.25em;
  padding-top: 24px;
  text-align: center;
  white-space: nowrap;
}
.catchcopy_container p span {
  display: inline-block;
}
img.tsunagu-ccopy {
  max-width: 640px;
  min-width: 320px;
  width: 72vw;
}
#loading img.lighthouse {
  z-index: 10001;
  position: absolute;
  bottom: 14.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
}
/* Loadingバー中央配置　*/
#loading_text {
  position: absolute;
  bottom: 14.5%;
  left: 50%;
  z-index: 10001;
  width: 100vw;
  transform: translate(-50%, -50%);
  color: #fff;
}

/* ********** hero area  ********** */
.hero-area {
  height: 95dvh;
  max-height: 810px;
  width: 100vw;
  position: relative;
}
.catchcopy_container {
  color: var(--white);
  position: absolute;
  bottom: 12%;
  right: 7.2%;
}
.hero-area .catchcopy_container p {
  letter-spacing: 0.15em;
}
/* splide slider */
.splide__list {
  height: 100%;
}
.slide-media img {
  transition: 7s 1s linear;
  transform: translateX(-1.5%) scale(1.1);
  height: 95dvh;
  max-height: 810px;
  object-fit: cover;
}
.splide__slide[class*="-active"] .slide-media img {
  transition-delay: 0s;
  transform: translateX(1.5%) scale(1.05);
}
/* ********** new-info  ********** */
/*
* 新着情報一覧
*/
section.new-info {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.new-info_wrapper {
  background-color: var(--white);
  border-radius: 8px;
  padding: 64px 13%;
  position: relative;
}
img.title-en {
  width: 36vw;
  max-width: 360px;
  min-width: 280px;
  position: absolute;
  top: -32px;
  left: -32px;
}
img.new-info_title-en {
  position: absolute;
  top: -32px;
  left: -32px;
}
.new-info_container {
  margin-top: 24px;
}
.new-info_header,
.new-info_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

ul.new-info_list {
  list-style: none;
  margin: 0 0 20px;
}
.new-info_list li {
  padding: 24px 0;
  border-bottom: 1px solid #bacdd1;
}
.new-info_list li:first-child {
  border-top: 1px solid #bacdd1;
}
.new-info_list a:hover {
  opacity: 0.6;
}
.new-info_list .new-info_date {
  margin-right: 40px;
}
/* ********** carousel  ********** */
/*
* ギャラリースライダー
*/
/* .splide.carousel__gallery {
  margin-top: -40px;
} */

.slide-container {
  margin-top: -40px;
  height: 240px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide-wrapper {
  display: flex;
  flex-direction: row;
  animation: slide-flow 90s infinite linear 1s both;
}
.slide {
  width: 300px;
  object-fit: cover;
}
.slide-paused:hover .slide-wrapper {
  animation-play-state: paused;
}
.slide-paused:hover .slide-wrapper img:hover {
  opacity: 0.8;
  cursor: grabbing;
}
@keyframes slide-flow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media screen and (max-width: 768px) {
  .slide-container {
    height: 160px;
  }
}
/* ********** whoweare ********** */
/*
* 土佐清水社協　わたしたちのこと
*/
section.whoweare .section_wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}
.img-box {
  content: "";
}
.img-box.img-www_copy {
  aspect-ratio: 337/206;
  width: 37.5%;
  min-width: 320px;
}
.img-box.img-family {
  aspect-ratio: 480/288;
  width: 53%;
  min-width: 480px;
  margin: -64px auto 0;
  position: relative;
  z-index: 2;
}
img.www_copy,
img.family {
  width: 100%;
  object-fit: cover;
}
.section_container {
  position: relative;
}
.section_container.whoweare_container {
  display: flex;
  flex-direction: column;
  padding-top: 88px;
  z-index: 3;
}
.section_container.whoweare_container div:last-child {
  align-self: flex-end;
}
.view-more a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 40px;
}
img.whoweare_title-en {
  top: 4%;
  left: -80%;
  width: 40vw;
  max-width: 400px;
  min-width: 320px;
  z-index: -1;
}
.whoweare .p-box {
  margin-top: 88px;
}
/* ********** main contents ********** */
/* 
* 共通
*/
.main-contents a:hover,
.main-contents a:active {
  color: var(--white);
}
.toggle__title {
  transition: all 0.3s;
}
.toggle_title.selected .arrow.down-arrow {
  transform: rotate(-45deg);
}
.toggle_box {
  display: none;
  border-radius: 0 0 8px 8px;
  padding: 16px 0;
  margin: 0 16px;
}
a.toggle_text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 0.5px solid var(--accent-pink);
}
a.toggle_text:hover {
  color: var(--accent-pink);
}
.toggle_box .btn-circle {
  height: 40px;
  width: 40px;
  aspect-ratio: 1 / 1;
  margin-left: 4px;
}
.wrap-grid.item-toAsk a.toggle_text {
  border-bottom: 0.5px solid var(--accent-green);
}
.wrap-grid.item-toAsk a.toggle_text:hover {
  color: var(--accent-green);
}
/*
* どんな情報をお探しですか～メニューボタン
*/
.main-contents_header {
  background: var(--white);
  padding: 120px 0;
  text-align: center;
  margin-top: -64px;
}
.main-contents_menu {
  position: relative;
  z-index: 2;
  margin: -88px -56px 0;
  display: grid;
  gap: 5%;
  justify-content: center;
  /* 以下、minmax内の「--px」が１個の円の最小幅 */
  grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  margin-bottom: 120px;
}
.main-contents_menu-list {
  border-radius: 100%;
  padding: 5%;
  background: var(--white);
  /* 以下のFlexboxで文字を中央寄せ */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.main-contents_menu-list::before {
  /* 擬似要素で正円を作る */
  display: block;
  content: "";
  padding-top: 100%;
}
.main-contents_menu-list .arrow-box {
  position: absolute;
  transform: translateX(-50%);
  top: 60%;
  left: 50%;
  transition: 0.3s;
}
.main-contents a:hover .main-contents_menu-list .arrow-box {
  top: 64%;
}
.main-contents_menu-list.list-toKnow,
.wrap-grid.item-toKnow .grid_item {
  background-color: var(--accent-pink);
}
.main-contents_menu-list.list-toAsk,
.wrap-grid.item-toAsk .grid_item {
  background-color: var(--accent-green);
}
.main-contents_menu-list.list-toJoin,
.wrap-grid.item-toJoin .grid_item {
  background-color: var(--accent-yellow);
}
.main-contents_menu-list.list-toUse,
.wrap-grid.item-toUse .grid_item {
  background-color: var(--accent-blue);
}
/*
* 知りたい・相談したい・参加したい・利用したい
*/
.container_contents {
  margin-bottom: 104px;
}
.fukidashi_headline {
  position: relative;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 72px;
  padding: 40px;
}
.fukidashi_headline:after {
  content: "";
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border: solid transparent;
  border-color: rgba(255, 255, 255, 0);
  border-top-width: 20px;
  border-bottom-width: 20px;
  border-left-width: 12px;
  border-right-width: 12px;
  margin-left: -20px;
  border-top-color: var(--white);
  top: 100%;
  left: 50%;
}
.fukidashi_h2 {
  position: relative;
}
.fukidashi_img {
  position: absolute;
  top: -20%;
  left: 45%;
  width: clamp(15rem, 14.5rem + 2.5vw, 17.5rem);
  max-width: 280px;
  min-width: 240px;
  opacity: 0.56;
}
.fukidashi_img.img_right {
  width: clamp(10.5rem, 10.1rem + 2vw, 12.5rem);
  max-width: 200px;
  min-width: 168px;
}
.fukidashi_img.img_left {
  left: 30%;
  width: clamp(11.25rem, 10.75rem + 2.5vw, 13.75rem);
  max-width: 220px;
  min-width: 180px;
}
.fukidashi_img.img_right-flower,
.fukidashi_img.img_left-flower {
  opacity: 1;
  top: initial;
  left: initial;
  right: -12%;
  width: 13.8vw;
  max-width: 220px;
  min-width: 120px;
}
.fukidashi_img.img_left-flower {
  left: -12%;
  right: initial;
}
.wrap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min-content, 240px));
  justify-content: space-between;
  width: 100%;
}
.grid_item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 24px 40px 24px 24px;
  aspect-ratio: 1/1;
}
.grid_item-img {
  width: 88px;
  height: 88px;
  display: inline-block;
  position: relative;
  align-self: flex-end;
}
.grid_item-icon {
  position: absolute;
  top: 0;
  right: 0;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.grid_item-inner {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

/* ********** recruit and format ********** */
section.recruit_and_format {
  position: relative;
  z-index: 2;
}
.container_raf {
  display: flex;
  align-items: center;
}
.container_raf-r {
  justify-content: flex-end;
}
.container_raf .arrow {
  color: var(--sub-font);
  margin-left: 24px;
}
.bg_img-box {
  background-image: url(/img/01_top/recruit_bg.jpg);
  background-position: top 75% right;
  background-size: cover;
  position: relative;
  width: 50vw;
  height: 320px;
  z-index: -1;
}
.container_raf-r .bg_img-box {
  background-image: url(/img/01_top/format_bg.jpg);
  background-position: top 20% right;
}
.link_squarebox {
  position: relative;
  padding: 40px;
  background-color: var(--orange);
  display: flex;
  align-items: center;
  height: fit-content;
  margin-left: -110px;
}
.link_squarebox.format_link {
  margin-left: initial;
  margin-right: -110px;
}
.link_squarebox::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 100%;
  height: 100%;
  border: 0.5px solid var(--sub-font);
  transition: 0.3s ease;
}
.link_squarebox:hover {
  background-color: rgba(241, 192, 100, 0.56);
  color: var(--white);
}
.link_squarebox:hover::before {
  top: 0;
  left: 0;
}
.link_squarebox.format_link {
  background-color: var(--blue);
}
.link_squarebox.format_link:hover {
  background-color: rgba(186, 205, 209, 0.56);
  color: var(--white);
}
.link_squarebox:hover .arrow-box .arrow.right-arrow {
  transform: rotate(45deg) translate(6px, -6px);
}

/* ----------------------------------- */
/* ---------- メディアクエリ --------- */
/* ----------------------------------- */
@media screen  and (max-width: 1400px) {
  .catchcopy_container {
    transform: translateX(-50%);
    left: 50%;
}
@media screen and (max-width: 1024px) {
  .new-info_item a {
    display: flex;
    flex-direction: column;
  }
  .new-info_title {
    padding-top: 8px;
  }
  img.whoweare_title-en {
    left: -50%;
    top: 2%;
  }
  .fukidashi_img.img_right-flower {
    right: -8%;
  }
  .fukidashi_img.img_left-flower {
    left: -8%;
  }
  .wrap-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .wrap-grid a,
  .wrap-grid div.no-anchor {
    width: 100%;
    margin-bottom: 24px;
  }
  a.toggle_text {
    width: auto;
    margin-bottom: 0;
  }
  .grid_item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    aspect-ratio: initial;
  }
  .grid_item-img {
    align-self: center;
  }
  .grid_item-inner {
    width: 33%;
    margin-top: 0;
    margin-left: 40px;
  }
}
@media screen and (max-width: 768px) {
  .new-info_wrapper {
    padding: 48px 8%;
  }
  .main-contents_menu {
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    margin: -56px -24px 0;
  }
  .main-contents_menu-list {
    padding: 2%;
  }
  section.whoweare .section_wrapper {
    flex-direction: column;
  }
  .section_container.whoweare_container {
    padding: 120px 0 32px;
    width: 56%;
    align-self: flex-end;
  }
  .section_container.whoweare_container .view-more a {
    margin-top: 24px;
  }
  img.whoweare_title-en {
    top: 16%;
  }
  .whoweare .p-box {
    margin-top: 40px;
  }
  .section_container.whoweare_container div:last-child {
    align-self: normal;
  }
  .img-box.img-family {
    width: auto;
    min-width: unset;
  }
  .bg_img-box {
    height: 240px;
  }
}
@media screen and (max-width: 600px) {
  .catchcopy_container p {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  }
  img.whoweare_title-en {
    left: clamp(-10rem, -12.857rem + 14.29vw, -7.5rem);
    min-width: 260px;
  }
  .main-contents_menu {
    grid-template-columns: repeat(auto-fit, minmax(32%, 2fr));
    margin: -56px 24px 0;
  }
  .fukidashi_img.img_right-flower,
  .fukidashi_img.img_left-flower {
    top: 50%;
  }
  .fukidashi_img,
  .fukidashi_img.img_left {
    width: 180px;
    min-width: unset;
    max-width: unset;
  }
  .fukidashi_img {
    left: 35%;
  }
  .fukidashi_img.img_left {
    left: 20%;
    width: 160px;
  }
}

@media screen and (max-width: 390px) {
  .img-box.img-www_copy {
    min-width: 250px;
  }
  img.whoweare_title-en {
    left: -64%;
  }
  .section_container.whoweare_container {
    width: 64%;
  }
  .main-contents_menu {
    grid-template-columns: repeat(auto-fit, minmax(40%, 2fr));
    margin: -56px 0 0;
  }
  .grid_item-img {
    width: 64px;
    height: 64px;
  }
  .grid_item-inner {
    width: 56%;
    margin-left: 24px;
  }
}
@media screen and (max-width: 320px) {
  .new-info_wrapper {
    padding: 48px 8% 24px;
  }
  .new-info_link .btn-circle {
    margin-left: 8px;
  }
  .new-info__title {
    margin-bottom: 64px;
  }
  .new-info_link {
    align-items: center;
    align-self: flex-end;
  }
  .main-contents_header h3 {
    font-size: 18px;
  }
}
