/**
 * トップページ用のスタイル
 *
 * @package Type25F
 */


/* ---------------
  共通クラス
------------------ */
.visible-pc {
  display: block !important;
}
.visible-sp {
  display: none !important;
}
@media screen and (max-width: 768px) {

  .visible-pc {
    display: none !important;
  }

  .visible-sp {
    display: block !important;
  }

}

/* ---------------
  トップイメージ
------------------ */
.top-image-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: var(--bg-image,transparent);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.top-image-container .top-image-inner{
  /* max-width: 1440px; */
  margin: 0 auto;
  padding: 0;
}

/* ---------------
  セクション共通
------------------ */
/* セクション全体のコンテナスタイル */
.section-container {
  padding: 0;
  margin: 0;
  position: relative;
  background-color: var(--section-bg-color, #ffffff); /* 背景色をCSS変数で設定、デフォルトは白 */
  background-image: var(--section-bg-image, none); /* 背景画像をCSS変数で設定、デフォルトはなし */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* セクションの内容をラップするコンテナ */
.section-content {
  padding: 0 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.section-content-wrapper {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* カード */
.container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 20px 0; */
}

.container_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* ---------------
  ニュース一覧　別ファイル
------------------ */

/* ---------------
  私たちの想い
------------------ */
/* override */
.section-content.sc-philosophy {
  padding-top: 113px;
  padding-bottom: 125px;
}

.section-content.sc-philosophy .section-title-container{
  margin-bottom: 58px;
}

.heading-philosophy {
  width: 100%;
  max-width: 746px;
  margin: 0 auto 147px;
}

.heading-philosophy h3 {
  font-size: 5.6rem;
  line-height: 1.6;
  font-weight: 700;
  color:#736357;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
}

.heading-philosophy p {
  margin: 0 0 30px;
  font-size: 1.7rem;
  line-height: 2.0;
}

.heading-philosophy p:last-child {
  margin-bottom: 0;
}

.heading-philosophy p:last-child {
  margin-bottom: 0;
}

.balloon-box {
  width: 100%;
  max-width: 1000px;
  margin:0 auto ;
  border-radius: 180px;
  position: relative;
  background-image: var(--baloon-bg-image,none);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 56px 60px 76px;
  z-index: 1;
}

.balloon-box .balloon-image2 {
  position: absolute;
  top: -96px;
  right: 43px;
  width: var(--image-width,100px);
  height: var(--image-height,100px);
}

.balloon-box .balloon-image3 {
  position: absolute;
  top: -292px;
  right: -25px;
  width: var(--image-width,100px);
  height: var(--image-height,100px);
}

/* バルーンリリーステキスト */
.balloon-text {
  width: 100%;
  max-width: 696px;
  text-align: center;
  margin: 0 auto;
}

.balloon-text h3 {
  display: inline-block;
  color: #4B99B7;
  border-bottom: 3px dotted #4B99B7;
  font-size: 2.3rem;
  line-height: 2.4rem;
  font-weight: 700;
  padding: 0 41px 17px;
  margin-bottom: 32px;
}

.balloon-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* 動画コンテナ */
.video-container {
  width: 100%;
  max-width: 686px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9 !important;
}

.video-container iframe {
  border: none !important;
  margin: 0 auto;
  width: 100%;
  max-width: 686px;
  background-color: transparent !important;
  aspect-ratio: 16/9 !important;
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {

  /* override */
  .section-content.sc-philosophy {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .section-content.sc-philosophy .section-title-container{
    margin-bottom: 20px;
  }

  .heading-philosophy h3 {
    font-size: 2.8rem;
    margin-bottom: 20px
  }

  .heading-philosophy {
    margin: 0 auto 70px;
  }

  .heading-philosophy p {
    margin: 0 0 15px;
  }

  .balloon-box {
    border-radius: 30px;
    padding: 40px 20px 50px;
  }

  .balloon-text h3 {
    font-size: 1.8rem;
    line-height: 2.8rem;
    padding: 0 30px 10px;
  }

  .balloon-text h3 span {
    display: inline-block;
    padding: 0 0.25em;
  }

  .balloon-text p {
    text-align: left;
  }

  .balloon-box .balloon-image2 {
    top: -96px;
    right: -18px;
    scale: 0.65;
  }

  .balloon-box .balloon-image3 {
    top: -9px;
    right: inherit;
    left: -22px;
    scale: 0.65;
  }

}


/* ---------------
  私たちについて
------------------ */
/* override */
.section-content.sc-about {
  padding-top: 61px;
  padding-bottom: 135px;
}

.section-content.sc-about .section-title-container{
  margin-bottom: 71px;
}

.about-box {
  display: flex;
  align-items: center;
  gap: 25px;
}

.about-box .about-image{
  flex: 0 0 auto;
  width: 375px;
}

.about-box .about-image img{
  margin-left: -15px;
}

.about-box .about-text{
  flex: 1 1 auto;
  width: 60%;
  font-size: 1.7rem;
  line-height: 1.95;
}

@media screen and (max-width: 768px) {

  /* override */
  .section-content.sc-about {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .section-content.sc-about .section-title-container{
    margin-bottom: 20px;
  }

  .about-box {
    display: block;
  }

  .about-box .about-image{
    margin: 0 auto 30px;
    width: auto;
    max-width: 375px;
  }

  .about-box .about-image img{
    margin-left: inherit;
  }

  .about-box .about-text{
    width: 100%;
  }

}

/* ---------------
  事業内容
------------------ */
/* override */
.section-content.sc-business {
  padding-bottom: 191px;
}

.section-content.sc-business .section-title-container{
  margin-bottom: 64px;
}

.service-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 45px 4.5% ;
}

.card3_link {
  flex: 0 0 auto;
  display: block;
  width: calc( 91% / 3 );
  min-height: 370px;
}

.card3_link:hover {
  opacity: 1;
}

.card3 {
  background: #fff;
  border-radius: 8px;
  padding: 25px 30px 18px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card3:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card3 figure {
  margin-bottom: 20px;
  max-width: 184px;
  margin: 0 auto -3px;
}

.card3 h3 {
  min-height: 5.8rem;
  font-size: 2.0rem;
  line-height: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  color: var(--title-text-color,#008000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 -5px 3px;
}

.card3 h3 span {
  display: inline-block;
}

.card3 p {
  width: 100%;
  font-size: 1.3rem;
  line-height: 1.75;
}

.card3 p.sub-text {
  padding-top: 24px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* カード別 */
.card3.no_3 figure,
.card3.no_4 figure,
.card3.no_5 figure {
  margin-bottom: 4px;
}

@media (min-width: 769px) {

  .card3.no_3 h3,
  .card3.no_4 h3,
  .card3.no_5 h3 {
    margin-bottom: 24px;
  }

  .card3.no_ figure {
    margin-bottom: -5px;
  }

}

@media (max-width: 768px) {

  /* override */
  .section-content.sc-business {
    padding-bottom: 60px;
  }

  .section-content.sc-business .section-title-container{
    margin-bottom: 20px;
  }

  .service-cards-grid {
    /* flex-direction: column; */
    justify-content: center;
    gap: 20px;
  }

  .service-cards-grid::after {
    /* dummy */
    display: block;
    content: '';
    flex: 1 1 auto;
    width: 100%;
    max-width: 300px;
    min-height: inherit;
  }

  .card3_link {
    width: 100%;
    max-width: 300px;
    min-height: inherit;

  }
  
  .card3 {
    padding: 20px 20px 20px;
  }

  .card3 h3 {
    min-height: inherit;
        margin-bottom: 15px;
  }

  .card3 p.sub-text {
    padding-top: 15px;
  }

}

/* ---------------
  ラインスライドショー
------------------ */
.line-slideshow-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--section-bg-color, transparent);
  padding: 46px 0 46px;
}

.line-slideshow-track {
    display: flex;
    animation: scroll-left 30s linear infinite; /* アニメーション速度を20秒に設定 */
    width: max-content; /* 画像の幅に応じて自動調整 */

    overflow: visible;
}

/* アニメーション：右から左にスクロール */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX( calc( -33.333% + 1px) );
  }
}

.line-slide {
    flex: 0 0 auto;
    width: 334px;

    padding: 0;
    margin:0 10px;
}

.line-slide img {
  width: 100%;
  border-radius: 10px;
}


/* レスポンシブデザイン - 複数枚表示 */
@media (max-width: 1024px) {

  .line-slide {
    width: 280px;
  }

  .line-slide img {
    height: 180px;
  }

}

@media (max-width: 768px) {

  .line-slide {
    width: 240px;
  }

  .line-slide img {
    height: 160px;
  }

}

@media (max-width: 480px) {

  .line-slide {
      width: 200px;
      min-width: 180px;
  }

  .line-slide img {
      height: 140px;
  }

}


/* ---------------
  運営チーム
------------------ */
/* override */
.section-content.sc-team {
  padding-top: 138px;
  padding-bottom: 140px;
}

.section-content.sc-team .section-title-container{
  margin-bottom: 70px;
}

.team-intro-text {
  margin-bottom: 57px;
  font-size: 1.7rem;
  line-height: 1.75;
  text-align: center;
}

.team-sub-content {
  background-color: #D9E8BD;
  border-radius: 20px;
  padding: 55px 40px 90px;
}

.team-sub-content + .team-sub-content {
  margin-top: 100px;
}

.team-sub-content-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.team-sub-content-title {
  display: block;
  color: #61A77D;
  font-size: 3.0rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  margin-bottom: 58px;
}

.team-sub-content-title span{
  display: inline-block;
  min-width: 260px;
  border-bottom: 2px solid var(--bg-color,#008000);
  padding: 0 20px 9px;
}

/* 企業カードのスタイル */
.co-card {
  border: 1px solid #7DB9A7;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 40px;
  width: 100%;
}

.co-card:last-child {
  margin-bottom: 0;
}

.co-card-title {
  background-color: var(--bg-color,#008000);
  color: var(--section-text-color,#ffffff);
  font-weight: bold;
  text-align: center;
  font-size: 2.5rem;
  line-height: 3.6rem;
  padding: 5px 20px 9px;
}

.info-table {
  width: 100%;
  border-collapse: collapvse;
}

.info-table th, .info-table td {
  border-bottom: 1px solid #A5A5A2;
}

.info-table th {
  width: 13%;
  background-color: #EBE6DE;
  font-size: 1.3rem;
  text-align: center;
  vertical-align: middle;
  padding: 9px 15px;
}

.info-table td {
  width: 70%;
  padding: 9px 13px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table p {
  padding: 0;
  font-size: 1.7rem;
  line-height: 1.9;
}

/* @media screen and (min-width: 769px) {
  .info-table .tr-address th,
  .info-table .tr-address td,
  .info-table .tr-phone th,
  .info-table .tr-phone td {
    padding-top: 8px;
    padding-bottom: 7px;
  }
} */

@media screen and (max-width: 768px) {

  /* override */
  .section-content.sc-team {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-content.sc-team .section-title-container{
    margin-bottom: 20px;
  }

  .team-intro-text {
    text-align: left;
    margin-bottom: 20px;
  }

  .team-sub-content {
    padding: 20px 20px 30px;
  }

  .team-sub-content + .team-sub-content {
    margin-top: 20px;
  }

  .team-sub-content-title {
    font-size: 2.0rem;
    margin-bottom: 20px;
  }

  .team-sub-content-title span{
    padding: 0 20px 4px;
  }

  .co-card-title {
    font-size: 2.0rem;
  }
      
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  
  .info-table th {
    text-align: left;
  }

  .info-table tr:last-child th {
    border-bottom: 1px solid #A5A5A2;
  }
    
}

/* 協働団体 */
.partnering-tiele {
  background-color: var(--section-text-color,#008000);
  color: var(--bg-color,#ffffff);
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 700;
  padding: 6px 20px 8px;
  margin-bottom: 30px;
}

.partnering-tiele span {
  display: inline-block;
  padding: 0 0.25em;
}

.partnering-text {
  text-align: center;
  /* margin-bottom: 42px; */
}

.partnering-image-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}
.partnering-image-flex figure{
  width: 48%;
}

@media screen and (max-width: 768px) {

  .partnering-tiele {
    font-size: 2.0rem;
  }

  .partnering-text {
    text-align: left;
    /* margin-bottom: 20px; */
  }

  .partnering-image-flex {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }

  .partnering-image-flex figure{
    width: auto;
    text-align: center;
  }

}

/* ---------------
  アクセス
------------------ */
/* override */
.section-content.sc-access {
  padding-top: 140px;
  padding-bottom: 137px;
}

.section-content.sc-access .section-title-container {
  margin-bottom: 54px;
}

.access-intro-text {
  margin-bottom: 57px;
}

/* マップ */
.access-map {
  width: 100%;
  height: 400px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media screen and (max-width: 768px) {

  /* override */
  .section-content.sc-access {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-content.sc-access .section-title-container {
    margin-bottom: 20px;
  }

}

/* ---------------
  採用情報
------------------ */
/* override */
.section-content.sc-recruit-intro {
  padding-top: 107px;
  padding-bottom: 86px;
}

.section-content.sc-recruit-intro .section-title-container{
  margin-bottom: 55px;
}

.recrui-intro-wrap {
  position: relative;
  z-index: 1;
}

.recrui-intro-wrap .intro-main-text {
  padding-right: 380px;
  font-size: 1.7rem;
  line-height: 1.65;
}

.recrui-intro-wrap .intro-massage-box {
  position: absolute;
  background-color: #fbecb9;
  top:36%;
  right: 24px;
  transform: translateY(-50%);
  width: 262px;
  height: 262px;
  border-radius: 9999px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recrui-intro-wrap .intro-massage-box p {
  font-size: 1.2rem;
  text-align: center;
}

.section-recruit-content-wrapper {
  background-color: #F0ECE7;
}

.section-recruit-content-wrapper + .section-recruit-content-wrapper {
  margin-top: 30px;
}

/* override */
.section-content.sc-recruit-list {
  padding-top: 66px;
  padding-bottom: 69px;
}

.recruit-category-title {
  background-color: transparent;
  color: #80BC81;
  padding: 5px 20px;
  font-size: 3.0rem;
  font-weight: 700;
  text-align: center;
  border-top: 2px solid #80BC81;
  border-bottom: 2px solid #80BC81;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 61px;
}

.recruit-panel-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 38px 3%;
}

.recruit-panel-wrap:not(:last-child) {
  margin-bottom: 166px;
}

.recruit-panel {
  background-color: #ffffff;
  padding: 0;
  width: 48.5%;
  box-sizing: border-box;
  font-size: 2.0rem;
  color: #000000;
  position: relative;
}

.recruit-panel:has(a):hover{
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.recruit-panel a {
  position: absolute;
  display: block;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recruit-panel a:hover {
  opacity: 1.0;
}

.recruit-panel .recruit-panel-inner{
  display: block;
  padding: 29px 30px 20px;
  outline: 1px solid #7DB9A7;
  outline-offset: -5px;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.recruit-panel .panel-row-top {
  flex: 1 1 auto;
  
}

.recruit-panel .panel-row-bottom {
  flex: 0 0 auto;
  min-height: 134px;
  margin-top: auto;
  border-top: 1px solid #7DB9A7;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.recruit-panel .status {
  display: inline-block;
  background-color: #fbecb9;
  padding: 3px 20px;
  border-radius: 999px;
  margin:0 0 12px 0;
}

.recruit-panel .status.career {
  background-color: #85B8D0;
  color: #ffffff;
}

.recruit-panel .status.part {
  background-color: #C6B8A4;
  color: #ffffff;
}

.recruit-panel .title {
  font-weight: 700;
  padding: 0 15px;
}

.recruit-panel .description {
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.6;
  padding: 0 15px;

}

.recruit-panel .salary {
  padding: 0 0 3px 35px;
  background: url(../documents/recruit_icon_salary.svg) no-repeat left top 6px;
  background-size: 23px;
}

.recruit-panel .place {
  padding: 0 0 0 35px;
  background: url(../documents/recruit_icon_place.svg) no-repeat left 2px top 4px;
  background-size: 20px 27px;
}

.recruit-panel .link {
  text-align: right;
}

.recruit-panel .view-more {
  margin-top: auto;
  color: #61A77D;
  padding: 0 33px;
  background: url(../documents/recruit_more_link_arrow.svg) no-repeat right 3px center;
  background-size: 18px;
  text-align: right;
  font-size: 1.7rem;
}

.recruit-panel .link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 992px) {

  .recruit-panel-wrap {
    gap: 30px 3%;
  }

}

@media (max-width: 768px) {

  /* override */
  .section-content.sc-recruit-intro {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-content.sc-recruit-intro .section-title-container{
    margin-bottom: 20px;
  }

  .recrui-intro-wrap .intro-main-text {
    padding-right: 0;
  }

  /* override */
  .section-content.sc-recruit-list {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .recruit-category-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
  }

  .recrui-intro-wrap .intro-main-text {
    max-width:inherit;
    margin-bottom: 20px;
  }

  .recrui-intro-wrap .intro-massage-box {
    position: relative;
    margin: 0 auto;
    top: inherit;
    right: inherit;
    transform: inherit;
  }

  .recruit-panel-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .recruit-panel {
    width: 100%;
    font-size: 1.7rem;
  }

  .recruit-panel-wrap:not(:last-child) {
    margin-bottom: 40px;
  }

  .recruit-panel .title {
    padding: 0;
  }

  .recruit-panel .panel-row-bottom {
    min-height: inherit;
    padding-top: 10px;
  }

  .recruit-panel .description {
    padding: 0;
    margin-bottom: 10px;
  }

  .recruit-panel .salary {
    padding: 0 0 3px 30px;
    background: url(../documents/recruit_icon_salary.svg) no-repeat left top 5px;
    background-size: 20px;
  }

  .recruit-panel .place {
    padding: 0 0 0 30px;
    background: url(../documents/recruit_icon_place.svg) no-repeat left 2px top 4px;
    background-size: 17px;
  }

  .recruit-panel .link {
    text-align: right;
  }

  .recruit-panel .view-more {
    margin-top: 10px;
    padding: 0 28px;
    background: url(../documents/recruit_more_link_arrow.svg) no-repeat right 3px center;
    background-size: 18px;
    font-size: 1.7rem;

  }

}

