/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
  scroll-behavior: smooth;
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

:root {
  --ink: #17352f;
  --ink-soft: #587069;
  --forest: #176b52;
  --forest-dark: #0d4b39;
  --mint: #e4f3ed;
  --cream: #f7f3e8;
  --paper: #fffefa;
  --line: #d8e2dc;
  --coral: #d9684a;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 5%, rgba(210, 235, 224, .7), transparent 26rem),
    linear-gradient(180deg, #fffefa 0, #f7faf7 34rem, #fffefa 100%);
  font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  font-size: 18px;
}

a {
  color: inherit;
}

.site-header,
.nav,
.actions,
.links,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #ccc;
}

.brand {
  font-weight: 700;
}

.main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.section,
.panel {
  margin: 0 0 32px;
}

.narrow {
  max-width: 680px;
}

.login-account-label {
  margin: 0 0 4px;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.login-lead {
  margin: -8px 0 24px;
  color: var(--ink-soft);
}

.login-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 4px 14px 4px 4px;
  background: var(--cream);
}

.login-switch span {
  color: var(--ink-soft);
}

.login-switch a {
  color: var(--forest);
  font-weight: 700;
}

.form,
.field,
.list,
.table {
  display: grid;
  gap: 12px;
}

.field {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
}

textarea {
  resize: vertical;
}

button {
  display: inline-block;
  padding: 11px 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 6px 16px rgba(23, 107, 82, .16);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.search-bar,
.two-cols,
.three-cols,
.table-row,
.list-row,
.detail-list div {
  display: grid;
  gap: 12px;
}

.search-bar {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-row {
  grid-template-columns: 1.6fr 120px 120px 180px;
}

.admin-users-table .table-row {
  grid-template-columns: 80px 1fr 1.6fr 160px;
}

.individual-users-table .table-row {
  grid-template-columns: 80px 1fr 1.6fr 120px 120px;
}

.organization-users-table .table-row {
  grid-template-columns: 80px 1fr 1.6fr 120px 120px;
}

.version-comparison {
  margin: 20px 0 28px;
}

.version-comparison .table-row {
  grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr) minmax(0, 1fr);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.rejection-form {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #efc9c0;
  border-radius: 8px;
  background: #fff8f6;
}

button.button-danger {
  background: #a33b2d;
}

.list-row,
.detail-list div {
  grid-template-columns: 1fr 180px;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
}

.inline-form {
  display: inline;
}

.error {
  margin-bottom: 16px;
}

.error {
  color: #b00020;
}

[hidden] {
  display: none !important;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-heading h1,
.admin-heading h1,
.completion-card h1 {
  margin: 4px 0 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.25;
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.stepper li {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #85948e;
  font-size: .84rem;
  font-weight: 700;
}

.stepper li:not(:last-child)::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-right: 10px;
  background: var(--line);
}

.stepper span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.stepper .is-current,
.stepper .is-done {
  color: var(--forest);
}

.stepper .is-current span,
.stepper .is-done span {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

.section-number {
  margin: 0;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.listing-type-grid,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.type-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.type-option:hover {
  transform: translateY(-2px);
  border-color: var(--forest);
  box-shadow: 0 12px 24px rgba(23, 107, 82, .1);
}

.type-option:has(input:checked) {
  border-color: var(--forest);
  background: var(--mint);
}

.type-option input {
  position: absolute;
  opacity: 0;
}

.type-option-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--mint);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.type-option:has(input:checked) .type-option-mark {
  color: #fff;
  background: var(--forest);
}

.type-option strong,
.type-option small {
  display: block;
}

.type-option small,
.field > small:not(.error),
.current-files,
.organization-id {
  color: var(--ink-soft);
  font-weight: 400;
}

.organization-id {
  margin: 18px 0 0;
  font-size: .86rem;
}

.organization-id strong {
  color: var(--ink);
}

.locked-type {
  padding: 16px 18px;
  border-left: 4px solid var(--forest);
  background: var(--mint);
  font-weight: 700;
}

.listing-fields .field {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: .91rem;
}

.listing-fields input,
.listing-fields select,
.listing-fields textarea {
  border: 1px solid #bfd0c8;
  border-radius: 6px;
  color: #18372f;
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.listing-fields input:focus,
.listing-fields select:focus,
.listing-fields textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 107, 82, .12);
}

.upload-field {
  padding: 18px;
  border: 1px dashed #9fbbb0;
  border-radius: 10px;
  background: #f5faf7;
}

.form-submit,
.confirm-actions,
.admin-heading,
.approval-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.form-submit,
.confirm-actions {
  justify-content: flex-end;
  padding: 14px 0 24px;
}

.button-secondary,
.button-link {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  color: var(--forest);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
}

.confirm-card {
  padding: 0;
  overflow: hidden;
}

.confirm-title {
  padding: 30px clamp(22px, 5vw, 42px);
  color: #fff;
  background: var(--forest-dark);
}

.confirm-title > span {
  color: #bce0d3;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.confirm-title h2 {
  margin: 6px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.confirm-list {
  margin: 0;
  padding: 8px clamp(22px, 5vw, 42px) 30px;
}

.confirm-list div {
  grid-template-columns: minmax(150px, .38fr) 1fr;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  color: var(--ink-soft);
  font-size: .86rem;
}

.completion-card {
  max-width: 760px;
  margin: 30px auto;
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 4px 32px 4px 4px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(38, 63, 55, .1);
  text-align: center;
}

.completion-card .stepper {
  margin: 0 auto 42px;
  text-align: left;
}

.completion-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 2rem;
  box-shadow: 0 0 0 10px var(--mint);
}

.completion-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

.recruitment-admin-table .table-row {
  grid-template-columns: 70px 1.7fr 1fr 110px 110px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.recruitment-admin-table .table-row > span:nth-child(2) strong,
.recruitment-admin-table .table-row > span:nth-child(2) small {
  display: block;
}

.table-header {
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

.status-0 {
  color: #8a4b18;
  background: #fff0d9;
}

.status-1 {
  color: var(--forest-dark);
  background: var(--mint);
}

.status-2 {
  color: #8e3029;
  background: #fae5e2;
}

.approval-bar {
  position: sticky;
  bottom: 16px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 10px;
  color: #fff;
  background: #17352f;
  box-shadow: 0 15px 40px rgba(23, 53, 47, .24);
}

.approval-bar p {
  margin: 0;
}

.approval-bar.is-approved {
  background: var(--forest);
}

.recruitment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.recruitment-gallery img {
  width: 100%;
  height: min(310px, 48vw);
  border-radius: 4px 18px 4px 4px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .site-header,
  .search-bar,
  .two-cols,
  .three-cols,
  .table-row,
  .list-row,
  .detail-list div {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: block;
  }

  .listing-type-grid,
  .field-grid,
  .recruitment-admin-table .table-row,
  .confirm-list div {
    grid-template-columns: 1fr;
  }

  .stepper li {
    font-size: 0;
  }

  .stepper li span {
    font-size: .84rem;
  }

  .form-card-heading {
    grid-template-columns: 34px 1fr;
  }
}

.inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.mb10{
  margin-bottom: 10px;
}
.mb20{
  margin-bottom: 20px;
}
.mb30{
  margin-bottom: 30px;
}
.mb40{
  margin-bottom: 40px;
}
.mb50{
  margin-bottom: 50px;
}
.mb60{
  margin-bottom: 60px;
}
.mb70{
  margin-bottom: 70px;
}
.mb80{
  margin-bottom: 80px;
}
.mb90{
  margin-bottom: 90px;
}
.mb100{
  margin-bottom: 100px;
}
