@charset "utf-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  background-color: #fff;
  font-size: 18px;
  color: #363535;
  text-align: center;
  background-color: #F5F9FF;
}

img {
  max-width: 100%;
}

/* ---ヘッダー--------------------------- */


.logo-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 30px;
}

.container {
  border: 5px solid #AEC1E3;
  padding: 30px;
  max-width: 900px;
  width: 90vw;
  margin: 40px auto;
  border-radius: 10px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* ----ナビゲーション-------------------------- */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

nav ul li {
  flex: 1;
  max-width: 150px;
}

nav ul li a {
  display: block;
  width: 100%;
  padding: 10px 0;
  margin-bottom: 10px;
  background-color: #AEC1E3;
  color: #fff;

  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul li:nth-child(1) a {
  background-color: #B492CC;
  /* 通常色（パープル系パステル） */
}

nav ul li:nth-child(1) a:hover {
  background-color: #9F7AB8;
  /* 少し濃いパープル */
}

nav ul li:nth-child(2) a {
  background-color: #D27EB3;
  /* 通常色（ピンク系パステル） */
}

nav ul li:nth-child(2) a:hover {
  background-color: #C2649C;
  /* 少し濃いピンク */
}

nav ul li:nth-child(3) a {
  background-color: #E5D7EE;
  /* 通常色（ラベンダーっぽいブルー） */
}

nav ul li:nth-child(3) a:hover {
  background-color: #C9BAD4;
  /* 落ち着いた濃さのブルーグレー */
}




/* ----ナビゲーション-------------------------- */
.hgroup-flex {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  background-color: #ffffff;
}

.text-column {
  font-size: 150%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 縦中央 */
  align-items: center;
  /* 横中央 */
  text-align: center;
  /* テキストの揃え */
}

.image-column {
  flex-shrink: 0;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 16px;
}


footer {
  margin-top: 60px;
  /* ← 今より少し余裕が出る */
}

/* ----↓pricing-------------------------- */
.pricing {
  margin-top: 50px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  /* ←追加 */
  overflow-x: auto;
  /* ←モバイル対応にも◎ */
}

.pricing table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 30px;
  table-layout: fixed;
  /* ←これ重要！列幅を均等に保つ */
}

.pricing th,
.pricing td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  word-break: break-word;
  /* ←長い語句を折り返す */
}

/* ----↑pricing-------------------------- */

/* ----↓contact-------------------------- */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-group button {
  background-color: #AEC1E3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-group button:hover {
  background-color: #90A8D0;
}

/* ----↑contact-------------------------- */

@media screen and (max-width: 640px) {
  .container {
    width: 95vw;   /* 画面幅の95%を使う */
    padding: 15px; /* スマホでは余白を小さくして見やすく */
  }

  .hgroup-flex {
    flex-direction: column; /* 縦並びに変更 */
    gap: 20px;
  }

  .image-column {
    max-width: 100%;
    width: 100%;
  }

  .text-column {
    font-size: 120%; /* 少し小さめに */
  }

  .pricing table {
    font-size: 14px;
    overflow-x: auto;
    display: block;
  }
/* -nav-------------------------------------------------- */
    nav ul {
    flex-direction: column; /* 横並びから縦並びへ変更 */
    align-items: center;    /* 中央揃えに */
    gap: 10px;
  }

  nav ul li {
    max-width: 100%; /* 幅を制限解除して全体使う */
    width: 100%;
  }

  nav ul li a {
    width: 100%;          /* vwをやめる */
    padding: 12px 0;
    margin: 0;             /* margin削除でズレ防止 */
    box-sizing: border-box; 
  }
}























@media (max-width: 640px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

}