/* 取得済みのデザインを補完する、Studio非依存の操作・表示。 */
html { scroll-behavior: smooth; }
body { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body, input, textarea, button { font-family: 'Zen Kaku Gothic New', sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
#site, .render-canvas, .StudioCanvas, .StudioCanvas > .sd { min-height: 100%; }
.render-canvas { width: 100%; }
.TitleAnnouncer, .DynamicAnnouncer { display: none; }
[id] { scroll-margin-top: 90px; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #417e9b; outline-offset: 4px; }
.richText img { max-width: 100%; height: auto; }
.richText { overflow-wrap: anywhere; }
dialog#mobile-menu { border: 0; margin: 0; padding: 80px 24px 40px; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #f8feff; color: #4a7386; }
#mobile-menu::backdrop { background: #f8feff; }
#mobile-menu nav { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100dvh - 150px); gap: 28px; }
#mobile-menu a { font-size: 23px; font-weight: 700; color: inherit; text-decoration: none; padding: 8px 20px; }
.menu-close { position: absolute; top: 10px; right: 22px; border: 0; background: transparent; color: inherit; font-size: 46px; cursor: pointer; }
body.menu-open { overflow: hidden; }
.contact-control { width: 100%; padding: 16px 0; color: #344e5e; font-size: 15px; line-height: 1.8; }
.contact-control p { margin: 8px 0; text-align: left; }
.contact-control a { color: #365f75; overflow-wrap: anywhere; text-decoration: underline; }
.contact-control .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-status[data-error="true"] { color: #a02b2b; }
#contact-form button:disabled { cursor: not-allowed; opacity: .5; }
#contact-form [aria-invalid="true"] { border-color: #a02b2b; }
#contact-form input[type="radio"], #contact-form input[type="checkbox"] { accent-color: #497a91; }
.contact-confirm { width: min(640px, calc(100% - 32px)); max-height: 90dvh; border: 1px solid #7193a3; border-radius: 6px; padding: 24px; background: #f8feff; color: #253e4b; }
.contact-confirm::backdrop { background: #142d3dcc; }
.news-hidden { display: none !important; }
.news-more { display: block; margin: 40px auto; padding: 18px 50px; border: 1px solid #628595; background: transparent; color: #365f75; font-size: 17px; cursor: pointer; }
.contact-confirm h2 { font-size: 24px; margin: 0 0 18px; }
.contact-confirm dl { margin: 0; }
.contact-confirm dt { font-weight: 700; margin-top: 12px; }
.contact-confirm dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-actions button { padding: 12px 20px; border: 1px solid #497a91; background: #f8feff; color: #253e4b; cursor: pointer; border-radius: 3px; font-size: 16px; }
.contact-actions button[data-send] { background: #497a91; color: white; }
.contact-actions button:disabled { opacity: .5; cursor: not-allowed; }
.confirmation-message { line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
