@charset "utf-8";
/* CSS Document */

/* -------------------------------------------------------------------
*
*
*  mypage.css
*
*
* ---------------------------------------------------------------- */

/* -------------------------------------------------------------------
変数宣言
* ---------------------------------------------------------------- */
:root {
  --pc-inner-width: 1200px;
  --sp-inner-width: 100%;
  --sp-inner-padding: 15px;

  --dark-blue: #005eAB;
  --blue:#00ABEB;
  --right-blue: #E6F5FB;
  --right-red: #FF8394;
}


/* 基本の設定※ローカル用 */
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  margin: 0 auto;
  min-width: var(--pc-inner-width);
  font-family: "YakuHanJP", "Noto Sans JP", sans-serif, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Helvetica Neue", "Helvetica", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text_color);
}

/*--SP--*/
@media only screen and (max-width: 767px) {
  body {
    min-width: var(--sp-inner-width);
    flex-wrap: wrap;
  }
}

/* ヘッダー
* ---------------------------------------------------------------- */
#header{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  background: #FFFFFF;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 20;
  user-select: none;
}
#header > img{
  width: 200px;
  height: auto;
}

/*--SP--*/
@media only screen and (max-width: 767px) {
  #header{
    height: 60px;
  }
  #header > img{
    width: auto;
    height: 80%;
  }
}


/* ファーストビュー
* ---------------------------------------------------------------- */
#mv-wrapper{
  padding-bottom: 10px;
  background: var(--right-blue);
  user-select: none;
}

.mv-box{
  position: relative;
  background: #FFF;
}

.mv-box > .title-box{
  width: 460px;
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.mv-box > .bg-box{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  overflow: hidden;
}
.mv-box > .bg-box > .bg{
  position: relative;
}
.mv-box > .bg-box > .bg > img{
  position: relative;
  left: 50%;
  transform:translateX(-50%);
}

.pc-sp-img-box{
    margin-top: -190px;
    width: fit-content;
    display: flex;
    gap: 40px;
    position: relative;
    left: 49%;
    transform: translateX(-50%);
    z-index: 10;
}
.pc-sp-img-box > img{
  height: 210px;
  align-self: flex-end; user-select: none;
}

/* アーチの装飾 */
.arch-section {
  display: block;
  width: 100%;
  min-width: var(--pc-inner-width);
  position: absolute;
  top: 420px;
  display: block;
  z-index: 5;
}
.section-arch {
  width: 100%;
  height: 100px;
  position: relative;
  bottom: -2px;
}
.section-rect {
  background: #E6F5FB;
  height: 50px; /* 好きな高さに調整 */
}

.global-menu{
  margin: 30px auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1200px;
  height: 80px;
  background: #FFFFFF;
  box-shadow: 0px 0px 12px rgba(0, 94, 171, 0.12);
  border-radius: 50px;
  list-style: none;
  overflow: hidden;
}
.global-menu__item{
  width: calc(100% / 4);
  height: inherit;
  position: relative;
}
.global-menu__item:not(:last-child):after{
  content: '';
  width: 2px;
  height: 40px;
  background: #E6F5FB;
  border-radius: 12px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.global-menu__item > a{
  display: block;
  width: 100%;
  padding: 10px 0 22px;
  max-height: inherit;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
  position: relative;
  user-select: none;
}
.global-menu__item > a:hover{
  background: #E6F5FB;
  transition: .3s;
}
.global-menu__item > a::after{
  content: '';
  width: 18px;
  height: 10px;
  background: url(../img/arrow_s_b.svg) no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.global-menu__item > a > span{
  color: var(--blue);
}

/*--SP--*/
@media only screen and (max-width: 767px) {
  #mv-wrapper{
    padding: 0 var(--sp-inner-padding) 30px;
    box-sizing: border-box;
    overflow: hidden;
    background: #FFF;
  }
  .mv-box{
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .mv-box > .bg{
    width: 100%;
    height: 300px;
    object-fit: cover;
    overflow: hidden;
  }
  .mv-box > .bg-box > .bg > img{
    height: 300px;
  }
  .mv-box > .title-box{
    width: 88vw;
    max-width: 360px;
    top: 390px;
  }
  .pc-sp-img-box{
    top: -60px;
  }
  .pc-sp-img-box > img{
    height: 260px;
  }
  .global-menu{
    margin: 110px auto 20px;
    width: 100%;
    height: fit-content;
    flex-wrap: wrap;
    border-radius: 12px;
    position: relative;
    z-index: 20;
  }
  .global-menu__item{
    width : calc(100% / 2);
  }
  .global-menu__item > a{
    padding: 15px 0;
    font-size: 15px;
    letter-spacing: 0;
  }
  .global-menu__item > a::after{
    top: 50%;
    right: 5%;
    left: auto;
    transform: translateY(-50%);
    width: 16px;
    height: 8px;
  }
  .global-menu__item:nth-child(2):after{
    content: none;
  }

  /* アーチの装飾 */
  .arch-section {
    width: 100vw;
    min-width: auto;
    height: 100px;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }
  .section-rect {
    background: #FFF;
    height: 20px;
  }
  .section-arch path{
    fill: #FFF;
  }

}
@media only screen and (max-width: 374px) {
  .global-menu__item > a{
    font-size: 14px;
  }
  .global-menu__item > a::after{
    width: 14px;
    height: 8px;
  }
}


/* コンテンツ共通CSS
* ---------------------------------------------------------------- */
#contents-wrapper{
  padding: 50px 0 0;
  width: 100%;
  background: #E6F5FB;
}
#contents-wrapper > .contents-wrapper__inner{
  margin: 0 auto;
  width: var(--pc-inner-width);
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}
.content-card{
  width: 100%;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0px 0px 12px rgba(0, 94, 171, 0.12);
}
.content-card__inner{
  padding: 80px 100px;
}
.content-card__inner p{
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* 中央揃えのコンテンツ */
.content-type__centered{
  text-align: center;
}

/* 見出し */
.content-card__inner > .h2{
  margin-bottom: 40px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.content-card__inner > .h2::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: var(--blue);
  border-radius: 12px;
}
.content-card__inner > .h2 > h2{
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--dark-blue);
}

/* 小見出しの吹き出し */
.speech-bubble__subheading{
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
.speech-bubble__subheading > img{
  max-width: 100%;
  max-height: 20px;
}

/*--SP--*/
@media only screen and (max-width: 767px) {
  #contents-wrapper{
    margin-top: -220px;
    padding: 220px var(--sp-inner-padding) 0;
    box-sizing: border-box;
  }
  #contents-wrapper > .contents-wrapper__inner{
    width: var(--sp-inner-width);
    gap: 60px;
  }
  .content-card__inner{
    padding: 50px var(--sp-inner-padding) 60px;
  }
  .content-card__inner p{
    font-size: 15px;
    font-weight: 500;
    text-align: left;
  }

  /* 見出し */
  .content-card__inner > .h2 > h2{
    font-size: 30px;
    line-height: 1.4;
    text-align: center;
  }
  .speech-bubble__subheading > img{
    max-height: 50px;
  }
}


/* マイページとは？
* ---------------------------------------------------------------- */

/* 吹き出しコメントの一覧 */
.sb-comment__list{
  padding-bottom: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.sb-comment__item{
  padding: 15px 30px;
  border-radius: 12px;
  width: fit-content;
  background: var(--right-blue);
  position: relative;
}
.sb-comment__item.right{
  background: #D1E8F9;
}
.sb-comment__item.right::after,
.sb-comment__item.left::after{
  content: '';
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-bottom: 30px solid transparent;
  position: absolute;
  bottom: -20px;
}
.sb-comment__item.left::after{
  border-left: 50px solid var(--right-blue);
  left: 50px;
}
.sb-comment__item.right::after{
  border-right: 50px solid #D1E8F9;
  right: 50px;
}
.sb-comment__item > p{
  font-size: 20px;
  font-weight: bold;
  user-select: none;
}

@media only screen and (max-width: 767px) {
  .sb-comment__item > p{
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
  }
}


/* マイページでできること
* ---------------------------------------------------------------- */
#WhatYouCanDo h3{
  margin: 10px 0 15px;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.5;
}
#WhatYouCanDo h3 b{
  color: var(--right-red);
  font-weight: bold;
}
.content-type__column{
    display: flex;
    align-items: center;
    gap: 70px;
    justify-content: space-between;
}
.content-type__column:not(:last-child){
  margin-bottom: 80px;
}
.content-type__column > .text img{
  user-select: none;
}

@media only screen and (max-width: 767px) {
  #WhatYouCanDo h3{
    font-size: 30px;
    line-height: 1.4;
  }
  #WhatYouCanDo .text{
    text-align: center;
  }
  #WhatYouCanDo .text > img{
    width: 50px;
  }
  #WhatYouCanDo .img img{
    margin-bottom: 15px;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 40px 0 40px 0;
  }
  #WhatYouCanDo .img.second img{
    border-radius: 0 40px 0 40px;
  }
  .content-type__column{
    flex-wrap: wrap;
  }
  .content-type__column:not(:last-child){
    margin-bottom: 60px;
  }
}

/* マイページの簡単利用ステップ
* ---------------------------------------------------------------- */
.info-block{
  margin: 0 auto 60px;
  padding: 30px 40px;
  width: 880px;
  background: #F7F9FA;
  border-radius: 12px;
  box-sizing: border-box;
}
.info-block > .info-item{
  text-align: left;
}
.info-block > .info-item.flex{
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-block > .info-item:not(:last-child){
  margin-bottom: 30px;
}
.info-block > .info-item > .info-item__title{
  margin-bottom: 10px;
  padding: 10px;
  width: fit-content;
  display: flex;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  color: #FFF;
  background: #7CACD2;
}
.info-block > .info-item > .info-item__text{
  font-size: 18px;
  font-weight: 500;
}
.info-block > .info-item > .info-item__text > b{
  color: var(--right-red);
}
.info-block > .info-item > .info-item__text > a{
  color: var(--dark-blue);
}
.info-block > .info-item > .info-item__text > a:hover{
  color: var(--right-red);
  transition: .2s;
}
.step-box{
  margin-bottom: 90px;
  position: relative;
}
.step-box::after{
  content: '';
  width: 120px;
  height: 30px;
  background: url(../img/arrow_b.svg) no-repeat center center;
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
}
.step-box.last{
  margin-bottom: 60px;
}
.step-box.last::after{
  content: none;
}
.step-box > .step{
    padding-left: 360px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    height: 88px;
    background: var(--dark-blue);
    color: #FFF;
    position: relative;
}
.step-box > .step > span{
  position: absolute;
  left: 40px;
  font-size: 28px;
  font-weight: bold;
}
.step-box > .step > .icon{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  background: #FFF;
  border: solid 4px var(--dark-blue);
  position: absolute;
  left: 200px;
}
.step-box > .step > p{
  font-size: 22px;
  font-weight: 500;
}
p.highlight-text{
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.highlight-text > b{
  color: var(--right-red);
}
.js-dot > span {
  position: relative;
  display: inline-block;
  text-align: center;
}
.js-dot > span::before {
  content: "・";
  position: absolute;
  top: -0.8em; /* 点の高さ調整 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8em;
  color: currentColor; /* テキストと同じ色 */
}


/* CVボタン */
.btn-wrapper{
  display: flex;
  justify-content: center;
  gap: 40px;
}
.btn-wrapper .btn{
  width: 720px;
  font-size: 28px;
}
.btn-wrapper--double .btn{
  width: 440px;
  font-size: 24px;
  text-align: center;
  line-height: 1.2;
}
.btn-wrapper--double > div{
  width: 440px;
  display:flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.btn-wrapper--double > div > p{
  font-size: 16px;
  font-weight: 500;
}
.btn-wrapper--double > div > p > a{
  color: var(--dark-blue);
}
.btn-wrapper--double > div > p > a:hover{
  color: var(--right-red);
  transition: .2s;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  font-weight: bold;
  letter-spacing: 0.1rem;
  text-decoration: none;
  border-radius: 24px;
  position: relative;
  user-select: none;
}
.btn:hover{
  top: 8px;
  opacity: 0.9;
  box-shadow: none;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 16px;
  height: 28px;
  background: url(../img/arrow_r.svg) no-repeat;
  background-position: center center;
  background-size: contain;
}
.cv-btn {
  color: #FFF;
  background: #FF9545;
  box-sizing: border-box;
  box-shadow: 0px 8px 0px #CA5E0E;
}
.link-btn {
  color: #FFF;
  background: var(--blue);
  box-sizing: border-box;
  box-shadow: 0px 8px 0px #166DB4;
}
.login-btn {
  color: #FFF;
  background: #7CACD2;
  box-sizing: border-box;
  box-shadow: 0px 8px 0px #5986b9;
}


#HowToUse .btn-wrapper{
  margin-top: 30px;
}


/*--SP--*/
@media only screen and (max-width: 767px) {
  .info-block{
    margin: 0 auto 30px;
    padding: 30px var(--sp-inner-padding);
    width: 100%;
  }
  .info-block > .info-item.flex{
    display: block;
  }
  .info-block > .info-item > .info-item__title{
    margin-bottom: 20px!important;
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
  }
  .step-box{
    margin-bottom: 60px;
  }
  .step-box::after{
    bottom: -45px;
  }
  .step-box.last{
    margin-bottom: 40px;
  }
  .step-box > .step{
    padding: 50px 20px;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
  }
  .step-box > .step > span{
    margin-right: 4vw;
    font-size: clamp(20px, 8vw, 28px);
    position: static;
  }
  .step-box > .step > .icon{
    width: 18vw;
    height: 18vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
  }
  .step-box > .step > .icon > img{
    width: 55%;
  }
  .step-box > .step > p{
    margin-top: 20px;
    font-size: clamp(14px, 5vw, 20px);
    line-height: 1.5;
    text-align: center;
  }
  p.highlight-text{
    font-size: clamp(14px, 5vw, 18px);
    text-align: left;
  }
  /* CVボタン */
  .btn-wrapper{
    gap: 10px;
    position: relative;
  }
  .btn-wrapper--double{
    margin-bottom: 40px;
  }
  .btn-wrapper--double .btn{
    width: 50%;
    height: 60px;
    font-size: 16px;
    border-radius: 12px;
  }
  .btn-wrapper .btn{
    font-size: clamp(14px, 3.7vw, 16px);
    letter-spacing: 0;
  }
  .btn-wrapper--double > div{
    width: 50%;
    gap: 15px;
  }
  .btn-wrapper--double > div > .btn{
    width: 100%;
  }
  .btn-wrapper--double > div > p{
    width: 100%;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }
  .btn {
    height: 60px;
    border-radius: 12px;
  }
  .btn::after{
    right: 12px;
    width: 8px;
    height: 14px;
  }
}
@media screen and (max-width: 374px) {
  .btn-wrapper > .btn{
    font-size: 15px;
  }
  .btn-wrapper--double > .btn{
    font-size: 13px;
  }
  .btn::after{
    width: 6px;
    height: 12px;
  }
}



/* 今後のマイページ
* ---------------------------------------------------------------- */
#mypage > .content-card__inner{
  padding-bottom: 0;
}
@media only screen and (max-width: 767px) {
  #mypage .img{
    margin: 40px auto 0;
    width: 80vw;
  }
  #mypage .img > img{
    width: 100%;
  }
}



/* よくあるご質問
* ---------------------------------------------------------------- */
.qa-box {
  margin: 12px 0;
}
.qa-question {
  padding: 30px 20px 30px 80px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #23334D;
  letter-spacing: 0.1rem;
  background: var(--right-blue);
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  box-sizing: border-box;
  position: relative;
  user-select: none;
}
.qa-question:hover {
  opacity: .6;
  transition: .2s;
}
.qa-question::before {
  content: url(../img/Q.svg);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 4px 0 0 4px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.qa-question.active::before {
  border-radius: 4px 0 0 0;
}
.qa-question>div {
  position: relative;
}
.qa-question>div::before {
    content: '';
    position: absolute;
    top: 5%;
    right: 10px;
    width: 20px;
    height: 15px;
    background: url(../img/arrow_b_line.svg) no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate3d(1, 0, 0, 0);
    transition: .3s;
}
.qa-question.active>div::before{
    top: 10%;
    transform: rotate3d(1, 0, 0, 180deg);
}
.qa-answer {
  display: flex;
  max-height: 0;
  padding: 0 20px 0 80px;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: #fff;
  border: solid 1px transparent;
}
.qa-question.active+.qa-answer {
  border-radius: 0 0 4px 4px;
  border: solid var(--border-gray);
  border-width: 0 1px 1px 1px;
}
.qa-answer>.text {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  position: relative;
}
.qa-answer>.text::after {
  content: url(../img/A.svg);
  position: absolute;
  top: 5px;
  left: -53px;
}
.qa-answer>.text > a{
  word-wrap: break-word;
}
.qa-answer>.img {
  width: 40%;
  flex-shrink: 0;
}
.qa-answer>.img img {
  width: 100%;
  height: auto;
}

/*--SP--*/
@media only screen and (max-width: 767px) {

  .qa-question {
    padding: 20px 12vw 20px 13vw;
    font-size: 16px;
    line-height: 1.5;
  }
  .qa-question:hover{
    opacity: 1;
  }
  .qa-question::before {
    width: 13vw;
    height: 100%;
  }
  .qa-question>div::before {
    right: -7vw;
    top: 50%;
    transform: translateY(-50%);
  }
  .qa-question.active>div::before{
    top: 30%;
  }

  .qa-answer{
    padding: 0 4vw 0 16vw;
  }
  .qa-answer>.text::after{
    left: -12vw;
  }
  .qa-answer>.img{
    margin-top: 20px;
    width: 100%;
  }
}





/* footer
* ---------------------------------------------------------------- */
#footer > .footer__inner{
    padding: 80px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--right-blue);
}
#footer > .footer__inner > .img01{
  margin-bottom: 20px;
  width: 440px;
}
#footer > .footer__inner > .img02{
  width: 440px;
}
#footer > .footer__inner > .img02 > img{
  width: 100%;
}
#footer .btn-wrapper{
  margin: 0 0 60px;
}
.footer__copyright{
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00ABEB;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
}
/*--SP--*/
@media only screen and (max-width: 767px) {
  #footer > .footer__inner{
    padding: 40px var(--sp-inner-padding) 0;
  }
  #footer > .footer__inner > .img01{
    margin-top: 40px;
    width: 70vw;
  }
  #footer > .footer__inner > .img01 > img{
    width: 100%;
  }
  #footer > .footer__inner > .img02{
    width: 80vw;
  }
  #footer .btn-wrapper{
    margin-bottom: 30px;
    width: 100%;
  }
  .footer__copyright{
    width: 100vw;
  }
}








/* ANIMATION
* ---------------------------------------------------------------- */

/* 初期状態 */
.mv-box .bg {
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.05);
  transition: opacity 1.2s ease, filter 2s ease, transform 2s ease;
}

.mv-box .title {
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1s ease, transform 1s ease;
}
@media only screen and (max-width: 767px) {
  .mv-box .title {
    transform: translateY(50px);
  }
}

.pc-sp-img-box .left,
.pc-sp-img-box .right {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 1s ease, transform 1s ease;
}

.pc-sp-img-box .left {
  transform: translateX(-50px);
}

.pc-sp-img-box .right {
  transform: translateX(50px);
}
@media only screen and (max-width: 767px) {
  .pc-sp-img-box .right {
    transform: translateY(-50px);
  }
}

/* 表示状態 */
.mv-box.show .bg {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.mv-box .title.show {
  opacity: 1;
  transform: scale(1);
}

.pc-sp-img-box.show .left {
  opacity: 1;
  transform: translateX(0);
}

.pc-sp-img-box.show .right {
  opacity: 1;
  transform: translateX(0);
}


/* スクロールアニメーション */
.element {
  transition: opacity 0.7s, transform 0.7s;
  transition-delay:.5s;
  transform: translateY(150px);
  opacity: 0;
}

.is-fadein {
  transform: translateX(0);
  opacity: 1;
}

.comment-anim {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 左コメントは左から登場 */
.comment-anim.left {
  transform: translateX(-40px);
}

/* 右コメントは右から登場 */
.comment-anim.right {
  transform: translateX(40px);
}

/* アニメーション後の共通状態 */
.comment-anim.is-fadein {
  opacity: 1;
  transform: translateX(0);
}

















  /* 要素の切り替え
* ---------------------------------------------------------------- */
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }

  @media only screen and (max-width: 767px) {
    .pc {
      display: none;
    }

    .sp {
      display: block;
    }
  }