/* ========================================================================
desktop - style layout 
========================================================================*/
img {
width: auto;
height: auto;
}

.text-box {
  display: inline-block;
  border: 1px solid #000;
  font-weight: bold;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.text-link,
.text-Link {
  display: inline;
  text-decoration: underline;
  word-break: break-all;
}

.text-color-red {
  color: #f00;
  font-weight: normal;
}

.hidden-desktop {
  display: block;
}

.hidden-phone {
  display: none;
} 

a.Underline_btn {
  text-decoration: underline;
}

.news-detail .text-bold {
  font-weight: 600;
}

/* タイトル スタイル */
.news-detail .news-detail__Newsttl {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  font-family: inherit;
  line-height: 1.6;
  word-break: break-all;
}

/* 日付 スタイル */
.news-detail .news-detail__Newsdate {
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  color: #595757;
  font-family: inherit;
  margin-bottom: 2.6rem;
}

/* 画像 スタイル */
.news-detail__ImgArea {
  width: 60%;
  height: auto;
}
.news-detail__ImgArea.--fullWidth {
  width: 100%;
}
.news-detail .news-detail__ImgArea {
  margin-bottom: 3rem;
}

/* テキスト スタイル */
.news-detail .news-detail__TxtBox {
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.62;
}

.news-detail .news-detail__TxtBox .news-detail__TxtArea {
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: left;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.news-detail__Txt + .news-detail__Txt {
  margin-top: 3em;
}

.text-underline {
  text-decoration: underline;
}

/* 文中画像 スタイル */
.news-detail__Txt img {
  display: inline-block;
  margin: 10px 0;
}

/* 表 スタイル */
.news-detail__table {
  border-collapse: collapse;
}
.news-detail__table thead {
  white-space: nowrap;
  background-color: var(--color-brand-main);
  border: 1px solid var(--color-brand-main);
}
.news-detail__table :is(th, td) {
  padding: 8px;
}
.news-detail__table th {
  font-weight: 600;
}
.news-detail__table tr:nth-of-type(even) {
  background-color: #f8f8f8;
}

/* ボタン スタイル */
.news-detail .text-bold{
  font-weight: 600;
}

.news-detail a.viewall__btn {
  padding: 2rem 7rem;
  display: inline-block;
  font-size: 1.8rem;
  text-align: center;
  margin: 0;
}


/* ========================================================================
mobile - style layout 
========================================================================*/
@media screen and (max-width:767px) {
  
  img {
    width: auto;
    height: auto;
  }

  .hidden-desktop {
    display: block;
  }

  .hidden-phone {
    display: none;
  }

  .main-area.top .detail-block-inner {
    width: 100%;
    margin: 0 auto;
  }

  /* タイトル　スタイル */
  .news-detail .news-detail__Newsttl {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 11px;
    text-align: left;
  }

  /* 日付 スタイル */
  .news-detail .news-detail__Newsdate {
    font-size: 1.1rem;
    letter-spacing: 0.025em;
    color: #595757;
    font-family: inherit;
    margin-bottom: 2.6rem;
    text-align: left;
  }

  /* 画像 スタイル */
  .news-detail__ImgArea {
    width: 100%;
  }

  /* サブタイトル　スタイル */
  .main-area.top .block-story .newssubttl {
    margin-bottom: 25px;
    font-size: 11px;
    text-align: left;
  }

  /* テキスト スタイル */
  .news-detail .news-detail__TxtBox {
    margin-bottom: 40px;
  }

  .news-detail__Txt {
    font-size: 12px;
    text-align: left;
    line-height: 1.62;
  }

  /* ボタン スタイル */
  .news-detail a.viewall__btn {
    font-size: calc(32 * (100vw / 750));
    text-align: center;
    margin: 0;
    width: 100%;
    padding: 20px 0;
  }
}

/* ========================================================================
desktop - style layout 
========================================================================*/
@media screen and (min-width:768px) {
  .hidden-desktop {
    display: none;
  }
  
  .hidden-phone {
    display: block;
  }

  /* 文中画像 スタイル */
  .news-detail__Txt img.--desktop-half {
    width: 50%;
  }
}
