/* ブログタイトル */
.blog-title {
  width: 100%;
  background-color: #bddfed;
}
.blog-title img{
	height: 35px;
}
.blog-title a {
	transition: opacity 0.3s; /* フェードを滑らかに */
}
.blog-title a:hover {
	opacity: 0.7; /* 半透明に */
}
.blog-title-inner {
  max-width: 1000px;
  margin: 0 auto;   /* 中央寄せ */
  padding: 1.0rem 1.0rem 1.0rem 0.5rem;    /* 余白 */
  
    display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;  
}
.blog-left {
  text-align: left;
}
.blog-right {
  text-align: right;
  color: #333;
  font-size: 1.4rem;
}
.blog-left {
  position: relative;
  display: inline-block;
}

.blog-left a {
  display: inline-block;
  position: relative;
}

.blog-left a::after {
  content: "情報続々！";  /* 吹き出し内の文字 */
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 15px;

  background: #fff;           /* 吹き出し背景 白 */
  color: #333;                 /* 吹き出し文字 赤 */
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
/* しっぽ部分 */
.blog-left a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) rotate(180deg);
  margin-left: 10px;

  border-width: 10px 0 10px 12px; 
  border-style: solid;
  border-color: transparent transparent transparent #fff; /* 左向きの白三角 */
}

@media screen and (max-width: 768px) {
	.blog-title {
		margin-top: 70px;
		padding-left: 5px;
	}
	.blog-title img{
		height: 40px;
		}
  .blog-title-inner {
    max-width: 100%;  /* 制限解除 */
    padding: 1rem;    /* 必要なら調整 */
  }
}

	

/* コンテナ内 */
#article_container-wrapper{
	background-color: white;
	padding: 0px 0px;
/* 	35px 40px */
	border-radius: 1.5rem;
	margin-top: 20px;
}
@media screen and (max-width: 768px) {
	#article_container-wrapper{
		width: 100%;
		border-radius: 0;
		padding: 0;
		padding-bottom: 15px;
	}
}
#article_container-wrapper a{
	color: var(--maincolor-link);
}
#article_container-wrapper a:hover{
	text-decoration: underline;
}

/* 画像系 */
#article_container-wrapper #mainImg{
	border-radius: 5px 5px 0 0;
}
#article_container-wrapper .images{
	width: 100%;
	margin-bottom: 35px;
	
	padding-left: 40px;
	padding-right: 40px;
}
@media screen and (max-width: 768px) {
	#article_container-wrapper #mainImg {
		width: 100%;
		border-radius: 0;
	}
	#article_container-wrapper .images{
		padding: 0px 15px;
	}
}


#article_container-wrapper p{
	font-size: 1.5rem;
	line-height: 1.9;
	color: #333;
	margin-bottom: 2.0rem;
	
	padding: 0 40px;
}
@media screen and (max-width: 768px) {
	#article_container-wrapper p{
		padding: 0 15px;
		font-size: 1.6rem;
		}
}

/* タイトル */
.maintitle{
	font-size: 32px;
	color: #333;
	margin: 20px 0px 20px 0px;
	
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 700;
	font-style: normal;
	
	padding: 0 40px;
}
@media screen and (max-width: 768px) {
	.maintitle{
		padding: 0 15px;
	}
}
#article_container-wrapper h3{
	font-size: 2.4rem;
	color: #333;
	position: relative;
	padding: 0.3em 0.5em 1.5rem 0rem;
	
	margin: 0 40px 25px 40px;
	
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 700;
	font-style: normal;
}
#article_container-wrapper h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  border-radius: 2px;
  background-color: var(--maincolor);
}
@media screen and (max-width: 768px) {
	#article_container-wrapper h3{
		margin: 0rem 1.5rem 1.0rem 1.5rem;
	}
}

/* detail -date,category */
.detail{
}
.detail {
	padding: 0px 40px 40px 40px;
  display: flex;
  align-items: center;   /* 縦位置を中央揃え（必要なら） */
  gap: 0px;             /* カラムの間に余白 */
}
.detail .date {
  flex: 4;               /* 左を大きめに（2/3） */
  padding: 0px;
}
.detail .sns {
  flex: 1;               /* 右を小さめに（1/3） */
  padding: 0px;
  text-align: right;
}
.detail .sns img:hover{
	opacity: 0.7;
	cursor: pointer;
}
.detail .sns img{
	width: 20px;
}

/* スマホで縦並びにする場合 */
@media screen and (max-width: 768px) {
  .detail {
    flex-direction: row;      /* 横並びを維持 */
    align-items: center;      /* 縦位置中央揃え */
    gap: 0px;                 /* 必要に応じて間隔調整 */
    padding: 0 15px 40px 15px;
  }
}


.date{
	font-size: 1.4rem;
	color: #c0c0c0;
}
.faws-date{
	margin-right: 10px;
}
.detail .category{
	background-color: white;
	border: 1px solid var(--maincolor-link);
	color: var(--maincolor-link);
	border-radius: 5px;
	padding: 2px 5px;
	font-size: 1.2rem;
	margin-left: 10px;
}

/* ul */
#article_container-wrapper ul{
	line-height: 1.7;
	font-size: 1.5rem;
	background-color: var(--cell-lightgray);
	padding: 20px 35px 20px 5.5rem;
	margin-bottom: 2.0rem;
	
	margin-left: 40px;
	margin-right: 40px;
}
#article_container-wrapper li{
	margin-bottom: 1.0rem;
}
#article_container-wrapper li:last-child {
	margin-bottom: 0rem;
}
#article_container-wrapper li::marker {
	font-size: 1.5rem;  /* マーク自体の大きさ */
}
@media screen and (max-width: 768px) {
	#article_container-wrapper ul{
		margin: 0px 15px 15px 15px;
		padding: 20px 20px 20px 35px;
	}
}


/* フッターナビゲート */
.nav-articles {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 40px 40px 40px;
}

.nav-articles .prev,
.nav-articles .next {
  flex: 3;              /* 左右大きめ */
  text-align: center;
  padding: 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}

.nav-articles .all {
  flex: 1;              /* 中央小さめ */
  text-align: center;
  padding: 10px;
  background: var(--maincolor);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
  color: white;
}
.nav-articles .all a {
  color: #333 !important;       /* すべての状態で白に */
  text-decoration: none; /* 下線消す場合 */
  display: block;
}
.nav-articles .all a:hover {
  color: white !important; /* ホバーで白に */
}
.nav-articles > div:hover {
  background: var(--maincolor-blue);
  color: white;
}
/* 左：次の記事 → 右端に右向き矢印 */
.nav-articles .next {
  position: relative;
  text-align: center;
  padding-right: 20px;
}

.nav-articles .next::after {
  content: "";
  position: absolute;
  right: 10px;               /* 端からの距離 */
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; /* 三角形の土台 */
  border-left-color: #333;       /* 右向き矢印の色 */
}

/* 右：前の記事 → 左端に左向き矢印 */
.nav-articles .prev {
  position: relative;
  text-align: center;
  padding-left: 20px;
}

.nav-articles .prev::before{
  content: "";
  position: absolute;
  left: 10px;                /* 端からの距離 */
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #333;  /* 左向き矢印の色 */
}

.nav-articles .next.noData, .nav-articles .prev.noData{
	opacity: 0.3;
}

/* スマホでも横並びはそのまま */
@media screen and (max-width: 768px) {
  .nav-articles {
    flex-direction: row; /* 横並び固定 */
    padding: 0 15px;
  }
  
  /*   レスポンシブ時、トップのカテゴリ非表示 */
  #category_container_wrapper{
	display: none;}
  #article_container-wrapper{
	margin-top: -65px;
	}
}


/* 記事内カテゴリリンク */
.jsCategoryLink{
	cursor: pointer;
}
.jsCategoryLink:hover{
	opacity: 0.5;
}