@charset "UTF-8";
/*$color-deep_blue_green: #008578;*/
/* 新着情報 --------------------------------------------------------- */
/* news.phpから移行 ここから */
/* CSSは必要最低限しか指定してませんのでお好みで（もちろん外部化OK） */
/* clearfix */
.main_visual {
  background-image: url(../news/image/news.jpg);
  background-repeat: repeat-x;
  height: 400px;
  position: relative;
}
@media screen and (max-width: 854px) {
  .main_visual {
    background-size: cover;
    height: 280px;
    background-position: bottom;
  }
}
@media screen and (max-width: 640px) {
  .main_visual {
    background-size: cover;
    height: 180px;
    background-position: bottom;
  }
}
.main_visual h2 {
  color: #fff;
  border-bottom: 2px solid #fff;
  display: inline;
  position: absolute;
  top: 30%;
}
@media screen and (max-width: 854px) {
  .main_visual h2 {
    top: 25%;
    font-size: 2rem;
  }
}
@media screen and (max-width: 640px) {
  .main_visual h2 {
    top: 15%;
  }
}

.title b {
  color: #00A99D;
  font-weight: 700;
}

.r_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
  padding: 0.2em 1em;
  border: 1px solid #0c0d0e;
  border-radius: 25px;
  background-color: #fff;
  color: #0c0d0e !important;
  font-size: 1em;
  max-width: 260px;
  text-decoration: none;
  line-height: 1.7;
}
.r_btn a::before {
  transform: rotate(225deg);
  width: 5px;
  height: 5px;
  margin-right: 10px;
  content: "";
  border-top: 2px solid rgb(12, 13, 14);
  border-right: 2px solid rgb(12, 13, 14);
}
.r_btn a:hover {
  background-color: #ffd800;
  border: 1px solid #c4a600;
  color: #fff !important;
  transition: all 0.4s;
}
.r_btn a:hover::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: all 0.4s;
}

.btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto;
  padding: 0.2em 1em;
  border: 1px solid #0c0d0e;
  border-radius: 25px;
  background-color: #fff;
  color: #0c0d0e !important;
  font-size: 1em;
  max-width: 260px;
  text-decoration: none;
  line-height: 1.7;
}
.btn a::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #0c0d0e;
  border-right: 2px solid #0c0d0e;
  content: "";
}
.btn a:hover {
  background-color: #ffd800;
  border: 1px solid #c4a600;
  color: #fff !important;
  transition: all 0.4s;
}
.btn a:hover::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: all 0.4s;
}

h2.top_news {
  text-align: center;
  border-bottom: solid 2px #000;
  margin: 0 20px;
  padding: 15px 0;
}

.clearfix {
  display: inline-block;
}

/* for macIE \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

#newsWrap { /* 追加 */
  width: 100%;
}
#newsWrap .pager {
  margin: 20px 0;
  text-align: center;
}
#newsWrap .pager a {
  display: inline-block;
  padding: 2px 10px;
  margin: 2px;
  text-decoration: none;
  background-color: #fff;
  color: #333;
  border-radius: 50%;
  font-weight: 700;
  border: solid 1px #333;
}
#newsWrap .pager a:hover {
  text-decoration: none;
  background-color: #ddd;
}
#newsWrap .pager a.current {
  background-color: rgb(255, 215, 3);
  color: #333;
}
#newsWrap ul {
  margin: 0;
  padding: 0;
}

ul#newsList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 1em !important;
  padding: 0 1em !important;
}
@media screen and (max-width: 854px) {
  ul#newsList {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 640px) {
  ul#newsList {
    grid-template-columns: repeat(1, 1fr);
    width: 95%;
    margin: 0 auto;
  }
}
ul#newsList li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 5px;
  border: 2px solid #797b7a;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f9f2c8;
}
ul#newsList div {
  padding: 0 10px;
}
ul#newsList img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 150px;
}
@media screen and (max-width: 854px) {
  ul#newsList img {
    height: 200px;
  }
}

/*ul#newsList li > div{
	//display: table-cell;
	&:first-of-type{
		width: 4.5em;
		white-space: nowrap;
	}
	&:nth-of-type(2){
		//width: 5em;
		white-space: nowrap;
		align-self: flex-start;
	}
	&:nth-of-type(3){
		width: calc(100% - (4.5em + 5em));
		align-self: flex-start;
		@media screen and (max-width: $break-point-VGA) {
			width: 100%;
			padding-left: 4.5em;
		}
	}
}
 削除
a{color:#36F;text-decoration:underline;}
a:hover{color:#039;text-decoration:none;}
*/
.up_ymd {
  display: block; /* 追加 */
  padding: 0 0.5em 0 0;
}

.catName {
  text-align: center; /* 追加 */
  right: 0; /* 追加 */
  color: #FFFFFF; /* 追加 */
  display: inline-block;
  background-color: #00419A;
  /*border:1px solid #ccc;*/ /* 変更 */
  border-radius: 6px;
  font-size: 0.8em; /* 変更 */
  line-height: 100%;
  margin: 0 2px;
  padding: 0.4em; /* 変更 */
}
.catName.通常 {
  display: none;
}
@media screen and (max-width: 640px) {
  .catName {
    top: 20px;
  }
}
@media screen and (max-width: 854px) {
  .catName {
    font-size: 0.776em;
  }
}
@media screen and (max-width: 768px) {
  .catName {
    font-size: 0.768em;
  }
}
@media screen and (max-width: 640px) {
  .catName {
    font-size: 0.744em;
  }
}

.catName.News {
  background: #7AC9C1; /* 追加 */
}

.catName.Topics {
  background: #1B2B75; /* 追加 */
}

.newMark,
.newMarkHidden {
  display: table-cell;
}

.newMark {
  display: inline;
  border: 1px solid #FF9FAD;
  padding: 0.1em 0.75em;
  font-size: 0.7em;
  font-weight: 700;
  line-height: 100%;
  background: #c97a7a;
  color: #fff;
  /*box-shadow:1px 1px 1px #999;*/
  border-radius: 100vw;
  /*font-style:italic;*/ /* 変更 */
}
@media screen and (max-width: 854px) {
  .newMark {
    font-size: 0.72em;
  }
}
@media screen and (max-width: 768px) {
  .newMark {
    font-size: 0.72em;
  }
}
@media screen and (max-width: 640px) {
  .newMark {
    font-size: 0.72em;
  }
}

.comment {
  display: block;
  padding: 0;
  width: 100%; /* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
  line-height: 1.65;
  font-size: 0.95em;
  font-weight: 400;
  word-break: break-all;
}
.comment span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.comment h3 {
  border-left: 0px solid #ffffff;
  font-size: 0.95em;
  padding: 0;
  margin: 0;
}
.comment h4 {
  border: 0px solid #fff;
  padding: 0;
  margin: 0;
}
.comment h5, .comment h6 {
  font-size: 0.95em;
  padding: 0;
  margin: 0;
}
.comment h5::before, .comment h6::before {
  content: "";
  width: 0px;
  height: 0px;
  background: #ffffff;
  position: absolute;
  left: 0;
  top: 0px;
}
.comment a {
  text-decoration: none !important;
  color: #333 !important;
  border-bottom: 0px solid #ffffff !important;
  word-break: break-all;
}
.comment p {
  margin: 0;
  word-wrap: break-word;
}
.comment br {
  display: none;
}

.thumbNailWrap {
  display: block;
}
.thumbNailWrap img {
  max-width: 100%;
}
@media screen and (max-width: 854px) {
  .thumbNailWrap {
    flex-basis: 100%;
  }
}
@media screen and (max-width: 768px) {
  .thumbNailWrap {
    flex-basis: 100%;
  }
}
@media screen and (max-width: 640px) {
  .thumbNailWrap {
    flex-basis: 100%;
  }
}

body {
  margin: 0 auto;
  padding: 0;
  width: 100%; /* 追加 */
  /* font-family: $base-font-family; 追加 */
  white-space: normal;
  background: transparent; /* iframeの親を引き継ぐ */
}
main {
  padding-top: 83px;
  background-image: url(../images/pattern/background1.png);
  background-repeat: repeat;
  background-size: auto;
  background-position: top center;
  background-color: #FFFDF2;
}
@media screen and (max-width: 1024px) {
  main {
    padding-top: 53px;
  }
}

#newsList a {
  color: #1968b3; /* 追加 */
  text-decoration: none;
  /* border-bottom: /*1px dotted $color-base1px solid $color-bk-link-blue; 追加 */
  transition: all 0.4s; /* 追加 */
}
#newsList a:hover {
  color: #7AC9C1; /* 追加 */
  /* border-bottom: 1px solid $color-base; 追加 */
}

a[href="http://www.php-factory.net/"] { /* 追加 */
  display: none !important;
}

#newsList .text {
  padding-left: 20px;
  flex-basis: 260%;
}

.title {
  display: inline;
  padding: 0;
  margin-right: 0.5em;
  font-weight: 700;
}

.thumbNailWrap {
  font-size: 0; /* 追加 */
}

.news_contents {
  background-color: #fffbf0;
  border-radius: 10px;
  margin-bottom: 2em;
  margin-top: 40px;
  padding-bottom: 1em;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}

#detail {
  margin: 0.5em 0 5em 0; /* 追加 */
  padding: 0 20px;
}
#detail img {
  max-width: 100%;
}
#detail h2 {
  margin-bottom: 30px;
  border-bottom: 2px solid #333333;
  font-size: 1.5rem;
  text-align: left;
  color: #333333;
}
#detail #up_ymd {
  padding-top: 1em;
  text-align: left;
  padding-left: 1em;
}

.detailText {
  /* font-size: 0.95em; 追加 */
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1em;
}
.detailText h3, .detailText h4 {
  margin-top: 1em;
  font-weight: bold;
}
.detailText h3 {
  font-size: 1.5rem;
  color: #4a2400;
  border-left: 10px solid #4a2400;
  padding: 5px 30px 5px 15px;
}
.detailText h4 {
  font-size: 1.3rem;
  position: relative;
  padding-left: 1.2em;
  font-weight: bold;
}
.detailText h4::before {
  content: "";
  width: 16px;
  height: 16px;
  background: #fcb076;
  position: absolute;
  left: 0;
  top: 8px;
}
.detailText h5 {
  font-size: 1.1rem;
  font-weight: bold;
}
.detailText p {
  margin: 1em 0;
  padding-left: 1em;
}
@media screen and (max-width: 640px) {
  .detailText p {
    padding-left: 10px;
  }
}
.detailText ul {
  margin-left: 3.5em;
  list-style-type: disc;
}
.detailText ol {
  margin-left: 3.5em;
  list-style-type: decimal;
}
.detailText hr {
  margin: 10px 0;
}
.detailText blockquote {
  margin: 0 0 0 1em !important;
}
.detailText table {
  max-width: 100%;
}
@media screen and (max-width: 854px) {
  .detailText {
    font-size: 0.855em;
  }
}
@media screen and (max-width: 768px) {
  .detailText {
    font-size: 0.8075em;
  }
}
@media screen and (max-width: 640px) {
  .detailText {
    font-size: 0.76em;
  }
}
@media screen and (max-width: 640px) {
  .detailText {
    margin: 0.5em 0;
  }
}
.detailText a {
  color: #1968b3;
  text-decoration: none;
  border-bottom: 1px solid #1968b3;
  transition: all 0.4s;
  word-wrap: break-word;
}
.detailText a:hover {
  color: #7AC9C1;
  border-bottom: 1px solid #7AC9C1;
}

.detailUpfile {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}
.detailUpfile a {
  margin-top: 15px;
  display: inline-block;
  background-color: #04afe2;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  color: #FFFFFF;
  line-height: normal;
  position: relative;
  font-weight: 700;
  font-size: 90%;
  box-sizing: border-box;
  border: solid 2px #FFFFFF;
  transition: all 0.2s;
}
.detailUpfile a .pdf_icon {
  display: inline-block;
  background: url(../news/image/file-pdf.svg) no-repeat left top;
  padding-left: 38px;
  line-height: 32px;
}
.detailUpfile a .xls_icon {
  display: inline-block;
  background: url(../news/image/file-xls.svg) no-repeat left top;
  padding-left: 38px;
  line-height: 32px;
}
.detailUpfile a .word_icon {
  display: inline-block;
  background: url(../news/image/file-word.svg) no-repeat left top;
  padding-left: 38px;
  line-height: 32px;
}
.detailUpfile a .powerpoint_icon {
  display: inline-block;
  background: url(../news/image/file-powerpoint.svg) no-repeat left top;
  padding-left: 38px;
  line-height: 32px;
}
.detailUpfile a:hover {
  background-color: #FFFFFF;
  border: solid 2px #04afe2;
  color: #04afe2;
}
.detailUpfile a:hover .pdf_icon {
  background: url(../news/image/file-pdf_hover.svg) no-repeat left top;
}
.detailUpfile a:hover .xls_icon {
  background: url(../news/image/file-xls_hover.svg) no-repeat left top;
}
.detailUpfile a:hover .word_icon {
  background: url(../news/image/file-word_hover.svg) no-repeat left top;
}
.detailUpfile a:hover .powerpoint_icon {
  background: url(../news/image/file-powerpoint_hover.svg) no-repeat left top;
}
.detailUpfile a:hover::after {
  border-color: transparent transparent transparent #04afe2;
}

/* news.phpから移行 ここまで */
/* News ------------------------------------------------------------- */
/* News（トップページ） */
/* ニュースの見出し矢印（トップページ用）（右向き・丸囲みの矢印） */
.arrow_for_top {
  position: relative;
  padding-left: 20px;
  color: #333;
  text-decoration: none;
}

/* News（View All） */
.newsbox {
  /* アコーディオン用の表示 */
}
.newsbox #detail {
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.4s;
}
.newsbox .toggle {
  display: none;
}
.newsbox .toggle:checked + .title + .catName + #detail {
  height: auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s;
}
.newsbox .toggle:checked + .title.arrow_u_b:after {
  margin-top: -1px;
  transform: rotate(-45deg);
}
.newsbox label.title {
  cursor: pointer;
  display: inline-block;
  width: calc(100% - (14em + (0.8em + 2px) * 2));
  cursor: pointer;
  /* ★★★「#newsList a」とほぼ同じ ここから */
  color: #787878;
  text-decoration: none;
  transition: all 0.4s;
  /* ★★★「#newsList a」とほぼ同じ ここまで */
}
.newsbox label.title:hover {
  color: #787878;
}
@media screen and (max-width: 640px) {
  .newsbox label.title {
    display: block;
    width: auto;
  }
}

/* News（詳細） */
.news-detailbox {
  /* パンくず */
  /* 日付とカテゴリ名の横並び */
  /* 日付 */
  /* カテゴリ名 */
  /* 注意：このカテゴリ名は詳細表示用のものである */
  /* 見出し */
  /* 戻るボタン */
}
.news-detailbox .pNav {
  /* ★★★「.main」の「&__textarea」とほぼ同じ ここから */
  margin: 0 0 1em 0; /*★変更*/
  padding: 10px; /*★変更*/
  font-size: 0.8em;
  line-height: 1.5em;
  /* ★★★「.main」の「&__textarea」とほぼ同じ ここまで */
}
@media screen and (max-width: 1200px) {
  .news-detailbox .pNav {
    font-size: 0.72em;
  }
}
@media screen and (max-width: 854px) {
  .news-detailbox .pNav {
    font-size: 0.68em;
  }
}
@media screen and (max-width: 768px) {
  .news-detailbox .pNav {
    font-size: 0.64em;
  }
}
@media screen and (max-width: 640px) {
  .news-detailbox .pNav {
    box-shadow: none;
    font-size: 0.64em;
  }
}
.news-detailbox .pNav a {
  transition: all 0.4s;
}
.news-detailbox .pNav a:hover {
  color: #7AC9C1;
}
.news-detailbox .date-cat_yokonarabi {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.news-detailbox #up_ymd {
  /* ★★★「.main」の「&__textarea」とほぼ同じ ここから */
  margin: 0 0 1em 0; /*★変更*/
  padding: 0; /*★変更*/
  font-size: 0.8em;
  line-height: 1.5em;
  /* ★★★「.main」の「&__textarea」とほぼ同じ ここまで */
}
@media screen and (max-width: 1200px) {
  .news-detailbox #up_ymd {
    font-size: 0.72em;
  }
}
@media screen and (max-width: 854px) {
  .news-detailbox #up_ymd {
    font-size: 0.68em;
  }
}
@media screen and (max-width: 768px) {
  .news-detailbox #up_ymd {
    font-size: 0.64em;
  }
}
@media screen and (max-width: 640px) {
  .news-detailbox #up_ymd {
    padding: 0;
    box-shadow: none;
    font-size: 0.64em;
  }
}
.news-detailbox #up_ymd a {
  transition: all 0.4s;
}
.news-detailbox #up_ymd a:hover {
  color: #7AC9C1;
}
.news-detailbox #catName {
  width: 7.5em;
  text-align: center;
  color: #FFF;
  display: inline-block;
  padding: 0.4em 0.8em;
  font-size: 0.8em;
  line-height: 100%;
  margin: 0 2px;
}
@media screen and (max-width: 640px) {
  .news-detailbox #catName {
    top: 20px;
  }
}
@media screen and (max-width: 854px) {
  .news-detailbox #catName {
    font-size: 0.776em;
  }
}
@media screen and (max-width: 768px) {
  .news-detailbox #catName {
    font-size: 0.768em;
  }
}
@media screen and (max-width: 640px) {
  .news-detailbox #catName {
    font-size: 0.744em;
  }
}
.news-detailbox #catName.News {
  background: #7AC9C1;
}
.news-detailbox #catName.Topics {
  background: #1B2B75;
}
.news-detailbox #title {
  /* ★★★「.submain」の「&__heading」と同じ ここから */
  margin: 1em 0;
  padding-left: 0.5em;
  font-size: 1.2em;
  font-weight: 700;
  border-left: 0.25em solid #7AC9C1;
  /* ★★★「.submain」の「&__heading」と同じ ここまで */
}
@media screen and (max-width: 1020px) {
  .news-detailbox #title {
    font-size: 1.08em;
  }
}
@media screen and (max-width: 854px) {
  .news-detailbox #title {
    font-size: 1.02em;
  }
}
@media screen and (max-width: 640px) {
  .news-detailbox #title {
    font-size: 0.84em;
  }
}
.news-detailbox .backORcloseBtn {
  width: 50%;
  margin: 2em auto;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .news-detailbox .backORcloseBtn {
    margin: 1em auto;
  }
}
.news-detailbox .backORcloseBtn a {
  cursor: pointer;
  margin: 1em auto;
  text-align: center;
  border-radius: 10px;
  /* ★★★「会社情報」（＝代表メッセージ）の「.banner」の「&-link」とほぼ同じ ここから★★★ */
  padding: 0.3em 0.8em;
  display: inline-block;
  border: 2px solid #00A99D;
  background: #7AC9C1;
  font-size: 0.9em;
  font-weight: 700;
  color: #FFF;
  text-decoration: none;
  width: 30%; /*★変更*/
  box-sizing: border-box;
  transition: all 0.4s;
  /* ★★★「会社情報」（＝代表メッセージ）の「.banner」の「&-link」とほぼ同じ ここまで★★★ */
}
@media screen and (max-width: 1200px) {
  .news-detailbox .backORcloseBtn a {
    font-size: 0.855em;
  }
}
@media screen and (max-width: 854px) {
  .news-detailbox .backORcloseBtn a {
    font-size: 0.81em;
  }
}
@media screen and (max-width: 768px) {
  .news-detailbox .backORcloseBtn a {
    font-size: 0.765em;
  }
}
@media screen and (max-width: 640px) {
  .news-detailbox .backORcloseBtn a {
    font-size: 0.72em;
  }
}
.news-detailbox .backORcloseBtn a:hover {
  opacity: 0.5;
  transition: all 0.4s;
}
.news-detailbox .backORcloseBtn a:hover::after {
  border-color: #FFF;
  transition: all 0.4s;
}

/* ニュースの見出し矢印（View All用）（下向き・丸囲みの矢印） */
.arrow_for_viewall {
  position: relative;
  padding-right: 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.4s;
}
.arrow_for_viewall:before {
  content: "";
  width: 18px;
  height: 18px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -9px;
  transition: all 0.4s;
}
.arrow_for_viewall:after {
  content: "";
  width: 4px;
  height: 4px;
  border: 0;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  position: absolute;
  top: 50%;
  right: 6px;
  margin-top: -3px;
  transform: rotate(135deg);
  transition: all 0.4s;
}

#newsList_top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 1em !important;
  padding: 0 1em !important;
}
@media screen and (max-width: 640px) {
  #newsList_top {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
#newsList_top li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  width: 100%;
}
#newsList_top li:last-child {
  padding-right: 0px;
}
@media screen and (max-width: 640px) {
  #newsList_top li {
    border-right: dashed 0px #fff;
    margin-bottom: 1em;
  }
}
#newsList_top li img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  width: 100%;
  height: 150px;
}
#newsList_top .box {
  overflow: hidden;
  display: block;
  width: 100%;
  text-align: center;
  height: 100%;
  border: 2px solid #797b7a;
  border-radius: 10px;
  margin: auto;
  background-color: #f9f2c8;
}
#newsList_top a {
  color: #333;
  text-decoration: none;
  transition: all 0.4s;
}
#newsList_top a:hover {
  opacity: 0.4;
}
#newsList_top .title {
  font-size: 1em;
  text-align: left;
  display: block;
}
#newsList_top .up_ymd, #newsList_top .title {
  margin: 5px 10px 5px 10px;
  padding: 0 0.5em 0 0;
  text-align: left;
}
#newsList_top li:last-child {
  border-right: 0px solid #fff;
}
/*# sourceMappingURL=news.css.map */