@charset "UTF-8";

/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* ぱんくず記事名表示 */
.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
  display: block;
}

/* お客様お礼ページ */
.foryou-archive {
  background: url(img/bg_foryou.png);
  background-attachment: fixed;
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

.foryou-archive__title {
  border-left: solid 2px var(--color_main);
  padding: 0em .75em;
  margin-bottom: 1em;
  display: flex;
  justify-content: space-between;
}

.foryou-archive__title-link {
  display: flex;
  align-items: center;
  flex-grow: 1;
}


.foryou-archive .c-balloon__text {
  max-width: 100%;
}

.foryou-archive__commentnum {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  padding: 0 2.5em 0 1em;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 12px;
  text-decoration: none;
  transition: .2s;
  box-sizing: border-box;
  width: fit-content;
}

.foryou-archive__commentnum span {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background-color: var(--color_main);
  border-radius: 100%;
  color: #fff;
  font-size: 11px;
  transition: .2s;
}

.foryou-single {
  background-color: #fff;
  background-image: url(img/bg_foryousingletop.png), url(img/bg_foryousingle.png);
  background-attachment: fixed;
  background-size: contain;
  background-position: top 40% left, bottom right;
  background-repeat: no-repeat, no-repeat;
  position: relative;
  padding: 30px 20px;
}

.foryou-single::before,
.foryou-single::after {
  content: '';
  position: absolute;
  bottom: 10px;
  width: 40%;
  height: 10px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.7);
  z-index: -1;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.foryou-single::before {
  left: 15px;
  -webkit-transform: skew(-5deg) rotate(-5deg);
  -ms-transform: skew(-5deg) rotate(-5deg);
  transform: skew(-5deg) rotate(-5deg);
}

.foryou-single::after {
  right: 15px;
  -webkit-transform: skew(5deg) rotate(5deg);
  -ms-transform: skew(5deg) rotate(5deg);
  transform: skew(5deg) rotate(5deg);
}

.foryou-single:hover::before,
.foryou-single:hover::after {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.foryou-single .c-postTitle__ttl {
  text-align: center;
  font-weight: normal;
}

.foryou-single .post_content {
  margin-top: 20px;

}

.foryou-single-link {
  text-align: center;
  margin-top: 30px;

}

.p-foryoulist {
  flex-wrap: wrap;
  margin-bottom: 1.2em;
}

.p-foryoulist .c-balloon__body {
  width: calc(100% - 60px);
  flex-basis: auto;

}

.p-commentArea__notice {
  font-size: var(--swl-fz--small);
  margin-bottom: 1em;
}

@media not all and (min-width: 600px) {
  .foryou-single .c-balloon__text {
    font-size: .8365em;
  }

  .foryou-single .p-foryoulist .c-balloon__body {
    padding-right: 0;

  }
}

@media (min-width: 600px) {
  .p-foryoulist .c-balloon__body {
    width: calc(100% - 80px);
  }
}

.comment-author .avatar {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}