/*
Theme Name: REK
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author URI: https://www.vektor-inc.co.jp
Version:9.4.1
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, E-Commerce
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WordPress theme, Copyright (C) 2015-2019 Vektor,Inc.
WordPress theme is licensed under the GPL.
*/

/* 既存のスタイルの上書き */
.siteHeader .container {
  padding: 5px 20px !important;
  max-width: none !important;
}

.grecaptcha-badge {
  display: none !important;
}

/* 今回追加したスタイル */
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New:wght@400;700;900&display=swap);

*,
*:before,
*:after {
  box-sizing: border-box
}

html {
  font-size: 16px
}

@media screen and (max-width: 767px) {
  html {
    font-size: 14px
  }
}

main#REK {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1;
  color: #5d5d5d
}

main#REK .hidden {
  overflow: hidden
}

main#REK a {
  display: inline-block;
  text-decoration: none;
  transition: .3s
}

@media screen and (min-width: 768px) {
  main#REK .is-pc {
    display: block !important
  }
}

@media screen and (max-width: 767px) {
  main#REK .is-pc {
    display: none !important
  }
}

@media screen and (min-width: 768px) {
  main#REK .is-sp {
    display: none !important
  }
}

@media screen and (max-width: 767px) {
  main#REK .is-sp {
    display: block !important
  }
}

main#REK img {
  width: 100%;
  height: auto;
  vertical-align: bottom
}

.c-scroll {
  width: 400%;
  display: flex;
  overflow: hidden
}

@media screen and (max-width: 767px) {
  .c-scroll {
    width: 650%;
    margin-top: 0
  }
}

.c-scroll li {
  display: flex;
  -webkit-animation: infinity-scroll-left 60s infinite linear;
  animation: infinity-scroll-left 60s infinite linear
}

@-webkit-keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
    transform: translateX(0%)
  }

  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
  }
}

@keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
    transform: translateX(0%)
  }

  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
  }
}

.c-scroll li figure {
  width: 100%
}

.c-scroll li figure img {
  width: 100%;
  margin-top: 6rem
}

@media screen and (max-width: 767px) {
  .c-scroll li figure img {
    margin-top: 4rem
  }
}

body.is-on {
  overflow: hidden
}

main#REK li {
  list-style: none
}

main#REK .c-inner {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow: hidden
}

@media screen and (max-width: 767px) {
  main#REK .c-inner {
    max-width: 100%;
    padding: 0
  }
}

main#REK .c-a-btn {
  color: #5d5d5d;
  background-color: #fff;
  border: .0625rem solid #d4d4d4;
  border-radius: .625rem;
  text-align: center
}

main#REK .c-a-btn:hover {
  background-color: #f5fff5 !important
}

main#REK .is-green,
main#REK .is-lightgreen {
  background-color: #07a07d
}

main#REK .is-green.is-lightgreen,
main#REK .is-lightgreen.is-lightgreen {
  background-color: #8dc424
}

main#REK .is-green .c-inner,
main#REK .is-lightgreen .c-inner {
  padding: 2.5rem;
  border-radius: .625rem;
  background-color: #fff
}

@media screen and (max-width: 767px) {

  main#REK .is-green .c-inner,
  main#REK .is-lightgreen .c-inner {
    padding: 1.25rem 1rem
  }
}

main#REK .l-kv .l-kv__image {
  position: relative
}

main#REK .l-kv .l-kv__image strong {
  position: absolute;
  font-size: 8vw;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  top: 7.5vw;
  left: 3.9vw;
  line-height: 1.06;
  color: #000
}

@media screen and (max-width: 767px) {
  main#REK .l-kv .l-kv__image strong {
    top: 7.5vw
  }
}

main#REK .l-kv .l-kv__image p {
  position: absolute;
  font-size: 2.8vw;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  top: 39.1vw;
  left: 5.2vw;
  line-height: 1.4;
  color: #000
}

@media screen and (max-width: 767px) {
  main#REK .l-kv .l-kv__image p {
    top: 39.5vw
  }
}

main#REK .l-content {
  padding: 6.25rem 1rem
}

@media screen and (max-width: 767px) {
  main#REK .l-content {
    padding: 3.125rem 1rem
  }
}

main#REK .l-content .l-content__h2-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  font-size: 2.375rem;
  font-weight: 700
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__h2-title {
    font-size: 1.8rem
  }
}

main#REK .l-content .l-content__h3-title {
  font-size: 2rem;
  font-weight: 700
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__h3-title {
    font-size: 1.33rem
  }
}

main#REK .l-content .l-content__read {
  text-align: center;
  margin: 2.5rem auto 3rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__read {
    font-size: .8rem;
    margin: 1.25rem auto 0
  }
}

main#REK .l-content .l-content__intro {
  width: 100%;
  margin-top: 5rem
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__intro {
    margin-top: 2.5rem
  }
}

main#REK .l-content .l-content__btn {
  display: flex;
  margin-top: 1.875rem;
  justify-content: space-between;
  gap: 2.5rem
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__btn {
    flex-direction: column;
    width: 100%;
    margin-top: .9375rem;
    gap: 1.25rem
  }
}

main#REK .l-content .l-content__btn a {
  width: 100%;
  padding: 1.25rem 0;
  background-color: #f6f6f6;
  font-weight: 700
}

main#REK .l-content .l-content__list {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 1.875rem 2.5rem;
  margin-top: 2.5rem;
  padding: 0;
  flex-wrap: wrap
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list {
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem
  }
}

main#REK .l-content .l-content__list li {
  width: calc(50% - 1.25rem);
  display: flex;
  align-items: stretch
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list li {
    width: 100%
  }
}

main#REK .l-content .l-content__list li a {
  color: #5d5d5d;
  border: .0625rem solid #d4d4d4;
  display: flex;
  flex-direction: column;
  align-items: stretch
}

main#REK .l-content .l-content__list li a .l-content__list-img {
  height: 18.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list li a .l-content__list-img {
    height: 14rem
  }
}

main#REK .l-content .l-content__list li a .l-content__list-img.is-h-none {
  height: auto
}

main#REK .l-content .l-content__list li a .l-content__list-img.is-h-min img {
  -webkit-transform: scale(1.5);
  transform: scale(1.5)
}

main#REK .l-content .l-content__list li a .l-content__list-txt {
  padding: 2.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list li a .l-content__list-txt {
    padding: 1.25rem 1rem
  }
}

main#REK .l-content .l-content__list li a .l-content__list-txt b {
  display: block;
  font-size: 1.5rem;
  font-weight: 700
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list li a .l-content__list-txt b {
    font-size: 1rem
  }
}

main#REK .l-content .l-content__list li a .l-content__list-txt p {
  margin: 1rem 0 0;
  line-height: 1.5
}

@media screen and (max-width: 767px) {
  main#REK .l-content .l-content__list li a .l-content__list-txt p {
    margin: .5rem 0 0
  }
}

main#REK .l-content .l-content__list li a:hover {
  -webkit-transform: scale(1.018);
  transform: scale(1.018);
  box-shadow: 0 .625rem .625rem rgba(0, 0, 0, .1)
}

main#REK .l-content .l-content__list li a:hover .l-content__list-txt {
  background-color: #f5fff5
}

main#REK .l-contact {
  padding: 6.25rem 1rem 8.75rem
}

@media screen and (max-width: 767px) {
  main#REK .l-contact {
    padding-top: 3.125rem;
    padding-bottom: 4.375rem
  }
}

main#REK .l-contact .l-contact__wrap {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center
}

@media screen and (max-width: 767px) {
  main#REK .l-contact .l-contact__wrap {
    flex-direction: column;
    gap: .625rem
  }
}

main#REK .l-contact .l-contact__wrap a {
  width: 18.75rem;
  padding: 1rem 0
}

@media screen and (max-width: 767px) {
  main#REK .l-contact .l-contact__wrap a {
    width: 100%;
    padding: .8rem 1rem
  }
}

main#REK .l-contact .l-contact__wrap a span {
  display: block;
  line-height: 1.5;
  margin-top: .9375rem
}

@media screen and (max-width: 767px) {
  main#REK .l-contact .l-contact__wrap a span {
    font-size: 1.1rem;
    margin-top: .625rem
  }
}

main#REK .l-contact .l-contact__wrap a b {
  display: block;
  font-size: 2rem;
  font-family: "Zen Kaku Gothic New", sans-serif
}

main#REK .l-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1000
}

main#REK .l-modal.is-on {
  opacity: 1;
  pointer-events: all
}

main#REK .l-modal>.js-modal {
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1.875rem;
  width: 85vw;
  max-height: 85vh;
  padding: 2.5rem;
  background-color: #fff;
  transition: .3s;
  opacity: 0;
  pointer-events: none
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal {
    flex-direction: column;
    padding: 2.5rem 1rem
  }
}

main#REK .l-modal>.js-modal.is-on {
  top: 50%;
  opacity: 1;
  pointer-events: all
}

main#REK .l-modal>.js-modal .l-content__intro {
  width: 100%
}

main#REK .l-modal>.js-modal .l-content__intro .l-content__intro-heading h4 {
  font-size: 1.2rem;
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: .0625rem solid #d4d4d4
}

main#REK .l-modal>.js-modal .l-modal__close {
  position: absolute;
  font-size: 2.5rem;
  font-weight: 700;
  top: -1.25rem;
  right: -1.25rem;
  width: 3.125rem;
  height: 3.125rem;
  margin: 0;
  cursor: pointer;
  background-color: #ccebe2
}

main#REK .l-modal>.js-modal .l-modal__close span {
  position: absolute;
  top: 45%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%)
}

main#REK .l-modal>.js-modal>div {
  width: calc(50% - .9375rem)
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div {
    width: 100%
  }
}

main#REK .l-modal>.js-modal>div.l-modal__img {
  position: relative
}

main#REK .l-modal>.js-modal>div.l-modal__img img {
  border-radius: 1rem
}

main#REK .l-modal>.js-modal>div.l-modal__img.is-brightness {
  border-radius: 1rem;
  overflow: hidden;
}

main#REK .l-modal>.js-modal>div.l-modal__img.is-brightness img {
  -webkit-filter: brightness(0.7);
  filter: brightness(0.7);
  -webkit-transform: scale(1.3) translate(-3rem, 0);
  transform: scale(1.3) translate(-3rem, 0);
  border-radius: 0;
}
@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__img.is-brightness img {
    -webkit-transform: scale(1.3) translate(-2.3rem, 0);
    transform: scale(1.3) translate(-2.3rem, 0);
  }
}

main#REK .l-modal>.js-modal>div.l-modal__img p {
  position: absolute;
  top: 50%;
  right: 2rem;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  z-index: 2
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__img p {
    right: 1rem;
  }
}

main#REK .l-modal>.js-modal>div.l-modal__img p strong {
  display: block;
  font-size: 3.125rem
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__img p strong {
    font-size: 2rem
  }
}

main#REK .l-modal>.js-modal>div.l-modal__img p span {
  display: block;
  font-size: 1rem;
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__img p span {
    font-size: .8rem;
  }
}

main#REK .l-modal>.js-modal>div.l-modal__txt {
  padding: 3.75rem 2.5rem;
  background-color: #f6f6f6;
  border-radius: .625rem
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__txt {
    padding: 1.875rem 1rem
  }
}

main#REK .l-modal>.js-modal>div.l-modal__txt h3 {
  font-size: 2rem;
  font-weight: 700
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__txt h3 {
    font-size: 1rem
  }
}

main#REK .l-modal>.js-modal>div.l-modal__txt p {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.8
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__txt p {
    margin-top: .625rem;
    font-size: .8rem
  }
}

main#REK .l-modal>.js-modal>div.l-modal__txt a {
  width: 100%;
  margin-top: 1.875rem;
  padding: .8125rem .3125rem;
  font-weight: 700
}

@media screen and (max-width: 767px) {
  main#REK .l-modal>.js-modal>div.l-modal__txt a {
    margin-top: .9375rem;
    padding: .625rem 1rem
  }
}