/**
* SP
**/
/**
* PC
**/
/**
* Custom min-width, max-width. Example:
* @include media(500px, 900px) { ... }
* @include media($max-width: 900px) { ... }
* @include media($min-width: 500px) { ... }
**/
.main2 {
  padding: 0 15px;
  padding-top: 198px;
  max-width: 100%;
}

@media (max-width: 767px) {
  .main2 {
    padding: 0;
    padding-top: 112px;
  }
}

.main2.--single {
  background: #f2f2f2;
  padding-top: 158px;
  padding-bottom: 80px;
  border-bottom: 1px solid #F1F3F5;
}

@media (max-width: 767px) {
  .main2.--single {
    padding: 0 15px;
    padding-top: 48px;
    padding-bottom: 80px;
  }
}

.title-main {
  font-weight: 700;
  font-size: 40px;
  line-height: 150%;
}

@media (max-width: 767px) {
  .title-main {
    font-size: 28px;
    line-height: 2;
  }
}

.title-main + .sec {
  margin-top: 0;
}

.title-cat {
  font-weight: 700;
  font-size: 32px;
  line-height: 150%;
}

@media (max-width: 767px) {
  .title-cat {
    font-size: 24px;
    line-height: 2;
  }
}

.archive-sec {
  margin-top: 120px;
  border-bottom: 2px solid #F1F3F5;
  padding-bottom: 64px;
}

@media (max-width: 767px) {
  .archive-sec {
    margin-top: 64px;
  }
}

.archive-sec + .archive-sec {
  margin-top: 64px;
}

.view-more {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 2;
  margin-top: 42px;
}

@media (max-width: 767px) {
  .view-more {
    margin-top: 20px;
  }
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
  font-family: sans-serif;
}

.nav-links a,
.nav-links span {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background: #f9f9f9;
  transition: all 0.2s ease;
}

.nav-links a.current,
.nav-links span.current {
  background: #618AA6;
  color: #fff;
  border-color: #618AA6;
  font-weight: bold;
}

.nav-links a:hover {
  background: #618AA6;
  color: #fff;
  border-color: #618AA6;
}

.single_base {
  width: 900px;
  max-width: 100%;
  background: #fff;
}

@media (min-width: 768px) {
  .single_base {
    padding: 40px 90px;
  }
}

@media (max-width: 767px) {
  .single_base {
    padding: 20px 20px;
    margin-top: 20px;
  }
}

.title-head {
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
  color: #7F8891;
}

.title-single {
margin-bottom: 50px;
    font-weight: 500;
    line-height: 1.5;
    font-size: 32px;
}

@media (max-width: 767px) {
  .title-single {
    font-size: 28px;
    margin-top: 16px;
  }
}

.cms-thumb {
  margin-bottom: 40px;
  line-height: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cms-thumb {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin-top: 48px;
  }
}

@media (max-width: 767px) {
  .cms-thumb {
    margin-left: -15px;
    margin-right: -15px;
  }
}

.cms-thumb img {
  max-width: 100%;
}

.cms-content {
  overflow: auto;
  font-weight: 500;
}

.cms-content > p,
.cms-content > figure {
  margin-top: 40px;
}

.cms-content > p {
  line-height: 2;
}

@media (max-width: 767px) {
  .cms-content > p {
    margin-top: 48px;
  }
  .cms-content > p:first-child {
    margin-top: 40px;
  }
}

.cms-content > h2,
.cms-content > h3,
.cms-content > h4 {
  margin-top: 80px;
}

.cms-content > h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
}

.cms-content > h3 {
  font-size: 20px;
  font-weight: bold;
}

.cms-content > ul,
.cms-content > ol {
  border: 1px solid #458ab8;
  padding: 15px 20px;
  border-radius: 5px;
  margin-top: 30px;
  list-style-position: outside;
  overflow: hidden;
}

.cms-content > ul li,
.cms-content > ol li {
  border-bottom: 1px dashed #458ab8;
  list-style: none;
  margin: 0 !important;
  padding: 5px 0 5px 26px;
  background: url(../img/mark.png) no-repeat left top 10px;
}

.cms-content > ul li:last-child,
.cms-content > ol li:last-child {
  border-bottom: 0;
}

.color_box2 {
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
  background: #fffcda;
  font-size: 16px;
  margin-top: 30px;
}

.img-text {
    padding: 20px;
    border-radius: 5px;
    background: #fefefe;
    border: 1px solid #d5dbe0;
    margin-top: 40px;
}

@media (max-width: 767px) {
  .img-text {
    margin-top: 80px;
  }
}

@media (min-width: 768px) {
  .img-text.--reverser .img-text__content {
    flex-direction: row-reverse;
  }
}

.img-text__title {
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  letter-spacing: -2.2%;
  margin-bottom: 40px;
}

.img-text__content {
  display: flex;
  gap: 40px;
}

@media (max-width: 767px) {
  .img-text__content {
    flex-direction: column;
  }
}

.img-text__img {
  line-height: 0;
}

@media (min-width: 768px) {
  .img-text__img {
    width: calc((100% / 3) - 20px);
    flex-shrink: 0;
  }
}

.img-text__img img {
  max-width: 100%;
  width: 100%;
}

.img-text__txt {
  line-height: 2;
  margin: 0;
}

@media (min-width: 768px) {
  .img-text__txt {
    flex-grow: 1;
  }
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

@media (min-width: 768px) {
  .loop-gap {
    gap: 64px 40px;
  }
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}
