@charset "utf-8";

/*
Theme Name: 吉本塗装
Author: hironori hashimoto
Author URI: http://yamatokensetsu.jp
Description: 吉本塗装のオリジナルテンプレート
*/
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%;
  line-height: 1.95;
  color: #333;
  font-family:"Noto Sans JP", "ヒラギノ角ゴシック Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック", "Yu Gothic",
    YuGothic, sans-serif;
  font-weight: 500;
}
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;
  }
}
/****************************
タイトル
****************************/
/* コンテナ基本設定 */
.ol-heading__mask-container {
  position: relative;
  overflow: hidden;
  text-align: center;
    padding: 0px 15px 30px;
    margin-bottom: 30px;
}

/* サブタイトルとメインタイトル初期状態 */
.ol-service__heading-sub,
.ol-service__heading {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* サブタイトル用のフォント調整 */
.ol-service__heading-sub {
text-align: center;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s, visibility 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s, transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s;
    will-change: opacity, visibility, transform;
	color:#999;
}

/* メインタイトル用のフォント調整 */
.ol-service__heading {
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin: 0;
}
@media screen and (min-width: 560px) {
	.ol-service__heading {
		letter-spacing: 0.12em;
		font-size: 4rem;
	}
}
/* 中央マスク線 初期設定 */
.ol-heading__center-mask {
position: absolute;
    width: clamp(5rem, 2.367rem + 5.01vw, 6.875rem);
    height: 3px;
    bottom: 0px;
    left: 50%;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
    will-change: transform;
    transform: scaleX(0) translateY(-50%) translateX(-50%);
    transform-origin: right;
    background-color: #6092F6;
    z-index: 10;
}
.js-visible .ol-heading__center-mask {
transform: scale(1) translateY(-50%) translateX(-50%);
    transform-origin: left;
}
/* これが正しい！ */
.ol-heading__mask-container.js-visible .ol-service__heading,
.ol-heading__mask-container.js-visible .ol-service__heading-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.common-headline {
  font-weight: bold;
  font-size: 4.8rem;
  text-align: center;
}
.common-ttl {
  font-size: 3.2rem;
  font-weight: bold;
	position:relative;
  text-align: center;
}
.common-lead {
  font-size: 4rem;
  font-weight: bold;
  position: relative;
}
.common-heading {
  font-size: 5.4rem;
  margin-bottom: 2.4rem;
	color:#6092F6;
}
@media screen and (min-width: 560px) {
	.common-heading {
		font-size: 6.4rem;
	}
}
.common-subheading {
  font-size: 2rem;
  margin-bottom: 1.6rem;
}
.center-text {
  text-align: center;
}
/****************************
共通
****************************/
.en {
  font-family: "Jua", sans-serif;
}
.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;
}
@media screen and (min-width: 560px) {
  section {
    margin-top: 14rem;
  }
}
.txt-deco {
  font-family: "Sriracha", cursive;
}
.common-link {
  max-width: 480px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  margin: 0 auto;
  border: 1px solid #6092F6;
  background-color: #6092F6;
  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: #6092F6;
  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 {
  position: relative;
  background-position: center center;
	background-image:url("/wp-content/themes/yamatokensetsu/images/common-mv.jpg");
	padding:26rem 0px;
	background-size: cover;
}
.common-mv::before {
  content: "";
  position: absolute;
  height: 6px;
  bottom: 0;
  background: #01057F;
  left: 0;
  width: 100%;
  z-index: 10;
}
.common-mv::after {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.common-mv h2 {
  position: absolute;
  left: 40px;
  bottom: 60px;
  color: #fff;
  z-index: 10;
  font-size: 6.3rem;
  line-height: 1.5;
  letter-spacing: 0.4rem;
}
.common-mv h2 span {
  display: block;
  font-size: 1.6rem;
}
/****************************
固定幅
****************************/
.wrap-1480 {
  max-width: 1512px;
	width:100%;
  padding: 0 16px;
  margin: 0 auto;
}
.wrap-960 {
  max-width: 992px;
	width:100%;
  padding: 0 16px;
  margin: 0 auto;
}
.wrap {
  max-width: 95%;
	width:100%;
  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-3 {
  flex: 0 0 48.25%;
  max-width: 48.25%;
}
@media screen and (min-width: 560px) {
  .common-inner {
    display: flex;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 560px) {
  .reverse {
    flex-direction: row-reverse;
  }
}
.col-5 {
  flex: 0 0 48.25%;
  max-width: 48.25%;
}
@media screen and (min-width: 560px) {
  .col-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 18.25%;
    flex: 0 0 13.25%;
    max-width: 13.25%;
  }
}
.col-sp-2 {
  flex: 0 0 48.25%;
  max-width: 48.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%;
  }
	.col-4 {
    flex: 0 0 24.25%;
    max-width: 24.25%;
  }
}
/****************************
テキストアニメーション
****************************/
.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: 99;
  font-weight: bold;
}

@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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

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

.l-header__white {
  background-color: #ffffff;
}

@media screen and (min-width: 1025px) {
  .l-header__white {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: calc(100% - 160px);
    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);
    padding: 0 30px;
  }
}

@media screen and (min-width: 1280px) {
  .l-header__white {
    width: calc(100% - 240px);
    padding: 0 40px;
  }
}

@media screen and (max-width: 1024px) {
  .l-header__white {
    padding-left: 4%;
  }
}

@media screen and (max-width: 1024px) {
  .l-header__sp {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

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

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

@media screen and (max-width: 1024px) and (min-width: 561px) {
  .l-header__logo {
    width: 216.3px;
  }
}

@media screen and (max-width: 560px) {
  .l-header__logo {
    width: 200px;
  }
}

.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 {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 1.8rem;
	background: #6092F6;
	color:#fff;
}

.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 {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.15);
    color: #ffffff;
    text-align: center;
	  padding: 17px 0px;
	  font-size: 2rem;
  }
}
.l-header__contact a .material-icons{
	margin-right:3px;
	vertical-align: middle;
	font-size:18px;
}
.l-header__contact a p{
	    font-size: 1.1rem;
    display: block;
}
@media screen and (min-width: 1025px) {
  .l-nav {
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10000001;
    width: 100%;
    background-color: rgba(255,255,255,0.95);
    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: calc(100% - 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;
  }
}

@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 {
  color: #6092F6;
}

.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: #6092F6;
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-transform: translate3d(0, 2px, 0);
    transform: translate3d(0, 2px, 0);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    opacity: 0;
    -webkit-transition: all 280ms ease;
    -o-transition: all 280ms ease;
    transition: all 280ms ease;
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    -o-transition-property: opacity, transform;
    transition-property: opacity, transform;
    transition-property: opacity, transform, -webkit-transform;
  }
}

@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: 10px;
    line-height: 1;
  }
  .l-nav__contact .material-icons {
    vertical-align: middle;
  }
}

@media screen and (max-width: 1024px) {
  .l-nav__contact a {
    position: relative;
    display: flex;
        align-items: center;
        justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background-color: #6092F6;
    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: 10px 0;
  }
}

@media screen and (max-width: 560px) {
  .l-nav__contact a {
    padding: 2px 0;
  }
	.l-nav__contact a p{
		font-size:1.2rem;
	}
}

@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: #6092F6;
    color: #6092F6;
  }
}

@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;
  padding-bottom: 60px;
  overflow: hidden;
  height: 100vh;
}
.top-hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.top-hero__image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slide-animation 24s linear infinite 0s;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-position: 50% 50%;
}
@media screen and (min-width: 560px) {
  .top-hero__image {
    background-position: center center;
  }
}
.top-hero__image:nth-of-type(1) {
  background-image: url("/wp-content/themes/yamatokensetsu/images/mv01.webp");
}
.top-hero__image:nth-of-type(2) {
  animation-delay: 8s;
  background-image: url("/wp-content/themes/yamatokensetsu/images/mv02.webp");
}
.top-hero__image:nth-of-type(3) {
  animation-delay: 16s;
  background-image: url("/wp-content/themes/yamatokensetsu/images/mv03.webp");
}
@keyframes slide-animation {
  0% {
    animation-timing-function: ease; /*ゆっくり表示される*/
    opacity: 0;
    transform: scale(1.1);
  }
  12% {
    animation-timing-function: ease-out; /*表示された*/
    opacity: 1;
  }
  30% {
    opacity: 1; /*＊表示期間*/
  }
  43% {
    opacity: 0; /*次の画像で消えている*/
  }
  100% {
    opacity: 0; /*表示されていない時間*/
  }
}
.top-hero__image::after {
  content: "";
  background-color: #010486;
  opacity: 0.5;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.top-hero__wrap {
  max-width: 93%;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
    transform: translateY(-50%);
  left: 15px;
  z-index: 10;
}
@media screen and (min-width: 960px) {
  .top-hero__wrap {
    max-width: 80%;
    right: 136px;
    left: 136px;
  }
}
.top-hero__wrap h1 {
  margin-bottom: 40px;
  font-size: 3rem;
  line-height: 1.45;
text-shadow: 0 0 27px rgb(0 0 0 / 40%);
}
@media screen and (min-width: 960px) {
  .top-hero__wrap h1 {
    font-size: 4.8rem
  }
}
@media screen and (min-width: 1280px) {
  .top-hero__wrap h1 {
    font-size: 6rem
  }
}
.top-hero__wrap .slideInRight02 {
  font-size: 16px;
  text-shadow: 0 0 27px rgba(0, 0, 0, 0.7);
}
@media screen and (min-width: 960px) {
	.top-hero__wrap .slideInRight02 {
		font-size: 147%;
	}
}
.p-slide__copy{
	display:inline-block;
	background-color:#fff;
	color:#6092F6;
    padding: 3px 15px;
    margin-top: 20px;
	margin-bottom:30px;
    border-radius: 8px;
    font-weight: bold;
}
.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: #01057F;
  position: absolute;
  z-index: 10;
  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;
  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: 0.3;
  }
}
@media screen and (min-width: 560px) {
  .top-hero .txt-deco {
    transform: rotate(-10deg);
    bottom: 75px;
    right: 0px;
  }
}
.p-mv__contact .common-link{
	margin:15px 0px 0px;
}
@media screen and (min-width: 560px) {
	.p-mv__contact .common-link{
	margin:20px 0px 0px;
}
}
.top-message {
  text-align: left;
  line-height: 2;
  font-size: 1.6rem;
  position: relative;
}
@media screen and (min-width: 560px) {
  .top-message {
    text-align: center;
  }
}
.top-message::before {
  content: "MESSAGE";
  position: absolute;
  left: 0%;
  font-size: 19vw;
  top: 3%;
  line-height: 1;
  color: #ededed;
  font-family: "Jua", sans-serif;
  z-index: -1;
}
@media screen and (min-width: 560px) {
  .top-message::before {
    font-size: 12vw;
    top: -3%;
    left: -3%;
  }
}
.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);
  }
}
.heading-16 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:2.4rem;
}

.heading-16::before,
.heading-16::after {
    width: 3px;
    height: 40px;
    background-color: #2589d0;
    content: '';
}

.heading-16::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.heading-16::after {
    transform: rotate(35deg);
    margin-left: 30px;
}
.vid_contents {
width: 100%;
text-align: center;
margin: auto;
background-image:url("images/video-bg.jpg");
background-size:cover;
padding:100px 0px;
position:relative;
}
.vid_contents .wrap-1480{
	position:relative;
}
.vid_contents::before{
	content:'';
	background-color:#fff;
	opacity:0.6;
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
}
video.vid_main {
width: 100%;
max-width: 920px;/*PC版での最大幅*/
}

.top-message__inner p {
  margin-top: 3.2rem;
}
.top-message__inner{position:relative;
}
.top-message__inner::after{
	content:'';
	background-image: url("images/message-bg.png");
	background-repeat: no-repeat;
	background-position:center bottom;
	width: 100%;
    height: 260px;
    display: block;
    opacity: 0.1;
    position: absolute;
    bottom: 30px;
}
.top-message02 {
  background-image: url("images/message-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  background-size: 100%;
padding: 13rem 0px;
    margin-top: 0px;
}
@media screen and (min-width: 960px) {
	.top-message02 {
		background-size: cover;
		padding: 20rem 0px;
	}
}
.top-message02::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.8;
  content: "";
}
.top-message__block {
  max-width: 92%;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}
@media screen and (min-width: 560px) {
  .top-message__block {
    max-width: 85%;
  }
}
@media screen and (min-width: 960px) {
  .top-message__block {
    max-width: 75%;
  }
}
.top-message__block h2 {
  font-size: 2.8rem;
}
@media screen and (min-width: 960px) {
	.top-message__block h2 {
  font-size: 3.2rem;
}
}
.top-message__block h2::first-letter {
  font-size: 4rem;
  color: #6092F6;
}
@media screen and (min-width: 960px) {
	.top-message__block h2::first-letter {
		font-size: 6rem;
	}
}
.top-message__block p {
margin-top: 2.4rem;
    max-width: 720px;
    text-align: justify;
    font-size: 1.85rem;
}
@media screen and (min-width: 960px) {
	.top-message__block p {
		font-size: 2rem;
	}
}
/* .top-message__bg {
  background-image: url("../images/top-example.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  height: 140px;
  background-size: 120%;
}
@media screen and (min-width: 560px) {
  .top-message__bg {
    background-size: cover;
    height: 360px;
  }
} */
/*ループスライダーの設定*/
.loopslider {
  width: 100%;
  background: white;
  height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 560px) {
	.loopslider {
		height: 290px;
	}
}
.loopslider ul {
  animation: scroll 10s linear infinite;
  display: flex;
  width: calc(420px * 23);
  height: 100%;
}
.loopslider img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 3));
  }
}

.top-purpose {
	margin-top:10rem;
  text-align: center;
}
.top-purpose .common-ttl {
  margin-bottom: 2rem;
  line-height: 1.4;
}
.top-purpose .common-ttl span {
  color: #01057F;
  font-size: 6.4rem;
}
.top-purpose__image {
  position: relative;
	    max-width: 75%;
    margin: 0 auto;
}
@media screen and (min-width: 560px) {
	.top-purpose__image {
		max-width:100%;
	}
}
.top-purpose__image img{
	border-radius:18px;
}
.top-purpose__image::before {
  font-family: "Jua", sans-serif;
  position: absolute;
  left: 0;
  top: -12%;
  color: #01057F;
  font-size: 9rem;
  line-height: 1;
}
@media screen and (min-width: 560px) {
  .top-purpose__image::before {
    top: 0;
  }
}
.top-purpose .col-5:first-child .top-purpose__image::before {
  content: "1";
}
.top-purpose .col-5:nth-child(2) .top-purpose__image::before {
  content: "2";
}
.top-purpose .col-5:nth-child(3) .top-purpose__image::before {
  content: "3";
}
.top-purpose .col-5:nth-child(4) .top-purpose__image::before {
  content: "4";
}
.top-purpose .col-5:nth-child(5) .top-purpose__image::before {
  content: "5";
}
.top-purpose__inner {
  margin-top: 2.8rem;
  font-size: 1.6rem;
}
.top-purpose__inner h3 {
margin-top: 10px;
    font-size: 2rem;
    color: #01057F;
    border-bottom: 4px dotted #01057F;
    margin-bottom: 10px;
    padding-bottom: 5px;
}
.top-purpose .col-4 {
  margin-top: 3rem;
}
@media screen and (min-width: 560px) {
  .top-purpose .col-4 {
    margin-top: 0rem;
  }
}
.p-service__body{
	text-align:left;
}
.top-works {
  position: relative;
  padding: 8rem 0;
	margin-top:0px;
}
.top-works::before {
  content: "";
  background-image: url("images/works-bg.jpg");
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background-size: cover;
  opacity: 0.2;
  top: 0;
  left: 0;
  right: 0;
}
.top-works .common-lead {
  margin-bottom: 2rem;
}
.top-works::after {
  content: "WORKS";
  position: absolute;
  right: 0;
  font-size: 10.5vh;
  top: 9%;
  line-height: 1;
  color: #ededed;
  font-family: "Jua", sans-serif;
  z-index: -1;
}
@media screen and (min-width: 560px) {
  .top-works::after {
    font-size: 12vw;
    top: 7%;
  }
}
.top-works .col-3 {
  margin-top: 3.2rem;
}
.top-works .common-link {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.instagram{
	background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
}
.line{
	background:#06c755;
	border:1px solid #06c755;
}
.l-header .line{
	background:#06c755;
	font-size:18px;
}
.instagram:hover{
	opacity:0.7;
	color:#fff;
}
.line:hover{
	color:#06c755;
	background:#fff;
}
.top-works__wrap {
  position: relative;
}
.top-works__wrap .common-sp__inner {
  padding: 12px 16px 40px;
}
.top-works .wrap-960{
	padding:0px;
}
@media screen and (min-width: 560px) {
  .top-works__wrap .common-sp__inner {
    padding: 0px 16px 20px;
  }
}
@media screen and (min-width: 960px) {
  .top-works__wrap .common-sp__inner {
    padding: 12px 40px 40px;
  }
}
.works-common__image {
  overflow: hidden;
  margin-bottom: 1.4rem;
	border-radius:18px;
}
.works-common__image img {
  transition: 1s all;
	border-radius:18px;
	object-fit:cover;
	height: 140px;
    width: 100%;
}
@media screen and (min-width: 560px) {
	.top-works__wrap .works-common__image img{
		width:510px;
		height:200px;
	}
}
@media screen and (min-width: 960px) {
	.top-works__wrap .works-common__image img{
		height:340px;
	}
}
.top-works li a:hover img {
  transform: scale(1.2, 1.2);
  transition: 1s all;
  opacity: 0.6;
}
.top-blog {
/*   background-color: #f8f8f8; */
  position: relative;
	    margin-top: 0px;
    padding-top: 8rem;
}
.top-blog::before{
	content:'';
	background-image:url("/wp-content/themes/yamatokensetsu/images/flow-bg.webp");
	background-size:cover;
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	opacity:0.35;
}
.top-blog .common-lead {
  margin-bottom: 2rem;
}
.top-blog .wrap-960{
	padding:0px;
}
.top-blog__wrap {
  padding: 0rem 0px 10rem;
  position: relative;
}
.top-blog__wrap .txt-deco {
  color: #01057F;
  position: absolute;
  z-index: 30;
  padding-right: 0px;
  transform: rotate(-15deg);
  line-height: 0.8;
  font-size: 600%;
  letter-spacing: 0.02em;
  /* overflow: visible; */
  top: -32px;
  left: 16px;
  font-size: 600%;
}
@media screen and (min-width: 560px) {
  .top-blog__wrap .txt-deco {
    left: 0px;
    top: -64px;
    font-size: 1033%;
  }
}
.top-blog__inner {
  max-width: 600px;
  margin: 4rem auto 7.2rem;
}
.top-blog__inner .common-inner {
  justify-content: start;
padding: 2rem 0;
    border-bottom: 1px solid #999;
}
.top-blog__inner .common-inner:hover {
  opacity: 0.6;
}
.top-blog__inner .en {
  margin-right: 4rem;
  position: relative;
  background-color: #333;
  color: #fff;
  padding: 0 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 6px;
}
@media screen and (min-width: 560px) {
  .top-blog__inner .en {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 560px) {
  .top-blog__inner .en::after {
    content: "";
    width: 14px;
    height: 2px;
    background-color: #111;
    position: absolute;
    right: -25px;
    top: 45%;
  }
}
/****************************
TOP流れ
****************************/
.flow{
	padding:10rem 0px;
	position:relative;
}
.flow::before{
	content:'';
	background-image:url("/wp-content/themes/yamatokensetsu/images/flow-bg.webp");
	background-size:cover;
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	opacity:0.6;
}
.p-flow__list{
	border-radius:16px;
	background-color:#fff;
	padding:20px 15px;
	position:relative;
	margin-bottom:30px;
}
@media screen and (min-width: 560px) {
	.p-flow__list{
		flex:0 0 19%;
		max-width:19%;
		padding:20px;
		margin-bottom:0px;
	}
}
.p-flow__list:first-child::after{
	content:'01';
	position:absolute;
	left: -10px;
    top: -50px;
    font-size: 6rem;
    font-family: "Jua", sans-serif;
    color:#6092F6;
}
.p-flow__list:nth-child(2)::after{
	content:'02';
	position:absolute;
	left: -10px;
    top: -50px;
    font-size: 6rem;
    font-family: "Jua", sans-serif;
    color:#6092F6;
}
.p-flow__list:nth-child(3)::after{
	content:'03';
	position:absolute;
	left: -10px;
    top: -50px;
    font-size: 6rem;
    font-family: "Jua", sans-serif;
    color:#6092F6;
}
.p-flow__list:nth-child(4)::after{
	content:'04';
	position:absolute;
	left: -10px;
    top: -50px;
    font-size: 6rem;
    font-family: "Jua", sans-serif;
    color:#6092F6;
}
.p-flow__list:nth-child(5)::after{
	content:'05';
	position:absolute;
	left: -10px;
    top: -50px;
    font-size: 6rem;
    font-family: "Jua", sans-serif;
    color:#6092F6;
}
.p-flow__title{
	font-size:2rem;
	font-weight: bold;
    margin-top: 10px;
    text-align: center;
	color:#01057F;
}
.p-flow__title span{
	border-radius:50%;
	background-color:#000;
	color:#fff;
}
.p-flow__body{
	margin-top:5px;
}
.p-flow__body a{
	color:#6092F6;
	text-decoration:underline;
	font-size:13px;
	font-weight:bold;
	display:block;
}
.p-caption__body{
	color:#999;
	font-size:1.2rem;
	margin-top:5px;
}
.p-flow__content{
	background:#fff;
	position:relative;
	padding:30px 15px;
	text-align:center;
	margin-top:40px;
}
.p-flow__headline{
	font-size:2rem;
	border-bottom:2px solid #000;
	padding-bottom:20px;
	margin-bottom:20px;
}
.p-flow__image img{
	border-radius:16px;
}
/****************************
会社案内
****************************/
.company-mv {
  background-image: url("images/company-mv.jpg");
  background-repeat: no-repeat;
}
.company-greed{
	position:relative;
}

.company-greed::after{
    content: '';
    background-image: url(images/ceo-bg.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 100%;
    opacity: 0.1;
    max-width: 590px;
    width: 100%;
    height: 340px;
    display: block;
    position: absolute;
    right: 0px;
    bottom: 0px;
	
}
.company-greed__block {
  margin-top: 2.4rem;
}
@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 {
    flex: 0 0 42.25%;
    max-width: 42.25%;
  }
}
.company-greed__image img{
	border-radius:12px;
}
.company-greed .common-ttl {
  text-align: left;
  margin-bottom: 3.2rem;
  line-height: 1;
}
.company-greed__headline {
  font-size: 2rem;
  line-height: 1;
	color:#6092F6;
	padding-bottom:15px;
	border-bottom:2px solid #6092F6;
  margin-bottom: 3.2rem;
}
.company-greed__block p {
  margin-bottom: 1.6rem;
}
.company-greed__body-last {
  text-align: right;
}
.company-greed__body-last span {
  font-size: 2.4rem;
	padding-left:5px;
}
.company-achive {
  background-color: #f7f7f7;
  position: relative;
  padding-bottom: 10rem;
}
.company-achive .common-lead {
  color: #01057F;
  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: #01057F;
  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;
  }
}
.corporate-table {
	max-width:1280px;width: 100%;margin:0 auto;border-collapse: collapse;
}
.corporate-table tr {
  border-bottom: 2px solid #999;
  display: flex;
  padding: 1.5rem 0rem;
}
.corporate-table tr:first-child{
	border-top: 2px solid #999;
}
.corporate-table tbody {
  display: block;
  width: 100%;
}
.corporate-table th {
  width: 30%;
  text-align: justify;
  text-justify: inter-ideograph;
  font-weight: 500;
}
.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 {
    margin-bottom:0px;
    flex: 0 0 42.25%;
    max-width: 42.25%;
  }
  .company-access__map {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 54.25%;
    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;
}
/****************************
スタッフ紹介
****************************/
.staff-description {
  margin-bottom: 12rem;
  margin-top: 8rem;
}
.staff-description__image {
  position: relative;
}
.staff-description__image img {
  border-radius: 50%;
  border: 4px solid #01057F;
}
.staff-description__job {
  position: absolute;
  bottom: 16%;
  left: 0;
  background-color: #fff;
  padding: 0 16px;
  color: #111;
  font-size: 1.3rem;
}
.staff-description .col-3{
	-webkit-box-flex: 0;
    -ms-flex: 0 0 100.00%;
	flex: 0 0 100.00%;
	max-width: 100.00%;
}
@media screen and (min-width: 560px) {
	.staff-description .col-3{
	-webkit-box-flex: 0;
    -ms-flex: 0 0 31.25%;
    flex: 0 0 31.25%;
    max-width: 31.25%;
}
}
@media screen and (min-width: 960px) {
  .staff-description .col-3:first-child,
  .staff-description .col-3:nth-child(4),
	.staff-description .col-3:nth-child(7){
    margin-top: 12rem;
  }
  .staff-description .col-3:nth-child(2),
  .staff-description .col-3:nth-child(5) {
    margin-top: 6rem;
  }
}
.staff-description__name {
  font-size: 1.8rem;
  margin-top: -1rem;
  position: relative;
  bottom: 0%;
  left: 0;
  padding: 0 16px;
  border: 2px solid #01057F;
  background: #fff;
}
@media screen and (min-width: 560px) {
	.staff-description__name {
		position: absolute;
		 margin-top: 1rem;
	}
}
@media screen and (min-width: 960px) {
  .staff-description__name {
    bottom: 3%;
  }
}
.staff-description__name span {
  font-size: 1.2rem;
  color: #999;
  margin-left: 16px;
  letter-spacing: 0.1rem;
	display:block;
}
@media screen and (min-width: 560px) {
	.staff-description__name span {
		margin-left: 16px;
		display:inline;
	}
}
.staff-description__body {
  background-color: #f2f7e8;
  padding: 12px 16px;
  margin-top: 1.2rem;
  margin-bottom: 6.2rem;
  border-radius: 8px;
}

@media screen and (min-width: 960px) {
  .staff-description__body {
    margin-bottom: 0rem;
    margin-top: 3.2rem;
  }
}
/****************************
施工事例
****************************/
.works-mv {
  background-image: url("images/works-mv.jpg");
  background-repeat: no-repeat;
}
.works-content {
  margin-bottom: 10rem;
}
@media screen and (min-width: 560px) {
  .works-content__block {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .works-category__block {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.works-content h2{
	padding: 0.25rem 1rem;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
	font-size:2rem;
	margin-bottom:15px;
	margin-top:30px;
	display:block;
}
.works-content p{
	margin-bottom:1.8rem;
}
.works-content__link {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 48%;
  flex: 0 0 48%;
  max-width: 48%;
  margin-bottom: 6rem;
}
.works-content__image {
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
	    object-fit: cover;
}
.works-content__image img {
  transition: 0.3s;
	object-fit: cover;
    height: 160px;
    overflow: hidden;
	width:100%;
	border-radius:16px;
}
@media screen and (min-width: 560px) {
	.works-content__image img {
    height: 255px;
	}
}
@media screen and (min-width: 960px) {
	.works-content__image img {
		width: 532px;
    height: 355px;
	}
}
.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;
}
.works-content__link .category-block {
  background-color: #111;
  padding: 4px 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 1.2rem;
  color: #fff;
}
.works-category__block h4 {
  font-size: 2rem;
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.works-category__block ul li a {
  padding: 1rem 0;
  font-size: 1.6rem;
  position: relative;
}
.works-category__block ul li a:hover {
  color: #01057F;
}
.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: 2px solid #01057F;
}
.works-content__ttl-block .cms-date {
  text-align: right;
  margin-top: 1rem;
}
.works-content__ttl-block .works-category {
  background-color: #111;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 4px 11px;
  color: #fff;
  display: inline-block;
}

/****************************
ブログ
****************************/
.blog-mv {
  background-image: url("images/blog-mv.jpg");
  background-repeat: no-repeat;
}
.blog-content {
  margin-bottom: 12rem;
}
/****************************
footer
****************************/
footer {
  position: relative;
}
footer::before {
  content: "";
  background-image: url("images/footer.jpg");
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.4;
  background-position: center 40%;
}

.footer-content__inner h2 {
  margin-bottom: 2rem;
}
footer .wrap-1480 {
  padding: 5rem 16px;
  position: relative;
  z-index: 2;
}
.footer-tel__inner{
	margin-top:2rem;
}
.p-footer__map a{
	display:inline-block;
	text-decoration:underline;
	color:#01057F;
}
.material-icons{
	vertical-align:middle;
}
.p-footer__map a .material-icons{
	margin-left:5px;
}
.footer-tel {
  font-size: 2.4rem;
  position: relative;
  color: #01057F;
  display: flex;
}
.footer-tel span{
	font-size:2rem;
	margin-right:3px;
	vertical-align:baseline;
}
.footer-common__block {
  text-align: center;
  width: 100%;
	font-size:1.3rem;
}
@media screen and (min-width: 560px) {
  .footer-link__block {
    flex: 0 0 30.25%;
    max-width: 30.25%;
  }
  .footer-common__block {
    flex: 0 0 64.25%;
    max-width: 64.25%;
    width: auto;
  }
}
.footer-common__block li a{
	text-decoration:underline;
}
footer .col-5 {
  margin-top: 2.4rem;
}
.footer-common__block li a:hover {
  color: #01057F;
}
.l-footer__banner{
	max-width:180px;
	margin:30px auto 0px;
}
copyright {
  background-color: #111;
  color: #fff;
  display: block;
  text-align: center;
  font-size: 1.2rem;
  padding: 16px;
  position: relative;
}

.qa-list dl {
    position: relative;
    margin: 0;
    padding: 28px 80px 28px 30px;
/*     cursor: pointer; */
    border-bottom: 1px solid #333;
}
.qa-list dl:first-child {
    border-top: 1px solid #333;
}
/* .qa-list dl::before {
    position: absolute;
    top: 35px;
    right: 35px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
} */
.qa-list .open::before {
    transform: rotate(-45deg);
}
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 0 0 0 50px;
    font-weight: bold;
    font-size: 20px;
}
.qa-list dl dt::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    content: 'Q.';
    color: #3285bf;
}
.qa-list dl dd::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    content: 'A.';
    font-weight: bold;
    color: #3285bf;
}
.qa-list dl dd {
    position: relative;
/*     display: none; */
    height: auto;
    margin: 20px 0 0;
    padding: 0 0 0 50px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd a{
	color:#6092F6;
	text-decoration:underline;
	display:inline-block;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}

@media screen and (max-width: 767px) {
.qa-list dl {
    position: relative;
    padding: 15px 20px 15px 10px;
}
/* .qa-list dl::before {
    top: 20px;
    right: 20px;
    width: 7px;
    height: 7px;
} */
.qa-list dl dt {
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dt::before {
    font-size: 14px;
    top: 3px;
    left: 5px;
    content: 'Q.';
}
.qa-list dl dd::before {
    font-size: 14px;
    top: 5px;
    left: 5px;
    content: 'A.';
}
.qa-list dl dd {
    margin: 10px 0 0;
    padding: 0 0 0 30px;
    font-size: 14px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}
}
/****************************
お問い合わせ
****************************/
.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:#008cd0;
	display:inline-block;
	text-decoration:underline;
}
@media screen and (min-width: 960px) {
  .wpcf7{
    max-width:100%;	
  }
  }
  .cform tr {
    display:block;
    margin-bottom:2rem;
  }
  @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%;
    -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 {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    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 #9a9a9a;
      padding: 10px 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%;
    }
    }
::placeholder{
	color:#999;
}
    .required-srt {
      display: inline-block;
      background-color:#008cd0;
      color:#fff;
      padding: 0 0.5em;
      font-size: 1.2rem;
      line-height: 2;
      margin-left:1rem;	
		border-radius:4px;
    }
    @media screen and (min-width: 960px) {
    .required-srt {
      margin-left:10px;	
    }
    }
    .mw_wp_form input[type="submit"] {
      cursor: pointer;
      max-width: 380px;
      background-color: #6092F6;
      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: 16px;
    }
    .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{
		border-radius:16px;
      background: #6092F6;
      color:#fff;
      font-size:1.3rem;
      text-align:center;
      max-width:500px;
      margin:1.5rem auto 8rem;
      padding:20px;
      font-family: "Jua", 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;
    }
.p-voice__block{
	border-radius:18px;
	padding:15px 15px;
	border:2px solid #01057F;
	margin-bottom:30px;
}
@media screen and (min-width: 560px) {
.p-voice__block{
	padding:20px 20px;
	flex:0 0 48.5%;
	max-width:48.5%;
}
}
.p-voice__image{
	text-align:center;
}
.p-voice__image img{
	border-radius:18px;
}
.p-voice__headline{
	font-size:2rem;
	text-align:center;
	position:relative;
	color:#01057F;
	margin:10px 0px;
}
.p-voice__headline::after{
	content:'';
	position:absolute;
	width:60px;
	height:4px;
	margin:0 auto;
	bottom:0px;
	left:0px;
	text-align:center;
}
/****************************
価格・プラン
****************************/
.package{
	margin-bottom:10rem;
}
.p-plan__content{
	margin-bottom:10rem;
}
.p-plan__content .common-headline{
	line-height:1.3;
	margin-bottom:30px;
}
.plan-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
	margin-bottom:20px;
}
@media screen and (min-width: 560px) {
	.plan-card {
		flex:0 0 31.25%;
	max-width:31.25%;
		margin-bottom:0px;
	}
}
.plan-card__name{
font-size: 2rem;
    color: #fff;
    background: linear-gradient(90deg, rgba(1, 5, 127, 1) 0%, rgba(96, 146, 246, 1) 50%, rgba(0, 181, 192, 1) 100%);
    padding: 5px 5px;
}
.p-color__image{
	margin-bottom:30px;
}
.p-color__image img{
	border-radius:16px;
}
.plan-card__label {
  background: #f5f5f5;
  font-weight: bold;
  font-size: 1.4rem;
  padding: 0.5rem 1rem;
}

.plan-card__paint {
    font-size: 1.1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.plan-card__price {
  font-size: 2.4rem;
  color: #e74c3c;
  font-weight: bold;
	line-height:1;
	margin-bottom:15px;
}

.plan-card__price span {
  font-size: 4.2rem;
}

.plan-card__years {
font-size: 1.4rem;
    background: #2f2f2f;
    padding: 5px 10px;
    color: #fff;
    font-weight: bold;
}
.company-faq{
	margin-bottom:10rem;
}
.p-plan__inner{
	text-align:center;
}

.p-plan__list{
	flex:0 0 32.25%;
	max-width:32.25%;
	background:#6092F6;
	color:#fff;
	border-radius:18px;
	padding:7px 10px;
	margin-bottom:10px;
	font-size:1.8rem;
}
.p-plan__image{
	margin-bottom:5rem;
}
.p-color__list{
	margin-top:2.5rem;
}
.p-color__list li{
	flex:0 0 48%;
	max-width:48%;
	font-size:1.4rem;
	margin-bottom:1rem;
	font-weight:bold;
}
.p-color__list li a{
	color:#6092F6;
	border:1px solid #6092F6;
	background-color:#fff;
	border-radius:8px;
	padding:5px;
	text-align:center;
}
.p-color__list li a .material-icons{
	font-size:1.4rem;
	vertical-align:middle;
	margin-left:5px;
}
.p-color__list li a:hover{
	background-color:#6092F6;
	color:#fff;
}
@media screen and (min-width: 560px) {
	.p-color__list li{
	flex:0 0 19.25%;
		max-width:19.25%;
		margin-bottom:0px;
	}
}

.p-option__wrap{
	position:relative;
	padding:8rem 0px;
	margin-bottom:10rem;
}
.p-option__wrap::before{
	content:'';
	background-image:url("/wp-content/themes/yamatokensetsu/images/option.png");
	background-size:cover;
	    z-index: -1;
    opacity: 0.3;
    background-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
.p-option__inner li{
	text-align:center;
	max-width: 75%;
    margin: 0 auto 30px;
}
@media screen and (min-width: 560px) {
.p-option__inner li{
	flex:0 0 31.25%;
	max-width:31.25%;
	margin-bottom:40px;
}
}
.p-option__image{
	position:relative;
}
.p-option__image img{
	border-radius:16px 16px 0px 0px;
}
.p-option__name{
	position:absolute;
	bottom:0px;
	left:0px;
	color: #fff;
    background-color: rgb(0 0 0 / 65%);
    padding: 9px 0px;
    font-weight: bold;
    width: 100%;
    font-size: 1.8rem;
}
.p-option__price{
font-size: 2.4rem;
    border-bottom: 2px solid #01057F;
    color: #01057F;
    font-weight: bold;
    background: #fff;
}
.p-option__price span{
	font-size:1.8rem;
}
.float-menu{
	display:none;
}
@media screen and (max-width: 559px) {
.float-menu{
		width : 100%;
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 99999;
	}
	.float-menu li{
		width : 50%;
		float: left;
		text-align: center;
	}
	.float-menu li:first-child{
		background-color: #6092F6;
    color: #fff;
		
	}
	.float-menu li:last-child{
		background-color: #01057F;
    color: #454545;
	}
	.float-menu li a{
		position: relative;
        color: #fff;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
	}
	.p-floating__banner{
	  bottom: 70px;
	}
	
	.p-floating__banner{
	  bottom: 70px;
	}
.float-menu-tel{
  padding: 8px 0 !important;
}
  .float-menu-tel-cap{
    font-size: 9px;
  }
}
/* ページネーション全体 */
.pagination {
  margin: 40px auto;
  text-align: center;
  font-size: 16px;
}

/* nav構造 */
.pagination .navigation.pagination {
  display: inline-block;
}

/* nav-linksで横並び */
.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 各リンク共通 */
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ホバー時 */
.pagination .page-numbers:hover,
.pagination .page-numbers.is-hover:hover {
  background-color: #f0f0f0;
  border-color: #999;
  color: #000;
}

/* 現在のページ */
.pagination .page-numbers.current {
  font-weight: bold;
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* 前へ／次へ */
.pagination .prev,
.pagination .next {
  font-weight: normal;
}

/* アクセシビリティ：視覚非表示 */
.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
