@charset "UTF-8";
* {
  color: #232423;
  font-family: "BIZ UDGothic", sans-serif;
  line-height: 1.5rem;
  letter-spacing: 0.2rem;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}

/* マウスストーカー ----------------------------------------------------*/
.star {
  position: fixed;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  background: url("../img/shiso.png") 50% 50% no-repeat;
  background-size: contain;
  z-index: 2;
  animation: star 2s ease-in-out infinite;
  transform-origin: top left;
}

@keyframes star {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    transform: translateY(300px) rotate(-720deg);
    opacity: 0;
  }
}
/* =========================
   ダウンロードページ
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #cfe8e8;
}

/* ---------- 全体 ---------- */

.coloring {
  width: min(95%, 1400px);
  margin: 50px auto 80px;
}

/* ---------- タイトル ---------- */

.page-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.page-title h1 {
  font-size: clamp(30px, 2vw, 42px);
  font-weight: 400;
  white-space: nowrap;
}

.page-title img {
  width: 55px;
  flex-shrink: 0;
}

/* ---------- 2カラム ---------- */

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

/* ---------- セクション ---------- */

section {
  background: #fff;
  border-radius: 25px;
  padding: 30px;
  min-width: 0;
}

section h2 {
  text-align: center;
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 400;
  margin-bottom: 35px;
}

/* ---------- カード ---------- */

.card {
  display: flex;
  align-items: center;
  gap: 25px;

  border: 3px solid #bfe6e6;
  border-radius: 15px;

  padding: 20px;
  margin-bottom: 30px;

  min-width: 0;
}

/* ---------- サムネ ---------- */

.thumb {
  width: 180px;
  flex: 0 0 180px;
}

.thumb img {
  width: 100%;
  aspect-ratio: 1/1;

  object-fit: contain;
  display: block;

  cursor: pointer;
  transition: 0.25s;
}

.thumb img:hover {
  transform: scale(1.03);
}

/* ---------- テキスト ---------- */

.info {
  flex: 1;
  min-width: 0;
}

.info h3 {
  font-size: clamp(22px, 1.5vw, 30px);
  margin-bottom: 15px;
}

.info p {
  font-size: clamp(18px, 1.1vw, 24px);
  margin-bottom: 25px;

  overflow: hidden;
  text-overflow: ellipsis;
}

.info a {
  display: block;

  font-size: clamp(16px, 1vw, 20px);

  margin-bottom: 10px;

  transition: 0.2s;
}

.info a:hover {
  color: #00a7a7;
}

/* ---------- ご利用について ---------- */

.notes {
  width: min(95%, 1200px);

  margin: 70px auto;

  background: #f8f8f8;

  border-radius: 20px;

  padding: 35px;
}

.notes h2 {
  text-align: center;

  color: #4d6b33;

  margin-bottom: 25px;
}

.notes ul {
  list-style: disc;

  padding-left: 25px;

  line-height: 2;
}

/* topへ戻る  */
.back-top {
  text-align: center;
  margin: 60px 0 40px;
}

.back-top a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #7bbf6a;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: 0.3s;
}

.back-top a:hover {
  opacity: 0.7;
}

/* ---------- タブレット ---------- */

@media (max-width: 1100px) {
  .columns {
    gap: 25px;
  }

  section {
    padding: 20px;
  }

  .card {
    gap: 18px;
    padding: 15px;
  }

  .thumb {
    width: 150px;
    flex-basis: 150px;
  }
}

/* ---------- スマホ ---------- */

@media (max-width: 900px) {
  .columns {
    grid-template-columns: 1fr;
  }

  .page-title {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .page-title h1 {
    white-space: nowrap;
    font-size: clamp(22px, 5vw, 30px);
    text-align: center;
  }

  .page-title img {
    width: 40px;
    flex-shrink: 0;
  }

  .card {
    flex-direction: column;
    text-align: center;
  }

  .thumb {
    width: 220px;
    flex-basis: auto;
  }

  .info p {
    overflow: visible;
  }
}

/* ===== モーダル ===== */

.modal {
  display: none;

  position: fixed;

  inset: 0;

  z-index: 9999;

  background: rgba(0, 0, 0, 0.8);

  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.close {
  position: absolute;

  top: 20px;
  right: 30px;

  color: #fff;

  font-size: 42px;

  cursor: pointer;

  font-weight: bold;
}

#caption {
  color: #fff;

  margin-top: 20px;

  font-size: 20px;
}
