@charset "UTF-8";

/* =========================================================
   WMG2027 神戸ボランティア — layout_v3.css
   Color tokens:
     navy    #003c7e   deep  #001a3a
     blue    #2979d4   link  #1c7cd5
     red     #e00615
     ink     #2b2f36   muted #6b7280
     line    #e3e8ef   field #cfd6e0
     bg      #f6f7f9
   ========================================================= */

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/noto-sans-jp-v56-japanese_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/noto-sans-jp-v56-japanese_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/noto-sans-jp-v56-japanese_latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/oswald-v57-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/oswald-v57-latin-600.woff2') format('woff2');
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol, dl, dt, dd { margin: 0; padding: 0; list-style: none; }
a { color: #1c7cd5; text-decoration: none; }
img { max-width: 100%; vertical-align: middle; }

/* ---------- Base ---------- */
.page {
  font-family: 'Noto Sans JP', "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .04em;
  color: #2b2f36;
  background: #fff;
  min-height: 100vh;
}

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 72px;
  text-align: center;
  background: radial-gradient(ellipse at 65% 20%, #2563c0 0%, #1240a0 35%, #0a1e5e 70%, #070e30 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.page-hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: 4.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  color: #fff;
  margin: 0;
}
.page-hero__subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  line-height: 2;
  letter-spacing: .06em;
}
.page-hero__title--main {
  font-size: 2rem;
  line-height: 1.6;
  letter-spacing: normal;
}
.page-hero__title-num {
  letter-spacing: .1em;
}
@media screen and (max-width: 640px) {
  .page-hero__title--main {
    font-size: clamp(24px, 5vw, 32px);
  }
}
@media screen and (max-width: 480px) {
  .page-hero__title--main {
    font-size: clamp(22px, 18px + 1.25vw, 24px);
  }
}

/* ---------- Content wrapper ---------- */
.bg-gray {
  background: #f6f7f9;
  width: 100%;
}
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

/* ---------- Lead ---------- */
.lead {
  font-size: 1rem;
  line-height: 2;
  color: #2b2f36;
  margin: 0 0 56px;
  padding: 28px 0;
  background: #f4f7fb;
  border-top: 3px solid #003c7e;
}

/* ---------- Section title (h2) ---------- */
.section-title {
  margin: 0 0 40px;
  text-align: left;
}
.section-title__en {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #e00615;
  margin-bottom: 8px;
}
.section-title__ja {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #001a3a;
  padding-bottom: 16px;
  border-bottom: 2px solid #e3e8ef;
  position: relative;
}
.section-title__ja::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #003c7e;
}

/* ---------- Section heading (h3) ---------- */
.section-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #001a3a;
  margin: 0 0 10px;
  padding: 10px 16px;
  background: #f4f7fb;
  border-left: 4px solid #003c7e;
  letter-spacing: .04em;
}

/* ---------- Prose ---------- */
.prose {
  font-size: 1rem;
  line-height: 1.9;
  color: #2b2f36;
  margin: 0 0 32px;
  padding: 0 4px;
}
.prose--mt {
  margin-top: 15px;
}
.note {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---------- Highlight date ---------- */
.highlight-date {
  font-size: 1rem;
  line-height: 1.9;
  color: #2b2f36;
  margin: 0 0 6px;
  padding: 0 4px;
}
.highlight-date__num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: #003c7e;
}

/* ---------- Doc list ---------- */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-list__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #2b2f36;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.doc-list__link:hover {
  background: #f0f4ff;
  border-color: #003c7e;
  box-shadow: 0 2px 8px rgba(0, 60, 126, 0.10);
}
.doc-list__link::after {
  content: '›';
  font-size: 1.25rem;
  color: #003c7e;
  margin-left: auto;
  line-height: 1;
}
.doc-list__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-list__dot {
  display: none;
}
.doc-list__badge {
  font-size: 0.75rem;
  color: #fff;
  background: #003c7e;
  padding: 2px 10px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .04em;
}


/* ---------- Schedule (timeline) ---------- */
.schedule {
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: max-content 28px 1fr;
}
.schedule__row {
  display: contents;
}
.schedule__date {
  padding: 14px 16px 14px 0;
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
  color: #003c7e;
  line-height: 1.5;
}
.schedule__date-sub {
  font-size: 0.8rem;
  font-weight: normal;
}
.schedule__node {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.schedule__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #003c7e;
  margin-top: 17px;
  flex-shrink: 0;
  z-index: 1;
}
.schedule__dot--muted {
  background: #cfd6e0;
}
.schedule__line {
  width: 2px;
  flex: 1;
  background: #cfd6e0;
}
.schedule__content {
  padding: 14px 0 14px 16px;
  font-size: 1rem;
  color: #2b2f36;
  line-height: 1.7;
}
.required {
  font-size: 0.875rem;
  color: #e00615;
  font-weight: 700;
}
.optional {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---------- Contact box ---------- */
.contact-box {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 8px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}
.contact-row--border {
  border-bottom: 1px solid #e3e8ef;
}
.contact-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2b2f36;
  width: 120px;
  flex-shrink: 0;
}
.contact-link {
  font-size: 1rem;
  color: #1c7cd5;
  text-decoration: none;
}
.contact-value {
  font-size: 1rem;
  color: #2b2f36;
}

/* ---------- Actions / Buttons ---------- */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 24px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: .06em;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.btn--blue {
  background: #2979d4;
  border: 1px solid #2979d4;
  transition: background 0.15s, color 0.15s;
}
.btn--blue:hover {
  background: #fff;
  color: #2979d4;
}
.btn--red {
  background: #e00615;
  border: 1px solid #e00615;
  transition: background 0.15s, color 0.15s;
}
.btn--red:hover {
  background: #fff;
  color: #e00615;
}
.btn--gray {
  background: #8b93a0;
  border: 1px solid #8b93a0;
  transition: background 0.15s, color 0.15s;
}
.btn--gray:hover {
  background: #fff;
  color: #8b93a0;
}
.btn--green {
  background: #2e9e5b;
  border: 1px solid #2e9e5b;
  transition: background 0.15s, color 0.15s;
}
.btn--green:hover {
  background: #fff;
  color: #2e9e5b;
}
.btn-row {
  display: flex;
  gap: 4%;
}
.btn-row .btn {
  width: 48%;
  padding: 20px 24px;
}
.btn__arrow {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.form-input input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  border: 1px solid #cfd6e0;
  border-radius: 4px;
  color: #2b2f36;
  background: #fff;
}
.form-input input[type="text"]:focus {
  outline: 2px solid #2979d4;
  outline-offset: 2px;
}
.f_contbox {
    background-color: #f5f5f5;
    padding: 20px 20px 10px;
    margin: 10px 0 10px;
}

/* ---------- entry.html form buttons (entry_.html 準拠、#entryform 限定) ---------- */
#entryform .button_area {
  text-align: center;
}
#entryform .btn-o,
#entryform .btn-g {
  width: 100%;
  max-width: 460px;
  display: inline-block;
  letter-spacing: normal;
  margin: 0 15px;
}
@media screen and (max-width: 640px) {
  .page-hero {
    padding: 40px 24px;
  }
  #entryform .btn-o,
  #entryform .btn-g {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding-bottom: 6px;
  }
  .btn-row {
    flex-direction: column;
    gap: 12px;
  }
  .btn-row .btn {
    width: 100%;
  }
  .schedule__date {
    font-size: 0.875rem;
  }
  .schedule__date-sub {
    display: block;
    width: 0;
    min-width: 100%;
    font-size: 0.75rem;
  }
}
#entryform .button_area a {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 0.8em 3em;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  background: #2979d4;
  border: 1px solid #2979d4;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  margin: 20px auto 0;
}
#entryform .button_area .btn-g a {
  background-color: #8b93a0;
  border: 1px solid #8b93a0;
  margin: 5px auto 0;
}
#entryform .button_area a:hover {
  color: #2979d4;
  background: #fff;
  cursor: pointer;
}
#entryform .button_area .btn-g a:hover {
  color: #8b93a0;
  background: #fff;
  cursor: pointer;
}
#entryform .btn__arrow {
  display: none;
}
#entryform .button_area a:after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  right: 1.3em;
  transform: translateY(-50%) rotateZ(45deg);
}
#entryform .button_area a:hover:after {
  border-top: 2px solid #2979d4;
  border-right: 2px solid #2979d4;
}
#entryform .button_area .btn-g a:hover:after {
  border-top: 2px solid #8b93a0;
  border-right: 2px solid #8b93a0;
}

/* ---------- entry.html dl.flex layout (regist.html 準拠) ---------- */
.form dl.flex,
.form div.flex {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.form dl.flex dt {
  flex-basis: auto;
  width: 16em;
  max-width: 100%;
  text-align: left;
  font-weight: bold;
  font-size: 1rem;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-top: 10px;
}
.form dl.flex dt span {
  font-weight: normal;
  font-size: 0.84rem;
  padding-left: 6px;
}
.form dl.flex dd {
  flex-basis: auto;
  width: calc(100% - 16em);
  max-width: calc(100% - 16em);
  margin-bottom: 15px;
}
#entryform dl.flex dd {
  margin-bottom: 0;
}
@media screen and (max-width: 799px) {
  .form dl.flex dt {
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-weight: bold;
    margin-bottom: 0;
    padding-right: 0;
  }
  .form dl.flex dd {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
}

/* ---------- section_text (regist.html 準拠) ---------- */
.section_text {
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 5px;
}

/* ---------- Caution ---------- */
.caution {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 40px;
}

/* ---------- Footer ---------- */
.page-footer {
  background: #001a3a;
  padding: 28px 24px;
  text-align: center;
  border-top: 3px solid #003c7e;
}
.page-footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
}
.error { margin: 10px 0 0 0; color: #ee2f2f; font-size: 0.875rem; }


input[type="number"], input[type="text"], input[type="password"], input[type="textarea"], input[type="url"], textarea {

    display: block;

    width: 100%;

    background: #fff;

    border: solid 1px #d1d1d1;

    padding: 12px;

    border-radius: 4px;

    -webkit-box-sizing: border-box;

    box-sizing: border-box;

}