@charset "utf-8";
/* CSS Document */


/*
Theme Name:ochiumi-ver-2
Description:落海なおやHP用テーマです。2021.1.作成、2026リニューアル版
Author:yuki.t
Author URI:https://tongarimaru.com
Version:2.0.0
*/

/*------------------------------------------
					Reset
------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,pre,form,
fieldset,input,textarea,p,
blockquote,th,td {
	margin:0;
	padding:0;
	}

body{background-color:white;}

/* 本文の文字。Mac・iPhone はヒラギノ、それ以外は Noto Sans JP（Google Fonts）。見出しとメニューは M PLUS 1p のまま */
body {font-family:"Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;}

html {
	overflow-y:scroll;
	}

h1,h2,h3,h4,h5 {
	font-size:100%;
	font-weight:normal;
	}
	@media only screen and (max-width:850px) {
	h2{font-size: 2em !important;}	}

ol,ul {
	list-style:none;
	}

fieldset,img {
	border:0;
	}

table {
	border-collapse:collapse;
	border-spacing:0;
	}

caption,th {
	text-align:left;
	}

address,caption,cite,code,
dfn,em,strong,th,var {
	font-style:normal;
	}

a {
	-webkit-transition: all .3s;
    transition: all .3s;
	}

a:hover {
	opacity: 0.5;
	filter: alpha(opacity=50);
	-ms-filter: "alpha(opacity=50)";
	}


/*------------------------------------------
					Reset
------------------------------------------*/
.toplogo {
	max-width:1000px;
    width:100%;
	margin:0 auto;
	line-height:0;
}

.toplogo img {
	margin:0 auto;
	max-width:1000px;
    width:100%;
	height:auto; /* img の width・height 属性があっても縦横比を保つ */
}

.toplogo .logo_pc {
  	margin:0;
    max-width:850px;
    width:100%;
}

.logo_pc {display:block !important}
.logo_sp {display:none !important}

@media only screen and (max-width:867px) {
.logo_pc {display:none !important}
.logo_sp {display:block !important}
}



.bfop {
	width:1000px;
	text-align:center;
	font-size:2em;
	margin:100px auto;
	line-height:1.6;
	}

header .menu  {
    font-family: 'M PLUS 1p', sans-serif;
    line-height:2.5;
    background:#1F3A93;
		font-size:1.2em;
		margin: 0;
		text-align:center;
}

@media only screen and (min-width:937px) {
 .menu {justify-content: center;
		-webkit-align-items: center;
		align-items: center;
		display:flex;}
}
.menu li{
    padding:0 25px;
    border-left:1px solid #FFF;
}

@media only screen and (max-width:589px) {
.menu li {text-align: center;border-left: 0;}
}


/*
.menu .lir {
    border-left:1px solid #FFF;
}
*/

.menu a {
    text-decoration:none;
    color:#FFF;
}

/* ヘッダーのメニュー：幅に合わせて3通りにする。項目の間には、いつも白い線 */
/* 800px以上は1段、600〜799px は2段（4つずつ）、599px以下は「メニュー」ボタンだけ（スマホの下のメニューと同じ全画面のメニューを開く。inc/sp-nav.php） */
/* 1段に入る幅：文字17px×31字＋左右の空き12px×7項目＝約700px（トップ以外の970px以上は、右の写真180pxを除いて約780px） */
/* 項目は7つ（トップ・ごあいさつ・政策と想い・プロフィール・ご報告・応援する・お問い合わせ）。「応援する」の下に「後援会について」「ボランティア募集」 */
header .menu {display:flex;justify-content:center;font-size:17px;}
header .menu > li {position:relative;flex:0 0 auto;padding:0 12px;white-space:nowrap;}
header .menu > li:first-child {border-left:0;}
/* トップ（header-top.php）：紺の帯は画面の幅いっぱい。1段のときは、項目の幅を広げて、並びの幅を本文（h2 の下線）と同じ1000pxにする */
.top-menu {background:#1F3A93;}
.top-menu .menu {max-width:1000px;margin:0 auto;}
@media only screen and (min-width:800px) {
	.top-menu .menu > li {flex:1 1 auto;}
}
.header-menu-btn {display:none;}
@media only screen and (max-width:799px) {
	header .menu {display:grid;grid-template-columns:repeat(4,1fr);}
	header .menu > li {padding:0 6px;border-left:1px solid #FFF;}
	header .menu > li:nth-child(4n+1) {border-left:0;}
	/* 1段目の下と、最後の項目の右にも線を引き、空いたマスのところでも枠が切れないようにする */
	header .menu > li:nth-child(-n+4) {border-bottom:1px solid #FFF;}
	header .menu > li:last-child {border-right:1px solid #FFF;}
	/* 2段のときは「応援する」を出さず、下の階層（後援会について・ボランティア募集）を並びのマスに入れる（7項目＋1で、空いたマスが埋まる） */
	/* li と ul を display:contents にして、下の階層の li をそのまま並びのマスにする。マウスを乗せたときの display:block より強くするため li・ul を付ける */
	header .menu > li.menu-item-has-children, header .menu > li.menu-item-has-children > ul.sub-menu {display:contents;}
	header .menu > li.menu-item-has-children > a {display:none;}
	header .menu > li > .sub-menu > li {padding:0 6px;border-top:0;border-left:1px solid #FFF;}
	/* マスが8つで埋まるので、最後の項目の右の線は要らない */
	header .menu:has(.sub-menu) > li:last-child {border-right:0;}
}
/* 下の階層（「応援する」の下）：マウスを乗せる・キーボードで選ぶと、項目の下に出る。押すと親の項目（後援会）へ */
header .menu > .menu-item-has-children > a::after {content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:1.5px solid #FFF;border-bottom:1.5px solid #FFF;transform:translateY(-4px) rotate(45deg);}
header .menu .sub-menu {display:none;position:absolute;top:100%;left:50%;z-index:20;min-width:100%;margin:0;padding:0;background:#1F3A93;box-shadow:0 6px 12px rgba(0,0,0,0.2);transform:translateX(-50%);}
header .menu > li:hover > .sub-menu, header .menu > li:focus-within > .sub-menu {display:block;}
header .menu .sub-menu li {padding:0 20px;border-left:0;border-top:1px solid rgba(255,255,255,0.5);white-space:nowrap;}
@media only screen and (max-width:599px) {
	header .menu {display:none;}
	.header-menu-btn {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;padding:0;border:0;background:#1F3A93;color:#FFF;font-family:'M PLUS 1p', sans-serif;font-size:17px;cursor:pointer;}
	.header-menu-btn .spnav__icon {display:block;width:24px;height:24px;}
	.header-menu-btn .spnav__icon + .spnav__icon {display:none;}
}


/*
@media only screen and (max-width:800px) {
.toplogo, .toplogo img {
	width:100%;
}
*/

.menubg {
	background:#1F3A93;
	width:100%;
}

.menubg div {
	max-width:1000px;
    width:100%;
	margin:0 auto;
	position:relative;
	}

.hd_ph {
	position:absolute;
	bottom:0;
	right:0;
	}

@media only screen and (min-width:970px) {
	.menubg div{display:flex;box-sizing:border-box;padding-left: 10px;font-size: 0.9em} /* 左の余白を幅に含める（幅 970〜1010px で右にはみ出して横スクロールが出ていた） */
}

@media only screen and (max-width:970px) {
	.hd_ph{display:none;}
}
/*
.hmenu {
	width:780px;
	line-height:0;
	}

.hmenu img {
	width:100%;
}
*/


#main {
	 	max-width: 1000px;
    width:100%;
	margin:0 auto;
	padding-top:20px;
}


h2 {
	margin:30px 0 10px;
    font-family: 'M PLUS 1p', sans-serif;
    color:#1F3A93;
    border-bottom:3px solid #F30;
    font-size:2.5em;
    font-weight:600;
    padding-left:25px; /* 本文（左に25px空けている）と文字の始まりをそろえる */
    line-height: 1.2;
}

.bgwhite{display: none;}
.bgorange{display:inline;}
@media only screen and (min-width:850px){
	.bgwhite{display: inline;}
	.bgorange{display: none;}
}

.pbg {
	line-height:2;
	background:url(img/img_tpa01.webp) right bottom/300px auto no-repeat;
	padding:25px 25px 80px 25px;
}
@media only screen and (max-width:850px) {
 .pbg {background-size:25%;image-rendering: -webkit-optimize-contrast;}
}
@media only screen and (max-width:645px) and (min-width:565px) {
  .pbg {background-size:18% !important;image-rendering: -webkit-optimize-contrast;}
}
.entry-content p .img-name {
	text-align:left;
	margin:30px 30px 0 0;
}

@media only screen and (max-width:450px) {
.entry-content p .img-name{width:70%; height:auto; image-rendering: -webkit-optimize-contrast;}
}

.entry-content p span{display: inline-block;}
.entry-content p span .sp{line-height:20%;}
@media only screen and (min-width:850px) {
.entry-content p .sp-br{display: none !important;}
}

.entry-content li span{display: inline-block;}
.entry-content li span .sp{line-height:20%;}
@media only screen and (min-width:850px) {
.entry-content li .sp-br{display: none !important;}
}

.entry-content p .nobg{background-image: none !important;}

.entry-content h2 span {
    display: inline-block;
}

/*sns*/

.sns{text-align: center !important;}

@media only screen and (min-width:750px){
	.sns2col-r,.sns2col-l{
	 width: 50%;
	 padding: 5%;
	 height: 100%;
	}

	.sns2col-fl{
	 display: flex;
	}
}

@media only screen and (max-width:750px){
.sns-icon{
 width: 90%;
}}

.sns2col-r{
	display:flex;
  flex-flow: column;
	padding:10% 0;
}

/* seisaku --------------------*/

#foot {
	padding:150px 0 50px;
	width:900px;
	margin:0 auto;
	}

@media only screen and (max-width:800px) {
#foot{background:none;}
}

footer table{background-color: }

#foot .eft {
	margin:0 0 20px 130px;

	}

#foot .eft th {
	text-align:right;
	padding:10px;
	vertical-align:middle;
	}

#foot .eft td {
	text-align:left;
	padding:10px;
	line-height:1.5;
	vertical-align:middle;
	color:#555;
	}

#foot .eft td a {
	color:#1F3A93;
	}


#foot ul {
	margin:30px 0 0 50px;
	}

#foot li {
	display:inline;
	border-right:1px solid #555;
	padding:0 10px;
	font-size:0.8em;
	line-height:1.5;
	}

#foot .ed {
	border-right:none;
	}

#foot li a {
	color:#555;
	text-decoration:none;
	}

.mtm {
	z-index:-99;
	position:relative;
	top:-35px;
	}

.mtm-wrap p{font: #000000;}

.li_sao li {
	list-style:disc;
	margin:0 25px 10px 50px; /* 右も25px空ける（スマホで右端まで文字が出ていた） */
	line-height:1.8;

	}

/* profile --------------------*/

.prf_main p {margin-left:25px;margin-right:25px;}

.prf_main {
	background:url(img/img_prf01.webp) right center/280px auto no-repeat;
	}

@media only screen and (max-width:950px) {
.prf_main{background:none;}
}


/* koen --------------------*/
h3 {
	color:#1F3A93;
	font-size:1.6em;
	font-weight:bold;
	border-left:5px solid #1F3A93;
	line-height:1;
	padding-left:8px;
	margin:20px 25px 10px 25px;
	}

p.nml {
	line-height:1.8;
	margin-left:25px;
	margin-right:25px;
	}

p.nml a {
	color:#1F3A93;
	}

p.nml img {
	margin:10px 0 20px;
	}

.mini{font-size: 0.8em;}


.ta_frm {
	margin-top:35px;
    max-width:100%;
		width: 100%;
	}

.ta_frm caption, .hissu {
	color:#1F3A93;
	font-size:0.9em;
	text-align:center;
	}

.ta_frm th, .ta_frm td, .ta_frm_s p {
	padding:15px 20px;
	}

.ta_frm th  {
	color:#1F3A93;
	font-size:0.9em;
	line-height:1;
	text-align:right;
	font-weight:normal;
    border-collapse: collapse;
    white-space:nowrap;
    width:30%;
	}

/*
.ta_frm p{
	color:#1F3A93;
	font-size:0.9em;
	line-height:1;
	text-align:left;
	font-weight:normal;
    border-collapse: collapse;
    white-space:nowrap;
    width:100%;
}*/

.ta_frm th strong, .ta_frm_s p strong {
	border-right:3px solid #1F3A93;
	padding-right:10px;
	font-size:1.3em;
    font-weight: normal;
}

.ta_frm_s{
display: block;
	padding-left: auto;padding-right: auto;
}

@media only screen and (max-width:800px) {
.ta_frm th {font-size:0.7em}
}

.ta_frm input {
	line-height:2;
	padding-left:5px;
	height:2em;
	}

.ta_frm .rg_ss {
	max-width:70px;
    width:100%;
	margin:0 10px 0 20px;
}
.ta_frm .rg_s {
	max-width:100px;
    width:100%;
	margin-right:10px;
}
.ta_frm .rg_m {max-width:390px;width:100%;}
.ta_frm .rg_l {max-width:550px;width:100%;}
.ta_frm .rg_ll {
	width:100%;
	height:150px;
	padding:5px;
}
.ta_frm .rg_rd {margin:0 10px 0 20px}

.ta_frm .alert {
	color:#1F3A93;
	}



::-webkit-input-placeholder {color: #DDD}
.::-moz-placeholder {color: #DDD}
.:-ms-input-placeholder {color: #DDD}

.p_er{
	color:#1F3A93;
	font-weight:bold;
	margin:30px;
	}

.p_ok{
	margin:30px;
	}

.con_cout {
	color:#1F3A93;
	font-size:1em;
	}

.sbmt {
	text-align:center
    }

.koen-pc{margin-bottom: 200px;}

.koen-pc{display: block;}
.koen-sp{display: none;}

@media only screen and (max-width:350px){
	.koen-pc{display: none;}
	.koen-sp{display:block;}
}

/* 後援会のページの「ボランティアも募集しています」の枠（本文に書く。子ページ /koen/volunteer/ への入口） */
.koen-volunteer {margin:35px 25px;padding:20px 25px;background:#F4F6FB;border-left:4px solid #1F3A93;border-radius:0;line-height:1.8;}
.koen-volunteer p {margin:0;}
.koen-volunteer__hl {margin-bottom:6px !important;color:#1F3A93;font-size:1.15em;font-weight:700;}
.koen-volunteer__btn {margin-top:14px !important;}
.koen-volunteer__btn a {display:inline-block;padding:0.5em 2em;border:2px solid #1F3A93;border-radius:999px;background:#FFF;color:#1F3A93;font-weight:600;text-decoration:none;}

/* お問い合わせのフォーム（Contact Form 7）の、表の外の文（必須項目の注意・送信の前の文）は、本文と同じく左右に25px空ける */
/* 表（項目名と入力欄）まで空けると、スマホで入力欄が狭くなりすぎるので、表はそのまま */
.entry-content .wpcf7 form > p {margin-left:25px;margin-right:25px;}
/* スパム対策（Turnstile）のチェックの欄。フォームでは「同意する」と送信ボタンの間に置く（<div class="sbmt-turnstile">[turnstile]</div>） */
.sbmt-turnstile {display:flex;justify-content:center;margin:0 25px 1em;}

/* プロフィールのページの題名の下の名前 */
.profile-name {margin:0 25px 20px;text-align:center;font-weight:600;}

/* 404 のページ */
.not-found {margin:0 25px 40px;text-align:center;line-height:1.8;}
.not-found__sub {margin-top:15px;}

/* 固定ページの本文の上の写真（政策と想い） */
.page-photo {display:block;box-sizing:border-box;width:calc(100% - 50px);height:auto;aspect-ratio:3 / 1;object-fit:cover;object-position:center 22%;margin:0 25px 30px;}
@media only screen and (max-width:549px) {
	.top-result__photo, .page-photo {aspect-ratio:3 / 2;}
}

/* 入会フォーム（Google フォームの埋め込み）。下はフッターの写真と重ならないよう空ける */
/* 高さは1ページ目に合わせる。長いページはフォームの中でスクロールする */
.koen-form iframe {display:block;width:100%;max-width:640px;height:1000px;margin:30px auto 200px;border:0;}
@media only screen and (max-width:850px){
	.koen-form iframe {height:1200px;}
}

/* privacypolicy --------------------*/

.pp_main p {margin-left:25px;margin-right:25px;}
/* 写真メインの投稿 --------------------*/

/* 大きな写真（幅いっぱい、4:3 の枠に写真全体が収まるように）と、その下に小さな写真6つの並び（inc/photo-post.php） */
/* 大きな写真は横に並べた列で、スワイプ・矢印・小さな写真で切り替える。押すと全画面で拡大 */
.photo-gallery {margin:0 0 20px;}
.photo-gallery__stage {position:relative;border-radius:12px;overflow:hidden;background:#F4F6FB;}
.photo-gallery__track, .photo-zoom__track {display:flex;margin:0;padding:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;}
.photo-gallery__track::-webkit-scrollbar, .photo-zoom__track::-webkit-scrollbar {display:none;}
.photo-gallery__track > li, .photo-zoom__track > li {flex:0 0 100%;margin:0;scroll-snap-align:start;}
.photo-gallery__zoom {display:block;width:100%;aspect-ratio:4 / 3;padding:0;border:0;background:none;cursor:zoom-in;}
.photo-gallery__zoom img {display:block;width:100%;height:100%;object-fit:contain;}
/* 左右の矢印（丸の中に山形） */
.photo-gallery__arrow, .photo-zoom__arrow {position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,0.88);cursor:pointer;}
.photo-gallery__arrow::before, .photo-zoom__arrow::before {content:"";position:absolute;top:50%;left:50%;width:10px;height:10px;border-top:2.5px solid #1F3A93;border-right:2.5px solid #1F3A93;}
.photo-gallery__arrow--prev {left:10px;}
.photo-gallery__arrow--next {right:10px;}
.photo-gallery__arrow--prev::before {transform:translate(-30%,-50%) rotate(-135deg);}
.photo-gallery__arrow--next::before {transform:translate(-70%,-50%) rotate(45deg);}
.photo-gallery__count {position:absolute;right:10px;bottom:10px;margin:0;padding:0 10px;border-radius:999px;background:rgba(0,0,0,0.55);color:#FFF;font-size:12px;line-height:1.8;}
/* 小さな写真。今出している写真は紺の枠、ほかは薄く */
.photo-gallery__thumbs {display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:10px 0 0;padding:0;}
.photo-gallery__thumbs li {margin:0;}
.photo-gallery__thumbs button {display:block;width:100%;padding:0;border:0;border-radius:6px;overflow:hidden;background:none;opacity:0.5;cursor:pointer;transition:opacity .2s;}
.photo-gallery__thumbs button[aria-current] {opacity:1;outline:2px solid #1F3A93;outline-offset:2px;}
.photo-gallery__thumbs img {display:block;width:100%;height:auto;aspect-ratio:1 / 1;object-fit:cover;}

/* 全画面の拡大（黒い地に写真全体） */
.photo-zoom {width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000;overflow:hidden;}
.photo-zoom::backdrop {background:#000;}
.photo-zoom__track {height:100%;}
.photo-zoom__track > li {display:flex;align-items:center;justify-content:center;height:100%;}
.photo-zoom__track img {display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
.photo-zoom__arrow {background:rgba(255,255,255,0.2);}
.photo-zoom__arrow::before {border-color:#FFF;}
.photo-zoom__count {position:absolute;top:20px;left:16px;margin:0;color:#FFF;font-size:14px;}
.photo-zoom__close {position:absolute;top:8px;right:8px;width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer;}
.photo-zoom__close::before, .photo-zoom__close::after {content:"";position:absolute;top:50%;left:50%;width:24px;height:2px;background:#FFF;}
.photo-zoom__close::before {transform:translate(-50%,-50%) rotate(45deg);}
.photo-zoom__close::after {transform:translate(-50%,-50%) rotate(-45deg);}
.is-photo-zoom {overflow:hidden;}

@media only screen and (max-width:850px) {
	.photo-gallery__arrow {width:36px;height:36px;margin-top:-18px;}
	.photo-gallery__thumbs {gap:5px;}
	.photo-gallery__thumbs button {border-radius:4px;}
}
.photo-comment {margin:10px 0 30px;line-height:1.8;}

/* 見出し（h1 はページの名前、h2 は本文の区切り） --------------------*/
/* h1 は中央寄せ＋短いオレンジの線にして、左寄せ＋下線の h2 と形を分ける */

h1.page-title {
	margin:40px 0 30px;
	padding:0 30px;
	font-family:'M PLUS 1p', sans-serif;
	color:#1F3A93;
	font-size:2.5em;
	font-weight:800;
	line-height:1.3;
	text-align:center;
}
h1.page-title::after {
	content:"";
	display:block;
	width:48px;
	height:4px;
	margin:14px auto 0;
	background:#F30;
}
h1.page-title + .post-date {text-align:center;}
h2 {font-size:2em;}
@media only screen and (max-width:850px) {
	h1.page-title {font-size:2em;padding:0 15px;}
	h2 {font-size:1.7em !important;}
}

/* パンくず（見た目はデザインを決めるときに整える） --------------------*/

.breadcrumb {margin:15px 0 0;padding:0 30px;font-size:0.85em;color:#555;}
.breadcrumb ol {display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none;}
.breadcrumb li + li::before {content:"›";margin:0 0.5em;}
.breadcrumb a {color:#555;}
/* 固定ページは本文の下に出す */
.entry-content + .breadcrumb {margin-top:40px;}

/* フッターを画面の下端にそろえる（本文が短いページでも、フッターの下に余白を作らない） --------------------*/

body {display:flex;flex-direction:column;min-height:100vh;}
body.admin-bar {min-height:calc(100vh - 32px);}
@media screen and (max-width:782px) {
	body.admin-bar {min-height:calc(100vh - 46px);}
}
#wrap {display:flex;flex-direction:column;flex:1 0 auto;}
#main {flex:1 0 auto;}

/* トップページ（front-page.php） --------------------*/

.top-sec {margin:70px 0 0;}
.top-sec:first-child {margin-top:30px;}
.top-sec h2 {margin-top:0;}
.top-label {display:block;font-size:0.4em;font-weight:800;letter-spacing:0.15em;color:#D92B00;line-height:1.6;} /* 小さい文字なので、白の地との差（コントラスト比 4.5 以上）が出るよう #F30 を少し濃くする */
/* 中身の左は h2 の文字の始まり（25px）にそろえる */
.top-sec > p, .top-sec > ul, .top-sec > ol, .top-sec > div, .top-sec > h3 {margin-left:25px;margin-right:25px;}
.top-sec p {line-height:2;}
.top-sec h3 {border-left:0;padding:0;margin:0;line-height:1.4;}

.top-more {margin-top:15px;text-align:right;}
.top-more a {color:#1F3A93;font-weight:600;text-decoration:none;border-bottom:1px solid #1F3A93;}
.top-more a::after {content:"›";margin-left:0.4em;}

/* ごあいさつ（写真なし。2026-11-21 ユーザー指示の案 H2）：左にオレンジの線を引いた文、右に紺の丸いボタン。スマホはボタンを文の下の中央に */
.top-greeting__wrap {margin-top:20px;}
.top-greeting__body {display:flex;align-items:center;justify-content:space-between;gap:40px;}
.top-greeting__body > p:first-child {margin:0;padding:6px 0 6px 26px;border-left:4px solid #F27300;font-size:1.08em;}
.top-greeting .top-more {margin:0;flex-shrink:0;}
.top-greeting .top-more a {display:inline-block;padding:0.55em 2.2em;border:2px solid #1F3A93;border-radius:999px;background:#1F3A93;color:#FFF;white-space:nowrap;}
.top-greeting .top-more a:hover {opacity:0.85;}
@media only screen and (max-width:640px) {
	.top-greeting__body {flex-direction:column;align-items:stretch;gap:22px;}
	.top-greeting .top-more {text-align:center;}
}

/* 落海なおやのこと */
.top-profile__wrap {display:flex;align-items:center;gap:30px;margin-top:20px;}
.top-profile__photo {width:220px;height:300px;object-fit:cover;object-position:top;flex-shrink:0;}
.top-profile__list {flex:1;margin:0;}
.top-profile__list div {display:flex;gap:1em;padding:12px 0;border-bottom:1px solid #D0D9EA;line-height:1.7;}
.top-profile__list dt {width:7em;flex-shrink:0;color:#1F3A93;font-weight:600;}
.top-profile__list dd {margin:0;}

/* 政策 */
.top-policy__list {display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px;padding:0;}
.top-policy__list li {background:#F4F6FB;border-top:4px solid #1F3A93;padding:20px 25px;}
.top-policy__num {display:block;font-size:1.8em;font-weight:800;color:#F30;line-height:1;}
.top-policy__list h3 {color:#1F3A93;font-size:1.3em;margin:8px 0 10px;}
.top-policy__issue {color:#555;line-height:1.8 !important;}
.top-policy__action {margin-top:8px;line-height:1.8 !important;}
.top-policy__action::before {content:"→ ";color:#1F3A93;font-weight:600;}

/* 議会で取り上げたこと */
.top-result__photo {display:block;width:100%;height:auto;aspect-ratio:3 / 1;object-fit:cover;object-position:center 22%;margin-top:20px;}
.top-result__list {display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px;padding:0;}
.top-result__list li {border:1px solid #D0D9EA;padding:20px 25px;}
.top-result__list h3 {color:#1F3A93;font-size:1.15em;margin-bottom:8px;}
.top-btn {margin:25px 0 0;text-align:center;}
.top-btn a {display:inline-block;padding:0.5em 2em;border:2px solid #1F3A93;border-radius:999px;color:#1F3A93;font-weight:600;text-decoration:none;}

/* 報告 */
.top-report__list {display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px;padding:0;}
.top-report__list a {display:block;color:#000;text-decoration:none;}
.top-report__img {display:block;aspect-ratio:4 / 3;overflow:hidden;background:#D0D9EA;}
.top-report__img img {display:block;width:100%;height:100%;object-fit:cover;}
.top-report__meta {display:flex;align-items:center;gap:0.6em;margin-top:8px;font-size:0.85em;color:#555;}
.top-report__cat {background:#1F3A93;color:#FFF;padding:0 0.6em;line-height:1.7;}
.top-report__title {display:block;margin-top:4px;font-weight:600;line-height:1.6;}

/* SNS */
/* フィードの中の回り込み（float）を枠の中に収め、ボタンを必ず下に出す */
.top-sns__feed {display:flow-root;position:relative;margin-top:20px;}
.top-sns__mark {display:none;}
/* 投稿が出ているときだけ、灰色の地と Instagram の印を出す */
.top-sns__feed:has(.sbi_item) {padding:20px;border-radius:12px;background:#F3F4F6;}
.top-sns__feed:has(.sbi_item) .top-sns__mark {display:flex;position:absolute;top:54px;right:25px;z-index:1;gap:6px;align-items:center;margin:0;color:#333;font-weight:600;}
@media (max-width:480px) {
	.top-sns__feed:has(.sbi_item) {padding:12px;}
	.top-sns__feed:has(.sbi_item) .top-sns__mark {top:36px;right:17px;}
	.top-sns__mark span {display:none;}
}
.top-sns__list {display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;padding:0;}
.top-sns__list a {display:inline-block;min-width:8em;padding:0.5em 1.5em;border:2px solid #1F3A93;border-radius:999px;color:#1F3A93;font-weight:600;text-align:center;text-decoration:none;}

/* ご意見・ご相談（トップの最後。フッターとの間を空ける） */
.top-contact {padding-bottom:60px;}

@media only screen and (max-width:850px) {
	.top-sec {margin-top:50px;}
	/* スマホは中身を広く使うので左右15px。h2 の文字もそこから始める */
	.top-sec h2 {padding-left:15px;}
	.top-sec > p, .top-sec > ul, .top-sec > ol, .top-sec > div, .top-sec > h3 {margin-left:15px;margin-right:15px;}
	.top-profile__wrap {flex-direction:column;align-items:center;}
	.top-profile__photo {width:180px;height:240px;}
	.top-profile__list {width:100%;}
	.top-policy__list, .top-result__list {grid-template-columns:1fr;}
	.top-report__list {grid-template-columns:repeat(2,1fr);gap:15px;}
}
@media only screen and (max-width:500px) {
	.top-report__list {grid-template-columns:1fr;}
	.top-profile__list div {flex-direction:column;gap:0;}
}

/* 報告（一覧と記事） --------------------*/
/* 一覧：左に記事（写真・カテゴリー・題名・日付）、右にカテゴリー・新着記事・タグ */
/* 記事：題名の下に、左に本文、右に同じカテゴリーの記事・新着記事・カテゴリー・タグ */
/* スマホ：一覧はカテゴリーを選ぶ欄を上に、ほかのサイドバーは下に。記事はサイドバーを本文の下に */

/* 下は60px空けて、フッターとの間をとる */
.report-layout {display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-areas:"main cats" "main side";grid-template-rows:auto 1fr;column-gap:50px;margin:10px 0 60px;padding:0 30px;}
.report-layout--single {grid-template-areas:"main side";grid-template-rows:auto;margin-top:25px;}
.report-main {grid-area:main;min-width:0;}
.report-layout > .report-cats {grid-area:cats;}
.report-side {grid-area:side;}
.report-layout > .report-cats + .report-main + .report-side {margin-top:40px;}
.report-list {margin:0;padding:0;}
.report-list li + li {margin-top:30px;}
.report-row {display:grid;grid-template-columns:240px minmax(0,1fr);gap:25px;align-items:center;color:#000;text-decoration:none;}
.report-list .report-row__img {display:block;aspect-ratio:3 / 2;overflow:hidden;border-radius:24px;background:#D0D9EA;}
.report-list .report-row__img img {display:block;width:100%;height:100%;object-fit:cover;}
/* 本文の li span の inline-block に負けないよう .report-list を付ける */
.report-list .report-row__body {display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.report-list .report-row__title {display:block;font-size:1.1em;font-weight:500;line-height:1.6;}
.report-row time {font-size:0.85em;color:#555;}
.report-empty {margin:20px 0;}

/* カテゴリーの札（一覧・記事） */
.report-cat {display:inline-block;padding:0 0.9em;border:1.5px solid #1F3A93;border-radius:999px;color:#1F3A93;font-size:0.8em;line-height:1.9;text-decoration:none;background:#FFF;}
a.report-cat:hover {background:#1F3A93;color:#FFF;opacity:1;}

/* サイドバー */
.report-side__sec + .report-side__sec {margin-top:40px;}
.report-side__hl {margin:0 0 8px;color:#1F3A93;font-family:'M PLUS 1p', sans-serif;font-size:1.2em;font-weight:800;}
.report-cats__list, .report-side__posts {margin:0;padding:0;border-top:1px solid #C9D2E6;}
.report-cats__list a {display:block;padding:14px 4px;border-bottom:1px solid #C9D2E6;color:#000;text-decoration:none;}
.report-cats__list a[aria-current="page"] {color:#1F3A93;font-weight:700;}
.report-cats__count {margin-left:0.3em;font-size:0.85em;color:#555;}
.report-cats__select {display:none;}
.report-side__posts a {display:block;padding:12px 4px;border-bottom:1px solid #C9D2E6;color:#000;font-size:0.9em;line-height:1.6;text-decoration:none;}
.report-side__posts time {display:block;color:#555;font-size:0.85em;}
/* 市議会の様子を見る（ほかのサイトへのリンク。右に外へ出る印） */
.report-side__links a {position:relative;padding-right:24px;color:#1F3A93;}
.report-side__links a::after {content:"↗";position:absolute;top:50%;right:6px;transform:translateY(-50%);}

/* タグ（本文の下・サイドバー） */
.report-tags {display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;}
.report-tags a {display:inline-block;padding:0.2em 0.8em;border-radius:999px;background:#E9EDF6;color:#1F3A93;font-size:0.85em;text-decoration:none;}
.report-tags a[aria-current="page"] {background:#1F3A93;color:#FFF;}
.report-tags .report-tags__count {margin-left:0.4em;font-size:0.85em;opacity:0.7;}
.report-main > .report-tags {margin-top:30px;}
/* サイドバーの「すべてのタグを見る」（押すと残りのタグが下に開き、ボタンは一番下で「閉じる」になる。inc/report.php） */
/* 開け閉めは grid の行の高さ（0fr ⇔ 1fr）で動かす。どのブラウザでも伸び縮みの動きになる */
.report-tags-more {display:grid;grid-template-rows:1fr;transition:grid-template-rows 0.3s ease;}
.report-tags-more.is-closed {grid-template-rows:0fr;}
.report-tags-more__inner {min-height:0;overflow:hidden;}
.report-tags-more .report-tags {padding-top:8px;}
.report-tags-toggle {display:inline-flex;gap:6px;align-items:center;margin-top:12px;padding:0;border:0;background:none;color:#1F3A93;font:inherit;font-size:0.9em;font-weight:600;cursor:pointer;}
.report-tags-toggle::after {content:"";width:7px;height:7px;margin-top:3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-135deg);transition:transform 0.2s;}
.report-tags-toggle[aria-expanded="false"]::after {margin-top:-3px;transform:rotate(45deg);}
.report-tags-toggle:hover, .report-tags-toggle:focus-visible {text-decoration:underline;}
@media (prefers-reduced-motion: reduce) {
	.report-tags-more, .report-tags-toggle::after {transition:none;}
}
.report-main > .breadcrumb {margin-top:20px;padding:0;}

/* 本文の PDF へのリンク（新しいタブで開く。functions.php の ochiumi_pdf_new_tab）。後ろに「PDF」の札を付ける */
a.link-pdf::after {content:"PDF";display:inline-block;margin-left:0.4em;padding:0 0.4em;border-radius:3px;background:#D92B00;color:#FFF;font-size:0.75em;font-weight:700;line-height:1.6;vertical-align:0.1em;text-decoration:none;}

/* ページ送り（丸い番号と矢印） */
.report-main .pagination {margin-top:50px;}
.report-main .nav-links {display:flex;justify-content:center;align-items:center;gap:10px;}
.report-main .page-numbers {display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#1F3A93;text-decoration:none;}
.report-main .page-numbers.current {background:#1F3A93;color:#FFF;}
.report-main .page-numbers.prev, .report-main .page-numbers.next {border:1.5px solid #1F3A93;}
.report-main .page-numbers.dots {width:auto;}
.screen-reader-text {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* 記事：日付の横にカテゴリー、本文の上にアイキャッチ */
.report-post .post-date, .photo-post .post-date {display:flex;justify-content:center;align-items:center;gap:0.8em;color:#555;}
.report-post__eyecatch {margin:0 0 30px;}
/* 縦長の写真が大きくなりすぎないよう、高さを抑える（切り抜かない） */
.report-post__eyecatch img {display:block;width:auto;max-width:100%;height:auto;max-height:480px;margin:0 auto;border-radius:16px;}
.report-post__body {line-height:2;}
.report-post__body p {margin:0 0 1.5em;}
.report-post__body img {max-width:100%;height:auto;border-radius:8px;}
.report-post__body h2 {margin:50px 0 20px;padding-left:0;font-size:1.6em;}
.report-post__body h3 {margin:35px 0 15px;}
.report-post__body a {color:#1F3A93;}
.report-post__body ul, .report-post__body ol {margin:0 0 1.5em 1.5em;}
.report-post__body ul {list-style:disc;}
.report-post__body ol {list-style:decimal;}

/* 前の記事・次の記事 */
.report-pager {margin:50px 0 0;}
.report-pager__links {display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:20px;border-top:1px solid #C9D2E6;}
.report-pager__links a {display:block;color:#000;text-decoration:none;line-height:1.6;}
.report-pager__next {grid-column:2;text-align:right;}
.report-pager__dir {display:block;margin-bottom:4px;color:#1F3A93;font-size:0.85em;}
.report-pager__prev .report-pager__dir::before {content:"‹ ";}
.report-pager__next .report-pager__dir::after {content:" ›";}
.report-pager__back {margin:35px 0 0;text-align:center;}
.report-pager__back a {display:inline-block;padding:0.5em 2em;border:2px solid #1F3A93;border-radius:999px;color:#1F3A93;font-weight:600;text-decoration:none;}

@media only screen and (max-width:850px) {
	.report-layout {grid-template-columns:minmax(0,1fr);grid-template-areas:"cats" "main" "side";grid-template-rows:auto;row-gap:20px;margin-bottom:60px;padding:0 15px;}
	.report-layout--single {grid-template-areas:"main" "side";}
	.report-layout > .report-cats + .report-main + .report-side {margin-top:40px;}
	.report-layout--single .report-side {margin-top:40px;}
	.report-layout > .report-cats .report-side__hl, .report-layout > .report-cats .report-cats__list {display:none;}
	.report-cats__select {display:block;width:100%;padding:10px;border:1.5px solid #1F3A93;border-radius:8px;background:#FFF;color:#1F3A93;font-size:1em;}
	.report-row {grid-template-columns:40% minmax(0,1fr);gap:15px;}
	.report-list .report-row__img {border-radius:14px;}
	.report-list .report-row__title {font-size:1em;}
	.report-list li + li {margin-top:20px;}
	.report-post__body h2 {font-size:1.4em !important;}
}

/* スマホの下のメニュー --------------------*/
/* 幅850px以下：画面の下にホーム・プロフィール・政策・後援会・メニューを固定する（inc/sp-nav.php）。ヘッダーのメニューも出したまま（ユーザー指示） */
/* 「メニュー」を押すと、下のメニューの上に全画面のメニュー（全項目と SNS）を出す */
.spnav, .spmenu {display:none;}

@media only screen and (max-width:850px) {
	/* WordPress が後から出す body {padding:0} に負けないよう html を付ける */
	html body {padding-bottom:calc(65px + env(safe-area-inset-bottom));}
	.spnav {display:block;position:fixed;left:0;right:0;bottom:0;z-index:1000;padding-bottom:env(safe-area-inset-bottom);background:#EEF1F7;border-top:1px solid #D6DCEA;}
	.spnav__list {display:flex;margin:0;padding:0;}
	.spnav__list li {flex:1;min-width:0;border-right:1px solid #D6DCEA;}
	.spnav__list li:last-child {border-right:0;}
	.spnav__list a, .spnav__menu {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:65px;padding:0;border:0;background:none;color:#1F3A93;font:inherit;font-size:11px;line-height:1.2;text-decoration:none;cursor:pointer;}
	.spnav__list a:hover {opacity:1;}
	/* 今のページは、上にオレンジの線 */
	.spnav__list a[aria-current="page"] {box-shadow:inset 0 3px 0 #F27300;font-weight:700;}
	.spnav__icon {display:block;width:24px;height:24px;}
	/* 「メニュー」と「閉じる」の切り替え */
	.spnav__menu .spnav__icon + .spnav__icon, .spnav__close {display:none;}
	.spnav__menu[aria-expanded="true"] .spnav__icon:first-child, .spnav__menu[aria-expanded="true"] .spnav__open {display:none;}
	.spnav__menu[aria-expanded="true"] .spnav__icon + .spnav__icon, .spnav__menu[aria-expanded="true"] .spnav__close {display:block;}
	/* 「閉じる」は紺の地に白で目立たせる（ヘッダーの「メニュー」から開いたときも見つけやすく） */
	.spnav__menu[aria-expanded="true"] {background:#1F3A93;color:#FFF;}

	.spmenu {display:block;position:fixed;top:0;left:0;right:0;bottom:calc(65px + env(safe-area-inset-bottom));z-index:999;overflow-y:auto;overscroll-behavior:contain;background:#FFF;}
	.spmenu[hidden] {display:none;}
	.is-spmenu-open {overflow:hidden;}
	.spmenu__hl {margin:0;padding:8px 16px;background:#EEF1F7;color:#1F3A93;font-size:13px;}
	.spmenu__list {margin:0;padding:0;}
	.spmenu__list a {display:block;position:relative;padding:15px 44px 15px 16px;border-bottom:1px solid #E3E7F0;color:#222;font-size:15px;text-decoration:none;}
	.spmenu__list a::after {content:"";position:absolute;top:50%;right:20px;width:7px;height:7px;border-top:1.5px solid #8A97B8;border-right:1.5px solid #8A97B8;transform:translateY(-50%) rotate(45deg);}
	.spmenu__list .current-menu-item > a {color:#1F3A93;font-weight:700;}
}

/* 計測から外す端末の印 --------------------*/
/* ?ochiumi_internal=1（=0）を開いたときだけ、ページのいちばん上に結果を出す（functions.php） */
.internal-notice {margin:0;padding:10px 16px;background:#F27300;color:#FFF;font-size:14px;line-height:1.5;text-align:center;}

/* サイトマップ（page-sitemap.php） --------------------*/
.sitemap__list {margin:0 25px 30px;padding:0;list-style:none;border-top:1px solid #E3E7F0;}
.sitemap__list li {margin:0;padding:0;border-bottom:1px solid #E3E7F0;}
.sitemap__list a {display:block;position:relative;padding:12px 36px 12px 4px;color:#222;text-decoration:none;}
.sitemap__list a::after {content:"";position:absolute;top:50%;right:14px;width:7px;height:7px;border-top:1.5px solid #8A97B8;border-right:1.5px solid #8A97B8;transform:translateY(-50%) rotate(45deg);}
.sitemap__list a:hover {color:#1F3A93;}
.sitemap__list--posts time {display:inline-block;min-width:6.5em;margin-right:0.8em;color:#666;font-size:0.9em;}
.sitemap__more {margin:0 25px 10px;}
.sitemap h3 a {color:inherit;}

/* フッター（footer-content.php） --------------------*/
/* 紺の地に、左に事務所の名前・連絡先・後援会のボタン、右にメニュー（2列）。並びは全ページ同じ。850px 未満は上下に並べる */
/* 写真（トップ・ごあいさつ以外、850px 以上）は紺の地の上に乗せ、腕から下（下の46px）だけを紺の地に重ねる。上にはみ出す分（約300px）はフッターの上を空けて確保する */
.site-foot {position:relative;background:#1F3A93;color:#FFF;}
.site-foot--page {margin-top:60px;}
.site-foot__inner {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px 60px;max-width:1160px;margin:0 auto;padding:46px 25px 40px;}
.site-foot__name, .site-foot__hl {margin:0;font-family:'M PLUS 1p', sans-serif;font-weight:800;line-height:1.3;}
.site-foot__name::before, .site-foot__hl::before {content:"";display:block;width:24px;height:3px;margin-bottom:14px;background:#F27300;}
.site-foot__name {font-size:26px;}
.site-foot__role {margin:8px 0 0;color:#D0D9EA;font-size:13px;}
.site-foot__contact {display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:20px 0 0;font-size:14px;line-height:1.7;}
.site-foot__contact dt {color:#D0D9EA;font-size:12px;letter-spacing:0.08em;line-height:2;}
.site-foot__contact dd {margin:0;}
.site-foot__contact a {color:#FFF;}
.site-foot__note {display:block;color:#D0D9EA;font-size:12px;}
.site-foot__btn {display:flex;align-items:center;justify-content:center;position:relative;max-width:280px;margin-top:24px;min-height:54px;padding:10px 36px 10px 20px;border-radius:4px;background:#FFF;color:#1F3A93;font-weight:700;text-decoration:none;}
.site-foot__btn::after {content:"";position:absolute;top:50%;right:18px;width:8px;height:8px;border-top:2px solid #F27300;border-right:2px solid #F27300;transform:translateY(-50%) rotate(45deg);}
.site-foot__btn:hover {opacity:0.85;}
.site-foot__hl {font-size:15px;letter-spacing:0.15em;}
.site-foot__menu {margin:16px 0 0;padding:0;list-style:none;columns:2;column-gap:40px;}
.site-foot__menu li {margin:0;break-inside:avoid;}
.site-foot__menu a {display:block;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.18);color:#FFF;font-size:14px;line-height:1.5;text-decoration:none;}
.site-foot__menu a:hover {opacity:0.75;}
.site-foot__copy {margin:0;padding:18px 25px;border-top:1px solid rgba(255,255,255,0.2);color:#D0D9EA;font-size:12px;text-align:center;}
/* 写真：紺の地の上端に高さ0の帯を置き、写真の下端を46px下（紺の地の中）にそろえる */
.site-foot__photo {display:none;}
@media only screen and (min-width:850px) {
	.site-foot--photo {margin-top:374px;} /* 写真（382px）のうち、紺の地より上に出る354px＋すきま */
	.site-foot__photo {display:block;position:absolute;top:0;left:0;right:0;height:0;max-width:1160px;margin:0 auto;pointer-events:none;}
	.site-foot__photo img {position:absolute;right:25px;bottom:-28px;width:240px;height:auto;} /* 袖の下の切れ目を紺の地の上端にそろえ、手だけを重ねる */
}
@media only screen and (max-width:849px) {
	.site-foot__inner {grid-template-columns:minmax(0,1fr);gap:36px;padding:45px 20px 35px;}
	.site-foot__name {font-size:22px;}
	.site-foot__menu {column-gap:24px;}
}
