/* CSS Document */

@keyframes opa{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
/*@keyframes extend02{
  0%{
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
  }
  100%{
    -webkit-clip-path: inset(0);
  	clip-path: inset(0);
  	color: #fff;
  }
}*/
@keyframes extend{
  0%{
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
  }
  100%{
    -webkit-clip-path: inset(0);
  clip-path: inset(0);
  color: #fff;
  }
}
@keyframes extend_left{
  0%{
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
  100%{
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    color: #004893;
  }
}
div.title.wcvisible > h2{
  animation: opa 1s ease forwards;
}
div.title.wcvisible > span::after{
  animation: extend 1s ease forwards;
}
div.deco_title.wcvisible span::before{
  animation: extend_left 1s ease forwards; 
}



div.greeting_text_block p.g_title.wcvisible{
  animation: opa 1s ease 0.1s forwards;
}
div.greeting_text_block div.g_text > p.wcvisible{
  animation:opa 1s ease forwards;
}
body[wc-view-code="sp"] div.greeting_text_block div.g_text > p.wcvisible{
  animation:opa 0.8s ease 0.1s forwards;
}
body:not([wc-view-code="sp"]) div.greeting_text_block div.g_text > p.wcvisible{
  animation:opa 1s ease forwards;
}
div.greeting_text_block div.g_text > span.wcvisible{
  animation: opa 1s ease forwards;
}
/*ページタイトル*/
section.page_title{
  position: relative;
  z-index: 1;
}
body:not([wc-view-code="sp"]) section.page_title{
  display: flex;
  background-color: #efefef;
  align-items: center;
}
body[wc-view-code="sp"] section.page_title{
  height: 55vw;
	display: flex;
  align-items: center;
  padding-left: 2rem;
}
body[wc-view-type="tb"] section.page_title{
  height: 35vw;
}
body[wc-view-type="tb-l"] section.page_title{
  height: 30vw;
}
body[wc-view-type="pc"] section.page_title{
  height: 350px;
}
body:not([wc-view-code="sp"]) section.page_title div.title{
  box-sizing: border-box;
  width: 40vw;
}
body[wc-view-type="tb"] section.page_title div.title{
  padding-left: 3rem;
}
body[wc-view-type="tb-l"] section.page_title div.title{
  padding-left: 4rem;
}
body[wc-view-type="pc"] section.page_title div.title{
  padding-left: calc((100vw - 1100px) / 2);
}
section.page_title figure{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
/*body[wc-view-type="tb"] section.page_title figure,
body[wc-view-type="tb-l"] section.page_title figure,
body[wc-view-type="pc"] section.page_title figure{
  width: 60vw;
  -webkit-mask-image: -webkit-linear-gradient(to right, transparent 0rem,black 10rem,black 100%);
  mask-image: linear-gradient(to right, transparent 0rem,black 10rem,black 100%)
}*/
section.page_title figure::before{
	content: "";
	position: absolute;
	inset:0;
	z-index: 3;
	 background-color: rgba(0,72,147,0.5);
}
section.page_title figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
section.page_title figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[wc-view-code="sp"] section.page_title figure img{
  max-height: 55vw;
}
body[wc-view-type="tb"] section.page_title figure img{
  max-height: 35vw;
  height: 35vw;
}
body[wc-view-type="tb-l"] section.page_title figure img{
  max-height: 30vw;
  height: 30vw;
}
body[wc-view-type="pc"] section.page_title figure img{
  max-height: 350px;
}
/*タイトル*/
div.title{
  display: flex;
  flex-direction: column-reverse;
	position: relative;
  z-index: 4;
}
div.title > h2{
  font-size: 1.5rem;
  color: #fff;
  opacity: 0;
}
div.title > span{
  font-family: "Teko";
  font-weight: 300;
  font-size: 3.25rem;
  line-height: 1em;
  position: relative;
  z-index: 1;
}
div.title > span{
  color: rgba(255,255,255,0.4);
}
div.title > span::after{
  position: absolute;
  z-index: 2;
  display: block;
  top: 0;
  line-height: 1em;
  left: 0;
}
body[wc-view-code="sp"] div.title > span{
  font-size: 3rem;
}
section.page_title div.title span::after{
  content: "Greeting";
	color: #fff !important;
}
/*透明*/
span.opa{
  width: 0;
  height: 0;
  display: block;
  opacity: 0;
}
/*コンテンツ*/
div.greeting_wrap{
  background-color: #fff;
  padding: var(--headerHeight) 0;
}
div.deco_title{
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: row-reverse;
  align-items: center;
	margin-bottom: 0.5rem;
}
body[wc-view-code="sp"] div.deco_title{
	margin-bottom: 0.75rem;
}
body[wc-view-code="pc"] div.deco_title{
	margin-bottom: 0.75rem;
}
div.deco_title span{
  font-size: 3.25rem;
  font-weight: 400;
  font-family: "Teko";
  color: rgba(0,72,147,0.1);
  line-height: 1em;
  display: block;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}
body[wc-view-code="sp"] div.deco_title span{
  font-size: 2.75rem;
  padding-right: 1rem;
}
div.deco_title span::before{
  content: "Message";
  font-size: 3.25rem;
  font-weight: 400;
  font-family: "Teko";
  position: absolute;
  z-index: 2;
  display: block;
  top: 0;
  left: 0;
  line-height: 1em;
}
body[wc-view-code="sp"] div.deco_title span::before{
  font-size: 2.75rem;
}
div.deco_title::before{
  content: "";
  width: 100%;
  height: 1px;
  z-index: -1;
  display: block;
  background: #ccc;
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.8s;
  transform: scale(0,1);
}
div.deco_title.wcvisible::before{
  transform: scale(1,1);
}
body:not([wc-view-code="sp"]) div.greeting_wrap div.greeting_inner{
  width: 100vw;
  box-sizing: border-box;
}
body[wc-view-code="sp"] div.greeting_wrap div.greeting_inner{
  padding: 0 2rem;
}
body[wc-view-type="tb"] div.greeting_wrap div.greeting_inner{
  padding: 0 3rem;
}
body[wc-view-type="tb-l"] div.greeting_wrap div.greeting_inner{
  padding: 0 4rem;
}
body[wc-view-type="pc"] div.greeting_wrap div.greeting_inner{
  width: 1100px;
  margin: 0 auto;
}
body[wc-view-type="tb"] div.greeting_text_block{
  padding:1rem 0 0 0;
  width: 100%;
  box-sizing: border-box;
}
body[wc-view-type="tb-l"] div.greeting_text_block,
body[wc-view-type="pc"] div.greeting_text_block{
  display: flex;
}
div.greeting_text_block p.g_title{
  box-sizing: border-box;
  font-size: 1.45rem;
  line-height: 2rem;
  opacity: 0;
  font-weight: 700;
}
body[wc-view-type="tb"] div.greeting_text_block p.g_title,
body[wc-view-code="sp"] div.greeting_text_block p.g_title{
  padding-left: 0;
}
body:not([wc-view-code="sp"]) div.greeting_text_block p.g_title br{
	display: none;
}
body[wc-view-code="sp"] div.greeting_text_block p.g_title{
  margin-bottom: 1rem;
}
body[wc-view-type="tb"] div.greeting_text_block p.g_title{
  margin-bottom: 1.5rem;
}
body[wc-view-type="tb-l"] div.greeting_text_block p.g_title{
  width: 320px;
}
body[wc-view-type="pc"] div.greeting_text_block p.g_title{
  width: 400px;
}
div.greeting_text_block div.g_text{
  padding-right: 1rem;
  box-sizing:border-box;
}
body[wc-view-type="tb-l"] div.greeting_text_block div.g_text{
  width: calc(100% - 320px);
}
body[wc-view-type="pc"] div.greeting_text_block div.g_text{
  width: 700px;
	padding-left: 4rem;
	margin-top: 1.5rem;
}
div.greeting_text_block div.g_text > p{
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.8rem;
  opacity: 0;
}
body[wc-view-code="sp"] div.greeting_text_block div.g_text > p{
  margin-bottom: 0.5rem;
}
div.greeting_text_block div.g_text > span{
  font-size: 1.2rem;
  display: table;
  margin-left: auto;
  opacity: 0;
}
div.greeting_text_block div.g_text > span span{
  font-size: 1rem;
  padding-right: 1rem;
}