/*
 Theme Name:   Twenty Twenty-Five Child
 Description:  Custom child theme for my test site.
 Template:     twentytwentyfive
 Version:      2026.10.11
 CSS priority: 	style in the block
		use css custom field
		if for multiple pages or global setting, child css
		additional css for the block
		css tab inside custom html
*/

/* ICOMOON delete first block (11 lines if use fonts in global styling instead of "icomoon-local" fonts from the fonts folder*/
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?69ou9x');
  src:  url('fonts/icomoon.eot?69ou9x#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?69ou9x') format('truetype'),
    url('fonts/icomoon.woff?69ou9x') format('woff'),
    url('fonts/icomoon.svg?69ou9x#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important; /* Matches the name in the Font Library */
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-X:before {content: "\e900";}
.icon-hatebu:before {content: "\e901";}
.icon-home:before {content: "\e905";}
.icon-search:before {content: "\e906";}
.icon-jisho2:before {content: "\e907";}
.icon-line:before {content: "\e90b";}
.icon-facebook3:before {content: "\ea90";}
.icon-chevron-up:before {content: "\f0a2";}
/*.icon-cross:before {content: "\ea0f";}*/
.icon-arrows:before {content: "\e904";}


html {
	box-sizing: border-box;/*paddingも含めて箱サイズ指定*/
	scroll-behavior: smooth;
}
*, *::before, *::after {
	box-sizing: inherit;
}

* {
	font-family: "Yu Gothic", "游ゴシック", "Meiryo", "メイリオ", sans-serif;
}

/*.entry-content p,
.entry-content li,
.wp-block-post-content blockquote,
.wp-block-post-content li,*/ 
.wp-block-post-content p {
	font-family: 'Hiragino Kaku Gothic ProN', Meiryo, Helvetica, Arial, sans-serif !important;
}

:focus {/*ブラウザdefaultの枠を細めの青に*/
	outline: 2px solid #3b82f6;
}
:focus:not(:focus-visible) {/*マウスクリックだけ削除*/
	outline: none;
}

summary {/*▼を消すChrome/Firefox/Edge */
 	list-style-type: none; /*要らないかも*/
	cursor:default;/*arrow*/
}
details summary::-webkit-details-marker {/*▼を消すSafari/Opera*/
	display: none;
}
/*-------------- fadein and out ------------ */
details::details-content {
	opacity: 0;
	transition: opacity 0.4s ease-in-out, content-visibility 0.3s allow-discrete;
}
details[open]::details-content {/* from 0 to 1 */
	opacity: 1;
}
a:hover {
	opacity: 0.7; 
	color: #68b9db;
	transition: color 0.3s ease-in-out, opacity 0.4s ease-in-out;/* "all" にするより良いらしい*/
}
.all-sidebar a:hover {
	color: #8E8E8E;	
}
.all-sidebar a:hover img {/*img only*/
	transform: scale(1.04);
}
.all-sidebar {
	transition: transform 0.3s ease-in-out; /* Adds smooth zoom */
}
.mob-hd-bar a, .all-sidebar a, #main_PN a, #sub_PN a, .pcnav a, .move-top a, .blcard a {
	text-decoration: none;
}

img {
	border-radius: 3px;
}

/* Classic Editorの実寸表記の画像をFSEで枠内に収める あとで個々の画像を変える */
.wp-block-post-content img {
	display: block;/*Inlineから変えて中央寄せ*/
	margin: 0 auto !important;/*画像中央寄せ*/
	max-width: 100% !important;
	height: auto !important;

}
iframe {/*Google mapとかがこれ*/
	max-width: 100% !important;
}

.wp-block-post-content h2 {/*記事部のh2のみカテゴリページや人気記事のタイトルはH2だけど違う*/
	padding-bottom: 7px;
	margin: 5em 0em 2.5em;
	border-bottom: solid 3px #28608f;
}
hr, hr.hr2 {
	background-color: #ccc;
	border: 0;
	height: 1px;
}
hr {
	margin: 72px 0 !important;
}
hr.hr2 { /* hr class="hr2" for MAHのハラウリストへのリンク */
	margin: 20px 0 !important;
}

blockquote {
	quotes: none/*clearout broweser's styling*/;
	margin-bottom: 24px;
	padding: 24px;
	font-style: italic;
	text-align:center;
	position: relative;
}
blockquote:before, blockquote:after {
	position: absolute;
	font-size: 650%;
	font-weight: bold;
	font-family: 'Times New Roman',"ＭＳ Ｐゴシック",sans-serif;
	color: #ededed;
}
blockquote:before {
	content: "“";
	left: 0;
	top: 0;
	line-height: 0.5em;
}
blockquote:after {
	content: "”";
	right: 10px;
	bottom: 0;
	line-height: 0em;
}




/* ----------------- FSE モバイルメニュー -----------------------------*/

.pcnav {
	display: none !important; /*スマホで非表示 */
}

.mob-hd-bar { /* スマホ水色バーとメニュー中身全部 */
	display: flex;
	position: fixed;
	top: 0;
/*    left: 0;
    right:0;*/
	width: 100%;
	height: 60px; /*高さ指定(アイコンの文字サイズが自動調整されて高さも動くからこれで固定)*/
	z-index: 999;
	transition: transform 1.3s ease-in-out, top 0.8s ease-in-out;/*Smooth scroll */
}
.icon-home:before, .icon-search:before, .icon-jisho2:before {
	font-size:;
}
.mob-menu-toggle > summary {/*summaryのみをターゲット(でないとアコーディオン全部にかかる)*/
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px; /*ハンバーガーのクリックエリア*/
	height: 25px;
	position: relative;
	z-index: 990;/*added*/
}
.mob-menu-toggle > summary::after,
.mob-menu-toggle > summary::before {/*3本線*/
	content: "";
	position: absolute;
	width: 24px;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: transform 0.2s ease, top 0.2s ease;
}
.mob-menu-toggle > summary::after {/*真ん中 */
	top: 11px;
}
.mob-menu-toggle > summary::before {/*上下の線 */
	top: 3px; /* 上の線の位置 */
	filter: drop-shadow(0 16px 0 #fff); /* 最下部の線 */
}
.mob-menu-toggle[open] > summary::before {/* Animation"X") */
	filter: none;
	top: 11px;
	transform: rotate(45deg);
}
.mob-menu-toggle[open] > summary::after {
	top: 11px;
	transform: rotate(-45deg);
}
.mob-menu-content {/*メニューの中身*/
	position: absolute; /* これで親について回る */
	top:0;/*背景色を上まで */
	left: 0;
	width: 100%;
	z-index: 900;/*記事内容よりも上に*/
	overflow-y: auto; /*スクロール！*/
}
.mob-submenu-summary {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 0.5rem;/*重要！直リンクメニューアイテムと折りたたみメニューアイテムの間隔をこれで調整*/
}
.mob-submenu {
	list-style: none;
}


.h-image { /*header image*/
	max-width: 1000px;/*ここでないとスマホでもフルにならない*/
	text-shadow: 2px 2px 3px #000080;
}
/*-- パンくず --*/
#breadcrumb > ul {
	margin-top:5px;
 	padding: 0 8px; /*両幅のデフォルトを解除 */
	line-height: 1.2;
}
#breadcrumb li {
	display: inline;
}
#breadcrumb li a {
	font-size: 13px;
	text-decoration: none;
	padding: 0 2px; /*メニュー間隔*/
}

.main-area {/* コンテンツエリア(記事&サイドバー) */
	max-width: 1000px !important;
	margin: 40px auto 0 !important;
}

.thumb-post {/*記事内サムネイル*/
	max-width: 490px !important;
/*	position: relative;*/
/*	margin:0px auto;*/ /*blockで指定した*/
}

.cat-loop {
	max-width: 420px !important;
}
.thumb-cat {
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}



/*-----Footer menu -----*/
.footer-menu {/*全体の箱*/
	position: fixed;
	left:0;
	right:0;
/*	bottom:;  jsで15pxのところに表示指定 初期非表示ならこれで押し下げる*/
	transition:1s;
	line-height:1.2;
	z-index:990;

}
.footer-menu-summary {
	position: absolute;
	left:0;
	bottom:0;
/*display: inline-block; */
	padding: 0 10px;

}
.icon-arrows:before, .icon-chevron-up:before {/*move-topと前次アイコン*/	
	font-weight:bold;
	color:#28608f; /*基本のaリンク紺*/
	background: #789ebf7f;
	border-radius: 6px;
}
.icon-arrows:before {/*前次アイコン*/
	font-size:42px;
	padding: 7px 10px;
	line-height:2;/*アイコンだけ浮かす*/	
}
.icon-chevron-up:before {/*move topアイコン*/
	font-size:34px;
	padding: 9px 20px;
	line-height:1;	
}
.footer-menu[open] .icon-arrows:before {/*閉じるボタン*/
	content: "\ea0f 閉じる";
	font-size:20px;
	padding:10px;
	position: relative;
	top:-7.2em; /*上にはみ出させる*/
	z-index: 10;
	color:#163775;
}

/*---------- 前の投稿次の投稿 --------*/
#main_PN, #sub_PN {
	display: flex; /* 横並び */	
	background: #fff;
	font-size:13px;
	padding: 0 2px;
}
#main_PN {/*記事下のPreNxt*/
	line-height: 1.2;
	border-top: #ccc 1px solid;
	border-bottom: #ccc 1px solid;
}
#sub_PN {/*フッターのPreNxt*/
	position: absolute;
	left: 0;
	right:0;
 	bottom:0; /*これで位置を指定 */
	line-height: 1;/*記事タイトル*/
	border: #ccc 1px solid;
}
.pn-box {/* PN_Box 二つの箱 */
	position: relative; /* これでラベルをAbsoluteポジションに */ 
	width: 50%;
	z-index:50;
}
#main_PN img, #sub_PN img {
	float: left;
	margin: 0 7px 2px 2px;/*画像下にマージンが入ると文字が下に回り込まない*/
	width: 80px;
	height: 73px;
}
.pn-label {/* ラベル */
	position: absolute;
	top: -1.4em;
	left: 0.6em;
	background: #fff;
	border: 1px #ccc solid;
	padding: 8px;
	border-radius: 3px;
	z-index:30;
}


.move-top {
	display: none; 
}

.ad-wrapper {
/*	min-height: 280px;*/
	padding: 30px 5px;
}
/* Collapse the container if no ad, !important is required if to override the block's min-height */
/*.ad-wrapper:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
	display: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}*/




/* ------  rpt 人気のエントリー, rpt2 最新記事 -------- */
ol.rpt-list-wrapper {
/*    padding: 0;*/
    margin-left: -35px; /*これが無いと画像の左にデフォルトのPaddingが入る*/
}
li.rpt {
    display: flex !important;
    align-items: flex-start;
    margin-bottom: 21px; /*GAP*/
    clear: none !important; 
}
.rpt-link {/* Image container */
/*    display: block;
    flex-shrink: 0; */
}
.rpt img {
    float: none !important; 
/*	padding-left:0px;*/
/*    margin-right:8px;*/
    width: 100px;
    height: 85px;
}
li.rpt > section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
	padding-left: 2%; /*サムネ画像との間を強制的に％にしたいなら*/
}
.rpt-title {
    margin-bottom: 0px;
    display: block; 
}

/* ------  最新記事のみ -------- */
.rpt-cat a { /*このClassはブロックに入れた*/
	background-color: #ededed;
}
.catmenu {/* カテゴリー一覧*/
	list-style: none;
}
.see-more a {/*もっと見る*/
	text-decoration:underline;
}
#hList {/* ページのCustom Fieldに移す！ */
	scroll-margin-top: 100px;
}
/*---- 自作BlogCard ---*/
.blcard {
	margin:30px auto;
	padding:3% 5% 7%;
	text-align:left;
	border:1px solid #ccc;
	overflow:hidden;/*これないと画像がはみ出る*/
	font-weight:bold;
}
.blcardImg{
	float:left;
	margin:0 5% 1% 0;
	width:40%;
	min-width:;
	height:auto;
}
.blcardImgL{/*画像トップ中央揃え*/	
	width:100%;
	height:auto;
	margin-bottom:20px;
}
/*-- BabyLink--*/
.blink {
	margin: 30px 0;
	border: 1px solid #ccc;
	padding: 15px;
	overflow: hidden;
}
.blinkImg {
	float: left;
	margin-right:10px;
}
.blink-Alb {
	margin-top: 5px;	
	font-size: small;
}





/*記事内やコラムで使うアコーディオンメニュー*/
.GNd1 {
	margin: 24px auto; /* Centers the whole details box on the page */
}
.GNs1 {
	position: relative;
	font-weight: 600;
	font-size: 15px;
	color: #28608f;/*リンクの紺*/
	line-height: 1.3; 
	padding: 15px 10px;/* タイトルと箱の間 */
	margin: 20px 10px;/* summary bar(箱)と左右の余白 */
	cursor:pointer;
}
.ico,
.ico-menu {/*自作矢印アイコン*/
	position: absolute;
	top: 50%;
	transform: translateY(-50%); /* Centers it perfectly vertical */
	right: 6%;
	display: block;
	width: 1.1em;
    height: calc(1.1em * 0.6);
	clip-path: polygon(100% 13%, 50% 100%, 0 13%, 8% 0, 50% 73%, 92% 0);
	transition: transform 0.6s; /*turn slowly*/
}
.ico {
	background:#28608f;/*紺*/
}
.ico-menu {/*スマホのchevronは白*/
	background: #fff;
}
.GNd1[open] .ico,
.submenu-details[open] .ico-menu {/*反転*/
	transform: translateY(-50%) rotate(180deg);
}



	
/* -----------   Custom CSS Fieldの768を782に変えること ------------------- */


/* Minimum width of 782 pixels. Ipad miniから2コラム */
@media screen and (min-width: 782px) {
	.mob-hd-bar { /* スマホ水色バー */
    		display: none !important;
	}
	.pcnav {
		display:flex !important; /*これが無いと表示されない*/
		position:fixed;/*追従禁止するならposition:absolute;*/
		top:0;
		left:0;
		right:0;
		z-index:100;/*記事の文字が透けるのを防止*/
 		transition: transform 1.3s ease-in-out, top 0.8s ease-in-out;/*Smooth scroll */
	}
	.nav-menu a {
		display: inline-block;
	}
	.nav-menu a,
	.pcnav-details > summary {
		padding: 12px 20px;
	}
	.nav-menu a:hover,
	.nav-menu a:focus,
	.pcnav-details summary:hover {
		background-color: #e3e3e3;
		color: #163775;
		opacity:1; /*サイトデフォルトの発光を解除*/
		transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	}
	.pcnav-details {/*details block*/
		position: relative;/*これがあるから下のAbsoluteが効く*/
	}
	.pcnav-sub {/* サブメニューの位置 */
		position: absolute;
		top: 100%; /* Pushes it perfectly below the summary text */
		left: 0;
		margin: 0; /* Clears browser/theme default list margins */
		padding: 0;
		list-style:none;
		z-index: 1;
	}
	.pcnav-sub li {
		margin:0;/* Clears browser/theme default list margins */
		border-bottom: 1px solid #ededed;
	}
	.pcnav-sub li a {
		display: flex;/*to vertically center*/
		align-items: center;
/*		padding: 12px 20px;*/
		width: 300px;
		height: 45px;
	}
	.h-image {/*header image*/
/*		margin-left: auto;左寄せを防ぐ*/
/*		margin-right: auto; */
		margin-top: 100px !important; /*PCは下におろす (スマホはエディタで設定)*/
	}
	.main-column {/*metaや前次含むLoopするContentsコラム*/
		box-shadow: 0 1px 7px rgba(0, 0, 0, 0.2);
/*		border: #fff 1px solid;*/
	}
	.thumb-post {
		padding:0 10px;
	}
	.blog-entry {/*アイキャッチ下の記事部分*/
		padding:25px 23px 0 !important;
	}
	#sub_PN {/*フッターメニューのPrevNext*/
		font-size:14px;
		line-height: 1.5;/*記事タイトル*/
	}
	.move-top {/*--TOPへボタン----*/
		display: block; /* これで非表示を解除 */
		position: fixed;
		bottom: 15px;
		right: 2%;
		z-index: 999;
		opacity: 0; /*これ無いと一瞬ページトップで映る */
		pointer-events: none;/* Prevents accidentally clicking it while invisible */
		transition: opacity 0.9s ease-in-out;/* Smooth fade in/out */
	}
	
}


/* Minimum width of 1300 pixels */
@media screen and (min-width: 1300px) {
	.footer-menu {		
		left:12%;
		right:12%;
	}
	
}