
:root { --primary: #66ADCC; --primary-dark: #47798e; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
       color: #333; line-height: 1.9; background: #fff; }
a { color: var(--primary); overflow-wrap: anywhere; }
p, li, td, th, h1, h2, h3 { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; border-radius: 6px; }
.site-header { background: #ffffff; color: #333333; border-bottom: 3px solid var(--primary); }
.site-header .inner { max-width: 960px; margin: 0 auto; padding: 18px 20px 10px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-header a.home { display: inline-flex; align-items: center; text-decoration: none; }
.site-header img.logo { height: 48px; border-radius: 0; }
.site-header .catch { color: #666666; font-size: .9rem; }
.site-header .tel { margin-left: auto; color: #333333; font-weight: bold; }
nav.tabs { max-width: 960px; margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; }
nav.tabs a { padding: 10px 16px; text-decoration: none; color: #444444; font-size: .95rem; }
nav.tabs a.active { color: var(--primary); border-bottom: 3px solid var(--primary);
    font-weight: bold; margin-bottom: -3px; }
nav.tabs a:hover { color: var(--primary); }
main { max-width: 960px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { color: var(--primary-dark); font-size: 1.8rem; line-height: 1.4; }
h2 { color: var(--primary-dark); font-size: 1.35rem; border-left: 5px solid var(--primary);
     padding-left: 12px; margin-top: 2.2em; }
h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: .3em; }
figure { margin: 1.5em 0; text-align: center; }
table { border-collapse: collapse; margin: 1em 0; width: 100%; max-width: 640px; }
th, td { border: 1px solid #ccc; padding: 8px 14px; text-align: left; }
th { background: #66ADCC18; }
.columns { display: flex; gap: 24px; align-items: flex-start; margin: 1.5em 0; flex-wrap: wrap; }
.columns .col { flex: 1 1 280px; }
.columns .col p { margin-top: 0; }
.columns .col figure { margin: 0; }
.lead { font-size: 1.05rem; color: #555; margin-bottom: 2em; }
section.slide { padding: 8px 0 16px; }
.entry { border-bottom: 1px solid #e5e5e5; padding: 24px 0; }
.entry h2 { border: none; padding: 0; margin: .2em 0 .5em; font-size: 1.25rem; }
.entry .meta { font-size: .85rem; color: #888; display: flex; gap: 10px; align-items: center; }
.entry .cat { background: #66ADCC18; color: var(--primary-dark);
    padding: 1px 10px; border-radius: 99px; font-size: .8rem; }
.entry img.thumb { max-width: 320px; display: block; margin: .5em 0; }
.entry.card { display: flex; gap: 24px; align-items: flex-start; }
.entry.card img.thumb { max-width: 280px; margin: 0; flex-shrink: 0; }
.entry.card .card-body { flex: 1; min-width: 260px; }
.entry.event { background: #66ADCC18; border: none; border-radius: 10px;
    padding: 20px 24px; margin: 16px 0; }
.article-list a.item { display: block; text-decoration: none; color: inherit;
    border-bottom: 1px solid #e5e5e5; padding: 18px 4px; }
.article-list a.item:hover { background: #66ADCC18; }
.article-list .item h2 { border: none; padding: 0; margin: .1em 0; font-size: 1.15rem; }
.article-list .item time { font-size: .85rem; color: #888; }
.article-list .item .cat { font-size: .75rem; margin-left: .6em; padding: 2px 8px;
    border-radius: 10px; background: #66ADCC18; color: var(--primary-dark); }
.article-list .item p { margin: .3em 0 0; color: #666; font-size: .92rem; }
.site-footer { background: var(--primary-dark); color: #fff; margin-top: 40px; }
.site-footer .inner { max-width: 960px; margin: 0 auto; padding: 28px 20px; font-size: .9rem; }
.site-footer a { color: #fff; }
.back { margin-top: 3em; }
.form-wrap { max-width: 760px; scroll-margin-top: 20px; }
.form-alt { font-size: .9rem; color: #666; }
.form-wrap iframe { width: 100%; border: none; }
.contact-form label { display: block; margin: 0 0 16px; font-size: .95rem; color: #333; }
.contact-form .req { font-size: .75rem; color: #fff; background: #C0504D; padding: 1px 6px; border-radius: 3px; margin-left: 6px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
    border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.contact-form .cf-turnstile { margin: 8px 0 16px; }
.contact-form button { padding: 12px 40px; background: var(--primary); color: #fff; border: none; border-radius: 6px;
    font: inherit; font-weight: bold; cursor: pointer; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.form-status { margin-top: 12px; font-size: .95rem; color: var(--primary-dark); }
.file-note { font-size: .85em; color: #777; margin-left: 2px; }
@media (max-width: 600px) {
  .entry.card { flex-direction: column; }
  .entry.card img.thumb { max-width: 100%; }
  .site-header .tel { margin-left: 0; }
}

/* --- セミナー申込 --- */
.btn-apply { display: inline-block; background: var(--primary); color: #fff; font-weight: bold;
    padding: 10px 28px; border-radius: 999px; text-decoration: none; }
.btn-apply:hover { background: var(--primary-dark); }
.site-footer .legal { display: inline-block; margin-top: 4px; }
.site-footer .legal a { text-decoration: underline; }
.apply [hidden] { display: none !important; }
.apply h1 { margin-bottom: .2em; }
.apply .lead { margin-top: 0; margin-bottom: 1.2em; }
.apply .two { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.apply .step { margin: 2em 0 0; border: none; padding: 0; min-width: 0; }
.apply .step legend { padding: 0; }
.apply .step:first-child { margin-top: 0; }
.apply .step h2 { display: flex; align-items: center; gap: 12px; border: none; padding: 0;
    margin: 0 0 .8em; font-size: 1.1rem; }
.apply .step h2 .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary); color: #fff; align-items: center; justify-content: center;
    font-size: .95rem; flex-shrink: 0; }
.apply .courses { display: grid; grid-template-columns: 1fr; gap: 14px; }
.apply .course { border: 2px solid #dde5ea; border-radius: 12px; padding: 14px 18px; cursor: pointer;
    background: #fff; position: relative; display: flex; gap: 16px; align-items: flex-start; }
.apply .course input, .apply .slot input, .apply .pay input { position: absolute; opacity: 0; width: 0; height: 0; }
.apply .course.sel { border-color: var(--primary); background: #66ADCC18; box-shadow: 0 0 0 3px #66ADCC18; }
.apply .course .body { flex: 1; }
.apply .course .name { display: block; margin: 0 0 .3em; font-size: 1.08rem; font-weight: bold; color: var(--primary-dark); }
.apply .course p { margin: 0 0 .6em; font-size: .92rem; color: #555; line-height: 1.7; }
.apply .course .price { font-weight: bold; color: var(--primary-dark); white-space: nowrap; }
.apply .course .price small { font-weight: normal; color: #777; margin-left: .4em; }
.apply .course .meta { font-size: .85rem; color: #777; }
.apply .chk { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #c9d8e2; background: #fff; }
.apply .sel .chk { border-color: var(--primary); background: var(--primary); }
.apply .sel .chk::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.apply .slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.apply .slot { border: 2px solid #dde5ea; border-radius: 10px; padding: 12px 16px; background: #fff;
    cursor: pointer; display: flex; flex-direction: column; gap: 2px; position: relative; }
.apply .slot.sel { border-color: var(--primary); background: #66ADCC18; box-shadow: 0 0 0 3px #66ADCC18; }
.apply .slot .c { font-size: .8rem; color: #777; }
.js .apply .slot .c { display: none; }
.apply .slot .d { font-weight: bold; color: #2B3A44; }
.apply .slot .t, .apply .slot .v { font-size: .92rem; color: #555; }
.apply .slot .r { font-size: .82rem; color: var(--primary-dark); }
.apply .slot .r.few { color: #c0392b; }
.apply .slot.full { opacity: .5; cursor: not-allowed; }
.apply .slot.full .r { color: #999; }
.apply .slots-note, .apply .slots-empty { font-size: .85rem; color: #666; margin: .8em 0 0; }
.apply .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; max-width: 720px; }
.apply .fields label { display: block; font-size: .9rem; color: #444; margin-bottom: 4px; }
.apply .fields .req { color: #c0392b; font-size: .8rem; margin-left: 4px; }
.apply .fields input { width: 100%; padding: 10px 12px; border: 1px solid #c9d8e2; border-radius: 8px;
    font: inherit; font-size: 1rem; }
.apply .fields input:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.apply .fields .full { grid-column: 1 / -1; }
.apply .fields .hint { font-size: .82rem; color: #777; }
.apply .pay { display: flex; gap: 14px; flex-wrap: wrap; }
.apply .pay label { border: 2px solid #dde5ea; border-radius: 10px; padding: 12px 18px; cursor: pointer;
    background: #fff; display: flex; gap: 10px; align-items: flex-start; flex: 1 1 260px; position: relative; }
.apply .pay label.sel { border-color: var(--primary); background: #66ADCC18; }
.apply .pay label b { display: block; }
.apply .pay label small { color: #666; font-size: .85rem; line-height: 1.5; }
.apply .pay .chk { position: relative; top: auto; right: auto; flex-shrink: 0; margin-top: 4px; }
.apply .course:focus-within, .apply .slot:focus-within, .apply .pay label:focus-within {
    outline: 2px solid var(--primary-dark); outline-offset: 2px; }
.apply .note { font-size: .85rem; color: #666; background: #66ADCC18; border-radius: 8px; padding: 12px 16px;
    margin-top: 2em; line-height: 1.7; }
.apply .note ul { margin: .3em 0 0; padding-left: 1.4em; }
.apply .summary { position: sticky; top: 20px; border: 1px solid #dde5ea; border-radius: 12px;
    background: #66ADCC18; padding: 20px; }
.apply .summary h3 { margin: 0 0 .6em; font-size: 1rem; }
.apply .summary dl { margin: 0; font-size: .92rem; }
.apply .summary dt { color: #777; font-size: .8rem; margin-top: .6em; }
.apply .summary dd { margin: 0; font-weight: bold; color: #2B3A44; overflow-wrap: anywhere; }
.apply .summary .total { border-top: 1px solid #c9d8e2; margin-top: 1em; padding-top: .8em;
    display: flex; justify-content: space-between; align-items: baseline; }
.apply .summary .total b { font-size: 1.4rem; color: var(--primary-dark); }
.apply .agree { font-size: .85rem; color: #555; margin: 1em 0 0; }
.apply .agree input { margin-right: 4px; }
.apply .summary .cf-turnstile { margin: 12px 0 0; }
.apply .btn { display: block; width: 100%; background: var(--primary); color: #fff; font-weight: bold;
    padding: 13px 0; border-radius: 999px; border: none; font: inherit; font-size: 1.05rem;
    cursor: pointer; margin-top: 1em; text-align: center; }
.apply .btn:hover { background: var(--primary-dark); }
.apply .btn:disabled { opacity: .5; cursor: default; }
.apply .apply-status { font-size: .9rem; color: #c0392b; margin: .6em 0 0; min-height: 1.4em; }
.apply .thanks { max-width: 640px; }
.apply .thanks .id { font-size: 1.2rem; font-weight: bold; color: var(--primary-dark); }
@media (max-width: 760px) {
  .apply .two { grid-template-columns: 1fr; }
  .apply .summary { position: static; }
}
@media (max-width: 640px) { .apply .fields { grid-template-columns: 1fr; } }
