
/* 01. COMMON
-------------------------------------------------------------------- */

.p-body {
  background: #B8EAFF;
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
}

.p-main {
  flex: 1 1 auto;
  min-height: 0;
}

.p-footer {
  flex: 0 0 auto;
  margin-top: 40px;
}


/* 02. AGREEMENT
-------------------------------------------------------------------- */

.p-agreementWrapper {
  width: 96%;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 20px;
  margin: 32px auto 0;
  max-width: 1200px;
}

@media screen and (max-width: 768px) {
  .p-agreementWrapper {
    display: block;
    margin-top: 16px;
    width: 90%;
  }
}

.p-agreement {
  background-color: var(--color-white);
  filter: var(--dropshadow);
  padding: 32px 48px 48px;
}

@media screen and (max-width: 768px) {
  .p-agreement {
    padding: 32px 16px;
  }
}

.p-agreement__title {
  color: var(--color-primary);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .p-agreement__title {
    font-size: 2rem;
  }
}

.p-agreement__contents h2 {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.25em 0.5em;
  margin-top: 2em;
}

.p-agreement__contents h3 {
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1em;
}

.p-agreement__contents p {
  line-height: 1.4;
  margin-top: 1em;
}

.p-agreement__contents h3 + p {
  margin-top: 0.5em;
}

.p-agreement__contents p.p-agreement__repletion {
  font-size: 1.5rem;
  padding-left: 1em;
  text-indent: -1em;
}

.p-agreement__indent {
  padding-left: 1em;
}

.p-agreement__contents ul {
  margin-top: 1em;
}

.p-agreement__contents ul > li {
  background: url(../img/icon-logo.svg) no-repeat left top 4px/11px 16px;
  line-height: 1.4;
  padding-left: 20px;
}

.p-agreement__contents ul > li:not(:first-child) {
  margin-top: 1em;
}

.p-agreement__contents ul > li a {
  color: var(--color-primary);
}

@media (any-hover: hover) {
  .p-agreement__contents ul > li a:hover {
    text-decoration: underline;
  }
}

.p-agreement .c-buttonArea {
  margin-top: 40px;
}

input[type="checkbox"].p-agreementCheck + span {
  font-size: 1.8rem;
}

.p-agreement__character {
  position: sticky;
  top: 100px;
  align-self: start;
}

@media screen and (max-width: 768px) {
  .p-agreement__character {
    position: static;
    width: auto;
    width: 140px;
    margin: 48px auto 0;
  }
}