:root {
  --mainColor: #46bfa7;
  --mainColor-pale: #a4dfd3;
  --mainColor-crr: #06a585;
  --subColor: #f44b0f;
  --subColor-crr: #e04009;
  --bgColor: #f5f1e9;
}
/*--------------------------------------------------
    style
=================================================*/
/*  共通
**********************************/
#demo02 {
  background: var(--bgColor);
}
#demo02 .inner {
  max-width: 1280px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}
#demo02 .attentionDemo {
  background: #FFEDED;
  color: #C5090D;
  font-weight: 600;
  padding: 0.5em 1em;
  text-align: center;
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: .875rem;
  z-index: 1000;
}
@media (min-width:481px) { /* for PC */
  #demo02 {
    padding-bottom: 100px;
  }
}
/*  ヘッダー
  **********************************/
#demo02 .hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
#demo02 .hamburger span {
  display: block;
  width: 6vw;
  height: 2px;
  background: var(--mainColor);
  margin: 5px 0;
  transition: 0.3s;
}
#demo02 .headerArea .navWrapper ul.subNav {
  gap: 0.5em;
}
#demo02 .headerArea .navWrapper ul.subNav li {
  font-size: 0.875rem;
  background: var(--mainColor);
  border-radius: 50px;
  padding: 0.2em 1.5em;
  color: #fff;
}
@media (min-width:481px) { /* for PC */
  #demo02 .headerArea {
    padding: 1.5em 5em 1.5em 5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  #demo02 .headerArea .navWrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
  }
  #demo02 .headerArea .navWrapper ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1em;
  }
  #demo02 .headerArea .navWrapper ul.mainNav {
    font-weight: 600;
  }
  #demo02 .headerArea .navWrapper ul.mainNav li {
    font-size: 0.9375rem;
    line-height: 1.2;
  }
  #demo02 .headerArea .navWrapper ul.mainNav li:not(:last-of-type) {
    border-right: solid 1px #000;
    padding-right: 1em;
  }
}
@media (max-width:480px) { /* for SP */
  #demo02 .headerArea {
    position: relative;
    padding: 1em 1.2em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #demo02 .headerArea h1 {
    width: 30vw;
    line-height: 0;
  }
  #demo02 .navWrapper.active {
    display: flex;
  }
  #demo02 .navWrapper {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
  }
  #demo02 .hamburger {
    display: block;
    position: absolute;
    top: 1.5vw;
    right: 2vw;
    padding: 0.5em;
  }
  #demo02 .navWrapper {
    display: none;
    flex-direction: column;
    background: var(--bgColor);
    position: absolute;
    top: 100%; /* ヘッダーの下 */
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1em;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.1);
  }
  #demo02 .mainNav li {
    border-bottom: solid 1px #e8e3d9;
    padding: 0.8em 0.5em;
  }
  #demo02 .headerArea .navWrapper ul.subNav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1em;
    gap: 0.8em;
  }
  #demo02 .headerArea .navWrapper ul.subNav li{
    padding: 0.5em 1em;
    flex: 1;
    text-align: center;
  }
}
/*  メインビジュアル + カレンダー
**********************************/
#demo02 .mainWrap {
  overflow: hidden;
  position: relative;
}
@media (min-width:481px) { /* for PC */
  #demo02 .mainWrap {
    min-height: 642px;
  }
}
@media (max-width:480px) { /* for SP */
  
}
/*  メインビジュアル
**********************************/
#demo02 .splide__track {
  overflow: visible !important;
}
#demo02 .splide__slide {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
#demo02 .splide__slide img {
  width: 100%;
  height: auto;
}
#demo02 .splide__slide::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,57,94,0.2);
  opacity: 1;
  transition: opacity 0.2s ease; /* ← opacityで滑らかに */
  pointer-events: none;
}
#demo02 .splide__slide.is-active::after {
  opacity: 0;
}
@media (min-width:481px) { /* for PC */
  #demo02 .splide__slide {
    border-radius: 15px;
  }
  #demo02 .splide__track .mvText {
    display: none;
  }
}
@media (max-width:480px) { /* for SP */
  
  #demo02 .splide__track .mvText {
    position: absolute;
    bottom: 7vw;
    left: 5vw;
    z-index: 10;
    width: 60vw;
  }
}
/*  カレンダー
**********************************/
#demo02 .calWrap {
  background: var(--bgColor);
  padding: 0.5em;
}
#demo02 .calWrap h2 {
  font-weight: 600;
  color: var(--mainColor-crr);
  text-align: center;
  padding: 0.5em 0;
}
#demo02 .calWrap .calendar {
  margin: 0;
  max-width: 100%;
}
#demo02 .calWrap .calDetail {
  background: #fff;
  margin-top: 0.8em;
  padding: 0.8em 1.5em;
  font-size: .8175rem;
  border-radius: 5px;
}
#demo02 .calWrap .calDetail span{
  display: inline-block;
  background: #fff;
  padding: 0.2em 0.8em;
  line-height: 1.1;
  margin-right: 0.8em;
  color: #61cb82;
  border: #61cb82 solid 1px;
}
#demo02 .calWrap .calDetail ul li + li{
  margin-top: 0.2em;
}
@media (min-width:481px) { /* for PC */
  #demo02 .calWrap {
    border-radius: 8px;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.2);
  }
  #demo02 .calArea {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    max-width: 1280px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1em;
    height: 100%;
  }
  #demo02 .calArea .mvText {
    position: absolute;
    bottom: 4em;
    left: 3.5em;
    z-index: 10;
  }
  #demo02 .calWrap {
    max-width: 480px;
  }
  
}
@media (max-width:480px) { /* for SP */
  #demo02 .calArea {
    margin-top: 3vw;
  }
  #demo02 .calArea .mvText {
    display: none;
  }
  #demo02 .calWrap {
    padding: 3vw 4vw;
  }
}
/*  その他リンク
**********************************/
#demo02 .otherLinks {
  background: var(--mainColor);
}
#demo02 .otherLinks ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
#demo02 .otherLinks ul li {
  background: #fff;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 5px 15px 0px rgba(0, 24, 39, 0.05);
  border-radius: 10px;
}
#demo02 .otherLinks ul li img {
  width: 3em;
  margin-bottom: 0.5em;
}
@media (min-width:481px) { /* for PC */
  #demo02 .otherLinks {
    margin-top: -4em;
    padding: 6em 1.5em 2em 1.5em;
  }
  #demo02 .otherLinks ul li {
    flex: 1;
    padding: 2em;
  }
}
@media (max-width:480px) { /* for SP */
  #demo02 .otherLinks{
    padding: 6vw 0 ;
  }
  #demo02 .otherLinks ul {
    gap: 4vw;
  }
  #demo02 .otherLinks ul li{
    width: calc((100% - 4vw) / 2);
    padding: 4vw 3vw;
  }
  #demo02 .otherLinks ul li img {
    width: 2em;
    margin-bottom: 2vw;
  }
}
/*  ニュース
**********************************/
#demo02 .newsWrap h2 {
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
#demo02 .newsWrap h2 span {
  font-size: .875rem;
  font-weight: 500;
  color: var(--mainColor-crr);
}
#demo02 .newsWrap .allLink {
  margin-top: 1em;
}
#demo02 .newsWrap .allLink span {
  display: inline-block;
  font-size: 0.875rem;
  background: var(--mainColor);
  border-radius: 50px;
  padding: 0.2em 1.5em;
  color: #fff;
}
#demo02 .newsWrap ul li {
  border-bottom: #e8e3d9 solid 1px;
  padding: 1.5em 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 1em;
}
#demo02 .newsWrap ul li time {
  font-size: .875rem;
  color: #46464A;
}
#demo02 .newsWrap ul li i {
  display: inline-block;
  font-size: .75rem;
  border: solid 1px #333;
  border-radius: 50px;
  padding: 0.1em 1em;
  min-width: 6em;
  background: #fff;
}
#demo02 .newsWrap ul li i.news {
  color: var(--mainColor-crr);
  border-color: var(--mainColor-crr);
}
#demo02 .newsWrap ul li i.recruit {
  color: var(--subColor);
  border-color: var(--subColor);
}
#demo02 .newsWrap p {
  font-weight: 500;
}
@media (min-width:481px) { /* for PC */
  #demo02 .newsWrap {
    padding-top: 5em;
  }
  #demo02 .newsWrap .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
  }
  #demo02 .newsWrap .inner .leftWrap {
    width: 12em;
  }
  #demo02 .newsWrap .inner ul {
    flex: 1;
  }
}
@media (max-width:480px) { /* for SP */
  #demo02 .newsWrap {
    padding: 10vw 0;
  }
  #demo02 .newsWrap .inner{
    position: relative;
    padding-bottom: 4em;
  }
  #demo02 .newsWrap .allLink {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
  }
  #demo02 .newsWrap .allLink span {
    padding: 1em 2em;
    width: 90%;
    text-align: center;
  }
  #demo02 .newsWrap ul li{
    gap : 0.5em 1em;
  }
  #demo02 .newsWrap p {
    width: 100%;
  }
  
}

