@charset "utf-8";
/*
Theme Name: 専用テーマ
Theme URI:
Author: WordPressマスター
Author URI: https://coconala.com/users/15338
Description: 
Version: 1
Tags:
*/



* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
a {
	text-decoration: none;
	color: #333;
}
img {
max-width: 100%;
height: auto;
width /***/:auto;
}
p {}


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



body {
	font-size: 16px;
}




.container {
	width: 94%;
	max-width: 1200px;
	margin: 80px auto;
}


.header_out {
	background: #333;
	color: #fff;
	padding: 10px 0;
	text-align: center;

}
.header_out p {
	font-size: 80%;
}

/** ヘッダー **/
/* 全体のベース設定 */
.site-header {
  width: 100%;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px; /* 中身の横幅 */
  margin: 0 auto;
padding: 30px 0;
  display: flex;
  flex-direction: column; /* 2段にする設定 */
  align-items: center;    /* 中央寄せ */
position: relative;
}

/* サイト名（1段目） */
.header-logo h1 {
  font-size: 2rem;
margin: 0 0 30px 0;
	text-align: center;
}

/* メニュー（2段目） */
.header-nav {
  width: 100%;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list li {
  margin: 0 20px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* --- ハンバーガーメニュー設定 --- */

.menu-trigger {
  display: none; /* デフォルトは非表示 */
}

/* スマホ表示 (1024px以下で切り替え想定) */
@media (max-width: 1024px) {
  .header-nav {
    display: none; /* PC用メニューを隠す */
  }

  .menu-trigger {
    display: block;
    position: absolute;
    top: 50%;
right: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  .menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    transition: all 0.4s;
  }

  .menu-trigger span:nth-child(1) { top: 0; }
  .menu-trigger span:nth-child(2) { top: 11px; }
  .menu-trigger span:nth-child(3) { bottom: 0; }

  /* アクティブ時の×印アニメーション */
  .menu-trigger.active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
  .menu-trigger.active span:nth-child(2) { opacity: 0; }
  .menu-trigger.active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

  /* 全画面メニュー本体 */
  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    z-index: 150;
  }

  .fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
  }

  .fullscreen-nav-list {
    list-style: none;
    text-align: center;
    padding: 0;
  }

  .fullscreen-nav-list li {
    margin: 30px 0;
    font-size: 1.5rem;
  }
}
/* --- 1. ベース（PC・スマホ共通）の設定 --- */

/* ハンバーガーボタンはデフォルトで消しておく */
.menu-trigger {
  display: none;
}

/* 全画面メニューもデフォルトで完全に消しておく */
.fullscreen-menu {
  display: none; /* そもそも存在を消す */
  opacity: 0;
  visibility: hidden;
}

/* --- 2. スマホ表示（1024px以下）の設定 --- */
@media (max-width: 1024px) {
  
  /* スマホの時だけボタンを表示させる */
  .menu-trigger {
    display: block; 
    /* ...その他の位置設定などはそのままでOK... */
  }

  /* スマホの時だけ全画面メニューを有効化する */
  .fullscreen-menu {
    display: flex; /* flexを有効にする */
    /* ...その他のアニメーション設定などはそのままでOK... */
  }

  .header-nav {
    display: none; /* PC用メニューを隠す */
  }
.header-logo h1 {margin: 0; font-size: 120%;}

}
@media (max-width: 560px) {
.header-logo h1 {margin: 0 80px;}
}

@media (max-width: 1024px) {
  /* 全画面メニュー本体 */
  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255);
    
    /* --- スクロールを有効にするための修正 --- */
    display: block;        /* flexだと中身が潰れることがあるためblockに変更 */
    overflow-y: auto;      /* 縦スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    z-index: 150;
  }

  /* 中身のナビゲーションエリア */
  .fullscreen-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;     /* 最低でも画面いっぱいの高さを確保 */
    padding: 60px 0;       /* 上下に余白を作り、ボタンと重ならないようにする */
    box-sizing: border-box;
  }

  .fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    display: block; /* active時もblockを維持 */
  }
}


/* ループの外枠（上下の間隔） */
.loop {
    margin-bottom: 24px;
    width: 100%;
}

/* 記事の枠組み */
.loop_in {
    display: flex;
    flex-direction: row-reverse; /* 右から左へ並べる（画像が右、テキストが左） */
    justify-content: bwtween;
align-items: center;
    gap: 20px;
    padding: 30px 20px;
    overflow: hidden;
	border-bottom: 1px solid #ccc;
}

/* サムネイル部分（右側） */
.loop_thumbnail {
    flex: 0 0 30%;               /* 全体の30%の幅を確保 */
    max-width: 250px;            /* 大きくなりすぎないよう制限 */
}

.loop_thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* コンテンツ部分（左側） */
.loop_content {
    flex: 1;                     /* 残りの幅をすべて使用 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loop_time {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.loop_title {
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    line-height: 1.4;
    font-weight: bold;
}

.loop_bassui {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* スマホ表示（768px以下）の調整 */
@media (max-width: 768px) {
	.loop_bassui {font-size: 90%;}
}
@media (max-width: 560px) {
.loop_title {font-size: 16px;}
.loop_bassui {font-size: 12px;}
.loop_in {gap: 10px; padding: 10px;}
.loop_thumbnail {flex: 0 0 20%;}
}


/* 記事全体コンテナ */
.single {}

/* 投稿日時エリア */
.single_time {

}

/* 記事タイトル */
.single h1 {
padding: 20px 0;
	border-bottom: 1px solid #333;
	margin-bottom: 50px;
}


.single_thumbnail {
	margin-bottom: 50px;
}

/* 記事本文エリア（※HTMLの記述に合わせたスペル） */
.single_content {

}

/* --- 本文内タグ（WP標準出力用） --- */

.single_content p {
	margin-bottom: 2em;
	line-height: 200%;
}

.single_content h2 {
margin: 50px 0 20px;
}

.single_content h3 {
margin: 30px 0 20px;
}

.single_content img {

}

.single_content a {

}

.single_content ul {
	margin: 0 0 20px 20px;
}

.single_content ol {
	margin: 0 0 20px 20px;
}

.single_content li {

}

.single_content blockquote {

}
@media (max-width: 768px) {
.single {
	padding: 20px;
	border-radius: 30px;
}
.single h1 {
	font-size: 130%;
	padding: 10px 0;
	margin-bottom: 20px;
}
}





.footer {
	padding: 20px 0;
	margin-top: 50px;
	border-top: 1px solid #ccc;
}
.footer_in {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.footer_navi {}
.footer_logo {text-align: center;}
.copyright {
	background: #333;
	color: #fff;
	padding: 10px 0;
	text-align: center;
}
@media (max-width: 768px) {
	.footer {padding: 10px 0;}
	.footer_navi .nav-list {flex-wrap: wrap;}
	.footer_navi .nav-list li {
		width: 100%;
		border-bottom: 1px dotted #ccc;
padding: 0;
		margin: 0;
}
	.footer_navi .nav-list li:last-child {border: none;}
.footer_navi .nav-list li a {
	position: relative;
	display: block;
	width: 100%;
	padding: 10px 30px 10px 20px;
}
.footer_navi .nav-list li a:after {
display: block;
content: "";
position: absolute;
top: 50%;
right: 20px;
width: 6px;
height: 6px;
margin: -4px 0 0 0;
border-top: solid 2px #333;
border-right: solid 2px #333;
-webkit-transform: rotate(45deg);
        transform: rotate(45deg);
}


}



#pagination {
	color: #2583ad;
	margin: 30px auto;
	line-height:2em;
}
a.page-numbers, #pagination .current {
	color: #00019b;
	padding: 10px;
	border:solid 1px #ccc;
	text-decoration:none;
	font-size:smaller;
	background:white;
}
a.page-numbers:hover {
	color:white;
	background: #ccc;
}
#pagination .current {
	color: #333;
	background: #ccc;
	border: #ccc;
	font-weight:bold;
}
.next,
.prev {
	border:0 none;
	background:transparent;
	font-weight:bold;
}





/* PC・スマホ共通のベース設定 */
.loop_bassui {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* スマホ：2行で省略 */
@media (max-width: 2000px) {
    .loop_bassui {
        -webkit-line-clamp: 2;
    }
}

/* PC・スマホ共通のベース設定 */
.loop_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* スマホ：2行で省略 */
@media (max-width: 2000px) {
    .loop_title {
        -webkit-line-clamp: 2;
    }
}



.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    width: 48%;
    text-decoration: none;
    color: #333;
}






/* OSがダークモード設定の時に適用されるスタイル */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a; /* 背景色を暗く */
        color: #f5f5f5;           /* 文字色を明るく */
    }

    /* リンク色の調整 */
    a {
        color: #ffff;
    }

    /* 画像の明るさを少し落として目に優しくする */
    img {
        filter: brightness(0.8);
    }

.site-header {background: #000;}
.nav-list a {color: #fff;}
.fullscreen-menu {background: #000;}

.menu-trigger span {background: #fff;}

.footer_navi .nav-list li a:after {
border-top: solid 2px #fff;
border-right: solid 2px #fff;
}

.loop_time {color: #999;}
.loop_bassui {color: #999;}

.loop_in {border-bottom: 1px solid #999;}

a.page-numbers, #pagination .current {
	background: #fff;
	color: #333;
	border: none;
}
	#pagination .current {background: #ccc;}


}
