/* ヘッダー */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 40px; /* ← 左右余白を増やして見た目安定 */
  z-index: 100;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 20px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  position: relative;
}

.logo {
  height: 20px;
  vertical-align: top;
  margin-top: 0px;
  margin-left: -21px;
}

.site-header a { 
display: inline-block;
  }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px; /* スペース広げて見やすく */
  list-style: none;
  margin-left: auto; /* 右寄せする正しいやり方 */
  margin-top: 20px;
  white-space: nowrap; /* 改行を防止 */
}

/* テキストリンクだけにマージン調整 */
.nav-menu li:not(:last-child) a {
  margin-top: 10px; /* ← 調整用。必要に応じて微調整 */
}

.nav-menu ul {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #000; /* ← 黒 */
  font-weight: 400; /* ← 普通の太さ */
  font-size: 1.1rem;
  text-shadow: none; /* ← 影なし */
  transition: transform 0.2s ease, color 0.3s ease;
  margin-top: -25px;
}

/* テキストリンクだけにアンダーラインつける（画像リンクは除外） */
.nav-menu a:not(.logo-link)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #63a2ff;
  transition: width 0.3s ease;
}

/* テキストリンク：ホバーでズーム＋アンダーライン */
.nav-menu a:hover:not(.logo-link) {
  transform: scale(1.05);
}

.nav-menu a:hover:not(.logo-link)::after {
  width: 100%;
}

.officialsite {
  height: 50px;
  transform: translateY(-8px);
  margin-top: 30px;
}




/* タイトル */
.contact {
  background: #eef8fd;
  height: 1150px;
  padding: 80px 20px;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-phone {
  font-size: 24px;
  font-weight: bold;
  color: #007acc;
  margin-bottom: 5px;
}

.contact-hours {
  font-size: 12px;
  color: #555;
}












.contact-form {
  flex: 2;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #002c5f;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  box-sizing: border-box;
}

textarea {
  height: 100px;
  resize: vertical;
}

.policy-check {
  font-size: 14px;
  margin-top: 10px;
}

.policy-check input {
  margin-right: 6px;
}

.policy-check a {
  margin-left: 10px;
  color: #007acc;
  text-decoration: none;
}

.policy-check a:hover {
  text-decoration: underline;
}

.submit-button {
  background-color: #0066cc;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 0px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background-color: #004999;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: white;
  overflow-x: hidden;
}

.section-en {
font-size: 1rem;
color: #007acc;
}

.section-ja {
font-weight: 500;
font-size: 2rem;
 }   

.required {
  color: red;
}





/* プライバシーポリシー */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  height: 80%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10;
}





/* 最後の一文（Google） */
.recaptcha-notice {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

.recaptcha-notice a {
  color: #007BFF;
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}




/* フッター */
.site-footer {
  position: relative;
  background-color: #0B1E32;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(#0B1E32, #0B1E32);
  background-repeat: repeat;
  background-size: 20px 20px, cover;
  padding: 60px 20px 20px;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-top h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.footer-top p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 40px 0;
}

.footer-logo {
  max-width: 280px;
}
.footer-logo img {
  width: 160px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-icon-group {
  margin-top: 10px;
}
.footer-icon-group a {
  display: inline-block;
  margin-right: 12px; /* アイコン間の余白 */
}
.footer-icon-group img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* 白アイコン */
}

.footer-nav {
  display: flex;
  margin-left: 70px;
  gap: 70px;
}
.footer-nav h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 130px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.footer-nav a:hover {
  border-bottom: 1px solid #fff;
}

/* □ LINEバナーとのスペースを調整したい場合は以下を追加 */
.site-footer {
  margin-top: 40px; /* 必要に応じて調整 */
}



/* line・Instagramアイコン */
.footer-icon-group a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-icon-group a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.sns-icon {
  width: 38px !important;
  height: 38px !important;
}


/* モバイル対応 */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
}

/* ハニーポットを見えなくする */
.hp { 
  position: absolute !important; 
  left: -9999px !important; 
  width: 1px !important; 
  height: 1px !important; 
  overflow: hidden !important; 
}
















/* ----------------------------------- */
/*   モバイル対応・ハンバーガーメニュー　  */
/* ----------------------------------- */
    @media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    position: absolute;
    top: 20px;
    right: 8px;
    z-index: 1001;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
  }

   .mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  background-color: rgba(0, 0, 0, 0.7); /* ← 見やすいように濃く */
  position: absolute;
  top: 60px;
  right: 0;
  width: 100vw; /* ← フル幅に拡大 */
  box-sizing: border-box; /* ← パディング込みで調整されるように */
  padding: 20px;
  z-index: 1000;
}

  .mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  white-space: normal; /* ← 改行可能に */
  word-break: break-word; /* ← 長すぎる語も分割可能に */
}

  .mobile-nav.open {
    display: flex;
  }

  /* ナビとボタンを非表示にする */
  .menu-container {
    display: none;
  }
}

/* PCではハンバーガーもモバイルナビも消す */
@media screen and (min-width: 769px) {
  .hamburger,
  .mobile-nav {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    height: 11px;  /* ← お好みで 10〜16px くらいが妥当 */
    margin-top: 8px;
    margin-left: 0px;
  }
  .site-header {
  height: 60px; /* ← 例えば60pxにする */
  padding: 0 16px;
}
}

@media screen and (max-width: 768px) {
  .related-card {
    margin-left: -15px; /* ← ここで左にズラす量を調整 */
  }
}


/* ----------------------------------- */
/*   　　　モバイル対応・ヘッダー　　 　  */
/* ----------------------------------- */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }

  .site-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 16px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
  }

  .logo {
    display: block !important;
    height: 11px;
    margin-top: 6px;
    margin-left: 0;
  }

  .hamburger {
    display: flex !important;
  }
}



/* ---------------------- */
/*   最後の一文（Google）  */
/* ---------------------- */
@media screen and (max-width: 768px) {
.recaptcha-notice {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}

.recaptcha-notice a {
  color: #007BFF;
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}
}


/* ---------------------- */
/*   モバイル・フッター　　 */
/* ---------------------- */
@media screen and (max-width: 768px) {
  .footer-nav {
    display: flex;
    flex-direction: row; /* ← 横並び */
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    text-align: left;
    margin-left: 17px;
  }

  .footer-nav > div {
    flex: 1;
    min-width: 100px;
  }

  .footer-nav h3 {
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .footer-nav ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-nav li {
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  .footer-nav a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-main {
    flex-wrap: wrap;
    padding: 12px;
    gap: 12px;
    margin-left: -5px;
  }

  .site-footer {
    font-size: 11px;
  }

  .footer-logo {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-logo p {
    text-align: left !important;
  }

  .footer-icon-group {
    justify-content: flex-start !important;
  }
}

/* 01の白ボックスPC版でのみ復活 */
@media screen and (min-width: 769px) {
  .overlay-text-box01 {
    background-color: #fff; /* ← 白ボックス復活 */
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
}





/* ===== 連絡先電話番号だけを強制的に整える ===== */
.contact-form input.fix-phone {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;

  /* 見た目 */
  padding: 12px !important;               /* ←縦幅を確保 */
  border: 1px solid #ccc !important;      /* ←枠線を薄く */
  border-radius: 5px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;

  /* Safari等の独自見た目を消す保険 */
  -webkit-appearance: none !important;
  appearance: none !important;
}