@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Noto Sans JP',sans-serif; color: #282d27; background: #fffdf6; line-height: 1.9; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #282d27; outline-offset: 5px; }
.resource-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px max(24px, calc((100vw - 1160px)/2)); border-bottom: 1px solid #e8e5dc; }
.resource-header img { display: block; object-fit: contain; }
.resource-header nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.resource-header nav a { text-decoration: none; }
.resource-header nav a:hover { text-decoration: underline; }
.resource-main { width: min(940px,calc(100% - 48px)); margin: 0 auto; padding: 38px 0 88px; }
.resource-main h1 { font-size: clamp(30px,4vw,48px); line-height: 1.5; margin: 22px 0; }
.resource-breadcrumb { font-size: 13px; color: #616660; margin-bottom: 48px; }
.resource-lead { font-size: 18px; margin-bottom: 26px; }
.resource-note { font-size: 14px; background: #f5f0e7; padding: 18px 22px; border-radius: 12px; }
.resource-toc { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 48px; }
.resource-toc a { display: inline-block; padding: 9px 16px; background: #fff; border: 1px solid #e8e5dc; border-radius: 999px; font-size: 14px; text-decoration: none; }
.resource-toc a:hover { background: #f5f0e7; }
.resource-section { padding: 34px 0; border-top: 1px solid #dedbd2; scroll-margin-top: 24px; }
.resource-section h2, .resource-article h2 { font-size: 25px; line-height: 1.5; margin: 0 0 18px; }
.resource-section ol { padding-left: 24px; }
.resource-section li { margin: 14px 0; padding-left: 8px; }
.resource-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 28px 0; }
.resource-meta { font-size: 14px; color: #616660; margin-top: 40px; }
.resource-article { padding: 24px 0 48px; }
.resource-article p { margin: 0 0 24px; }
.resource-footer { border-top: 1px solid #dedbd2; padding: 30px 24px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.resource-footer small { width: 100%; text-align: center; font-size: 12px; }
.resource-skip { position: absolute; left: 16px; top: -100px; background: #fee500; padding: 12px 20px; z-index: 100; }
.resource-skip:focus { top: 10px; }
@media(max-width:600px) {
 .resource-header { align-items: flex-start; flex-direction: column; padding: 20px; gap: 16px; }
 .resource-header nav { gap: 16px; font-size: 13px; }
 .resource-main { width: calc(100% - 40px); }
 .resource-breadcrumb { margin-bottom: 28px; }
 .resource-lead { font-size: 16px; }
 .resource-section h2 { font-size: 22px; }
 .resource-note { padding: 16px; }
 .resource-main h1 { overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }
.resource-photo { display: block; width: min(100%,600px); height: auto; margin: 32px auto; }
.resource-section .p-pinote__details { margin-top: 24px; }
.resource-section > .p-condition { margin: 0 0 22px; }
[data-news-article] h1, .p-news-updated__item strong { overflow-wrap: anywhere; }

[data-news-article] { margin-bottom: 32px; }

.resource-help-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.resource-help-links a { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid #e8e5dc; border-radius: 16px; text-decoration: none; }
.resource-help-links strong { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; }
.resource-help-links a > span { font-size: 14px; color: #505650; }
.resource-help-links a:hover { border-color: #a4a99d; background: #fffdf6; }
@media(max-width:600px) { .resource-help-links { grid-template-columns: 1fr; } .resource-help-links a { padding: 20px; } .resource-help-links strong { font-size: 16px; } }
