  :root{
    color-scheme:light;      /* OSのダークモード設定によらずライト描画に固定 */
    --murasaki:#4b2e73;      /* 校色の紫。ページの主色 */
    --murasaki-fuka:#33204f; /* 見出し・濃い面 */
    --sumi:#231f20;          /* 本文 */
    --usu:#f6f4f0;           /* 地色 */
    --keisen:#d8d2c8;        /* 罫 */
    --wakaba:#3d6b3a;        /* 参加系の差し色（樹＝葉） */
  }
  *{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%}
  body{
    margin:0;
    background:var(--usu);
    color:var(--sumi);
    font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Noto Sans JP",sans-serif;
    font-size:17px;
    line-height:1.9;
    font-feature-settings:"palt" 1;
  }
  .wrap{max-width:34rem;margin:0 auto;padding:0 1.25rem}
  a{color:var(--murasaki)}
  a:focus-visible,button:focus-visible{outline:3px solid var(--wakaba);outline-offset:2px}

  /* ── 表紙 ── */
  .hyoushi{background:var(--murasaki-fuka);color:#fff;padding:2.5rem 0 2rem}
  .hyoushi p.kan{margin:0 0 1.1rem;font-size:.9rem;letter-spacing:.08em;color:#cfc4e2}
  .hyoushi h1{
    margin:0;
    font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
    font-weight:600;
    font-size:2rem;
    line-height:1.5;
    letter-spacing:.04em;
  }
  .hyoushi .subtitle{
    margin:.9rem 0 0;
    font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
    font-weight:400;
    font-size:1.05rem;
    line-height:1.7;
    color:#e3dcef;
  }
  .kaiki{margin:1.8rem 0 0;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.28)}
  .kaiki dl{margin:0;display:grid;grid-template-columns:5.2rem 1fr;row-gap:.35rem}
  .kaiki dt{color:#cfc4e2;font-size:.95rem}
  .kaiki dd{margin:0}

  /* ── 節 ── */
  section{padding:2.2rem 0;border-bottom:1px solid var(--keisen)}
  section:last-of-type{border-bottom:none}
  h2{
    margin:0 0 .9rem;
    font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
    font-size:1.35rem;line-height:1.6;font-weight:600;color:var(--murasaki-fuka);
  }
  h3{margin:1.6rem 0 .3rem;font-size:1.05rem;color:var(--murasaki)}
  h3:first-of-type{margin-top:0}
  p{margin:0 0 1rem}
  p:last-child{margin-bottom:0}

  /* 見どころ：時間の流れなので、縦の線でつなぐ */
  .midokoro{margin:0;padding:0 0 0 1.4rem;border-left:3px solid var(--murasaki);list-style:none}
  .midokoro li{margin:0 0 1.6rem;position:relative}
  .midokoro li:last-child{margin-bottom:0}
  .midokoro li::before{
    content:"";position:absolute;left:calc(-1.4rem - 1.5px);top:.65rem;transform:translateX(-50%);
    width:.7rem;height:.7rem;border-radius:50%;background:var(--murasaki);
  }
  .midokoro li:last-child::before{background:var(--wakaba)}
  .midokoro .mi{display:block;font-weight:700;color:var(--murasaki-fuka)}
  .midokoro p{margin:.2rem 0 0;font-size:.98rem}

  /* 最重要ブロック：スタジオへの行き方 */
  .studio{background:#fff;border:2px solid var(--murasaki);padding:1.4rem 1.25rem;margin:0 0 1.2rem}
  .studio h2{margin-top:0}
  .studio dl{margin:1rem 0 0;display:grid;grid-template-columns:5.5rem 1fr;row-gap:.5rem;font-size:.98rem}
  .studio dt{color:var(--murasaki);font-weight:700}
  .studio dd{margin:0}
  .chuui{margin:1rem 0 0;padding:.7rem .9rem;background:#fdf6e8;border-left:4px solid #b98a1e;font-size:.95rem}
  figure{margin:1.2rem 0 0}
  figure img{width:100%;height:auto;display:block;border:1px solid var(--keisen)}
  figcaption{margin-top:.4rem;font-size:.88rem;color:#5a544f}

  /* ボタン */
  .btn{
    display:block;margin:1.1rem 0 0;padding:.95rem 1.1rem;
    background:var(--murasaki);color:#fff;text-decoration:none;
    font-weight:700;text-align:center;border-radius:2px;
  }
  .btn.ha{background:var(--wakaba)}
  .btn:hover{opacity:.9}
  .hosoku{margin:.55rem 0 0;font-size:.9rem;color:#5a544f}

  /* 投書フォーム */
  .koe{margin:1.2rem 0 0}
  .koe-iro{border:0;padding:0;margin:0 0 1.2rem}
  .koe-iro legend{padding:0;margin:0 0 .5rem;font-size:.95rem;color:#5a544f}
  .koe-iro input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
  .koe-iro label{
    display:inline-block;margin:0 .4rem .5rem 0;padding:.5rem .9rem;
    border:2px solid var(--keisen);background:#fff;border-radius:2px;cursor:pointer;font-size:.98rem;
  }
  .koe-iro input:checked + label[data-iro="momo"]{background:#f6d9e3;border-color:#c9738f}
  .koe-iro input:checked + label[data-iro="mizu"]{background:#d6e7f4;border-color:#5b8db8}
  .koe-iro input:checked + label[data-iro="ki"]{background:#f8ecc2;border-color:#c2a233}
  .koe-iro input:focus-visible + label{outline:3px solid var(--wakaba);outline-offset:2px}
  .koe-label{display:block;margin:0 0 .35rem;font-size:.95rem;color:#5a544f}
  .koe textarea,.koe select,.koe input[type="text"]{
    width:100%;padding:.7rem;font-family:inherit;font-size:1.05rem;line-height:1.7;
    border:2px solid var(--keisen);border-radius:2px;background:#fff;color:var(--sumi);
  }
  .koe textarea:focus,.koe select:focus,.koe input[type="text"]:focus{border-color:var(--murasaki);outline:none}
  .koe ::placeholder{color:#8a837c;opacity:1}          /* 未指定だと環境により薄くなりすぎる */
  .koe textarea:-webkit-autofill,
  .koe input[type="text"]:-webkit-autofill{            /* 自動入力による背景色上書きを打ち消す */
    -webkit-box-shadow:0 0 0 1000px #fff inset;
    -webkit-text-fill-color:var(--sumi);
  }
  .koe-chuui{margin:.6rem 0 0;font-size:.88rem;color:#5a544f}
  .koe-nin{min-width:0;margin:1.2rem 0 0;padding:.6rem 1rem 1rem;border:1px solid var(--keisen);font-size:.95rem}
  .koe-nin summary{max-width:100%;color:var(--murasaki);cursor:pointer}
  .koe-nin summary:focus-visible{outline:3px solid var(--wakaba);outline-offset:2px}
  .koe-nin .koe-label{margin-top:.9rem}
  .koe-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
  .koe button, #koe-again:not([hidden]){
    display:block;width:100%;margin:1.2rem 0 0;padding:.95rem 1.1rem;
    background:var(--wakaba);color:#fff;border:0;border-radius:2px;
    font-family:inherit;font-size:1.05rem;font-weight:700;cursor:pointer;
  }
  .koe button[disabled]{opacity:.6;cursor:default}
  .koe-status{margin:.7rem 0 0;font-size:.95rem;min-height:1.2em}
  .koe-status.err{color:#a3282d}
  .koe-count{margin:.3rem 0 0;text-align:right;font-size:.88rem;color:#5a544f}
  .koe-owari{margin:1.2rem 0 0;padding:1.2rem;background:#eef3ec;border-left:4px solid var(--wakaba);white-space:pre-line}
  #koe-panel{display:flow-root;overflow-anchor:none}

  /* Windowsハイコントラスト時は背景色が無視されるため、選択状態を枠線で示す */
  @media (forced-colors: active){
    .koe-iro label{border-width:2px}
    .koe-iro input:checked + label{border-width:5px;text-decoration:underline}
    .studio,.chuui,.koe-owari{border:1px solid}
  }

  footer{background:var(--murasaki-fuka);color:#e3dcef;padding:1.8rem 0;font-size:.9rem}
  footer a{color:#fff}
  footer p{margin:0 0 .5rem}
