/* メインコンテンツのスタイル */
.main {
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 20%;
}

.page-title {
  font-size: 3rem;
  margin: 20px auto;
  color: #fff;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  width: fit-content;
  padding: 15px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-title:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

.article_title {
  background-color: #fff;
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.5em;
  color: #333;
  border-radius: 50px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.article_title::before,
.article_title::after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  z-index: -1;
}

.article_title::before {
  width: 50px;
  height: 50px;
  top: -20px;
  left: 10px;
}

.article_title::after {
  width: 60px;
  height: 60px;
  top: -30px;
  right: 10px;
}

.content-box {
  background-color: #fff4eb;
  margin: 10px auto;
  padding: 30px;
  width: 60%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border: 5px solid #c7644b;
}

.content {
  text-align: left;
  font-size: 1.2rem;
  color: #555;
}

.content_title {
  position: relative;
  font-size: 1.5em;
  color: #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.content_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 3px;
  background-color: #ff6347;
  border-radius: 2px;
}

.emp {
  background: linear-gradient(transparent 55%, #fbd5e8 25%);
}

.img_box,
.video_box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img_box img {
  max-width: 80%;
  height: auto;
}

.video_box iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.left-align {
  text-align: left;
}
.to_kikaku {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 60%;
    margin: 25px auto ;
    padding: 0.8rem 2rem;
    border-radius:  0.3rem;
    border-bottom: 7px solid #fbd5e8;
    background-color: #f8a9d1;
    font-size: 15px;
    color: #ffffff;
    font-weight: bold;
    white-space: nowrap;

}

.to_kikaku:hover {
    border-bottom: 7px solid #f8a9d1;
    transform: translateY(4px);
}

/* スマホ (最大767px) */
@media (max-width: 767px) {
  .page-title {
    font-size: 2rem; /* タイトルを小さく */
    padding: 10px 20px;
  }

  .content-box {
    width: 80%; /* 幅を広げる */
    padding: 20px;
  }
}

/* タブレット (768px～991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .page-title {
    font-size: 2.5rem; /* タイトルを中間サイズに */
    padding: 12px 25px;
  }

  .content-box {
    width: 80%; /* 幅を調整 */
    padding: 25px;
  }
}

/* PC (992px以上) */
@media (min-width: 992px) {
  .page-title {
    font-size: 3rem; /* タイトルを大きく */
    padding: 15px 30px;
  }

  .content-box {
    width: 60%; /* 幅を狭める */
    padding: 30px;
  }
}
