@charset "utf-8";
/***********************************************************************************************************************
* 基本構造
***********************************************************************************************************************/
a,button{cursor: pointer; color:inherit; transition:opacity 0.3s ease;}
a:hover,button:hover{ opacity: 0.5;}

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

  a:hover,button:hover{ opacity: 1 !important;}
  a:active,button:active{ opacity: 1 !important;}
}

/*画像幅100%*/
img{ max-width: 100%; height: auto;}
img.wide{ width: 100%; height: auto;}

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

img{ max-width: none; height: auto; width: 100%;}
}
.abs{
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
}

/*画像切り替えなど*/
.sp{ display: none !important; }
.pc{ display:block !important; }

.sp2{ display: none !important; }
.pc2{ display:block !important; }

  @media screen and (max-width:1140px){
    .sp{ display:block !important; }
    .pc{ display: none !important; }
  }

  @media screen and (max-width:678px){
    .sp2{ display:block !important; }
    .pc2{ display: none !important; }
  }


/*ローディング*/
#loader-bg { position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; background: #fff; z-index: 10;}
#loader {display: block;position: absolute;top: 50%;width: 100%;height: 60px;left: 0;-webkit-transform: translate(0, -50%);transform: translate(0, -50%);text-align: center;z-index: 100;}
/*ローダー・サークル*/
.loader1{ width:45px; height:45px; border-radius:50%; border:2px solid rgba(0,0,0,0.2); border-top-color:rgba(0,0,0,0.4); box-sizing:border-box; display: inline-block; animation:loading 0.6s linear infinite; -webkit-animation:loading 0.6s linear infinite;}
  @keyframes loading{ 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)}}
  @-webkit-keyframes loading{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}

#all-wrap{ position: relative; opacity: 0; overflow: hidden;  overscroll-behavior: none; z-index: 1;}
#all-wrap.active{ opacity: 1;}

.gf1{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

#all-wrap{
  transform: translate3d(0,0,0);
  -webkit-overflow-scrolling:touch;
}

.test{
  height: 200vh;
}
* {
    -webkit-font-smoothing: antialiased;
}

/*------------------
レイアウト
------------------*/
html{
  overflow-x: hidden;
  width: 100%;
}

body{
  width: 100%;
  position: relative;
  font-size: 2rem;
  line-height:1.82;
  color: #444444;
  height: 100%;
  overflow-x: hidden;
}


@media screen and (max-width:1024px){
  body{
    font-size: 1.6rem;
  }
}

#container{
  padding-top: 0px;
  background:#fff;
}

/*@media screen and (max-width: 640px){
  body{
    font-size: 1.6rem;
  }
}*/


/*背景画像デフォルト設定*/
.bgcover{
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
}

em{
  color: #E0B500;
}

.contents{
  padding-top: 100px;
  /*padding-bottom: 100px;*/
}
.contents.about-us{
	padding-top: 0;
}
@media screen and (max-width:1024px){

  .contents{
    padding-top: 40px;
    /*padding-bottom: 40px;*/
  }
	.contents.about-us{
		padding-top: 0;
	}
}

/*------------------
ラップ
------------------*/
.cmn-wrap{
  max-width: 1100px;
  margin:0 auto;
  padding: 0 50px;
}
@media screen and (max-width:1024px){
  .cmn-wrap {
    padding: 50px 6.25% 0;
  }
	.srv-wrap{
		padding-top: 10px;
	}
	.contact-body .cmn-wrap {
    padding: 00px 6.25% 0;
  }

}

/*------------------
テーブル
------------------*/
.cmn-table{padding: 30px 0 50px;}

@media screen and (max-width:1024px){
	.cmn-table{padding: 0px 0 0px;}
}

.cmn-table table{
  width: 100%;
}
.cmn-table table th{
  width:135px;
  text-align: left;
  padding: 0.5em 1em;
  font-size: 1.6rem;
}

.cmn-table table td{
  width: calc(100% - 135px);
  text-align: left;
  font-size: 1.6rem;
}

.cmn-table table dl{
  display: flex;
}

.cmn-table table dl>dt{
  width: 90px;
}

.cmn-table table dl>dd{
  width: calc(100% - 90px);
}

.cmn-table td ul li,
.cmn-table2 td ul li{
  position: relative;
  padding-left: 15px;
}
.cmn-table td ul li:before,
.cmn-table2 td ul li:before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #666;
  border-radius: 50%;
}

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

  .cmn-table table,
  .cmn-table table tbody,
  .cmn-table table tr,
  .cmn-table table th,
  .cmn-table table td{
    display: block;
    padding: 0;
    width: 100%;
  }
  .cmn-table table th{
    margin-bottom: 0.3em;
  }
  .cmn-table table td{
    margin-bottom: 1em;
  }

  .cmn-table table dl>dt{
    width: 70px;
  }
}

/*------------------
テーブル2
------------------*/
.cmn-table2{}
.cmn-table2 table{
  width: 100%;
  text-align: left;
}
.cmn-table2 table thead th{
  text-align: left;
  padding: 0.5em 1em;
  background:#DDDDDD;
  border:1px solid #AAAAAA;

  text-align: center;
}
.cmn-table2 table tr.r2 {
  background: #F4F4F4;
}

.cmn-table2 table th{
  padding: 0.7em 1em;
  vertical-align: middle;
  width: 30%;
}
.cmn-table2 table td{
  padding: 0.7em 1em;

}

.cmn-table2 table th,
.cmn-table2 table td{
  vertical-align: middle;
  border:1px solid #AAAAAA;
}

.cmn-table2 table td small{
  font-size: 1.6rem;
  line-height: 1.42;
  display: inline-block;
}

.cmn-table2 table td .box{
  padding: 20px;
}


.cmn-table table td{
  text-align:left;
}

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

  .cmn-table2 table thead th:nth-child(1){
    width: 35%;
  }

  .cmn-table2 table thead th{
    text-align: left;
    padding: 0.5em 0.5em;
    font-size: 1.1rem;
  }

  .cmn-table2 table th,
  .cmn-table2 table td {
    font-size: 1.1rem;
    padding: 0.5em 0.5em;
  }

  .cmn-table2 table td small{
    font-size: 1rem;
  }

  .cmn-table2 table td .box {
    padding: 0;
  }
}

/*注記*/
.cmn-note>li{
  text-indent: -1em;
  margin-left: 1em;
  font-size: 1.6rem;
}

@media screen and (max-width:768px){
  .cmn-note>li{
    font-size: 1.4rem;
  }
}


/*------------------
ボタン
------------------*/
.cmn-button{
  display: inline-block;
  width: 168px;
  height: 51px;
  line-height: 51px;
  border:1px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.cmn-button.gray{
  border:1px solid #651111;
  background: #651111;
}

.cmn-button:hover,
.cmn-button2:hover{
  opacity: 0.5;
}

.cmn-button2{
  display: inline-block;
  width: 237px;
  height: 51px;
  line-height: 49px;
  border:1px solid #008C69;
  border-radius: 50px;
  color: #444;
  font-size: 1.6rem;
  text-align: center;
  background: #fff;
  transition: opacity 0.3s ease;
}

.cmn-button2.green{
  border:1px solid #651111;
  background: #651111;
  color: #fff;
}


@media screen and (max-width:1100px){
  .cmn-button{
    height: 42px;
    line-height: 42px;
    font-size: 1.6rem;
  }
}

/*
見出し
*/
.cmn-headline-l{
  margin-bottom: 20px;
}
.cmn-headline-l strong{
  display: inline-block;
  font-size: 6rem;
  line-height: 1.2;
}
.cmn-headline-l.name strong{
  font-size: 5rem;
}
.cmn-headline-l>span{
  font-size: 1.6rem;
  display: block;
  font-weight: normal;
}
.top-contents .cmn-headline-l{
	margin-bottom: 50px;
}
.cmn-headline-m{
  font-size: 3.6rem;
}
.cmn-headline-s{
  font-size: 2.4rem;
  line-height: 1.5;
  color: #868686;
}
.cmn-headline-s span{
  padding-right: 1em;
}
.cmn-headline-xs{
  font-size: 2.4rem;
  line-height: 1.5;
}
@media screen and (max-width:1024px){
  .cmn-headline-l{
    margin-bottom: 20px;
  }
  .cmn-headline-l strong{
    display: flex;
    font-size: 3.5rem;
    line-height: 1.2;
  }
	.cmn-headline-l.name strong{
	  font-size: 3.5rem;
	}
  .cmn-headline-l>span{
    font-size: 1.3rem;
  }
	.top-contents .cmn-headline-l{
		margin-bottom: 30px;
	}
  .cmn-headline-m{
    font-size: 2.4rem;
  }
  .cmn-headline-s{
    font-size: 1.5rem;
  }
  .cmn-headline-s span{
    padding-right: 0;
  }
  .cmn-headline-xs{
    font-size: 1.4rem;
  }
}


/*------------------
メイン見出し
------------------*/
.cmn-head strong{
  display: block;
  font-weight: 500;
  font-size: 9rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 25px;
}
.cmn-head em{
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}
.cmn-head em>span{
  display:inline-block;
}
@media screen and (max-width:768px){
  .cmn-head em{
    display: block;
    font-size: 4vw;
    font-weight: bold;
    color: #fff;
  }

  .cmn-head strong {
    margin-bottom: 0;
    font-size: 10vw;
    line-height: 1;
  }
}

/*------------------
ヘッダー
------------------*/
header {
  position: absolute;
  width: 100%;
}

header .inner{
    width: 100%;
  position: absolute;
  display: flex;
  justify-content: flex-end;
  padding: 60px 60px;
  z-index: 1000;
  left:0;
  top:0;
  height: 100px;
}

header .logo{
  position: absolute;
  left:60px;
  top:60px;
  width: 350px;
}
header .menu1{
  display: flex;
  justify-content: flex-end;
  line-height: 1.6rem;
  padding-right: 20px;
}

header .menu1>li{
  padding: 0 8px;
}

header .menu1>li>a {
  position: relative;
  padding: 19px 20px 14px;
  display: block;
  font-weight:500;
  font-size: 1.8rem;
  color: #FFF;
}

header .sns{
  display: flex;
  width: 74px;
  justify-content: space-between;
  margin-right: 130px;
}

header .sns>li {
  width: 25px;
  display: block;
  margin-top: 2px;
}

header nav .sns {
  display: flex;
  justify-content: flex-start;
  margin-top: 80px;
  padding-left: 35px;
  width: auto;
}

header nav .sns>li {
  width: 40px;
  margin-right: 40px;
}

header nav .sns>li img{
  width: 100%;
}

header nav{
  position: fixed;
  display: none;
  opacity: 1;
  top:0px;
  right:-30%;
  width: 30%;
  padding:0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.3s ease,right 0.3s ease;
  text-align: left;
  background:#651111;
  border-top: none;
  z-index: 10;
  overflow: auto;
  height: 100vh;
}

header .before{
  position: fixed;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  background: rgba(255,255,255,0.6);
  display: none;
  z-index: 2;
}

header nav.block {
  display: block;
}

header nav.block.active {
  opacity: 1;
  right:0px;
  transition: all 0.3s ease;
}
header nav .menu2 {
    padding-top: 143px;
}
header nav .menu2>li{
  margin-bottom: 25px;
}

header nav .menu2>li>a{
  font-size: 2.8rem;
  color:#fff;
  padding: 0px 45px;
  font-weight: 500;
  display: block;
}

header #menu-button-wrap {
  position: fixed;
  display: block;
  width: 90px;
  height: 70px;
  right: 76px;
  top: 47px;
  z-index: 20;
  display: flex;
  justify-content: center;
  z-index: 100;
}

header #menu-button {
  position: relative;
  display: block;
  width: 50px;
  height: 22px;
  cursor: pointer;
  margin-top: 27px;
  transition: all 0.3s ease;
}

header #menu-button>div{
  width: 100%;
  height: 2px;
  background: #FFF;
  position: absolute;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.fixed header #menu-button>div{
  background: #000;
}

header .active>#menu-button>div {
  background: #fff;
}

header #menu-button>div:nth-child(1){
  top: 0%;
  transform: translate(0%,0%);
}

header .active>#menu-button {
    top: 0px;
}

header .active>#menu-button>div:nth-child(1) {
  top: 50%;
  transform: translate(-5%,-50%) rotate(45deg);
}

header #menu-button>div:nth-child(2){
  top: 50%;
}

header .active>#menu-button>div:nth-child(2) {
  opacity: 0;
}

header #menu-button>div:nth-child(3){
  top: 100%;
  left: 0px;
  transform: translate(0%,0%);
}

header .active>#menu-button>div:nth-child(3) {
  top: 50%;
  transform: translate(-5%,-50%) rotate(-45deg);
}

@media screen and (max-width:1250px){
  header .logo {
    left:30px;
  }
  header .menu1>li>a {
    padding: 19px 10px 14px;
  }
  header #menu-button-wrap {
    right: 30px;
  }
  header .sns {
    margin-right: 75px;
  }
}

@media screen and (max-width:1100px){
  header {
    width: 100%;
    padding: 15px 20px;
  }

  header nav{
    right:-280px;
    width: 280px;
  }

  header .logo {
    position: absolute;
    left: 10px;
    top: 15px;
    width: 310px;
    display: block;
  }

  header .sns{
    display: none;
  }
  header #menu-button-wrap {
    width: 70px;
    height: 60px;
    right: 0;
    top: 0;
    z-index: 20;
  }
  header #menu-button {
    width: 38px;
    height: 14px;
    margin-top: 23px;
    right: 0;
  }
  header .menu1 {
    display: none;
  }

  header nav .menu2 {
    padding-top: 70px;
  }

  header .sns {
    margin-top: -2px;
    width: 64px;
    margin-right: 75px;
  }

  header .sns>li{
    width: 22px;
    margin-top: 0px;
  }
  header .sns>li>a{
    display: block;
  }
  header .sns>li>a img{
    vertical-align: middle;
  }
  header #menu-button>div{
    height: 1px;
  }

  header nav .menu2>li>a {
    font-size: 2rem;
    color: #fff;
    padding: 0px 35px;
  }

}
@media screen and (max-width:395px){
  header .logo {
    width: 75%;
  }
}

/*******************************************
footer
********************************************/
/*gotop*/
#pagetop{
  position: fixed;
  width: 64px;
  height: 64px;
  bottom:40px;
  right:20px;
  opacity: 1;
  transition: all 0.4s ease-out;
  cursor: pointer;
  z-index: 2;
  overflow: hidden;
}

#pagetop.fixed{
  position: fixed;
}

#pagetop span{
  display: inline-block;
  margin-bottom: -110px;
  overflow: hidden;
  width: 64px;
  height: 64px;
  background:#651111;
  border-radius: 50px;
  overflow: hidden;
  /*border:1px solid #666666;*/
  transition: all 0.4s ease-out;
}

#pagetop.active span{
  margin-bottom: 0px;
  opacity: 1;
}
@media screen and (max-width:1024px){

  #pagetop{
    position: fixed;
    width: 32px;
    height: 32px;
  }

  #pagetop span{
    width: 32px;
    height: 32px;
  }
}

/*------------------
footer-banner
------------------*/
.footer-banner{
  background: #fff;
}
.footer-banner ul{
  display: flex;
  padding: 0 6.25% 38px;
  justify-content: center;
}
.footer-banner>ul>li{
  margin: 0 5px;
  border:1px solid #CCCCCC;
  width: 240px;
}
.footer-banner>ul>li>a{
  padding: 0px 0;
  display: block;
}
.footer-banner>ul>li>a img{
  width: 100%;
}

@media screen and (max-width:768px){
  .footer-banner>ul {
    display: block;
    padding: 0px 6.25% 20px;
    max-width: 768px;
    margin: 0 auto;
  }
  .footer-banner>ul>li{
    width: 100%;
    margin: 0;
    margin-bottom: 18px;
  }
}

.footer-wrap {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

footer{
  position: relative;
  padding-top: 75px;
  padding-bottom: 30px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 508px;
  color: #fff;
  overflow: hidden;
  background:transparent;
}

.footer-bg{
  position: fixed;
  left:0;
  bottom:0;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100%;
  min-height: 1000px;
  z-index:  0;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.footer-bg.active{
  opacity: 1;
}
.footer-bg img{
  position: absolute;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  object-fit: cover;
}

footer .inner{
  position: relative;
  z-index:  3;
}

footer .logo{
  display: inline-block;
  margin-bottom: 30px;
  max-width: 350px;
}

footer .block{
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

footer .block .box1{
  width: 50%;
}

footer .block .box2{
  width: 247px;
}

footer .menu{
  padding-left:50px;
  margin-bottom: 25px;
}
footer .menu>li{
  display: block;
  margin-bottom: 20px;
}
footer .menu>li>a{
  color:#fff;
  font-size: 2.2rem;
}
footer .contact-button{
  display: block;
  margin-top: 10px;
  margin-bottom: 20px;
}
footer .contact-button .cmn-button{
  width: 100%;
  font-size: 2.2rem;
}
footer .sns{
  display: flex;
  justify-content: center;
}
footer .sns>li{
  margin: 0 10px;
}
footer .copyright{
  font-size: 1.2rem;
  font-weight: 500;
}

@media screen and (max-width:1100px){
  footer{
    padding-top: 30px;
    padding-bottom: 30px;
    min-height: 348px;
    color: #fff;
  }

  footer .logo {
    display: inline-block;
    margin-bottom: 30px;
    padding-left: 20px;
    width: 80%;
  }
  footer .block{
    display: block;
    padding: 0 30px;
    margin-bottom: 30px;
  }

  footer .block .box1{
    width: 100%;
  }

  footer .block .box2{
    width: 100%;
  }

  footer .menu{
    padding-left:10px;
  }
  footer .menu>li{
    margin-bottom: 0px;
  }
  footer .menu>li>a {
    color: #fff;
    padding-bottom: 20px;
    font-size: 1.4rem;
  }
  footer .contact-button {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  footer .contact-button .cmn-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  footer .sns{
    display: flex;
    justify-content: center;
  }
  footer .sns>li{
    margin: 0 10px;
  }
  footer .copyright{
    font-size: 1rem;
    font-weight: 500;
  }

}

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

  footer .bg{
    height: 100vh;
    background-position:60% center;
    background-image: url(../img/footer_bg_sp.jpg);
  }


}

/*******************************************
トップページ
********************************************/
/*------------------
トップ：メインビジュアル
------------------*/

.top-main-visual{
  position: relative;
  height: 100vh;
  z-index: 1;
}

.main-visual{
  position: relative;
  height: 600px;
  z-index: 1;
}

.main-visual img{
  position: absolute;
  object-fit: cover;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.main-visual .text,
.top-main-visual .text{
  position: absolute;
  display: flex;
  left:10%;
  top:0;
  width: 100%;
  height: 100%;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.top-main-visual .swiper-slide img{
  width: 100%;
  height: 100vh;
  object-fit:cover;
}

.top-main-visual .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  border-radius: 100%;
  opacity:1;
  border:1px solid #fff;
  background: transparent;
}

.top-main-visual .swiper-pagination-bullet-active {
  border:1px solid #fff;
  background: #fff;
}

.top-main-visual .swiper-container-horizontal>.swiper-pagination-bullets,
.top-main-visual .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 50px;
  left: 0;
  width: 100%;
}

.top-main-visual .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0px 10px;
}

@media screen and (max-width:1024px){
	.top-main-visual{
	  height: 70vh;
	}
	.top-main-visual .swiper-slide img{
	  height: 70vh;
	}
  .top-main-visual .text {
    left: 6.25%;
    bottom: 10%;
    width: 100%;
    z-index: 2;
    top: auto;
    display: block;
    height: auto;
  }

  .main-visual{
    height: auto;
    /*padding-top: 56.25%;*/
    padding-top: 70%;
  }

  .main-visual img{
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    object-position: 40% 0;
  }

  .top-main-visual .swiper-container-horizontal>.swiper-pagination-bullets,
  .top-main-visual .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 30px;
    left: 0;
    width: 100%;
  }

}

/*------------------
トップ：about
------------------*/
.top-contents{
  padding-bottom: 100px;
}

@media screen and (max-width:1024px){
  .top-contents {
    padding-bottom: 20px;
  }
}

/*------------------
トップ：about
------------------*/
.top-about{
  padding-top: 130px;
  margin-bottom: 100px;
}
.top-about .block{
  display:flex;
  flex-direction: row-reverse;
}
.top-about .block .box1{
  width: 320px;
}

.box-item{
  position: relative;
  overflow:hidden;
}
.box-item .mask{
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
}

.box-item .mask::after{
  content:"";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top:0;
  left:0%;
  transform: skewX(0deg);
  background-color: rgba(255,255,255,1);
}
.top-about .block .box2{
  width: calc(100% - 320px);
  padding-left: 66px;
}
.top-about .block .box2 .message{
  margin-bottom: 40px;
}

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

  .top-about {
    padding-top: 30px;
    margin-bottom: 50px;
  }

  .top-about .block{
    display: flex;
    flex-direction:column;
  }
  .top-about .block .box1{
    width: 100%;
    padding:0;
  }
  .top-about .block .box2{
    width: 100%;
    padding:0;
    margin-bottom: 30px;
  }

  .top-about .block .box2 .message {
    margin-bottom: 20px;
  }
}


/*------------------
トップ：service
------------------*/
.bg-gray  {
  background: #EEEEEE;
}
.top-service{
  padding-top: 130px;
  padding-bottom: 100px;
}

.top-service .block{
  display:flex;
}
.top-service .block .box1{
  width: 320px;
}
.top-service .block .box2{
  width: calc(100% - 320px);
  padding-left: 28px;
}
.top-service .block .box2 .message{
  margin-bottom: 40px;
}

.top-service .block .box2 .list{
  padding-left: 10px;
  font-weight: bold;
  margin-top: -30px;
  margin-bottom: 30px;
}
.top-service .block .box2 .list>li{
  margin-bottom: 10px;
}

.top-service .block .box2 .cmn-button{
  margin-left: 10px;
}

.bg-gray .box-item .mask::after{
  background-color: #EEEEEE;
}

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

  .top-service {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .top-service .block{
    display: flex;
    flex-direction:column;
  }
  .top-service .block .box1{
    width: 100%;
    padding:0;
  }
  .top-service .block .box2{
    width: 100%;
    padding:0;
    margin-bottom: 30px;
  }
  .top-service .block .box2 .list {
    margin-top: 0;
  }

  .top-service .block .box2 .message {
    margin-bottom: 20px;
  }
}


/*------------------
トップ：fee
------------------*/
.top-fee{
  position: relative;
  overflow: hidden;
}

.top-fee .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 1000px;

}

.top-fee .bg img{
  position: relative;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
  object-fit:cover;
  object-position:10% 80%;
}



.top-fee .block{
  display:flex;
  color: #fff;
  justify-content: flex-end;
}

.top-fee .block .box2{
  position: relative;
  width: calc(100% - 320px);
  padding-left: 66px;
  display: flex;
  align-items: center;
  height: 576px;
}

.top-fee .block .box2 .inner{
  display: inline-block;
}

.top-fee .block .box2 .message{
  margin-bottom: 40px;
}

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

  .top-fee .block .box2 {
    position: relative;
    width: 100%;
    padding-left: 0px;
    height: 600px;
  }
}

/*------------------
top:News
------------------*/
.top-column{
	padding: 100px 0;
}
.news-list {
    padding: 0 0px;
}

.news-list>article{
    padding: 10px 0;
    border-bottom: 1px solid #DDD;
}
.news-list>article>a{
    display: flex;
    width: 100%;
}

.news-list>article:last-child{
    margin-bottom: 0px;
}

.news-list>article>a time {
    width: 90px;
    display: block;
    white-space: nowrap;
    font-size: 1.4rem;
    line-height: 2.5;
}


.news-list>article>a p{
    padding-left: 1em;
    width: 100%;
}


.news-list-link{
    position: relative;
}

.news-list-link a {
    position: absolute;
    right: 0;
    top: -60px;
    display: inline-block;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 5px;
}


    @media screen and (max-width:1100px){
		.top-column{
			padding: 0px 0 30px;
		}
        .news-list {
            padding: 0 0px;
        }

        .news-list>article>a{
            flex-wrap:wrap;
        }

        .news-list>article:last-child {
            margin-bottom: 5px;
        }

        .news-list>article>a time {
            width:auto;
            display: block;
            white-space: nowrap;
            font-size: 1.3rem;
            margin-right: 5px;
        }

         .news-list>article>a i {
            margin-top: -2px;
            width: 90px;
            margin-left: 0.5em;
            font-size: 1.1rem;
        }

        .news-list>article>a p {
            padding-left: 0;
            font-size: 1.3rem;
            margin-top: 10px;
        }

        .news-list-link{
            position: relative;
        }

        .news-list-link a {
            top: -39px;
            display: inline-block;
            font-weight: bold;
            font-size: 1.2rem;
            padding: 5px;
        }



    }

/*******************************************
about_me
********************************************/
/*------------------
about_me01
------------------*/
.about-section01{
  padding-top: 0px;
  /*margin-bottom: 100px;*/
  padding: 100px 0;
}
.about-section01 .block{
  display:flex;
  flex-direction: row-reverse;
}
.about-section01 .block .box1{
  width: 320px;
}

.box-item{
  position: relative;
  overflow:hidden;
}
.box-item .mask{
  position: absolute;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
}

.box-item .mask::after{
  content:"";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top:0;
  left:0%;
  transform: skewX(0deg);
  background-color: rgba(255,255,255,1);
}


.about-section01 .block .box2{
  width: calc(100% - 320px);
  padding-left: 66px;
}
.about-section01 .block .box2 .message{
  margin-bottom: 40px;
}

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

  .about-section01 {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }

  .about-section01 .block{
    display: flex;
    flex-direction:column;
  }

  .about-section01 .block .box1{
    width: 100%;
    padding:0;
    order: 1;
  }
  .about-section01 .block .box2{
    width: 100%;
    padding:0;
    margin-bottom: 30px;
    order: 2;
  }

  .about-section01 .block .box2 .message {
    margin-bottom: 20px;
  }
  .box-item .pro-img{text-align: center; margin-bottom: 30px;}
  .box-item .pro-img img{width: 90%;}
  
}

/*------------------
about_me02
------------------*/
.about-section02{
  padding-top: 80px;
  padding-bottom: 50px;
}

@media screen and (max-width:1024px){
  .about-section02 {
    padding-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 40px;
  }
}


/*------------------
about_me03
------------------*/
.about-section03{
  padding-top: 130px;
  padding-bottom: 100px;
}

.about-section03 .block{
  display: flex;
  width: 100%;
}

.about-section03 .box1{
  width: 320px;
}

.about-section03 .box2{
  padding: 20px;
  width: calc(100% - 320px);
}

@media screen and (max-width:1024px){
  .about-section03 {
    padding-top: 0px;
    padding-bottom: 30px;
  }

  .about-section03 .block{
    display: block;
  }

  .about-section03 .box1{
    width: 100%;
  }

  .about-section03 .box2{
    padding: 0px;
    width: 100%;
    margin-bottom: 20px;
  }

}

/*------------------
about_me04
------------------*/
.about-section04{
  position: relative;
  padding-top: 130px;
  padding-bottom: 100px;
  overflow: hidden;
}

.about-section04 .block{
  position: relative;
  z-index: 2;
}

.about-section04 .message p{
  margin-bottom: 1.5em;
}

.about-section04 .bg{
  position: absolute;
  background-attachment: fixed;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:1024px){
  .about-section04 {
    position: relative;
    padding-top: 30px;
    padding-bottom: 0px;
    overflow: hidden;
  }

}
/*******************************************
サービス
********************************************/
.service-block{
  display: flex;
}
.service-block .box1{
  width: 45.5%;
  padding-left: 0px;
  padding-right: 30px;
}
.service-block .box2{
  width: 54.5%;
}
.service-block .box2 p{font-size: 1.6rem;}
.service-block .box1>.title{
  font-size: 2rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0px;
}

.service-block .box1>.title> .devideText{
  margin-bottom: 15px;
}

.service-head{
  padding-top: 0px;
  padding-bottom: 80px;
}

.service-section{
  padding-top:50px;
  padding-bottom:50px;
}
.contents-bottom{
  position: relative;
  height: 608px;
  overflow:hidden;
}

.contents-bottom .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}
@media screen and (max-width:1024px){
  .contents-bottom {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
}

@media screen and (max-width:1024px){
  .service-head {
    padding-top: 0px;
    padding-bottom: 20px;
  }
  .service-block{
    display: block;
  }
  .service-block .box1{
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  .service-block .box2{
    width: 100%;
  }
  .service-block .box1>.title{
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .service-section{
    padding-top:30px;
    padding-bottom:30px;
  }
  .service-bottom .bg {
    background-position: 80% 0;
    background-size: cover;
  }
}

/*------------------
Column
------------------*/
/*2カラムレイアウト*/
.cmn-row {
  display: flex;
  max-width: 1100px;
  margin: 0 auto 0;
  padding: 0 50px 50px;
}
.cmn-row-main{
  width: calc(100% - 220px);
  padding-right: 40px;
}
.cmn-row-aside{
  width: 220px;
}

.cmn-row-aside>.title {
  font-size: 2.2rem;
  border-bottom: 5px solid #651111;
  padding: 0px 15px 0px;
  margin-bottom: 15px;
}

.column-list-main .column-list{
  display: block;
}

.column-list>li .inner>.title {
  font-size: 1.8rem;
}

.column-list-main .column-list>li:not(:last-child){
  padding-bottom: 70px;
}

.column-list-main .column-list>li{
  display: flex;
}

.column-list-main .column-list .image{
  width: 220px;
}

.column-list-main .column-list>li .inner .info .cate{
  width: 84px;
}

.column-list-main .column-list>li .inner .info .cate {
  margin-top: 0px;
}

.column-list-main .column-list>li .inner .title{
  margin-bottom: 5px;
}
.column-list-main .column-list>li .inner p{
  line-height: 1.4;
  font-size: 1.4rem;
}

.column-list-main .column-list .inner{
  padding-left: 0px;
}

.column-list-main .column-list{
  display: block;
}

/*.cmn-row-aside*/
.cmn-row-aside .group:not(:last-child){
  margin-bottom: 40px;
}
.cmn-row-aside .column-list{
  display: block;
}
.column-list>li .inner .title {
  font-size: 1.8rem;
}

.cmn-row-aside .column-list>article:not(:last-child){
  padding-bottom: 70px;
}

.cmn-row-aside .column-list>li{
  display: flex;
  padding-bottom: 0px;
}


.cmn-row-aside .column-list>li .inner .info{
  display: block;
}
.cmn-row-aside .column-list>li .inner .info time {
  font-size: 1rem;
  display: block;
}



.cmn-row-aside .column-list>li .inner .title {
  margin-bottom: 5px;
  font-size: 1.4rem;
}
.cmn-row-aside .column-list>li .inner p{
  line-height: 1.4;
  font-size: 1.4rem;
}

.cmn-row-aside .column-list .inner {

  padding-left: 0px;
}


.cmn-row-aside .cate-list>li {
  font-size: 1.6rem;
  font-weight: bold;
  color: #008C67;
}

.cmn-row-aside .tags-list{
  display: flex;
  flex-wrap:wrap;
}

.cmn-row-aside .tags-list>li {
  font-size: 1.8rem;
  color: #008C67;
  margin-right: 1em;
}

.cmn-row-aside .archives-list>li {
  font-size: 1.6rem;
  color: #008C67;
  font-weight: bold;
  margin-bottom: 10px;
}

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

  .cmn-row{
   display: block;
   margin-top: 0px;
   padding: 0 6.25%;
  }
  .cmn-row-main{
    width: 100%;
    padding-right: 0px;
  }
  .cmn-row-aside{
    width: 100%;
    padding-bottom: 30px;
  }

  .cmn-row-aside>.title {
    font-size: 1.6rem;
    border-bottom: 3px solid #444444;
    padding:0;
    margin-bottom: 15px;
  }
  .column-list>li .inner>.title {
    font-size: 1.2rem;
  }

  .column-list-main .column-list>li{
    display: block;
  }

  .column-list-main .column-list>li:not(:last-child){
    padding-bottom: 0px;
  }

  .column-list-main .column-list>li .inner time{
    font-size: 1rem;
  }

  .column-list-main .column-list>li .inner .info .cate{
    width: 54px;
  }

  .column-list-main .column-list>li .inner .info .cate {
    margin-top: 0px;
    font-size: 1rem;
  }

  .column-list-main .column-list>li .inner .title{
    margin-bottom: 5px;
  }
  .column-list-main .column-list>li .inner p{
    line-height: 1.4;
    font-size: 1.2rem;
  }
  .column-list-main .column-list .image{
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .column-list-main .column-list .inner{
    width: 100%;
    padding-left:0px;
  }

  /*.cmn-row-aside*/
  .cmn-row-aside .column-list{
    display: block;
    padding-top: 15px;
  }
  .column-list>li .inner .title {
    font-size: 1.4rem;
  }

  .cmn-row-aside .column-list>article:not(:last-child){
    padding-bottom: 70px;
  }

  .cmn-row-aside .column-list>li{
    display: flex;
    padding-bottom: 10px;
  }

  .cmn-row-aside .column-list .image{
    width: 34%;
  }

  .cmn-row-aside .column-list>li .inner .info{
    display: block;
  }
  .column-list>li .inner .info time {
    font-size: 1rem;
    display: block;
  }

  .cmn-row-aside .column-list>li .inner .info .cate{
    font-size: 1rem;
    width: 56px;
  }

  .cmn-row-aside .column-list>li .inner .title {
    margin-bottom: 5px;
    font-size: 1.4rem;
  }
  .cmn-row-aside .column-list>li .inner p{
    line-height: 1.4;
    font-size: 1.2rem;
  }

  .cmn-row-aside .column-list .inner {
    width: 100%;
    padding-left: 0px;
  }


  .cmn-row-aside .cate-list>li {
    font-size: 1.4rem;
  }

  .cmn-row-aside .tags-list>li {
    font-size: 1.6rem;
    margin-right: 1em;
  }

  .cmn-row-aside .archives-list>li {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
}

/*******************************************
column-detail
********************************************/
/*------------------
column-detail
------------------*/
.column-detail{
  font-size: 1.6rem;
}

.column-detail .info{
  display: flex;
}
.column-detail>.info time{
  font-size: 1.2rem;
  display: block;
  margin-right: 1em;
}

.column-detail .info .cate{
  font-size: 1.1rem;
  border:1px solid #008C68;
  border-radius: 3px;
  color: #008C67;
  line-height:17px;
  height:  19px;
  /*width: 84px ;*/
  text-align: center;
  margin-top: 2px;
  padding: 0 5px;
}

.column-detail .headline{
  font-size: 2.6rem;
  font-weight:  bold;
  margin-bottom: 15px;
}

.column-detail .main-image{
  margin-top: 20px;
  margin-bottom: 30px;
}

.column-detail .index-box{
  padding:17px 30px;
  background: #EEEEEE;
  border:1px solid #CCCCCC;
  margin-bottom: 50px;
  font-size: 1.6rem;
  line-height: 1.9;
  font-weight:  bold;
}

.column-detail .index-box .title{
  margin-bottom: 5px;
}

.column-detail .index-box ul.fl1>li{
  text-indent: -1.1em;
  margin-left: 1.1em;
}
.column-detail .index-box a{
  text-decoration: none;
}

.column-detail .index-box ul.fl2>li{
  text-indent: -1.5em;
  margin-left: 1.5em;
}

.column-list-group{
  position: relative;
}
.column-list-group:not(:last-child){
  position: relative;
  margin-bottom: 80px;
}

.column-list-group .column-list-main{
  margin-top: 40px;

}

.column-list-group .button{
  position: absolute;
  right:0;
  top:-20px;
}

.column-list-group .button .cmn-button{
  text-decoration: none;
}

.column-detail .tag-block{
  display: flex;
  margin-bottom: 40px;
}
.column-detail .tag-block .box1{
  font-size: 2.2rem;
  white-space: nowrap;
  padding-right: 10px;
}
.column-detail .tag-block .box2 ul{
  display: flex;
  flex-wrap:wrap;
  margin-top: 5px;
}
.column-detail .tag-block .box2 ul>li{
  margin-right: 1em;
  color: #008C66;
}
.column-detail .tag-block .box2 ul>li>a{
  text-decoration: none;
}

.column-detail .sns{
  display: flex;
  margin-bottom: 60px;
}
.column-detail .sns>li{
  margin-right: 17px;
}

.column-detail .sns>li>a{
  display: block;
  width: 159px;
  height: 49px;
  line-height: 49px;
  border-radius: 30px;
  background-position: 25px center;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding-left: 30px;
  background-size: 24px;
}

.column-detail .sns>li>a.tw{
  background-image: url(../img/icon_twitter_w_l.png);
  background-repeat: no-repeat;
  background-color: #4CCDF5;
}

.column-detail .sns>li>a.fb{
  background-image: url(../img/icon_facebook_w_l.png);
  background-repeat: no-repeat;
  background-color: #3C5A96;
}



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


  .column-detail{
    font-size:  1.3rem;
  }

  .column-detail .headline{
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  .column-detail .main-image{
    font-size:  1.3rem;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .column-detail .index-box {
    padding: 10px 10px;
    background: #EEEEEE;
    border: 1px solid #CCCCCC;
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: bold;
  }

  .column-detail .sns>li>a {
    display: block;
    width: 110px;
    height: 35px;
    line-height: 35px;
    background-position: 10px center;
    padding-left: 23px;
    background-size: 20px;
  }

  .column-list-group:not(:last-child) {
    position: relative;
    margin-bottom: 50px;
  }

  .column-list-group .button {
      right: 0;
      top: -7px;
  }
  .column-list-group .button .cmn-button {
    height: 35px;
    line-height: 35px;
    font-size: 1.3rem;
    width: 110px;
  }

  .column-list-group .column-list-main {
    margin-top: 25px;
  }

}

/********************************************
article-detail
********************************************/
.article-detail {
  font-weight: 500;
  line-height: 2;
  padding: 0 0 20px;
  line-height:  1.4;
}

.article-detail a {
  /*color: #d91e10;*/
  text-decoration: underline;
}

.article-detail-info{
  padding-top: 60px;
  display: flex;
  margin-bottom: 10px;
}

.article-detail-teikei{
  text-align: right;
  margin-bottom: 0.5em;
  margin-right: 1em;
}
.article-detail-teikei h2{
  font-weight: 300;
}
.article-detail-time{
  position: relative;
  font-size: 1.6rem;
  font-weight: bold;
  padding-right: 1em;
  margin-right: 1em;
  color: #818181;
}

.article-detail-time::after{
  content: "";
  position: absolute;
  right:0;
  top:0;
  width: 1px;
  height: 16px;
  background: #818181;
}

.article-detail-info i{
  font-size: 1.6rem;
  color: #d91e10;
  font-weight: bold;
}

.article-detail img{
    max-width: unset;
    width:100%;
}

.article-detail .block{
    margin: 2em 0;
}
.sup,
.article-detail-ttl>sup,
.article-detail sup{
    font-size: 1.2rem;
    vertical-align :super;
}

.work-detail-btn{
  margin-bottom: 80px;
}
.work-detail-btn a{
  margin: 0 auto;
}

.article-detail-single-img {
    padding: 0;
    margin: 30px 0;
}


.article-detail-single-img img{
  width: auto;
  max-width: 100%;
}

.article-detail-item {
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.6;
}

.article-detail-ttl {
  font-size: 3.2rem;
  line-height: 1.68;
  font-weight: bold;
  margin-bottom: 60px;
}

.article-detail-ttl-l {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 1em;
  font-weight: bold;
  padding: 5px 20px;
}

.article-detail-ttl-l::after {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 100%;
  top: 0;
  left: 0;
  background: #651111;
}

.article-detail-ttl-m {
  font-size: 2rem;
  margin-bottom: 0.7em;
  font-weight: bold;
  color: #444444;
}

.article-detail-ttl-s{
  position: relative;
  width: auto;
  display: inline-block;
  margin-bottom: 1em;
  font-size: 1.8rem;
  font-weight: bold;
}

.article-detail-ttl-s.underline{
  background:linear-gradient(transparent 97%, #444444 3%);
}


.article-detail-dl{
  text-align:   left;
  margin-bottom: 40px;

}

.article-detail-ttl-bg,
.article-detail-dl>dt{
  min-width: 96px;
  display: inline-block;
  background: #ddd;
  text-align: center;
  padding:5px 15px;
  margin-bottom: 15px;
}

.article-detail-tbl {
  width: 100%;
  margin: 10px 0 10px;
}

.article-detail-ytb{
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 30px;
}

.article-detail-ytb iframe{
  position: absolute;
  width: 100%;
  height: 100%;
  left:0;
  top:0;
}

.article-detail-tbl>thead>tr>th{
    border:1px solid #AAAAAA;
    background: #EEEEEE;
    padding: 0.8em 1em;
    text-align: center;
}

.article-detail-tbl>thead>tr>td{
    border:1px solid #AAAAAA;
    background: #DDDDDD;
    padding: 0.8em 2em;
    text-align: center;
    vertical-align: middle;
}

.article-detail-tbl tr>th{
  padding: 0.8em 1em;
  text-align: left;
  border:1px solid #AAAAAA;
  vertical-align: middle;
  text-align: left;
  font-weight: bold;
  background: #DDDDDD;
  white-space: nowrap;
}

.article-detail-tbl tr>td {
    padding: 0.8em 1em;
    text-align: left;
    border: 1px solid #AAAAAA;
    vertical-align: middle;
}

.article-detail-tbl.type2 tr>th{
    width:350px;
    background: #fff;
    text-align: left;
}

 .article-detail-note {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

 .article-detail-note>li{
    position: relative;
    padding-left: 1.5em;
}

 .article-detail-note>li::after{
    content:"※";
    position: absolute;
    display: block;
    width: 1em;
    height: 1em;
    top:0;
    left:0;
}

.article-detail-list{
    margin-bottom: 30px;
}

.article-detail-list>li{
    position: relative;
    padding-left: 1em;
}

.article-detail-list>li::after{
    content:"・";
    position: absolute;
    display: block;
    width: 1em;
    height: 1em;
    top:0;
    left:0;
}

.article-detail-ast>li{
    position: relative;
    padding-left: 2em;
    list-style-type: none;
    margin-left: 0;
    counter-increment: number;
    font-size: 1.3rem;
}

.article-detail-ast>li::after {
    position: absolute;
    display: block;
    width: auto;
    height: 1em;
    top: 0px;
    left: 0.5em;
    content: counter(number);
}


.article-detail-ast>li::before{
    content:"*";
    left:0;
    position: absolute;
    display: block;
    width: 1em;
    height: 1em;
    top:0;
    left:0;
}

.article-detail-ast>li>i>sup{
    text-align:top;
    font-size: 1.6rem;
}


.article-detail-link-box{
    margin: 20px 0;
    font-size: 1.3rem;
}

.article-detail-link{
    display: inline-block;
    text-decoration: underline;
    color: #00468C;
}

.article-detail  figcaption{
    display: block;
    padding: 5px 0;
    font-size: 1.3rem;
    text-align: center;
}

.article-detail-two-img,
.article-detail-three-img{
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.article-detail-two-img>figure{
    width:49%;
    text-align: center;
}

.article-detail-three-img>figure{
    width:32%;
    text-align: center;
}

.article-detail-two-img figure img,
.article-detail-three-img figure img{
    width: auto;
    max-width: 100%;
}

.article-detail-four-img{
    display: flex;
    flex-wrap:wrap;
    margin-bottom: 30px;
}

.article-detail-four-img>figure{
    width: 23.5%;
    margin-right: 2%;
}

.article-detail-four-img>figure:nth-child(4n){
    margin-right: 0;
}

.article-detail-four-img>figure>figcaption{
    text-align: left;
}

.article-detail-block{
  overflow:hidden;
  margin: 0 0 40px;
}

.article-detail-block.left figure{
    width: 40%;
    margin-right: 20px;
    margin-bottom: 10px;
    float:left;
    text-align: center;
}

.article-detail-block.right figure{
    width: 40%;
    margin-left: 20px;
    margin-bottom: 10px;
    float:right;
    text-align: center;
}

.article-detail-block.left figure img,
.article-detail-block.right figure img{
    width: auto;
    max-width: 100%;
}

.article-detail-clear .article-detail-block{
    display: flex;
    width: 100%;
}

.article-detail-clear .article-detail-block.right{
    flex-direction: row-reverse;
}

.article-detail-clear .article-detail-block.right figure,
.article-detail-clear .article-detail-block.left figure{
    float: none;
}

.article-detail-clear .article-detail-block.right figure img,
.article-detail-clear .article-detail-block.left figure img{
    width: auto;
}

.article-detail-clear .article-detail-txt{
     width: 75%;
}

.article-detail-block figure{
    margin-bottom: 15px;
}

.article-detail-block figcaption{
    font-size: 1.3rem;
    text-align: left;
}

.article-detail-contact{
    border:4px solid #CCCCCC;
    padding: 20px;
    font-size: 1.6rem;
    margin: 50px 0;
}

.article-detail-contact-ttl{
    margin-bottom: 15px;
}

.article-detail-contact-msg{
    font-size: 1.6rem;
}

.article-detail-contact-link{
    color:#00468C;
    text-decoration: underline;
}


.article-detail-caution ul>li{
    display: flex;
    font-size: 1.3rem;
}
.article-detail-caution ul>li>i{
    white-space: nowrap;
    display: block;
    margin-right: 0.4em;
}

.article-detail-link{
    position: relative;
    display: inline-block;
    text-align: center;
    font-weight: bold;
}

.article-detail-link-smaple {
    display: flex;
    margin-top: 15px;
    margin-bottom: 50px;
    justify-content: center;
    align-items: center;
}

.article-detail-link-smaple>div{
    font-weight: bold;
    padding-right: 15px;
}

.article-detail small{
    font-size: 1.3rem;
}


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

  .article-detail-wrap{
    padding: 0 7%;
  }

  .article-detail-info{
    padding-top: 30px;
    display: flex;
    margin-bottom: 10px;
  }

  .article-detail-item {
    margin-bottom: 30px;
  }

  .article-detail-ttl {
      font-size: 2rem;
      line-height: 1.68;
      font-weight: bold;
      margin-bottom: 30px;
  }

 .article-detail-ttl-l{
      font-size: 2rem;
  }

 .article-detail-ttl-m{
    font-size: 1.8rem;
    margin-bottom: 0.5em;
  }

  .article-detail-ttl-s {
    margin-bottom: 0.5em;
    font-size: 1.6rem;
  }

  .article-detail-tbl-wrap{
     overflow-x:auto;
     margin-bottom: 30px;
  }

  .article-detail-tbl {
      width: 100%;
      margin: 10px 0 20px;
      font-size: 1.1rem;
      overflow: hidden;
  }

  .article-detail-tbl>thead>tr>th {
      white-space: nowrap;
  }

  .article-detail-tbl>tbody>tr>th {
      padding: 0.8em;
      text-align: left;
      white-space: nowrap;
  }
  .article-detail-tbl>tbody>tr>td {
      padding: 0.8em;
      font-size: 1.3rem;
      text-align: left;
  }

  .article-detail-contact {
      padding: 15px;
      font-size: 1.3rem;
      margin: 30px 0;
  }

  .article-detail-caution ul>li {
      display: flex;
      font-size: 1rem;
  }

  .article-detail-ast,
  .article-detail-note {
      margin-top: 20px;
      margin-bottom: 20px;
  }

  .article-detail-ast>li,
  .article-detail-note>li {
      position: relative;
      font-size: 1rem;
  }

  .article-detail-ast>li>i>sup{
      font-size: 1.3rem;
  }

  .article-detail-two-img,
  .article-detail-three-img {
      margin-bottom: 30px;
  }

  .article-detail-block {
    margin-top: 8px;
    margin-bottom: 30px;
  }

  .article-detail-block.left figure{
    width: 35%;
    margin-right: 15px;
  }

  .article-detail-block.right figure{
    width: 35%;
    margin-left: 15px;
  }

  .article-detail-clear .article-detail-block{
    display: block;
    width: 100%;
  }

  .article-detail-clear .article-detail-block.left,
  .article-detail-clear .article-detail-block.right{
    display: block;
    width: 100%;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .article-detail-clear .article-detail-block.left figure,
  .article-detail-clear .article-detail-block.right figure {
    width:auto;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .article-detail-clear .article-detail-img,
  .article-detail-clear .article-detail-txt {
    width: 100%;
  }

  .article-detail-tbl.type2{
    width: 100%;
  }
  .article-detail-tbl.type2 tr>td,
  .article-detail-tbl.type2 tr>th{
      width:50%;
      white-space: normal;
      background: #fff;
  }
  .article-detail-btn {
      border-top: 1px solid #b5b5b5;
      text-align: center;
      padding-top: 40px;
      margin-top: 40px;
      margin-bottom: 40px;
  }

  .article-detail  figcaption{
    font-size: 1.1rem;
  }
}

/*------------------
吹き出し
------------------*/
.article-detail-comment{
  margin-bottom: 40px;
}
.article-detail-comment .group{
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}
.article-detail-comment .group.right{
  flex-direction: row-reverse;
}
.article-detail-comment .group .image{
  width: 84px;
}
.article-detail-comment .group .text{
  width: calc(100% - 84px);
}
.article-detail-comment .group.left .text {
  text-align: left;
  padding-left: 20px;
}
.article-detail-comment .group.right .text {
  text-align: right;
  padding-right: 20px
}
.article-detail-comment .group .text .box{
  position: relative;
  display: inline-block;
  padding: .8em 1em;
  border-radius: 10px;
  border:2px solid #CCCCCC;
  background-color:#fff;
  text-align: left;
}
.article-detail-comment .group .text .box::after{
  content:"";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  margin-top: -7px;
  top:50%;
  z-index: 2;
    border-width: 8px 0 8px 14px;
}
.article-detail-comment .group .text .box::before{
  content:"";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #CCCCCC;
  margin-top: -7px;
  top:50%;
  z-index: 2;
  border-width: 8px 0 8px 14px;
}
.article-detail-comment .group.right .text .box::after{
  right:-11px;
}
.article-detail-comment .group.right .text .box::before{
  right:-14px;
}

.article-detail-comment .group.left .text .box::after{
  left:-11px;
  border-color: transparent #fff transparent transparent;
  border-width: 8px 14px 8px 0;
}
.article-detail-comment .group.left .text .box::before{
  left:-14px;
  border-color: transparent #CCCCCC transparent transparent;
  border-width: 8px 14px 8px 0;
}
.article-detail-comment .group .image .box{
  overflow: hidden;
  width: 100%;
  height: 84px;
  border-radius: 50%;
}
@media screen and (max-width:1024px){
  .article-detail-comment{
    margin-bottom: 30px;
  }
  .article-detail-comment .group.left .text {
    padding-left: 15px;
  }
  .article-detail-comment .group.right .text {
    padding-right: 15px
  }
  .article-detail-comment .group{
    margin-bottom: 15px;
  }
  .article-detail-comment .group .image{
    width: 60px;
  }
  .article-detail-comment .group .text{
    width: calc(100% - 60px);
  }
  .article-detail-comment .group .image .box{
    height: 60px;
    border-radius: 50%;
  }
  }
/*******************************************
fee
********************************************/
/*------------------
fee
------------------*/
.fee-head {
  padding-top: 0px;
  margin-bottom: 30px;
}
.fee-block{
  margin-bottom: 20px;
}

.fee-block .message{
  font-size: 2.4rem;
  color: #868686;
  font-weight: bold;
  margin-bottom: 20px;
}

.fee-block .message span{
  padding-right: 1em;
}

.fee-section{
  padding-bottom: 100px;
}
@media screen and (max-width:1024px){
  .fee-head {
    margin-bottom: 10px;
  }
  .fee-block .message {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .fee-block .message span{
    padding-right: 0em;
  }

  .fee-section{
    padding-bottom: 50px;
  }
}


/*ページャー*/
.pager {
  text-align: center;
  padding: 50px 0 30px;
  display: flex;
  justify-content: center;
}
.pager li{
  display: inline-block;
  margin: 0px;
  font-weight: normal;
  height: 40px;
  line-height: 40px;
  width: 40px;
  text-align: center;
  letter-spacing: normal;
  vertical-align: middle;
  font-weight: bold;
  margin: 0 5px;
}
.pager li:first-child{border-right:none;}
.pager li:last-child{border-right:none;}
.pager li:nth-last-child(2){border-right: #152A87;}
.pager .first{}
.pager .prev{margin-right: 10px;}
.pager .next{margin-left: 10px;}
.pager .last{}

.pager .prev,
.pager .next{
  position: relative;
}
.pager span {
  display: block;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 50%;
  background: #651111;
  color: #fff;
}
.pager a{
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 2rem;
  transition: opacity 0.3s ease;
  border-radius: 50%;
  background:#DDDDDD;
  color: #444444;
}
.pager a:hover{
  opacity: 0.6;
}

.pager .first a,.pager .first span,
.pager .prev a,.pager .prev span,
.pager .next a,.pager .next span,
.pager .last a,.pager .last span{
  position: relative;
  background: transparent !important;
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
}

.pager .prev a,
.pager .next a{
  background-image: url(../img/icon_pager_right.png) !important;
  background-size: 14px auto !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.pager .prev a{
  background-image: url(../img/icon_pager_left.png) !important;
}
.pager .dotted{
  background-image: url(../img/icon_pager_dotted.png) !important;
  background-size: 24px auto !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  padding: 0 20px;
}
@media screen and (max-width:1024px){
  .pager{
    text-align: center;
    padding: 30px 0 30px;
    display: flex;
    justify-content:center;
  }

  .pager li {
    display: inline-block;
    margin: 0px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
    width: 28px;
    text-align: center;
    letter-spacing: normal;
    vertical-align: middle;
    font-weight: bold;
    margin: 0 5px;
  }

  .pager a{
    display: block;
    width: 100%;
    height: 28px;
    line-height: 28px;
    font-size: 1.6rem;
  }

}

/*******************************************
お問い合わせ
********************************************/
/*table*/
.contact-body{
	padding-bottom: 100px;
}
.contact-table i{
  color: #B20000;
}
.contact .caption{
  font-size: 1.6rem;
  margin-top: 15px;
  margin-bottom: 15px;
}
.contact-table .note{}
.contact-table table{}
.contact-table table th{
  width: 307px;
  font-weight: bold;
  border:1px solid #AAAAAA;
  background: #DDDDDD;
  padding:12px 25px;
  vertical-align: middle;
  text-align: left;
}
.contact-table table th span{
}
.contact-table table td{
  padding: 12px 25px;
  border:1px solid #AAAAAA;
  font-size: 1.6rem;
}

@media screen and (max-width:1024px){
  .contact .caption{
    font-size: 1.6rem;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .contact-table table,
  .contact-table table tbody,
  .contact-table table tr,
  .contact-table table th,
  .contact-table table td{
    width: 100%;
    display: block;
  }
  .contact-table table{
    border-top:1px solid #AAAAAA;
  }
  .contact-table table th{
    border-top:0;
    padding: 15px;
  }

  .contact-table table td{
    border-top:0;
    padding: 15px;
  }


}

.contact i{
  color: #B20000;
}
.contact-head{
  margin-bottom: 50px;
}
.contact-head .cmn-headline-m{
  margin-bottom: 30px;
}
.contact-head .message1{
  margin-bottom: 50px;
}
.contact .address{
  margin-bottom: 10px;
}
.contact .address .box1{
  margin-bottom: 10px;
}

.contact .call .message{
  color: #444444;
}
.contact .call .block{
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.contact .call .box1{
  width:125px ;
  margin-bottom: 0px;
}
.contact .call .box2{
  width: calc(100% - 125px);
}

.contact .textarea-box{
  padding: 10px 0;
}

.contact .note{
  margin-top:20px;
  font-size: 1.6rem;
}

.contact .submit-button{
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
  margin: 60px 0 0;
}

.contact .submit-button form{
  margin: 0 20px 20px;
}

.contact-complete .message{
  margin:40px 0 0;
}

.contact-complete .back-home{
  margin:50px 0 0;
  text-align: center;
}

@media screen and (max-width:1024px){
  .contact-head {
    margin-bottom: 10px;
  }

  .contact-head .cmn-headline-m{
    margin-bottom: 10px;
  }
  .contact-head .message1 {
    margin-bottom: 15px;
  }
  .contact .call .message {
    color: #444444;
    font-size: 1.3rem;
  }
  .contact .call .block{
   display: block;
  }
  .contact .call .box1{
    width:100%;
    margin-bottom: 5px;
  }
  .contact .call .box2{
    width: 100%;
  }
  .contact .submit-button{
    margin: 35px 0 35px;
  }
}

/*input*/

::placeholder {
  color: #AAA;
}

.input,
button,
textarea,
select{
  width: 100%;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  -webkit-border-radius: none;
  border-radius: none;
  border-radius: 0;
  border:none;
  border:0;
  font-family: inherit;
  box-shadow: none;
}

.input{
  width: 418px;
  height: 36px;
}

.input.size-s{
  max-width: 257px;
}

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

.input,
textarea,
select{
  width: 100%;
  max-width: 360px;
  background: #DDDDDD;
  height: 36px;
  font-size: 1.6rem;
  text-indent: 1em;
}

select{
  border:1px solid #999999;
  background: #fff;
}

textarea{
  max-width: 535px;
  height: 196px;
  padding: 1em;
  text-indent: 0;
}

.input:disabled{
  background: transparent;
  border:1px solid transparent;
  padding-left: 0;
  text-indent: 0 !important;
}

/*セレクト*/
.select-label{
  position: relative;
  display: inline-block;
  width: 190px;
  color:#000;
}

.select-label>select {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 25px 0 0;
  line-height: 34px;
  height: 36px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  box-sizing: border-box;
  z-index: 1;
  border:1px solid #999 ;
}

.select-label::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 18px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 5px solid #555;  
  pointer-events: none;
  z-index: 2;
}

/*チェックボックス*/
.check-group label{
    display: block;
    margin-right: 10px;
    padding:0;
    line-height: 1em;
    cursor: pointer;
}

.check-group input{
  display: none;
}

.check-group span{
  padding-left: 1.8em;
  position:relative;
  padding-top: 5px;
  line-height: 1.3em;
  display: block;
}

/*チェック枠*/
.check-group span::before{
    content: "";
    display: block;
    position: absolute;
    top: 14px;
    left: 0;
    width: 18px;
    height: 18px;
    position: absolute;
    border:2px solid #999 ;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}


/*チェック*/
.check-group input:checked + span::after{
    content: "";
    display: block;
    position: absolute;
    top: 8px;
    left:5px;
    -webkit-transform:  rotate(-45deg);
    transform:  rotate(-45deg);
    width: 9px;
    height: 5px;
    border-left:3px solid #666;
    border-bottom:3px solid #666;
}


/*ラジオボックス*/

.radio-block{
  margin-top: 12px;
}

.radio-group {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 0;
    align-items: center;
}

.radio-group label{
    width: 200px;
    line-height: 17px;
    white-space: nowrap;
    vertical-align: middle;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.radio-group input{
    display: none;
}

.radio-group span {
    position: relative;
    padding-left: 1.6em;
    line-height: 1.5em;
    display: block;
    font-size: 2rem;
}

.radio-group span::before{
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    width: 21px;
    height: 21px;
    position: absolute;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border:1px solid #666666;
    background: #fff;

}

.radio-group input:checked + span::before{
    background: #AAAAAA;
}

@media screen and (max-width:1024px){
  .input,
  textarea,
  select{
    font-size: 1.4rem;
  }

  .radio-block{
    margin-top: 0px;
  }

  .radio-group label{
    width: 130px;
  }

  .radio-group span {
    position: relative;
    padding-top: 5px;
    font-size: 1.6rem;
  }
}
/**/

.contact-block .cmn-section-block{
  padding-top: 86px;
  padding-bottom: 60px;
}
.contact-block .cmn-section-inner{
  max-width: 980px;
  margin: 0 auto;
}

.contact-block .req{
  width: 60px;
  line-height: 29px;
  height: 29px;
  text-align: center;
  font-size: 1.6rem;
  background:#67AD46;
  color:#fff;
  display: block;
}

.contact-block .free{
  width: 60px;
  line-height: 29px;
  height: 29px;
  text-align: center;
  font-size: 1.6rem;
  background:#c7e1bb;
  display: block;
}

.contact-block .contact-head{
  padding: 0 20px 20px;
}
.contact-block .contact-message01{
  display: flex;
  margin-top: 50px;
  margin-bottom: 10px;
}

.contact-block .contact-message01 span {
    display: block;
    padding-top: 5px;
    padding-left: 5px;
}
.contact-block .contact-message02{
  display: flex;
  margin-bottom: 0px;
}

.contact-block .contact-message03{
  margin-top: 45px;
  margin-bottom: 25px;
  text-align: center;
}

.contact-block .submit-button{
  width: 351px;
  line-height: 88px;
  height: 88px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  background: linear-gradient(270deg, #00ACAC 0%,#008C8C 100%);
}

.contact-block .submit-button-area{
  text-align: center;
}
.error-message{
  position: relative;
  padding-left: 1em;
  color: #f10000;
  margin-top: 5px;
}
.error-message::after{
  content:"※";
  position: absolute;
  display: block;
  text-align: center;
  top:0;
  left:0;
  padding-top: 0px;
  border-radius: 50%;
  color:#f10;
}

@media screen and (max-width:1024px){
  .contact-block {
    padding: 20px 10px;
  }

  .contact-block .contact-message01 {
      display: flex;
      margin-top: 30px;
      margin-bottom: 10px;
  }

  .contact-block .cmn-section-block{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .contact-block .contact-head {
      padding: 0 0 20px;
  }

  .contact-block .contact-message03 {
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .contact-block .submit-button{
    width: 275px;
    line-height: 50px;
    height: 50px;
    font-size: 2rem;
    border-radius: 10px;
  }

  .contact-block .req {
    width: 50px;
    line-height: 20px;
    height: 20px;
    text-align: center;
    font-size: 1.4rem;
    background: #67AD46;
    color: #fff;
    display: block;
    margin-top: 4px;
  }
}


/*******************************************
anime
********************************************/
/*delay*/
.dt_2{ transition-delay: 0.2s !important; }
.dt_3{ transition-delay: 0.3s !important; }
.dt_4{ transition-delay: 0.4s !important; }
.dt_5{ transition-delay: 0.5s !important; }
.dt_6{ transition-delay: 0.6s !important; }
.dt_7{ transition-delay: 0.7s !important; }
.dt_8{ transition-delay: 0.8s !important; }
.dt_9{ transition-delay: 0.9s !important; }
.dt_10{ transition-delay: 1.0s !important;}
.dt_11{ transition-delay: 1.1s !important;}
.dt_12{ transition-delay: 1.2s !important;}
.dt_13{ transition-delay: 1.3s !important;}
.dt_14{ transition-delay: 1.4s !important;}
.dt_15{ transition-delay: 1.5s !important;}
.dt_16{ transition-delay: 1.6s !important;}
.dt_17{ transition-delay: 1.7s !important;}
.dt_18{ transition-delay: 1.8s !important;}

/*from*/
.init{
    opacity: 0;
    transition-duration: 0.5s;
}

/*to*/
 .opening.animated .init,
[data-scl].animated .init{
    opacity: 1;
    transform: translate(0,0) scale(1,1) rotate(0);
    transition-property: opacity, transform;
    transition-timing-function:ease;
}

/*from*/
.init.move_up{
  opacity:0;
  transform: translate(0%,30px);
  transition-duration: 0.5s;
}

/*to*/
.opening.animated .init.move_up,
[data-scl].animated .init.move_up{
  opacity: 1;
  transform: translate(0,0);
}


/*from*/
.init.zoom{
  opacity:0;
    transform: scale(0.8,0.8);
    transition-duration: 0.6s;
}

/*to*/
.opening.animated .init.zoom,
[data-scl].animated .init.zoom{
  opacity: 1;
  transform: scale(1,1);
}

/*from*/
.init.rotate{
  opacity:0;
  transform: scale(0.9,0.9) rotate(-10deg);
  transition-duration: 1.5s;
}

/*to*/
.opening.animated .init.zoom,
[data-scl].animated .init.zoom{
  opacity: 1;
  transform: scale(1,1);
}

/*from*/
.init.rotate_x{
  opacity:0;
    transform: scale(1,1) rotateX(90deg);
    transition-duration: 1.5s;
    transition-property: opacity, transform;
}

/*to*/
[data-scl].animated .init.rotate_x{
  opacity: 1;
  transform: scale(1,1)  rotateX(0deg);
}

/*from*/
.init.rotate_y{
  opacity:0;
    transform: scale(1,1) rotateY(70deg);
    transition-duration: 1.5s;
    transition-property: opacity, transform;
}

/*to*/
[data-scl].animated .init.rotate_y{
  opacity: 1;
  transform: scale(1,1)  rotateY(0deg);
}

/*from*/
.init.zoom2{
  opacity:0;
    transform: scale(0.7,0.7) translate(0 ,0px);
    transition-property: opacity, transform;
}

/*to*/
[data-scl].animated .init.zoom2{
  opacity: 1;
      transition-duration: 1s;
  transform: scale(1,1) translate(0 ,0);
}


/*from*/
.init.blur{
  opacity:0;
  transition-duration: 0.8s;
  transform: scale(1,1) translate(0 ,0);
  transition-property: opacity ,filter, transform;
  filter: blur(40px);
}

/*to*/
[data-scl].animated .init.blur{
  opacity: 1;
  transform: scale(1,1) translate(0 ,0);
  filter: blur(0);
  transition-timing-function:ease;
}

[data-scl] .init.mask_top{
  opacity: 1;
  transition-duration: 0.8s;
  transform: translate(0,0) scale(1,1);
}

[data-scl].animated .init.mask_top{
  opacity: 1;
  transform: translate(0,100%) scale(1,1) ;
}

[data-scl].animated .init.mask_right{
  opacity: 1;
  transform: translate(120%,0) scale(1,1) skewX(2.8deg);
}

[data-scl].animated.business_section_row .init.mask_left{
  opacity: 1;
  transform: translate(-120%,0) scale(1,1) skewX(-10deg) ;
}

[data-scl].animated.business_section_row .init.mask_right{
  opacity: 1;
  transform: translate(120%,0) scale(1,1) skewX(-10deg);
}

.devideText{
  position: relative;
  display: inline-block;
}
.devideText>span{
  position: relative;
  display: inline-block;
}

.opening .devideText .init,
[data-scl] .devideText .init{
  opacity: 0;
  transform: translate(0,30px);
}

.opening.animated .devideText>.init,
[data-scl].animated .devideText>.init{
  opacity: 1;
  transform: translate(0,0);
  transition-duration: 0.8s;
  transition-property: opacity,transform;
  transition-timing-function: cubic-bezier(.17,.67,.63,1.32);
}


.letter {
  display: inline-block;
  line-height: 1em;
  opacity: 0;
  transform-origin: 0% 0%;
}

/*アニメーション*/
.letter-mask{
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.letter-mask::after{
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    background: #fff;
    transform: scaleX(0) translateX(0);
    transform-origin: left;
}

.letter-mask.animated::after{
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    animation:
    first-mask .5s cubic-bezier(.900,.029,.699,.233) 0s alternate forwards,
    second-mask .5s cubic-bezier(.164,.844,.45,1.00) .7s alternate forwards;
    transform: scaleX(0) translateX(0);
    transform-origin: left;
}

@keyframes first-mask{
    0%{transform:scaleX(0) translateX(0)}
    100%{transform:scaleX(1) translateX(0)}
}
@keyframes second-mask{
    0%{transform:scaleX(1) translateX(0)}
    100%{transform:scaleX(1) translateX(101%)}
}