/* おでかけ iiRA: このサイトについて / プライバシー / 問い合わせ の 3 頁で共有する。
   色・書体・赤い線・2px の紺の枠は一覧の画面(とびだす_全体.html)と同じ。影・ぼかし・グラデーションは使わない */
:root { --ink: #143048; --paper: #FCFCF8; --red: #9C301C; --cream: #FFF0D7; --ki: #F8D668; --line: #E3D5B5; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); }
body { font-family: "BIZ UDPGothic", "BIZ UDGothic", "Yu Gothic UI", "Meiryo", sans-serif; font-size: 16px; line-height: 1.8; color: var(--ink); -webkit-text-size-adjust: 100%; }
.wrap { max-width: 390px; min-height: 100vh; margin: 0 auto; border-top: 3px solid var(--red); }

/* 上の帯: 左にロゴ(一覧の画面と同じ 88px 幅)、その右に題と小さな副題。戻るリンクは本文の頭 */
.top { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 8px 0 14px; }
.logo { display: block; width: 88px; line-height: 0; border-radius: 6px; }
.logo img { display: block; width: 88px; height: auto; }
.brand { min-width: 0; padding-bottom: 6px; }
.brand p { margin: 0; white-space: nowrap; }
/* 題の書体 A: とびだす_全体.html と同じ組み。woff2 は 素材/ */
@font-face { font-family: "Zen Maru Gothic"; font-weight: 900; font-style: normal; font-display: swap; src: url(素材/title_zenmaru900.woff2?v=9b6d5bf3a9) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url(素材/title_fredoka700.woff2?v=0827af6db9) format("woff2"); }
@font-face { font-family: "Zen Maru Gothic"; font-weight: 700; font-style: normal; font-display: swap; src: url(素材/sub_zenmaru700.woff2?v=5b4752257f) format("woff2"); }
.brand .bt { font-family: "Zen Maru Gothic", "BIZ UDPGothic", sans-serif; font-size: 21px; line-height: 24px; font-weight: 900; letter-spacing: .02em; }
.brand .bt .ii { font-family: "Fredoka", "Zen Maru Gothic", sans-serif; font-weight: 700; letter-spacing: .02em; }
.brand .bs { font-family: "Zen Maru Gothic", "BIZ UDPGothic", sans-serif; font-size: 12px; line-height: 16px; font-weight: 700; }
.back { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-left: -12px; padding: 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #0E67B0; outline-offset: 2px; }

main { padding: 6px 20px 8px; }
h1 { margin: 2px 0 0; font-size: 34px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.rule { width: 56px; height: 4px; background: var(--red); margin: 10px 0 14px; }
.lead { margin: 0; }
p { margin: 10px 0 0; }
h2 { margin: 36px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 20px; line-height: 1.45; font-weight: 700; }
h3 { margin: 22px 0 2px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--red); }
ul { margin: 10px 0 0; padding: 0 0 0 1.3em; }
li { margin: 4px 0; }
a { color: var(--red); text-underline-offset: 3px; }
strong { font-weight: 700; }
small, .note { font-size: 14px; line-height: 1.7; }

/* 元のサイトの一覧 */
.srcs { margin: 4px 0 0; padding: 0; list-style: none; }
.srcs li { margin: 0; border-bottom: 1px solid var(--line); }
.srcs a { display: block; min-height: 44px; padding: 7px 0 6px; font-weight: 700; line-height: 1.45; }
.srcs .dom { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }

/* 参加料の栞の見本(一覧のカードの栞と同じ形・同じ色) */
.fees { margin: 14px 0 0; padding: 0; list-style: none; }
.fees li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 12px; align-items: start; margin: 0 0 16px; }
.fee { display: block; width: max-content; min-width: 56px; padding: 0 0 2px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%); }
.fee i { display: block; margin: 0 2px; padding: 6px 7px 15px; font-style: normal; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%); }
.fee.free i { background: var(--ki); color: var(--ink); }
.fee.paid i { background: var(--ink); color: var(--paper); font-size: 15px; }
.fee.two i { white-space: pre-line; font-size: 13px; padding-left: 5px; padding-right: 5px; }
.fees .what { font-size: 14px; line-height: 1.6; padding-top: 2px; }

/* ボタンの形のリンク */
.btn { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 16px 0 0; padding: 0 16px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; width: 100%; }
.btn.sub { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }

/* 主催者の方へ(目立たせる囲み) */
.owner { margin: 18px 0 0; padding: 12px 14px 12px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--red); }
.owner b { display: block; font-size: 15px; line-height: 1.5; }
.owner p { margin: 4px 0 0; font-size: 15px; line-height: 1.7; }

/* 問い合わせのフォーム */
form { margin: 22px 0 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, .lab { padding: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.lab { display: block; margin: 22px 0 6px; }
.lab .opt { font-weight: 400; font-size: 13px; }
.kinds { margin: 8px 0 0; }
.kind { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0 0 8px; padding: 6px 12px; background: var(--paper); border: 2px solid var(--ink); font-size: 16px; line-height: 1.5; font-weight: 700; cursor: pointer; }
.kind input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.kind:has(input:checked) { background: var(--ki); }
.kind:has(input:focus-visible) { outline: 3px solid #0E67B0; outline-offset: 2px; }
.target { margin: 14px 0 0; padding: 8px 12px; background: var(--paper); border: 2px solid var(--ink); font-size: 14px; line-height: 1.6; }
.target b { display: block; font-size: 13px; color: var(--red); }
.target span { overflow-wrap: anywhere; }
input[type=text], input[type=url], textarea { display: block; width: 100%; margin: 0; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; -webkit-appearance: none; appearance: none; }
input[type=text], input[type=url] { min-height: 48px; }
textarea { min-height: 150px; resize: vertical; }
.help { margin: 6px 0 0; font-size: 13px; line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 12px 0 0; font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--red); }
.msg:empty { display: none; }
.done { margin: 22px 0 0; padding: 16px 16px 18px; background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--red); }
.done h2 { margin: 0; padding: 0; border: 0; font-size: 20px; }
.done p { margin: 8px 0 0; }
[hidden] { display: none !important; }

/* 頁の最後: 3 つの頁へのリンクと運営の名・最終更新 */
.sitefoot { margin: 34px 20px 0; padding: 8px 0 44px; border-top: 2px solid var(--ink); }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.sitefoot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink); }
.sitefoot p { margin: 4px 0 0; font-size: 13px; line-height: 1.7; }
