@charset "UTF-8";
/* CSS Document */
/* ========================================
   Recipe
======================================== */
.onayami {
  position: relative;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
  color: #292519;
  box-sizing: border-box;
}
.onayami *, .onayami *::before, .onayami *::after {
  box-sizing: border-box;
}
.onayami__inner {
  position: relative;
  z-index: 2;
  width: min(580px, calc(100% - 80px));
  margin: 0 auto 60px;
}
/* ========================================
   メインコンテンツ
======================================== */
.onayami__content {}
/* ========================================
   スライダー
======================================== */
.onayami__slider-area {
  min-width: 0;
}
.onayami-slider {
  width: 100%;
  overflow: visible;
}
.onayami-slider .swiper-wrapper {
  align-items: stretch;
}
.onayami-slider .swiper-slide {
  height: auto;
}
/* ========================================
   お悩みカード
======================================== */
.onayami-card {
  overflow: hidden;
  border-radius: 36px;
  background: #fffaf0;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.onayami-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
}
.onayami-card__image {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #ECECEC;
}
.onayami-card__image img {
  display: block;
  width: auto;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.onayami-card__number {
  position: absolute;
  top: 23px;
  left: 23px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}
.onayami-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 22px;
}
.onayami-card__title {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 17px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.04em;
}
.onayami-card__more {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  margin-top: 38px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}
.onayami-card__arrow {
  position: relative;
  display: block;
  width: 25px;
  height: 8px;
}
.onayami-card__arrow::before {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 25px;
  height: 1px;
  background: currentColor;
  content: "";
}
.onayami-card__arrow::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
  content: "";
}
/* ========================================
   スライダー操作部分
======================================== */
.onayami__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.onayami__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
}
.onayami__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #292519;
  opacity: 0.25;
  transition:
    width 0.35s ease, opacity 0.35s ease;
}
.onayami__pagination .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 100px;
  opacity: 1;
}
.onayami__buttons {
  display: flex;
  gap: 10px;
}
.onayami__button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(41, 37, 25, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #292519;
  cursor: pointer;
  transition:
    color 0.3s ease, background-color 0.3s ease;
}
.onayami__button:hover {
  background: #292519;
  color: #fffaf0;
}
.onayami__button span {
  position: relative;
  display: block;
  width: 17px;
  height: 10px;
}
.onayami__button span::before {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  content: "";
}
.onayami__button span::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
}
.onayami__button--prev span::before {
  left: 0;
}
.onayami__button--prev span::after {
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.onayami__button--next span::before {
  right: 0;
}
.onayami__button--next span::after {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}
/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 700px) {
	.onayami__inner {
  margin: 0 auto 30px;
}
	
  .onayami {
    padding: 70px 0;
  }
  .onayami__content {
    display: block;
  }
  .onayami-slider {
    overflow: visible;
  }
  .onayami-card {
    border-radius: 23px;
  }
  .onayami-card__link {
    display: block;
    min-height: 0;
  }
  .onayami-card__image {
    min-height: 0;
    aspect-ratio: 4 / 2;
  }
  .onayami-card__image img {
    width: auto;
    height: 100%;
    margin: 0 auto
  }
  .onayami-card__body {
    padding: 27px 23px 28px;
  }
  .onayami-card__title {
    font-size: 21px;
    line-height: 1.65;
  }
  .onayami-card__more {
    margin-top: 25px;
  }
  .onayami__button {
    width: 47px;
    height: 47px;
  }
}
/*==============================================================*/
/*popup template design*/
.popup-background {
  /*position size*/
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  /*design*/
  background-color: gray;
  opacity: 0.5
}
.popup {
  z-index: 101;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  min-width: 320px;
  height: auto;
  max-height: 99vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 3px 1px gray;
  padding: 40px;
  box-sizing: border-box;
  margin-top: 30px
}
.popup img {
  width: 200px
}
@media (max-width: 768px) {
  .popup {
    width: 99%;
    min-width: 0;
    padding: 26px 5px 20px;
    border-radius: 8px;
  }
  .popup img {
    width: 100px
  }
}
.popup > .close-button {
  /*position size*/
  --size: 20px;
  position: absolute;
  top: 50px;
  right: 40px;
  left: auto;
  /*design*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: gray;
  font-size: var(--size);
  border-radius: calc(var(--size)/5);
  font-weight: bold;
  background: rgba(240, 240, 240, 1.00);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.popup > .close-button:hover {
  /*design*/
  color: rgba(255, 0, 4, 1.00);
}
.popup > .content {
  padding: 10px;
}
/*hide popup*/
.popup-flag {
  display: none;
}
.popup-flag:not(:checked) + .popup-background {
  display: none;
}
.popup-flag:not(:checked) + * + .popup {
  display: none;
}
@media(max-width:768px) {
  .popup > .close-button {
    top: 20px;
    right: 10px;
    left: auto;
    z-index: 1000
  }
}
/*==============================================================*/
ポップアップ トーク /*==============================================================*/
.chat {
  max-width: 800px;
  margin: auto;
  padding: 30px 20px;
  background: #f3f4f6;
  border-radius: 20px;
}
.chat-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}
.chat-item img {
  width: 100px;
  height: 130px
}
.chat-item.right {
  justify-content: flex-end;
}
.chat-icon {
  width: 40px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}
.chat-tittle {
  font-weight: 600;
  line-height: 1.4em;
  margin: 10px 0;
  font-size: 1.05em
}
.chat-body {
  margin-left: 12px;
  max-width: 80%;
}
.chat-name {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.chat-balloon {
  position: relative;
  display: inline-block;
  padding: 14px 18px 10px;
  border-radius: 18px;
  line-height: 1.8;
  font-size: 16px;
  background: #EEEEEE;
}
/* 左吹き出し */
.left .chat-balloon::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent #EEEEEE transparent transparent;
}
/* 右 */
.chat-item.right .chat-balloon {
  background: #95ec69;
  order: 1;
  margin-right: 12px;
}
.chat-item.right .chat-icon {
  order: 2;
}
.chat-item.right .chat-balloon::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 18px;
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #95ec69;
}
@media(max-width:768px) {
  .chat {
    padding: 10px 8px;
  }
  .chat-icon {
    width: 32px;
    height: 32px;
  }
  .chat-item img {
    width: 80px;
    height: 100px
  }
  .chat-body {
    max-width: 80%;
  }
  .chat-balloon {
    font-size: 15px;
    padding: 10px 10px 3px;
  }
}




		.button-54 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 220px;
    margin: 0 auto 20px;
    background-color: #F6F1F1;
	border-radius: 5px;
    color: #4C4C4C;
    font-size: 0.7em;
}

.button-54::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #4C4C4C;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.button-54:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}