@charset "UTF-8";

/*-------------------------------------------
詳細全体
-------------------------------------------*/
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0;
}

/*-------------------------------------------
トップ画像
-------------------------------------------*/
.cover_image {
  width: fit-content;
  margin: 0 auto;
}
.cover_image p img {
  max-height: 600px;
  min-height: 400px;
  object-fit: contain;
  border-radius: 0;
  text-align: center;
}

/*-------------------------------------------
説明
-------------------------------------------*/
.article-title {
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 23px;
}
.category {
  text-align: center;
}
.category p {
  display: inline-block;
  background-color: #80c5d6;
  color: #fff;
  padding: 0.3em 0.8em;
  margin: 0.2em;
  border-radius: 20px;
  font-size: 0.85em;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 20px;
  padding-left: 1em;
}
.article-body h3:not(:first-child) {
  margin-top: 50px;
}
.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.url {
  color: #80c5d6; 
  text-decoration: underline;
  transition: color 0.3s ease;
}
.url:hover {
  color: #05a3cb;
  text-decoration: none; 
}

/*-------------------------------------------
詳細画像
-------------------------------------------*/
.detail-images-box {
  /*text-align: center;
   background-color: #FFFDF0;
  background:
    linear-gradient(to right, rgba(128, 197, 214, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(128, 197, 214, 0.18) 1px, transparent 1px);
  background-size: 20px 20px; */
  padding: 60px 60px 0;

  background-color: #ecf3f3;
  text-align: center;
  overflow: hidden;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #fcfcfc calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #fcfcfc calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.detail-images-box img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  margin-bottom: 60px;
}
.detail-image {
  border-radius: 0;
  /* width: 800px; */
  max-height: 800px;
}

.scroll-image-box {
  max-height: 500px;
  overflow-y: auto;
  margin: 0 auto 60px;
  width: 100%;
  max-width: 800px;
}

.scroll-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.scroll-label {
  margin-bottom: 20px;
}

.obi-images-box {
  display: flex;
  gap: 60px;
  justify-content: center;
}
.obi-image {
  max-height: 800px;
}

.insta-image {
  height: 90vh;
  object-fit: cover;
  margin: 50px 0;
}

.nav-label {
  margin: 20px;
}
.navigation-links {
  text-align: center;
  margin: 100px auto 0;
}

/*-------------------------------------------
次へ誘導
-------------------------------------------*/
.line-with-dot {
  width: 0.8px;
  height: 100px;
  background-color: #ccc;
  position: relative;
  margin: 80px auto;
}
.line-with-dot .dot {
  width: 10px;
  height: 10px;
  background-color: #80c5d6;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: move-dot-vert 2s ease forwards infinite;
}
@keyframes move-dot-vert {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  100% {
    top: 100%;
    opacity: 1;
  }
}

/*-------------------------------------------
次へ
-------------------------------------------*/
.thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}
.thumbnail-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}
.thumbnail-wrapper .info {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.6s ease;
}
.thumbnail-wrapper:hover .info {
  opacity: 1;
}
.nav-thumbnail {
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
  height: auto;
}
.thumbnail-wrapper:hover .nav-thumbnail {
  transform: scale(1.1);
}

/*-------------------------------------------
一覧へ戻る
-------------------------------------------*/
.home-link {
  padding-top: 80px;
  margin: 0 auto 6em;
  width: 100%;
}
.home-link .btn {
  margin: 0 auto;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 767px) {

  .article-body {
    padding: 20px;
  }
  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }
  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }
  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .detail-images-box {
    padding: 20px;
    box-shadow: none;
  }
  .detail-images-box img {
    box-shadow: none;
    margin: 20px 0;
  }
  .insta-image {
    width: 90vw;
    height: auto;
    object-fit: contain;
  }
  .obi-images-box {
    display: block;
  }
  .navigation-links {
    margin: 100px 20px 0;
}
}
