@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/*------------------------------------------------

　今日のバリエ

.roboto(100-900) {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}
------------------------------------------------*/

:root {
  --primary-color:          #211111;
}
.contents-head {
  background-image: url(../images/bg-contents-head.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 60px;
}
.contents {
  background-image: url(../images/bg-contents-body.png);
  background-repeat: repeat-y;
}
.contents-foot {
  background-image: url(../images/bg-contents-foot.png);
  background-repeat: no-repeat;
  height: 60px;
}

/*------------------------------------------------
一覧
------------------------------------------------*/
#subtitle h2 {
  line-height: 1.2;
}
.article-list {
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 50px 20px;
}
.article-item {
  background-color: #fff;
  box-shadow: 5px 5px 10px rgba(0,0,0,.25);
}
.article-item-date {
  padding: 2em 2em 0.5em;
}
.article-item-date span {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.article-item_headding {
  padding: 0.5em 2em 2em;
}
.article-item-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.article-item a {
  text-decoration: none;
}
.newMark {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #fff;
  background-color: #d8134a;
  text-transform: uppercase;
  padding: 0.25em 0.5em;
  margin-right: 0.5em;
}
.thumbNailWrap {
  overflow: hidden;
  position: relative;
}
a .thumbNailWrap img {
  transform: scale(1.0);
  transition: all 0.5s;
}
a:hover .thumbNailWrap img {
  transform: scale(1.1);
}
.article-item-category {
  font-size: 1.4rem;
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  padding: 0.25em 1em;
  z-index: 1;
}
.cat-0 .article-item-category {
  background-color: #de9610;
}
.cat-1 .article-item-category {
  background-color: #c93a40;
}
.cat-2 .article-item-category {
  background-color: #65ace4;
}
.cat-3 .article-item-category {
  background-color: #56a764;
}
.cat-4 .article-item-category {
  background-color: #cc528b;
}
.cat-5 .article-item-category {
  background-color: #0074bf;
}
.cat-6 .article-item-category {
  background-color: #f2cf01;
}
.cat-7 .article-item-category {
  background-color: #9460a0;
}
.thumbNailWrap img {
  width: 100%;
  height: auto;
}
/*ページャー*/
.pager {
	text-align: center;
  margin-top: 40px;
	padding: 10px;
	clear: both;
}
/*ページャーボタン*/
.pager a {
  border: 1px solid var(--primary-color);
  background-color: #fff;
  border-radius: 5px;
  color: var(--primary-color);
  font-size: 14px;
  padding: 0.5em 1em;
  text-decoration: none;
	margin: 0 0.25em;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}
/*現在のページのボタン*/
.pager a.current {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  padding: 0.5em 1em;
	margin: 0 0.25em;
  text-decoration: none;
}
.pager a:hover {
  background: var(--primary-color);
  color: #fff;
}
.overPagerPattern {
	padding: 0 2px;	
}

@media print, screen and (min-width: 769px) {
  .article-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .article-item {
    width: calc((100% / 3) - 17px);
  }
  .pager {
    margin-top: 60px;
  }
  .pager a, 
  .pager a.current {
    padding: 0.5em 1em;
    font-size: 14px;
    margin:0 3px;
  }
}

/*@media print, screen and (min-width: 901px) {
  .article-list {
    gap: 30px;
  }
  .article-item {
    width: calc(50% - 15px);
  }
  .article-item-date {
    padding: 20px 30px 0;
  }
  .article-item_headding {
    padding: 0 30px 30px;
  }
}*/

/*------------------------------------------------
記事詳細
------------------------------------------------*/
.today_detail_wrap {
  margin-top: 30px;
  margin-bottom: 60px;
}
.today_detail {
  margin: auto;
  width: calc(100% - 40px);
  max-width: 960px;
}
.today-detail_item {
  margin: auto;
  margin-top: 30px;
  width: 700px;
}
h3.today-detail_title {
  padding: 1em 1.5em;
  color: #fff;
  background-color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  text-align: left!important;
}
.today-detail_date {
  padding: 0.5em 1em;
  margin-top: 10px;
}
.today-detail_date span {
  background-color: var(--bg-light-blue);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.detailUpfile {
  margin: 1em auto;
  max-width: 600px;
}
.backORcloseBtn {
    text-align:center;
    line-height: 100%;
    margin-top: 30px;
}
.backORcloseBtn a {
  display: inline-block;
  padding: 0.75em 1.5em 0.75em 2.5em;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
}
.backORcloseBtn a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 1em;
  transform: translateY(-50%) rotate(-45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}
.backORcloseBtn a:hover {
  opacity: .8;
}
.detailText {
  line-height: 1.8!important;
}
.detailText h4 {
  font-weight: 700!important;
  font-size: 18px!important;
  margin-bottom: 1em!important;
}
.detailText h5 {
  font-weight: 700!important;
  font-size: 16px!important;
  margin-bottom: 1em!important;
}
.detailText p {
  margin-bottom: 1em!important;
  font-size: 14px!important;
  line-height: 1.8!important;
}

@media print, screen and (min-width: 769px) {
  .today_detail_wrap {
    margin-top: 60px;
    margin-bottom: 120px;
  }
  .today-detail_date {
    font-size: 1.8rem;
  }
}

@media print, screen and (min-width: 1201px) {
  .today-detail_title {
    padding: 0.75em 1.5em;
    font-size: 2rem;
  }
  .backORcloseBtn a {
    font-size: 1.6rem;
  }
}

/*========== リスト ==========*/
.detailText ul, 
.detailText ol {
  margin: 1em 0;
}
.detailText ul {
  margin-left: 1em;
}
.detailText ol {
  margin-left: 0.5em;
  counter-reset: li_count;
}
.detailText font, 
.detailText ul li, 
.detailText ol li {
  padding: 0.25em 0;
  line-height: 1.5em;
}
.detailText ul li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  position: relative;
  padding: .3em .3em .3em 1em;
}
.detailText ul li::before {
  position: absolute;
  content: '';
}
.detailText ul li::before {
  left: 0;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background-color: var(--primary-color);
}
.detailText ol li {
  text-indent: -1.3em;
  padding-left: 2em;
  counter-increment: count;
}
.detailText ol li::before {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  content: counter(count)".";
  margin-right: 0.25em;
  color: var(--primary-color);
}
/*========== テキストリンク ==========*/
.detailText a {
    border-bottom: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    position: relative;
    padding-right: calc(16px + 0.5em);
    margin-left: 0.25em;
    margin-right: 0.25em;
}
.detailText a:hover {
  opacity: .8;
}
.detailText a::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../../image/works/icon_link.svg);
  background-repeat: no-repeat;
  background-size: 16px 16px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  filter: brightness(0) saturate(100%) invert(17%) sepia(44%) saturate(3201%) hue-rotate(210deg) brightness(104%) contrast(95%);
}

/*========== 掲載写真 ==========*/
.detailUpfile {
  margin: 20px auto;
  width: auto;
  /*border: 20px solid #fff;
  box-shadow: 10px 10px 10px rgb(0, 0, 0, .2);*/
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.detailUpfile img {
  text-align: center;
}
/*.detailUpfile::before {
  content: "";
  display: block;
  width: 30px;
  height: 50px;
  background-image: url(../images/pin_red.png);
  background-size: 30px 50px;
  position: absolute;
  top: -30px;
  left: calc(50% - 10px);
}
.detailUpfile:nth-of-type(1) {
  transform: rotate(1deg);
}
.detailUpfile:nth-of-type(2) {
  transform: rotate(-1deg);
}*/

/*========== 投稿日アイコン ==========*/
.article-item-date span, 
.today-detail_date span {
  position: relative;
  padding-left: calc(16px + 0.5em);
}
.article-item-date span::before, 
.today-detail_date span::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url(../images/icon_published.svg);
  background-repeat: no-repeat;
  background-size: 16px 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
