:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f9fd;
  --text: #102a43;
  --muted: #4f6475;
  --primary: #0068b7;
  --primary-dark: #004b8d;
  --accent: #00a6d6;
  --border: #d8e8f2;
  --shadow: 0 12px 30px rgba(0, 75, 141, 0.10);
  --max-width: 1120px;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --external-link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23004b8d' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.image{
 margin:0 auto;
 max-width:1000px;
 text-align:center;
}

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

/* ==========================
   Skip Link
========================== */

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================
   Header
========================== */

.site-header {
  background: #ffffff;
  border-top: 6px solid var(--primary);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 900;
}

.brand-mark {
  width: 42px;
}

.brand-text {
  font-size: 1.25rem;
}

/* ==========================
   Breadcrumb
========================== */

.breadcrumb {
  padding: 8px 0;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

/* ==========================
   Hero
========================== */

.page-hero {
  background: #f7fbfe;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  padding: 24px 0;
}

.page-hero h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ==========================
   Content Cards
========================== */

.content-card {
  margin: 20px 0 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.content-card h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.content-card p {
  margin-bottom: 1em;
}

/* ==========================
   Related Links
========================== */

.related-categories {
  padding-bottom: 32px;
}

.related-categories h2 {
  color: var(--primary-dark);
}

.related-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.related-category-list a {
  display: block;
  padding: 12px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

/* ==========================
   Footer
========================== */

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.footer-inner p {
  margin: 0;
}

/* ==========================
   Focus
========================== */

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .brand-text { font-size: clamp(1rem, 4.2vw, 1.15rem); }
  .breadcrumb { font-size: .95rem; }
  .page-hero h1 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .content-card h2,
  .related-categories h2 { font-size: 1.35rem; }
  .content-card p,
  .related-category-list a { font-size: 1.03rem; }
  .footer-inner { font-size: .95rem; }

  .container {
    width: min(100% - 24px, var(--max-width));
  }
.related-category-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media(min-width:501px){
.panfu_s{
 display:none; 
}
}

@media(max-width:500px){
.panfu{
 display:none; 
}
}
