/* リンク動作 */
a:link{ text-decoration : none }
a:link { color : #0000cc }
a:visited { color : #6600cc }
a:active { color : #ff00ff }
a:hover{ text-decoration: underline }
a:hover{ color : #ff0000 }
img { -ms-interpolation-mode: bicubic; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@charset "utf-8";

hr {
   border-width: 1px 0px 0px 0px;/
   border-style: solid;
   border-color: #FFFFFF;
   height: 1px; 
   border-top: 1px dashed #8c8b8b;
   margin: 10px 0 20px;
}

.adt-comment {
    display: none;
}

.robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing {
    display: none;
}

#intro_mess{
	text-align:left;
	font-size:10px;
	margin-top: 15px;
	margin-bottom:15px;
	margin-right: 5px;
}

#footer_mess{
	text-align:center;
	font-size:10px;
	margin-top: 1px;
	margin-bottom:10px;
	margin-right: 5px;
}

/* リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, "BIZ UDPゴシック", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f5f5f5;
}

/* 空白タグのスタイル */
.spacer-box {
  background-color: transparent !important;
  background: none !important;
  padding: 5px 0 !important;
  margin: 5px auto !important;
  max-width: 1200px;
  height: 25px; /* パンくずリストと同じ高さ（font-size 13px + padding） */
}

/* ヘッダー */
header {
    background-color: #FFFFFF;
    color: black;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    justify-content: center;
}

.header-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #e0f7fa, #fff);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.site-description {
    font-size: 14px;
    opacity: 0.8;
}

/* ナビゲーション */
nav {
    background-color: #6699FF;
    padding: 5px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* パンくずリストのコンテナ */
.breadcrumb-nav {
  background-color: transparent !important;
  background: none !important;
  padding: 5px 0 !important;
  margin: 20px auto !important;
  font-size: 13px;
  max-width: 1200px;
}

/* フッター上部用の追加スタイル */
.breadcrumb-bottom {
  margin-top: 10px !important;
  margin-bottom: 5px !important;
}

/* リストのスタイルリセット */
.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 各項目のスタイル */
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

/* リンクのスタイル */
.breadcrumb-item a {
  color: #0066cc;
  text-decoration: none;
  padding: 2px 5px;
  border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}

.breadcrumb-item a:hover {
  background-color: #e6f2ff;
  color: #0052a3;
  text-decoration: underline;
}

/* 区切り記号（矢印）を追加 */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #666;
  margin: 0 8px;
  font-size: 16px;
}

/* 現在のページ（アクティブ項目）のスタイル */
.breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .breadcrumb-nav {
    font-size: 12px;
    padding: 3px 0;
  }
  
  .breadcrumb {
    padding: 0 15px;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 5px;
  }
}

/* ナビゲーションメニュー - 背景色スライドエフェクト */

/* メニュー全体のコンテナ */
.nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0px 10px;
    max-width: 1200px;
}

/* 各メニューアイテム */
.nav-menu li {
    position: relative;
    overflow: hidden;
}

/* リンク本体 */
.nav-menu a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    display: block;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* ホバー時の背景（スライド効果） */
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #D0D0D0;
    transition: width 0.3s ease;
    z-index: -1;
}

/* ホバー時の動作 */
.nav-menu a:hover {
    color: #6699FF;
}

.nav-menu a:hover::before {
    width: 100%;
}


/* コンテナ */
.container {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    min-width: 0;
}

/* メインコンテンツ */
main {
    background-color: white;
    padding: 40px;
	border:solid 1px;
	border-color:#D0D0D0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

/* 記事ヘッダー */
.article-header {
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e0e0e0;
}

.article-subheader {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e0e0e0;
}

.article-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-subtitle {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    gap: 15px;
}

/* 記事コンテンツ */
.article-content {
    font-size: 14px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #3498db;
}

.article-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0 10px;
    padding-left: 12px;
    border-left: 4px solid #3498db;
}

/* サイドバー */
aside {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.widget-content {
    font-size: 14px;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.widget-list a:hover {
    color: #3498db;
}

/* フッター */
footer {
    background-color: #6699FF;
    color: white;
    padding: 30px 0;
    margin-top: 30px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    main {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

/* トグル */
#toggle1 {
    /* display: none; */
    visibility: hidden;
    opacity: 0;
    transition: 2s;
}

.toggle-inner {
    /* display: none; */
    transition: 1s;
    visibility: hidden;
    opacity: 0;
}
#toggle1:checked ~ .toggle-inner {
    /* display: block; */
    visibility: visible;
    opacity: 1;
    transition: 1s;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.article-content {
  max-width: 100%;
  overflow-x: hidden;
}

.article-content img {
  box-sizing: border-box;
}

.container > img {
  max-width: 100%;
  height: auto;
  grid-column: 1 / -1; /* グリッド全体を使わせる */
}

.article-content {
  max-width: 100%;
  overflow-wrap: break-word;
}

.article-content img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 574 / 323;
  display: block;
}

main,
.article-content {
  min-width: 0;
}

.container {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.container > * {
  min-width: 0;
}

/* 横スクロール対策 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden;
}

/* 画像リサイズ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .container {
    display: block;
  }
}

.responsive-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 共通（全デバイス） */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PCのみ：サイズと比率を指定 */
@media (min-width: 769px) {
  .article-content img {
    width: 574px;
    max-width: 574px;
    aspect-ratio: 574 / 323;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.nav-container {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }
}