/*--------------------------------------------------
FV
--------------------------------------------------*/
.top_fv {
  padding-top: 3em;
  padding-bottom: 3em;
  background-image: url('/wp-content/themes/riza-en/assets/images/top/bg_fv.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.top_fv .c-box-1200-25 {
  position: relative;
}

@media only screen and (max-width: 768px) {
  .top_fv {
  padding-top: 2em;
  padding-bottom: 2em;
  }


  .top_fv .c-box-1200-25 {
    text-align: center;
  }
}

.top_fv .c-box-1200-25 > div {
  display: flex;
  align-items: flex-end;
  flex-direction: column-reverse;
  justify-content: center;
  font-weight: bold;
}

.top_fv h1 {
  font-size: clamp(2em, 3.5vw, 2.5em);
  line-height: 1.4;
  margin-bottom: 0.5em;
}

@media only screen and (max-width: 768px) {
  .top_fv .c-box-1200-25 > div {
  align-items: center;
  }

  .top_fv img {
    height: 9em;
    width: auto;
    margin-bottom: 1em;
  }

  .top_fv h1 {
    font-size: clamp(1.95rem, 4.5vw, 3rem);
  }
}

@media only screen and (min-width: 769px) {
  .top_fv p {
    font-size: 1.1em;
  }


  .top_fv .c-box-1200-25 > div {
    flex-direction: row;
  }
  .top_fv .text {
    padding-right: 1.5em;
  }

  .top_fv .text + figure {
    width: 45%;
  }
}

@media only screen and (max-width: 768px) {
  .top_fv .wp-block-buttons {
      justify-content: center;
  }
}

.top_fv .wp-block-buttons {
  gap: 1em;
  margin-top: 1.5em;
}

@media only screen and (min-width: 769px) {
  .top_fv .wp-block-buttons {
  position: relative;
  top: -6px;
  }
}


.top_fv .wp-block-button a.wp-block-button__link {
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(1em, 2vw, 1.3em);
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  border-radius: 0.5rem;
  padding:0.75em 1.75em 0.75em 1em;
  color: #fff;
  background: #00c0a3;
  box-shadow: 0 6px 0 #00917b;
  white-space: nowrap;
  transition: .5s;
}

@media print, screen and (min-width: 910px) {
  .top_fv .wp-block-button a.wp-block-button__link:hover,
  .rizaen_cta2 .wp-block-button a:hover{
    background:#00c0a3;
  }

  .top_fv .wp-block-button a.wp-block-button__link[href$="/contact/download"]:hover,
  .rizaen_cta2 .wp-block-button a[href$="/contact/download"]:hover{
    background:#314494;
  }
}


.top_fv .wp-block-button a.wp-block-button__link[href$="/contact/download"] {
  background: #314494;
  color: #fff;
  box-shadow: 0 6px 0 #192C80;
}

.top_fv .wp-block-button a.wp-block-button__link:hover {
  transform: translateY(4px);
  box-shadow: none!important;
}

.top_fv .wp-block-button a.wp-block-button__link[href$="/contact/download"]:after{
  border-top-color:#fff;
  border-right-color:#fff;
}

/*--------------------------------
共通パーツ
*--------------------------------*/
h2 + p{
  margin-top: 0.5em;
  margin-bottom: 2.5em;
}

/*-------------------------------------
top_reason
---------------------------------------*/
.top_reason .splide__track > ul > li {
  padding: 2em;
  line-height: 1.5;
}

.top_reason .top_reason_3{
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .top_reason .top_reason_3{
    gap: 1em;
  }
}

.top_reason h3{
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75em;
}

.top_reason_3 .wp-block-column {
  padding: 1.25em;
  border-radius: 1em;
}

.top_reason_3 .wp-block-column h4 {
  color: #314494;
  line-height: 1.25;
}

@media only screen and (max-width: 768px) {
  .top_reason .splide__track > ul > li {
    padding: 1em;
  }

  .top_reason_3 .wp-block-column {
    padding: 1em;
  }

  .top_reason_3 .wp-block-column h4{
    font-size: 1em;
  }

  .top_reason_3 .wp-block-column p{
    font-size: 90%;
  }
}

/*-------------------------------------
top_support
---------------------------------------*/
.top_support .wp-block-column:not(.cp_arrows) {
  padding: 1.25em 2em 2em;
  border-radius: 2em;
  border: 10px solid #e6e8f2;
  background-color: #fff;
}

@media only screen and (max-width: 768px) {
.top_support .wp-block-column:not(.cp_arrows) {
  padding: 1.25em 1.5em 2em;
  }
}

.top_support .wp-block-columns {
  position: relative;
  gap: 1em;
  margin-bottom:0;
}

.top_support .wp-block-columns img {
    height: 7em;
    width: auto;
    margin-bottom: 1.25em;
}

.cp_arrows {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0px !important;
  flex-basis: inherit !important;
  flex-grow: inherit !important;
}

.cp_arrows .cp_arrowcontainer {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 100px;
    height: 36px;
    transform: translate(-50%, -50%) rotate(-90deg);
}

@media only screen and (min-width: 769px) {
  .cp_arrows .cp_arrowcontainer {
    margin-left: -15px;
  }
}

@media only screen and (max-width: 768px) {
  .cp_arrows {
    transform: scale(0.8);
  }

  .top_support .wp-block-columns img{
    height: 6em;
  }

  .cp_arrows .cp_arrowcontainer{
      margin-top: -1em;
      transform: translate(-50%, -50%) rotate(0deg);
  }
}

.cp_arrows .cp_arrow {
  position: absolute;
  left: 50%;
  transition: all 0.3s ease-in-out;
}
.cp_arrows .cp_arrow:before,
.cp_arrows .cp_arrow:after {
  position: absolute;
  content: '';
  display: block;
  width: 4px;/*矢印の高さ*/
  height: 50px;/*矢印の横幅*/
  background: #5a67c4;/*矢印の色*/
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(-65deg);/*左側の位置と角度*/
  transform-origin: bottom right;/*transformの基点*/
  transition: all 0.3s ease-in-out;
}
.cp_arrows .cp_arrow:after {
  transform: translate(-50%, -50%) rotate(65deg);/*右側の位置と角度*/
  transform-origin: bottom left;/*transformの基点*/
}
.cp_arrows .cp_arrow:nth-child(1) {/*1つ目の矢印の位置と透明度*/
  top: 0;
  opacity: 0.3;
}
.cp_arrows .cp_arrow:nth-child(2) {/*2つ目の矢印の位置と透明度*/
  top: 50%;
  opacity: 0.6;
}
.cp_arrows .cp_arrow:nth-child(3) {/*3つ目の矢印の位置と透明度*/
  top: 100%;
  opacity: 1;
}

/*-------------------------------------
リザエンが選ばれる理由
---------------------------------------*/
.balloons .tab_btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 1em 1.25em;
    background: #fff;
    color: #314494;
    border: 0.125em solid #314494;
    border-radius: 0.75em;
    font-size: 1.15em;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1.25;
}

.balloons .tab_btn em{
  font-style: normal;
}

@media only screen and (min-width: 769px) {
.balloons .tab_btn em{
  display: block;
  font-size: 0.75em;
  width: fit-content;
  margin: 0 auto 0.5em;
  color: #314494;
  background-color: #fff;
  border: 1px solid #314494;
  padding: 0.1em 1em;
  border-radius: 1em;
}
}

@media only screen and (max-width: 768px) {
  .balloons {
    justify-content: space-between;
  }

  .balloons .tab_btn {
        line-height: 1.5;
  }

  .balloons .wp-block-column {
    flex-basis: fit-content!important;
    flex-grow: inherit!important;
  }
}

@media only screen and (max-width: 500px) {
  .balloons .tab_btn {
    width: 6em;
    height: 6em;
    padding: 0.75em;
    font-size: 1em;
    border-radius: 50%;
  }
}

/* 外側の青三角 */
.balloons .tab_btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.75em;
    transform: translateX(-50%);

    border-style: solid;
    border-width: 0.75em 0.625em 0 0.625em;
    border-color: #314494 transparent transparent transparent;

    transition: 0.3s;
}

/* 内側の白三角 */
.balloons .tab_btn::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.56em;
    transform: translateX(-50%);

    border-style: solid;
    border-width: 0.625em 0.5em 0 0.5em;
    border-color: #fff transparent transparent transparent;

    z-index: 1;
    transition: 0.3s;
}

/* hover */
.balloons .tab_btn:hover {
    background: #314494;
    color: #fff;
}

.balloons .tab_btn:hover::before {
    border-top-color: #314494;
}

/* 選択中 */
.balloons .tab_btn.is-active {
    background: #314494;
    color: #fff;
}

.balloons .tab_btn.is-active::before {
    border-top-color: #314494;
}

/*-------------------------------------------
.list_check
-------------------------------------------*/
@media only screen and (min-width: 769px) {
  .list_check {
    font-size: 115%;
  }
}

.list_check > li {
  padding-left: 1.7em;
}

.list_check > li::before {
  top: 0.1em;
  width: 1.25em;
  height: 1.25em;
}

.list_check.notcheck > li::before{
  border-color: #747474;
}

.list_check > li::after {
  left: 0.4em;
  transform: rotate(45deg);
  top: 0.15em;
}

.list_check.notcheck > li::after {
  display: none;
}

.list_check strong {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #ff0 60%);
}



/*-------------------------------------
clients
---------------------------------------*/
.clients .splide__track > ul > li{
  border: none;
}

.clients .splide__track li > a,
.clients .splide__track li {
    height: 30px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.clients .splide__track li img {
  width: auto;
  height: auto;
  background: transparent;
  max-width: 135px;
  max-height: 20px;
}

@media only screen and (min-width: 769px) {
  .clients .splide__track li > a,
  .clients .splide__track li {
    height: 40px;
  }

  .clients .splide__track li img {
    max-height: 40px;
  }
}

.clients{
  padding-top: 0.75em;
}

.clients + .clients{
  padding-top: 0.75em;
  padding-bottom: 0.75em;
}

/*--------------------------------
業種一覧
*--------------------------------*/
.industry .industry-image{
  width: 100%;
  min-height: 10em;
  overflow: hidden;
}

.industry-image{
  position: relative;
}

.industry h3 + figure img{
  transition: transform 0.3s ease;
}

.industry h3:hover + figure img{
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.industry-image figure {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry_list_sub {
  background-color: #fff;
  padding: 1em;
  flex: 1;
}

.industry_list_sub > ul > li {
    width: 100%;
}

.industry_list_sub > ul {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em 1em;
}

.industry h3{
    position: absolute;
    width: fit-content;
    max-width: 84%;
    height: fit-content;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.industry h3 a{
  position: relative;
  font-size: 120%;
  line-height: 1.25;
  display: block;
  background: rgba(49, 68, 148, 0.85);
  color: #fff;
  padding: 0.5em 1.25em 0.5em 0.6em;
  width: fit-content;
  z-index: 2;
  border-radius: 1.5em;
  text-align: center;
  box-shadow: 0 0px 30px rgba(255, 255, 255, 0.4);
}

.industry h3 a:after{
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  width: 0.4em;
  height: 0.4em;
  position: absolute;
  top: 0.25em;
  bottom: 0;
  margin: auto;
  right: 0.6em;
  -webkit-transform: translate(0, -50%) rotate(45deg);
  transform: translate(0, -50%) rotate(45deg);
}

@media only screen and (min-width: 769px) {
  .industry_list_sub  > ul {
    gap: 0.5em 0.5em;
  }
  .industry h3 a{
      font-size:0.9em;
  }
}

.industry h3 a:hover{
  background-color: #192C80
}

.industry_list_sub ul li{
    width: fit-content;
    display: inline-block;
}

.industry_list_sub > ul li:not(.industry-more) a {
    display: block;
    padding: 0.4em 0.6em;
    line-height: 1;
    border-radius: 1em;
    font-weight: bold;
    border-style: solid;
    border-width: 1px;
}

@media only screen and (min-width: 769px) {
  .industry_list_sub > ul li:not(.industry-more) a {
    font-size: 0.85em;
    letter-spacing: -0.01em;
  }
}

.industry_list_sub > ul li:not(.industry-more) a {
  position: relative;
  background-color: #fff;
  color: #314494;
  border-color:#314494;
  padding-right: 1.15em;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

.industry_list_sub > ul li.industry-more {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.industry_list_sub > ul li.industry-more a {
    border-bottom: 1px solid currentColor;
    font-size: 0.9em;
    color: #333;
}

.industry_list_sub > ul li:not(.industry-more) a:before{
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  display: block;
  width: 5px;
  height: 5px;
  position: absolute;
  top: calc(0.4em + 6px);
  right: 0.5em;
  -webkit-transform: translate(0, -50%) rotate(45deg);
  transform: translate(0, -50%) rotate(45deg);
}

.industry_list_sub > ul li:not(.industry-more) a:hover{
    color: #fff;
    background-color: #314494;
}

/*--------------------------------
コラム
*--------------------------------*/
.p-column-label {
  text-align: left;
  margin-top: 0.5em;
}
.c-column-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em 2%;
}

@media only screen and (max-width:768px) {
  .c-column-list {
    flex-direction: column;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media only screen and (min-width:769px) {
  .c-column-item {
    width: 32%;
  }
}
.c-column-img {
  text-align: center
}

/*--------------------------------
お知らせ
*--------------------------------*/
.c-news-item {
  border-bottom: 1px solid #d9dcea;
}
.c-news-item:first-child {
  border-top: 1px solid #d9dcea;
}

.c-news-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 1.25em;
}
@media only screen and (max-width: 768px) {
  .c-news-link {
    padding: 25px 25px 20px;
    flex-wrap: wrap;
  }
}
@media print, screen and (min-width: 910px) {
  .c-news-link {
    transition: .5s;
  }
  .c-news-link:hover {
    background: #e5e8f3;
  }
}
.c-news-category {
  width: 8em;
}
.c-news-date {
  display: block;
  font-size: 1em;
  line-height: 1;
}

/*--------------------------------------------------
店舗数が増えても同じ料金で使える
--------------------------------------------------*/
.multiple_stores .wp-block-columns{
      justify-content: center;
}

.multiple_stores .wp-block-columns .is-vertically-aligned-center{
    width: fit-content;
    flex-grow: inherit;
    flex-basis: inherit;
}

@media only screen and (max-width: 781px) {
  .multiple_stores img{ max-width: 300px;}
}


/*--------------------------------------------------
他社サービスと連携するともっと便利に
--------------------------------------------------*/
.external_integration　{
  background-image: url(/wp-content/uploads/2026/05/external_collaboration_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/*-------------------------------------
  ul.specification_list
---------------------------------------*/
@media only screen and (min-width: 651px) and (max-width: 909px) {
  ul.specification_list li:nth-last-child(-n+1){
    display: none;
  }
}

@media only screen and (max-width: 650px) {
  ul.specification_list li:nth-last-child(-n+4){
    display: none;
  }
}
