/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 21 2026 | 07:39:32 */
/* ==========================================================================
   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: 100px;
}

/* 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;
}

body.home {
    /* トップページの背景画像を設定 */
  background-image: url('https://tmaterial.jp/main/wp-content/uploads/top-background-scaled.png');
  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;
}

/* 7. テキストの折り返しを綺麗に整えます（モダン対応） */
h1, h2, h3, h4, h5, h6 {
  text-wrap: pretty;
}
p {
  text-wrap: pretty;
}

/* 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;
}

@media (max-width: 767px) {
	body.single main {padding-top: 40px !important;}	
}

.smf-progress-tracker__item__number {
	width: 48px;
	height: 48px;
}

.smf-progress-tracker__item:after, .smf-progress-tracker__item:before { top: 24px; }

/* 一時非表示 */
.l-footer__nav .l-footer__nav-link:nth-child(3),
.l-header__list .l-header__item:nth-child(4) { display: none; }