/* CSS Document */
@keyframes opa{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@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 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: #004893;
  }
}
section.profile_top div.profile_block > dl.wcvisible{
  animation: opa 1s ease forwards;
}
div.white_title.wcvisible > h2{
  animation: opa 1s ease 0.3s forwards;
}
div.white_title.wcvisible > span::after{
  animation: extend 1s ease 0.3s forwards;
}
div.title.wcvisible > span::after{
  animation: extend02 1s ease 0.3s forwards;
}
/*ページタイトル*/
section.page_title{
  background-color: #fff;
  margin-top: calc(var(--headerHeight) * -1);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--headerHeight);
  box-sizing: border-box;
}
body[wc-view-code="sp"] section.page_title{
  height: 55vw;
}
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;
}
section.page_title figure{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(10px);
}
section.page_title figure::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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;
}
section.page_title div.white_title{
  position: relative;
  z-index: 4;
  margin-bottom: 0;
}

/*タイトル*/
div.title,
div.white_title{
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
  margin-bottom: 2rem;
}
body[wc-view-code="sp"] div.title{
  margin-bottom: 1.5rem;
}
div.title > h2{
  font-size: 1.5rem;
  color: #333;
  opacity: 0;
  transition: opacity 1.2s ease 0.6s; 
}
div.title.wcvisible > h2{
  opacity: 1;
  font-size: 1.5rem;
}
div.white_title > h2{
  font-size: 1.5rem;
  color: #fff;
  opacity: 0;
  transition: all 1.2s ease 0.6s; 
}
div.white_title.wcvisible > h2{
  opacity: 1;
}
div.title > span,
div.white_title > span{
  font-family: "Teko";
  font-weight: 300;
  font-size: 4rem;
  line-height: 1em;
  position: relative;
  z-index: 1;
}
div.title > span{
  color: rgba(0,72,147,0.4);
}
div.white_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: 50%;
  transform: translateX(-50%);
}
body[wc-view-code="sp"] div.title > span{
  font-size: 4rem;
}
div.white_title > span{
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}
div.white_title > span::after{
  left: 50%;
  position: absolute;
  z-index: 2;
  display: block;
  top: 0;
  line-height: 1em;
  transform: translateX(-50%);
}
section.page_title div.white_title > span::after{
  content: "Over View";
  white-space: nowrap;
}
section.profile_top div.title > span::after{
  content: "Over View";
}
section.access div.white_title > span::after{
  content: "Access";
}
/*透明*/
span.opa{
  width: 0;
  height: 0;
  opacity: 0;
  display: block;
}
/*ボタン*/
div.btn{
  display: table;
}
div.btn a{
  display: table;
  padding: 0.75rem 2.5rem 0.75rem 1.5rem;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 1;
  background-color: #333;
  border-radius: 2rem;
}
div.btn a::after{
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  -webkit-mask-image: var(--wciconsrc);
  mask-image: var(--wciconsrc);
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: var(--headerBtnSize);
  mask-size: var(--headerBtnSize)
}
/*概要*/
section.profile_top{
  padding: var(--headerHeight) 0;
  background-color: #fff;
  box-sizing: border-box;
}
body:not([wc-view-type="pc"]) section.profile_top div.profile_block{
  width: 100vw;
  box-sizing: border-box;
}
body[wc-view-code="sp"] section.profile_top div.profile_block{
  padding: 0 2rem;
}
body[wc-view-type="tb"] section.profile_top div.profile_block{
  padding: 0 3rem;
}
body[wc-view-type="tb-l"] section.profile_top div.profile_block{
  padding: 0 4rem;
}
body[wc-view-type="pc"] section.profile_top div.profile_block{
  width: 800px;
  margin: 0 auto;
}
section.profile_top div.profile_block > dl{
  width: 100%;
  display: flex;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  opacity: 0;
}
body[wc-view-code="sp"] section.profile_top div.profile_block > dl{
  flex-direction: column;
  padding:0.5rem 0.5rem 0 0.5rem;
}
section.profile_top div.profile_block > dl > dt{
  color: #004893;
  border-bottom: 1px solid #004893;
}
section.profile_top div.profile_block > dl > dt,
section.profile_top div.profile_block > dl > dd{
  font-size: 0.97rem;
  padding: 1rem;
  box-sizing: border-box;
}
section.profile_top div.profile_block > dl:nth-of-type(1) > dt{
  border-top: 1px solid #004893;
}
section.profile_top div.profile_block > dl:nth-of-type(1) > dd{
  border-top: 1px solid #ccc;
}
body[wc-view-code="sp"] section.profile_top div.profile_block > dl > dt{
  margin-right: 0;
}
body[wc-view-type="tb"] section.profile_top div.profile_block > dl dt{
  width: 200px;
}
body[wc-view-type="tb-l"] section.profile_top div.profile_block > dl dt,
body[wc-view-type="pc"] section.profile_top div.profile_block > dl dt{
  width: calc(250px - 2rem);
}
section.profile_top div.profile_block > dl > dd{
  font-weight: 300;
  border-bottom: 1px solid #ccc;
}
body[wc-view-code="sp"] section.profile_top div.profile_block > dl > dd{
  border-top: none;
  border-bottom: 1px solid #ccc;
}
body[wc-view-type="tb"] section.profile_top div.profile_block > dl > dd{
  width: calc(100% - (200px + 2rem));
}
body[wc-view-type="tb-l"] section.profile_top div.profile_block > dl > dd,
body[wc-view-type="pc"] section.profile_top div.profile_block > dl > dd{
  width: calc(100% - (250px + 2rem));
}
section.profile_top div.profile_block > dl > dd dl.inbox{
  margin-bottom: 0.5rem;
}
body[wc-view-code="sp"] section.profile_top div.profile_block > dl > dd dl.inbox{
  margin-bottom: 0.25rem;
}
section.profile_top div.profile_block > dl > dd dl.inbox:last-of-type{
  margin-bottom: 0;
}
section.profile_top div.profile_block > dl > dd dl.inbox dt{
  font-weight: 400;
}
section.profile_top div.profile_block > dl > dd dl.inbox dd{
  font-weight: 300;
  font-size: 0.97rem;
}
section.profile_top div.profile_block > dl > dd ul.flex_none{
  padding-left: 1rem;
  box-sizing: border-box;
  list-style-position: outside;
}
section.profile_top div.profile_block > dl > dd ul.flex_none li{
  margin-bottom: 0.5rem;
  font-weight: 300;
}
section.profile_top div.profile_block > dl > dd ul.flex{
  list-style-position: outside;
  display: flex;
  flex-wrap: wrap;
  padding-left: 1rem;
  box-sizing: border-box;
}
section.profile_top div.profile_block > dl > dd ul.flex li{
  margin-right: 2rem;
  width: 140px;
  margin-bottom: 0.5rem;
  font-weight: 300;
}
body[wc-view-code="sp"] section.profile_top div.profile_block > dl > dd ul.flex li{
  margin-right: 1rem;
  width: calc(50% - 1rem);
}
/*アクセス*/
section.access{
  padding: var(--headerHeight) 0;
  position: relative;
  z-index: 1;
}
section.access div.white_title{
  position: relative;
  z-index: 4;
}
section.access > figure{
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
section.access > figure::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,72,147,0.5);
  z-index: 4;
}
section.access > figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
section.access > figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.access div.m_wrap{
  display: flex;
  box-sizing: border-box;
  position: relative;
  z-index: 4;
}
body:not([wc-view-type="pc"]) section.access div.m_wrap{
  flex-direction: column;
}
body[wc-view-code="sp"] section.access div.m_wrap{
  padding: 0 2rem;
}
body[wc-view-type="tb"] section.access div.m_wrap{
  padding: 0 3rem;
}
body[wc-view-type="tb-l"] section.access div.m_wrap{
  padding: 0 4rem;
}
body[wc-view-type="pc"] section.access div.m_wrap{
  width: 1100px;
  margin: 0 auto;
}
section.access div.m_wrap > article{
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 2rem 2rem 2rem;
}
body[wc-view-type="tb"] section.access div.m_wrap > article,
body[wc-view-code="sp"] section.access div.m_wrap > article{
  padding: 0;
  margin-bottom: 2rem;
}
body[wc-view-type="tb"] section.access div.m_wrap > article:last-of-type,
body[wc-view-code="sp"] section.access div.m_wrap > article:last-of-type{
  margin-bottom: 0;
}
body[wc-view-type="pc"] section.access div.m_wrap > article{
  width: 50%;
}
section.access div.m_wrap > article div.map_box{
}
body[wc-view-type="tb"] section.access div.m_wrap > article div.map_box,
body[wc-view-type="tb-l"] section.access div.m_wrap > article div.map_box{
  display: flex;
}
body[wc-view-type="tb"] section.access div.m_wrap > article div.map_box > div,
body[wc-view-type="tb-l"] section.access div.m_wrap > article div.map_box > div{
  width: 50%;
  padding-right: 2rem;
  box-sizing: border-box;
}
section.access div.m_wrap > article div.map_box div.m_title{
  display: flex;
  flex-direction: column-reverse;
}
section.access div.m_wrap > article div.map_box div.m_title > span{
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  font-family: "Teko";
  color: rgba(255,255,255,0.1);
  line-height: 1em;
}
section.access div.m_wrap > article div.map_box div.m_title > span::after{
  font-family: "Teko";
  color: #fff;
  line-height: 1em;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  transition: -webkit- all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  font-size: 2.5rem;
}
section.access div.m_wrap > article:nth-of-type(1) div.map_box div.m_title > span::after{
  content: "Main Office";
}
section.access div.m_wrap > article:nth-of-type(2) div.map_box div.m_title > span::after{
  content: "Kagawa Branch";
}
section.access div.m_wrap > article.wcvisible div.map_box div.m_title > span::after{
  webkit-clip-path: inset(0);
  clip-path: inset(0);
  color: #fff;
  top: 0;
  left: 0;
  transform: translateX(0);
}
section.access div.m_wrap > article div.map_box div.m_title h2{
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
section.access div.m_wrap > article div.map_box div.m_title h2 span.name{
  font-size: 1.5rem;
  color: #fff;
  padding-right: 2rem;
  white-space: nowrap;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
section.access div.m_wrap > article.wcvisible div.map_box div.m_title h2 span.name{
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}
body[wc-view-code="sp"] section.access div.m_wrap > article div.map_box div.m_title h2 span.name{
  padding-right: 1rem;
}
section.access div.m_wrap > article div.map_box div.m_title h2::after{
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.65s;
  transform: scale(0,1);
  content: "";
  transform-origin: left center;
}
section.access div.m_wrap > article.wcvisible div.map_box div.m_title h2::after{
  transform: scale(1,1);
}
section.access div.m_wrap > article div.map_box address{
  color: #fff;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.8s ease 1s;
}
section.access div.m_wrap > article.wcvisible div.map_box address{
  opacity: 1;
}
section.access div.m_wrap > article div.map_box address span{
  position: relative;
  z-index: 1;
  padding-left: 1.5rem;
  color: #fff;
  display: block;
}
section.access div.m_wrap > article div.map_box address span::before{
  content: "";
  background-color: #fff;
  -webkit-mask-image: url("../code/icons/pointer.svg");
  mask-image: url("../code/icons/pointer.svg");
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  width: 2rem;
  height: 2rem;
  position: absolute;  
  top: -0.1rem;
  left: -0.25rem;
}
section.access div.m_wrap > article div.map_box div.map{
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease 1s;
}
section.access div.m_wrap > article.wcvisible div.map_box div.map{
  opacity: 1;
}
body[wc-view-code="sp"] section.access div.m_wrap > article div.map_box div.map{
  height: 55vw;
}
body[wc-view-type="tb"] section.access div.m_wrap > article div.map_box div.map,
body[wc-view-type="tb-l"] section.access div.m_wrap > article div.map_box div.map,
body[wc-view-type="pc"] section.access div.m_wrap > article div.map_box div.map{
  height: 250px;
}
section.access div.m_wrap > article div.map_box div.map iframe{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}