@charset "UTF-8";

/* layout（下層ページ）
----------------------------------------------------------------- */

.l-columns {
  display: flex;
  gap: 24px;
}

.l-columns--side {
  width: 256px;
}

.l-columns--main {
  flex: 1;
}

@media (max-width: 768px) {
  .l-columns {
    flex-direction: column;
  }
  .l-columns--main {
    order: 0;
  }
  .l-columns--side {
    order: 1;
    width: 100%;
  }
}

.l-contents__title {
  position: relative;
  font-size: 32px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #fa871a;
  margin-bottom: 16px;
}

.l-contents__title::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-bottom: 1.5px solid #fa871a;
  inset: 0;
  margin-bottom: -6px;
}

.l-contents__title-image {
  width: 100%;
  margin-bottom: 32px;
}

.l-contents__subtitle {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 32px;
}

.l-contents h2 {
  font-size: 1.5rem;
  color: #494949;
  background: #f4f4f4;
  border-left: solid 5px #7db4e6;
  border-bottom: solid 3px #d7d7d7;
  padding: 8px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .l-contents__title,
  .l-contents h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .l-contents__title,
  .l-contents h2 {
    font-size: 24px;
  }
}

.l-contents__section > h3 {
  font-size: 1.3rem;
  color: #364e96;
  padding: 0.5em 0;
  border-top: solid 3px #364e96;
  border-bottom: solid 3px #364e96;
  margin-bottom: 16px;
}

.l-contents__section {
  margin-bottom: 48px;
}

.l-contents__section-image {
  margin-bottom: 16px;
}

.l-contents__section-catch {
  text-align: center;
  display: block;
  margin-bottom: 16px;
}

.l-contents__section p {
  margin-bottom: 16px;
}

.l-contents__section h2.l-contents__section-small-headline {
  background-color: unset;
  border: unset;
  font-size: 1.1rem;
  font-weight: 400;
  position: relative;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  padding-bottom: 6px;
  margin-bottom: 16px;
  border-bottom: 1px dashed silver;
}

.l-contents__section h2.l-contents__section-small-headline--hidden {
  display: none;
}

.l-contents__section h2.l-contents__section-small-headline::before {
  width: 14px;
  height: 14px;
  left: 0;
  top: 50%;
  content: "";
  background-color: #f42158;
  position: absolute;
  border-radius: 50%;
  translate: 0 -50%;
}

.l-contents__related > ul {
  margin-left: 8px;
  margin-bottom: 32px;
}

.l-contents__related-cards {
  display: flex;
  gap: 16px;
}

.l-contents__related-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #b5b5b5;
}

.l-contents__related-card:nth-of-type(2) .l-contents__related-catch {
  border-top: 6px solid #b8e0f8;
}

.l-contents__related-catch {
  border-top: 6px solid #ed7ca0;
  color: #fa871a;
  padding: 8px 0 0 10px;
}

.l-contents__related-title {
  font-size: 1.4rem;
  border-bottom: 1px solid black;
  padding-bottom: 4px;
  margin: 0 8px 16px;
}

.l-contents__related-wrap {
  flex: 1;
  display: flex;
  gap: 8px;
  padding-inline: 8px;
  padding-bottom: 8px;
}

@media (max-width: 992px) {
  .l-contents__related-cards {
    flex-direction: column;
  }
  .l-contents__related-text {
    flex: 1;
  }
}

.l-contents__float-wrap {
  display: flow-root;
}
.l-contents__float-wrap-floatimage {
  float: right;
  width: 35%;
  margin: 0 0 1rem 1rem;
  height: auto;
}
@media (max-width: 768px) {
  .l-contents__float-wrap-floatimage {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 1rem 0;
  }
}
.p-merit__block {
  display: block;
  margin-block: 1rem;
}

.l-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.l-side__two-image {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.l-side__two-image > * {
  flex: 1;
}

.l-side__menu-items {
  border: solid 1px #b5b5b5;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.l-side__menu-items > li {
  position: relative;
}

.l-side__menu-items > li::after {
  position: absolute;
  content: "";
  width: 95%;
  right: 0;
  height: 1px;
  bottom: -4px;
  border-bottom: dashed 1px silver;
}

.l-side__menu-items > li:last-of-type::after {
  border-bottom: none;
}

.l-side__guide {
  border: solid 1px #b5b5b5;
  background-color: #e6e5e5;
  padding: 8px;
}

.l-side__guide img {
  margin-bottom: 2px;
}

.l-side__guide > span {
  font-size: 1.4rem;
  background-color: #e6e5e5;
  display: block;
  padding: 8px;
}

.l-side__guide-items {
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.l-side__guide-items > li {
  position: relative;
}

.l-side__guide-items > li a {
  color: #666464;
  display: block;
  padding: 4px 0 4px 8px;
  width: 100%;
  border: solid 1px #b5b5b5;
  background: linear-gradient(180deg, #fefefe 0%, #f9f9f9 50%, #f5f5f5 100%);
  position: relative;
}

.l-side__guide-items > li a::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  right: 0;
  top: 50%;
  translate: -8px -50%;
  background-color: #d5bb9f;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

.l-side__guide-items > li::after {
  position: absolute;
  content: "";
  width: 95%;
  right: 0;
  height: 1px;
  bottom: -4px;
}

.l-side__guide-items > li:last-of-type::after {
  border-bottom: none;
}

@media (max-width: 768px) {
  .l-side__guide {
    margin-top: 16px;
    background-color: #fff;
    padding: 0;
  }
  .l-side__guide-items {
    padding: 0px;
    gap: 0;
  }
  .l-side__guide-items > li a {
    background: unset;
    background-color: #fff;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-size: 1.2rem;
  }
}

.l-side__line {
  margin-bottom: 30px;
}

.l-side__line p {
  text-align: center;
  margin-bottom: 8px;
  margin-top: 16px;
}

.l-side__line img {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.l-side__orderbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 768px) {
  .l-side__two-image {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .l-order-1 {
    order: 1;
  }
  .l-order-2 {
    order: 2;
  }
  .l-order-3 {
    order: 3;
  }
  .l-order-4 {
    order: 4;
  }
}

.l-order-5 {
  order: 1;
}

.l-order-6 {
  order: 2;
}

.l-order-7 {
  order: 3;
}

.l-order-8 {
  order: 4;
}

.l-order-9 {
  order: 5;
}

@media (max-width: 768px) {
  .l-order-5 {
    order: 5;
  }
  .l-order-6 {
    order: 1;
  }
  .l-order-7 {
    order: 2;
  }
  .l-order-8 {
    order: 3;
  }
  .l-order-9 {
    order: 4;
  }
}

/* table */
.l-table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 16px;

  th {
    border: 1px solid #ccc;
    padding: 10px;
    background: #cce3ed;
    vertical-align: middle;
  }
  td {
    border: 1px solid #ccc;
    padding: 10px;
    vertical-align: middle;
  }
}

.l-table__group {
  width: 30%;
  font-weight: 600;
  background: #fffbe7;
}

.l-table .l-table--cream {
  background: #fffbe7;
}
.l-table .l-table--grey {
  background: rgb(228, 228, 227);
}
.l-table .l-table--pink {
  background: #f5d8d8;
}
.l-table .l-table--brown {
  background: #f8f1de;
}

/* order list */
.l-ol {
  counter-reset: num;
  display: flex;
  flex-direction: column;
  gap: 8px;
  li {
    counter-increment: num;
  }

  li::before {
    content: counter(num) ".";
    margin-right: 8px;
  }
}

/* simple flex */
.l-flex {
  display: flex;
  align-items: center;
  gap: 8px;

  > *:first-child {
    width: 50px;
  }
}
