/**
 * Convert font-size from px to rem with px fallback
 *
 * @param $size - the value in pixel you want to convert
 *
 * e.g. p {@include fontSize(12px);}
 * 
 */
/* html --------------------------------------- */
html {
  border-color: var(--color-toncho);
}

/* pageHeader --------------------------------------- */
.localPage .pageHeaderTtlWrap {
  padding-bottom: 5em;
}
.localPage .pageHeaderMainTtl {
  font-size: clamp(1.875rem, 1.2980769231rem + 2.5641025641vw, 4.375rem);
}
.localPage .pageHeaderMainTtl small {
  font-size: clamp(0.875rem, 0.7307692308rem + 0.641025641vw, 1.5rem);
  display: block;
  line-height: 1;
}
.localPage .pageHeaderScroll {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: none !important;
}

/* pageBody --------------------------------------- */
.pageBody {
  margin-top: 0 !important;
}

.nagasuBlog {
  width: 100%;
  background-color: var(--color-nagasu-bg);
}

.nankanBlog {
  width: 100%;
  background-color: var(--color-nankan-bg);
}

.kikusuiBlog {
  width: 100%;
  background-color: var(--color-kikusui-bg);
}

/* blog --------------------------------------- */
.blog {
  padding-bottom: 3em;
}
.blog .sectionInner {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(80px, 75.3846153846px + 1.2820512821vw, 100px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: clamp(40px, 35.3846153846px + 1.2820512821vw, 60px);
  position: relative;
  padding-bottom: 4em;
}
.blog .sectionHeader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: calc(100% - 30px);
}
.blog .sectionHeader .btnWrap {
  margin-top: 0;
}
.blog .sectionBody {
  width: calc(100% - 10px);
  margin-right: auto;
  margin-left: auto;
}
.blog .headerMeta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.blog .headerMeta__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: clamp(10px, 7.6923076923px + 0.641025641vw, 20px);
}
.blog .header__ico {
  border: 1px solid #EEEEEE;
  background-color: var(--color-bg);
  width: clamp(60px, 39.2307692308px + 5.7692307692vw, 150px);
  height: clamp(60px, 39.2307692308px + 5.7692307692vw, 150px);
  padding: clamp(8px, 4.0769230769px + 1.0897435897vw, 25px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 100px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.blog .header__ico svg {
  width: 100%;
  height: 100%;
}
.blog .headerTxt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.blog .header__txtWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: clamp(5px, 2.6923076923px + 0.641025641vw, 15px);
}
.blog .headerName__anchor {
  text-decoration: none;
}
.blog .headerName__anchor > * {
  margin-top: 0;
}
.blog .headerName__en {
  font-size: clamp(0.75rem, 0.7355769231rem + 0.0641025641vw, 0.8125rem);
  font-weight: 500;
  color: rgba(153, 153, 153, 0.8);
  line-height: 1;
}
.blog .headerName__jp {
  margin-top: 0;
  font-size: clamp(1.375rem, 1.1153846154rem + 1.1538461538vw, 2.5rem);
  font-weight: 500;
}
.blog .headerPostCount p {
  font-weight: 500;
  color: var(--color-txt-weak);
  margin-top: 0;
}
.blog .headerPostCount span {
  color: var(--color-sub);
}
@media (min-width: 46.25em) {
  .blog .headerMeta {
    gap: 15px;
  }
}
@media (min-width: 80em) {
  .blog .sectionHeader {
    width: 100%;
  }
  .blog .sectionBody {
    width: 100%;
  }
}

/* blog --------------------------------------- */
.blog .chara__01, .blog .chara__02, .blog .chara__03 {
  left: 0;
  bottom: -40px;
}
.blogHeadline {
  list-style: none;
  gap: clamp(2px, 0.1538461538px + 0.5128205128vw, 10px);
  margin-bottom: 5em;
}
.blogHeadline__item {
  position: relative;
  width: auto;
}
.blogHeadline__itemHeader {
  display: none;
}
.blogHeadline__thumb {
  border-radius: 0;
}
@media (min-width: 80em) {
  .blog .chara__01 {
    right: 0;
    left: auto;
  }
  .blog .chara__02 {
    left: 0;
  }
  .blog .chara__03 {
    right: 0;
    left: auto;
  }
  .blog .chara__01, .blog .chara__02, .blog .chara__03 {
    bottom: -60px;
  }
  .blogHeadline__itemHeader {
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 30px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
  }
  .blogHeadline__ttlWrap {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .blogHeadline__ttl {
    margin: auto;
    z-index: 2;
    color: var(--color-bg);
    font-weight: 600;
  }
  .blogHeadline__anchor::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
  }
  .blogHeadline__anchor:hover .blogHeadline__itemHeader {
    opacity: 1;
  }
  .blogHeadline__anchor:hover:after {
    opacity: 1;
  }
}

/* recruit --------------------------------------- */
.recruit {
  margin-top: 0 !important;
}

/* each --------------------------------------- */
.each {
  margin-top: 0 !important;
  padding-bottom: 0;
}
.each .pageHeader {
  display: none;
}
.each .headerMeta {
  gap: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.each .headerPostCount {
  margin-bottom: 1em;
}
.each .blogInner {
  padding-top: 100px;
}
.each .sectionInner {
  padding-top: clamp(40px, 26.1538461538px + 3.8461538462vw, 100px);
}
.each .archives__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin: 0;
}
.each .archives__item {
  padding: 0;
  background-color: var(--color-bg);
  border-radius: var(--borderrad);
}
.each .archives__item:before {
  content: none;
}
.each .archives__item select {
  font-size: clamp(0.75rem, 0.7067307692rem + 0.1923076923vw, 0.9375rem);
  border-radius: 0;
  border: none;
}
.each .archives__ttl {
  letter-spacing: 0;
  width: calc(100% - 30px);
  margin: 0 auto 1.5em;
}
.each .archives__ttl .icon__archive {
  margin-right: 5px;
}
.each .blogHeadline {
  margin-bottom: 3em;
  padding-bottom: 0;
}
.each .paging {
  margin-bottom: 0;
}
.each .tag__wrap {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--borderrad);
  padding: clamp(10px, 5.3846153846px + 1.2820512821vw, 30px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.each .tag__list {
  list-style: none;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px 15px;
}
.each .tag__item {
  padding: 0;
  display: inline-block;
}
.each .tag__item:before {
  content: none;
}
.each .tag__item a {
  text-decoration: none;
  font-size: clamp(0.8125rem, 0.7692307692rem + 0.1923076923vw, 1rem);
}
.each .tag__item a:hover {
  color: var(--color-main) !important;
  text-decoration: underline;
}
@media (min-width: 61.25em) {
  .each .archives__ttl {
    width: 100%;
  }
  .each .headerMeta {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .each .headerPostCount {
    margin-bottom: 0;
  }
  .each .blog .sectionHeader {
    width: 100%;
  }
  .each .tag__wrap {
    width: 100%;
  }
}

/* list --------------------------------------- */