/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#message {
  font-size: 13px;
  font-weight: 500;
  color: #231815;
  overflow: hidden;
  background: #fff;
  position: relative;
}

#message * {
  box-sizing: border-box;
}

#message a {
  transition: opacity .3s;
}

#message a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#message a:hover {
  text-decoration: none;
}

#message a:focus-visible {
  outline: none;
}

#message img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#message .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#message .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#message .pc-br {
  display: none;
}

#message .sp-br {
  display: inline;
}

#message .font-ad{
  font-family: adventures-unlimited, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#message .font-mont{
  font-family: montserrat, sans-serif;
  font-weight: 700;
  font-style: normal;
}

#message .txt-gradient{
  background: linear-gradient(90deg, rgba(252,82,28,1) 0%, rgba(250,133,40,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#message .txt-orange{
  color: #FB6420;
}

#message .txt{
  font-size: 14px;
  line-height: 1.8;
}

#message .txt:not(:last-of-type){
  margin-bottom: 1.8em;
}

#message .inner {
  width: calc(100% - 25px);
  max-width: 1200px;
  margin: 0 auto;
}

#message .content-main{
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  background: url("../images/message/content_main_sp.jpg")no-repeat center center / cover;
}

#message .content-main .ja{
  position: relative;
  display: block;
  padding-left: 60px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}

#message .content-main .ja::before{
  position: absolute;
  content: "";
  width: 50px;
  height: 1px;
  background-color: #fff;
  top: 50%;
  left: 0;
}

#message .content-main .en{
  position: absolute;
  display: flex;
  align-items: flex-end;
  width: 200px;
  height: 100%;
  padding: 0 40px;
  top: 0;
  right: 0;
  background: linear-gradient(90deg, rgb(252, 82, 28) 0%, rgb(250, 133, 40) 100%);
  clip-path: polygon(158px 0%, 100% 0%, 100% 100%, 0% 100%);
  line-height: 1;
}

#message .content-main .en img{
  width: 121px;
}

#message .message-content{
  position: relative;
  padding: 60px 0 30px;
  background-color: #F6F6F6;
  z-index: 0;
}

#message .message-content::before,
#message .message-content::after{
  position: absolute;
  content: "";
  background-color: #fff;
  z-index: -1;
}

#message .message-content::before{
  width: 302px;
  height: 272px;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0%, 0 100%);
}

#message .message-content::after{
  width: 256px;
  height: 230px;
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

#message #message02.message-content{
  padding: 25px 0 60px;
}

#message #message02.message-content::before{
  width: 256px;
  height: 230px;
  top: -1px;
  left: auto;
  right: 0;
  clip-path: polygon(0 0, 100% 0%, 100% 100%);
}

#message #message02.message-content::after{
  width: 208px;
  height: 186px;
  bottom: 0;
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

#message #message02 .message-main-img{
  width: calc(100% - 25px);
  margin: 0 auto;
}

#message .message-txt-block{
  position: relative;
  margin-top: -60px;
  padding: 30px 25px; 
  background-color: #fff;
  border-radius: 10px;
  z-index: 1; 
}

#message #message02 .message-txt-block{
  margin-top: -15px;
}

#message .message-ttl{
  margin-bottom: 30px;
  font-weight: 700;
}

#message .message-ttl .en{
  font-size: 14px;
  line-height: 1.1;
}

#message .message-ttl .num{
  margin-left: 3px;
  font-size: 18px;
}

#message .message-ttl .ja{
  display: block;
  font-size: 23px;
}

#message .name-block{
  margin-top: 30px;
  font-size: 13px;
  text-align: right;
}

#message .name-block .name{
  margin-left: 8px;
  font-size: 17px;
  font-weight: 700;
}


@media print, screen and (min-width: 768px) {
  
  #message .sp-br {
    display: none;
  }
  
  #message .pc-br {
    display: inline;
  }
  
  #message .txt{
    font-size: 18px;
  }
  
  #message .content-main{
    height: 280px;
    background: url("../images/message/content_main_pc.jpg")no-repeat center center / cover;
  }

  #message .content-main .ja{
    padding-left: max(60px,calc(50vw - 600px + 60px));
    font-size: 46px;
  }

  #message .content-main .ja::before{
    width: max(40px,calc(50vw - 600px + 40px));
    height: 2px;
    top: calc(50% - 1px);
  }

  #message .content-main .en{
    width: max(650px,calc(50vw - 310px)); 
    padding: 0 120px;
    left: auto;
    right: 0;
    clip-path: polygon(325px 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  
  #message .content-main .en img{
    width: 363px;
  }

  #message .message-content{
    padding: 120px 0;
  }

  #message .message-content::before{
    width: calc(100vw / 1920 * 1287);
    height: calc(100vw / 1920 * 1157);
  }

  #message .message-content::after{
    width: calc(100vw / 1920 * 1463 );
    height: calc(100vw / 1920 * 1314);
  }

  #message #message02.message-content{
    padding: 0 0 120px;
  }

  #message #message02.message-content::before{
    width: calc(100vw / 1920 * 1463 );
    height: calc(100vw / 1920 * 1314);
  }

  #message #message02.message-content::after{
    width: calc(100vw / 1920 * 854);
    height: calc(100vw / 1920 * 767);
  }

  #message .message-main-img{
    width: 100%;
    height: max(calc(100vw / 1920 * 960),960px);
  }
  
  #message #message02 .message-main-img{
    width: 100%;
    height: max(calc(100vw / 1920 * 519),519px);
  }
  
  #message .message-main-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #message .message-txt-block{
    width: calc(100% - 240px);
    margin: calc(-100vw / 1920 * 260) auto 0 0;
    padding: 60px 50px;
    border-radius: 20px;
  }

  #message #message02 .message-txt-block{
    margin: calc(-100vw / 1920 * 120) 0 0 auto;
  }

  #message .message-ttl{
    margin-bottom: 60px;
  }

  #message .message-ttl .en{
    font-size: 20px;
  }

  #message .message-ttl .num{
    margin-left: 6px;
    font-size: 30px;
  }

  #message .message-ttl .ja{
    margin-top: 10px;
    font-size: 40px;
    line-height: 1.1;
  }

#message .name-block{
  margin-top: 60px;
  font-size: 16px;
}

  #message .name-block .name{
    margin-left: 16px;
    font-size: 28px;
  }
}

@media print, screen and (min-width: 1201px){
  #message .menu-item-link:hover::after{
    opacity: 1;
  }
  
  #message .menu-item-link:hover .icon img{
    transform: translateY(10px);
  }
}
