/* いけず変換所 — スタイル（和風・京都テーマ）。ビルド不要・index.html から <link> で読み込む。 */
:root{ --indigo:#16324f; --vermilion:#b7410e; --washi:#f3ece0; }
*{ box-sizing:border-box; }
body{ margin:0; font-family:'Zen Kaku Gothic New',sans-serif;
      background:radial-gradient(circle at 20% 0%,#faf5ec 0%,var(--washi) 45%,#e9e0d0 100%);
      min-height:100vh; padding:32px 16px; }
.frame{ width:100%; max-width:560px; margin:0 auto; background:rgba(255,253,248,.7);
        border:1px solid rgba(22,50,79,.18); border-radius:6px; padding:34px 28px 24px;
        box-shadow:0 18px 50px rgba(40,30,15,.12); }
.seal-row{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:14px; }
.seal{ font-family:'Shippori Mincho B1',serif; font-weight:700; font-size:22px; color:var(--washi);
       background:var(--vermilion); width:40px; height:40px; line-height:40px; border-radius:4px;
       text-align:center; box-shadow:0 2px 8px rgba(183,65,14,.4); }
.kicker{ font-size:12px; letter-spacing:3px; color:var(--vermilion); }
h1{ font-family:'Shippori Mincho B1',serif; font-weight:700; font-size:28px; color:var(--indigo);
    margin:0 0 8px; letter-spacing:4px; text-align:center; }
.subtitle{ font-family:'Shippori Mincho B1',serif; font-size:14px; color:#5b5345; margin:0 0 22px;
           text-align:center; letter-spacing:1px; }
.presets{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:0 0 22px; }
.chip{ font-size:12.5px; color:var(--indigo); background:rgba(255,255,255,.55);
       border:1px solid rgba(22,50,79,.25); border-radius:999px; padding:6px 13px; cursor:pointer;
       transition:all .2s; }
.chip:hover{ background:var(--indigo); color:var(--washi); transform:translateY(-1px); }
.card{ background:rgba(255,255,255,.5); border:1px solid rgba(22,50,79,.14); border-radius:5px; padding:18px; }
label{ font-family:'Shippori Mincho B1',serif; font-size:13px; color:var(--indigo);
       letter-spacing:1.5px; display:block; margin-bottom:8px; }
textarea{ width:100%; border:1px solid rgba(22,50,79,.22); border-radius:4px; padding:12px 14px;
          font-family:'Zen Kaku Gothic New',sans-serif; font-size:15px; color:#2a2620;
          background:#fffdf8; resize:vertical; }
textarea:focus{ outline:none; border-color:var(--indigo); }
.counter{ text-align:right; font-size:12px; color:#8a8170; margin-top:6px; letter-spacing:.5px; }
.counter.at-limit{ color:var(--vermilion); font-weight:600; }
.convert{ font-family:'Shippori Mincho B1',serif; font-weight:600; margin-top:14px; width:100%;
          padding:13px; background:var(--indigo); color:var(--washi); border:none; border-radius:4px;
          font-size:16px; letter-spacing:2px; cursor:pointer; transition:all .25s;
          box-shadow:0 4px 14px rgba(22,50,79,.25); }
.convert:hover:not(:disabled){ background:#0f2538; transform:translateY(-1px); }
.convert:disabled{ opacity:.6; cursor:default; }
.result{ margin-top:22px; background:var(--indigo); border-radius:5px; padding:28px 24px;
         text-align:center; box-shadow:0 10px 30px rgba(22,50,79,.3); display:none; }
.result.show{ display:block; animation:rise .5s ease both; }
@keyframes rise{ from{opacity:0; transform:translateY(12px);} to{opacity:1; transform:translateY(0);} }
.result-label{ font-family:'Shippori Mincho B1',serif; font-size:12px; letter-spacing:4px;
               color:rgba(243,236,224,.6); margin-bottom:14px; }
.ikezu{ font-family:'Shippori Mincho B1',serif; font-weight:600; font-size:19px; line-height:1.9;
        color:var(--washi); margin:0; letter-spacing:1px; }
.actions{ display:flex; gap:10px; justify-content:center; margin-top:18px; }
.action{ font-size:12px; color:#f6c89a; background:none; border:1px solid #f6c89a; border-radius:999px;
         padding:5px 14px; cursor:pointer; transition:all .2s; }
.action:hover{ background:var(--vermilion); border-color:var(--vermilion); color:var(--washi); }
.err{ margin-top:16px; color:var(--vermilion); font-size:14px; text-align:center;
      font-family:'Shippori Mincho B1',serif; }
footer{ text-align:center; margin-top:22px; font-family:'Shippori Mincho B1',serif; font-size:11.5px;
        color:#8a8170; letter-spacing:1px; }
.lead{ margin-top:34px; }
.lead h2{ font-family:'Shippori Mincho B1',serif; font-size:18px; color:var(--indigo);
          letter-spacing:1.5px; margin:28px 0 8px; border-left:4px solid var(--vermilion); padding-left:10px; }
.lead p{ font-size:14px; color:#3a352c; margin:8px 0; line-height:1.95; }
.steps{ margin:8px 0 0; padding-left:1.2em; }
.steps li{ font-size:14px; color:#3a352c; margin:6px 0; line-height:1.9; }
.ex{ background:rgba(255,255,255,.5); border:1px solid rgba(22,50,79,.14); border-radius:5px;
     padding:13px 15px; margin:10px 0; }
.ex .honne{ font-size:12.5px; color:#8a8170; }
.ex .ikz{ font-family:'Shippori Mincho B1',serif; font-size:15px; color:var(--indigo); margin-top:5px; line-height:1.85; }
.faq dt{ font-family:'Shippori Mincho B1',serif; font-size:14px; color:var(--indigo); margin-top:13px; }
.faq dd{ font-size:13.5px; color:#3a352c; margin:4px 0 0; padding-left:1em; line-height:1.85; }
