.news-head {
  margin: 0;
  padding:0;
  width:100%;
}

@media only screen and (max-width: 1210px){

.news-head {
  padding:40px 0 0 0;
}

}

/* ===== 帯 ===== */
.news-visual {
  position: relative;
  width: 100%;
  height: 200px;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 5%,
    #ffeeef 15%,
    #FEE2E4 65%,
    #FFF3E5 100%
  );
}

/* ===== n-contと揃えるための箱 ===== */
.news-visual .inner {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

/* ===== NEWS（中央） ===== */
.news-title {
  position: absolute;
  top: 40%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  font-size: 36px;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 2px 2px 3px #999999;
}

/* ===== キャッチコピー（右寄せ） ===== */
.news-visual img{
  position: absolute;
  bottom: 2%;
  right: 2%;
  width: 30%;
}

.img2{
  opacity: 0;
}

@media only screen and (max-width: 1024px){
.img1{
  opacity: 0;
}

.img2{
  opacity: 1;
}
}

@media only screen and (max-width: 680px){
.img1{
  opacity: 0;
}

.img2{
  opacity: 0;
}
}

.container{
  text-align: center;
}

h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 2em;
	font-size: 1.8rem;
	padding: 2px 10px;
  padding-left: 10px;
}

h3:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 110px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #CC3366;
  border-radius: 2px;
}

#npage h4.news {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  background: #ffeff5;
  box-shadow: 0px 0px 0px 5px #ffeff5;
  border: dashed 2px white;
  padding: 0.2em 30px;
  color: #454545;
  margin: 0 auto;
  width: 33%;
}

#npage h4.news:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #CC3366;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

#npage h4.news2 {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  background: #ffeff5;
  box-shadow: 0px 0px 0px 5px #ffeff5;
  border: dashed 2px white;
  padding: 0.2em 30px;
  color: #454545;
  margin: 0 auto;
  width: 55%;
}

#npage h4.news2:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #CC3366;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

/* =========================
   共通
========================= */

.news_container{
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.text{
  flex: 1;
  min-width: 300px;
}

/* ① imgは最大350px */
.news_container img{
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
}

/* =========================
   横並び
========================= */

.news_container{
  display: flex;
}

.text{
  width: 75%;
  /* padding: 60px; */
}

.img-col{
  width: 20%;
  padding: 30px 60px 60px 60px;
  /* padding: 2em 2% 1em; */
  /* margin-bottom: 1em; */
}

  .img-col img{
    margin: 0 auto;
    min-width: 200px;  /* 最小幅 */
    max-width: 300px;  /* 最大幅 ← 画像サイズ調整 */
    max-height: 500px;  /* 最大幅 ← 画像サイズ調整 */
  }

/* =========================
   img3
   1枚目右寄せ
   2枚目左寄せ
========================= */

.img3{
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2rem;
}

.img3 img:nth-child(1){
  margin-left: auto;
}

.img3 img:nth-child(2){
  margin-right: auto;
}

.article-imgs{
max-width: 50%;
}

.image-note {
    text-align: center;
    padding: 80px 0 0 0;
    color: #999;
    font-size: 16px;
    line-height: 1.8;
}

.article-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

/* =========================
   SP対応
========================= */

@media only screen and (max-width: 768px){

.news_container{
  flex-direction: column;
}

.text,
.img3,
.img4,
.img5{
  width: 100%;
}

.img3{
  align-items: center;
  margin-top: 0;
}

.img3 img:nth-child(1),
.img3 img:nth-child(2){
  margin: 0 auto;
}

.news_container img{
  max-width: 350px;
}

}

/* =========================
   記事ページ サイドメニュー
========================= */

/* PC用サイドメニュー */
#side-menu2 {
  flex: 0 0 240px;
  float: none;
  box-sizing: border-box;
  padding: 1em;
}

/* サイドメニューのタイトル */
#side-menu2 p,
#side-menu3 p {
  font-size: 1.1em;
  border-bottom: 1px solid #999;
  padding: 0.5em 0.5em 0.2em 2em;
  margin: 0 0 1em;
  background: url(../img/side-p.gif) no-repeat 5px 5px;
  font-weight: bold;
  width: 14em;
  box-sizing: content-box;
}

/* リスト共通 */
#side-menu2 ul,
#side-menu3 ul {
  list-style: none;
  margin: 0 0 1em 1em;
  padding: 0;
}

/* リスト項目共通 */
#side-menu2 ul li,
#side-menu3 ul li {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0.5em;
}

/* ホームへのリンク */
#side-menu2 .side-home li {
  padding-left: 1.5em;
  background: url(../img/side-h.gif) no-repeat left;
}

/* PC用：新着記事リスト */
#side-menu2 .side-list li {
  padding: 12px 0 12px 0;
  border-bottom: 1px solid #eee;
  background: none;
}

/* リンク：通常時 */
#side-menu2 ul li a,
#side-menu2 ul li a:visited,
#side-menu3 ul li a,
#side-menu3 ul li a:visited {
  color: #666;
  text-decoration: none;
}

/* リンク：ホバー時 */
#side-menu2 ul li a:hover,
#side-menu3 ul li a:hover {
  color: #C36;
  text-decoration: underline;
}

/* 記事カードのリンク */
#side-menu2 .recent-link,
#side-menu3 .recent-link {
  display: flex;
  justify-content: center;
  color: #666;
  text-decoration: none;
}

#side-menu2 .recent-link:hover,
#side-menu3 .recent-link:hover {
  color: #C36;
  text-decoration: none;
}

/* 記事カード */
#side-menu2 .recent-card,
#side-menu3 .recent-card {
  width: 240px;
  max-width: 100%;
}

/* サムネイル */
#side-menu2 .recent-thumb,
#side-menu3 .recent-thumb {
  display: block;
  width: 95%;
  height: auto;
  margin: 0 auto 6px;
}

/* 記事タイトル */
#side-menu2 .recent-title,
#side-menu3 .recent-title {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 3px;
  line-height: 1.5;
}

/* 記事の日付 */
#side-menu2 .recent-date,
#side-menu3 .recent-date {
  display: block;
  width: 100%;
  font-size: 11px;
  color: #999;
}

/* 記事がない・読み込み失敗 */
#side-menu2 .loading,
#side-menu2 .empty,
#side-menu2 .error,
#side-menu3 .loading,
#side-menu3 .empty,
#side-menu3 .error {
  color: #999;
  font-size: 12px;
}

/* もっと見る */
#side-menu2 .more-link,
#side-menu3 .more-link {
  display: block;
  padding-left: 1.5em;
  color: #999;
  font-size: 12px;
  text-decoration: none;
}

#side-menu2 .more-link:hover,
#side-menu3 .more-link:hover {
  color: #C36;
  text-decoration: underline;
}

/* PCではスマホ用を非表示 */
#side-menu3 {
  display: none;
}

/* タブレット・スマホ */
@media only screen and (max-width: 1210px) {
  #side-menu2 {
    display: none;
  }

  #side-menu3 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1em;
  }

  /* 新着記事を横3列に配置 */
  #side-menu3 ul.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #side-menu3 ul.recent-grid li {
    min-width: 0;
    box-sizing: border-box;
  }

  /* 記事カード */
  #side-menu3 .recent-card {
    width: 100%;
    max-width: 100%;
  }

  /* サムネイル：幅95％・中央配置 */
  #side-menu3 .recent-thumb {
    display: block;
    width: 95%;
    height: auto;
    margin: 0 auto 6px;
  }
}

/* スマホ：記事カードを縦1列にする */
@media only screen and (max-width: 680px) {
  #side-menu3 ul.recent-grid {
    grid-template-columns: 1fr;
  }
}