.is-md-hide {
  display: block;
}

@media (max-width: 1024px) {
  .is-md-hide {
    display: none;
  }
}

.is-md-show {
  display: none;
}

@media (max-width: 1024px) {
  .is-md-show {
    display: block;
  }
}

.hdr {
  position: fixed !important;
  width: 100%;
}

.hdr__burger-search input {
  height: 40px;
  font-size: 20px;
  background-color: #ffffff;
}

.hdr__burger-search input::-moz-placeholder {
  color: #bbb7b2;
}

.hdr__burger-search input::placeholder {
  color: #bbb7b2;
}

.hdr__burger-search button {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

main {
  margin-top: 155px;
}

@media (max-width: 430px) {
  main {
    margin-top: 64px;
  }
}

body.home .hero {
  padding-top: 140px;
}

@media (max-width: 1024px) {
  body.home .hero {
    padding-top: 100px;
  }
}

@media (max-width: 1024px) {
  body.home .hero__wrap {
    max-width: 345px;
  }
}

body.home .hero__bubble {
  position: relative;
  aspect-ratio: unset;
  padding: 0;
  background-image: none;
}

body.home .hero__bubble::before {
  content: none;
}

body.home .hero__bubble-head {
  position: absolute;
  left: 50%;
  top: -88px;
  transform: translateX(-50%);
  display: flex;
  gap: 75px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  body.home .hero__bubble-head {
    top: -70px;
    gap: 30px;
  }
}

body.home .hero__bubble-head span:nth-child(1) {
  width: 151px;
}

@media (max-width: 1024px) {
  body.home .hero__bubble-head span:nth-child(1) {
    width: 115px;
  }
}

body.home .hero__bubble-head span:nth-child(2) {
  width: 147px;
  padding-top: 15px;
}

@media (max-width: 1024px) {
  body.home .hero__bubble-head span:nth-child(2) {
    width: 115px;
  }
}

body.home .hero__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  body.home .hero__content {
    padding-bottom: 80px;
  }
}

body.home .hero__eyebrow {
  margin-bottom: 10px;
  line-height: 1;
}

@media (max-width: 1024px) {
  body.home .hero__eyebrow {
    font-size: 20px;
  }
}

body.home .hero__title {
  margin-bottom: 20px;
  line-height: 1;
}

body.home .hero__title-em {
  font-size: 72px;
}

@media (max-width: 1024px) {
  body.home .hero__title-em {
    font-size: 40px;
  }
}

body.home .hero__lead {
  margin: 0;
  padding: 0;
}

body.home .decoration {
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1024px) {
  body.home .decoration {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
}

body.home .decoration .otasuke__left {
  left: -200px;
}

@media (max-width: 1024px) {
  body.home .decoration .otasuke__left {
    width: 115px !important;
    margin-right: auto;
    transform: rotate(25deg) !important;
  }
}

body.home .decoration .otasuke__right {
  right: -200px;
}

@media (max-width: 1024px) {
  body.home .decoration .otasuke__right {
    width: 135px !important;
    margin-left: auto;
    transform: rotate(-25deg) !important;
  }
}

body.home .decoration .otasuke__left,
body.home .decoration .otasuke__right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  bottom: unset;
  margin-top: 0;
  width: 167px;
}

@media (max-width: 1024px) {

  body.home .decoration .otasuke__left,
  body.home .decoration .otasuke__right {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    transform: unset;
  }
}

body.home .decoration .otasuke_contents {
  position: relative;
  margin: 0 auto;
}

body.home .decoration .otasuke_contents-light {
  position: absolute;
  left: 50%;
  top: -90px;
  transform: translateX(-50%);
  width: 334px;
}

@media (max-width: 1024px) {
  body.home .decoration .otasuke_contents-light {
    position: relative;
    left: unset;
    top: unset;
    transform: unset;
    display: block;
    width: 230px;
  }
}

body.home .decoration .otasuke_contents-light img {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.home .helper__tabs {
  gap: 12px;
  margin: 0;
}

body.home .helper__carousel {
  margin: 0;
}

body.home .helper__carousel .card__thumb {
  margin-bottom: 30px;
}

body.home .helper__carousel .card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 18px;
}

body.post-type-archive-news .article-list {
  padding: 100px 0 130px;
}

body.post-type-archive-news .article-list .inner {
  display: block;
  width: 100%;
  max-width: 1310px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background-color: transparent;
}

@media (max-width: 1310px) {
  body.post-type-archive-news .article-list .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

body.post-type-archive-news .article-list__wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__wrap {
    gap: 20px;
  }
}

body.post-type-archive-news .article-list__card {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 80px 96px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 30px 0 rgba(229, 206, 155, 0.3);
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__card {
    padding: 40px 30px;
  }
}

body.post-type-archive-news .article-list__link {
  display: block;
}

body.post-type-archive-news .article-list__title {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #635747;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__title {
    font-size: 18px;
    line-height: 1.2;
  }
}

body.post-type-archive-news .article-list__tag-list {
  display: flex;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__tag-list {
    gap: 4px;
  }
}

body.post-type-archive-news .article-list__tag-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 24px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #635747;
  border-radius: 20px;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__tag-list li {
    padding: 0 8px;
    font-size: 12px;
  }
}

body.post-type-archive-news .article-list__date {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #635747;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__date {
    font-size: 12px;
  }
}

body.post-type-archive-news .article-list__excerpt {
  margin-bottom: 20px;
  font-size: 20px;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__excerpt {
    margin-bottom: 10px;
    font-size: 12px;
  }
}

body.post-type-archive-news .article-list__more {
  text-align: right;
}

body.post-type-archive-news .article-list__more span {
  padding: 0 4px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #635747;
  border-bottom: 1px solid #635747;
}

@media (max-width: 768px) {
  body.post-type-archive-news .article-list__more span {
    font-size: 10px;
  }
}

body.post-type-archive-news .article-list__pagination-wrap {
  background-color: transparent;
}

body.single-news .section-article {
  padding: 100px 0 130px;
}

body.single-news .article-section__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 96px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 30px 0 rgba(229, 206, 155, 0.3);
}

@media (max-width: 1024px) {
  body.single-news .article-section__inner {
    padding: 40px 30px;
    margin: 0 16px;
  }
}

body.single-news .news-date {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  line-height: 1.5;
}

@media (max-width: 768px) {
  body.single-news .news-date {
    font-size: 12px;
    margin-bottom: 10px;
  }
}

body.single-news .news-title {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  color: #635747;
  line-height: 1.5;
}

@media (max-width: 768px) {
  body.single-news .news-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
}

body.single-news .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  body.single-news .news-tags {
    gap: 6px;
    margin-bottom: 20px;
  }
}

body.single-news .news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 400;
  color: #635747;
  background-color: #e5e5e5;
  border-radius: 20px;
  line-height: 1;
}

@media (max-width: 768px) {
  body.single-news .news-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

body.single-news .news-content {
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 400;
  color: #635747;
  line-height: 1.8;
}

@media (max-width: 768px) {
  body.single-news .news-content {
    font-size: 14px;
    margin-bottom: 30px;
  }
}

body.single-news .news-content p {
  margin-bottom: 1.5em;
}

body.single-news .news-content p:last-child {
  margin-bottom: 0;
}

body.single-news .news-thumbnail {
  width: 100%;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  body.single-news .news-thumbnail {
    margin-bottom: 30px;
  }
}

body.single-news .news-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

body .popular__carousel {
  background-color: #1f8251;
}

body .tomariki__carousel {
  position: relative;
  display: block;
  padding: 40px 30px 70px;
}

@media (max-width: 480px) {
  body .tomariki__carousel {
    padding: 40px 0;
  }
}

body .tomariki__carousel .card {
  width: calc((100% - 120px) / 3);
  margin: 0 30px;
}

@media (max-width: 480px) {
  body .tomariki__carousel .card {
    width: 295px;
  }
}

body .carousel__viewport {
  max-width: unset;
  padding: 0 70px;
}

@media (max-width: 480px) {
  body .carousel__viewport {
    padding: 0 40px;
  }
}

body .carousel__track {
  display: flex;
}

body .slick-arrow {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

body .slick-arrow::before {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  font-weight: 100;
  color: #000000;
  background-color: transparent !important;
}

@media (max-width: 480px) {
  body .slick-arrow::before {
    font-size: 30px;
  }
}

body .slick-arrow:hover {
  background-color: rgb(255, 255, 255);
}

body .slick-arrow:hover::before,
body .slick-arrow:hover::after {
  opacity: 1;
}

body .slick-arrow.slick-prev {
  left: -70px;
}

@media (max-width: 480px) {
  body .slick-arrow.slick-prev {
    left: -70px;
  }
}

body .slick-arrow.slick-prev::before {
  content: "<";
}

@media (max-width: 480px) {
  body .slick-arrow.slick-prev::before {
    left: unset;
    right: 10px;
    transform: translateY(-50%);
  }
}

body .slick-arrow.slick-next {
  right: -70px;
}

body .slick-arrow.slick-next::before {
  content: ">";
}

@media (max-width: 480px) {
  body .slick-arrow.slick-next::before {
    left: 10px;
    transform: translateY(-50%);
  }
}

body .slick-slider {
  margin-bottom: 50px !important;
}

body .slick-dots {
  position: absolute;
  bottom: -40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

@media (max-width: 480px) {
  body .slick-dots {
    gap: 5px;
  }
}

body .slick-dots li {
  width: 130px;
  height: 10px;
  background-color: #ffffff;
}

@media (max-width: 480px) {
  body .slick-dots li {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
  }
}

body .slick-dots li.slick-active {
  background-color: #6f6f6f;
}

body .slick-dots li button {
  display: none;
}

body .slick-dots li button::before {
  content: none;
}

body .latest__more {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}