/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② message はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

/*------------------------------------------------------------
common
------------------------------------------------------------*/
.message {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

#message * {
  box-sizing: border-box;
}

#message a {
  transition: opacity .3s;
  color: unset;
}

#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 .text {
  margin-bottom: 2em;
}

#message .text:last-of-type {
  margin-bottom: 0;
}

#message .pc-br {
  display: none;
}

#message .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#message .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#message .inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  .message {
    font-size: 16px;
  }
  
  #message a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }
  
  #message a:not([href^="tel:"]):hover {
    opacity: .5;
  }
  
  #message .sp-br {
    display: none;
  }
  
  #message .pc-br {
    display: inline;
  }
}

/*------------------------------------------------------------
font
------------------------------------------------------------*/
#message .font-serif{
  font-family: "Noto Serif JP Semi Bold";
  font-weight: normal !important; /* FireFoxで文字が太くなる対策 */
  font-size: 20px;
  /*font-family: 'Noto Serif JP', serif;*/
  /*font-weight: 600;*/
}

/*------------------------------------------------------------
main-block
------------------------------------------------------------*/
#message .main-ttl{
  position: relative;
  display: flex;
  align-items: center;
  z-index: 0;
  width: 262px;
  height: 46px;
  margin-top: 4px;
}

#message .main-ttl::before{
  position: absolute;
  content: "";
  background-color: #fff;
  width: calc(100% + 52px);
  height: calc(100% + 28px);
  top: -28px;
  left: -12px;
  z-index: -1;
}

#message .main-ttl .ja{
  font-size: 20px;
}

#message .main-ttl .en{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#message .main-block{
  margin-bottom: 81px;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #membesr .main-block{
    overflow: hidden;
  }
  
  #message .main-img{
    height: 560px;
  }
  
  #message .main-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  
  #message .main-ttl{
    width: 696px;
    height: 120px;
    margin-top: 8px;
  }

  #message .main-ttl::before{
    width: calc(100% + 80px);
    height: calc(100% + 72px);
    top: -72px;
    left: 0;
  }
  
  #message .main-ttl::after{
    position: absolute;
    content: "";
    background-color: #fff;
    width: 50vw;
    height: calc(100% + 72px);
    top: -72px;
    left: -50vw;
    z-index: -1;
  }

  #message .main-ttl .ja{
    font-size: 32px;
  }
  
  #message .main-block{
    margin-bottom: 160px;
  }
}

/*------------------------------------------------------------
prof
------------------------------------------------------------*/
#message .content-prof .prof-img{
  max-width: 272px;
  width: 100%;
  margin: 0 auto 24px;;
}

#message .prof-text-wrap .name{
  font-size: 20px;
  padding-bottom: 8px;
}

#message .prof-text-wrap .position{
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

#message .prof-text-wrap .position::after{
  content: "";
  display: block;
  width: 129px;
  height: 29px;
  background-image: url("../images/message/message_position_bg.svg");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -10;
}

#message .prof-text-wrap .prof-text{
  font-size: 16px;
  font-weight: 500;
}

#message .content-prof .name-wrap{
  margin-bottom: 16px;
}

#message .content-prof{
  padding-bottom: 80px;
  background-image: url("../images/message/message_bg01_sp.png");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}


@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #message .content-prof .prof-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #message .content-prof .prof-img{
    max-width: 544px;
    margin: 0;
  }
  
  #message .content-prof .prof-text-wrap{
    margin-left: 112px;
    max-width: 544px;
  }
  
  #message .prof-text-wrap .name{
    font-size: 40px;
    padding-bottom: 28px;
  }
  
  #message .prof-text-wrap .position{
    font-size: 20px;
  }
  
  #message .prof-text-wrap .position::after{
    width: 258px;
    height: 58px;
  }
  
  #message .prof-text-wrap .prof-text{
    line-height: 1.8;
  }
  
  #message .content-prof{
    padding-bottom: 160px;
    background-image: none;
    position: relative;
    z-index: 0;
  }
  
  #message .content-prof::after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("../images/message/message_bg01_pc@2x.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
  }
  
  #message .content-prof .name-wrap{
    margin-bottom: 44px;
  }
  
  
}


/*------------------------------------------------------------
interview
------------------------------------------------------------*/
#message .interview-wrap{
  background-image: url("../images/message/message_bg02_sp.png");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

#message .content-interview{
  padding: 80px 22px;
}

#message .interview-box{
  background-color: #FFF;
  padding: 24px;
  margin-bottom: 80px;
}

#message .interview-box:last-of-type{
  margin-bottom: 0;
}

#message .interview-box .interview-ttl{
  color: #5E6935;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

#message .interview-box .interview-text{
  font-size: 16px;
}

#message .interview-box .interview-img{
  margin-top: 24px;
}

#message .content-message{
  background-color: #5E6935;
  color: #FFF;
  margin-bottom: 160px;
  background-image: url("../images/message/message_bg03_sp.png");
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}

#message .content-message .message-box{
  padding: 40px 0 120px;
  position: relative;
}

#message .content-message .message-ttl{
  padding-bottom: 16px;
}

#message .content-message .message-text{
  font-size: 16px;
}

#message .content-message .message-img{
  position: absolute;
}

#message .content-message .message-text-wrap{
  margin-bottom: 32px;
}


@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  #message .content-interview{
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 0 240px;
  }
  
  #message .interview-box .interview-ttl{
    font-size: 40px;
  }
  
  #message .interview-box{
    padding: 64px 72px;
  }
  
  #message .interview-box{
    margin-bottom: 160px;
  }
  
  #message .content-message .message-box{
    display: flex;
    align-items: center;
    padding: 64px 72px;
  }
  
  #message .content-message .message-img{
    max-width: 416px;
    right: 0;
  }
  
  #message .content-message .message-text-wrap{
    max-width: 560px;
    width: calc(100% - 416px);
  }
  
  #message .content-message .message-ttl{
    font-size: 40px;
  }
  
  #message .content-message .message-text{
    line-height: 1.8;
  }
  
  #message .interview-wrap{
    background-image: url("../images/message/message_bg02_pc@2x.png");
  }
  
  #message .content-message{
    background-image: url("../images/message/message_bg03_pc@2x.png");
    margin-bottom: 240px;
  }
}