@charset "utf-8";

/*
Theme Name: リハビリデイサービスかぐらびと
Author: hironori hashimoto
Author URI: https://pepinc.biz/
Description: 株式会社PEP 個別指導塾のオリジナルテンプレート
*/

html {
  font-size: 55%;
	scroll-behavior: smooth;
}

@media screen and (min-width: 960px) {
  html {
    font-size: 62.5%;
  }
}

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

body {
  font-size: 1.6rem;
  text-rendering: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  line-height: 2.1254;
  letter-spacing: 0.22rem;
  font-weight: 400;
  color: #555;
  font-family: YakuHanJP, "Noto Sans JP", "Noto Sans CJK JP",
    "Noto Sans CJK JP Subset", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}
h1{
	border-bottom:none!important;
}
ul {
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  display: block;
  position: relative;
}

h2,
h3,
h4,
h5 {
  line-height: 1.5;
}

.ps-br {
  display: none;
}

.sp-br {
  display: block;
}

@media screen and (min-width: 560px) {
  .ps-br {
    display: block;
  }

  .sp-br {
    display: none;
  }
}

.fade {
  opacity: 0;
  transition: opacity 1.4s,
    transform 0.8s;
}

.fade {
  opacity: 1;
}

.fadein {
  opacity: 0;
  transform: translate(0, 40px);
  transition: opacity 1.4s, transform 0.8s;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.fadein-right {
  opacity: 0;
  -webkit-transform: translateX(80px);
  -ms-transform: translateX(80px);
  transform: translateX(80px);
}

.fadein-right.scrollin {
  opacity: 1;
  -webkit-transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

/*********************************
ヘッダー
*********************************/
#head_wrap {
  position: sticky;
  top: 0px;
  z-index: 5;
}

.l-header {
  position: relative;
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.l-header__logo {
  flex: 0 0 47%;
  max-width: 47%;
  padding: 10px 15px;
}

.l-header__logo img {
  vertical-align: text-bottom;
}

@media only screen and (min-width: 560px) {
  .l-header__logo {
    flex: 0 0 15%;
    max-width: 15%;
    padding: 0px 0px 0px 15px;
  }
}

@media only screen and (min-width: 960px) {
  .l-header__list {
    display: flex;
  }

  .l-header__logo a:hover {
    opacity: 0.6;
  }
}

.l-header__link {
  padding: 31px 10px;
  font-weight: 500;
  text-align: center;
  font-size: 1.8rem;
}

@media only screen and (min-width: 560px) {
  .l-header__link {
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 960px) {
  .l-header__link {
    position: relative;
  }

  .l-header__link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    height: 4px;
    background-color: #E94730;
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform .2s;
  }

  .l-header__link:hover::before {
    transform: scale(1);
  }
}

.l-conversion__button a {
  padding: 15.5px 10px;
  background-color: #E94730;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}

@media only screen and (min-width: 560px) {
  .l-conversion__button a {
    font-size: 1.2rem;
  }
}

.l-conversion__button a:hover {
  background-color: #F18D00;
}

.l-conversion__button a i {
  display: block;
  font-size: 4rem;
  text-align: center;
}


@media screen and (max-width: 559px) {
  .menu .bar {
    width: 30px;
    height: 2px;
    background: #333;
    border-radius: 5px;
    opacity: 1;
    visibility: visible;
    transition: 0.3s ease;
    transform-origin: left;
  }

  .menu .bar1 {
    margin-bottom: 8px;
  }

  .menu .bar3 {
    margin-top: 8px;
  }

  .menu.toggle .bar1 {
    transform-origin: left;
    transform: rotate(45deg);
  }

  .menu.toggle .bar2 {
    opacity: 0;
    visibility: hidden;
  }

  .menu.toggle .bar3 {
    transform-origin: left;
    transform: rotate(-45deg);
  }

  .l-header__navigation {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    margin-top: 72px;
    transition: 0.4s ease-out;
    display: flex;
    /* background-image: linear-gradient(0deg, rgba(0, 108, 183, 0.1) 1px, rgba(0, 0, 0, 0) 0),
      linear-gradient(90deg, rgba(0, 108, 183, 0.1) 1px, rgba(0, 0, 0, 0) 0);
    background-size: 20px 20px;
    background-position: center;
    background-repeat: repeat; */
  }

  l-header__navigation li {
    height: var(--nav-height);
    line-height: var(--nav-height);
    text-align: center;
    width: 100%;
    display: block;
  }

  .menu {
    display: block;
    margin-left: auto;
    padding-right: 15px;
    z-index: 11;
  }

  .menu.toggle+.l-header__navigation {
    transform: translateX(-100%);
  }
}

/*********************************
パーツ
*********************************/
.p-common__inner {
  margin-bottom: 4rem;
}

@media only screen and (min-width: 560px) {
  .p-common__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0px;
  }

  .u-reverse {
    flex-direction: row-reverse;
  }
}
.p-common__title{
	background: #006cb7;
	color:#fff;
	font-size:2.6rem;
	padding:0 20px;
	display:flex;
	align-items:center;
	height: 180px;
    margin-bottom: 60px;
}
@media only screen and (min-width: 560px) {
	.p-common__title{
		font-size:3.2rem;
		padding:0 40px;
	}
}
.wrap {
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 15px;
}

.u-hidden__wrap {
  overflow: hidden;
}

.c-common__headline {
  position: relative;
  margin-bottom: 7.2rem;
}

.p-items__headline {
  z-index: 0;
  font-size: 15.4vw;
  opacity: 0.2;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  line-height: 0;
  letter-spacing: 1rem;
  color: #F18D00;
}

@media only screen and (min-width: 560px) {
  .p-items__headline {
    font-size: 8rem;
  }
}
.p-common__headline{
    text-align: center;
    font-size:4rem;
    color:#F09071;
}

.c-common__body {
  margin-bottom: 70px;
  text-align: center;
}

/*********************************
メインビジュアル
*********************************/
.p-top__hero {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 50vh;
    margin:0px;
  }
  .p-top__hero::after{
    content: '';
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  @media only screen and (min-width: 560px) {
      .p-top__hero {
          height: 100vh;
      }
  }
  .slideshow {
    display: flex;
    animation: loop-slide 20s infinite linear 1s both;
  }
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  .content {
    width: 100vw;
    /* height: 100vh; */
    animation-name: my-fade-in;
    animation-duration: 1.2s;
    animation-delay: 0.2s;
    animation-fill-mode: both;
  }
  @media only screen and (min-width: 560px) {
    .content {
      width: 50vw;
    }
  }
  .p-top__block {
    position: absolute;
    left: 20px;
    top: 30%;
    animation-name: top-fade;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    animation-delay: 1.5s;
    color: #fff;
    line-height: 1.3;
    z-index: 3;
  }
  @media only screen and (min-width: 560px) {
    .p-top__block {
      left: 10%;
         top: 50%;
    }
  }
  .p-top__headline {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
  }

  @media only screen and (min-width: 560px) {
    .p-top__headline {
      font-size: 32px;
    }
  }
  .p-top__headline span{
    font-size:7.2rem;
}

@media only screen and (min-width: 560px) {
  .p-top__headline span{
    font-size:10rem;
  }
}
  .p-top__block p {
  font-size:1.45rem;
      padding-right:20px;
      line-height:2;
  }
  .smooth {
    transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
    transition-property: clip-path;
    animation: catch 1.4s forwards;
    animation-delay: 0.6s;
    opacity: 0;
  }

  @media only screen and (min-width: 560px) {
    .smooth {
      animation-delay: 1s;
    }
  }

  @keyframes catch {
    0% {
      transition-property: clip-path;
      clip-path: inset(0 100% 0 0);
    }

    100% {
      clip-path: inset(0);
      opacity: 1;
    }
  }

  @media only screen and (min-width: 560px) {
    .p-top__body {
      font-size: 2rem;
    }
  }

  @keyframes top-fade {
    0% {
      opacity: 0;
      filter: blur(10px);
    }
    100% {
      opacity: 1;
      filter: blur(0px);
    }
  }
  .slide-img img {
    object-fit: cover;
    height: 50vh;
    width: 100vw;
  }
  @media only screen and (min-width: 560px) {
      .slide-img img {
          height: 100vh;
      }
  }
  .swiper-wrap {
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;
    position: relative;
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    height: 100%;
  }
  @keyframes zoom-in {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.2);
    }
  }

  .swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  animation: zoom-in 10s linear 0s 1 normal both;
}
/*********************************
教育方針
*********************************/
section {
  padding: 0px 0px 10rem;
}

.p-policy__inner {
  text-align: left;
  position: relative;
  z-index: 1;
}

/* .p-policy__inner::before {
  content: "";
  background-image: url("./images/policy-bg.jpg");
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.1;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background-size: 100%;
  background-position: center;
}

@media only screen and (min-width: 560px) {
  .p-policy__inner::before {
    background-size: contain;
  }
} */

.p-policy__headline {
  font-size: 3.2rem;
  color: #ee6e01;
  text-align: center;
  margin-bottom: 16px;
}

.p-policy__list {
  text-align: left;
  font-weight: bold;
	margin-top:5rem;
  margin-bottom: 4rem;
}

.p-policy__list p {
  color: #555;
  line-height: 1.6;
}

@media only screen and (min-width: 960px) {
  .p-policy__list p {
    max-width: 80%;
    margin: 0 auto;
  }
}

.p-policy__list li span {
  color: #f3991f;
}

.p-policy__lead {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  font-weight: bold;
  color: #f18d00;
  padding-top: 4rem;
  text-align: center;
}

.p-policy__body {
  margin-bottom: 3rem;
  line-height: 2.5;
}

.material-icons {
  display: inline-flex;
  vertical-align: middle;
}
.p-policy__block02{
  text-align: center;
  margin-top: 4rem;
}
/*********************************
由来
*********************************/
.yurai{
  position: relative;
  padding:10rem 0px;
  color:#fff;
  background-image: url("/wp-content/themes/PEP/images/kagurabito.jpg");
  background-size: cover;
  background-position: center;
}
.yurai::before{
  content: '';
  background-color: rgba(0, 0, 0, 0.56);
  width: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
}
.p-yurai__body{
  font-size:16px;
  margin-bottom: 30px;
  position: relative;
}
/*********************************
講師紹介
*********************************/
.p-teacher__inner {
  position: relative;
}

@media only screen and (min-width: 560px) {
  .p-teacher__inner {
    padding: 16rem 0;
  }
}

.p-teacher__inner::after {
  content: "";
  background-color: #f9c272;
  position: absolute;
  left: 0px;
  height: 66%;
  max-width: 75%;
  top: 20%;
  width: 100%;
  z-index: -1;
  opacity: 0.1;
}

@media only screen and (min-width: 560px) {
  .p-teacher__inner::after {
    height: 600px;
    max-width: 62%;
    bottom: 80px;
    top: auto;
  }
}

.p-teacher__image img {
  box-shadow: 20px 20px 0 #f9c272;
}

@media only screen and (min-width: 560px) {
  .p-teacher__block {
    flex: 0 0 50%;
  }

  .p-teacher__image {
    flex: 0 0 40%;
  }
}

.p-teacher__headline {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 32px;
  color: #f3991f;
  position: relative;
  left: 0px;
  margin-top: 5rem;
}

@media only screen and (min-width: 560px) {
  .p-teacher__headline {
    left: -70px;
    margin-top: 0rem;
  }
}

.p-teacehr__body {
  margin-bottom: 14px;
  text-align: justify;
}

.p-teacher__name {
  color: #006cb7;
  text-align: right;
  font-size: 1.8rem;
  margin-top: 40px;
  font-weight: bold;
}

.p-teacher__result {
  border: 4px solid #006cb7;
  padding: 30px 20px 20px 20px;
  margin-top: 40px;
  background: #fff;
  position: relative;
}

.p-teacher__result-name {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #006cb7;
  color: #fff;
  padding: 0px 26px;
  font-size: 2.4rem;
}

.p-result__list {
  font-size: 1.4rem;
}

.p-result__list li:not(:last-child) {
  border-bottom: 1px solid #006cb7;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.p-result__list i {
  color: #006cb7;
  font-size: 1.4rem;
  margin-right: 8px;
}
/*********************************
企業理念
*********************************/
.p-philosophy__image{
  margin-bottom: 2.5rem;
}
@media only screen and (min-width: 560px) {
  .p-philosophy__image{
    flex:0 0 45%;
    max-width: 45%;
    margin-bottom: 0rem;
  }
  .p-philosophy__block{
    flex:0 0 50%;
    max-width: 50%;
  }
}
.p-philosophy__block p{
  text-align: justify;
  margin-bottom: 3rem;
  font-size: 18px;
}
/*********************************
ポイント
*********************************/
.p-strongth__inner {
  padding: 13rem 0 10rem;
  position: relative;
  z-index: 1;
  background-image: linear-gradient(0deg,
      rgba(0, 108, 183, 0.1) 1px,
      rgba(0, 0, 0, 0) 0),
    linear-gradient(90deg, rgba(0, 108, 183, 0.1) 1px, rgba(0, 0, 0, 0) 0);
  background-size: 20px 20px;
  background-position: center;
  background-repeat: repeat;
}

.p-strongth__block {
  background-color: rgba(255, 255, 255, .8);
  padding: 20px 15px;
}

@media only screen and (min-width: 560px) {
  .p-strongth__block {
    padding: 0 15px;
  }
}

.p-strongth__image {
  position: relative;
  margin: 10rem 0 3rem;
}

.p-strongth__image img {
  object-fit: cover;
  height: 370px;
  width: 100%;
}

@media only screen and (min-width: 560px) {
  .p-strongth__image {
    flex: 0 0 40%;
    margin: 0rem;
  }

  .p-strongth__image img {
    object-fit: none;
    height: auto;
    width: auto;
  }

  .p-strongth__block {
    flex: 0 0 60%;
    padding: 0 40px;
  }
}

@media only screen and (min-width: 960px) {
  .p-strongth__block {
    padding: 80px;
    background-color: rgba(255, 255, 255, 1);
  }
}
.p-strongth__block .p-link__block {
  margin-top: 2rem;
	margin-bottom:4rem;
}
.u-result__body{
	  padding: 14px;
	font-size:13px;
	margin-bottom:20px;
    background-color: #eff8ff;
}

.p-description__list {
  border: 2px solid #006cb7;
  padding: 20px;
  color: #006cb7;
  font-size: 1.8rem;
}

.p-strong__content:not(:last-child) {
  margin-bottom: 6rem;
}

.p-strongth__lead {
  margin-bottom: 3rem;
  font-size: 2.8rem;
  position: relative;
  border-bottom: 1px solid #fff;
  display: inline-block;
  padding-bottom: 10px;
}

@media only screen and (min-width: 560px) {
  .p-strongth__lead {
    font-size: 3.2rem;
  }
}
.u-orange__bg{
  background: #F18D00;
}


.p-point__headline {
  position: absolute;
  left: 8px;
  right: 0;
  top: -40px;
  font-size: 7rem;
  color: #f9c272;
  font-weight: bold;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
}

@media only screen and (min-width: 560px) {
  .p-point__headline {
    top: -40px;
    font-size: 7rem;
  }
}

@media only screen and (min-width: 960px) {
  .p-point__headline {
    top: -40px;
    font-size: 9rem;
  }
}

.motion-txt {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 10px;
}

.motion-txt::after {
  content: '';
  position: absolute;
  opacity: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: #f3991f;
  transform: translate3d(-101%, 0, 0);
}

.js-scroll.show .motion-txt::after {
  transition-property: transform, opacity;
  transition-duration: 0.8s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(0, 0, 0);
}

.js-scroll.done .motion-txt::after {
  transition-property: transform;
  transition-duration: 0.8s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(103%, 0, 0);
}

.motion-txt .motion-inner {
  display: inline-block;
  opacity: 0;
}

.js-scroll.done .motion-txt .motion-inner {
  opacity: 1;
}

.u-curriculum__inner {
  display: flex;
  justify-content: space-between;
}

/*********************************
学習コース
*********************************/
.p-cource__inner {
  padding: 10rem 0;
}

.c-3colums__block {
  box-shadow: 0px 3px 15px rgb(0 0 0 / 8%);
  padding: 30px 20px;
  background-color: #fff;
  position: relative;
  margin-bottom: 30px;
}

/* .c-3colums__block::after {
  content: "";
  border: 1px solid #333;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
} */
.c-3colums__block .material-icons {
  display: block;
  font-size: 6rem;
  text-align: center;
}

@media only screen and (min-width: 560px) {
  .c-3colums__block {
    flex: 0 0 31.25%;
  }
}

.p-strongth__list {
  flex: 0 0 31.25%;
  max-width: 31.25%;
  text-align: center;
}

@media only screen and (min-width: 560px) {
  .p-strongth__list {
    margin-bottom: 4rem;
  }
}

.p-cource__headline {
  background-color: #F09071;
  color: #fff;
  line-height: 1;
  padding: 15px;
  text-align: center;
  border-radius: 16px;
  margin-bottom: 4rem;
  font-size: 2rem;
}

.p-cource__lead {
  color:#F09071;
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  margin: 1.5rem 0;
}

.c-common__maker {
  font-weight: bold;
  background: linear-gradient(to right, transparent 50%, rgba(255, 165, 0, 0.3) 50%);
  background: linear-gradient(to right, transparent 50%, rgba(255, 165, 0, 0.3) 50%);
  background-repeat: repeat-x;
  background-size: 200% .6em;
  padding-bottom: .6em;
}

.c-common__maker.active {
  transition: all 1.2s ease;
  background-position: -100% .6em;
}
/*********************************
価格
*********************************/
.p-price__table {
  width: 100%;
  text-align: center;
  border: 2px solid #c3d4e0;
  table-layout: fixed;
  border-collapse: separate;
}

.p-price__table tr {
  border-bottom: 1px solid #c3d4e0;
  padding: 10px;
}

.p-price__table .p-table__headline th {
  padding: 14px;
  background-color: #eff8ff;
  color: #006cb7;
  border-bottom: 1px solid #c3d4e0;
  border-right: 1px solid #c3d4e0;
}

.p-price__table .p-table__headline th:first-child {
  background-color: #fff;
}

.p-price__table .p-table__headline th:last-child {
  border-right: 0px;
}

.p-price__table .p-table__title th:nth-child(2) {
  border-bottom: 1px solid #c3d4e0;
}

.p-price__table .p-table__title th {
  padding: 14px;
  background-color: #eff8ff;
  color: #006cb7;
  border-right: 1px solid #c3d4e0;
  border-bottom: 1px solid #c3d4e0;
}

.p-price__table .p-table__title:nth-child(4) th {
  border-bottom: 0px;
}

.p-table__td {
  border-bottom: 1px solid #c3d4e0;
}

.p-table__title td:not(:last-child) {
  border-right: 1px solid #c3d4e0;
}

.p-caption__body {
  font-size: 1.3rem;
  color: #999;
  margin: 1rem 0 5.4rem;
}

.c-4colums__block {
  margin-bottom: 20px;
	box-shadow: 0px 3px 15px rgb(0 0 0 / 8%);
  padding: 30px 20px;
  background-color: #fff;
  position: relative;
  margin-bottom: 30px;
}

@media only screen and (min-width: 560px) {
  .c-4colums__block {
    flex: 0 0 23.575%;
  }
}

.p-strongth__list h4 {
  color: #006cb7;
  font-size: 1.6rem;
  margin-top: 16px;
}

@media only screen and (min-width: 560px) {
  .p-strongth__list h4 {
    font-size: 2rem;
  }
}

.p-voice__inner {
  margin-top: 4rem;
  background-color: #eaf6ff;
  padding: 24px;
  position: relative;
  border-radius: 8px;
}

.p-voice__inner::after {
  content: "VOICE";
  position: absolute;
  right: 0;
  top: 0px;
  font-size: 6rem;
  color: #006cb7;
  font-family: "Montserrat", sans-serif;
  opacity: 0.15;
  line-height: 0;
}

.u-example__inner::after {
  content: "EXAMPLE";
}

.p-voice__headline {
  color: #006cb7;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.p-voice__title {
  background-color: #006cb7;
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  font-style: italic;
  margin-bottom: 12px;
}

.p-voice__body {
  font-size: 1.4rem;
  background: linear-gradient(#c9e7fd 1px, transparent 2px);
  background-size: auto 3.5rem;
  line-height: 3.5rem;
}

.p-voice__headline span {
  margin-right: 8px;
  vertical-align: middle;
}

.c-strongth__list-image img {
  border-radius: 50%;
}

.p-discount__wrap {
  position: relative;
  color: #fff;
  padding: 6rem 0;
  background-color: #006cb7;
}

.p-discount__wrap::before {
  content: "";
  background-image: url("./images/bg.jpg");
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  background-attachment: fixed;
  opacity: 0.2;
}

.p-discount__wrap .p-common__headline {
  color: #fff;
  margin-bottom: 8rem;
}

.c-2colums__block {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 4rem;
  position: relative;
  box-shadow: 0px 3px 15px rgb(0 0 0 / 8%);
  border-radius: 8px;
}

@media only screen and (min-width: 560px) {
  .c-2colums__block {
    flex: 0 0 48%;
  }
}

.c-4colums__block {
  background-color: #fff;
  color: #F09071;
  padding: 40px;
  margin-bottom: 4rem;
  position: relative;
  box-shadow: 0px 3px 15px rgb(0 0 0 / 8%);
  border-radius: 8px;
}

@media only screen and (min-width: 560px) {
  .c-4colums__block {
    flex: 0 0 24%;
  }
}

.p-discount__headline {
  background-color: #F09071;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  padding: 10px;
  position: absolute;
  width: 100%;
  top: -23px;
  left: 0;
  right: 0;
  max-width: 40%;
  margin: 0 auto;
  border: 2px solid #fff;
}

.p-discount__lead {
  text-align: center;
  font-weight: bold;
  font-size: 3.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}

/*********************************
アクセスマップ
*********************************/
.p-access__block {
  margin-bottom: 20px;
}

@media only screen and (min-width: 560px) {
  .p-access__block {
    flex: 0 0 40%;
    margin-bottom: 0px;
  }

  .p-access__map {
    flex: 0 0 50%;
  }
}

.p-access__headline {
  font-size: 2.4rem;
  border-bottom: 1px solid #F09071;
  padding-bottom: 10px;
  border-bottom: 4px solid #F09071;
  padding-bottom: 10px;
  margin-bottom: 30px;
  color: #F09071;
}

.c-common__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: rgba(243, 153, 31, 0.7);
  border-radius: 50%;
  transition: 0.3s;
}

.c-common__link:hover::after {
  width: 20px;
  height: 20px;
}

.c-2colums__block .material-icons {
  font-size: 6rem;
  text-align: center;
  display: block;
  line-height: 0.8;
  margin-top: 10px;
}

.p-access__table {
  text-align: left;
  width: 100%;
}

.p-access__table tr {
  display: flex;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6f0f8;
  padding-bottom: 10px;
}

.p-access__table tr th {
  flex: 0 0 25%;
  max-width: 25%;
}

.p-access__table tr td {
  flex: 0 0 55%;
  max-width: 55%;
}

/*********************************
流れ
*********************************/
.p-flow__inner {
  overflow: hidden;
  padding-top: 4rem;
}

.u-flow__block {
    background-color: #fff8ed;
    color: #F18D00;
  padding: 20px;
  position: relative;
  margin-bottom: 38px;
  border-radius: 8px;
}

.u-flow__inner {
  position: relative;
}
@media only screen and (max-width: 559px) {
.u-flow__inner::before {
  content: "";
  background-color: #F18D00;
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0px;
  text-align: center;
  margin: 0 auto;
  left: 0;
  right: 0;
}
}

/* @media only screen and (min-width: 560px) {
  .u-flow__inner::before {
    width: 100%;
    height: 2px;
    top: 50%;
    margin: 0px;
    left: auto;
    right: auto;
  }
} */

.p-flow__number {
  position: absolute;
  top: -5px;
  left: 0px;
  font-size: 3.2rem;
  font-family: "Montserrat", sans-serif;
  opacity: 0.5;
  line-height: 0.5;
}

.u-flow__block p {
  font-size: 1.4rem;
}

.p-flow__lead {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.instagram iframe{
margin: 80px auto 12px!important;
}
/*********************************
ブログ
*********************************/
.p-blog__inner {
  position: relative;
	margin-top:10rem;
	margin-bottom:2rem;
}

.p-blog__inner::before {
  content: "";
  background: #fef9f8;
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 60px;
  left: 0px;
}

.p-blog__inner .p-common__inner {
  position: relative;
  z-index: 1;
}

.p-blog__image img {
  object-fit: cover;
  height: 288px;
  width: 100%;
}

@media only screen and (min-width: 560px) {
  .p-blog__image img {
    height: 247px;
  }
}

.p-blog__button {
  margin-top: 2.4rem;
  text-align: right;
}

.p-link__block {
  display: inline-block;
}

.c-common__link {
  text-align: right;
  color: #f18d00;
  font-weight: bold;
}

.c-common__link i {
  font-size: 16px;
}

.p-blog__date {
  color: #999;
  font-size: 1.2rem;
}

.p-blog__headline {
  font-weight: bold;
  margin-top: 0.5rem;
}

.p-blog__link {
  display: block;
  background-color: #fff;
  box-shadow: 0px 3px 15px rgb(0 0 0 / 8%);
  border-radius: 8px;
}

@media only screen and (min-width: 560px) {
  .p-blog__link:hover {
    transform: translateY(-5px);
  }
}

.p-blog__block {
  padding: 0 16px 24px;
}

@media only screen and (min-width: 560px) {
  .p-blog__block {
    height: 112px;
  }
}
.works-content{
	margin-top:10rem;
}
article h2{
	color: #505050;/*文字色*/
	margin-bottom:15px;
	font-size:1.7rem;
  padding: 1rem;/*文字周りの余白*/
  display: block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #dbebf8;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
	margin-top:15px;
	    text-indent: -3rem;
    padding-left: 4rem;
    vertical-align: middle;
}
article h2::before{
	content: '●';
  color: white;
  margin-right: 8px;
	    vertical-align: text-top;
}
article h3{
	position: relative;
  padding: 0.6em;
  background: #e0edff;
    margin-bottom: 35px;
    margin-top: 25px;
	font-size:1.7rem;
	font-weight:bold;
}
article h3::before{
	position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}
.blog-common-ttl{
	color:#006cb7;
	font-size:3.2rem;
	border-bottom:4px solid #006cb7;
	margin-bottom:2rem;
	padding-bottom:2rem;
}
.blog-date{
	color:#999;
	font-size:1.3rem;
	text-align:right;
	margin-bottom:4rem;
}
.common-btn{
	background-color: #f3991f;
	max-width:640px;
	color:#fff;
	margin:0 auto;
	height:64px;
	line-height:64px;
	border-radius:8px;
	text-align:center;
	margin:4rem auto 8rem;
}
.common-btn:hover{
	background-color: #EE6E01;
}

/****************************************
パンくずリスト
*****************************************/
#breadcrumb {
    margin-left: auto;
    padding-left: 0;
    margin-right: auto;
    margin-bottom: 6rem;
}

#breadcrumb li {
    display: inline;
    list-style: none;
}

#breadcrumb li:after {
    content: '>';
    padding: 0 10px;
}

#breadcrumb li:last-child:after {
    content: '';
}

#breadcrumb li a {
    text-decoration: none;
    display: inline-block;
}

#breadcrumb li:first-child a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f015";
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
    font-size: 1.3rem;
    color: #333;
    padding-right: 5px;
}

#breadcrumb li a:hover {
    opacity: 0.5;
}

/*********************************
お問い合わせ
*********************************/

.cform tr {
    display: block;
    margin-bottom: 4.8rem;
}

@media screen and (min-width: 560px) {
    .cform tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.cform th {
    display: block;
    margin-bottom: 1rem;
    text-align: left;
}

@media screen and (min-width: 560px) {
    .cform th {
        margin-bottom: 0;
        margin-right: 1rem;
        max-width: 20rem;
        width: 100%;
        align-self: flex-start;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 560px) {
    .cform td {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
        width: 100%;
        display: block;
    }
}
.mw_wp_form {
    margin: 4rem auto 0;
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}
@media screen and (min-width: 560px) {
    .mw_wp_form {
        max-width: 960px;
        margin: 0 auto;
    }
}

.mw_wp_form table {
    width: 100%;
	text-align:left;
}
.mw_wp_form table tr{
	margin-bottom:20px;
}
.mw_wp_form [type=submit] {
    display: inline-block;
    font-size: 20px;
    padding: 10px 30px;
    text-decoration: none;
    background: #ff8f00;
    color: #FFF;
    border-bottom: solid 4px #B17C00;
    border-radius: 3px;
}

.mw_wp_form option,
.mw_wp_form textarea,
.mw_wp_form input[type=text],
mw_wp_form select,
.mw_wp_form input[type=email],
.mw_wp_form input[type=search],
.mw_wp_form input[type=url] {
    background-color: #fff;
    border: 1px solid #c3d4e0;
    padding: 5px 10px;
    margin-bottom: 5px;
    width: 100%;
	border-radius: 4px;
}

@media screen and (min-width: 560px) {

    .mw_wp_form option,
    .mw_wp_form textarea,
    .mw_wp_form input[type=text],
    .mw_wp_form select,
    .mw_wp_form input[type=email],
    .mw_wp_form input[type=search],
    .mw_wp_form input[type=url] {
        width: 100%;
    }
}

.mw_wp_form textarea {
    min-height: 300px;
}

.required-srt {
    display: inline-block;
    background-color: #E94730;
    color: #fff;
    padding: 0 0.5em;
    font-size: 1.3rem;
    margin-left: 1rem;
	display: flex;
    align-items: center;
    line-height: 1;
	border-radius: 4px;
	height: 28px;
}

@media screen and (min-width: 560px) {
    .required-srt {
        margin-left: 0;
    }
}

.mw_wp_form input[type="submit"] {
    cursor: pointer;
    background-color: #E94730;
    padding: 24px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto 60px;
    color: #fff;
    display: block;
    letter-spacing: 0.25rem;
    position: relative;
    transition: .3s;
    font-weight: 600;
    border: none;
}

.mw_wp_form input[type="submit"]:hover {
    background-color: #EE6E01;

}

.submit-btn input:hover {
    background: #fff;
    color: #00142c;
}

.form-btn__inner {
    margin-top: 4rem;
}

.p-contact__body {
    text-align: center;
    font-weight: bold;
}

select {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
}

select::-ms-expand {
    display: block;
}

.submit-btn {
    cursor: pointer;
    max-width: 280px;
    background-color: #E94730;
    padding: 24px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    display: block;
    letter-spacing: 0.25rem;
    position: relative;
    transition: .3s;
    font-weight: 600;
    border: none;
}

.submit-btn::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
    -webkit-animation: shine 2s infinite;
    animation: shine 2s infinite;
}

#wpcf7-modify {
    cursor: pointer;
    max-width: 280px;
    background-color: #fff;
    padding: 24px 32px;
    color: #E94730 !important;
    border: 1px solid #E94730 !important;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    display: block;
    letter-spacing: 0.25rem;
    position: relative;
    transition: .3s;
    font-weight: 600;
    border: none;
}

.submit-btn:hover {
    opacity: 0.6;
}

.thanks-block {
    margin-bottom: 16rem;
    text-align: left;
}

.thanks-block h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 560px) {
    .thanks-block {
        text-align: center;
    }
}

.thanks-text {
    line-height: 2.4;
	max-width:960px;
	margin:0 auto;
}

.caption {
    color: #999;
    margin-top: 2rem;
    display: block;
}

.contact-agreement__body {
    text-align: center;
    margin: 2rem 0;
}

.contact-agreement__body a {
    display: inline-block;
    text-decoration: underline;
}

@media screen and (min-width: 560px) {
    .contact-agreement__body a {
        margin-bottom: 4rem;
    }
}

.privacy-policy__wrap {
    max-width: 960px;
    margin: 0 auto 14rem;
}

.privacy-policy__block {
    margin-bottom: 4rem;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #ffffff !important;
    background: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #ffffff !important;
    background: #fff;
}

.contact-headline {
    font-size: 2rem;
    margin-bottom: 4rem;
}

.wpcf7-mail-sent-ok {
    display: none !important
}

/*********************************
footer
*********************************/
copyright {
  background-color: #e94730;
  color: #fff;
  text-align: center;
  display: block;
  font-size: 1.2rem;
  padding: 5px 10px;
}

.p-footer__logo {
  text-align: center;
  max-width: 150px;
  margin: 0 auto 3rem;
}

.c-pagetop {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.c-pagetop__button {
  background-color: #F18D00;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  width: 40px;
  height: 140px;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media only screen and (min-width: 560px) {
  .c-pagetop__button {
    width: 60px;
    height: 150px;
  }
}

.c-pagetop__button:hover {
  background-color: #EE6E01;
}

.p-footer__link {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 30px;
}

.p-footer__link a:hover {
  color: #ed6d00;
}
.insta_btn2{/*ボタンの下地*/
  color: #FFF;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  position: relative;
  display: inline-block;
	margin:0 auto 10rem;
  height: 50px;/*高さ*/
  width: 190px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 18px;/*文字のサイズ*/
  line-height: 50px;/*高さと合わせる*/
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
	display:flex;
	justify-content:center;
	align-items:center;
}

.insta_btn2:before{/*グラデーション②*/
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;/*全体を覆う*/
  height: 100%;/*全体を覆う*/
  background: -webkit-linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
  background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
}

.insta_btn2 .fa-instagram{/*アイコン*/
  font-size: 35px;/*アイコンサイズ*/
  position: relative;
}

.insta_btn2 span {/*テキスト*/
  display:inline-block;
  position: relative;
  transition: .5s
}

.insta_btn2:hover span{/*ホバーで一周回転*/
  -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
}
.marker {
  background:linear-gradient(transparent 50%, rgba(255, 220, 123) 50%);
  display: inline;

  /* 背景の繰り返しを停止 */
  background-repeat: no-repeat;

  /* マーカーの横方向を0にして縮める */
  background-size: 0% 100%;

  /* マーカーが引かれる速度を指定 */
  transition:background-size 1.5s;
}

/* マーカーが引かれる際に付与するクラス */
.marker.on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}
.u-flow__inner02{
	position:relative;
}
@media only screen and (min-width: 560px) {
.u-flow__inner02::before{
  content:'';
	display: block;
  width: 24%;
  order: 1;
}
.u-flow__inner02::after{
  content:'';
	display: block;
  width: 24%;
}
}