@charset "utf-8";
/* 画像とテキスト */
.c-card__list{
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}
.c-card__item{
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.c-card__img{
  width: 100%;
  border-radius: 8px 8px 0 0;
}
.c-card__inner{
  padding: 16px;
  text-align: center;
}
.c-card__head{
  font-size: 1.6rem;
  font-weight: bold;
}
.c-card__txt{
  margin-top: 0.5em;
}
/* ボタン */
.c-btn__box{
  width: 100%;
  color: var(--link-color);
  border-radius: 4px;
}
.c-btn__boxInner{
  width: 100%;
  display: inline-flex;
  justify-content: center;
  padding: 1em 2.6em;
  text-decoration: none;
  border-radius: inherit;
  transition: color 0.15s ease-out, background-color 0.15s ease-out;
}
.c-btn__boxIco{
  position: relative;
}
.c-btn__boxIco::after{
  font-family: FontAwesome;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: 0.6em;
  transform: translate(0, -50%);
}
.c-btn__boxIco--link::after{
  content: "\f105";
}
.c-btn__boxIco--down::after{
  content: "\f107";
}
.c-btn__boxIco--open::after{
  content: "\f08e";
  font-size: 1.3rem;
}
/* テキスト色 */
.btn__box--blue{
  color: var(--link-color);
}
.c-btn__box--white{
  color: #FFFFFF;
}
.c-btn__box--main{
  color: var(--main-color);
}
/* border色 */
.c-btn__box--blueLine{
  border: 1px solid var(--link-color);
}
.c-btn__box--whiteLine{
  border: 1px solid currentColor;
}
.c-btn__box--mainLine{
  border: 2px solid var(--main-color);
}
/* 背景色 */
.c-btn__box--blueBg{
  background-color: var(--link-color);
}
.c-btn__box--whiteBg{
  background-color: #FFFFFF;
}
.c-btn__box--transparentBg{
  background-color: transparent;
}
.c-btn__box--mainBg{
  background-color: var(--main-color);
}
@media screen and (min-width: 480px) {
  .c-card__list{
    flex-wrap: wrap;
    flex-direction: initial;
    gap: 16px;
  }
  /* ボタン */
  .c-btn__box{
    max-width: 300px;
    margin: 0 auto;
  }
}
/* @media screen and (min-width:768px),print {
  .c-card__list{
      justify-content: space-between;
  }
} */
@media (hover: hover) {
  .c-card__item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
  }
  .c-btn__box--whiteBg:hover{
    color: #FFFFFF;
    background-color: transparent;
    border: 1px solid currentColor;
  }
  .c-btn__box--blueBg:hover{
    color: var(--link-color);
    background-color: transparent;
    border: 1px solid currentColor;
  }
  .c-btn__box--transparentBg:hover{
    color: #FFFFFF;
    background-color: var(--link-color);
    border: 1px solid currentColor;
  }
  .c-btn__box--whiteLine:hover{
    color: var(--link-color);
    background-color: #FFFFFF;
  }

}

/* modal */
.c-modal__overlay{
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  overflow: hidden;
  position: fixed;
  filter: alpha(opacity=60);
  opacity: 0.6;
  z-index: 1000;
}
.c-modal__close::after{
  content: "\f00d";
  font-family: FontAwesome;
  font-size: 2rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  position: absolute;
  top: -8px;
  right: 0;
  cursor: pointer;
}
.c-modal__box{
  display: none;
  overflow-y: auto;
}
.c-modal__box{
  top: 50%;
  left: 50%;
  width: 90vw;
  height: auto;
  max-height: 90vh;
  padding: 24px 16px;
  background-color: #FFFFFF;
  border-radius: 8px;
  position: fixed;
  z-index: 1001;
  transform: translate(-50%, -50%);
}
.c-modal__boxInner{
  position: relative;
}
.c-modal__boxTtl{
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
}
@media screen and (min-width:480px){
  .c-modal__close::after{
    top: -16px;
    right: -8px;
  }
  .c-modal__box{
    max-width: 600px;
    height: auto;
    padding: 32px;
  }
  .c-modal__boxTtl{
    font-size: 2rem;
  }
}
@media screen and (min-width:632px){
  .c-modal__close::after{
    right: -40px;
  }
  .c-modal__box{
    width: 100%;
    padding: 32px 64px;
  }
}
@media (hover: hover) {
  .c-modal__close:hover::after{
    opacity: 0.8;
  }
}