/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② welfare はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

/*------------------------------------------------------------
common
------------------------------------------------------------*/
.welfare {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

#welfare * {
  box-sizing: border-box;
}

#welfare a {
  transition: opacity .3s;
  color: unset;
}

#welfare a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#welfare a:hover {
  text-decoration: none;
}

#welfare a:focus-visible {
  outline: none;
}

#welfare img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#welfare .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#welfare .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#welfare .text {
  margin-bottom: 2em;
}

#welfare .text:last-of-type {
  margin-bottom: 0;
}

#welfare .pc-br {
  display: none;
}

#welfare .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#welfare .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#welfare .inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  .welfare {
    font-size: 16px;
  }
  
  #welfare a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }
  
  #welfare a:not([href^="tel:"]):hover {
    opacity: .5;
  }
  
  #welfare .sp-br {
    display: none;
  }
  
  #welfare .pc-br {
    display: inline;
  }
}

/*------------------------------------------------------------
font
------------------------------------------------------------*/
#welfare .font-neworder{
  font-family: "new-order", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/*------------------------------------------------------------
main
------------------------------------------------------------*/
#welfare .content {
  margin-bottom: 50px;
  padding-top: 50px;
}

#welfare .main-wrap{
  position: relative;
}

#welfare .main-ttl{
  position: absolute;
  color: #0068B7;
  bottom: 43px;
  letter-spacing: .02em;
}

#welfare .ttl-eng{
  font-size: 40px;
  line-height: 1;
  padding-bottom: 10px;
  letter-spacing: .02em;
  display: block;
}

#welfare .content-ttl .ttl-eng {
  font-size: 35px;
  letter-spacing: .05em;
  padding-bottom: 0;
}

#welfare .ttl-jpn{
  font-size: 15px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: .02em;
  display: block;
}

#welfare .content-ttl .ttl-jpn {
  font-size: 14px;
  letter-spacing: .02em;
}

#welfare .swiper-wrapper{
  transition-timing-function: linear;
}

#welfare .welfare-inner{
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}


#welfare .text-center{
  text-align: center;
}

#welfare .text-blue{
  color: #0068B7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.64;
  letter-spacing: .02em;
}

#welfare .top-text {
  margin-bottom: 50px;
}

#welfare .link-index-wrap {
  width: 200px;
  margin: 0 auto 14px;
}

#welfare .link-index {
  border: solid 1px;
  border-radius: 23px;
  text-align: start;
  color: #009D85;
}

#welfare .link-index a{
  display: block;
  padding: 0 12px 0 22px;
}

#welfare .link-index a:hover {
  opacity: 1 !important;
}

#welfare .link-index-top {
  margin-bottom: 25px;
}

#welfare .link-text {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: .02em;
}

#welfare .link-text::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #009D85;
  border-radius: 50%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s;
}

#welfare .link-text::after {
  content: "";
  position: absolute;
  display: block;
  background: url("../images/welfare/welfare_icon_arrow.svg") no-repeat center center / contain;
  width: 10px;
  height: 5px;
  top: 17px;
  right: 5px;
}

#welfare .content-ttl {
  color: #0068B7;
  letter-spacing: .02em;
  margin: 0 auto 40px;
}

#welfare .content-wrap{
  padding-top: 70px;
  margin-top: -70px;
}

#welfare .content-wrap .welfare-text{
  margin-bottom: 40px;
}

#welfare .welfare-text{
  font-size: 14px;
  line-height: 1.64;
  font-weight: 500;
  
}

/*--------training--------
*/
#welfare .training{
  position: relative;
  z-index: 0;
  background-color: #D6E6F3;
  padding-top: 50px;
}

#welfare .training::before{
  content: "";
  display: block;
  background: url("../images/welfare/welfare_training_bg01_sp.png") no-repeat center top / 100%;
  width: 100%;
  height: 195px;
  position: absolute;
  top: 0px;
  z-index: -1;
}

#welfare .training::after{
  content: "";
  display: block;
  background: url("../images/welfare/welfare_training_bg02_sp.png") no-repeat center bottom/ 100%;
  width: 100%;
  height: 195px;
  position: absolute;
  bottom: 0px;
  z-index: -1;
}

#welfare .inline-block {
  display: inline-block;
}

#welfare .training-wrap {
  width: calc(100% - 100px);
  position: relative;
  padding-bottom: 245px;
}

#welfare .training-item{
  display: block;
  margin-bottom: 25px;
}

#welfare .item-images {
  display: block;
  margin-bottom: 5px;
}

#welfare .item-images img {
  border-radius: 10px;
}

#welfare .training-wrap::before{
  content: "";
  display: block;
  background: url("../images/welfare/welfare_training_bg03_sp.png") no-repeat center bottom/ contain;
  position: absolute;
  bottom: 0;
  height: 242px;
  width: calc(100% + 76px);
  margin-left: -38px;
}


/*--------welfare--------
*/
#welfare .welfare-top .content-ttl{
  margin-top: 50px;
}

#welfare .welfare-content{
  position: relative;
  z-index: 0;
  padding: 25px 0;
  margin-bottom: 20px;
}

#welfare .welfare-content-01 {
  background-color: #EFF9FD;
  border-radius: 20px 0;
}

#welfare .welfare-content-ttl {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1.27;
  letter-spacing: .02em;
  padding-top: 10px;
  margin-bottom: 25px;

}

#welfare .welfare-content-01 .welfare-content-ttl::before {
  position: absolute;
  content: "";
  display: block;
  background: url("../images/welfare/welfare_title_icon01.svg") no-repeat center / contain;
  width: 30px;
  height: 28px;
  top: 0;
  z-index: -10;
}

#welfare .content-box {
  display: grid;
  grid-template-columns: repeat(2,auto);
  justify-content: space-between;
  padding: 0 30px;
  max-width: 350px;
  margin: 0 auto;
}

#welfare .item-info {
  width: 115px;
  padding-bottom: 15px;
}

#welfare .info-ttl{
  font-size: 14px;
  font-weight: 700;
  line-height: 1.64;
  letter-spacing: .02em;
}

#welfare .ttl-out {
  width: calc(100% + 20px);
  margin-left: -10px;
}

#welfare .item-icon {
  display: block;
  margin-bottom: 5px;
}

#welfare .welfare-content-02 {
  background-color: #FFF3EE;
  border-radius: 0 20px;
}

#welfare .welfare-content-02 .welfare-content-ttl::before {
  position: absolute;
  content: "";
  display: block;
  background: url("../images/welfare/welfare_title_icon02.svg") no-repeat center / contain;
  width: 30px;
  height: 28px;
  top: 0;
  z-index: -10;
}

/* フキダシ */
#welfare .info-balloon::before {
  content: "";
  border: 28px solid transparent;
  border-top: 22px solid #fff;
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-40%) rotate(-106deg);
  z-index: -1;
}

#welfare .balloon-01 {
  position: relative;
  background-color: #fff;
  border-radius: 25px;
  width: calc(100% - 36px);
  margin: 25px auto 0;
}

#welfare .balloon-02 {
  position: relative;
  background-color: #fff;
  border-radius: 25px;
  width: calc(100% - 16px);
  margin: 25px auto 0;
}

#welfare .balloon-01 .info-text {
  text-align: start;
  width: calc(100% - 35px);
  margin: auto;
  padding: 25px 0;
}

#welfare .welfare-content-03 {
  background-color: #FFFBEC;
  border-radius: 20px 0;
}

#welfare .welfare-content-03 .welfare-content-ttl::before {
  position: absolute;
  content: "";
  display: block;
  background: url("../images/welfare/welfare_title_icon03.svg") no-repeat center / contain;
  width: 30px;
  height: 28px;
  top: 0;
  z-index: -10;
}

#welfare .welfare-images img {
  width: calc(100% - 51px);
}

#welfare .balloon-02 .info-text {
  text-align: start;
  width: calc(100% - 13px);
  margin: auto;
  padding: 25px 0;
}

#welfare .welfare-content-04 {
  background-color: #F3FAF1;
  border-radius: 20px 0;
}

#welfare .welfare-content-04 .welfare-content-ttl::before {
  position: absolute;
  content: "";
  display: block;
  background: url("../images/welfare/welfare_title_icon04.svg") no-repeat center / contain;
  width: 30px;
  height: 28px;
  top: 0;
  z-index: -10;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #welfare .content{
    padding-top: 100px;
    margin-bottom: 100px;
  }
  
  #welfare .ttl-eng{
    font-size: min(100px, calc(2.5rem + ((1vw - 3.75px) * 3.8835)));
  }
  
  #welfare .ttl-jpn{
    font-size: min(30px, calc(0.9375rem + ((1vw - 3.75px) * 0.9709)));
    letter-spacing: .03em;
  }
  
  #welfare .content-ttl .ttl-eng {
    font-size: 100px;
    letter-spacing: 0.02em;
    padding: 0;
  }
  
  #welfare .content-ttl .ttl-jpn {
    font-size: 40px;
  }
  
  #welfare .main-ttl-outer{
    max-width: 1460px;
  }
  
  #welfare .content-ttl {
    margin-bottom: 60px;
  }
  
  #welfare .welfare-text{
    font-size: 18px;
    line-height: 2.55;
  }
  
  #welfare .top-text {
    margin-bottom: 100px;
  }
  
  #welfare .link-index-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 792px;
    width: 100%;
    margin-bottom: 100px;
  }
  
  #welfare .link-index {
    width: 326px;
    height: 74px;
    border-radius: 37px;
    border-width: 2px;
  }
  
  #welfare .link-index-top {
  margin-bottom: 0;
}
  
  #welfare .link-index a {
    padding-left: 38px;
    padding-right: 14px;
  }
  
  #welfare .link-text {
    font-size: 24px;
    line-height: 70px;
  }
  
  #welfare .link-text::before {
    width: 40px;
    height: 40px;
  }
  
  #welfare .link-text::after{
    width: 18px;
    height: 10px;
    top: 30px;
    right: 12px;
  }
  
  #welfare .link-index:hover .link-text::before{
    width: 50px;
    height: 50px;
    right: -5px;
  }
  
/*-----------training-----------*/  
  #welfare .training::before{
    background-image:url("../images/welfare/welfare_training_bg01_pc@2x.png");
    height: 230px;
  }
  
  #welfare .training::after {
    background-image: url("../images/welfare/welfare_training_bg02_pc@2x.png");
    height: 188px;
  }
  
  #welfare .training-top .welfare-text{
    margin-bottom: 70px;
  }
  
  #welfare .training-wrap {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 60px;
    padding-bottom: 140px;
  }
  
  #welfare .training-item {
    margin-bottom: 44px;
  }

  #welfare .item-images {
    margin-bottom: 10px;
  }
  
  #welfare .item-images img {
  border-radius: 20px;
}
  
  #welfare .text-blue {
    font-size: 22px;
    line-height: 1.45;
    height: 64px;
    width: calc(100% + 14px);
    margin-left: -7px;
  }
  
  #welfare .training-wrap::before{
    background-image: url("../images/welfare/welfare_training_bg03_pc@2x.png");
    max-width: 748px;
    width: 100%;
    height: 548px;
    margin: 0;
    right: 0;
    z-index: -1;
  }
  
  /*-----------welfare-----------*/
  #welfare .welfare-top .content-ttl{
    margin-top: 100px;
  }
  
  #welfare .welfare-content {
    margin-bottom: 30px;
    padding: 40px 0 70px;
  }
  
  #welfare .welfare-content-ttl {
    font-size: 36px;
    padding-top: 24px;
    margin-bottom: 40px;
  }
  
  #welfare .welfare-content-01 .welfare-content-ttl::before{
    width: 60px;
    height: 56px;
  }
  
  #welfare .welfare-content-02 .welfare-content-ttl::before{
    width: 60px;
    height: 56px;
  }
  
  #welfare .welfare-content-03 .welfare-content-ttl::before{
    width: 60px;
    height: 56px;
  }
  
  #welfare .welfare-content-04 .welfare-content-ttl::before{
    width: 60px;
    height: 56px;
  }
  
  #welfare .content-box{
    display: flex;
    padding: 0 30px;
    max-width: initial;
    margin: 0;
  }
  
  #welfare .item-info {
    width: 180px;
    padding-bottom: 0;
  }
  
  #welfare .item-icon{
    margin-bottom: 26px;
  }
  
  #welfare .info-ttl {
    font-size: 22px;
    width: calc(100% + 24px);
    margin-left: -12px;
  }
  
  #welfare .content-flex{
    display: flex;
  }
  
  #welfare .content-flex .welfare-content {
    padding-bottom: 40px;
  }
  
  #welfare .welfare-content{
    display: flex;
    flex-direction: column;
  }
  
  #welfare .welfare-content-02{
    flex-basis: 60%;
  }
  
  #welfare .welfare-content-02 .content-box{
    padding: 0 70px;
  }
  
  #welfare .info-balloon::before {
    top: -33px;
    border-width: 36px;
    border-top-width: 30px;
  }
  
  #welfare .balloon-01{
    margin-top: 40px;
    width: calc(100% - 160px);
    min-width: 400px;
  }
  
  #welfare .balloon-01 .info-text {
    line-height: 1.66;
    width: calc(100% - 76px);
  }
  
  #welfare .balloon-02 .info-text {
    line-height: 1.66;
    width: calc(100% - 46px);
  }
  
  #welfare .info-balloon .info-text {
    padding: 40px 0;
  }
  
  #welfare .welfare-content-03 {
    flex-basis: 57%;
    margin-left: 30px;
  }
  
  #welfare .welfare-images {
    margin-top: auto;
  }
  
  #welfare .welfare-images img {
    width: calc(100% - 110px);
    padding-top: 10px;
    margin-bottom: 50px;
  }
  
  #welfare .balloon-02 {
    width: calc(100% - 110px);
    min-width: 400px;
    margin-top: auto;
  }
  
}

/*------------------------------------------------------------
bottom
------------------------------------------------------------*/
#welfare .no-link{
  opacity: .7;
  pointer-events: none;
}

#welfare .bottom-link-text .text-wrap{
  letter-spacing: .02em;
  padding-right: calc(100vw / 375 * 11);
}

#welfare .bottom-link-text .text-wrap.vision-link{
  margin: -10px 0 10px;
}

#welfare .bottom-link-text .text-eng{
  font-size: 28px;
  line-height: 1.3;
}

#welfare .bottom-link-text .text-jpn{
  font-size: 15px;
  font-weight: 500;
  line-height: 1.46;
}

#welfare .bottom-links .bottom-link-text .text-jpn{
  font-size: 10px;
}

#welfare .btn-more .btn-text{
  font-size: 10px;
  transform: scale(.8);
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  padding-top: 3px;
}

#welfare .btn-more{
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  width: 35px;
  justify-content: center;
}

#welfare .btn-more::after{
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  background-color: #FF59B1;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -10;
}

#welfare .bottom-link-text{
  display: flex;
  flex-wrap: wrap;
  color: #FFF;
}

#welfare .bottom-illust{
  position: relative;
}

#welfare .bottom-illust .bottom-link-text{
  position: absolute;
  right: calc(100vw / 375 * 12);
  bottom: 5px;
}

#welfare .bottom-links{
  background-color: #0068B7;
  padding: 40px 0 10px;
}

#welfare .bottom-links .bottom-link-text{
  max-width: 288px;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

#welfare .bottom-links .bottom-link-text:last-of-type{
  margin-bottom: 0;
}

#welfare .bottom-links .btn-more{
  margin-top: 11px;
}

#welfare .bottom-links .bottom-link-text .text-eng{
  line-height: 1;
}

#welfare .bottom-links-innerwrap{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

#welfare .bottom-links-innerwrap .hover-area{
  padding-left: 10px;
}


@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #welfare .bottom-illust .text-eng{
    font-size: min(80px, calc(1.75rem + ((1vw - 3.75px) * 3.3657)));
  }
  
  #welfare .bottom-illust .text-jpn{
    font-size: min(30px, calc(0.9375rem + ((1vw - 3.75px) * 0.9709)));
  }
  
  #welfare .btn-more .btn-text{
    font-size: 16px;
    transform: scale(1);
  }
  
  #welfare .bottom-illust .bottom-link-text{
    bottom: calc(100vw / 1920 * 80);
    left: 50%;
    transform: translateX(calc(-50% - calc(100vw / 1920 * 123)));
  }
  
  #welfare .btn-more::after{
    width: 70px;
    height: 70px;
    transition: all .3s ease-out;
    
  }
  
  #welfare .bottom-link-text{
    flex-wrap: nowrap;
    width: max-content;
  }
  
  #welfare .bottom-links .bottom-link-text .text-eng{
    font-size: min(60px, calc(1.75rem + ((1vw - 3.75px) * 2.0712)));
  }
  
  #welfare .bottom-links .bottom-link-text .text-jpn{
    font-size: min(20px, calc(0.9375rem + ((1vw - 3.75px) * 0.3236)));
  }
  
  #welfare .btn-more{
    padding: 15px;
    width: 70px;
  }
  
  #welfare .bottom-links-innerwrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    gap: 20px 45px;
  }
  
  #welfare .bottom-links .bottom-link-text{
    max-width: unset;
    margin-bottom: 0;
  }
  
  #welfare .bottom-link-text:hover .btn-more{
    color: #FF59B1;
  }
  
  #welfare .bottom-link-text:hover .btn-more::after{
    background-color: #FFF;
    border: solid 2px #FF59B1;
    transform: translate(-50%, -50%) scale(1.3);
    transform-origin: center;
  }
  
  #welfare .bottom .hover-area a{
    opacity: 1;
  }
  
  #welfare .bottom-links-innerwrap .hover-area{
    padding: 0;
  }
  
  #welfare .bottom-links .bottom-link-text .text-wrap{
    padding-right: 0;
  }
  
  #welfare .bottom-link-text .text-wrap.vision-link{
    margin: -40px 0 40px;
  }

}