@charset "utf-8";

/*
Theme Name: UTA
Author: hironori hashimoto
Author URI: UTA.com
Description: 株式会社UTAのオリジナルテンプレート
*/
html {
  font-size: 55%;
  scroll-behavior: smooth;
}

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

body {
  font-size: 1.6rem;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: auto;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  line-height: 2;
  color: #3B4043;
  font-family: "Noto Sans JP", "ヒラギノ角ゴシック Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic",
    YuGothic, sans-serif;
  font-weight: normal;
}

/* @media screen and (min-width: 960px) {
	body {
		font-size: 1.8rem;
	}
} */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: block;
}

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

.br-sp {
  display: none;
}

@media screen and (max-width: 559px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}
h1,
h2,
h3,
h4,
h5{
  font-weight: bold;
}
/****************************
タイトル
****************************/
.common-headline {
  font-weight: bold;
  font-size: 4.8rem;
  text-align: center;
}

.common-ttl {
  font-size: 3.2rem;
  font-weight: bold;
  position: relative;
}

.top-purpose .common-ttl::before {
  content: "house";
  font-family: "Material Icons";
  display: block;
  color: #48D091;
}

.top-purpose__body {
  font-size: 15px;
  text-align: left;
}

.common-lead {
  font-size: 4rem;
  font-weight: bold;
  position: relative;
}

.common-heading {
  font-size: 6.4rem;
  margin-bottom: 2.4rem;
  color: #48D091;
}

.common-heading span {
  color: #111;
}

.common-subheading {
  display: inline-block;
  padding: 0 40px;
  font-size: 2.4rem;
  margin-top: 2rem;
  margin-bottom: 1.6rem;
  position: relative;
}

@media screen and (min-width: 560px) {
  .common-subheading {
    padding: 0 60px;
    font-size: 2.8rem;
  }
}

.common-subheading::before,
.common-subheading::after {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  width: 30px;
  height: 6px;
  content: '';
  border-top: solid 1px #333;
  border-bottom: solid 1px #333;
}

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

  .common-subheading::before,
  .common-subheading::after {
    width: 50px;
  }
}

.common-subheading::before {
  left: 0px;
}

.common-subheading::after {
  right: 0px;
}

.center-text {
  text-align: center;
}

/****************************
共通
****************************/
.jp {
  font-family: YakuHanJP, "Noto Sans JP", "ヒラギノ角ゴシック Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic",
    YuGothic, sans-serif;
  font-weight: 500;
}

section {
  margin-top: 10rem;
  position: relative;
}

.txt-deco {
  font-family: 'Lora', serif;
}

.common-link {
  max-width: 480px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  margin: 0 auto;
  border: 2px solid #48D091;
  background-color: #48D091;
  color: #fff;
  /* border-radius: 32px; */
  font-weight: bold;
  font-size: 1.8rem;
  position: relative;
}

.common-link::after {
  content: "chevron_right";
  font-family: "Material Icons";
  position: absolute;
  right: 16px;
  font-size: 2.4rem;
}

.common-link:hover {
  color: #48D091;
  background-color: #fff;
}

.common-back-btn {
  max-width: 280px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  margin: 10rem auto;
  border: 2px solid #333;
  background-color: #333;
  color: #fff;
  /* border-radius: 32px; */
  font-weight: bold;
  font-size: 1.8rem;
}

.common-back-btn:hover {
  color: #333;
  background-color: #fff;
}

.common-link__block {
  margin: 4.8rem auto 8rem;
}

.common-mv {
  height: 320px;
  position: relative;
  background-position: center center;
  background-image: url("/wp-content/themes/yamatokensetsu/images/common-mv.png");
}
@media screen and (min-width: 960px) {
  .common-mv {
  height: 445px;
}
}
.common-mv h2 {
  position: absolute;
  left: 20px;
  bottom: 60px;
  color: #fff;
  z-index: 2;
  font-size: 4.8rem;
  line-height: 1.5;
  width: 100%;
  max-width: 70%;
}
@media screen and (min-width: 960px) {
.common-mv h2 {
  left: 40px;
  font-size: 6rem;
  max-width: 450px;
}
}
.common-mv h2 span::before{
      content: '';
    position: absolute;
    bottom: 3px;
    right: 0px;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 20px;
    height: 3px;
    background-color: #fff;
    left: auto;
}
.common-mv h2 span::after{
      content: '';
    position: absolute;
    bottom: 0%;
    right: 20px;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background-color: #fff;
    left: 0px;
    max-width: 100%;
}
@media screen and (min-width: 960px) {
  .common-mv h2 span::after{
    max-width: 450px;
  }
}
/****************************
固定幅
****************************/
.wrap-1480 {
  max-width: 1312px;
  padding: 0 16px;
  margin: 0 auto;
}

.wrap-960 {
  max-width: 992px;
  padding: 0 16px;
  margin: 0 auto;
}

.wrap {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 960px) {
  .wrap {
    max-width: 90%;
  }
}

.common-sp__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.col-2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-3 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media screen and (min-width: 560px) {
  .common-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 560px) {
  .reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }
}

.col-5 {
  flex: 0 0 48.25%;
  max-width: 48.25%;
}

@media screen and (min-width: 560px) {
  .col-5 {
    flex: 0 0 18.25%;
    max-width: 18.25%;
  }
}

.col-6 {
  flex: 0 0 48.25%;
  max-width: 48.25%;
}

@media screen and (min-width: 560px) {
  .col-6 {
    flex: 0 0 15.25%;
    max-width: 15.25%;
  }
}


@media screen and (min-width: 560px) {
  .col-2 {
    flex: 0 0 48.25%;
    max-width: 48.25%;
  }

  .col-3 {
    flex: 0 0 31.25%;
    max-width: 31.25%;
  }
}
@media screen and (min-width: 960px) {
.col-4 {
    flex: 0 0 22.5%;
    max-width: 22.5%;
  }
}

/****************************
テキストアニメーション
****************************/
.fadein {
  opacity: 0;
  transform: translate(0, 40px);
  transition: opacity 1.4s, transform 0.8s;
}

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

/****************************
ヘッダー
****************************/
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-weight: bold;
  background: #fff;
}
@media screen and (min-width: 560px) {
.l-header {
  background: transparent;
}
}
@media screen and (max-width: 1024px) {
  .l-header:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ededed;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
  }
}

@media screen and (min-width: 1025px) {
  .l-header__inr {
    width: 100%;
    padding: 30px 3% 0;
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1280px) {
  .l-header__inr {
    padding: 30px 40px 0;
  }
}

.l-header__white {
  position: relative;
}

@media screen and (min-width: 1025px) {
  .l-header__white {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .l-header__sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.l-header__logo {
    width: 55px;
    margin-left:14px;
  }
@media screen and (min-width: 560px) {
  .l-header__logo {
    width: 80px;
    padding-top: 15px;
    margin-left: 0px;
  }
}
@media screen and (min-width: 1025px) {
  .l-header__logo {
    width: 89.2px;
  }
}

.l-header__logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.l-header__logo a.is-hover:hover {
  opacity: 0.8;
}

@media screen and (min-width: 1025px) {
  .l-header__contact {
    width: 170px;
  }
}

@media screen and (min-width: 1280px) {
  .l-header__contact {
    width: 208px;
  }
}

@media screen and (max-width: 1024px) {
  .l-header__contact {
    display: none;
  }
}

.l-header__contact a .material-icons {
  font-size: 18px;
  vertical-align: middle;
}

.l-nav__sodan {
  display: block;
  font-size: 11px;
}

.l-header__contact a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 1.8rem;
}

.l-header__contact a:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.075);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  -webkit-transition: opacity 280ms ease;
  -o-transition: opacity 280ms ease;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.l-header__contact a.is-hover:hover:before {
  opacity: 1;
}

@media screen and (min-width: 1025px) {
  .l-header__contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* border-radius: 40px; */
    -webkit-box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.15);
    box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.15);
    background-color: #48D091;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.075em;
    font-size: 20px;
  }
}

@media screen and (min-width: 1025px) {
  .l-nav {
    display: flex;
    flex: 1;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10000001;
    width: 100%;
    background-color:#48D091;
    padding: 0 4% 30px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 280ms ease;
    -o-transition: 280ms ease;
    transition: 280ms ease;
    -webkit-transition-property: opacity, visibility;
    -o-transition-property: opacity, visibility;
    transition-property: opacity, visibility;
  }

  .l-nav.is-open {
    visibility: visible;
    opacity: 1;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav {
    height: calc(100% - 84px);
  }
}

@media screen and (max-width: 560px) {
  .l-nav {
    height: 100vh;
    top: 60px;
  }
}

.l-nav a {
  display: block;
}

@media screen and (max-width: 1024px) {
  .l-nav a {
    font-size: 1.6rem;
  }
}

.l-nav__list {
  width: 100%;
}

@media screen and (min-width: 1025px) {
  .l-nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-left: 20px;
  }
}

.l-nav__list li {
  position: relative;
}

@media screen and (min-width: 1025px) {
  .l-nav__list li {
    padding: 32px 0 33px;
    overflow: hidden;
  }
}

@media screen and (min-width: 1025px) {
  .l-nav__list li:not(:last-of-type) {
    margin-right: 20px;
    margin-right: 3%;
  }
}

@media screen and (min-width: 1280px) {
  .l-nav__list li:not(:last-of-type) {
    margin-right: 30px;
    margin-right: 3%;
  }
}

@media screen and (min-width: 1921px) {
  .l-nav__list li:not(:last-of-type) {
    margin-right: 2%;
  }
}

.l-nav__list a {
  letter-spacing: 0.075em;
  -webkit-transition-property: color;
  -o-transition-property: color;
  transition-property: color;
}

@media screen and (max-width: 1024px) {
  .l-nav__list a {
    position: relative;
    border-bottom: solid 1px #ededed;
    color:#fff;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav__list a {
    padding: 25px 0;
  }
}

@media screen and (max-width: 560px) {
  .l-nav__list a {
    padding: 21px 0;
  }
}

.l-nav__list a.is-hover:hover:before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media screen and (min-width: 1025px) {
  .l-nav__list a:before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #48D091;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate3d(0, 2px, 0);
    transform-origin: 0 0;
    opacity: 0;
    transition: all 280ms ease;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav__list a:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("../img/common/arrow_green.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media screen and (min-width: 1025px) {
  .l-nav__contact {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav__contact {
    margin-top: 80px;
    line-height: 1;
  }

  .l-nav__contact .material-icons {
    vertical-align: middle;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav__contact a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    /* border-radius: 40px; */
    background-color: #48D091;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 2rem;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav__contact a {
    padding: 26px 0;
  }
}

@media screen and (max-width: 560px) {
  .l-nav__contact a {
    padding: 22px 0;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav__contact a:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("../img/common/arrow_white.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media screen and (min-width: 1025px) {
  .l-nav-btn {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav-btn {
    position: relative;
    z-index: 2;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn {
    width: 84px;
    height: 84px;
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav-btn a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #48D091;
    color: #48D091;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn a {
    padding: 22px 0 14px;
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn a {
    padding: 15px 0 10px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn.is-open .l-nav-btn__bar span:first-of-type {
    -webkit-transform: translateY(10px) rotate(-45deg);
    -ms-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn.is-open .l-nav-btn__bar span:first-of-type {
    -webkit-transform: translateY(7px) rotate(-45deg);
    -ms-transform: translateY(7px) rotate(-45deg);
    transform: translateY(7px) rotate(-45deg);
  }
}

.l-nav-btn.is-open .l-nav-btn__bar span:nth-of-type(2) {
  opacity: 0;
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn.is-open .l-nav-btn__bar span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    -ms-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn.is-open .l-nav-btn__bar span:nth-of-type(3) {
    -webkit-transform: translateY(-7px) rotate(45deg);
    -ms-transform: translateY(-7px) rotate(45deg);
    transform: translateY(-7px) rotate(45deg);
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn__bar {
    width: 35px;
    height: 24px;
    margin: 0 auto 10px;
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn__bar {
    width: 25px;
    height: 17px;
    margin: 0 auto 8px;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav-btn__bar span {
    display: block;
    height: 1px;
    background-color: #ffffff;
    -webkit-transition: 220ms ease;
    -o-transition: 220ms ease;
    transition: 220ms ease;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn__bar span {
    width: 35px;
  }

  .l-nav-btn__bar span:not(:last-of-type) {
    margin-bottom: 8.4px;
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn__bar span {
    width: 25px;
  }

  .l-nav-btn__bar span:not(:last-of-type) {
    margin-bottom: 6px;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav-btn__text {
    display: block;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.075em;
  }
}

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-nav-btn__text {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 560px) {
  .l-nav-btn__text {
    font-size: 0.9rem;
  }
}

/****************************
フッター
****************************/

/****************************
TOP
****************************/
.top-hero {
  color: #fff;
  position: relative;
  overflow: hidden;
  /* margin-top:60px; */
}
/* @media screen and (min-width: 560px) {
  .top-hero {
    margin-top:84px;
  }
} */
.video{
  overflow: hidden;
  z-index: -1;
  padding-top: 56.25%;
  width: 100%;
  position: relative;
}
.video::after{
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(16, 57, 75, .3);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
  .video video{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
  }
  @media screen and (max-width: 559px) {
    .video{
      width: 100vw;
      height: 100vh;
    }
    .video video{
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    }
  }

.footer-contact__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 20px 0px;
}

.p-line__link i {
  color: #48D091;
  font-size: 4rem;
}

.p-line__link:hover {
  opacity: 0.6;
}

.slideInRight {
  animation-name: slideInRight;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  opacity: 0;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(150px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.top-hero .txt-deco {
  color: #48D091;
  position: absolute;
  z-index: 30;
  mix-blend-mode: multiply;
  padding-right: 0px;
  transform: rotate(-15deg);
  line-height: 0.8;
  font-size: 600%;
  letter-spacing: 0.02em;
  /* overflow: visible; */
  bottom: 42px;
  right: 16px;
  padding-right: 0;
  opacity: 0;
  font-size: 600%;
  animation-name: fade-in1;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-delay: 1.6s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

@keyframes fade-in1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 560px) {
  .top-hero .txt-deco {
    transform: rotate(-10deg);
    bottom: 75px;
    right: -40px;
    padding-right: 40px;
    font-size: 1033%;
  }
}

.top-about{
  padding:12rem 0px;
  color:#fff;
  background-image:url("/wp-content/themes/yamatokensetsu/images/common-bg.webp");
  background-size: cover;
  background-position: center;
  margin-top: 0px;
}
@media screen and (min-width: 560px) {
  .top-about{
  padding:15rem 20px;
}
}
.p-common__top-headline{
  font-size:4rem;
  position: relative;
  display: block;
  text-align: left;
  margin-bottom: 3rem;
  max-width: 65%;
}
@media screen and (min-width: 560px) {
  .p-common__top-headline{
  font-size:4.8rem;
  max-width: 432px;
}
}
.u-headline__green{
  color:#48D091;
}
.p-top__about-headline{
  font-size:3.2rem;
  font-weight: bold;
  margin:3rem 0px;
  text-align: center;
}
@media screen and (min-width: 560px) {
  .p-top__about-headline{
  font-size:4.2rem;
}
}
.p-top__about-body{
  font-size:2rem;
  line-height: 2.5;
  text-align: center;
}
@media screen and (min-width: 560px) {
  .p-top__about-body{
  font-size:2.4rem;
}
}
.p-common__top-headline::before{
  content: '';
    position: absolute;
    bottom: 3px;
    right: 0px;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 20px;
    height: 3px;
    background-color: #fff;
    left: auto;
    
}
.p-common__top-headline::after{
  content: '';
    position: absolute;
    bottom: 0%;
    right: 20px;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background-color: #fff;
    left: 0px;
    max-width: 432px;
}
.u-headline__green::before,
.u-headline__green::after{
background-color: #48D091;
}
.slideInRight02 {
  margin-top: 40px;
  opacity: 0;
  animation-name: slideInRight02;
  animation-duration: 1s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
}

@keyframes slideInRight02 {
  from {
    opacity: 0;
    transform: translateX(150px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.p-top__service-block{
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (min-width: 560px) {
  .p-top__service-block{
    margin-bottom: 2rem;
  }
}
.p-top__service-headline{
  font-size:1.8rem;
}
.p-top__service-headline-en{
  line-height: 1;
  font-size: 4rem;
}
.top-service{
  padding-bottom: 10rem;
}
.p-top-service__image{
  text-align: center;
  max-width: 1052px;
  margin:0 auto 30px;
}
.p-top-service__body{
  text-align: center;
  margin-bottom: 45px;
}
.top-company__block{
  margin-bottom: 3rem;
}
@media screen and (min-width: 560px) {
.top-company__block{
  flex:0 0 48%;
  max-width: 48%;
  margin-bottom: 0px;
}
.top-company__image{
  flex:0 0 50%;
  max-width: 50%;
}
}
.top-company__name{
  font-size: 4rem;
}
.top-company__lead{
  font-weight: bold;
  font-size:2rem;
  margin-bottom: 30px;
}
.top-company__body{
  margin-bottom: 8px;
}
.top-company__body:last-of-type{
	margin-bottom:30px;
}
.top-company,
.top-instructor{
  margin-top: 0px;
  padding:10rem 0px;
  color:#fff;
  background-image:url("/wp-content/themes/yamatokensetsu/images/common-bg.webp");
  background-size: cover;
  background-position: center;
}

.top-company .p-common__button{
  margin-left: 0px;
  margin-right: auto;
}
.p-instructor__content{
  position: relative;
}
.p-instructor__image{
  max-width: 800px;
  margin:0 auto;
}
.p-instructor__headline{
  font-size:4.2rem;
  text-align: center;
  margin:0 auto;
  position: absolute;
  left: 0px;
  right: 0px;
  top:50%;
  transform:translateY(-50%);
  line-height: 0;
}
@media screen and (min-width: 560px) {
  .p-instructor__headline{
  font-size:8rem;
}
}
.top-blog {
  padding:15rem 0px;
  position: relative;
  margin-top: 0px;
}
.top-blog::before{
  content:'';
  position: absolute;
  left:0px;
  top:0px;
  background-image:url("/wp-content/themes/yamatokensetsu/images/white-bg.webp");
  background-size: cover;
  width: 100%;
  height: 100%;
  background-position: center;
}
.top-blog .common-lead {
  margin-bottom: 2rem;
  z-index: 111;
}

.top-blog__wrap {
  padding: 8rem 0;
  position: relative;
}

.top-blog__wrap .en-title {
  color: #fff;
  position: absolute;
  z-index: 30;
  padding-right: 0px;
  line-height: 0.8;
  font-size: 600%;
  letter-spacing: 0.02em;
  /* overflow: visible; */
  top: 70px;
  left: 0px;
  right: 0px;
  font-size: 600%;
  text-align: center;
}

@media screen and (min-width: 560px) {
  .top-blog__wrap .en-title {
    font-size: 11rem;
    top: 11%;
    left: 0px;
    right: 0px;
    text-align: center;
  }
}

.top-blog__inner {
  margin: 4rem auto 7.2rem;
}
.top-blog__inner a:hover {
  opacity: 0.6;
}

.top-blog__inner .en {
  font-size:1.3rem;
}
.works-common__image{
  margin-bottom: 1rem;
  border:1px solid #e6e6e6;
  text-align: center;
  object-fit: cover;
}
.works-common__image img{
      height: 180px;
}
@media screen and (min-width: 560px) {
  .works-common__image img{
    height: auto;
  }
}
@media screen and (min-width: 560px) {
  .top-blog__inner .en-title {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 560px) {
  .top-blog__inner .en-title::after {
    content: "";
    width: 14px;
    height: 2px;
    background-color: #111;
    position: absolute;
    right: -25px;
    top: 45%;
  }
}
.top-blog__inner h3{
  font-weight: bold;
  font-size:2rem;
}
/****************************
サービス
****************************/
.p-service__block{
  max-width: 182px;
  margin:0 auto 20px;
}
@media screen and (min-width: 560px) {
  .p-service__block{
  max-width: 262px;
  margin:0 auto 40px;
}
}
.p-service__instructor{
      max-width: 800px;
    margin: 0 auto 2rem;
}
.u-kadai__list{
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (min-width: 560px) {
  .u-kadai__list{
    margin-bottom: 0rem;
  }
}
.p-kadai__headline{
  font-size: 2.4rem;
  font-weight: bold;
}
.p-kadai__body{
  font-weight: light;
}
.p-common__lead{
  font-size:2.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5rem;
}
@media screen and (min-width: 560px) {
  .p-common__lead{
  font-size:3.2rem;
}
}
.p-kadai__dot{
  max-width: 11px;
  margin:50px auto 30px;
}
.p-teika__headline{
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 2rem;
}
@media screen and (min-width: 560px) {
  .p-teika__headline{
    font-size: 3.2rem;
  }
}
.p-teika__headline span{
  color:#fff;
  background-color: #48D091;
  padding:0px 5px;
}
.p-flow__inner{
  text-align: center;
}
.u-flow__list{
  position: relative;
}
.u-flow__list::after{
  content:'';
  background-image:url("/wp-content/themes/yamatokensetsu/images/arrow-green.png");
  position: absolute;
  right:0px;
  top:0%;
  transform:translateY(0%);
    max-width: 58px;
    width: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
  height: 25px;
}
@media screen and (max-width: 959px) {
.u-flow__list::after{
  display: none;
}
}
.u-flow__list:last-child::after{
  display: none;
}
.p-flow__image{
  max-width: 180px;
  margin:0 auto;
}
@media screen and (min-width: 960px) {
.p-flow__image{
  margin:0px;
  max-width: 100%;
}
}
.p-flow__sp{
  display:block;
      transform: rotate(90deg);
          max-width: 40px;
    margin: 20px auto 20px;
}
.p-flow__sp img{
  text-align: center;
    margin: 40px auto;
    display: block;
}
@media screen and (min-width: 960px) {
  .p-flow__sp{
  display: none;
}
}
@media screen and (min-width: 960px) {
.u-flow__list::after{
  right:-50px;
  top:20%;
}
}
@media screen and (min-width: 960px) {
.p-flow__inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
}
.p-flow__headline{
  font-size: 2.4rem;
      line-height: 1.2;
    margin-bottom: 30px;
}
.p-flow__number{
  color:#48D091;
  font-size: 3.5rem;
}
.p-common__button{
  color:#fff;
  background-color:#48D091;
  text-align: center;
  border:1px solid #48D091;
  font-weight: bold;
  font-size: 1.8rem;
  max-width: 200px;
  width: 100%;
  border-radius: 30px;
  line-height:60px;
  height: 60px;
  margin:0 auto;
}
.p-common__button:hover{
  color:#48D091;
  background-color:#fff;
}
.u-common__button{
  color:#48D091;
  background-color:#fff;
}
.u-common__button:hover{
  color:#fff;
  background-color:#48D091;
}
.p-plan__list{
  text-align: center;
  border-radius: 6px;
  border:3px solid #48D091;
  margin-bottom: 40px;
}
@media screen and (min-width: 960px) {
.p-plan__list{
  margin-bottom: 0px;
}
}
.p-price__list{
  padding:30px 0px;
}
.p-price__headline{
  color:#fff;
  background-color: #48D091;
  border-radius: 35px;
  padding:5px;
  font-weight: bold;
  font-size:2rem;
  margin:0px 15px 20px;
}
.p-price__wrap{
  margin-top: 25px;
}
.p-price__text{
  font-size:2.8rem;
  font-weight: bold;
  line-height: 1.6;
  padding:0px 15px;
}
.p-price__en{
  font-size:1.8rem;
}
.p-price__caption{
  font-size:1.1rem;
  font-weight: normal;
}
.p-price__body{
  background: #FBFCFC;
  border-bottom:1px solid #ECEDED;
  padding:8px 15px;
}
.p-yoga__wrap{
  padding:10rem 0px;
  background: linear-gradient(180deg,rgba(89, 212, 155, 1) 0%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 1) 98%);
}
@media screen and (min-width: 960px) {
  .p-yoga__wrap{
    background: linear-gradient(90deg,rgba(89, 212, 155, 1) 0%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 1) 98%);
  }
}
.p-yoga__block{
  margin-bottom: 3rem;
}
@media screen and (min-width: 960px) {
  .p-yoga__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.p-yoga__block{
  flex:0 0 52%;
  max-width:52%;
  margin-bottom: 0px;
}
.p-yoga__image{
  flex:0 0 45%;
  max-width:45%;
}
}
.p-yoga__headline{
  font-size:3.2rem;
  margin-bottom: 30px;
  line-height: 1.4;
}
/****************************
会社案内
****************************/
.company-mv {
  background-image: url("images/company-mv.jpg");
  background-repeat: no-repeat;
}
.u-greeting__inner{
  margin-bottom: 8rem;
}
@media screen and (min-width: 560px) {
.u-greeting__inner02{
  flex-direction: row-reverse;
}
}
.p-company__headline {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.p-company__image {
  margin-bottom: 5rem;
}

.company-greed__block {
  margin-top: 2.4rem;
}

.u-greed__inner {
  margin-bottom: 5.5rem;
}

@media screen and (min-width: 560px) {
  .company-greed__block {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 48.25%;
    flex: 0 0 48.25%;
    max-width: 48.25%;
    margin-top: 0rem;
  }

  .company-greed__image {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 42.25%;
    flex: 0 0 42.25%;
    max-width: 42.25%;
  }
}

.company-greed .common-ttl {
  text-align: left;
  margin-bottom: 3.2rem;
  line-height: 1;
}

.company-greed__headline {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 3.2rem;
}

.company-greed__block p {
  margin-bottom: 1.6rem;
}

.company-greed__body-last {
  text-align: right;
  font-weight: bold;
}

.company-greed__body-last span {
  font-size: 2rem;
}

.company-achive {
  background-color: #f7f7f7;
  position: relative;
  padding-bottom: 10rem;
}

.company-achive .common-lead {
  color: #48D091;
  position: relative;
  top: -40px;
}

.company-common__bg {
  background-color: #fff;
  box-shadow: 16px 16px 40px 0px rgba(0, 0, 0, 0.06);
}

.company-achive ul {
  padding: 20px;
  margin: 0 auto;
}

@media screen and (min-width: 560px) {
  .company-achive ul {
    padding: 40px;
  }
}

.company-achive ul li:not(:last-child) {
  margin-bottom: 0.6rem;
}

.company-achive ul li span {
  color: #48D091;
  vertical-align: middle;
  margin-right: 1rem;
  font-size: 2rem;
}

.company-rank {
  margin-top: 8rem;
}

.company-rank__wrap {
  border: 4px solid #111;
  padding: 3.2rem;
  position: relative;
}

.company-rank__wrap h3 {
  position: absolute;
  top: -20px;
  font-size: 2rem;
  background: #fff;
  padding: 0 8px;
}

.company-rank__inner {
  display: flex;
  flex-wrap: wrap;
}

.company-rank__inner li {
  padding: 8px 0;
}

.company-content {
  margin-bottom: 10rem;
}

.company-content h3 span,
.company-access h3 span {
  font-size: 1.6rem;
}

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

  .company-content h3 span,
  .company-access h3 span {
    margin-left: 16px;
  }
}

.u-company__inner {
  max-width: 1170px;
  margin: 0 auto;
}

.corporate-table {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.corporate-table tr {
  border-bottom: 1px solid #CDD6DD;
  display: flex;
  padding: 2rem 0rem;
}

.corporate-table tbody {
  display: block;
  width: 100%;
}

.corporate-table th {
  width: 30%;
  text-align: justify;
  text-justify: inter-ideograph;
  font-weight: 500;
  color: #707F89;
}

.corporate-table td {
  width: 70%;
}

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

  .corporate-table th,
  .corporate-table td {
    padding: 1rem 0rem;
  }
}

.corporate-table td p span {
  text-indent: 0.5em;
  display: block;
}

.company-access {
  margin-bottom: 12rem;
}
.company-access__block {
  margin-bottom: 30px;
}
@media screen and (min-width: 560px) {

  /* .company-access .common-inner{
    align-items: center;
  } */
  .company-access__block {
    flex: 0 0 42.25%;
    max-width: 42.25%;
    margin-bottom: 0px;
  }

  .company-access__map {
    flex: 0 0 54.25%;
    max-width: 54.25%;
  }
}

.company-access__block h3 {
  font-size: 2rem;
  margin-bottom: 1.6rem;
}

.company-access__block .common-link {
  margin: 2.4rem 0 0;
}

.company-access__block p {
  color: #3B4043;
}

/****************************
ご提案までの流れ
****************************/
.proposal {
  margin-top: 5rem;
}

.proposal-image {
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
}

.proposal-image h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  background-color: rgba(0, 73, 117, 0.8);
  color: #fff;
  font-size: 3.2rem;
  width: 100%;
  text-align: center;
  padding: 10px 15px;
}

.marker {
  background: linear-gradient(transparent 50%, rgba(255, 220, 123) 50%);
  display: inline;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 1.5s;
}

/* マーカーが引かれる際に付与するクラス */
.marker.on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}

.proposal__headline {
  color: #48D091;
  font-size: 2rem;
  margin-top: 4rem;
  display: block;
  margin-bottom: 4rem;
  padding: 1rem 0px;
  border-top: 3px dashed #48D091;
  border-bottom: 3px dashed #48D091;
}

.proposal-intro__body {
  margin-bottom: 2.5rem;
}

.proposal-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.proposal__table {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.proposal__memo {
  text-align: left;
}

.proposal__lead {
  position: relative;
  padding: 0 40px;
  text-align: center;
  font-size: 2rem;
}

@media screen and (min-width: 560px) {
  .proposal__lead {
    padding: 0 65px;
  }
}

.u-large__text {
  font-size: 2rem;
  margin-top: 10px;
}

.u-large__text:first-child {
  margin-top: 0px;
}

.proposal__lead::before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #48D091;
}

.proposal__bg {
  font-weight: bold;
  padding: 15px;
  background-color: #fff;
}

.proposal__nenkan {
  font-size: 2rem;
}

.proposal__price {
  font-size: 2.4rem;
  line-height: 1.4;
}

.proposal__price span {
  font-size: 3.4rem;
  color: #48D091;
}

.proposal__lead02 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: inline-block;
  padding: 0rem 2rem;
  margin-top: 0rem;
}

.proposal__lead02 span {
  font-size: 3rem;
  color: #48D091;
}

.proposal__lead span {
  position: relative;
  padding: 0 1em;
  background: #e3f0ff;
}

@media screen and (min-width: 560px) {
  .proposal__lead span {
    padding: 0 2em;
  }
}

/****************************
スタッフ紹介
****************************/
.p-common__block,
.p-member__block,
.p-common__head-block{
  text-align: center;
}
.p-common__head-block{
  margin-bottom: 5rem;
}
.p-member__name{
  font-weight: bold;
  font-size: 3.1rem;
}
.p-member__job{
  font-size:1.2rem;
}
.p-common__headline {
  font-size: 4rem;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .p-common__headline {
  font-size: 4.8rem;
}
}
.p-common__body{
  text-align: center;
}
.p-common__en {
  color: #48D091;
  font-size: 4.8rem;
  line-height: 1.5;
}

.p-common__jp {
  font-size: 2rem;
  font-weight: bold;
}

.staff-intro {
  margin-top: 10rem;
}

.staff-description {
  margin-bottom: 12rem;
  margin-top: 8rem;
}

.staff-description__image {
  position: relative;
}

.staff-description__image img {
  border: 2px solid #48D091;
}
.modal-card__title{
  font-size:2.4rem;
  font-weight: bold;
  text-align: center;
}
.proposal__inner {
  margin-top: 3rem;
  background-color: #e3f0ff;
  padding: 2.5rem;
}

@media screen and (min-width: 560px) {
  .proposal__inner {
    padding: 5rem;
  }
}
.p-instructor__body{
  margin-top: 2rem;
}
.u-instrucotr__block {
  cursor: pointer;
  position: relative;
  transition: .3s;
  margin-bottom: 40px;
}
@media screen and (min-width: 560px) {
  .u-instrucotr__block {
    margin-bottom: 0px;
  }

.u-instrucotr__block:hover{
  opacity: 0.7;
}
}
/* スタッフ一覧レイアウト */
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.staff-card {
  width: 280px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.staff-card:hover {
  opacity: 0.8;
}

.staff-card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.staff-card__name {
  font-weight: bold;
  font-size: 1.6rem;
  margin-top: 1.2rem;
}

.staff-card__title {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #666;
}

.inner {
  margin: 0 auto;
}

/* モーダルを開くボタン */
@media screen and (min-width: 560px) {
.modal__cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
}
.modal__card {
  transition: opacity .6s;
  margin-bottom: 40px;
}
@media screen and (min-width: 560px) {
.modal__card {
  flex:0 0 31.25%;
  max-width: 31.25%;
}
.modal__card:hover {
  opacity: .6;
}
.modal__trigger {
  cursor: pointer;
}
}

/* .modal__card:nth-child(3n - 1),
.modal__card:nth-child(3n) {
  margin-left: 32px;
} */

.modal-card__image {
  position: relative;
}

.modal-card__image:before {
  display: block;
  padding-top: 120%;
  content: '';
}

.modal-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-card__content {
  margin-top: 15px;
}

/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.modal__layer {
  height: 100%;
  background: rgba(50, 50, 50, .85);
  cursor: pointer;
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 40px), 1000px);
  height: calc(100% - 40px);
  padding: 0px;
  background: #fff;
}
@media screen and (min-width: 560px) {
  .modal__container {
    padding: 20px;
  }
}
.modal__inner {
  position: relative;
  overflow-y: scroll;
  height: 100%;
  padding: 80px 20px 20px;
}

/* モーダルを閉じるボタン */
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(50, 50, 50, 1);
  cursor: pointer;
  transition: opacity .6s;
}

.modal__close:hover {
  opacity: .6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
@media screen and (min-width: 560px) {
.profile__group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
}
.profile__image {
  position: relative;
  margin-bottom: 20px;
}
@media screen and (min-width: 560px) {
  .profile__image {
    flex:0 0 45%;
    max-width: 45%;
    margin-bottom: 0px;
  }
}
/* .profile__image:before {
  display: block;
  padding-top: 120%;
  content: '';
}

.profile__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
@media screen and (min-width: 560px) {
  .profile__content {
    flex:0 0 50%;
    max-width: 50%;
  }
}
.profile__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.profile__headline{
  font-weight: bold;
  font-size:18px;
}
.profile__block{
  margin-bottom: 12px;
}
/****************************
施工事例
****************************/
.works-mv {
  background-image: url("images/works-mv.jpg");
  background-repeat: no-repeat;
}

.works-content {
  margin-bottom: 12rem;
}
.works-category__block {
  margin-top: 4rem;
}
@media screen and (min-width: 560px) {
  .works-content__block {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .works-category__block {
    flex: 0 0 20%;
    max-width: 20%;
    margin-top: 0px;
  }
}

.works-content__link {
  position: relative;
  margin-bottom: 6rem;
}

@media screen and (min-width: 560px) {
  .works-content__link {
    flex: 0 0 31.25%;
    max-width: 31.25%;
  }
}

.works-content__image {
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
      text-align: center;
    border: 1px solid #e6e6e6;
}

.works-content__image img {
  transition: 0.3s;
  object-fit: cover;
  height: 160px;
  overflow: hidden;
}
@media screen and (min-width: 560px) {
  .works-content__image img {
    height: 175px;
  }
}
@media screen and (min-width: 960px) {
  .works-content__image img {
    height: 255px;
  }
}

.works-content__link:hover .works-content__image img {
  transform: scale(1.1, 1.1);
  transition: 0.3s;
  overflow: hidden;
}

.works-content__link h3 {
  font-size: 1.8rem;
}

.category-block {
  background-color: #48D091;
  padding: 0px 10px;
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
}

.works-category__block h4 {
  font-size: 2rem;
  /* border-bottom: 1px solid #333; */
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  color: #98A6B5;
}

.works-category__block ul li a {
  padding: 1rem 0;
  font-size: 1.6rem;
  position: relative;
}

.works-category__block ul li a:hover {
  color: #48D091;
}

.works-category__block ul li a::before {
  content: "chevron_right";
  font-family: "Material Icons";
  vertical-align: middle;
}

.works-content__ttl-block {
  margin-bottom: 4rem;
}

.works-content__ttl {
  font-size: 3.2rem;
  border-bottom: 3px solid #48D091;
}

.works-content__ttl-block .cms-date {
  text-align: right;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #98A6B5;
}

.works-content__ttl-block .works-category {
  background-color: #48D091;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0px 11px;
  color: #fff;
  display: inline-block;
}

#wrap {
  background-color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.container {
  margin-bottom: 5rem;
}

#slider {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 30px;
}

.slick-active {
  display: block;
  height: 600px;
  object-fit: cover;
  width: 100%;
}

.slide-item {
  object-fit: cover;
  height: 600px;
}

.slide-item img {
  width: 100%;
  object-fit: cover;
  height: 250px;
}

@media screen and (min-width: 560px) {
  .slide-item img {
    height: 500px;
  }
}

.slick-active img {
  object-fit: cover;
}

#thumbnail-list {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.thumbnail-item {
  flex: 0 1 30%;
  margin-bottom: 10px;
  box-sizing: border-box;
  position: relative;
}

.thumbnail-item img {
  display: block;
  height: 100px;
  object-fit: cover;
  width: 100%;
}

@media screen and (min-width: 560px) {
  .thumbnail-item img {
    height: 200px;
  }
}

.thumbnail-item::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: 0.3s opacity linear;
}

.thumbnail-item.thumbnail-current::after {
  opacity: 0;
}

.thumbnail-item img {
  width: 100%;
  margin: 0 auto;
}

.works-sekou__content {
  margin-bottom: 3rem;
}

.works-sekou__price {
  margin-bottom: 10rem;
}

@media screen and (min-width: 560px) {
  .works-sekou__content {
    flex: 0 0 45%;
    max-width: 45%;
    margin-bottom: 50px;
  }

  .works-sekou__price {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.works-sekou__kouki {
  margin-bottom: 2rem;
}

.works-sekou__kouki span {
  font-weight: bold;
  color: #fff;
  background-color: #48D091;
  padding: 0px 10px;
  font-size: 14px;
  margin-right: 10px;
}

.works-sekou__headline {
  font-size: 2rem;
  font-weight: bold;
}

.works-sekou__table {
  width: 100%;

}

.works-sekou__table tr {
  display: flex;
  justify-content: space-between;
}

.works-sekou__table tr th,
.works-sekou__table tr td {
  padding: 5px 10px;
  font-weight: normal;
}

.works-sekou__table tr:nth-child(odd) {
  background-color: #efefef;
}

.works-sekou__sogaku {
  text-align: right;
  font-size: 2rem;
  margin-top: 10px;
}

.works-content__link .common-link02 {
  border: 1px solid #48D091;
  transition: .3s;
  color: #48D091;
  padding: 10px;
  text-align: center;
  margin-top: 15px;
}

.works-content__link a:hover .common-link02 {
  background-color: #48D091;
  color: #fff;
}

.cms-date {
  font-size: 12px;
}

.common-inner.event-content::after {
  content: '';
  flex: 0 0 31.25%;
  max-width: 31.25%;
  display: block;
  height: 100%;
}

.works-beforeafter {
  flex: 0 0 48%;
  max-width: 48%;
}

.u-beforeafter__inner {
  align-items: center;
}

.u-beforeafter__inner span {
  font-size: 3rem;
}

/****************************
ブログ
****************************/
.blog-mv {
  background-image: url("images/blog-mv.jpg");
  background-repeat: no-repeat;
}

.blog-content {
  margin-bottom: 12rem;
}

.blog-eyecatch__image {
  margin-bottom: 1.5rem;
  text-align: center;
}

/****************************
footer
****************************/
footer {
  position: relative;
  background-color: #3B4043;
  color: #fff;
}
.l-footer__cta{
  background-image:url("/wp-content/themes/yamatokensetsu/images/footer-bg.webp");
padding: 10rem 0px;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media screen and (min-width: 560px) {
  .l-footer__cta{
    padding: 15rem 0px 15rem;
  }
}
.u-footer__cta{
  background-image:none;
  margin-top: 0px;
}
.l-footer__headline{
  font-size: 2.8rem;
  line-height: 1.5;
  margin-bottom:20px;
}
@media screen and (min-width: 560px) {
  .l-footer__headline{
  font-size: 4rem;
  margin-bottom:40px;
}
}
.u-footer__cta .l-footer__headline{
  color:#3B4043;
}
.l-footer__button{
  max-width: 190px;
  width: 100%;
  margin:0 auto;
  background-color: #fff;
  color:#48D091;
  font-size:1.8rem;
  border-radius: 30px;
  height: 60px;
  font-weight: bold;
  line-height: 60px;
}
.u-footer__cta .l-footer__button{
  background-color: #48D091;
  color:#fff;
  border:1px solid #48D091;
}
.l-footer__button:hover{
  background-color: #48D091;
  color:#fff;
}
.u-footer__cta .l-footer__button:hover{
  background-color: #fff;
  color:#48D091;
}
footer .wrap-1480 {
  padding: 4rem 16px 4rem;
  position: relative;
  z-index: 2;
}

.footer-tel {
  font-size: 3.2rem;
  position: relative;
  color: #48D091;
  display: flex;
}

.footer-tel::before {
  content: "local_phone";
  font-family: "Material Icons";
  vertical-align: middle;
  font-size: 3rem;
}

.footer-common__block {
  text-align: center;
  width: 100%;
}

.l-footer__info {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 3rem;
}
@media screen and (min-width: 560px) {
  .l-footer__info {
    margin-top: 1rem;
    text-align: left;
  }
}
@media screen and (min-width: 560px) {
  .footer-link__inner {
    max-width: 800px;
    margin-left: auto;
  }

  .footer-link__block {
    flex: 0 0 40.25%;
    max-width: 40.25%;
  }

  /* .footer-common__block {
    flex: 0 0 55.25%;
    max-width: 55.25%;
    width: auto;
  } */
}

footer .col-6 {
  font-size: 15px;
  margin-top: 2.4rem;
}

.footer-common__block li a:hover {
  color: #48D091;
}

copyright {
  color: #fff;
  display: block;
  text-align: center;
  font-size: 1.2rem;
  padding: 16px;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 560px) {
  copyright {
    text-align: right;
  }

}

/****************************
パンクズ
****************************/
.breadcrumbs-inner {
  position: relative;
}

.breadcrumbs {
  position: absolute;
  top: 420px;
  left: 16px;
  display: flex;
  gap: 5px;
  font-size: 12px;
}

@media screen and (min-width: 560px) {
  .breadcrumbs {
    font-size: 13px;
    left: 100px;
  }
}

.breadcrumbs a:hover {
  color: #48D091;
}

.breadcrumbs i {
  color: #48D091;
  margin-right: 2px;
}

.home .breadcrumbs {
  display: none;
}

/****************************
お問い合わせ
****************************/
.contact-mv {
  background-image: url("images/contact.jpg");
  background-repeat: no-repeat;
}

.contact-intro {
  margin-top: 0px;
  padding: 10rem 0px 12rem;
}

.p-contact-intro__link {
  color: #48D091;
  display: inline-block;
  text-decoration: underline;
}

@media screen and (min-width: 960px) {
  .wpcf7 {
    max-width: 100%;
  }
}

.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;
  color: #707F89;
}

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

  }
}

.cform td {
  width: 100%;
  display: block;
}

@media screen and (min-width: 560px) {
  .cform td {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}

.mw_wp_form {
  margin: 6rem auto;
}

@media screen and (min-width: 560px) {
  .mw_wp_form {
    max-width: 960px;
    margin: 10rem auto;
  }
}

.contact-agreement__body {
  text-align: center;
  margin: 4rem auto;
}

.cform {
  margin: auto;
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}

.cform [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;
}

.cform option,
.cform textarea,
.cform input[type=text],
.cform select,
.cform input[type=email],
.cform input[type=search],
.cform input[type=url] {
  background-color: #fff;
  border: none;
  padding: 5px 10px;
  margin-bottom: 5px;
  width: 95%;
}

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

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

@media screen and (min-width: 960px) {
  .mw_wp_form {
    max-width: 960px;
    margin: 0 auto;
  }
}

.mw_wp_form {
  margin: auto;
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}

.mw_wp_form table {
  width: 100%;
}

.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 #CDD6DD;
  padding: 12px 10px;
  margin-bottom: 5px;
  width: 100%;
}

@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%;
  }
}

::placeholder {
  color: #CDD6DD;
}

.required-srt {
  display: inline-block;
  color: #48D091;
  font-size: 1.5rem;
  line-height: 2;
  margin-left: 1rem;
}

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

.mw_wp_form input[type="submit"] {
  cursor: pointer;
  max-width: 380px;
  background-color: #48D091;
  padding: 24px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  display: block;
  position: relative;
  transition: .3s;
  border: none;
  border-radius: 34px;
}

.mw_wp_form input[type="submit"]:hover {
  opacity: 0.6;

}

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

.caption {
  color: #999;
  margin-top: 5rem;
}

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

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

.submit-btn {
  cursor: pointer;
  max-width: 280px;
  background-color: #42455e;
  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: #FF9103 !important;
  border: 1px solid #FF9103 !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: 960px) {
  .thanks-block {
    text-align: center;
  }
}

.thanks-text {
  line-height: 2.4;
}

.wpcf7 form .wpcf7-response-output {
  border-color: #42455e !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #fff;
  padding: 10px;
  border-color: #42455e !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #42455e !important;
}

.p-contact__tel {
  background: #48D091;
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  max-width: 500px;
  margin: 1.5rem auto 8rem;
  padding: 20px;
  font-family: futura-pt, sans-serif;
  font-weight: bold;
}

.p-contact__link .material-icons {
  font-size: 3.2rem;
  margin-right: 4px;
  vertical-align: middle;
}

.p-contact__link {
  font-size: 4rem;
  line-height: 1.1;
}

.wpcf7-not-valid-tip {
  color: #48D091;
}