/*
Theme Name:        Wagokai（寺社精神文化和合会）
Theme URI:         https://example.com/
Author:            Morethanjp
Description:       一般社団法人 寺社精神文化和合会のサイト用テーマ。トップページは固定ページの「カスタムHTML」ブロックで管理し、提携寺院・スポンサー企業は管理画面（ACF）から追加して、ショートコード [wagokai_temples] [wagokai_sponsors] で表示します。
Version:           1.0.7
Requires at least: 6.0
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       wagokai
*/

/* ---------------------------------------------------------
   Base (pages other than the top page)
   The top page design lives in assets/css/wagokai.css (.wgk)
   --------------------------------------------------------- */
:root{
  --site-ink:#1d2a25;
  --site-ink-deep:#111a16;
  --site-paper:#f7f4ed;
  --site-gold:#a7894f;
  --site-gold-l:#dbc48f;
  --site-line:rgba(29,42,37,.16);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fffdfa;color:var(--site-ink);font-family:'Noto Sans JP',-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',sans-serif;font-size:16px;line-height:1.9;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* site header / footer (shown on pages other than the top page) */
.site-hd{background:var(--site-ink);color:#fff}
.site-hd .site-wrap{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-wrap{width:min(1160px,100% - 48px);margin:0 auto}
.site-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:'Noto Serif JP',serif}
.site-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.65);border-radius:50%;font-size:.8rem}
.site-brand small{display:block;font-size:.62rem;letter-spacing:.16em;opacity:.85}
.site-brand strong{display:block;font-weight:500;font-size:.98rem;letter-spacing:.06em;line-height:1.35}
.site-nav ul{display:flex;flex-wrap:wrap;gap:22px;margin:0;padding:0;list-style:none;font-size:.82rem}
.site-nav a{text-decoration:none;opacity:.9}
.site-nav a:hover{opacity:.65}
.site-ft{background:var(--site-ink-deep);color:#aeb8b3;padding:34px 0;font-size:.74rem}
.site-ft .site-wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.site-ft a{text-decoration:none}

/* generic page content */
.site-main{display:block}
.entry-wrap{width:min(860px,100% - 48px);margin:0 auto;padding:90px 0 110px}
.entry-title{margin:0 0 36px;font:500 clamp(1.8rem,3.4vw,2.6rem)/1.5 'Noto Serif JP',serif;letter-spacing:.06em}
.entry-content > *{margin-top:0;margin-bottom:1.4em}
.entry-content h2,.entry-content h3{font-family:'Noto Serif JP',serif;font-weight:500;line-height:1.6}
.entry-content a{color:var(--site-gold)}
.not-found{text-align:center}

/* the top page (blank template) should touch the edges */
.is-blank .site-main{overflow-x:hidden;margin:0;padding:0}
/* empty blocks left in the editor (e.g. an empty paragraph under the Custom HTML block) must not add space */
.is-blank .site-main > p:empty,
.is-blank .site-main > br{display:none}
.is-blank .site-main > :last-child{margin-bottom:0}
html:has(body.is-blank),body.is-blank{background:#111a16}
.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}

@media (max-width:900px){
  .site-wrap{width:min(100% - 32px,1160px)}
  .site-hd .site-wrap{height:auto;min-height:64px;padding:10px 0;flex-wrap:wrap}
  .site-nav ul{gap:14px}
  .entry-wrap{width:min(100% - 32px,860px);padding:60px 0 80px}
}
