:root {
  --responsive-sys-container-width: 1200px;
  --header-height: 84px;
}

.p-page {
  margin: 12px 0 40px;
  padding: var(--header-height) 20px 0;
  max-width: var(--responsive-sys-container-width);
}

.p-page .p-page-sec-box a {
  text-decoration: underline;
}

.p-page h1 {
  margin-bottom: 9px;
  padding: 16px 0;
}

.p-page h2 {
  margin-bottom: 9px;
  padding: 16px 0;
  border-bottom: 1px solid #111;
}

.p-page h3 {
  margin: 0 0 15px;
  padding: 0 0 5px;
  border-bottom: 1px solid #dedede;
  color: #111;
  font-size: 16px;
  font-weight: bold;
}

.p-page-intro {
  margin: 0 0 40px;
}

.p-page-intro-text {
  margin-bottom: 20px;
}

.p-page-nav li:not(:last-child) {
  margin: 0 0 8px;
}

.p-page-nav a {
  position: relative;
  display: block;
  border: 1px solid #dedede;
  border-radius: 3px;
  font-size: 15px;
  padding: 13px 15px;
}

.p-page-nav a span:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 10px;
  height: 10px;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  transform: translateY(-50%) rotate(45deg);
}

.faq-list:not(:last-child) {
  margin: 0 0 4px;
}

.faq-list dt {
  position: relative;
  background: #eee;
  border-radius: 3px;
  padding: 13px 35px 13px 15px;
}

.faq-list dt:before,
.faq-list dt:after {
  content: "";
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 2px;
  background: #111;
  transition: 0.3s ease;
}

.faq-list dt.open:after {
  transform: rotate(180deg);
}

.faq-list dt span {
  position: relative;
  font-size: 14px;
  padding: 0 0 0 25px;
}

.faq-list dt span:before {
  content: "Q.";
  position: absolute;
  top: -5px;
  left: 0;
  font-size: 18px;
}

.faq-list dd {
  display: none;
  position: relative;
  margin: 16px 0 20px;
  padding: 0 0 0 40px;
  font-size: 13px;
}

.faq-list dd:before {
  content: "A.";
  position: absolute;
  top: -4px;
  left: 18px;
  font-size: 18px;
}

.p-page-sec {
  scroll-margin-top: var(--header-height);
}

.p-page-sec:not(:last-child) {
  margin: 0 0 40px;
}

.p-page-sec-box:not(:last-child) {
  margin: 0 0 32px;
}

.p-page-sec-box p:not(:last-child) {
  margin: 0 0 20px;
}

.p-page-sec-box ul:not(:last-child) {
  margin-bottom: 20px;
}

.p-page-sec-box p + ul {
  margin: -20px 0 20px;
}

.p-page-sec-box ul li:not(:last-child),
.p-page-sec-box ol li:not(:last-child) {
  margin-bottom: 10px;
}

.p-page-sec-box ol {
  margin: 0 0 20px 1.5em;
}

.p-page-sec-box ol ol {
  margin: 20px 0;
}

.p-page-sec-box ol ol li {
  list-style-type: none;
  counter-increment: count;
  text-indent: -1.7em;
  margin-left: 1.7em;
}

.p-page-sec-box ol ol li::before {
  content: "(" counter(count) ") ";
}

.p-page-sec table {
  margin-bottom: 20px;
  min-width: 50%;
  width: 100%;
  border: #ddd 1px solid;
}

.p-page-sec table tr {
  border: none;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  align-content: flex-start;
  flex-flow: row nowrap;
  border-bottom: #ddd 1px solid;
}

.p-page-sec table tr:last-child {
  border-bottom: none;
}

.p-page-sec table th {
  flex: 0 0 200px;
  max-width: 200px;
  width: auto;
  padding: 10px;
  vertical-align: middle;
  background-color: transparent;
  box-sizing: border-box;
  font-size: 14px;
  color: #333333;
  background-color: #F6F5EC;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  border: none;
  margin: 0px;
}

.p-page-sec table td {
  flex: 1;
  max-width: 100%;
  width: auto;
  padding: 10px;
  background: none;
  vertical-align: middle;
  font-size: 14px;
  color: #333333;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  border: none;
  display: block;
}

@media screen and (min-width: 769px) {
  :root {
    --header-height: 145px;
  }
  .p-page {
    margin: 0 auto 40px;
  }
  .p-page h1 {
    margin: 0 0 20px;
    padding: 16px 0;
    font-size: 28px;
    font-weight: 500;
    color: #111;
    border: 0;
    background: none;
  }
  .p-page h2 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 500;
  }
  .p-page h3 {
    margin-bottom: 16px;
    padding: 12px 0;
    font-size: 18px;
  }
  .p-page-intro {
    margin-bottom: 68px;
  }
  .p-page-intro-text {
    margin-bottom: 30px;
  }
  .p-page-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 12px;
  }
  .p-page-nav li {
    width: calc((100% - 30px * 3) / 4);
  }

  .p-page-nav li span {
    position: relative;
    padding-right: 17px;
    font-size: 16px;
  }

  .p-page-nav a span:after {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
  }

  .p-page-nav a {
    padding: 27px 0;
    border-radius: 5px;
    text-align: center;
  }

  .faq-list dt {
    padding: 10px 24px;
    background: #f0f0f0;
    cursor: pointer;
  }

  .faq-list dt:before,
  .faq-list dt:after {
    right: 24px;
  }

  .faq-list dt span {
    padding-left: 40px;
    font-size: 18px;
  }

  .p-page-sec:not(:last-child) {
    margin-bottom: 68px;
  }

  .p-page-sec-box:not(:last-child) {
    margin-bottom: 28px;
  }
}
