/* ===============================
   Reset & Base
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html, body {
  width: 100%;
  /* ページ全体を縦中央にするのではなく、中身に応じて伸ばす */
  min-height: 100%; 
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
}

main {
  text-align: center;
  position: relative;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   Header / Logo
================================ */
.mpf_titlelogo {
  width: 240px;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  z-index: 50;
}

/* ===============================
   Top Visual (#top)
================================ */
#top {
  position: relative;
  width: 100%;
  min-height: 480px; /* PCでの最低高さ */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.top_bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    145deg,
    #00a4e3 10%,
    #7dc4e8 38%,
    #a3c31b 75%,
    #e5e024 90%
  );
  z-index: 1; /* 重なり順の起点 */
}

.top_poligon {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 必要に応じてポリゴン装飾をここへ */
}

#topsvg {
  position: relative; /* 背景の上に載せる */
  z-index: 10;
  width: 75%;
  width: min(75%, 800px);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

#topsvg img {
  max-width: 90%;
  height: auto;
  max-height: 600px;
  /* box-shadowは画像自体ではなく背景等で制御するのが一般的ですが、残す場合は以下 */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* ===============================
   Catch Copy
================================ */
.catchcopy {
  font-size: 1.5rem;
  width: 90%;
  max-width: 1000px;
  margin: 80px auto 0px;
  line-height: 1.8;
}

.catchcopy2 {
  font-size: 1.8rem;
  margin: 20px auto 30px;
  display: inline-block;
  position: relative;
  z-index: 2;
  /* background: linear-gradient(transparent 60%, rgba(246, 19, 201, 0.3) 40%); */
  padding: 0 10px 5px;
}

/* ===============================
   Section Image (Yellow Cut)
================================ */
.section_image {
  position: relative;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.section_image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #abdcf8;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  z-index: 0;
}

.image_bg {
  position: relative;
  z-index: 1;
  width: 100%;
}

.plan {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.plan img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===============================
   Place Table (ご要望のスタイル)
================================ */
.place-table {
  width: min(90%, 800px); 
  margin: 100px auto; /* 上下余白でブラウザ中央付近へ誘導 */
  border-collapse: collapse;
  background: #fff;
}

.place-table th {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  padding: 18px 15px;
  width: 120px;
  text-align: center; /* 項目中央揃え */
  font-weight: 600;
  font-size: 0.95rem;
}

.place-table td {
  border: 1px solid #ddd;
  padding: 18px 20px;
  text-align: left; /* 内容左揃え */
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===============================
   Buttons & Footer
================================ */
.mininotice {
  margin: 50px auto;
}

.btn {
  display: inline-block;
  width: 280px;
  height: 64px;
  line-height: 64px;
  border-radius: 32px;
  background-color: #1b85fb;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 5px 0 #1567c3;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #1567c3;
}

.notice {
  padding: 20px;
  background: #d4f2f3;
  width: fit-content;
  margin: 0 auto;
  border-radius: 5px;
}

footer {
  margin-top: 100px;
  padding: 60px 20px;
  background: #f9f9f9;
}

.instagram img {
  width: 40px !important;
  margin: 20px auto;
}

.copy {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #888;
}

/* ===============================
   PC / SP Visibility Logic
================================ */
/* PC用の表示設定（初期状態） */
/* PC用の表示設定（初期状態） */
.sp {
  display: none;
}

/* 480px以下の設定 */
@media screen and (max-width: 767px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;

  }

  #top {
    min-height: 200px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    text-align: center;
  }

  .top_bg {
    height: 300px;
  }
}

