@charset "utf-8";

/*================================================
  home
================================================*/

main {
  padding-top: 0;
}


/*------------------------------------------------
header
------------------------------------------------*/

.header {
  background-color: inherit;
}

/*headerColorScroll*/
.header.headerColorScroll {
  transition: background-color 0.3s ease-out;
  background-color:var(--color-white);
}

.header.headerColorScroll .header-title-button .for-white {
  display: none;
}
.header.headerColorScroll .header-title-button .for-blue {
  display: block;
}

@media print, screen and (min-width: 960px) {
  .header-inner {
    background-color: inherit;
  }
  /*headerColorScroll*/
  .header.headerColorScroll .header-inner{
    background: none;
  }
  .header.headerColorScroll .header-nav-item > a {
    color: var(--primary-text-color);
  }
}

/*------------------------------------------------
  Slider
------------------------------------------------*/

.slider {
  position: relative;
  background-color: var(--tertiary-color);
  background-image: url(../../image/home/main_img.png);
  background-position: bottom left -300px;
  background-size:600px;
  background-repeat: no-repeat;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  height:450px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-item {
  position: relative;
  overflow: hidden;
}

.slider-list,
.slider-item {
  width: 100%;
  height: 100%;
}

.slider-list{
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
}

.slider-item-image {
  position: absolute;
  z-index: 0;
  left: 5%;
  width: 90%;
  max-width: 500px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-item-image > img {
  border: 6px solid #fff;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.15));
}
.slider-item[data-slick-index="0"] .slider-item-image > img{
  transform:rotate(2deg) ;
}
.slider-item[data-slick-index="1"] .slider-item-image > img{
  transform:rotate(-2deg) ;
}
.slider-item[data-slick-index="2"] .slider-item-image > img{
  transform:rotate(2deg) ;
}
.slider-item[data-slick-index="3"] .slider-item-image > img{
  transform:rotate(-2deg) ;
}


@media print, screen and (min-width: 960px) {
  .slider {
    background-position: bottom left -200px;
    background-size:960px;
    min-height: 830px;
  }
  .slider-container {
    height: 530px;
    max-width: 1160px;
  }
  .slider-item-image {
    height: 530px;
    width:590px;
    top: 350px;
    left:calc(50% - 295px);
  }
  .slider-item-image > img {
    border: 10px solid #fff;
  }
}

@media print, screen and (min-width: 1200px) {
  .slider-item-image {
    height: 600px;
    width:630px;
    max-width: 630px;
    top: 350px;
    left:calc(50% - 400px);
  }
}

/* Slick Customize */
.slick-list,
.slick-list > .slick-track {
  height: 100%;
}

.slick-dots {
  width: 180px;
  height: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  position: absolute;
  bottom: 2.5%;
  right: calc(50% - 90px);
}

.slick-dots li,
.slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #fff;
}

.slick-dots li.slick-active,
.slick-dots li.slick-active button {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.slick-dots button::before {
  display: none;
}

/*slick-arrow*/
.slick-prev, .slick-next {
  top: auto;
  bottom:calc(2.5% + 1px);
  z-index: 10;
  width: 8px;
  height: 8px;
}

.slick-prev {
  left: calc(50% - 105px);
  border-top: 1px solid var(--secondary-color);
  border-left: 1px solid var(--secondary-color);
  transform: rotate(-45deg);
}
.slick-next {
  left: auto;
  right: calc(50% - 105px);
  border-top: 1px solid var(--secondary-color);
  border-left: 1px solid var(--secondary-color);
  transform: rotate(135deg);
}

.slick-prev:before,
.slick-next:before {
  content: "";
  display:none;
}

/* Slider Heading */
.slider-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-50%, -50%);
  height: auto;
  padding: 15px;
  opacity: 0;
  width: 100%;
  max-width: 1160px;
}

.is-animation .slider-heading {
  animation: fadeIn 1s 0.5s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-heading-main,
.slider-heading-ruby {
  display: block;
  max-width: 830px;
  width: 100%;
}

.slider-heading-main > img {
  filter: drop-shadow(0 0 2px #F9F1D9) drop-shadow(0 0 5px #F9F1D9) drop-shadow(0 0 10px #F9F1D9) drop-shadow(0 0 15px #F9F1D9);
}

.slider-heading-ruby {
  color: #666;
  text-transform: uppercase;
  font-size: clamp(0.65rem, 0.38rem + 1.35vw, 2rem);
  text-align: right;
  padding-top: 10px;
  filter: drop-shadow(0 0 2px #F9F1D9) drop-shadow(0 0 5px #F9F1D9) drop-shadow(0 0 10px #F9F1D9) drop-shadow(0 0 15px #F9F1D9);
}

.slider-heading-logo {
  position: absolute;
  width: 30%;
  max-width: 200px;
  bottom: 170px;
  right: 10%;
  filter: drop-shadow(0 0 2px #F9F1D9) drop-shadow(0 0 5px #F9F1D9) drop-shadow(0 0 10px #F9F1D9) drop-shadow(0 0 15px #F9F1D9);
}

@media print, screen and (min-width: 960px) {
  .slider-heading {
    top: 0;
    right: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .slider-heading-main,
  .slider-heading-ruby {
    width: 60%;
  }

  .slider-heading-ruby {
    font-size: clamp(0.7rem, -0.65rem + 2.25vw, 1.6rem);
  }
  .slider-heading-logo {
    bottom: 200px;
    /* right: 0; */
  }
}
@media print, screen and (min-width: 1240px) {
  .slider-heading-logo {
    right:calc(50% - 500px);
  }
}
@media print, screen and (min-width: 1600px) {
  .slider-heading-ruby {
    font-size: clamp(0.65rem, 0.38rem + 1.35vw, 2rem);
  }
  .slider-heading-logo {
    max-width: 300px;
  }
  /* .slider-heading {
    top: 320px;
  } */
}

/*------------------------------------------------
  main-visual
------------------------------------------------*/
.main-visual {
  padding-top: var(--header-size-sp);
  min-height: 600px;
  height: 100dvh;
}

@media print, screen and (min-width: 960px) {
  .main-visual {
    padding-top: var(--header-size-pc);
    min-height: 800px;
  }
}

/*------------------------------------------------
  News Release
------------------------------------------------*/

.news .section-container {
  display: flex;
  flex-direction: column;
  max-width: 1360px;
  position: relative;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  z-index: 5;
  padding: 30px;
  margin-top: -60px;
}

.news-list {
  width: 100%;
  border-top: 1px solid rgba(var(--color-black-rgb), 0.1);
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(var(--color-black-rgb), 0.1);
  padding: calc(var(--layout-gap) / 2) 0;
  width: 100%;
}

.news-item > a {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  /* padding: calc(var(--layout-gap) / 2) 0; */
  position: relative;
  width: 100%;
  opacity: 1;
}

.news-item-date {
  color: var(--primary-text-color);
  margin-right: calc(var(--layout-gap) / 2);
  text-transform: uppercase;
  /* font-size: 1.3rem; */
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 0.5em 0;
  width: 5.5em;
}

.news-item-category {
  color: var(--secondary-text-color);
  background-color: var(--tertiary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0.5em 3em;
  margin:0 0 0 auto;
}

.news-item-title {
  display: block;
  font-weight: 500;
  margin: calc(var(--layout-gap) / 4) 0 0;
  width: 100%;
  line-height: 1.5;
}

.news-link {
  margin-top: 1em;
  text-align: right;
}
.news-link > a {
  color: var(--secondary-color);
  position: relative;
  padding-right: 1.5em;
}
.news-link > a::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/icon_button_arrow_blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}


@media print, screen and (min-width: 769px) {
  .news .section-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:var(--layout-gap);
  }
  .news .section-title {
    width: 28%;
  }
  .news .news-list {
    width: 70%;
    margin-top: 0;
  }
  /* .news-item > a {
    padding: calc(var(--layout-gap) / 1.25) 0;
  } */
  .news-item-title {
    padding-right:  calc(var(--layout-gap) *1.25);
  }
  .news-item > a::after {
    right: 20px;
    width: 8px;
    height: 16px;
  }
  .news-item > a:hover:after {
    right: 10px;
  }
  .news-link {
    margin-left: auto;
  }
}

@media print, screen and (min-width: 960px) {
  .news .section-container {
    padding: 60px 60px 30px;
    margin-top: -100px;
    border-radius: 50px;
  }
}
@media print, screen and (min-width: 1200px) {

  .news .section-title {
    width:25%;
  }
  .news .news-list {
    width: 75%;
  }
  .news-item {
    align-items: flex-start;
  }
  .news-item-category {
    margin: 0;
    width: 11em;
    font-size: 1.4rem;
    padding: 0.5em;
  }
  .news-item-title {
    width: calc(100% - 310px);
    margin: 0.25em 0 0 2em;
    padding: 0;
  }
}
@media print, screen and (min-width: 1600px) {
  .news .section-container {
    padding:80px 100px 60px;
    border-radius: 60px;
  }
  .news .section-title {
    width: calc(100% - 800px);
  }
  .news .news-list {
    width: 800px;
  }
}

.news-item-upfile {
  display: flex;
  margin-top: calc(var(--layout-gap) / 2);
}

.news-item-upfile > img {
  width: auto;
  max-width: 100%;
}

.news-item-upfile > a {
  display: flex;
  align-items: center;
  padding: calc(var(--layout-gap) / 8) calc(var(--layout-gap) / 2);
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: bold;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  background-color: var(--color-white);
  transition: all 0.3s linear;
}

.news-item-upfile > a::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: calc(var(--layout-gap) / 2);
  background-image: url(../../image/common/icon_dl.svg);
  background-position: center;
  background-size: contain;
  transition: all 0.3s linear;
}

.news-item-upfile > a:hover {
  color: var(--color-white);
  background-color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s linear;
}

.news-item-upfile > a:hover::after {
  background-image: url(../../image/common/icon_dl_w.svg);
  transition: all 0.3s linear;
}


@media print, screen and (min-width: 769px) {
  .news-item-upfile {
    margin-top: var(--layout-gap);
  }
}


/*------------------------------------------------
thoughts
------------------------------------------------*/

.thoughts {
  position: relative;
}
.thoughts::before {
  content: "";
  display: block;
  background-image: url(../../image/home/bottom_img.svg);
  background-position: bottom center;
  background-size:contain;
  position: absolute;
  width: 90%;
  height: 50%;
  max-width: 1600px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.thoughts-text {
  margin: var(--layout-gap) auto;
}

.thoughts .button-label-primary {
  margin: auto;
}
@media print, screen and (min-width: 560px) {
  .thoughts-text {
    width: 80%;
    margin-bottom:calc(var(--layout-gap)*1.5);
  }
}
@media print, screen and (min-width: 769px) {
  .thoughts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .thoughts-container .section-title {
    order: 2;
    width: 35%;
  }
  .thoughts-container .thoughts-text {
    order: 1;
    width: 56%;
    margin-bottom:calc(var(--layout-gap)*1.75);
  }
  .thoughts-container .button-label-primary {
    order: 3;
    width: 100%;
  }
}
@media print, screen and (min-width: 1600px) {
  .thoughts-container .section-title {
    width: 26%;
    margin-left: 17%;
  }
  .thoughts-container .thoughts-text {
    margin-bottom:calc(var(--layout-gap)*2);
  }
}


/*------------------------------------------------
service
------------------------------------------------*/

.service {
  background-color: var(--color-gray);
  background-image: url(../../image/home/service_img_left_bg.png), url(../../image/home/service_img_rght_bg.png);
  background-size: 70%, 35%;
  background-position: left center, right bottom 20px;
}

.service .section-title {
  text-align: center;
}

.service-item {
  border-radius: 30px;
  padding:5em 1.75em 2.25em;
  background-color: rgba(var(--color-white-rgb), 0.95);
  box-shadow: 0 10px 20px -10px rgba(var(--color-black-rgb), 0.1);
  margin: 4em auto 0;
  max-width: 23em;
  position: relative;
}

.service-item-link {
  position: absolute;
  display: block;
  /* width: calc(100% - var(--layout-gap)); */
  /* left:  calc(var(--layout-gap)/2); */
  width: 90%;
  left: 50%;
  top: calc(var(--layout-gap)/1.25 * -1);
  transform: translate(-50%);
}
.service-link-label {
  padding: 1.25em 1em 1.25em 3em;
  border-radius: 3em;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-size: clamp(1.6rem, 1.36rem + 1.2vw, 2.8rem);
  line-height: 1;
  box-shadow: 10px 10px 15px -7.5px rgba(var(--color-black-rgb), 0.1);
  position: relative;
}
.service-link-label::before {
  content: "";
  display: block;
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  width: 1.75em;
  height: 1.75em;
  left: 0.75em;
  top: 50%;
  transform: translateY(-50%);
}

.service-link-label::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/arrow_right_white.svg);
  background-position: center;
  background-size: contain;
  right: 0.75em;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s linear;
  position: absolute;
}
.service-link-label:hover::after {
  right: 0.5em;
}

.service-detail-list {
  margin: 0 auto ;
  display: grid;
  gap: 2em;
  max-width: 420px;
  width: fit-content;
}

.service-detail-item {
  position: relative;
  padding-left: 4.5rem;
  font-size: clamp(1.4rem, 1.32rem + 0.4vw, 1.8rem);
  line-height: 1.2;
}
.service-detail-item::before {
  content: "";
  display: block;
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  width: 2em;
  height: 2em;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media print, screen and (min-width: 590px) {
  .service {
    background-size: 45%, 20%;
    background-position: left -15% center, right 2.5% bottom 20px;
  }
  .service-container {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .service-item {
    width: calc(50% - 5px);
    max-width: 580px;
    padding:5em 2em 2.5em;
    margin-top: 2.75em;
  }
  .service-link-label {
    font-size: clamp(1.2rem, 0.6677rem + 1.4436vw, 2.4rem);
  }
}

@media print, screen and (min-width: 769px) {
  .service-item {
    width: calc(50% - 3em);
    /* padding: 4.5em 2.5em 2.5em; */
    padding: 6em 2em 4em;
    margin-top: 2.5em;
  }
  .service-detail-list {
    gap: 2.5em;
  }
  .service-item-link {
    width: calc(100% - calc(var(--layout-gap)*1.5));
  }
}

@media print, screen and (min-width: 1600px) {

  .service {
    background-size: 41%, 21%;
    background-position: left -50px top 170px, right 100px bottom 80px;
  }

  .service-item {
    width: calc(50% - 2em);
    padding: 120px 70px 80px 60px;
    margin-top: 4em;
    /* margin: 0; */
  }
  .service-item-link {
    top: -65px;
  }
  .service-link-label {
    height: 130px;
    border-radius: 65px;
    padding-left: 124px;
    font-size: 2.8rem;
  }
  .service-link-label::before {
    width: 60px;
    height: 60px;
    left: 30px;
  }
  .service-link-label::after {
    width: 12px;
    height: 24px;
    right: 60px;
  }
  .service-link-label:hover::after {
    right: 50px;
  }
  .service-detail-item {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2.4rem);
    padding-left: 80px;
  }

  .service-detail-item::before {
    width: 60px;
    height: 60px;
  }
}

/*for-individual*/

.service-item.for-individual .service-link-label {
  color: var(--color-white);
  background-color: var(--primary-color);
  border: 3px solid var(--color-white);
}

.service-item.for-individual .service-link-label::before {
  background-image: url(../../image/common/icon_individual.svg);
}

.service-item.for-individual .service-detail-item:nth-child(1)::before {
  background-image: url(../../image/common/icon_people.svg);
}
.service-item.for-individual .service-detail-item:nth-child(2)::before {
  background-image: url(../../image/common/icon_hospital.svg);
}
.service-item.for-individual .service-detail-item:nth-child(3)::before {
  background-image: url(../../image/common/icon_home.svg);
}
.service-item.for-individual .service-detail-item:nth-child(4)::before {
  background-image: url(../../image/common/icon_elderly.svg);
}
.service-item.for-individual .service-detail-item:nth-child(5)::before {
  background-image: url(../../image/common/icon_wallet.svg);
}


/*.for-corporate*/

.service-item.for-corporate .service-link-label {
  color: var(--primary-color);
  background-color: var(--color-white);
  border: 3px solid var(--primary-color);
}

.service-item.for-corporate .service-link-label::before {
  background-image: url(../../image/common/icon_corporate.svg);
}
.service-item.for-corporate .service-link-label::after {
  background-image: url(../../image/common/arrow_right_primary.svg);
}
/* .service-item.for-corporate .service-link-label:hover::after {
  background-image: url(../../image/common/arrow_right_white.svg);
} */

.service-item.for-corporate .service-detail-item:nth-child(1)::before {
  background-image: url(../../image/common/icon_business.svg);
}
.service-item.for-corporate .service-detail-item:nth-child(2)::before {
  background-image: url(../../image/common/icon_risk.svg);
}
.service-item.for-corporate .service-detail-item:nth-child(3)::before {
  background-image: url(../../image/common/icon_benefits.svg);
}
.service-item.for-corporate .service-detail-item:nth-child(4)::before {
  background-image: url(../../image/common/icon_building.svg);
}



/*------------------------------------------------
company access
------------------------------------------------*/


.section-item.access .section-title .section-title-jp {
  color: var(--color-white);
}
.section-item.access .section-title .section-title-en {
  color: var(--color-white);
  background: inherit;
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
}

.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.section-item {
  position: relative;
  background-size: cover;
  background-position: center bottom;
}

.section-item-img {
  display: none;
}

.section-item.access .section-item-img {
  mix-blend-mode: multiply;
}

.section-item-inner {
  position: relative;
  padding: 2em 1em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* height: 100%; */
}

.section-item-title {
  display: block;
  margin:auto;
  text-align: center;
}

.section-item.company {
  background-color: #CCEBE9;
  background-image: url(../../image/home/company_bg.png);
}

.section-item.access {
  background-image: url(../../image/home/access_bg.png);
}
.section-item.access::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  mix-blend-mode: multiply;
}

.section-item.access .section-item-img > img {
  opacity: 0.65;
}

@media print, screen and (min-width: 560px) {
  /* .section-row {
    display: flex;
    flex-wrap: wrap;
  }
  .section-item {
    width: calc(100% / 2);
  } */
  .section-item-inner {
    padding: 4em 1em;
  }
  .section-item-img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .section-item.access .section-item-img {
    mix-blend-mode: multiply;
  }
}

@media print, screen and (min-width: 769px) {
  .section-item:hover {
    opacity: 1;
  }

  .section-item {
    cursor: pointer;
  }
  .section-item.company,
  .section-item.access {
    background-image: inherit;
  }

  .section-item-img {
    display: block;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .section-item .section-item-img > img {
    transition: transform 0.3s linear;
    mix-blend-mode: multiply;
    width: auto;
    height:150%;
    aspect-ratio: 65 / 35;
    margin: auto;
  }
  .section-item:hover .section-item-img > img {
    transform: scale(1.1);
    transition: transform 0.3s linear;
  }
  .section-item-inner .section-title {
    margin-bottom: 2em;
  }
}

@media print, screen and (min-width: 1600px) {
  .section-item {
    height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .section-item .section-item-img > img {
    height:auto;
    min-height: 100%;
    width: 100%;
  }
}

/*------------------------------------------------
staff
------------------------------------------------*/

.staff {
  position: relative;
}
.staff::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  max-width: 1600px;
  background-image: url(../../image/home/staff_text_bg_img.svg);
  background-size: calc(100% - 20px);
  background-position: bottom right;
  background-repeat: no-repeat;
  bottom: -1px;
}

.staff .section-title {
  text-align: center;
}

.staff-pic-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
  margin-bottom: var(--layout-gap);
  gap: 5px;
}
.staff-pic-item {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 4px solid var(--tertiary-color);
  max-width: 300px;
  margin: auto;
}
.staff .button-label-primary {
  margin: auto;
}

@media print, screen and (min-width: 769px) {
  .staff::before {
    bottom: -5px;
  }
  .staff-pic-list {
    gap: 30px;
  }
  .staff-pic-item {
    border-width: 6px;
  }
}

@media print, screen and (min-width: 1600px) {
  .staff::before {
    left: calc(50% - 760px);
  }
}

/*------------------------------------------------
recruit
------------------------------------------------*/
.recruit {
  position: relative;
}
.recruit::before {
  content: "";
  border-top-left-radius: 60px;
  display: block;
  position: absolute;
  height: calc(100% + 60px);
  width: 100%;
  background-color: var(--tertiary-color);
  background-image: url(../../image/home/recruit_bg.jpg);
  background-size: 100%;
  background-position: bottom center;
  z-index: -1;
  top: 0;
  right: 0;
}

.recruit-text {
  margin-bottom: var(--layout-gap);
}

.recruit-link {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75em;
}
.recruit-link-item {
  border-radius: 20px;
  background-color: var(--color-white);
  overflow: hidden;
}

.recruit-item-button {
  display: block;
  color: var(--primary-text-colorcolor);
  padding: 1.25em 2.5em 1.25em 1.25em;
  position: relative;
  line-height: 1.25;
  /* font-size: clamp(1.2rem, 0.96rem + 1.2vw, 2.4rem); */
  font-size: clamp(1rem, 0.72rem + 1.4vw, 2.4rem);
  margin: auto 0;
}
.recruit-item-button::after {
  content: "";
  display: block;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5em;
  height: 1.5em;
  background-image: url(../../image/common/icon_button_arrow_blue.svg);
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
}

@media print, screen and (min-width: 590px) {
  .recruit-head {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: calc(var(--layout-gap)/1.5);
  }

  .recruit .section-title {
    width: 35%;
  }
  .recruit-text {
    width: 60%;
  }
  .recruit-link {
    gap: 1.5em;
  }
}

@media print, screen and (min-width: 769px) {
  .recruit::before {
    border-top-left-radius: 80px;
  }
  .recruit-link {
    gap: 3.5em;
  }
  .recruit-link-item {
    border-radius: 30px;
  }
  .recruit-item-button {
    font-size: clamp(1rem, 0.0646rem + 1.9461vw, 2.4rem);
    padding: 1.5em 2.5em 1.5em 1.5em;
  }
}

@media print, screen and (min-width: 1200px) {
  .recruit::before {
    border-top-left-radius: 100px;
    max-width: 1720px;
  }
  .recruit-container.section-container {
    padding: calc(var(--layout-gap) * 3) 0  calc(var(--layout-gap) * 3.5);
  }
  .recruit-link {
    gap: 3.75em;
  }
}

@media print, screen and (min-width: 1600px) {
  .recruit::before {
    width: calc(50% + 740px);
    max-width: 100%;
  }
  .recruit-container.section-container {
    padding: calc(var(--layout-gap) * 3) 0  calc(var(--layout-gap) * 4.5);
  }
}

/*------------------------------------------------
reviews
------------------------------------------------*/
.reviews {
  position: relative;
}
.reviews::before {
  content: "";
  border-top-right-radius: 60px;
  display: block;
  position: absolute;
  background-color: var(--color-gray);
  height: 100%;
  width: 100%;
  max-width: 1740px;
  z-index: -1;
  top: 0;
  left: 0;
}

.reviews .section-title {
  text-align: center;
  margin-bottom: 1em;
}

.reviews-img {
  width: 60%;
  margin: auto;
}

.reviews .button-label-primary {
  margin: auto;
}

@media print, screen and (min-width: 590px) {
  .reviews-container {
    position: relative;
  }
  .reviews-container .section-title {
    width: 220px;
    margin:0 0 2em auto;
    text-align: left;
  }
  .reviews-img {
    position: absolute;
    width:calc(80% - 220px);
    max-width: 731px;
    left: 0;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
  }
  .reviews .button-label-primary {
    margin: auto 0 auto auto;
  }
}
@media print, screen and (min-width: 769px) {
  .reviews-container {
    padding:100px 80px;
  }
  .reviews-container .section-title {
    width: 240px;
  }
  .reviews .button-label-primary {
    max-width: 240px;
  }
}
@media print, screen and (min-width: 960px) {
  .reviews-img {
    width:calc(70% - 220px);
  }
}
@media print, screen and (min-width: 1600px) {
  .reviews-container {
    padding-bottom: 160px;
  }
  .reviews::before {
    width: calc(50% + 740px);
    max-width: 100%;
    height: calc(100% + 60px);
    top: -60px;
  }
}
