@charset 'UTF-8';

/* destyle.css リセット----------------------------------- */

h2 {
  line-height: 1.15;
}
body {
  line-height: 1.15;
}
header,
footer {
  line-height: 1.7;
}

/* 共通----------------------------------- */

html {
  scroll-behavior: smooth;
}

.taiken-page {
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #282828;
  font-size: 14px;
  animation: fade 2s forwards;
}
@media (min-width:768px) {
  .taiken-page {
    font-size: 16px;
  }
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

p{
  line-height: 1.7;
  color: #333;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
a{
  text-decoration: none;
  color: #fff;
}
ul{
  list-style: none;
}
.wrapper{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

@media (min-width:768px) {
  .wrapper{
    max-width: 800px;
  }
}

.en{
  font-family: "Marcellus SC", serif;
  font-weight: 400;
  font-style: normal;
}

/* メインビジュアル */
.taiken_spmv{
  background: url('../img/taiken/mv_sp.webp')no-repeat center top / cover;
  height: 100svh;
}
.taiken_pcmv{
  display: none;
}

@media (min-width:768px) {
  .taiken_spmv{
    display: none;
  }
  .taiken_pcmv{
    display: block;
    background: url('../img/taiken/mv_pc.webp')no-repeat center top / cover;
    height: 100svh;
  }
}

/* 記事見出し */
.taikentop{
  background: #f7f7f7;
  padding: 30px 0 40px;
  margin-bottom: 50px;
}
.taikentop-container{
  background: #fff;
  padding: 24px 16px;
  margin: auto 4% ;
}

.taikentop-container h2{
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
  display: inline-block;
}
.taikentop-text{
  margin: 10px auto 30px;
}

@media (min-width:768px) {
  .taikentop{
    text-align: center;
    padding: 80px 0 80px;
    margin-bottom: 80px;
  }

  .taikentop-container{
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    align-items: center;
    padding: 30px 40px;
    margin: 0 auto ;
  }
  .taiken-textbox{
    width: 50%;
    text-align:left
  }
  .taikentop-photo{
    width: 45%;
  }
    .taikentop-text{
    text-align: justify;
    margin: 20px auto 0;
  }
}

/* 写真 */
.img-mb{
  margin-bottom: 20px;
}

/* 説明文 */
.step-text{
  margin: 20px auto 30px;
}
@media (min-width:768px) {
  .step-text{
  margin: 30px auto 40px;
}
}

/* 吹き出しコメント */
.step-comment{
  margin: 30px auto;
}

.voice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.voice img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.bubble {
  padding: 12px 12px;
  border-radius: 1rem;
  position: relative;
  line-height: 1.6;
}
.bubble-box{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble-small{
  font-size: 10px;
  margin-top: 5px;
}

/* 左側 */
.voice.left .bubble {
  background: #f1f1f1;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

/* 右側 */
.voice.right {
  flex-direction: row-reverse;
  margin-top: 20px;
}
.voice.right .bubble {
  background: #f1f1f1;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

@media (min-width:768px) {
  .step-comment{
  margin: 30px 30px;
}
  .voice {
  gap: 30px;
  }
  .voice img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  }
  .bubble-box{
    gap: 20px;
  }

  .voice.right{
  margin-top: 30px;
}

  .bubble-small{
  font-size: 12px;
  }
  .bubble-center{
    align-items: center;
  }
}

/* 最後の締め */

.closing-cta{
  margin: 50px auto 0;
  background: #f7f7f7;
  padding: 40px 0;
  position: relative;
}

.closing-cta h2{
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.closing-cta p{
  text-align: justify;

}
.btn-position {
  text-align: center;
}
.closing-cta .btn {
  display: inline-block;
  margin:20px auto;
  padding: 16px 26px;
  background: #637B61;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}


@media (min-width:768px) {
  .closing-cta{
  margin: 80px auto 0;
  padding: 60px 0;
  }
  .closing-cta h2{
  font-size: 32px;
  margin-bottom: 30px;
  }
  .closing-cta p{
    font-size: 16px;
  }

  .closing-cta .btn {
  padding: 16px 26px;
  transition: all 0.3s ease;
  margin-top: 30px;
  }
  .closing-cta .btn:hover {
  background: #333;
  }
}

/* アニメーション */
.fadein{
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s 0.2s;
}
.fadein.loaded{
  opacity: 1;
}
.slidein{
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.0s 0.1s;
}
.slidein.scrollin{
  opacity: 1;
  transform: translateY(0);
}