body {
	color: #111;
	background-color: #F2F6F7;
	font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
  word-wrap: break-word;
	height: 100%;
	line-height: 2.2;
  overflow-x: hidden;
}
html {
    height: 100%;
}

* {
  box-sizing: border-box;
}

header {
    height:90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

   header h1 a img {
	top: 23px;
	height: 44px;
}

@media (min-width:769px) {
  .body {
    display: none;
  }
}
@media (max-width: 768px) {
    header {
        display: none;
    }

    .body {
      position: relative;
      background: #fafafa;
      margin: 0;
      font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
      width: 100vw;
      /*height: 100vh;*/
      animation: bugfix infinite 1s;
      -webkit-animation: bugfix infinite 1s;
      z-index: 1000;
    }
    
    @keyframes bugfix {
      from {
        padding: 0;
      }
      to {
        padding: 0;
      }
    }
    @-webkit-keyframes bugfix {
      from {
        padding: 0;
      }
      to {
        padding: 0;
      }
    }

    #overlay-button {
      position: absolute;
      right: 2em;
      top: 3em;
      padding: 26px 11px;
      z-index: 10;
      cursor: pointer;
      user-select: none;
    }
    #overlay-button span {
      height: 4px;
      width: 35px;
      border-radius: 2px;
      background-color: #222;
      position: relative;
      display: block;
      transition: all .2s ease-in-out;
    }
    #overlay-button span:before {
      top: -10px;
      visibility: visible;
    }
    #overlay-button span:after {
      top: 10px;
    }
    #overlay-button span:before, #overlay-button span:after {
      height: 4px;
      width: 35px;
      border-radius: 2px;
      background-color: #222;
      position: absolute;
      content: "";
      transition: all .2s ease-in-out;
    }
    #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
      background: #555;
    }
    
    input[type=checkbox] {
      display: none; 
      
    }
    
    input[type=checkbox]:checked ~ #overlay {
      visibility: visible; 
    }
    
    input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
      background: transparent;
      
      
    }
    input[type=checkbox]:checked ~ #overlay-button span:before {
      transform: rotate(45deg) translate(7px, 7px);
    
    }
    input[type=checkbox]:checked ~ #overlay-button span:after {
      transform: rotate(-45deg) translate(7px, -7px);
    
    
    }
    
    #overlay {
      height: 100vh;
      width: 100vw;
      background: #db873d;
      z-index: 2;
      visibility: hidden;
      position: fixed;
    }
    #overlay.active {
    
    }
    #overlay ul {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      height: 100vh;
      padding-left: 0;
      list-style-type: none;
    }
    #overlay ul li {
      padding: 1em;
    }
    #overlay ul li a {
      color: #222;
      text-decoration: none;
      font-size: 1.5em;
    }
    #overlay ul li a:hover {
      color: #000!important;
    }


    #g_navi {
        position: static;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    #g_navi ul {
        padding: 0;
        flex-direction: column;
    }

    #g_navi ul li a {
        font-size: 12px; /* フォントサイズを調整 */
        flex-direction: row;
        padding: 10px 0; /* 余白を調整 */
        border-top: 1px solid #eee; /* 区切り線を追加 */
    }

    /* 最初のメニュー項目の区切り線を削除 */
    #g_navi ul li:first-child a {
        border-top: none;
    }

    
}

@media (min-width: 769px) {
    header {
        height: auto; /* 高さを自動調整 */
    }

    #g_navi ul li a {
        font-size: 16px; /* フォントサイズを調整 */
        flex-direction: row;
        padding: 10px 0; /* 余白を調整 */
        border-top: 1px solid #eee; /* 区切り線を追加 */
    }

}


.jannru {
  -webkit-text-stroke: 3px #222;
  text-shadow: 4px 4px 0 #db873d;
  color: rgba(0 0 0 / 0);
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.yoyaku {
  background-color: rgba(0, 0, 0, 0.5); /* 黒の半透明背景 */
  color: #fff; /* 文字色を白に */
  padding: 20px; /* 必要に応じて調整 */
  text-align: center; /* 必要に応じて調整 */
  border-radius: 8px;
}
@media (max-width: 768px) {
  .yoyaku {
    margin: 5%; /* 必要に応じて調整 */
  }
}

section,
article{
    display: block;
}
  
  .bg_bl {
    margin-right: 1rem;
  }
  
  .menu_btn {
    margin-left: auto;
  }
  
  #g_navi ul {
    display: flex;
    gap: 1rem;
  }
  #g_navi {
	position: absolute;
    top: 20px;
	right: 10px;
	width: auto;
	display: block ;
	z-index: 1000;
}

#g_navi ul li{
	display: inline;
}

#g_navi li a {
	width: auto;
	padding: 10px;
	line-height: 30px;
	display: block;
	color: #111;
	text-decoration: none;
	text-align: center;
	position: relative;
	float: left;
	letter-spacing: 1px;
	font-size: 16px;
	font-weight: bold;
}

#g_navi li a::before {
	display: block;
	height: 2px;
	position: absolute;
	top: 2px;
	width: 70%;
	background-color: rgba(17,187,221,0);
	content: '';
	-webkit-transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	transition: 0.2s linear;
}

#g_navi li a:hover::before {
	background-color: #db873d;
	top:0px;
	width: 80%;
}

#g_navi li a:hover {
	color: #db873d;
}

#g_navi.txt_w li a {
	color: #FFF;
}

header.fixed #g_navi.txt_w li a {
	color: #111;
}

#g_navi li.contact a {
	background-color: #db873d;
	color: #FFF !important;
	
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
    transition-property: background-color, color; /* transition を適用するプロパティを指定 */
  transition-duration: 0.3s; /* transition のduration (変化に要する時間) を指定 (例: 0.3秒) */
  transition-delay: 0.5s; /* transition の delay (遅延時間) を指定 (例: 1秒) */
}
#g_navi li.contact a:hover {
	background-color: #FFF;
  color: #db873d !important;
  transition-property: background-color, color; /* hover 時にも transition-property を指定 (省略可能ですが明示的に書くと分かりやすい) */
  transition-duration: 0.3s; /* hover 時 duration も指定 (hover 時と通常時で duration を変えたい場合などに使用) */
  transition-delay: 0s; /* hover 時 delay は 0秒 (hover したらすぐに変化を開始) */
}
#g_navi li.contact a::before {
	display: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  a {
    color: #222; /* 目立たないグレー */
    text-decoration: none; /* 下線を消す */
  }
  
  a:hover {
    color: #333;
    text-decoration: underline; /* ホバー時に下線を表示 */
  }
  
  /* ...existing code... */
  
  /* ...existing code... */
  
  .header-right {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .logo {
    max-width: 150px;
    margin-bottom: 20px;
  }
  .logo img{
    width:100%;
    mix-blend-mode: multiply;
  }
  
  .tags button {
    padding: 8px 16px;
    margin: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
  }

  .kizi-title {
    position: relative;
    padding-inline: 10%;
  }
  .kizi-title h1 {
    margin-top: 0; /* 上の余白を削除 */
    margin-bottom: 0; /* 下の余白を削除 */
  }

  
  .date {
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 2px; /* 下の余白を削除 */
  }
  
  .linear {
    width: 100%; /* 親要素に合わせて幅を調整 */
    height: 0.5px;
    background-color: #666;
    margin-top: 0; /* 上の余白を削除 */
    margin-top: 2px; /* 下の余白を削除 */
  }
  


  .article-content {
    width: 100%; /* viewport width (画面幅) いっぱいに広げる */
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 要素を縦方向に並べる */
}

.news-item {
  text-align: center;
}


  @media (max-width: 768px) {
    .article-text {
      padding-inline: 2.5%;
    }
  }

  .event-block {
    margin: 2em 0;
    padding: 1em;
    border: 1px solid #ccc;
    background-color: #fafafa;
    border-radius: 8px; /* 角を丸くする */
  }
  
  .article-box {
    display: flex; /* フレックスコンテナにする */
    flex-wrap: wrap; /* 必要に応じて折り返す */
  }
  
  .subheading {
    width: 33.33%; /* 各要素を50%の幅にする */
    padding: 2%; /* 必要に応じて余白を追加 */
    box-sizing: border-box; /* paddingを含めて幅を計算 */
  }

  .subheading h3 {
    font-size: 0.8em;
    margin-bottom: 0.5em;
  }

  .subheading p {
    font-size: 0.8em;
    margin-bottom: 0.5em;
  }

  
  /* 必要に応じてレスポンシブ対応 */
  @media (max-width: 768px) {
    .subheading {
      width: 100%; /* 画面幅が狭い場合は1列にする */
      padding: 0;
    }
  }

  .event-block h3 {
    margin-bottom: 0.5em;
    font-size: 1.2em;
  }
  
  .event-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .event-list li {
    margin-bottom: 0.5em;
  }
  aside {
    width: 30%;
  }
  
  /* ...existing code... */

.news-item {
    width: 100%;
    display: flex; /* Flexboxを適用 */
    align-items: center; /* 上揃え (必要に応じて調整) */
    border-radius: 8px;
    border: 1px solid #ccc; /* 下線を表示 */
    padding: 5%;
    flex-direction: column-reverse;
  }

  .news-item-top {
    width: auto;
    display: flex; /* Flexboxを適用 */
    align-items: center; /* 上揃え (必要に応じて調整) */
    border-radius: 8px;
    padding: 5%;
    background-image: linear-gradient(to right, #fafafa, #db873d); /* 右方向にグラデーション */
}

.image {
  width: auto; 
}
.image img {
  border-radius: 16px;
  width: 80%;
}

@media (max-width: 1023px) {
    .news-item-top {
        flex-direction: column;
        width: auto;
    }

    .article-content img {
      width : 100%;
    }

    
    .column h3{
      font-size: 1.2rem;
    }

    .column p {
      font-size: 1.2rem;
    }

}
  .news-item img {
    width: 100%;
    object-fit: contain;
    height: auto;
    padding: 2.5%;
    border-radius: 16px;
  }

  .column {
    display: flex;
    flex-direction: column;
    margin-right: 5%
  }

  .news-date {
    display: flex;
    justify-content: space-between; /* 要素を等間隔に配置 */
    align-items: center; /* 要素を垂直方向に中央揃え */
    font-size: 0.8rem;
  }
  
  .news-title{
    line-height: 1.5; 
  }

  @media (max-width: 1023px) {
    .subheading h3{
        font-size: 1rem;
    }
  }

  @media  (min-width: 1024px) {
    .news-title {
        font-size: 28px;
    }

    .news-date {
        font-size: 1.2rem;
    }
  }
  
  /* ...existing code... */
.last-text{
    font-size:24px;
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
}

.author-info {
    margin-top: 2em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
  }
  @media (max-width: 768px) {
    .author-info {
     line-height: 1.2;
    }
  }
  
  .author-details {
    align-items: center;
  }
  
  .author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1em;
  }
  
  .author-name {
    font-size: 1.2em;
    margin-bottom: 0.5em;
  }
  
  .author-bio {
    margin: 10%;
  }

  /* ...existing conewde... */

.tag-parent {
    border-radius: 8px;
    /* 必要に応じて他のスタイルも追加できます */
    padding: 1em;
    text-align: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  display: inline-block;
    white-space: nowrap; /* 必要に応じて、子要素の改行を禁止 */
  }

  @media (max-width: 768px) {
    .tag-parent {
      display: none;
    }
    .tag-list {
      gap: 0.2em;
    }

    .article-content {
      padding-top: 30px;
    }
  }

  @media (max-width: 768px) {
    .tag-list {
      white-space: normal; /* 必要に応じて、子要素の改行を禁止 */
    }
    .tag {
      color: #db873d;
      background-color: #fafafa;
      white-space: nowrap;
      font-size: 0.8rem;
      width: 30%; /* ボタンの幅を調整 */
      text-align: center;
      box-sizing: border-box; /* padding, border を width に含める */
    }
  }
  
  .tag {
    background-color: #db873d;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
  }

  
  .tag:hover {
    background-color: #b35f2b;
  }
  
  .tag:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(219, 135, 61, 0.5);
  }


  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #db873d; /* 画像の背景色に合わせました */
    font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
	
    color: #222; /* 画像のテキスト色に合わせました */
    font-size: 0.9em; /* 全体的に少し小さめのフォントサイズ */
  }
  
  .footer-left, .footer-right {
    display: flex;
    flex-direction: column; /* 縦並び */
  }
  
  .footer-company {
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .bullet {
    color: #ffab40; /* 画像のオレンジ色に合わせました */
    margin-right: 5px;
  }
  
  .footer-address, .footer-contact {
    margin: 0;
  }
  
  .footer-email {
    color: #222; /* メールのリンク色 */
    text-decoration: none; /* 下線を消す */
  }
  
  .footer-email:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
  }
  
  .footer-copyright {
    text-align: right; /* 右寄せ */
    display: flex; /* Flexbox を有効にする */
  flex-wrap: wrap; /* 折り返しを許可する */
  }

  .footer-copyright ul {
    width: 50%; /* 幅を50%にして2列にする */
    box-sizing: border-box; /* padding, border を width に含める */
    padding-right: 10px; /* 必要に応じて右側のパディングを追加して間隔を調整 */
  }

  .footer-left img {
    max-width: 100px;
    mix-blend-mode: multiply;
  }
  
  /* レスポンシブ対応（必要に応じて） */
  @media (max-width: 768px) {
    .footer {
    font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, "ＭＳ ゴシック", "MS Gothic", sans-serif;
      flex-direction: column; /* 縦並びにする */
      text-align: center; /* 中央揃え */
    }
    .footer-left, .footer-right {
      align-items: center; /* 中央揃え */
      margin-bottom: 10px; /* 左右の要素間に間隔 */
      text-align: center; /* 左側のテキストも中央揃え */
    }
    .footer-copyright {
      text-align: center; /* 著作権も中央揃え */
    }
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .header-container, main {
      flex-direction: column;
    }
    .header-left, .header-right, article, aside {
      width: 100%;
    }
    .header-right {
      align-items: center;
    }
    .header-left img {
      max-width: 100%;
    }
  }

  @media screen and (max-width: 480px){
    body {
        font-size: 0.8rem !important;
        
    }
    p {
        font-size: 0.8rem !important;
    }

    .news-item {
        width: 100%;
    }
  }