body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #f6f8fb;
  color: #333;
}

h2 {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  color: #0e346ee0;
  margin-bottom: 40px;
}

h3 {
  font-size: clamp(1rem, 1.2vw, 1.4rem);
}

p {
  font-size: clamp(1rem, 1.2vw, 1.4rem);
}

/* -------------------------
  ヘッダー（ナビバー
------------------------- */
.header{
  width: 100%;
  display: flex;
  background: #ffffffa3;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  z-index: 1000;  /* 必須：背景に埋もれないため */
  padding-top: 10px;
}

.company-name {
  font-size: clamp(1.2rem, 1.2vw, 1.4rem);
  margin: 0px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  padding: 15px;
  color: #0e346ee0;
}

.navbar {
  margin: auto;
  padding: 15px;
}

.navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
}

.navbar a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  color: #1e4d92;
  font-size: clamp(1rem, 1.2vw, 1.4rem);

}

/* 651px以下で表示されるボタン */
.hamburger {
  display: none;
  position: fixed;
  right: 20px;
  top: 15px;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #1e4d92;
  margin-bottom: 6px;
  transition: 0.4s;
}

/* 開いた時のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ======= 651px 以下でハンバーガーメニュー化 ======= */
@media (max-width: 651px) {

  .navbar {
    position: fixed;
    right: 0;
    top: 0;
    width: 240px;
    background: #ffffffa3;
    box-shadow: -3px 0 10px rgba(0,0,0,0.1);
    padding-top: 70px;
    transform: translateX(100%); /* ← 初期は画面外へ */
    transition: 0.4s ease;
    z-index: 9998;
  }

  /* 開いた状態 */
  .navbar.open {
    transform: translateX(0);
  }

  .navbar ul {
    display: block;
    text-align: left;
    padding-left: 20px;
  }

  .navbar li {
    margin: 20px 0;
  }

  .navbar a {
    font-size: clamp(1rem, 1.2vw, 1.4rem);

  }

  /* ハンバーガーだけ表示 */
  .hamburger {
    display: block;
    padding-top: 12px;
  }

  /* PC時のメニュー横並びを解除 */
  .navbar ul {
    flex-direction: column;
  }

}


/* -------------------------
  トップ（背景画像＋オーバーレイ）
------------------------- */
.top {
  background: url("../img/header/v6-PAUI8801_TP_Vh.jpg") center/cover no-repeat;
  height: 70vh;
  position: relative;
  align-items: center;
  padding-top: 5%;
  display: flex;
  flex-direction: column;
}

.top-overlay {
  color: #5a5463;
  width: 60%;
  margin: auto;
  margin-bottom: 0px;
}

.main-overlay {
}

.sub-overlay {
}

.company-message {
  margin-bottom: 40px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.main-message {
  font-size: clamp(2rem, 3vw, 3rem);
  color: #5a5463;
}

.sub-message {
  font-size: clamp(3rem, 4.5vw, 5rem);
  color: #f8faff;
  text-align: end;
  margin-top: 60px;
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.cta-btn {
  padding: 12px 30px;
  background: #0e346ee0;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #163c78;
}

@media (max-width: 1100px) {
  .top {
    padding-right: 5%;
    padding-left: 10%;
  }

  .top-overlay {
    width: 100%;
  }
}


/* -------------------------
  セクション
------------------------- */
.section {
  padding: 80px 20px;
  text-align: center;
}

.bg-light {
  background: #eef3fa;
}

.section-lead {
  color: #666;
  margin-bottom: 40px;
}

.more-btn {
  padding: 12px 30px;
  font-size: 1rem;
  background: #0e346ee0;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.more-btn:hover {
  background: #163c78;
}

.more-btn-box {
  margin: 40px auto 60px;
  text-align: center;
}

/* -------------------------
  カードデザイン
------------------------- */
.card-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: white;
  width: 280px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.icon {
  width: 60px;
  margin-bottom: 15px;
}

/* -------------------------
  メンバー
------------------------- */
.member-list {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.member img {
  width: 160px;
  border-radius: 50%;
  border: 2px #ffffff solid;
}

.member {
  max-width: 260px;
}

.text-start {
   text-align: start;
}

/* -------------------------
  お知らせ
------------------------- */
.news-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* -------------------------
  会社情報
------------------------- */
#company h2 ,#company th, #company td {
  color: #ffffff;
  font-weight: 400;
}

.company-table {
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  border-bottom: 1px solid #ccc;
  padding: 12px;
}

.company-table td {
  text-align: start;
}

@media (max-width: 600px) {
  .company-table {
    width: 100%;
    border-collapse: collapse;
  }

  .company-table tr {
    display: block;
    margin-bottom: 1.2rem; /* 行間 */
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.3rem 0;
  }

  .company-table th {
    font-weight: bold;
    background: none; /* 必要なら削除 */
  }
  
  .section {
    padding: 80px 30px;
  }
}

#company {
  position: relative;
  background: url("../img/company/sample2.jpg") center/cover no-repeat;
  padding: 120px 20px;
  color: #fff;
}

#company::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* ← ここで暗さ調整 */
  z-index: 0;
}

#company > * {
  position: relative;
  z-index: 1;
}


/* -------------------------
  フッター
------------------------- */
.footer {
  background: #1e4d92;
  color: white;
  text-align: center;
  padding: 20px;
}

/* -------------------------
  スクロールアニメーション
------------------------- */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------
  フォーム全体
------------------------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* 見出し */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
  font-weight: 600;
}

/* 各入力グループ */
.form-group {
  margin-bottom: 1.8rem;
}

/* ラベル */
.form-group label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 入力欄（input, textarea 共通） */
.contact-form input,
.contact-form textarea {
  width: 90%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  background: #fafafa;
}

/* テキストエリアの高さ */
.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* フォーカス時 */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #333;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  outline: none;
}

/* 送信ボタン */
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #163c78;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.btn-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* スマホ対応 */
@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem 1.2rem;
  }
}






/* ===== Wave Separator ===== */

.wave-divider {
  position: relative;
  margin-top: -60px; /* 写真に食い込ませる量 */
  z-index: 3;
}

.wave-divider svg {
  width: 100%;
  height: 120px;
  display: block;
}

.wave-divider path {
  fill: #f6f8fb; /* 下側（services）の背景色に合わせる */
}





.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 80px;
  display: block;
  background-coloer: #f6f8fb;
}

.wave-soft path {
  fill: #f7f7f7; /* 次のセクションの背景に合わせて変える */
}

.wave-mountain path {
  fill: #eef3fa; /* 次のセクションの背景に合わせて変える */
}


.wave-mountain {
  position: relative;
      margin-bottom: -90px; /* ここが重なり具合の調整ポイント！ */
  z-index: 3;
}

.wave-mountain svg {
  width: 100%;
  height: 120px;
  display: block;
}

.wave-mountain path {
  fill: #eef3fa; /* 波の色（セクションの背景色に合わせる） */
}


