﻿.news.detail {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProW3", "メイリオ", "Meiryo", sans-serif;
  font-size: 1.6rem;
  font-feature-settings: "palt";
  font-variant-numeric: proportional-nums;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

main a[target="_blank"]:not(.no_icon, .img_link, .btn_link, [href^="/"])::after {
  margin-right: 4px;
  vertical-align: -1px;
}

.news.detail .headline {
  padding: 32px;
  background: #fafafa;
}

.news.detail .headline_img {
  width: 144px;
  height: 144px;
  overflow: hidden;
  border-radius: 4px;
}

.news.detail .headline_img img {
  border: none;
}

.news.detail .headline_date {
  margin-top: 4px;
  line-height: 1;
}

.news.detail .headline_text {
  padding-left: 32px;
  vertical-align: top;
}

.news.detail .headline_title {
  margin-top: 4px;
  font-size: 2.4rem;
  line-height: 1.48;
}

.news.detail .facebook,
.news.detail .twitter {
  margin-left: -4px;
}

.news.detail .container {
  width: 960px;
}

.news.detail h2 {
  margin: 48px 0 0;
  font-size: 2rem;
  line-height: 1.48;
}

.news.detail h2.back_gray {
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fafafa;
}

.news.detail h2 + p {
  margin-top: 8px;
}

.news.detail h3 {
  margin-block: 0;
  margin-top: 40px;
  font-size: 1.8rem;
  line-height: 1.48;
}

.news.detail h3 + p {
  margin-top: 4px;
}

.news.detail br + a {
  margin-top: 4px;
}

p {
  margin: 24px 0 12px;
}

p.small {
  margin: 20px 0 8px;
  font-size: 1.4rem;
}

p.link {
  margin: 8px;
}

b strong,
p strong {
  line-height: 1.48;
}

.press.detail .foot_box,
.press.detail .article_footer {
  padding: 48px 12px;
  border-top: 1px solid #ccc;
}

.news.detail .foot_box {
  margin-bottom: 0;
}

.news.detail .press_body table,
.news.detail .press_body figure {
  margin: 32px 0 56px;
}

.news.detail .press_body table,
.news.detail .press_body figure figcaption {
  margin-top: 8px;
  font-size: 1.4rem;
}

.news.detail .press_body .press_img {
  margin: 32px 0 56px;
}

.news.detail .press_body .press_img figure {
  margin: 0 0 24px;
}

.news.detail .article {
  margin-bottom: 120px;
}

.news.detail .sns_area {
  min-height: auto;
  margin: 24px 0 8px;
}

.news.detail .note {
  display: flex;
  padding: 24px;
  margin: 32px 0;
  border: 1px solid #eee;
  border-radius: 4px;
}

.news.detail .note h3 {
  margin-top: 0;
}

.news.detail .note .service_logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 180px;
  margin-right: 40px;
  background-color: #fcfcfc;
  border-radius: 4px;
}

.news.detail .note .service_logo.black {
  background-color: #000;
}

.news.detail .note .service_logo img {
  max-width: 216px;
  max-height: 156px;
  padding-bottom: 4px;
}

.news.detail .press_body table {
  width: 100%;
  margin-top: 32px;
  font-size: 1.4rem;
  line-height: 1.48;
}

.news.detail .press_body table.mts {
  margin-top: 12px;
}

.news.detail .press_body table.line {
  border: 1px solid #e0e0e0;
}

.news.detail .press_body table th,
.news.detail .press_body table td {
  padding: 16px;
}

.news.detail ul,
.news.detail ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.news.detail ul li {
  margin-top: 6px;
}

.news.detail ul li:first-child {
  margin-top: 0;
}

.news.detail dl,
.news.detail dt,
.news.detail dd {
  margin: 0;
  margin-top: 4px;
}

.news.detail dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6px;
}

.news.detail dt {
  width: 6%;
}

.news.detail dd {
  width: 94%;
}

.news.detail .apply {
  margin: 80px;
  margin-top: -80px;
  text-align: center;
}

.news.detail .apply .btn_link {
  min-width: 280px;
}

p.first,
.news.detail h2.first,
.news.detail h3.first,
.news.detail .press_body figure.first {
  margin-top: 0;
}

.news.detail hr {
  height: 1px;
  padding: 0;
  margin: 48px 0;
  border: 0;
  border-top: 1px dashed #ccc;
}

@media screen and (width <= 740px) {
  .news.detail .news_header {
    padding-right: 4%;
    padding-left: 4%;
  }

  .news.detail .header_logo img {
    width: 100px;
  }

  .news.detail .container {
    width: 100%;
  }

  .news.detail .headline_date {
    font-size: 1.4rem;
  }

  .news.detail .headline_title {
    font-size: 1.8rem;
  }

  .news.detail .headline {
    padding: 12px 0 16px;
  }

  .news.detail .headline_text,
  .news.detail .sns_area,
  .news.detail .press_body,
  .news.detail .foot_box {
    padding-right: 4%;
    padding-left: 4%;
  }

  .news.detail h2 {
    margin: 32px 0 0;
    font-size: 1.6rem;
  }

  .news.detail h3 {
    margin: 24px 0 0;
    font-size: 1.4rem;
  }

  p {
    font-size: 1.4rem;
  }

  p.small {
    font-size: 1.2rem;
  }

  .press.detail .foot_box,
  .press.detail .article_footer {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .press.detail .foot_box a {
    font-size: 1.4rem;
  }

  .news.detail .press_body table,
  .news.detail .press_body figure {
    margin: 16px 0;
  }

  .news.detail .press_body table,
  .news.detail .press_body figure figcaption {
    margin-top: 4px;
    font-size: 1.2rem;
  }

  .news.detail .press_body .press_img {
    margin: 24px 0;
  }
  
  .news.detail .press_body .press_img figure {
    margin: 16px 0;
  }

  .news.detail .article {
    margin-bottom: 80px;
  }

  .news.detail .note {
    padding: 16px 16px 12px;
  }

  .news.detail .note .service_logo {
    display: none;
  }

  .news.detail .press_body table.mts {
    margin-top: 8px;
  }

  .news.detail .press_body table th {
    width: 64px;
  }

  .news.detail .press_body table th,
  .news.detail .press_body table td {
    padding: 10px;
  }

  .news.detail ul li {
    margin-top: 4px;
  }

  .news.detail dl,
  .news.detail dt,
  .news.detail dd {
    margin-top: 2px;
  }

  .news.detail dl {
    margin-top: 4px;
  }

  .news.detail dt {
    width: 14%;
  }

  .news.detail dd {
    width: 86%;
  }

  .news.detail .apply {
    margin: 0 4% 48px;
  }

  .news.detail .apply .btn_link {
    display: block;
    width: 100%;
  }

  .news.detail hr {
    margin: 24px 0;
  }
}
