@font-face {
  font-family: 'DIN';
  src: url("/common/fonts/D-DIN/D-DIN-Bold.woff") format("woff");
  font-weight: 700;
}

@font-face {
  font-family: 'DIN';
  src: url("/common/fonts/D-DIN/D-DIN.woff") format("woff");
  font-weight: 400;
}

@media print, screen and (min-width: 768px) {
  .message-mainvisual {
    margin: 60px 0 40px;
  }
}

@media only screen and (max-width: 767px) {
  .message-mainvisual {
    margin: 30px 0;
  }
}

.message-mainvisual img {
  width: 100%;
}

.message-contents-name {
  text-align: right;
}

@media print, screen and (min-width: 768px) {
  .message-contents p + p {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .message-contents p + p {
    margin-top: 30px;
  }
}

@media print, screen and (min-width: 768px) {
  .message-contents .btn {
    margin-top: 50px;
  }
}

@media only screen and (max-width: 767px) {
  .message-contents .btn {
    margin-top: 35px;
  }
}

.message-sub main {
  margin-top: 0 !important;
}

.message-sub-headline {
  margin-bottom: 20px;
  background-color: #f2f6fb;
}

@media print, screen and (min-width: 768px) {
  .message-sub-headline {
    height: 325px;
  }
}

@media only screen and (max-width: 767px) {
  .message-sub-headline {
    height: 200px;
  }
}

.message-sub-headline .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  background-color: #f2f6fb;
}

.message-sub-headline h1 {
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  .message-sub-headline h1 {
    margin-top: 90px;
  }
}

@media only screen and (max-width: 767px) {
  .message-sub-headline h1 {
    margin-top: 55px;
  }
}
