@charset "utf-8";

.section {
  display: flex;
  justify-content: center;
  align-items: center; /* ← これが中央揃えのキー */
  height: 100vh;
}


.section img.logo-detail-image {
  max-width: 90%;  /* ロゴ大きめ */
  height: auto;
  transform: scale(0.9);
  opacity: 0;
  animation: fadeZoomIn 1.2s ease forwards;
  animation-delay: 0.5s;
}

.section img.mok-div-image {
  max-width: 80%;  /* ← サイズはOK */
  max-height: 80vh;  /* ← 画面に対して中央になる！ */
  height: auto;
  object-fit: contain; /* ← 画像が切れない */
}


@keyframes fadeZoomIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logo-detail-info-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 100px 40px;
  box-sizing: border-box;
  position: relative;
}

.logo-detail-info-inner {
  display: flex;
  max-width: 1400px;
  width: 100%;
  gap: 80px;
  align-items: center;
}

.logo-detail-info-left img {
  max-width: 600px;
  height: auto;
}

.logo-detail-info-right {
  flex: 1;
  background-color: #fff;
  padding: 0 30px 40px; 
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  color: #222;
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #ccc;
  flex-wrap: wrap;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.meta-data {
  font-size: 14px;
  color: #999;
}

.client-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.client-info p {
  font-size: 16px;
  line-height: 1.8;
}

.concept-text p {
  font-size: 16px;
  line-height: 1.8;
}


/* back to top */
.back-to-top {
  position: absolute;
  bottom: 7%;
  right: 5%;
  display: flex;
  align-items: center;
}

.back-to-top .back-line {
  display: block;
  width: 100px;
  height: 1px;
  background-color: #222;
  margin-right: 20px;
  transform-origin: left; /* ← 左から伸びる */
  transform: scaleX(0);
  animation: backTopLineScale 1s ease forwards;
  animation-delay: 3s;
}

.back-to-top a {
  text-decoration: none;
  color: #222;
  font-size: 20px;
  opacity: 0;
  animation: backTopText 0.5s ease forwards;
  animation-delay: 4s;
}

@keyframes backTopLineScale {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes backTopText {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1000px) {
  .section img.logo-detail-image,
  .section img.mok-div-image {
    max-width: 90%;
    height: auto;
  }

  .logo-detail-info-inner {
    flex-direction: column;
    gap: 40px;
  }

  .logo-detail-info-left img {
    max-width: 100%;
    height: auto;
  }

  .logo-detail-info-divider {
    display: none;
  }

  .logo-detail-info-right {
    width: 100%;
    padding: 20px;
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
    text-align: center;
  }

  .meta-data {
    font-size: 12px;
    text-align: center;
    margin-top: 8px;
  }

  .client-info h3,
  .concept-text h3 {
    font-size: 16px;
    text-align: center;
  }

  .client-info p,
  .concept-text p {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  .back-to-top {
    position: static;
    margin: 40px auto 0;
    justify-content: center;
  }

  .back-to-top .back-line {
    display: none;
  }

  .back-to-top a {
    font-size: 16px;
    opacity: 1;
    animation: none;
    margin-bottom: 24px;
  }
}