/*
Theme Name: Minimal sbcc Theme
Author: Site Owner
Description: オリジナルサイト制作を始めるための、シンプルなクラシックテーマです。
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: minimal-original-theme
*/

:root {
  --color-text: #1f2937;
  --color-background: #ffffff;
  --color-border: #e5e7eb;
  --content-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header,
.site-main,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header,
.site-footer {
  padding-block: 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
}

.site-main {
  min-height: 60vh;
  padding-block: 3rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-description {
  margin: 0.25rem 0 0;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.post + .post {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.entry-title {
  line-height: 1.3;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: #000000;
  background: #ffffff;
}
