/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#welfare {
  font-size: 13px;
  font-weight: 400;
  color: #2f2f2f;
  overflow: hidden;
  background: #fff;
  position: relative;
}

#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 .pc-br {
  display: none;
}

#welfare .sp-br {
  display: inline;
}

#welfare .inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

#welfare .inner02 {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

#welfare .font-sofia {
  font-family: sofia-pro, sans-serif;
  font-weight: 500;
  font-style: normal;
}

#welfare .main {
  position: relative;
}

#welfare .main-ttl-wrap {
  position: absolute;
  left: 0;
  top: calc(50% - 10px);
  width: 100%;
  height: 90px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
  display: flex;
  justify-content: center;
}

#welfare .main-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#welfare .main-ttl .en {
  position: relative;
  color: #6BC333;
  margin-bottom: 16px;
  line-height: 1;
}

#welfare .main-ttl .en::before {
  position: absolute;
  content: "";
  width: 44px;
  height: 8px;
  background: url("../images/welfare/deco_lime_sp.svg") no-repeat center center / contain;
  left: calc(50% - 22px);
  bottom: -12px;
}

#welfare .main-ttl .jp {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.13;
}

#welfare .content-heading01 {
  display: flex;
  flex-direction: column;
}

#welfare .content-heading01 .en {
  color: #6BC333;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 8px;
}

#welfare .content-heading01 .jp {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

#welfare .ttl-index {
  font-size: 15px;
  padding-left: 13px;
  line-height: 1;
  position: relative;
}

#welfare .ttl-index::before {
  content: "";
  width: 10px;
  height: 2px;
  background-color: #6BC333;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
}

#welfare .link-box-outer {
  margin-top: 65px;
}

#welfare .link-box {
  position: relative;
}

#welfare .link-box::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #DDD;
  border-radius: 1px;
  top: 0;
  left: 0;
  z-index: 10;
}

#welfare .link-box:last-of-type::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #DDD;
  border-radius: 1px;
  bottom: 0;
  right: 0;
}

#welfare .link-box .link-item {
  position: relative;
  color: #296700;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 0 10px 50px;
  margin-right: 45px;
  transition: all .3s;
}

#welfare .link-box .link-item::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 10px;
  background: url("../images/welfare/icon_arrow_green_sp.svg") no-repeat center center / contain;
  right: 0;
  top: calc(50% - 5px);
}

@media print, screen and (min-width: 768px) {
  
  #welfare .sp-br {
    display: none;
  }
  
  #welfare .pc-br {
    display: inline;
  }
  
  #welfare .main-img img {
    min-height: 400px;
    object-fit: cover;
  }
  
  #welfare .main-ttl-wrap {
    top: calc(50% - 38px);
    height: 150px;
    padding-bottom: 4px;
  }
  
  #welfare .main-ttl .en {
    font-size: 20px;
    margin-bottom: 28px;
  }
  
  #welfare .main-ttl .en::before {
    width: 68px;
    height: 10px;
    background-image: url("../images/welfare/deco_lime_pc.svg");
    left: calc(50% - 34px);
    bottom: -16px;
  }

  #welfare .main-ttl .jp {
    font-size: 36px;
  }
  
  #welfare .content-heading01 .en {
    font-size: 14px;
    margin-bottom: 16px;
  }

  #welfare .content-heading01 .jp {
    font-size: 20px;
  }
  
  #welfare .ttl-index {
    font-size: 18px;
    padding-left: 25px;
  }

  #welfare .ttl-index::before {
    width: 14px;
  }

  #welfare .link-box-outer {
    display: flex;
    justify-content: space-between;
  }

  #welfare .link-box {
    width: 100%;
  }

  #welfare .link-box::before, #welfare .link-box:last-of-type::after {
    width: 2px;
    height: 100%;
    top: 0;
  }
  
  #welfare .link-box .link-item {
    font-size: 16px;
    text-align: center;
    margin-right: auto;
    padding: 13px 0 33px;
  }
  
  #welfare .link-box .link-item::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 12px;
    background-color: #296700;
    border-radius: 2px;
    left: calc(50% - 1px);
    top: 46px;
    transition: all .3s;
  }
  
  
  #welfare .link-box .link-item::after {
    width: 14px;
    height: 8px;
    background: url("../images/welfare/icon_arrow_green_pc.svg") no-repeat center center / contain;
    right: calc(50% - 7px);
    top: 52px;
    transition: all .3s;
  }
  #welfare .inner02 {
    width: calc(100% - 60px);
  }
  

  
}

@media print, screen and (min-width: 1240px){
  #welfare .link-box a:hover .link-item {
    background-color: #F0FFE8;
  }
  
  #welfare .link-box:nth-child(2n) a:hover .link-item {
    background-color: #FFFDF1;
  }
  
  #welfare .link-box a:hover .link-item::before {
    height: 20px;
  }
  
  #welfare .link-box .link-item::after {
    opacity: 0;
  }
  
  #welfare .link-box a:hover .link-item::after{
    opacity: 1;
    transform: translateY(8px);
  }
  
}

/*------------------------------------------------------------
contents
------------------------------------------------------------*/
#welfare .font-green{
  color: #296700;
  font-weight: 500;
}

#welfare .welfare-container-inner{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

#welfare .welfare-box{
  border: solid 1px #296700;
  padding: 11px 15px 14px;
  min-height: 280px;
  background-image: repeating-linear-gradient(90deg, #F7F8FC, #F7F8FC 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, #F7F8FC, #F7F8FC 1px, #fff 1px, #fff 20px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

#welfare .welfare-box-img{
  width: 90px;
  margin: 0 auto;
}

#welfare .welfare-box-text-wrap{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

#welfare .welfare-box-ttl{
  width: calc(100% + 30px);
  margin: 0 -15px;
  text-align: center;
  font-size: 15px;
}

#welfare .welfare-container-ttl{
  margin-bottom: 30px;
}

#welfare .welfare-outer{
  padding: 0 0 70px;
}

#welfare .welfare-container{
  padding: 51px 0 37px;
}

#welfare .welfare-container:nth-of-type(2n){
  background-color: #F5FBF2;
}

#welfare .welfare-container:first-of-type{
  padding-top: 0;
}

#welfare .welfare-container:last-of-type{
  padding-bottom: 0;
}

#welfare .message-outer-text{
  font-size: 30px;
  line-height: 1;
  color: #6BC333;
  position: absolute;
  top: -14px;
  left: 12px;
}

#welfare .message-outer{
  background-color: #DAF0CC;
  position: relative;
  padding: 52px 0 35px;
  max-width: 1200px;
  margin: 0 auto;
}

#welfare .message-outer::after{
  content: "MESSAGE";
  display: block;
  font-size: 60px;
  line-height: 1;
  color: rgba(41, 103, 0, .1);
  font-family: sofia-pro, sans-serif;
  font-weight: 400;
  position: absolute;
  right: 0;
  bottom: -3px;
  z-index: 10;
}

#welfare .message-outer .bg{
  width: calc(100% - 60px);
  max-width: 930px;
  margin: 0 auto;
  position: relative;
  z-index: 50;
}

#welfare .message-inner-ttl{
  margin-bottom: 15px;
  font-size: 15px;
}

#welfare .message-inner-text{
  font-size: 14px;
  line-height: 1.78;
}

#welfare .message-inner-text .txt:not(:last-of-type){
  margin-bottom: 26px;
}

#welfare .content-area{
  padding: 73px 0 90px;
}


@media print, screen and (min-width: 768px) {
  #welfare .welfare-container-inner{
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  
  #welfare .welfare-box{
    min-height: 390px;
    gap: 20px;
    padding: 20px 20px 35px;
    background-image: repeating-linear-gradient(90deg, #F7F8FC, #F7F8FC 1px, transparent 1px, transparent 41px), repeating-linear-gradient(0deg, #F7F8FC, #F7F8FC 1px, #fff 1px, #fff 41px);
    background-position: 50% 50%;
    border: solid 2px #296700;
  }
  
  #welfare .welfare-box-img{
    width: 150px;
  }
  
  #welfare .welfare-box-ttl{
    font-size: 20px;
    line-height: 1.3;
  }
  
  #welfare .welfare-box-innertext{
    font-size: 16px;
    line-height: 1.75;
  }
  
  #welfare .welfare-box-text-wrap{
    gap: 30px;
  }
  
  #welfare .welfare-outer{
    padding-bottom: 183px;
  }
  
  #welfare .welfare-container-ttl{
    margin-bottom: 50px;
  }
  
  #welfare .welfare-container{
    padding: 80px 0 100px;
  }
  
  #welfare .message-outer-text{
    font-size: 60px;
    top: -32px;
    left: 135px;
  }
  
  #welfare .message-inner-ttl{
    font-size: 18px;
  }
  
  #welfare .message-inner-text{
    font-size: 18px;
  }
  
  #welfare .message-inner-text .txt:not(:last-of-type){
    margin-bottom: 40px;
  }
  
  #welfare .message-outer{
    padding: 92px 0 64px;
  }
  
  #welfare .message-outer::after{
    font-size: 120px;
    bottom: -7px;
  }
  
  #welfare .content-area{
    padding: 100px 0 214px;
  }
  
  
}

