/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 22 2026 | 02:46:36 */
/* ==========================================================================
   Modern CSS Reset & Base Styles
   ========================================================================== */

/* 1. ボックスモデルを直感的にします */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白をリセットします */
* {
  margin: 0;
  padding: 0;
}

/* 3. ダークモードとライトモードのデフォルトカラーをOSに委ねます（モダン対応） */
html {
  color-scheme: dark light;
  
  /* ページ内リンクでスムーススクロールを有効にします */
  scroll-behavior: smooth;
  
  /* ヘッダーの固定高さ分（100px）を考慮して、アンカーリンクの停止位置をずらします */
  /* ※スマホの時にヘッダー高さが変わる場合は、適宜メディアクエリで調整してください */
  scroll-padding-top: 60px;
}

/* 4. 基本的なボディの設定を行います */
body {
  height: auto !important;
  /* スマホのアドレスバーなどを考慮した正確なビューポートの高さを確保します */
  min-height: 100dvh;
  
  /* 指定されたWebフォント（Noto Sans JP）を適用し、上書きされないよう強度を上げます */
  font-family: 'Noto Sans JP', sans-serif !important;
  
  /* 文字のレンダリングを最適化します */
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.home {
    /* トップページの背景画像を設定 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 5. メディア要素がコンテナからはみ出さないようにします */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. フォーム要素のフォント指定を親要素から継承させます */
input,
button,
textarea,
select {
  font: inherit;
}


/* 8. リストのデフォルトスタイルを無効化します */
ul,
ol {
  list-style: none;
}

/* 9. リンクの下線が文字（ディセンダー）に被らないようにします */
a {
  text-decoration-skip-ink: auto;
}

/* 10. デフォルトのフォーカスリングを視認しやすくします（アクセシビリティ対応） */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* 11. アニメーションを減らしたいユーザーへの配慮を行います（アクセシビリティ対応） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    /* OS設定で視差効果を減らしている場合は、スムーススクロールも無効化します */
    scroll-behavior: auto !important;
  }
}

/* over write */
body:not(.single) h1.wp-block-post-title {
	display: none;
}

:root :where(.wp-block-post-date) {
	margin-block: 16px clamp(48px, 4vw, 72px);
	font-size: 24px;
}

body.single :where(.wp-block-post-date) {
	font-size: 18px;
}

.p-entry-banner { display: inline-block; }

@media (max-width: 767px) {
	body.single main {padding-top: 40px !important;}	
}

blockquote, caption, figcaption, h1, h2, h3, h4, h5, h6, p {
	text-wrap: unset;
}

.is-entry-form .smf-progress-tracker__item__number {
	width: 48px;
	height: 48px;
}

.smf-progress-tracker__item:after, .smf-progress-tracker__item:before { top: 24px; }
